Gallery – Photo Gallery and Images Gallery - Version 3.0.0

Version Description

  • New structure of the core plugin code
  • Fixed of the grey thumbnails problem in media manager
  • Fixed divi notices
  • Added new gallery wizard with classification of the types
  • Added new media manager widget with photos preview
  • Added free types: grid, masonry, polaroid, mosaic, youtube gallery
  • Added new youtube integration with support of the video ids, playlists, channels
  • Added preconfigured 6 categories with wall style, grid, mansory, mosaic, polaroid and advanced youtube feed types
  • Added auto-configuration engine for the photo grid layout configuration
  • Added auto-resize smart module for resizing of the thumbnails for the masonry grid layout
  • Optimized css and js code
  • Prepared integrations for instagram feed, pinterest, flickr, dropbox, google drive, facebook gallery sources for the content
  • Tested with wordpress 5.6 version, small fixes
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.8.34 to 3.0.0

Files changed (168) hide show
  1. about/robo-gallery.png +0 -0
  2. about/robosoft.png +0 -0
  3. addons/bootstrap/css/bootstrap.css +3 -1
  4. addons/bootstrap/css/bootstrap.min.css +1 -1
  5. app/app.php +12 -2
  6. app/class.brand.php +1 -1
  7. app/class.listing.php +20 -10
  8. app/class.php +7 -3
  9. app/class.utils.php +125 -0
  10. app/class.view.php +1 -1
  11. app/extensions/activation/class.activation.php +28 -0
  12. {about → app/extensions/activation}/index.html +0 -0
  13. app/extensions/activation/init.php +6 -0
  14. app/extensions/core/class.core.php +29 -0
  15. {cmb2/fields/gallery/css → app/extensions/core}/index.html +0 -0
  16. app/extensions/core/init.php +6 -0
  17. app/extensions/dashboard/assets/style.css +1 -1
  18. app/extensions/dashboard/class.dashboard.php +8 -8
  19. app/extensions/dashboard/init.php +1 -1
  20. app/extensions/dashboard/overview.php +6 -6
  21. app/extensions/dashboard/video_guide.php +1 -1
  22. app/extensions/duplicate/class.duplicate.php +237 -0
  23. {cmb2/fields/gallery → app/extensions/duplicate}/index.html +0 -0
  24. app/extensions/duplicate/init.php +15 -0
  25. app/extensions/fields/asset/core/css/app-style.css +2828 -0
  26. app/extensions/fields/asset/core/css/app.css +2782 -0
  27. {cmb2/fields/gallery/js → app/extensions/fields/asset/core/css}/index.html +0 -0
  28. app/extensions/fields/asset/core/css/loading.gif +0 -0
  29. app/extensions/fields/asset/core/css/loading_clear.gif +0 -0
  30. {includes/extensions/debug/css → app/extensions/fields/asset/core}/index.html +0 -0
  31. app/extensions/fields/asset/core/js/app.js +65 -0
  32. {includes/extensions/debug → app/extensions/fields/asset/core/js}/index.html +0 -0
  33. app/extensions/fields/asset/fields/css/update.key.css +9 -0
  34. {includes/extensions/debug/js → app/extensions/fields/asset/fields/gallery}/index.html +0 -0
  35. app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js +13 -0
  36. {includes/frontend/extensions/core → app/extensions/fields/asset/fields/gallery/js}/index.html +0 -0
  37. app/extensions/fields/asset/fields/gallery/js/script.min.js +11 -0
  38. app/extensions/fields/asset/fields/gallery/style.css +47 -0
  39. {includes/frontend/extensions → app/extensions/fields/asset/fields}/index.html +0 -0
  40. includes/frontend/extensions/loader/index.html → app/extensions/fields/asset/fields/youtube/script.js +0 -0
  41. app/extensions/fields/asset/fields/youtube/style.css +19 -0
  42. app/extensions/fields/asset/foundation/foundation.min.js +4 -0
  43. app/extensions/fields/asset/foundation/index.html +0 -0
  44. app/extensions/fields/asset/help/help.css +58 -0
  45. app/extensions/fields/asset/help/help.js +119 -0
  46. app/extensions/fields/asset/help/index.html +0 -0
  47. app/extensions/fields/asset/index.html +0 -0
  48. app/extensions/fields/asset/jquery-colorpickersliders/index.html +11 -0
  49. app/extensions/fields/asset/jquery-colorpickersliders/jquery.colorpickersliders.css +152 -0
  50. app/extensions/fields/asset/jquery-colorpickersliders/jquery.colorpickersliders.js +1674 -0
  51. app/extensions/fields/asset/jquery-minicolors-master/LICENSE.md +7 -0
  52. app/extensions/fields/asset/jquery-minicolors-master/README.md +19 -0
  53. app/extensions/fields/asset/jquery-minicolors-master/bower.json +25 -0
  54. app/extensions/fields/asset/jquery-minicolors-master/component.json +21 -0
  55. app/extensions/fields/asset/jquery-minicolors-master/composer.json +20 -0
  56. app/extensions/fields/asset/jquery-minicolors-master/gulpfile.js +34 -0
  57. app/extensions/fields/asset/jquery-minicolors-master/index.html +744 -0
  58. app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.css +432 -0
  59. app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.js +1125 -0
  60. app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.min.js +8 -0
  61. app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.png +0 -0
  62. app/extensions/fields/asset/jquery-minicolors-master/package.json +31 -0
  63. app/extensions/fields/asset/jquery-minicolors-master/without-bootstrap.html +187 -0
  64. app/extensions/fields/asset/metabox/index.html +0 -0
  65. app/extensions/fields/asset/tinycolor/LICENSE +20 -0
  66. app/extensions/fields/asset/tinycolor/README.md +469 -0
  67. app/extensions/fields/asset/tinycolor/demo/demo.css +23 -0
  68. app/extensions/fields/asset/tinycolor/dist/tinycolor-min.js +4 -0
  69. app/extensions/fields/asset/tinycolor/index.html +207 -0
  70. app/extensions/fields/asset/tinycolor/package.json +31 -0
  71. app/extensions/fields/asset/tinycolor/tinycolor.js +1195 -0
  72. app/extensions/fields/asset/vanilla-picker-master/LICENSE.md +7 -0
  73. app/extensions/fields/asset/vanilla-picker-master/README.md +77 -0
  74. app/extensions/fields/asset/vanilla-picker-master/dist/vanilla-picker.js +1099 -0
  75. app/extensions/fields/asset/vanilla-picker-master/dist/vanilla-picker.min.js +8 -0
  76. app/extensions/fields/asset/vanilla-picker-master/package.json +68 -0
  77. app/extensions/fields/asset/vanilla-picker-master/src/css/_components.scss +122 -0
  78. app/extensions/fields/asset/vanilla-picker-master/src/css/_globals.scss +7 -0
  79. app/extensions/fields/asset/vanilla-picker-master/src/css/_layout.scss +97 -0
  80. app/extensions/fields/asset/vanilla-picker-master/src/css/_popup.scss +89 -0
  81. app/extensions/fields/asset/vanilla-picker-master/src/css/custom.scss +3 -0
  82. app/extensions/fields/asset/vanilla-picker-master/src/picker.css +255 -0
  83. app/extensions/fields/asset/vanilla-picker-master/src/picker.js +676 -0
  84. app/extensions/fields/asset/vanilla-picker-master/src/picker.pug +21 -0
  85. app/extensions/fields/asset/vanilla-picker-master/src/picker.scss +8 -0
  86. app/extensions/fields/config/index.html +0 -0
  87. app/extensions/fields/config/main.php +15 -0
  88. app/extensions/fields/config/metabox/gallery_type.php +45 -0
  89. app/extensions/fields/config/metabox/gallery_youtube.php +108 -0
  90. app/extensions/fields/config/metabox/image.php +56 -0
  91. app/extensions/fields/config/metabox/index.html +0 -0
  92. app/extensions/fields/config/metabox/update_notice.php +39 -0
  93. app/extensions/fields/include/index.html +0 -0
  94. app/extensions/fields/include/roboGalleryFields.php +91 -0
  95. app/extensions/fields/include/roboGalleryFieldsAjax.php +79 -0
  96. app/extensions/fields/include/roboGalleryFieldsConfig.php +104 -0
  97. app/extensions/fields/include/roboGalleryFieldsConfig/index.html +0 -0
  98. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php +41 -0
  99. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php +15 -0
  100. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php +18 -0
  101. app/extensions/fields/include/roboGalleryFieldsField/index.html +0 -0
  102. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php +277 -0
  103. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php +27 -0
  104. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php +28 -0
  105. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php +14 -0
  106. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php +23 -0
  107. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php +20 -0
  108. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php +20 -0
  109. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php +26 -0
  110. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php +22 -0
  111. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php +46 -0
  112. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextImages.php +20 -0
  113. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php +44 -0
  114. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php +51 -0
  115. app/extensions/fields/include/roboGalleryFieldsFieldFactory.php +62 -0
  116. app/extensions/fields/include/roboGalleryFieldsHelper.php +70 -0
  117. app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php +288 -0
  118. app/extensions/fields/include/roboGalleryFieldsView.php +34 -0
  119. app/extensions/fields/index.html +0 -0
  120. app/extensions/fields/init.php +36 -0
  121. app/extensions/fields/template/content/gallery_type/content.tpl.php +19 -0
  122. app/extensions/fields/template/content/gallery_type/index.html +0 -0
  123. app/extensions/fields/template/content/gallery_type/type.tpl.php +8 -0
  124. app/extensions/fields/template/content/gallery_type/type_grid.tpl.php +8 -0
  125. app/extensions/fields/template/content/gallery_type/type_gridpro.tpl.php +8 -0
  126. app/extensions/fields/template/content/gallery_type/type_masonry.tpl.php +8 -0
  127. app/extensions/fields/template/content/gallery_type/type_masonrypro.tpl.php +8 -0
  128. app/extensions/fields/template/content/gallery_type/type_mosaic.tpl.php +8 -0
  129. app/extensions/fields/template/content/gallery_type/type_mosaicpro.tpl.php +8 -0
  130. app/extensions/fields/template/content/gallery_type/type_polaroid.tpl.php +8 -0
  131. app/extensions/fields/template/content/gallery_type/type_polaroidpro.tpl.php +8 -0
  132. app/extensions/fields/template/content/gallery_type/type_wallstylepro.tpl.php +8 -0
  133. app/extensions/fields/template/content/gallery_type/type_youtube.tpl.php +8 -0
  134. app/extensions/fields/template/content/gallery_type/type_youtubepro.tpl.php +8 -0
  135. app/extensions/fields/template/content/index.html +0 -0
  136. app/extensions/fields/template/element/index.html +0 -0
  137. app/extensions/fields/template/element/label.tooltip.tpl.php +17 -0
  138. app/extensions/fields/template/element/label.tpl.php +1 -0
  139. app/extensions/fields/template/field/checkbox/button.tpl.php +15 -0
  140. app/extensions/fields/template/field/checkbox/default.tpl.php +17 -0
  141. app/extensions/fields/template/field/checkbox/group-button.tpl.php +25 -0
  142. app/extensions/fields/template/field/checkbox/group-switch.tpl.php +31 -0
  143. app/extensions/fields/template/field/checkbox/group.tpl.php +20 -0
  144. app/extensions/fields/template/field/checkbox/index.html +0 -0
  145. app/extensions/fields/template/field/checkbox/switch.tpl.php +30 -0
  146. app/extensions/fields/template/field/checkbox/switch/c2.tpl.php +37 -0
  147. app/extensions/fields/template/field/checkbox/switch/c3.tpl.php +26 -0
  148. app/extensions/fields/template/field/checkbox/switch/index.html +0 -0
  149. app/extensions/fields/template/field/composite/columns.tpl.php +18 -0
  150. app/extensions/fields/template/field/composite/default.tpl.php +15 -0
  151. app/extensions/fields/template/field/composite/index.html +0 -0
  152. app/extensions/fields/template/field/custom/c2.tpl.php +26 -0
  153. app/extensions/fields/template/field/hidden/default.tpl.php +1 -0
  154. app/extensions/fields/template/field/hidden/index.html +0 -0
  155. app/extensions/fields/template/field/html/default.tpl.php +3 -0
  156. app/extensions/fields/template/field/html/index.html +0 -0
  157. app/extensions/fields/template/field/html/raw.tpl.php +2 -0
  158. app/extensions/fields/template/field/index.html +0 -0
  159. app/extensions/fields/template/field/radio/buttons-group.tpl.php +24 -0
  160. app/extensions/fields/template/field/radio/default.tpl.php +20 -0
  161. app/extensions/fields/template/field/radio/index.html +0 -0
  162. app/extensions/fields/template/field/select/default.tpl.php +34 -0
  163. app/extensions/fields/template/field/select/default/c2.tpl.php +24 -0
  164. app/extensions/fields/template/field/select/default/index.html +0 -0
  165. app/extensions/fields/template/field/select/index.html +0 -0
  166. app/extensions/fields/template/field/select/multiple.tpl.php +20 -0
  167. app/extensions/fields/template/field/text/color.tpl.php +83 -0
  168. app/extensions/fields/template/field/text/default.tpl.php +11 -0
about/robo-gallery.png DELETED
Binary file
about/robosoft.png DELETED
Binary file
addons/bootstrap/css/bootstrap.css CHANGED
@@ -6696,4 +6696,6 @@ body #post .rbs_block {
6696
  display: inline-block;
6697
  }
6698
 
6699
- }
 
 
6696
  display: inline-block;
6697
  }
6698
 
6699
+ }
6700
+
6701
+ #post .rbs_block select {-webkit-appearance: menulist;}
addons/bootstrap/css/bootstrap.min.css CHANGED
@@ -3,4 +3,4 @@
3
  * Copyright 2011-2015 Twitter, Inc.
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
  */#post .rbs_block .text-left,#post .rbs_block th{text-align:left}#post .rbs_block .btn-group>.btn-group,#post .rbs_block .btn-toolbar .btn-group,#post .rbs_block .btn-toolbar .input-group,#post .rbs_block .col-xs-1,#post .rbs_block .col-xs-10,#post .rbs_block .col-xs-11,#post .rbs_block .col-xs-12,#post .rbs_block .col-xs-2,#post .rbs_block .col-xs-3,#post .rbs_block .col-xs-4,#post .rbs_block .col-xs-5,#post .rbs_block .col-xs-6,#post .rbs_block .col-xs-7,#post .rbs_block .col-xs-8,#post .rbs_block .col-xs-9,#post .rbs_block .dropdown-menu{float:left}html #post .rbs_block{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body #post .rbs_block{margin:0}#post .rbs_block article,#post .rbs_block aside,#post .rbs_block details,#post .rbs_block figcaption,#post .rbs_block figure,#post .rbs_block footer,#post .rbs_block header,#post .rbs_block hgroup,#post .rbs_block main,#post .rbs_block menu,#post .rbs_block nav,#post .rbs_block section,#post .rbs_block summary{display:block}#post .rbs_block audio,#post .rbs_block canvas,#post .rbs_block progress,#post .rbs_block video{display:inline-block;vertical-align:baseline}#post .rbs_block audio:not([controls]){display:none;height:0}#post .rbs_block [hidden],#post .rbs_block template{display:none}#post .rbs_block a{background-color:transparent}#post .rbs_block .nav-tabs a:active,#post .rbs_block .nav-tabs a:focus,#post .rbs_block .nav-tabs a:hover{outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#post .rbs_block b,#post .rbs_block strong{font-weight:700}#post .rbs_block dfn{font-style:italic}#post .rbs_block h1{margin:.67em 0}#post .rbs_block mark{color:#000;background:#ff0}#post .rbs_block sub,#post .rbs_block sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}#post .rbs_block sup{top:-.5em}#post .rbs_block sub{bottom:-.25em}#post .rbs_block img{border:0;vertical-align:middle}#post .rbs_block svg:not(:root){overflow:hidden}#post .rbs_block hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}#post .rbs_block pre{overflow:auto}#post .rbs_block code,#post .rbs_block kbd,#post .rbs_block pre,#post .rbs_block samp{font-size:1em}#post .rbs_block button,#post .rbs_block input,#post .rbs_block optgroup,#post .rbs_block select,#post .rbs_block textarea{margin:0;font:inherit;color:inherit}#post .rbs_block button{overflow:visible}#post .rbs_block button,#post .rbs_block select{text-transform:none}#post .rbs_block button,#post .rbs_block input[type=reset],#post .rbs_block input[type=submit],html #post .rbs_block input[type=button]{-webkit-appearance:button;cursor:pointer}#post .rbs_block button[disabled],html #post .rbs_block input[disabled]{cursor:not-allowed}#post .rbs_block button::-moz-focus-inner,#post .rbs_block input::-moz-focus-inner{padding:0;border:0}#post .rbs_block input[type=checkbox],#post .rbs_block input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}#post .rbs_block input[type=number]::-webkit-inner-spin-button,#post .rbs_block input[type=number]::-webkit-outer-spin-button{height:auto}#post .rbs_block input[type=search]::-webkit-search-cancel-button,#post .rbs_block input[type=search]::-webkit-search-decoration{-webkit-appearance:none}#post .rbs_block textarea{overflow:auto}#post .rbs_block optgroup{font-weight:700}#post .rbs_block table{border-spacing:0;border-collapse:collapse}#post .rbs_block td,#post .rbs_block th{padding:0}@media print{#post .rbs_block *,#post .rbs_block :after,#post .rbs_block :before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#post .rbs_block a,#post .rbs_block a:visited{text-decoration:underline}#post .rbs_block a[href]:after{content:" (" attr(href) ")"}#post .rbs_block abbr[title]:after{content:" (" attr(title) ")"}#post .rbs_block a[href^="javascript:"]:after,#post .rbs_block a[href^="#"]:after{content:""}#post .rbs_block blockquote,#post .rbs_block pre{border:1px solid #999;page-break-inside:avoid}#post .rbs_block thead{display:table-header-group}#post .rbs_block img,#post .rbs_block tr{page-break-inside:avoid}#post .rbs_block img{max-width:100%!important}#post .rbs_block h2,#post .rbs_block h3,#post .rbs_block p{orphans:3;widows:3}#post .rbs_block h2,#post .rbs_block h3{page-break-after:avoid}#post .rbs_block select{background:#fff!important}#post .rbs_block .navbar{display:none}#post .rbs_block .btn>.caret,#post .rbs_block .dropup>.btn>.caret{border-top-color:#000!important}#post .rbs_block .label{border:1px solid #000}#post .rbs_block .table{border-collapse:collapse!important}#post .rbs_block .table td,#post .rbs_block .table th{background-color:#fff!important}#post .rbs_block .table-bordered td,#post .rbs_block .table-bordered th{border:1px solid #ddd!important}}@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.woff2) format('woff2'),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')}#post .rbs_block .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post .rbs_block .glyphicon-asterisk:before{content:"\2a"}#post .rbs_block .glyphicon-plus:before{content:"\2b"}#post .rbs_block .glyphicon-eur:before,#post .rbs_block .glyphicon-euro:before{content:"\20ac"}#post .rbs_block .glyphicon-minus:before{content:"\2212"}#post .rbs_block .glyphicon-cloud:before{content:"\2601"}#post .rbs_block .glyphicon-envelope:before{content:"\2709"}#post .rbs_block .glyphicon-pencil:before{content:"\270f"}#post .rbs_block .glyphicon-glass:before{content:"\e001"}#post .rbs_block .glyphicon-music:before{content:"\e002"}#post .rbs_block .glyphicon-search:before{content:"\e003"}#post .rbs_block .glyphicon-heart:before{content:"\e005"}#post .rbs_block .glyphicon-star:before{content:"\e006"}#post .rbs_block .glyphicon-star-empty:before{content:"\e007"}#post .rbs_block .glyphicon-user:before{content:"\e008"}#post .rbs_block .glyphicon-film:before{content:"\e009"}#post .rbs_block .glyphicon-th-large:before{content:"\e010"}#post .rbs_block .glyphicon-th:before{content:"\e011"}#post .rbs_block .glyphicon-th-list:before{content:"\e012"}#post .rbs_block .glyphicon-ok:before{content:"\e013"}#post .rbs_block .glyphicon-remove:before{content:"\e014"}#post .rbs_block .glyphicon-zoom-in:before{content:"\e015"}#post .rbs_block .glyphicon-zoom-out:before{content:"\e016"}#post .rbs_block .glyphicon-off:before{content:"\e017"}#post .rbs_block .glyphicon-signal:before{content:"\e018"}#post .rbs_block .glyphicon-cog:before{content:"\e019"}#post .rbs_block .glyphicon-trash:before{content:"\e020"}#post .rbs_block .glyphicon-home:before{content:"\e021"}#post .rbs_block .glyphicon-file:before{content:"\e022"}#post .rbs_block .glyphicon-time:before{content:"\e023"}#post .rbs_block .glyphicon-road:before{content:"\e024"}#post .rbs_block .glyphicon-download-alt:before{content:"\e025"}#post .rbs_block .glyphicon-download:before{content:"\e026"}#post .rbs_block .glyphicon-upload:before{content:"\e027"}#post .rbs_block .glyphicon-inbox:before{content:"\e028"}#post .rbs_block .glyphicon-play-circle:before{content:"\e029"}#post .rbs_block .glyphicon-repeat:before{content:"\e030"}#post .rbs_block .glyphicon-refresh:before{content:"\e031"}#post .rbs_block .glyphicon-list-alt:before{content:"\e032"}#post .rbs_block .glyphicon-lock:before{content:"\e033"}#post .rbs_block .glyphicon-flag:before{content:"\e034"}#post .rbs_block .glyphicon-headphones:before{content:"\e035"}#post .rbs_block .glyphicon-volume-off:before{content:"\e036"}#post .rbs_block .glyphicon-volume-down:before{content:"\e037"}#post .rbs_block .glyphicon-volume-up:before{content:"\e038"}#post .rbs_block .glyphicon-qrcode:before{content:"\e039"}#post .rbs_block .glyphicon-barcode:before{content:"\e040"}#post .rbs_block .glyphicon-tag:before{content:"\e041"}#post .rbs_block .glyphicon-tags:before{content:"\e042"}#post .rbs_block .glyphicon-book:before{content:"\e043"}#post .rbs_block .glyphicon-bookmark:before{content:"\e044"}#post .rbs_block .glyphicon-print:before{content:"\e045"}#post .rbs_block .glyphicon-camera:before{content:"\e046"}#post .rbs_block .glyphicon-font:before{content:"\e047"}#post .rbs_block .glyphicon-bold:before{content:"\e048"}#post .rbs_block .glyphicon-italic:before{content:"\e049"}#post .rbs_block .glyphicon-text-height:before{content:"\e050"}#post .rbs_block .glyphicon-text-width:before{content:"\e051"}#post .rbs_block .glyphicon-align-left:before{content:"\e052"}#post .rbs_block .glyphicon-align-center:before{content:"\e053"}#post .rbs_block .glyphicon-align-right:before{content:"\e054"}#post .rbs_block .glyphicon-align-justify:before{content:"\e055"}#post .rbs_block .glyphicon-list:before{content:"\e056"}#post .rbs_block .glyphicon-indent-left:before{content:"\e057"}#post .rbs_block .glyphicon-indent-right:before{content:"\e058"}#post .rbs_block .glyphicon-facetime-video:before{content:"\e059"}#post .rbs_block .glyphicon-picture:before{content:"\e060"}#post .rbs_block .glyphicon-map-marker:before{content:"\e062"}#post .rbs_block .glyphicon-adjust:before{content:"\e063"}#post .rbs_block .glyphicon-tint:before{content:"\e064"}#post .rbs_block .glyphicon-edit:before{content:"\e065"}#post .rbs_block .glyphicon-share:before{content:"\e066"}#post .rbs_block .glyphicon-check:before{content:"\e067"}#post .rbs_block .glyphicon-move:before{content:"\e068"}#post .rbs_block .glyphicon-step-backward:before{content:"\e069"}#post .rbs_block .glyphicon-fast-backward:before{content:"\e070"}#post .rbs_block .glyphicon-backward:before{content:"\e071"}#post .rbs_block .glyphicon-play:before{content:"\e072"}#post .rbs_block .glyphicon-pause:before{content:"\e073"}#post .rbs_block .glyphicon-stop:before{content:"\e074"}#post .rbs_block .glyphicon-forward:before{content:"\e075"}#post .rbs_block .glyphicon-fast-forward:before{content:"\e076"}#post .rbs_block .glyphicon-step-forward:before{content:"\e077"}#post .rbs_block .glyphicon-eject:before{content:"\e078"}#post .rbs_block .glyphicon-chevron-left:before{content:"\e079"}#post .rbs_block .glyphicon-chevron-right:before{content:"\e080"}#post .rbs_block .glyphicon-plus-sign:before{content:"\e081"}#post .rbs_block .glyphicon-minus-sign:before{content:"\e082"}#post .rbs_block .glyphicon-remove-sign:before{content:"\e083"}#post .rbs_block .glyphicon-ok-sign:before{content:"\e084"}#post .rbs_block .glyphicon-question-sign:before{content:"\e085"}#post .rbs_block .glyphicon-info-sign:before{content:"\e086"}#post .rbs_block .glyphicon-screenshot:before{content:"\e087"}#post .rbs_block .glyphicon-remove-circle:before{content:"\e088"}#post .rbs_block .glyphicon-ok-circle:before{content:"\e089"}#post .rbs_block .glyphicon-ban-circle:before{content:"\e090"}#post .rbs_block .glyphicon-arrow-left:before{content:"\e091"}#post .rbs_block .glyphicon-arrow-right:before{content:"\e092"}#post .rbs_block .glyphicon-arrow-up:before{content:"\e093"}#post .rbs_block .glyphicon-arrow-down:before{content:"\e094"}#post .rbs_block .glyphicon-share-alt:before{content:"\e095"}#post .rbs_block .glyphicon-resize-full:before{content:"\e096"}#post .rbs_block .glyphicon-resize-small:before{content:"\e097"}#post .rbs_block .glyphicon-exclamation-sign:before{content:"\e101"}#post .rbs_block .glyphicon-gift:before{content:"\e102"}#post .rbs_block .glyphicon-leaf:before{content:"\e103"}#post .rbs_block .glyphicon-fire:before{content:"\e104"}#post .rbs_block .glyphicon-eye-open:before{content:"\e105"}#post .rbs_block .glyphicon-eye-close:before{content:"\e106"}#post .rbs_block .glyphicon-warning-sign:before{content:"\e107"}#post .rbs_block .glyphicon-plane:before{content:"\e108"}#post .rbs_block .glyphicon-calendar:before{content:"\e109"}#post .rbs_block .glyphicon-random:before{content:"\e110"}#post .rbs_block .glyphicon-comment:before{content:"\e111"}#post .rbs_block .glyphicon-magnet:before{content:"\e112"}#post .rbs_block .glyphicon-chevron-up:before{content:"\e113"}#post .rbs_block .glyphicon-chevron-down:before{content:"\e114"}#post .rbs_block .glyphicon-retweet:before{content:"\e115"}#post .rbs_block .glyphicon-shopping-cart:before{content:"\e116"}#post .rbs_block .glyphicon-folder-close:before{content:"\e117"}#post .rbs_block .glyphicon-folder-open:before{content:"\e118"}#post .rbs_block .glyphicon-resize-vertical:before{content:"\e119"}#post .rbs_block .glyphicon-resize-horizontal:before{content:"\e120"}#post .rbs_block .glyphicon-hdd:before{content:"\e121"}#post .rbs_block .glyphicon-bullhorn:before{content:"\e122"}#post .rbs_block .glyphicon-bell:before{content:"\e123"}#post .rbs_block .glyphicon-certificate:before{content:"\e124"}#post .rbs_block .glyphicon-thumbs-up:before{content:"\e125"}#post .rbs_block .glyphicon-thumbs-down:before{content:"\e126"}#post .rbs_block .glyphicon-hand-right:before{content:"\e127"}#post .rbs_block .glyphicon-hand-left:before{content:"\e128"}#post .rbs_block .glyphicon-hand-up:before{content:"\e129"}#post .rbs_block .glyphicon-hand-down:before{content:"\e130"}#post .rbs_block .glyphicon-circle-arrow-right:before{content:"\e131"}#post .rbs_block .glyphicon-circle-arrow-left:before{content:"\e132"}#post .rbs_block .glyphicon-circle-arrow-up:before{content:"\e133"}#post .rbs_block .glyphicon-circle-arrow-down:before{content:"\e134"}#post .rbs_block .glyphicon-globe:before{content:"\e135"}#post .rbs_block .glyphicon-wrench:before{content:"\e136"}#post .rbs_block .glyphicon-tasks:before{content:"\e137"}#post .rbs_block .glyphicon-filter:before{content:"\e138"}#post .rbs_block .glyphicon-briefcase:before{content:"\e139"}#post .rbs_block .glyphicon-fullscreen:before{content:"\e140"}#post .rbs_block .glyphicon-dashboard:before{content:"\e141"}#post .rbs_block .glyphicon-paperclip:before{content:"\e142"}#post .rbs_block .glyphicon-heart-empty:before{content:"\e143"}#post .rbs_block .glyphicon-link:before{content:"\e144"}#post .rbs_block .glyphicon-phone:before{content:"\e145"}#post .rbs_block .glyphicon-pushpin:before{content:"\e146"}#post .rbs_block .glyphicon-usd:before{content:"\e148"}#post .rbs_block .glyphicon-gbp:before{content:"\e149"}#post .rbs_block .glyphicon-sort:before{content:"\e150"}#post .rbs_block .glyphicon-sort-by-alphabet:before{content:"\e151"}#post .rbs_block .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}#post .rbs_block .glyphicon-sort-by-order:before{content:"\e153"}#post .rbs_block .glyphicon-sort-by-order-alt:before{content:"\e154"}#post .rbs_block .glyphicon-sort-by-attributes:before{content:"\e155"}#post .rbs_block .glyphicon-sort-by-attributes-alt:before{content:"\e156"}#post .rbs_block .glyphicon-unchecked:before{content:"\e157"}#post .rbs_block .glyphicon-expand:before{content:"\e158"}#post .rbs_block .glyphicon-collapse-down:before{content:"\e159"}#post .rbs_block .glyphicon-collapse-up:before{content:"\e160"}#post .rbs_block .glyphicon-log-in:before{content:"\e161"}#post .rbs_block .glyphicon-flash:before{content:"\e162"}#post .rbs_block .glyphicon-log-out:before{content:"\e163"}#post .rbs_block .glyphicon-new-window:before{content:"\e164"}#post .rbs_block .glyphicon-record:before{content:"\e165"}#post .rbs_block .glyphicon-save:before{content:"\e166"}#post .rbs_block .glyphicon-open:before{content:"\e167"}#post .rbs_block .glyphicon-saved:before{content:"\e168"}#post .rbs_block .glyphicon-import:before{content:"\e169"}#post .rbs_block .glyphicon-export:before{content:"\e170"}#post .rbs_block .glyphicon-send:before{content:"\e171"}#post .rbs_block .glyphicon-floppy-disk:before{content:"\e172"}#post .rbs_block .glyphicon-floppy-saved:before{content:"\e173"}#post .rbs_block .glyphicon-floppy-remove:before{content:"\e174"}#post .rbs_block .glyphicon-floppy-save:before{content:"\e175"}#post .rbs_block .glyphicon-floppy-open:before{content:"\e176"}#post .rbs_block .glyphicon-credit-card:before{content:"\e177"}#post .rbs_block .glyphicon-transfer:before{content:"\e178"}#post .rbs_block .glyphicon-cutlery:before{content:"\e179"}#post .rbs_block .glyphicon-header:before{content:"\e180"}#post .rbs_block .glyphicon-compressed:before{content:"\e181"}#post .rbs_block .glyphicon-earphone:before{content:"\e182"}#post .rbs_block .glyphicon-phone-alt:before{content:"\e183"}#post .rbs_block .glyphicon-tower:before{content:"\e184"}#post .rbs_block .glyphicon-stats:before{content:"\e185"}#post .rbs_block .glyphicon-sd-video:before{content:"\e186"}#post .rbs_block .glyphicon-hd-video:before{content:"\e187"}#post .rbs_block .glyphicon-subtitles:before{content:"\e188"}#post .rbs_block .glyphicon-sound-stereo:before{content:"\e189"}#post .rbs_block .glyphicon-sound-dolby:before{content:"\e190"}#post .rbs_block .glyphicon-sound-5-1:before{content:"\e191"}#post .rbs_block .glyphicon-sound-6-1:before{content:"\e192"}#post .rbs_block .glyphicon-sound-7-1:before{content:"\e193"}#post .rbs_block .glyphicon-copyright-mark:before{content:"\e194"}#post .rbs_block .glyphicon-registration-mark:before{content:"\e195"}#post .rbs_block .glyphicon-cloud-download:before{content:"\e197"}#post .rbs_block .glyphicon-cloud-upload:before{content:"\e198"}#post .rbs_block .glyphicon-tree-conifer:before{content:"\e199"}#post .rbs_block .glyphicon-tree-deciduous:before{content:"\e200"}#post .rbs_block .glyphicon-cd:before{content:"\e201"}#post .rbs_block .glyphicon-save-file:before{content:"\e202"}#post .rbs_block .glyphicon-open-file:before{content:"\e203"}#post .rbs_block .glyphicon-level-up:before{content:"\e204"}#post .rbs_block .glyphicon-copy:before{content:"\e205"}#post .rbs_block .glyphicon-paste:before{content:"\e206"}#post .rbs_block .glyphicon-alert:before{content:"\e209"}#post .rbs_block .glyphicon-equalizer:before{content:"\e210"}#post .rbs_block .glyphicon-king:before{content:"\e211"}#post .rbs_block .glyphicon-queen:before{content:"\e212"}#post .rbs_block .glyphicon-pawn:before{content:"\e213"}#post .rbs_block .glyphicon-bishop:before{content:"\e214"}#post .rbs_block .glyphicon-knight:before{content:"\e215"}#post .rbs_block .glyphicon-baby-formula:before{content:"\e216"}#post .rbs_block .glyphicon-tent:before{content:"\26fa"}#post .rbs_block .glyphicon-blackboard:before{content:"\e218"}#post .rbs_block .glyphicon-bed:before{content:"\e219"}#post .rbs_block .glyphicon-apple:before{content:"\f8ff"}#post .rbs_block .glyphicon-erase:before{content:"\e221"}#post .rbs_block .glyphicon-hourglass:before{content:"\231b"}#post .rbs_block .glyphicon-lamp:before{content:"\e223"}#post .rbs_block .glyphicon-duplicate:before{content:"\e224"}#post .rbs_block .glyphicon-piggy-bank:before{content:"\e225"}#post .rbs_block .glyphicon-scissors:before{content:"\e226"}#post .rbs_block .glyphicon-bitcoin:before,#post .rbs_block .glyphicon-btc:before,#post .rbs_block .glyphicon-xbt:before{content:"\e227"}#post .rbs_block .glyphicon-jpy:before,#post .rbs_block .glyphicon-yen:before{content:"\00a5"}#post .rbs_block .glyphicon-rub:before,#post .rbs_block .glyphicon-ruble:before{content:"\20bd"}#post .rbs_block .glyphicon-scale:before{content:"\e230"}#post .rbs_block .glyphicon-ice-lolly:before{content:"\e231"}#post .rbs_block .glyphicon-ice-lolly-tasted:before{content:"\e232"}#post .rbs_block .glyphicon-education:before{content:"\e233"}#post .rbs_block .glyphicon-option-horizontal:before{content:"\e234"}#post .rbs_block .glyphicon-option-vertical:before{content:"\e235"}#post .rbs_block .glyphicon-menu-hamburger:before{content:"\e236"}#post .rbs_block .glyphicon-modal-window:before{content:"\e237"}#post .rbs_block .glyphicon-oil:before{content:"\e238"}#post .rbs_block .glyphicon-grain:before{content:"\e239"}#post .rbs_block .glyphicon-sunglasses:before{content:"\e240"}#post .rbs_block .glyphicon-text-size:before{content:"\e241"}#post .rbs_block .glyphicon-text-color:before{content:"\e242"}#post .rbs_block .glyphicon-text-background:before{content:"\e243"}#post .rbs_block .glyphicon-object-align-top:before{content:"\e244"}#post .rbs_block .glyphicon-object-align-bottom:before{content:"\e245"}#post .rbs_block .glyphicon-object-align-horizontal:before{content:"\e246"}#post .rbs_block .glyphicon-object-align-left:before{content:"\e247"}#post .rbs_block .glyphicon-object-align-vertical:before{content:"\e248"}#post .rbs_block .glyphicon-object-align-right:before{content:"\e249"}#post .rbs_block .glyphicon-triangle-right:before{content:"\e250"}#post .rbs_block .glyphicon-triangle-left:before{content:"\e251"}#post .rbs_block .glyphicon-triangle-bottom:before{content:"\e252"}#post .rbs_block .glyphicon-triangle-top:before{content:"\e253"}#post .rbs_block .glyphicon-console:before{content:"\e254"}#post .rbs_block .glyphicon-superscript:before{content:"\e255"}#post .rbs_block .glyphicon-subscript:before{content:"\e256"}#post .rbs_block .glyphicon-menu-left:before{content:"\e257"}#post .rbs_block .glyphicon-menu-right:before{content:"\e258"}#post .rbs_block .glyphicon-menu-down:before{content:"\e259"}#post .rbs_block .glyphicon-menu-up:before{content:"\e260"}#post .rbs_block *,#post .rbs_block :after,#post .rbs_block :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html #post .rbs_block{font-size:10px;-webkit-tap-highlight-color:transparent}body #post .rbs_block{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}#post .rbs_block button,#post .rbs_block input,#post .rbs_block select,#post .rbs_block textarea{font-family:inherit;font-size:inherit;line-height:inherit}#post .rbs_block a{color:#337ab7;text-decoration:none}#post .rbs_block a:focus,#post .rbs_block a:hover{color:#23527c;text-decoration:underline}#post .rbs_block a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block figure{margin:0}#post .rbs_block .carousel-inner>.item>a>img,#post .rbs_block .carousel-inner>.item>img,#post .rbs_block .img-responsive,#post .rbs_block .thumbnail a>img,#post .rbs_block .thumbnail>img{display:block;max-width:100%;height:auto}#post .rbs_block .img-rounded{border-radius:6px}#post .rbs_block .img-thumbnail{display:inline-block;max-width:100%;height:auto;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}#post .rbs_block .img-circle{border-radius:50%}#post .rbs_block hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}#post .rbs_block .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}#post .rbs_block .sr-only-focusable:active,#post .rbs_block .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}#post .rbs_block [role=button]{cursor:pointer}#post .rbs_block .h1,#post .rbs_block .h2,#post .rbs_block .h3,#post .rbs_block .h4,#post .rbs_block .h5,#post .rbs_block .h6,#post .rbs_block h1,#post .rbs_block h2,#post .rbs_block h3,#post .rbs_block h4,#post .rbs_block h5,#post .rbs_block h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}#post .rbs_block .h1 .small,#post .rbs_block .h1 small,#post .rbs_block .h2 .small,#post .rbs_block .h2 small,#post .rbs_block .h3 .small,#post .rbs_block .h3 small,#post .rbs_block .h4 .small,#post .rbs_block .h4 small,#post .rbs_block .h5 .small,#post .rbs_block .h5 small,#post .rbs_block .h6 .small,#post .rbs_block .h6 small,#post .rbs_block h1 .small,#post .rbs_block h1 small,#post .rbs_block h2 .small,#post .rbs_block h2 small,#post .rbs_block h3 .small,#post .rbs_block h3 small,#post .rbs_block h4 .small,#post .rbs_block h4 small,#post .rbs_block h5 .small,#post .rbs_block h5 small,#post .rbs_block h6 .small,#post .rbs_block h6 small{font-weight:400;line-height:1;color:#777}#post .rbs_block .h1,#post .rbs_block .h2,#post .rbs_block .h3,#post .rbs_block h1,#post .rbs_block h2,#post .rbs_block h3{margin-top:20px;margin-bottom:10px}#post .rbs_block .h1 .small,#post .rbs_block .h1 small,#post .rbs_block .h2 .small,#post .rbs_block .h2 small,#post .rbs_block .h3 .small,#post .rbs_block .h3 small,#post .rbs_block h1 .small,#post .rbs_block h1 small,#post .rbs_block h2 .small,#post .rbs_block h2 small,#post .rbs_block h3 .small,#post .rbs_block h3 small{font-size:65%}#post .rbs_block .h4,#post .rbs_block .h5,#post .rbs_block .h6,#post .rbs_block h4,#post .rbs_block h5,#post .rbs_block h6{margin-top:10px;margin-bottom:10px}#post .rbs_block .h4 .small,#post .rbs_block .h4 small,#post .rbs_block .h5 .small,#post .rbs_block .h5 small,#post .rbs_block .h6 .small,#post .rbs_block .h6 small,#post .rbs_block h4 .small,#post .rbs_block h4 small,#post .rbs_block h5 .small,#post .rbs_block h5 small,#post .rbs_block h6 .small,#post .rbs_block h6 small{font-size:75%}#post .rbs_block .h1,#post .rbs_block h1{font-size:36px}#post .rbs_block .h2,#post .rbs_block h2{font-size:30px}#post .rbs_block .h3,#post .rbs_block h3{font-size:24px}#post .rbs_block .h4,#post .rbs_block h4{font-size:18px}#post .rbs_block .h5,#post .rbs_block h5{font-size:14px}#post .rbs_block .h6,#post .rbs_block h6{font-size:12px}#post .rbs_block p{margin:0 0 10px}#post .rbs_block .lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){#post .rbs_block .lead{font-size:21px}}#post .rbs_block .small,#post .rbs_block small{font-size:85%}#post .rbs_block .mark,#post .rbs_block mark{padding:.2em;background-color:#fcf8e3}#post .rbs_block .list-inline,#post .rbs_block .list-unstyled{padding-left:0;list-style:none}#post .rbs_block .text-right{text-align:right}#post .rbs_block .text-center{text-align:center}#post .rbs_block .text-justify{text-align:justify}#post .rbs_block .text-nowrap{white-space:nowrap}#post .rbs_block .text-lowercase{text-transform:lowercase}#post .rbs_block .text-uppercase{text-transform:uppercase}#post .rbs_block .text-capitalize{text-transform:capitalize}#post .rbs_block .text-muted{color:#777}#post .rbs_block .text-primary{color:#337ab7}#post .rbs_block a.text-primary:hover{color:#286090}#post .rbs_block .text-success{color:#3c763d}#post .rbs_block a.text-success:hover{color:#2b542c}#post .rbs_block .text-info{color:#31708f}#post .rbs_block a.text-info:hover{color:#245269}#post .rbs_block .text-warning{color:#8a6d3b}#post .rbs_block a.text-warning:hover{color:#66512c}#post .rbs_block .text-danger{color:#a94442}#post .rbs_block a.text-danger:hover{color:#843534}#post .rbs_block .bg-primary{color:#fff;background-color:#337ab7}#post .rbs_block a.bg-primary:hover{background-color:#286090}#post .rbs_block .bg-success{background-color:#dff0d8}#post .rbs_block a.bg-success:hover{background-color:#c1e2b3}#post .rbs_block .bg-info{background-color:#d9edf7}#post .rbs_block a.bg-info:hover{background-color:#afd9ee}#post .rbs_block .bg-warning{background-color:#fcf8e3}#post .rbs_block a.bg-warning:hover{background-color:#f7ecb5}#post .rbs_block .bg-danger{background-color:#f2dede}#post .rbs_block a.bg-danger:hover{background-color:#e4b9b9}#post .rbs_block .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}#post .rbs_block ol,#post .rbs_block ul{margin-top:0;margin-bottom:10px}#post .rbs_block ol ol,#post .rbs_block ol ul,#post .rbs_block ul ol,#post .rbs_block ul ul{margin-bottom:0}#post .rbs_block .list-inline{margin-left:-5px}#post .rbs_block .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}#post .rbs_block dl{margin-top:0;margin-bottom:20px}#post .rbs_block dd,#post .rbs_block dt{line-height:1.42857143}#post .rbs_block dt{font-weight:700}#post .rbs_block dd{margin-left:0}@media (min-width:768px){#post .rbs_block .dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}#post .rbs_block .dl-horizontal dd{margin-left:180px}#post .rbs_block .container{width:750px}}#post .rbs_block abbr[data-original-title],#post .rbs_block abbr[title]{cursor:help;border-bottom:1px dotted #777}#post .rbs_block .initialism{font-size:90%;text-transform:uppercase}#post .rbs_block blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}#post .rbs_block blockquote ol:last-child,#post .rbs_block blockquote p:last-child,#post .rbs_block blockquote ul:last-child{margin-bottom:0}#post .rbs_block blockquote .small,#post .rbs_block blockquote footer,#post .rbs_block blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}#post .rbs_block blockquote .small:before,#post .rbs_block blockquote footer:before,#post .rbs_block blockquote small:before{content:'\2014 \00A0'}#post .rbs_block .blockquote-reverse,#post .rbs_block blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}#post .rbs_block .blockquote-reverse .small:before,#post .rbs_block .blockquote-reverse footer:before,#post .rbs_block .blockquote-reverse small:before,#post .rbs_block blockquote.pull-right .small:before,#post .rbs_block blockquote.pull-right footer:before,#post .rbs_block blockquote.pull-right small:before{content:''}#post .rbs_block .blockquote-reverse .small:after,#post .rbs_block .blockquote-reverse footer:after,#post .rbs_block .blockquote-reverse small:after,#post .rbs_block blockquote.pull-right .small:after,#post .rbs_block blockquote.pull-right footer:after,#post .rbs_block blockquote.pull-right small:after{content:'\00A0 \2014'}#post .rbs_block address{margin-bottom:20px;font-style:normal;line-height:1.42857143}#post .rbs_block code,#post .rbs_block kbd,#post .rbs_block pre,#post .rbs_block samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}#post .rbs_block code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}#post .rbs_block kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}#post .rbs_block kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}#post .rbs_block .container,#post .rbs_block .container-fluid{margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}#post .rbs_block pre code,#post .rbs_block table{background-color:transparent}#post .rbs_block pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;border-radius:0}#post .rbs_block .pre-scrollable{max-height:340px;overflow-y:scroll}@media (min-width:992px){#post .rbs_block .container{width:970px}}@media (min-width:1200px){#post .rbs_block .container{width:1170px}}#post .rbs_block .row{margin-right:-15px;margin-left:-15px}#post .rbs_block .col-lg-1,#post .rbs_block .col-lg-10,#post .rbs_block .col-lg-11,#post .rbs_block .col-lg-12,#post .rbs_block .col-lg-2,#post .rbs_block .col-lg-3,#post .rbs_block .col-lg-4,#post .rbs_block .col-lg-5,#post .rbs_block .col-lg-6,#post .rbs_block .col-lg-7,#post .rbs_block .col-lg-8,#post .rbs_block .col-lg-9,#post .rbs_block .col-md-1,#post .rbs_block .col-md-10,#post .rbs_block .col-md-11,#post .rbs_block .col-md-12,#post .rbs_block .col-md-2,#post .rbs_block .col-md-3,#post .rbs_block .col-md-4,#post .rbs_block .col-md-5,#post .rbs_block .col-md-6,#post .rbs_block .col-md-7,#post .rbs_block .col-md-8,#post .rbs_block .col-md-9,#post .rbs_block .col-sm-1,#post .rbs_block .col-sm-10,#post .rbs_block .col-sm-11,#post .rbs_block .col-sm-12,#post .rbs_block .col-sm-2,#post .rbs_block .col-sm-3,#post .rbs_block .col-sm-4,#post .rbs_block .col-sm-5,#post .rbs_block .col-sm-6,#post .rbs_block .col-sm-7,#post .rbs_block .col-sm-8,#post .rbs_block .col-sm-9,#post .rbs_block .col-xs-1,#post .rbs_block .col-xs-10,#post .rbs_block .col-xs-11,#post .rbs_block .col-xs-12,#post .rbs_block .col-xs-2,#post .rbs_block .col-xs-3,#post .rbs_block .col-xs-4,#post .rbs_block .col-xs-5,#post .rbs_block .col-xs-6,#post .rbs_block .col-xs-7,#post .rbs_block .col-xs-8,#post .rbs_block .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}#post .rbs_block .col-xs-12{width:100%}#post .rbs_block .col-xs-11{width:91.66666667%}#post .rbs_block .col-xs-10{width:83.33333333%}#post .rbs_block .col-xs-9{width:75%}#post .rbs_block .col-xs-8{width:66.66666667%}#post .rbs_block .col-xs-7{width:58.33333333%}#post .rbs_block .col-xs-6{width:50%}#post .rbs_block .col-xs-5{width:41.66666667%}#post .rbs_block .col-xs-4{width:33.33333333%}#post .rbs_block .col-xs-3{width:25%}#post .rbs_block .col-xs-2{width:16.66666667%}#post .rbs_block .col-xs-1{width:8.33333333%}#post .rbs_block .col-xs-pull-12{right:100%}#post .rbs_block .col-xs-pull-11{right:91.66666667%}#post .rbs_block .col-xs-pull-10{right:83.33333333%}#post .rbs_block .col-xs-pull-9{right:75%}#post .rbs_block .col-xs-pull-8{right:66.66666667%}#post .rbs_block .col-xs-pull-7{right:58.33333333%}#post .rbs_block .col-xs-pull-6{right:50%}#post .rbs_block .col-xs-pull-5{right:41.66666667%}#post .rbs_block .col-xs-pull-4{right:33.33333333%}#post .rbs_block .col-xs-pull-3{right:25%}#post .rbs_block .col-xs-pull-2{right:16.66666667%}#post .rbs_block .col-xs-pull-1{right:8.33333333%}#post .rbs_block .col-xs-pull-0{right:auto}#post .rbs_block .col-xs-push-12{left:100%}#post .rbs_block .col-xs-push-11{left:91.66666667%}#post .rbs_block .col-xs-push-10{left:83.33333333%}#post .rbs_block .col-xs-push-9{left:75%}#post .rbs_block .col-xs-push-8{left:66.66666667%}#post .rbs_block .col-xs-push-7{left:58.33333333%}#post .rbs_block .col-xs-push-6{left:50%}#post .rbs_block .col-xs-push-5{left:41.66666667%}#post .rbs_block .col-xs-push-4{left:33.33333333%}#post .rbs_block .col-xs-push-3{left:25%}#post .rbs_block .col-xs-push-2{left:16.66666667%}#post .rbs_block .col-xs-push-1{left:8.33333333%}#post .rbs_block .col-xs-push-0{left:auto}#post .rbs_block .col-xs-offset-12{margin-left:100%}#post .rbs_block .col-xs-offset-11{margin-left:91.66666667%}#post .rbs_block .col-xs-offset-10{margin-left:83.33333333%}#post .rbs_block .col-xs-offset-9{margin-left:75%}#post .rbs_block .col-xs-offset-8{margin-left:66.66666667%}#post .rbs_block .col-xs-offset-7{margin-left:58.33333333%}#post .rbs_block .col-xs-offset-6{margin-left:50%}#post .rbs_block .col-xs-offset-5{margin-left:41.66666667%}#post .rbs_block .col-xs-offset-4{margin-left:33.33333333%}#post .rbs_block .col-xs-offset-3{margin-left:25%}#post .rbs_block .col-xs-offset-2{margin-left:16.66666667%}#post .rbs_block .col-xs-offset-1{margin-left:8.33333333%}#post .rbs_block .col-xs-offset-0{margin-left:0}@media (min-width:768px){#post .rbs_block .col-sm-1,#post .rbs_block .col-sm-10,#post .rbs_block .col-sm-11,#post .rbs_block .col-sm-12,#post .rbs_block .col-sm-2,#post .rbs_block .col-sm-3,#post .rbs_block .col-sm-4,#post .rbs_block .col-sm-5,#post .rbs_block .col-sm-6,#post .rbs_block .col-sm-7,#post .rbs_block .col-sm-8,#post .rbs_block .col-sm-9{float:left}#post .rbs_block .col-sm-12{width:100%}#post .rbs_block .col-sm-11{width:91.66666667%}#post .rbs_block .col-sm-10{width:83.33333333%}#post .rbs_block .col-sm-9{width:75%}#post .rbs_block .col-sm-8{width:66.66666667%}#post .rbs_block .col-sm-7{width:58.33333333%}#post .rbs_block .col-sm-6{width:50%}#post .rbs_block .col-sm-5{width:41.66666667%}#post .rbs_block .col-sm-4{width:33.33333333%}#post .rbs_block .col-sm-3{width:25%}#post .rbs_block .col-sm-2{width:16.66666667%}#post .rbs_block .col-sm-1{width:8.33333333%}#post .rbs_block .col-sm-pull-12{right:100%}#post .rbs_block .col-sm-pull-11{right:91.66666667%}#post .rbs_block .col-sm-pull-10{right:83.33333333%}#post .rbs_block .col-sm-pull-9{right:75%}#post .rbs_block .col-sm-pull-8{right:66.66666667%}#post .rbs_block .col-sm-pull-7{right:58.33333333%}#post .rbs_block .col-sm-pull-6{right:50%}#post .rbs_block .col-sm-pull-5{right:41.66666667%}#post .rbs_block .col-sm-pull-4{right:33.33333333%}#post .rbs_block .col-sm-pull-3{right:25%}#post .rbs_block .col-sm-pull-2{right:16.66666667%}#post .rbs_block .col-sm-pull-1{right:8.33333333%}#post .rbs_block .col-sm-pull-0{right:auto}#post .rbs_block .col-sm-push-12{left:100%}#post .rbs_block .col-sm-push-11{left:91.66666667%}#post .rbs_block .col-sm-push-10{left:83.33333333%}#post .rbs_block .col-sm-push-9{left:75%}#post .rbs_block .col-sm-push-8{left:66.66666667%}#post .rbs_block .col-sm-push-7{left:58.33333333%}#post .rbs_block .col-sm-push-6{left:50%}#post .rbs_block .col-sm-push-5{left:41.66666667%}#post .rbs_block .col-sm-push-4{left:33.33333333%}#post .rbs_block .col-sm-push-3{left:25%}#post .rbs_block .col-sm-push-2{left:16.66666667%}#post .rbs_block .col-sm-push-1{left:8.33333333%}#post .rbs_block .col-sm-push-0{left:auto}#post .rbs_block .col-sm-offset-12{margin-left:100%}#post .rbs_block .col-sm-offset-11{margin-left:91.66666667%}#post .rbs_block .col-sm-offset-10{margin-left:83.33333333%}#post .rbs_block .col-sm-offset-9{margin-left:75%}#post .rbs_block .col-sm-offset-8{margin-left:66.66666667%}#post .rbs_block .col-sm-offset-7{margin-left:58.33333333%}#post .rbs_block .col-sm-offset-6{margin-left:50%}#post .rbs_block .col-sm-offset-5{margin-left:41.66666667%}#post .rbs_block .col-sm-offset-4{margin-left:33.33333333%}#post .rbs_block .col-sm-offset-3{margin-left:25%}#post .rbs_block .col-sm-offset-2{margin-left:16.66666667%}#post .rbs_block .col-sm-offset-1{margin-left:8.33333333%}#post .rbs_block .col-sm-offset-0{margin-left:0}}@media (min-width:992px){#post .rbs_block .col-md-1,#post .rbs_block .col-md-10,#post .rbs_block .col-md-11,#post .rbs_block .col-md-12,#post .rbs_block .col-md-2,#post .rbs_block .col-md-3,#post .rbs_block .col-md-4,#post .rbs_block .col-md-5,#post .rbs_block .col-md-6,#post .rbs_block .col-md-7,#post .rbs_block .col-md-8,#post .rbs_block .col-md-9{float:left}#post .rbs_block .col-md-12{width:100%}#post .rbs_block .col-md-11{width:91.66666667%}#post .rbs_block .col-md-10{width:83.33333333%}#post .rbs_block .col-md-9{width:75%}#post .rbs_block .col-md-8{width:66.66666667%}#post .rbs_block .col-md-7{width:58.33333333%}#post .rbs_block .col-md-6{width:50%}#post .rbs_block .col-md-5{width:41.66666667%}#post .rbs_block .col-md-4{width:33.33333333%}#post .rbs_block .col-md-3{width:25%}#post .rbs_block .col-md-2{width:16.66666667%}#post .rbs_block .col-md-1{width:8.33333333%}#post .rbs_block .col-md-pull-12{right:100%}#post .rbs_block .col-md-pull-11{right:91.66666667%}#post .rbs_block .col-md-pull-10{right:83.33333333%}#post .rbs_block .col-md-pull-9{right:75%}#post .rbs_block .col-md-pull-8{right:66.66666667%}#post .rbs_block .col-md-pull-7{right:58.33333333%}#post .rbs_block .col-md-pull-6{right:50%}#post .rbs_block .col-md-pull-5{right:41.66666667%}#post .rbs_block .col-md-pull-4{right:33.33333333%}#post .rbs_block .col-md-pull-3{right:25%}#post .rbs_block .col-md-pull-2{right:16.66666667%}#post .rbs_block .col-md-pull-1{right:8.33333333%}#post .rbs_block .col-md-pull-0{right:auto}#post .rbs_block .col-md-push-12{left:100%}#post .rbs_block .col-md-push-11{left:91.66666667%}#post .rbs_block .col-md-push-10{left:83.33333333%}#post .rbs_block .col-md-push-9{left:75%}#post .rbs_block .col-md-push-8{left:66.66666667%}#post .rbs_block .col-md-push-7{left:58.33333333%}#post .rbs_block .col-md-push-6{left:50%}#post .rbs_block .col-md-push-5{left:41.66666667%}#post .rbs_block .col-md-push-4{left:33.33333333%}#post .rbs_block .col-md-push-3{left:25%}#post .rbs_block .col-md-push-2{left:16.66666667%}#post .rbs_block .col-md-push-1{left:8.33333333%}#post .rbs_block .col-md-push-0{left:auto}#post .rbs_block .col-md-offset-12{margin-left:100%}#post .rbs_block .col-md-offset-11{margin-left:91.66666667%}#post .rbs_block .col-md-offset-10{margin-left:83.33333333%}#post .rbs_block .col-md-offset-9{margin-left:75%}#post .rbs_block .col-md-offset-8{margin-left:66.66666667%}#post .rbs_block .col-md-offset-7{margin-left:58.33333333%}#post .rbs_block .col-md-offset-6{margin-left:50%}#post .rbs_block .col-md-offset-5{margin-left:41.66666667%}#post .rbs_block .col-md-offset-4{margin-left:33.33333333%}#post .rbs_block .col-md-offset-3{margin-left:25%}#post .rbs_block .col-md-offset-2{margin-left:16.66666667%}#post .rbs_block .col-md-offset-1{margin-left:8.33333333%}#post .rbs_block .col-md-offset-0{margin-left:0}}@media (min-width:1200px){#post .rbs_block .col-lg-1,#post .rbs_block .col-lg-10,#post .rbs_block .col-lg-11,#post .rbs_block .col-lg-12,#post .rbs_block .col-lg-2,#post .rbs_block .col-lg-3,#post .rbs_block .col-lg-4,#post .rbs_block .col-lg-5,#post .rbs_block .col-lg-6,#post .rbs_block .col-lg-7,#post .rbs_block .col-lg-8,#post .rbs_block .col-lg-9{float:left}#post .rbs_block .col-lg-12{width:100%}#post .rbs_block .col-lg-11{width:91.66666667%}#post .rbs_block .col-lg-10{width:83.33333333%}#post .rbs_block .col-lg-9{width:75%}#post .rbs_block .col-lg-8{width:66.66666667%}#post .rbs_block .col-lg-7{width:58.33333333%}#post .rbs_block .col-lg-6{width:50%}#post .rbs_block .col-lg-5{width:41.66666667%}#post .rbs_block .col-lg-4{width:33.33333333%}#post .rbs_block .col-lg-3{width:25%}#post .rbs_block .col-lg-2{width:16.66666667%}#post .rbs_block .col-lg-1{width:8.33333333%}#post .rbs_block .col-lg-pull-12{right:100%}#post .rbs_block .col-lg-pull-11{right:91.66666667%}#post .rbs_block .col-lg-pull-10{right:83.33333333%}#post .rbs_block .col-lg-pull-9{right:75%}#post .rbs_block .col-lg-pull-8{right:66.66666667%}#post .rbs_block .col-lg-pull-7{right:58.33333333%}#post .rbs_block .col-lg-pull-6{right:50%}#post .rbs_block .col-lg-pull-5{right:41.66666667%}#post .rbs_block .col-lg-pull-4{right:33.33333333%}#post .rbs_block .col-lg-pull-3{right:25%}#post .rbs_block .col-lg-pull-2{right:16.66666667%}#post .rbs_block .col-lg-pull-1{right:8.33333333%}#post .rbs_block .col-lg-pull-0{right:auto}#post .rbs_block .col-lg-push-12{left:100%}#post .rbs_block .col-lg-push-11{left:91.66666667%}#post .rbs_block .col-lg-push-10{left:83.33333333%}#post .rbs_block .col-lg-push-9{left:75%}#post .rbs_block .col-lg-push-8{left:66.66666667%}#post .rbs_block .col-lg-push-7{left:58.33333333%}#post .rbs_block .col-lg-push-6{left:50%}#post .rbs_block .col-lg-push-5{left:41.66666667%}#post .rbs_block .col-lg-push-4{left:33.33333333%}#post .rbs_block .col-lg-push-3{left:25%}#post .rbs_block .col-lg-push-2{left:16.66666667%}#post .rbs_block .col-lg-push-1{left:8.33333333%}#post .rbs_block .col-lg-push-0{left:auto}#post .rbs_block .col-lg-offset-12{margin-left:100%}#post .rbs_block .col-lg-offset-11{margin-left:91.66666667%}#post .rbs_block .col-lg-offset-10{margin-left:83.33333333%}#post .rbs_block .col-lg-offset-9{margin-left:75%}#post .rbs_block .col-lg-offset-8{margin-left:66.66666667%}#post .rbs_block .col-lg-offset-7{margin-left:58.33333333%}#post .rbs_block .col-lg-offset-6{margin-left:50%}#post .rbs_block .col-lg-offset-5{margin-left:41.66666667%}#post .rbs_block .col-lg-offset-4{margin-left:33.33333333%}#post .rbs_block .col-lg-offset-3{margin-left:25%}#post .rbs_block .col-lg-offset-2{margin-left:16.66666667%}#post .rbs_block .col-lg-offset-1{margin-left:8.33333333%}#post .rbs_block .col-lg-offset-0{margin-left:0}}#post .rbs_block caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}#post .rbs_block .table{width:100%;max-width:100%;margin-bottom:20px}#post .rbs_block .table>tbody>tr>td,#post .rbs_block .table>tbody>tr>th,#post .rbs_block .table>tfoot>tr>td,#post .rbs_block .table>tfoot>tr>th,#post .rbs_block .table>thead>tr>td,#post .rbs_block .table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}#post .rbs_block .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}#post .rbs_block .table>caption+thead>tr:first-child>td,#post .rbs_block .table>caption+thead>tr:first-child>th,#post .rbs_block .table>colgroup+thead>tr:first-child>td,#post .rbs_block .table>colgroup+thead>tr:first-child>th,#post .rbs_block .table>thead:first-child>tr:first-child>td,#post .rbs_block .table>thead:first-child>tr:first-child>th{border-top:0}#post .rbs_block .table>tbody+tbody{border-top:2px solid #ddd}#post .rbs_block .table .table{background-color:#fff}#post .rbs_block .table-condensed>tbody>tr>td,#post .rbs_block .table-condensed>tbody>tr>th,#post .rbs_block .table-condensed>tfoot>tr>td,#post .rbs_block .table-condensed>tfoot>tr>th,#post .rbs_block .table-condensed>thead>tr>td,#post .rbs_block .table-condensed>thead>tr>th{padding:5px}#post .rbs_block .table-bordered,#post .rbs_block .table-bordered>tbody>tr>td,#post .rbs_block .table-bordered>tbody>tr>th,#post .rbs_block .table-bordered>tfoot>tr>td,#post .rbs_block .table-bordered>tfoot>tr>th,#post .rbs_block .table-bordered>thead>tr>td,#post .rbs_block .table-bordered>thead>tr>th{border:1px solid #ddd}#post .rbs_block .table-bordered>thead>tr>td,#post .rbs_block .table-bordered>thead>tr>th{border-bottom-width:2px}#post .rbs_block .table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}#post .rbs_block .table-hover>tbody>tr:hover,#post .rbs_block .table>tbody>tr.active>td,#post .rbs_block .table>tbody>tr.active>th,#post .rbs_block .table>tbody>tr>td.active,#post .rbs_block .table>tbody>tr>th.active,#post .rbs_block .table>tfoot>tr.active>td,#post .rbs_block .table>tfoot>tr.active>th,#post .rbs_block .table>tfoot>tr>td.active,#post .rbs_block .table>tfoot>tr>th.active,#post .rbs_block .table>thead>tr.active>td,#post .rbs_block .table>thead>tr.active>th,#post .rbs_block .table>thead>tr>td.active,#post .rbs_block .table>thead>tr>th.active{background-color:#f5f5f5}#post .rbs_block table col[class*=col-]{position:static;display:table-column;float:none}#post .rbs_block table td[class*=col-],#post .rbs_block table th[class*=col-]{position:static;display:table-cell;float:none}#post .rbs_block .table-hover>tbody>tr.active:hover>td,#post .rbs_block .table-hover>tbody>tr.active:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.active,#post .rbs_block .table-hover>tbody>tr>td.active:hover,#post .rbs_block .table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}#post .rbs_block .table>tbody>tr.success>td,#post .rbs_block .table>tbody>tr.success>th,#post .rbs_block .table>tbody>tr>td.success,#post .rbs_block .table>tbody>tr>th.success,#post .rbs_block .table>tfoot>tr.success>td,#post .rbs_block .table>tfoot>tr.success>th,#post .rbs_block .table>tfoot>tr>td.success,#post .rbs_block .table>tfoot>tr>th.success,#post .rbs_block .table>thead>tr.success>td,#post .rbs_block .table>thead>tr.success>th,#post .rbs_block .table>thead>tr>td.success,#post .rbs_block .table>thead>tr>th.success{background-color:#dff0d8}#post .rbs_block .table-hover>tbody>tr.success:hover>td,#post .rbs_block .table-hover>tbody>tr.success:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.success,#post .rbs_block .table-hover>tbody>tr>td.success:hover,#post .rbs_block .table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}#post .rbs_block .table>tbody>tr.info>td,#post .rbs_block .table>tbody>tr.info>th,#post .rbs_block .table>tbody>tr>td.info,#post .rbs_block .table>tbody>tr>th.info,#post .rbs_block .table>tfoot>tr.info>td,#post .rbs_block .table>tfoot>tr.info>th,#post .rbs_block .table>tfoot>tr>td.info,#post .rbs_block .table>tfoot>tr>th.info,#post .rbs_block .table>thead>tr.info>td,#post .rbs_block .table>thead>tr.info>th,#post .rbs_block .table>thead>tr>td.info,#post .rbs_block .table>thead>tr>th.info{background-color:#d9edf7}#post .rbs_block .table-hover>tbody>tr.info:hover>td,#post .rbs_block .table-hover>tbody>tr.info:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.info,#post .rbs_block .table-hover>tbody>tr>td.info:hover,#post .rbs_block .table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}#post .rbs_block .table>tbody>tr.warning>td,#post .rbs_block .table>tbody>tr.warning>th,#post .rbs_block .table>tbody>tr>td.warning,#post .rbs_block .table>tbody>tr>th.warning,#post .rbs_block .table>tfoot>tr.warning>td,#post .rbs_block .table>tfoot>tr.warning>th,#post .rbs_block .table>tfoot>tr>td.warning,#post .rbs_block .table>tfoot>tr>th.warning,#post .rbs_block .table>thead>tr.warning>td,#post .rbs_block .table>thead>tr.warning>th,#post .rbs_block .table>thead>tr>td.warning,#post .rbs_block .table>thead>tr>th.warning{background-color:#fcf8e3}#post .rbs_block .table-hover>tbody>tr.warning:hover>td,#post .rbs_block .table-hover>tbody>tr.warning:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.warning,#post .rbs_block .table-hover>tbody>tr>td.warning:hover,#post .rbs_block .table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}#post .rbs_block .table>tbody>tr.danger>td,#post .rbs_block .table>tbody>tr.danger>th,#post .rbs_block .table>tbody>tr>td.danger,#post .rbs_block .table>tbody>tr>th.danger,#post .rbs_block .table>tfoot>tr.danger>td,#post .rbs_block .table>tfoot>tr.danger>th,#post .rbs_block .table>tfoot>tr>td.danger,#post .rbs_block .table>tfoot>tr>th.danger,#post .rbs_block .table>thead>tr.danger>td,#post .rbs_block .table>thead>tr.danger>th,#post .rbs_block .table>thead>tr>td.danger,#post .rbs_block .table>thead>tr>th.danger{background-color:#f2dede}#post .rbs_block .table-hover>tbody>tr.danger:hover>td,#post .rbs_block .table-hover>tbody>tr.danger:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.danger,#post .rbs_block .table-hover>tbody>tr>td.danger:hover,#post .rbs_block .table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}#post .rbs_block .table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){#post .rbs_block .table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}#post .rbs_block .table-responsive>.table{margin-bottom:0}#post .rbs_block .table-responsive>.table>tbody>tr>td,#post .rbs_block .table-responsive>.table>tbody>tr>th,#post .rbs_block .table-responsive>.table>tfoot>tr>td,#post .rbs_block .table-responsive>.table>tfoot>tr>th,#post .rbs_block .table-responsive>.table>thead>tr>td,#post .rbs_block .table-responsive>.table>thead>tr>th{white-space:nowrap}#post .rbs_block .table-responsive>.table-bordered{border:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .table-responsive>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}#post .rbs_block fieldset{min-width:0;padding:0;margin:0;border:0}#post .rbs_block legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}#post .rbs_block label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}#post .rbs_block input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none}#post .rbs_block input[type=checkbox],#post .rbs_block input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}#post .rbs_block .form-control,#post .rbs_block output{font-size:14px;line-height:1.42857143;color:#555;display:block}#post .rbs_block input[type=file]{display:block}#post .rbs_block input[type=range]{display:block;width:100%}#post .rbs_block select[multiple],#post .rbs_block select[size]{height:auto}#post .rbs_block input[type=file]:focus,#post .rbs_block input[type=checkbox]:focus,#post .rbs_block input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block output{padding-top:7px}#post .rbs_block .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}#post .rbs_block .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}#post .rbs_block .form-control::-moz-placeholder{color:#999;opacity:1}#post .rbs_block .form-control:-ms-input-placeholder{color:#999}#post .rbs_block .form-control::-webkit-input-placeholder{color:#999}#post .rbs_block .has-success .checkbox,#post .rbs_block .has-success .checkbox-inline,#post .rbs_block .has-success .control-label,#post .rbs_block .has-success .form-control-feedback,#post .rbs_block .has-success .help-block,#post .rbs_block .has-success .radio,#post .rbs_block .has-success .radio-inline,#post .rbs_block .has-success.checkbox label,#post .rbs_block .has-success.checkbox-inline label,#post .rbs_block .has-success.radio label,#post .rbs_block .has-success.radio-inline label{color:#3c763d}#post .rbs_block .form-control[disabled],#post .rbs_block .form-control[readonly],#post .rbs_block fieldset[disabled] .form-control{background-color:#eee;opacity:1}#post .rbs_block .form-control[disabled],#post .rbs_block fieldset[disabled] .form-control{cursor:not-allowed}#post .rbs_block textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){#post .rbs_block input[type=date],#post .rbs_block input[type=time],#post .rbs_block input[type=datetime-local],#post .rbs_block input[type=month]{line-height:34px}#post .rbs_block .input-group-sm input[type=date],#post .rbs_block .input-group-sm input[type=time],#post .rbs_block .input-group-sm input[type=datetime-local],#post .rbs_block .input-group-sm input[type=month],#post .rbs_block input[type=date].input-sm,#post .rbs_block input[type=time].input-sm,#post .rbs_block input[type=datetime-local].input-sm,#post .rbs_block input[type=month].input-sm{line-height:30px}#post .rbs_block .input-group-lg input[type=date],#post .rbs_block .input-group-lg input[type=time],#post .rbs_block .input-group-lg input[type=datetime-local],#post .rbs_block .input-group-lg input[type=month],#post .rbs_block input[type=date].input-lg,#post .rbs_block input[type=time].input-lg,#post .rbs_block input[type=datetime-local].input-lg,#post .rbs_block input[type=month].input-lg{line-height:46px}}#post .rbs_block .form-group{margin-bottom:15px}#post .rbs_block .checkbox,#post .rbs_block .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}#post .rbs_block .checkbox label,#post .rbs_block .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}#post .rbs_block .checkbox input[type=checkbox],#post .rbs_block .checkbox-inline input[type=checkbox],#post .rbs_block .radio input[type=radio],#post .rbs_block .radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}#post .rbs_block .checkbox+.checkbox,#post .rbs_block .radio+.radio{margin-top:-5px}#post .rbs_block .checkbox-inline,#post .rbs_block .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}#post .rbs_block .checkbox-inline+.checkbox-inline,#post .rbs_block .radio-inline+.radio-inline{margin-top:0;margin-left:10px}#post .rbs_block .checkbox-inline.disabled,#post .rbs_block .checkbox.disabled label,#post .rbs_block .radio-inline.disabled,#post .rbs_block .radio.disabled label,#post .rbs_block fieldset[disabled] .checkbox label,#post .rbs_block fieldset[disabled] .checkbox-inline,#post .rbs_block fieldset[disabled] .radio label,#post .rbs_block fieldset[disabled] .radio-inline,#post .rbs_block fieldset[disabled] input[type=checkbox],#post .rbs_block fieldset[disabled] input[type=radio],#post .rbs_block input[type=checkbox].disabled,#post .rbs_block input[type=checkbox][disabled],#post .rbs_block input[type=radio].disabled,#post .rbs_block input[type=radio][disabled]{cursor:not-allowed}#post .rbs_block .form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}#post .rbs_block .form-control-static.input-lg,#post .rbs_block .form-control-static.input-sm{padding-right:0;padding-left:0}#post .rbs_block .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.input-sm{height:30px;line-height:30px}#post .rbs_block select[multiple].input-sm,#post .rbs_block textarea.input-sm{height:auto}#post .rbs_block .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.form-group-sm .form-control{height:30px;line-height:30px}#post .rbs_block select[multiple].form-group-sm .form-control,#post .rbs_block textarea.form-group-sm .form-control{height:auto}#post .rbs_block .form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}#post .rbs_block .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.input-lg{height:46px;line-height:46px}#post .rbs_block select[multiple].input-lg,#post .rbs_block textarea.input-lg{height:auto}#post .rbs_block .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.form-group-lg .form-control{height:46px;line-height:46px}#post .rbs_block select[multiple].form-group-lg .form-control,#post .rbs_block textarea.form-group-lg .form-control{height:auto}#post .rbs_block .form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}#post .rbs_block .has-feedback{position:relative}#post .rbs_block .has-feedback .form-control{padding-right:42.5px}#post .rbs_block .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}#post .rbs_block .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}#post .rbs_block .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}#post .rbs_block .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}#post .rbs_block .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}#post .rbs_block .has-warning .checkbox,#post .rbs_block .has-warning .checkbox-inline,#post .rbs_block .has-warning .control-label,#post .rbs_block .has-warning .form-control-feedback,#post .rbs_block .has-warning .help-block,#post .rbs_block .has-warning .radio,#post .rbs_block .has-warning .radio-inline,#post .rbs_block .has-warning.checkbox label,#post .rbs_block .has-warning.checkbox-inline label,#post .rbs_block .has-warning.radio label,#post .rbs_block .has-warning.radio-inline label{color:#8a6d3b}#post .rbs_block .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}#post .rbs_block .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}#post .rbs_block .has-error .checkbox,#post .rbs_block .has-error .checkbox-inline,#post .rbs_block .has-error .control-label,#post .rbs_block .has-error .form-control-feedback,#post .rbs_block .has-error .help-block,#post .rbs_block .has-error .radio,#post .rbs_block .has-error .radio-inline,#post .rbs_block .has-error.checkbox label,#post .rbs_block .has-error.checkbox-inline label,#post .rbs_block .has-error.radio label,#post .rbs_block .has-error.radio-inline label{color:#a94442}#post .rbs_block .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}#post .rbs_block .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}#post .rbs_block .has-feedback label~.form-control-feedback{top:25px}#post .rbs_block .has-feedback label.sr-only~.form-control-feedback{top:0}#post .rbs_block .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){#post .rbs_block .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}#post .rbs_block .form-inline .form-control-static{display:inline-block}#post .rbs_block .form-inline .input-group{display:inline-table;vertical-align:middle}#post .rbs_block .form-inline .input-group .form-control,#post .rbs_block .form-inline .input-group .input-group-addon,#post .rbs_block .form-inline .input-group .input-group-btn{width:auto}#post .rbs_block .form-inline .input-group>.form-control{width:100%}#post .rbs_block .form-inline .control-label{margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .checkbox,#post .rbs_block .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .checkbox label,#post .rbs_block .form-inline .radio label{padding-left:0}#post .rbs_block .form-inline .checkbox input[type=checkbox],#post .rbs_block .form-inline .radio input[type=radio]{position:relative;margin-left:0}#post .rbs_block .form-inline .has-feedback .form-control-feedback{top:0}#post .rbs_block .form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}#post .rbs_block .form-horizontal .control-label.text-left{text-align:left}}#post .rbs_block .form-horizontal .checkbox,#post .rbs_block .form-horizontal .checkbox-inline,#post .rbs_block .form-horizontal .radio,#post .rbs_block .form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}#post .rbs_block .form-horizontal .checkbox,#post .rbs_block .form-horizontal .radio{min-height:27px}#post .rbs_block .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}#post .rbs_block .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){#post .rbs_block .form-horizontal .form-group-lg .control-label{padding-top:14.33px}#post .rbs_block .form-horizontal .form-group-sm .control-label{padding-top:6px}}#post .rbs_block .btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}#post .rbs_block .btn.active.focus,#post .rbs_block .btn.active:focus,#post .rbs_block .btn.focus,#post .rbs_block .btn:active.focus,#post .rbs_block .btn:active:focus,#post .rbs_block .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block .btn.focus,#post .rbs_block .btn:focus,#post .rbs_block .btn:hover{color:#333;text-decoration:none}#post .rbs_block .btn.active,#post .rbs_block .btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}#post .rbs_block .btn.disabled,#post .rbs_block .btn[disabled],#post .rbs_block fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}#post .rbs_block .btn-default{color:#333;background-color:#fff;border-color:#ccc}#post .rbs_block .btn-default.active,#post .rbs_block .btn-default.focus,#post .rbs_block .btn-default:active,#post .rbs_block .btn-default:focus,#post .rbs_block .btn-default:hover,#post .rbs_block .open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}#post .rbs_block .btn-default.active,#post .rbs_block .btn-default:active,#post .rbs_block .open>.dropdown-toggle.btn-default{background-image:none}#post .rbs_block .btn-default.disabled,#post .rbs_block .btn-default.disabled.active,#post .rbs_block .btn-default.disabled.focus,#post .rbs_block .btn-default.disabled:active,#post .rbs_block .btn-default.disabled:focus,#post .rbs_block .btn-default.disabled:hover,#post .rbs_block .btn-default[disabled],#post .rbs_block .btn-default[disabled].active,#post .rbs_block .btn-default[disabled].focus,#post .rbs_block .btn-default[disabled]:active,#post .rbs_block .btn-default[disabled]:focus,#post .rbs_block .btn-default[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-default,#post .rbs_block fieldset[disabled] .btn-default.active,#post .rbs_block fieldset[disabled] .btn-default.focus,#post .rbs_block fieldset[disabled] .btn-default:active,#post .rbs_block fieldset[disabled] .btn-default:focus,#post .rbs_block fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}#post .rbs_block .btn-default .badge{color:#fff;background-color:#333}#post .rbs_block .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}#post .rbs_block .btn-primary.active,#post .rbs_block .btn-primary.focus,#post .rbs_block .btn-primary:active,#post .rbs_block .btn-primary:focus,#post .rbs_block .btn-primary:hover,#post .rbs_block .open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}#post .rbs_block .btn-primary.active,#post .rbs_block .btn-primary:active,#post .rbs_block .open>.dropdown-toggle.btn-primary{background-image:none}#post .rbs_block .btn-primary.disabled,#post .rbs_block .btn-primary.disabled.active,#post .rbs_block .btn-primary.disabled.focus,#post .rbs_block .btn-primary.disabled:active,#post .rbs_block .btn-primary.disabled:focus,#post .rbs_block .btn-primary.disabled:hover,#post .rbs_block .btn-primary[disabled],#post .rbs_block .btn-primary[disabled].active,#post .rbs_block .btn-primary[disabled].focus,#post .rbs_block .btn-primary[disabled]:active,#post .rbs_block .btn-primary[disabled]:focus,#post .rbs_block .btn-primary[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-primary,#post .rbs_block fieldset[disabled] .btn-primary.active,#post .rbs_block fieldset[disabled] .btn-primary.focus,#post .rbs_block fieldset[disabled] .btn-primary:active,#post .rbs_block fieldset[disabled] .btn-primary:focus,#post .rbs_block fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}#post .rbs_block .btn-primary .badge{color:#337ab7;background-color:#fff}#post .rbs_block .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}#post .rbs_block .btn-success.active,#post .rbs_block .btn-success.focus,#post .rbs_block .btn-success:active,#post .rbs_block .btn-success:focus,#post .rbs_block .btn-success:hover,#post .rbs_block .open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}#post .rbs_block .btn-success.active,#post .rbs_block .btn-success:active,#post .rbs_block .open>.dropdown-toggle.btn-success{background-image:none}#post .rbs_block .btn-success.disabled,#post .rbs_block .btn-success.disabled.active,#post .rbs_block .btn-success.disabled.focus,#post .rbs_block .btn-success.disabled:active,#post .rbs_block .btn-success.disabled:focus,#post .rbs_block .btn-success.disabled:hover,#post .rbs_block .btn-success[disabled],#post .rbs_block .btn-success[disabled].active,#post .rbs_block .btn-success[disabled].focus,#post .rbs_block .btn-success[disabled]:active,#post .rbs_block .btn-success[disabled]:focus,#post .rbs_block .btn-success[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-success,#post .rbs_block fieldset[disabled] .btn-success.active,#post .rbs_block fieldset[disabled] .btn-success.focus,#post .rbs_block fieldset[disabled] .btn-success:active,#post .rbs_block fieldset[disabled] .btn-success:focus,#post .rbs_block fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}#post .rbs_block .btn-success .badge{color:#5cb85c;background-color:#fff}#post .rbs_block .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}#post .rbs_block .btn-info.active,#post .rbs_block .btn-info.focus,#post .rbs_block .btn-info:active,#post .rbs_block .btn-info:focus,#post .rbs_block .btn-info:hover,#post .rbs_block .open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}#post .rbs_block .btn-info.active,#post .rbs_block .btn-info:active,#post .rbs_block .open>.dropdown-toggle.btn-info{background-image:none}#post .rbs_block .btn-info.disabled,#post .rbs_block .btn-info.disabled.active,#post .rbs_block .btn-info.disabled.focus,#post .rbs_block .btn-info.disabled:active,#post .rbs_block .btn-info.disabled:focus,#post .rbs_block .btn-info.disabled:hover,#post .rbs_block .btn-info[disabled],#post .rbs_block .btn-info[disabled].active,#post .rbs_block .btn-info[disabled].focus,#post .rbs_block .btn-info[disabled]:active,#post .rbs_block .btn-info[disabled]:focus,#post .rbs_block .btn-info[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-info,#post .rbs_block fieldset[disabled] .btn-info.active,#post .rbs_block fieldset[disabled] .btn-info.focus,#post .rbs_block fieldset[disabled] .btn-info:active,#post .rbs_block fieldset[disabled] .btn-info:focus,#post .rbs_block fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}#post .rbs_block .btn-info .badge{color:#5bc0de;background-color:#fff}#post .rbs_block .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}#post .rbs_block .btn-warning.active,#post .rbs_block .btn-warning.focus,#post .rbs_block .btn-warning:active,#post .rbs_block .btn-warning:focus,#post .rbs_block .btn-warning:hover,#post .rbs_block .open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}#post .rbs_block .btn-warning.active,#post .rbs_block .btn-warning:active,#post .rbs_block .open>.dropdown-toggle.btn-warning{background-image:none}#post .rbs_block .btn-warning.disabled,#post .rbs_block .btn-warning.disabled.active,#post .rbs_block .btn-warning.disabled.focus,#post .rbs_block .btn-warning.disabled:active,#post .rbs_block .btn-warning.disabled:focus,#post .rbs_block .btn-warning.disabled:hover,#post .rbs_block .btn-warning[disabled],#post .rbs_block .btn-warning[disabled].active,#post .rbs_block .btn-warning[disabled].focus,#post .rbs_block .btn-warning[disabled]:active,#post .rbs_block .btn-warning[disabled]:focus,#post .rbs_block .btn-warning[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-warning,#post .rbs_block fieldset[disabled] .btn-warning.active,#post .rbs_block fieldset[disabled] .btn-warning.focus,#post .rbs_block fieldset[disabled] .btn-warning:active,#post .rbs_block fieldset[disabled] .btn-warning:focus,#post .rbs_block fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}#post .rbs_block .btn-warning .badge{color:#f0ad4e;background-color:#fff}#post .rbs_block .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}#post .rbs_block .btn-danger.active,#post .rbs_block .btn-danger.focus,#post .rbs_block .btn-danger:active,#post .rbs_block .btn-danger:focus,#post .rbs_block .btn-danger:hover,#post .rbs_block .open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}#post .rbs_block .btn-danger.active,#post .rbs_block .btn-danger:active,#post .rbs_block .open>.dropdown-toggle.btn-danger{background-image:none}#post .rbs_block .btn-danger.disabled,#post .rbs_block .btn-danger.disabled.active,#post .rbs_block .btn-danger.disabled.focus,#post .rbs_block .btn-danger.disabled:active,#post .rbs_block .btn-danger.disabled:focus,#post .rbs_block .btn-danger.disabled:hover,#post .rbs_block .btn-danger[disabled],#post .rbs_block .btn-danger[disabled].active,#post .rbs_block .btn-danger[disabled].focus,#post .rbs_block .btn-danger[disabled]:active,#post .rbs_block .btn-danger[disabled]:focus,#post .rbs_block .btn-danger[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-danger,#post .rbs_block fieldset[disabled] .btn-danger.active,#post .rbs_block fieldset[disabled] .btn-danger.focus,#post .rbs_block fieldset[disabled] .btn-danger:active,#post .rbs_block fieldset[disabled] .btn-danger:focus,#post .rbs_block fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}#post .rbs_block .btn-danger .badge{color:#d9534f;background-color:#fff}#post .rbs_block .btn-link{font-weight:400;color:#337ab7;border-radius:0}#post .rbs_block .btn-link,#post .rbs_block .btn-link.active,#post .rbs_block .btn-link:active,#post .rbs_block .btn-link[disabled],#post .rbs_block fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .btn-link,#post .rbs_block .btn-link:active,#post .rbs_block .btn-link:focus,#post .rbs_block .btn-link:hover{border-color:transparent}#post .rbs_block .btn-link:focus,#post .rbs_block .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}#post .rbs_block .btn-link[disabled]:focus,#post .rbs_block .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-link:focus,#post .rbs_block fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}#post .rbs_block .btn-group-lg>.btn,#post .rbs_block .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block .btn-group-sm>.btn,#post .rbs_block .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block .btn-group-xs>.btn,#post .rbs_block .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block .btn-block{display:block;width:100%}#post .rbs_block .btn-block+.btn-block{margin-top:5px}#post .rbs_block input[type=button].btn-block,#post .rbs_block input[type=reset].btn-block,#post .rbs_block input[type=submit].btn-block{width:100%}#post .rbs_block .fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}#post .rbs_block .fade.in{opacity:1}#post .rbs_block .collapse{display:none}#post .rbs_block .collapse.in{display:block}#post .rbs_block tr.collapse.in{display:table-row}#post .rbs_block tbody.collapse.in{display:table-row-group}#post .rbs_block .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}#post .rbs_block .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}#post .rbs_block .dropdown,#post .rbs_block .dropup{position:relative}#post .rbs_block .dropdown-toggle:focus{outline:0}#post .rbs_block .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}#post .rbs_block .dropdown-menu-right,#post .rbs_block .dropdown-menu.pull-right{right:0;left:auto}#post .rbs_block .dropdown-header,#post .rbs_block .dropdown-menu>li>a{display:block;padding:3px 20px;line-height:1.42857143;white-space:nowrap}#post .rbs_block .btn-group-vertical>.btn:not(:first-child):not(:last-child),#post .rbs_block .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,#post .rbs_block .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}#post .rbs_block .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}#post .rbs_block .dropdown-menu>li>a{clear:both;font-weight:400;color:#333}#post .rbs_block .dropdown-menu>li>a:focus,#post .rbs_block .dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}#post .rbs_block .dropdown-menu>.active>a,#post .rbs_block .dropdown-menu>.active>a:focus,#post .rbs_block .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}#post .rbs_block .dropdown-menu>.disabled>a,#post .rbs_block .dropdown-menu>.disabled>a:focus,#post .rbs_block .dropdown-menu>.disabled>a:hover{color:#777}#post .rbs_block .dropdown-menu>.disabled>a:focus,#post .rbs_block .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}#post .rbs_block .open>.dropdown-menu{display:block}#post .rbs_block .open>a{outline:0}#post .rbs_block .dropdown-menu-left{right:auto;left:0}#post .rbs_block .dropdown-header{font-size:12px;color:#777}#post .rbs_block .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}#post .rbs_block .nav-justified>.dropdown .dropdown-menu,#post .rbs_block .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}#post .rbs_block .btn-group-vertical>.btn.active,#post .rbs_block .btn-group-vertical>.btn:active,#post .rbs_block .btn-group-vertical>.btn:focus,#post .rbs_block .btn-group-vertical>.btn:hover,#post .rbs_block .btn-group>.btn.active,#post .rbs_block .btn-group>.btn:active,#post .rbs_block .btn-group>.btn:focus,#post .rbs_block .btn-group>.btn:hover,#post .rbs_block .input-group-btn>.btn:active,#post .rbs_block .input-group-btn>.btn:focus,#post .rbs_block .input-group-btn>.btn:hover{z-index:2}#post .rbs_block .pull-right>.dropdown-menu{right:0;left:auto}#post .rbs_block .dropup .caret,#post .rbs_block .navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}#post .rbs_block .dropup .dropdown-menu,#post .rbs_block .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){#post .rbs_block .navbar-right .dropdown-menu{right:0;left:auto}#post .rbs_block .navbar-right .dropdown-menu-left{right:auto;left:0}}#post .rbs_block .btn-group,#post .rbs_block .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}#post .rbs_block .btn-group-vertical>.btn,#post .rbs_block .btn-group>.btn{position:relative;float:left}#post .rbs_block .btn-group .btn+.btn,#post .rbs_block .btn-group .btn+.btn-group,#post .rbs_block .btn-group .btn-group+.btn,#post .rbs_block .btn-group .btn-group+.btn-group{margin-left:-1px}#post .rbs_block .btn-toolbar{margin-left:-5px}#post .rbs_block .btn-toolbar>.btn,#post .rbs_block .btn-toolbar>.btn-group,#post .rbs_block .btn-toolbar>.input-group{margin-left:5px}#post .rbs_block .btn .caret,#post .rbs_block .btn-group>.btn:first-child{margin-left:0}#post .rbs_block .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .btn-group>.btn:last-child:not(:first-child),#post .rbs_block .btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,#post .rbs_block .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group .dropdown-toggle:active,#post .rbs_block .btn-group.open .dropdown-toggle{outline:0}#post .rbs_block .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}#post .rbs_block .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}#post .rbs_block .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}#post .rbs_block .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .btn-lg .caret{border-width:5px 5px 0}#post .rbs_block .dropup .btn-lg .caret{border-width:0 5px 5px}#post .rbs_block .btn-group-vertical>.btn,#post .rbs_block .btn-group-vertical>.btn-group,#post .rbs_block .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}#post .rbs_block .btn-group-vertical>.btn-group>.btn{float:none}#post .rbs_block .btn-group-vertical>.btn+.btn,#post .rbs_block .btn-group-vertical>.btn+.btn-group,#post .rbs_block .btn-group-vertical>.btn-group+.btn,#post .rbs_block .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}#post .rbs_block .input-group-btn:last-child>.btn,#post .rbs_block .input-group-btn:last-child>.btn-group,#post .rbs_block .input-group-btn>.btn+.btn{margin-left:-1px}#post .rbs_block .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}#post .rbs_block .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}#post .rbs_block .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,#post .rbs_block .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}#post .rbs_block .btn-group-justified>.btn,#post .rbs_block .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}#post .rbs_block .btn-group-justified>.btn-group .btn{width:100%}#post .rbs_block .btn-group-justified>.btn-group .dropdown-menu{left:auto}#post .rbs_block [data-toggle=buttons]>.btn input[type=checkbox],#post .rbs_block [data-toggle=buttons]>.btn input[type=radio],#post .rbs_block [data-toggle=buttons]>.btn-group>.btn input[type=checkbox],#post .rbs_block [data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}#post .rbs_block .input-group{position:relative;display:table;border-collapse:separate}#post .rbs_block .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}#post .rbs_block .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}#post .rbs_block .input-group-lg>.form-control,#post .rbs_block .input-group-lg>.input-group-addon,#post .rbs_block .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.input-group-lg>.form-control,#post .rbs_block select.input-group-lg>.input-group-addon,#post .rbs_block select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}#post .rbs_block select[multiple].input-group-lg>.form-control,#post .rbs_block select[multiple].input-group-lg>.input-group-addon,#post .rbs_block select[multiple].input-group-lg>.input-group-btn>.btn,#post .rbs_block textarea.input-group-lg>.form-control,#post .rbs_block textarea.input-group-lg>.input-group-addon,#post .rbs_block textarea.input-group-lg>.input-group-btn>.btn{height:auto}#post .rbs_block .input-group-sm>.form-control,#post .rbs_block .input-group-sm>.input-group-addon,#post .rbs_block .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.input-group-sm>.form-control,#post .rbs_block select.input-group-sm>.input-group-addon,#post .rbs_block select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}#post .rbs_block select[multiple].input-group-sm>.form-control,#post .rbs_block select[multiple].input-group-sm>.input-group-addon,#post .rbs_block select[multiple].input-group-sm>.input-group-btn>.btn,#post .rbs_block textarea.input-group-sm>.form-control,#post .rbs_block textarea.input-group-sm>.input-group-addon,#post .rbs_block textarea.input-group-sm>.input-group-btn>.btn{height:auto}#post .rbs_block .input-group .form-control,#post .rbs_block .input-group-addon,#post .rbs_block .input-group-btn{display:table-cell}#post .rbs_block .nav>li,#post .rbs_block .nav>li>a{display:block;position:relative}#post .rbs_block .input-group .form-control:not(:first-child):not(:last-child),#post .rbs_block .input-group-addon:not(:first-child):not(:last-child),#post .rbs_block .input-group-btn:not(:first-child):not(:last-child){border-radius:0}#post .rbs_block .input-group-addon,#post .rbs_block .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}#post .rbs_block .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}#post .rbs_block .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}#post .rbs_block .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}#post .rbs_block .input-group-addon input[type=checkbox],#post .rbs_block .input-group-addon input[type=radio]{margin-top:0}#post .rbs_block .input-group .form-control:first-child,#post .rbs_block .input-group-addon:first-child,#post .rbs_block .input-group-btn:first-child>.btn,#post .rbs_block .input-group-btn:first-child>.btn-group>.btn,#post .rbs_block .input-group-btn:first-child>.dropdown-toggle,#post .rbs_block .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,#post .rbs_block .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .input-group-addon:first-child{border-right:0}#post .rbs_block .input-group .form-control:last-child,#post .rbs_block .input-group-addon:last-child,#post .rbs_block .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,#post .rbs_block .input-group-btn:first-child>.btn:not(:first-child),#post .rbs_block .input-group-btn:last-child>.btn,#post .rbs_block .input-group-btn:last-child>.btn-group>.btn,#post .rbs_block .input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .input-group-addon:last-child{border-left:0}#post .rbs_block .input-group-btn{position:relative;font-size:0;white-space:nowrap}#post .rbs_block .input-group-btn>.btn{position:relative}#post .rbs_block .input-group-btn:first-child>.btn,#post .rbs_block .input-group-btn:first-child>.btn-group{margin-right:-1px}#post .rbs_block .nav{padding-left:0;margin-bottom:0;list-style:none}#post .rbs_block .nav>li>a{padding:10px 15px}#post .rbs_block .nav>li>a:focus,#post .rbs_block .nav>li>a:hover{text-decoration:none;background-color:#eee}#post .rbs_block .nav>li.disabled>a{color:#777}#post .rbs_block .nav>li.disabled>a:focus,#post .rbs_block .nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}#post .rbs_block .nav .open>a,#post .rbs_block .nav .open>a:focus,#post .rbs_block .nav .open>a:hover{background-color:#eee;border-color:#337ab7}#post .rbs_block .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}#post .rbs_block .nav>li>a>img{max-width:none}#post .rbs_block .nav-tabs{border-bottom:1px solid #ddd}#post .rbs_block .nav-tabs>li{float:left;margin-bottom:-1px}#post .rbs_block .nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}#post .rbs_block .nav-tabs>li.active>a,#post .rbs_block .nav-tabs>li.active>a:focus,#post .rbs_block .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}#post .rbs_block .nav-tabs.nav-justified{width:100%;border-bottom:0}#post .rbs_block .nav-tabs.nav-justified>li{float:none}#post .rbs_block .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}#post .rbs_block .nav-tabs.nav-justified>.active>a,#post .rbs_block .nav-tabs.nav-justified>.active>a:focus,#post .rbs_block .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){#post .rbs_block .nav-tabs.nav-justified>li{display:table-cell;width:1%}#post .rbs_block .nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs.nav-justified>.active>a,#post .rbs_block .nav-tabs.nav-justified>.active>a:focus,#post .rbs_block .nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}#post .rbs_block .nav-pills>li{float:left}#post .rbs_block .nav-justified>li,#post .rbs_block .nav-stacked>li{float:none}#post .rbs_block .nav-pills>li>a{border-radius:4px}#post .rbs_block .nav-pills>li+li{margin-left:2px}#post .rbs_block .nav-pills>li.active>a,#post .rbs_block .nav-pills>li.active>a:focus,#post .rbs_block .nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}#post .rbs_block .nav-stacked>li+li{margin-top:2px;margin-left:0}#post .rbs_block .nav-justified{width:100%}#post .rbs_block .nav-justified>li>a{margin-bottom:5px;text-align:center}#post .rbs_block .nav-tabs-justified{border-bottom:0}#post .rbs_block .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}#post .rbs_block .nav-tabs-justified>.active>a,#post .rbs_block .nav-tabs-justified>.active>a:focus,#post .rbs_block .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){#post .rbs_block .nav-justified>li{display:table-cell;width:1%}#post .rbs_block .nav-justified>li>a{margin-bottom:0}#post .rbs_block .nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs-justified>.active>a,#post .rbs_block .nav-tabs-justified>.active>a:focus,#post .rbs_block .nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}#post .rbs_block .tab-content>.tab-pane{display:none}#post .rbs_block .tab-content>.active{display:block}#post .rbs_block .nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}#post .rbs_block .navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}#post .rbs_block .navbar-collapse.in{overflow-y:auto}#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse{max-height:200px}}#post .rbs_block .container-fluid>.navbar-collapse,#post .rbs_block .container-fluid>.navbar-header,#post .rbs_block .container>.navbar-collapse,#post .rbs_block .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){#post .rbs_block .navbar{border-radius:4px}#post .rbs_block .navbar-header{float:left}#post .rbs_block .navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}#post .rbs_block .navbar-collapse.in{overflow-y:visible}#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse,#post .rbs_block .navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}#post .rbs_block .container-fluid>.navbar-collapse,#post .rbs_block .container-fluid>.navbar-header,#post .rbs_block .container>.navbar-collapse,#post .rbs_block .container>.navbar-header{margin-right:0;margin-left:0}#post .rbs_block .navbar-static-top{border-radius:0}}#post .rbs_block .navbar-static-top{z-index:1000;border-width:0 0 1px}#post .rbs_block .navbar-fixed-bottom,#post .rbs_block .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}#post .rbs_block .navbar-fixed-top{top:0;border-width:0 0 1px}#post .rbs_block .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}#post .rbs_block .navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}#post .rbs_block .navbar-brand:focus,#post .rbs_block .navbar-brand:hover{text-decoration:none}#post .rbs_block .navbar-brand>img{display:block}@media (min-width:768px){#post .rbs_block .navbar-fixed-bottom,#post .rbs_block .navbar-fixed-top{border-radius:0}#post .rbs_block .navbar>.container .navbar-brand,#post .rbs_block .navbar>.container-fluid .navbar-brand{margin-left:-15px}}#post .rbs_block .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}#post .rbs_block .navbar-toggle:focus{outline:0}#post .rbs_block .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}#post .rbs_block .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}#post .rbs_block .navbar-nav{margin:7.5px -15px}#post .rbs_block .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){#post .rbs_block .navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .navbar-nav .open .dropdown-menu .dropdown-header,#post .rbs_block .navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}#post .rbs_block .navbar-nav .open .dropdown-menu>li>a{line-height:20px}#post .rbs_block .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}#post .rbs_block .progress-bar-striped,#post .rbs_block .progress-striped .progress-bar,#post .rbs_block .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}@media (min-width:768px){#post .rbs_block .navbar-toggle{display:none}#post .rbs_block .navbar-nav{float:left;margin:0}#post .rbs_block .navbar-nav>li{float:left}#post .rbs_block .navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}#post .rbs_block .navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (min-width:768px){#post .rbs_block .navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}#post .rbs_block .navbar-form .form-control-static{display:inline-block}#post .rbs_block .navbar-form .input-group{display:inline-table;vertical-align:middle}#post .rbs_block .navbar-form .input-group .form-control,#post .rbs_block .navbar-form .input-group .input-group-addon,#post .rbs_block .navbar-form .input-group .input-group-btn{width:auto}#post .rbs_block .navbar-form .input-group>.form-control{width:100%}#post .rbs_block .navbar-form .control-label{margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .checkbox,#post .rbs_block .navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .checkbox label,#post .rbs_block .navbar-form .radio label{padding-left:0}#post .rbs_block .navbar-form .checkbox input[type=checkbox],#post .rbs_block .navbar-form .radio input[type=radio]{position:relative;margin-left:0}#post .rbs_block .navbar-form .has-feedback .form-control-feedback{top:0}#post .rbs_block .navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}#post .rbs_block .btn .badge,#post .rbs_block .btn .label{top:-1px;position:relative}@media (max-width:767px){#post .rbs_block .navbar-form .form-group{margin-bottom:5px}#post .rbs_block .navbar-form .form-group:last-child{margin-bottom:0}}#post .rbs_block .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}#post .rbs_block .navbar-btn{margin-top:8px;margin-bottom:8px}#post .rbs_block .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}#post .rbs_block .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}#post .rbs_block .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){#post .rbs_block .navbar-text{float:left;margin-right:15px;margin-left:15px}#post .rbs_block .navbar-left{float:left!important}#post .rbs_block .navbar-right{float:right!important;margin-right:-15px}#post .rbs_block .navbar-right~.navbar-right{margin-right:0}}#post .rbs_block .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-brand{color:#777}#post .rbs_block .navbar-default .navbar-brand:focus,#post .rbs_block .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav>li>a,#post .rbs_block .navbar-default .navbar-text{color:#777}#post .rbs_block .navbar-default .navbar-nav>li>a:focus,#post .rbs_block .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav>.active>a,#post .rbs_block .navbar-default .navbar-nav>.active>a:focus,#post .rbs_block .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav>.disabled>a,#post .rbs_block .navbar-default .navbar-nav>.disabled>a:focus,#post .rbs_block .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}#post .rbs_block .navbar-default .navbar-toggle{border-color:#ddd}#post .rbs_block .navbar-default .navbar-toggle:focus,#post .rbs_block .navbar-default .navbar-toggle:hover{background-color:#ddd}#post .rbs_block .navbar-default .navbar-toggle .icon-bar{background-color:#888}#post .rbs_block .navbar-default .navbar-collapse,#post .rbs_block .navbar-default .navbar-form{border-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav>.open>a,#post .rbs_block .navbar-default .navbar-nav>.open>a:focus,#post .rbs_block .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}#post .rbs_block .navbar-default .navbar-link{color:#777}#post .rbs_block .navbar-default .navbar-link:hover{color:#333}#post .rbs_block .navbar-default .btn-link{color:#777}#post .rbs_block .navbar-default .btn-link:focus,#post .rbs_block .navbar-default .btn-link:hover{color:#333}#post .rbs_block .navbar-default .btn-link[disabled]:focus,#post .rbs_block .navbar-default .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .navbar-default .btn-link:focus,#post .rbs_block fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}#post .rbs_block .navbar-inverse{background-color:#222;border-color:#080808}#post .rbs_block .navbar-inverse .navbar-brand{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-brand:focus,#post .rbs_block .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav>li>a,#post .rbs_block .navbar-inverse .navbar-text{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-nav>li>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav>.active>a,#post .rbs_block .navbar-inverse .navbar-nav>.active>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a,#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-toggle{border-color:#333}#post .rbs_block .navbar-inverse .navbar-toggle:focus,#post .rbs_block .navbar-inverse .navbar-toggle:hover{background-color:#333}#post .rbs_block .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}#post .rbs_block .navbar-inverse .navbar-collapse,#post .rbs_block .navbar-inverse .navbar-form{border-color:#101010}#post .rbs_block .navbar-inverse .navbar-nav>.open>a,#post .rbs_block .navbar-inverse .navbar-nav>.open>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}#post .rbs_block .navbar-inverse .navbar-link{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-link:hover{color:#fff}#post .rbs_block .navbar-inverse .btn-link{color:#9d9d9d}#post .rbs_block .navbar-inverse .btn-link:focus,#post .rbs_block .navbar-inverse .btn-link:hover{color:#fff}#post .rbs_block .navbar-inverse .btn-link[disabled]:focus,#post .rbs_block .navbar-inverse .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .navbar-inverse .btn-link:focus,#post .rbs_block fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}#post .rbs_block .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}#post .rbs_block .breadcrumb>li{display:inline-block}#post .rbs_block .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}#post .rbs_block .breadcrumb>.active{color:#777}#post .rbs_block .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}#post .rbs_block .pager li,#post .rbs_block .pagination>li{display:inline}#post .rbs_block .pagination>li>a,#post .rbs_block .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}#post .rbs_block .badge,#post .rbs_block .label{font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline;text-align:center}#post .rbs_block .pagination>li:first-child>a,#post .rbs_block .pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#post .rbs_block .pagination>li:last-child>a,#post .rbs_block .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}#post .rbs_block .pagination>li>a:focus,#post .rbs_block .pagination>li>a:hover,#post .rbs_block .pagination>li>span:focus,#post .rbs_block .pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}#post .rbs_block .pagination>.active>a,#post .rbs_block .pagination>.active>a:focus,#post .rbs_block .pagination>.active>a:hover,#post .rbs_block .pagination>.active>span,#post .rbs_block .pagination>.active>span:focus,#post .rbs_block .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .pagination>.disabled>a,#post .rbs_block .pagination>.disabled>a:focus,#post .rbs_block .pagination>.disabled>a:hover,#post .rbs_block .pagination>.disabled>span,#post .rbs_block .pagination>.disabled>span:focus,#post .rbs_block .pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}#post .rbs_block .pagination-lg>li>a,#post .rbs_block .pagination-lg>li>span{padding:10px 16px;font-size:18px}#post .rbs_block .pagination-lg>li:first-child>a,#post .rbs_block .pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}#post .rbs_block .pagination-lg>li:last-child>a,#post .rbs_block .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}#post .rbs_block .pagination-sm>li>a,#post .rbs_block .pagination-sm>li>span{padding:5px 10px;font-size:12px}#post .rbs_block .pagination-sm>li:first-child>a,#post .rbs_block .pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .pagination-sm>li:last-child>a,#post .rbs_block .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}#post .rbs_block .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}#post .rbs_block .pager li>a,#post .rbs_block .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}#post .rbs_block .pager li>a:focus,#post .rbs_block .pager li>a:hover{text-decoration:none;background-color:#eee}#post .rbs_block .pager .next>a,#post .rbs_block .pager .next>span{float:right}#post .rbs_block .pager .previous>a,#post .rbs_block .pager .previous>span{float:left}#post .rbs_block .pager .disabled>a,#post .rbs_block .pager .disabled>a:focus,#post .rbs_block .pager .disabled>a:hover,#post .rbs_block .pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}#post .rbs_block a.badge:focus,#post .rbs_block a.badge:hover,#post .rbs_block a.label:focus,#post .rbs_block a.label:hover{color:#fff;cursor:pointer;text-decoration:none}#post .rbs_block .label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}#post .rbs_block .label:empty{display:none}#post .rbs_block .label-default{background-color:#777}#post .rbs_block .label-default[href]:focus,#post .rbs_block .label-default[href]:hover{background-color:#5e5e5e}#post .rbs_block .label-primary{background-color:#337ab7}#post .rbs_block .label-primary[href]:focus,#post .rbs_block .label-primary[href]:hover{background-color:#286090}#post .rbs_block .label-success{background-color:#5cb85c}#post .rbs_block .label-success[href]:focus,#post .rbs_block .label-success[href]:hover{background-color:#449d44}#post .rbs_block .label-info{background-color:#5bc0de}#post .rbs_block .label-info[href]:focus,#post .rbs_block .label-info[href]:hover{background-color:#31b0d5}#post .rbs_block .label-warning{background-color:#f0ad4e}#post .rbs_block .label-warning[href]:focus,#post .rbs_block .label-warning[href]:hover{background-color:#ec971f}#post .rbs_block .label-danger{background-color:#d9534f}#post .rbs_block .label-danger[href]:focus,#post .rbs_block .label-danger[href]:hover{background-color:#c9302c}#post .rbs_block .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;background-color:#777;border-radius:10px}#post .rbs_block .badge:empty{display:none}#post .rbs_block .btn-group-xs>.btn .badge,#post .rbs_block .btn-xs .badge{top:0;padding:1px 5px}#post .rbs_block .list-group-item.active>.badge,#post .rbs_block .nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}#post .rbs_block .list-group-item>.badge{float:right}#post .rbs_block .list-group-item>.badge+.badge{margin-right:5px}#post .rbs_block .nav-pills>li>a>.badge{margin-left:3px}#post .rbs_block .jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}#post .rbs_block .jumbotron .h1,#post .rbs_block .jumbotron h1{color:inherit}#post .rbs_block .jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}#post .rbs_block .jumbotron>hr{border-top-color:#d5d5d5}#post .rbs_block .container .jumbotron,#post .rbs_block .container-fluid .jumbotron{border-radius:6px}#post .rbs_block .jumbotron .container{max-width:100%}@media screen and (min-width:768px){#post .rbs_block .jumbotron{padding:48px 0}#post .rbs_block .container .jumbotron,#post .rbs_block .container-fluid .jumbotron{padding-right:60px;padding-left:60px}#post .rbs_block .jumbotron .h1,#post .rbs_block .jumbotron h1{font-size:63px}}#post .rbs_block .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}#post .rbs_block .thumbnail a>img,#post .rbs_block .thumbnail>img{margin-right:auto;margin-left:auto}#post .rbs_block a.thumbnail.active,#post .rbs_block a.thumbnail:focus,#post .rbs_block a.thumbnail:hover{border-color:#337ab7}#post .rbs_block .thumbnail .caption{padding:9px;color:#333}#post .rbs_block .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}#post .rbs_block .alert h4{margin-top:0;color:inherit}#post .rbs_block .alert .alert-link{font-weight:700}#post .rbs_block .alert>p,#post .rbs_block .alert>ul{margin-bottom:0}#post .rbs_block .alert>p+p{margin-top:5px}#post .rbs_block .alert-dismissable,#post .rbs_block .alert-dismissible{padding-right:35px}#post .rbs_block .alert-dismissable .close,#post .rbs_block .alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}#post .rbs_block .alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}#post .rbs_block .alert-success hr{border-top-color:#c9e2b3}#post .rbs_block .alert-success .alert-link{color:#2b542c}#post .rbs_block .alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}#post .rbs_block .alert-info hr{border-top-color:#a6e1ec}#post .rbs_block .alert-info .alert-link{color:#245269}#post .rbs_block .alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}#post .rbs_block .alert-warning hr{border-top-color:#f7e1b5}#post .rbs_block .alert-warning .alert-link{color:#66512c}#post .rbs_block .alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}#post .rbs_block .alert-danger hr{border-top-color:#e4b9c0}#post .rbs_block .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}}#post .rbs_block .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}#post .rbs_block .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,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}#post .rbs_block .progress-bar-striped,#post .rbs_block .progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}#post .rbs_block .progress-bar.active,#post .rbs_block .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}#post .rbs_block .progress-bar-success{background-color:#5cb85c}#post .rbs_block .progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-striped .progress-bar-info,#post .rbs_block .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-info{background-color:#5bc0de}#post .rbs_block .progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-warning{background-color:#f0ad4e}#post .rbs_block .progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-danger{background-color:#d9534f}#post .rbs_block .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .media{margin-top:15px}#post .rbs_block .media:first-child{margin-top:0}#post .rbs_block .media,#post .rbs_block .media-body{overflow:hidden;zoom:1}#post .rbs_block .media-body{width:10000px}#post .rbs_block .media-object{display:block}#post .rbs_block .media-right,#post .rbs_block .media>.pull-right{padding-left:10px}#post .rbs_block .media-left,#post .rbs_block .media>.pull-left{padding-right:10px}#post .rbs_block .media-body,#post .rbs_block .media-left,#post .rbs_block .media-right{display:table-cell;vertical-align:top}#post .rbs_block .media-middle{vertical-align:middle}#post .rbs_block .media-bottom{vertical-align:bottom}#post .rbs_block .media-heading{margin-top:0;margin-bottom:5px}#post .rbs_block .media-list{padding-left:0;list-style:none}#post .rbs_block .list-group{padding-left:0;margin-bottom:20px}#post .rbs_block .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}#post .rbs_block .list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}#post .rbs_block .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}#post .rbs_block a.list-group-item{color:#555}#post .rbs_block a.list-group-item .list-group-item-heading{color:#333}#post .rbs_block a.list-group-item:focus,#post .rbs_block a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}#post .rbs_block .list-group-item.disabled,#post .rbs_block .list-group-item.disabled:focus,#post .rbs_block .list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}#post .rbs_block .list-group-item.disabled .list-group-item-heading,#post .rbs_block .list-group-item.disabled:focus .list-group-item-heading,#post .rbs_block .list-group-item.disabled:hover .list-group-item-heading{color:inherit}#post .rbs_block .list-group-item.disabled .list-group-item-text,#post .rbs_block .list-group-item.disabled:focus .list-group-item-text,#post .rbs_block .list-group-item.disabled:hover .list-group-item-text{color:#777}#post .rbs_block .list-group-item.active,#post .rbs_block .list-group-item.active:focus,#post .rbs_block .list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .list-group-item.active .list-group-item-heading,#post .rbs_block .list-group-item.active .list-group-item-heading>.small,#post .rbs_block .list-group-item.active .list-group-item-heading>small,#post .rbs_block .list-group-item.active:focus .list-group-item-heading,#post .rbs_block .list-group-item.active:focus .list-group-item-heading>.small,#post .rbs_block .list-group-item.active:focus .list-group-item-heading>small,#post .rbs_block .list-group-item.active:hover .list-group-item-heading,#post .rbs_block .list-group-item.active:hover .list-group-item-heading>.small,#post .rbs_block .list-group-item.active:hover .list-group-item-heading>small{color:inherit}#post .rbs_block .list-group-item.active .list-group-item-text,#post .rbs_block .list-group-item.active:focus .list-group-item-text,#post .rbs_block .list-group-item.active:hover .list-group-item-text{color:#c7ddef}#post .rbs_block .list-group-item-success{color:#3c763d;background-color:#dff0d8}#post .rbs_block a.list-group-item-success{color:#3c763d}#post .rbs_block a.list-group-item-success .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-success:focus,#post .rbs_block a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}#post .rbs_block a.list-group-item-success.active,#post .rbs_block a.list-group-item-success.active:focus,#post .rbs_block a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}#post .rbs_block .list-group-item-info{color:#31708f;background-color:#d9edf7}#post .rbs_block a.list-group-item-info{color:#31708f}#post .rbs_block a.list-group-item-info .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-info:focus,#post .rbs_block a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}#post .rbs_block a.list-group-item-info.active,#post .rbs_block a.list-group-item-info.active:focus,#post .rbs_block a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}#post .rbs_block .list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}#post .rbs_block a.list-group-item-warning{color:#8a6d3b}#post .rbs_block a.list-group-item-warning .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-warning:focus,#post .rbs_block a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}#post .rbs_block a.list-group-item-warning.active,#post .rbs_block a.list-group-item-warning.active:focus,#post .rbs_block a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}#post .rbs_block .list-group-item-danger{color:#a94442;background-color:#f2dede}#post .rbs_block a.list-group-item-danger{color:#a94442}#post .rbs_block a.list-group-item-danger .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-danger:focus,#post .rbs_block a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}#post .rbs_block a.list-group-item-danger.active,#post .rbs_block a.list-group-item-danger.active:focus,#post .rbs_block a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}#post .rbs_block .panel-heading>.dropdown .dropdown-toggle,#post .rbs_block .panel-title>.small,#post .rbs_block .panel-title>.small>a,#post .rbs_block .panel-title>a,#post .rbs_block .panel-title>small,#post .rbs_block .panel-title>small>a{color:inherit}#post .rbs_block .list-group-item-heading{margin-top:0;margin-bottom:5px}#post .rbs_block .list-group-item-text{margin-bottom:0;line-height:1.3}#post .rbs_block .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}#post .rbs_block .panel-title,#post .rbs_block .panel>.list-group,#post .rbs_block .panel>.panel-collapse>.list-group,#post .rbs_block .panel>.panel-collapse>.table,#post .rbs_block .panel>.table,#post .rbs_block .panel>.table-responsive>.table{margin-bottom:0}#post .rbs_block .panel-body{padding:15px}#post .rbs_block .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel-title{margin-top:0;font-size:16px;color:inherit}#post .rbs_block .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .panel>.list-group .list-group-item,#post .rbs_block .panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}#post .rbs_block .panel-group .panel-heading,#post .rbs_block .panel>.table-bordered>tbody>tr:first-child>td,#post .rbs_block .panel>.table-bordered>tbody>tr:first-child>th,#post .rbs_block .panel>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .panel>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .panel>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .panel>.table-bordered>tfoot>tr:last-child>th,#post .rbs_block .panel>.table-bordered>thead>tr:first-child>td,#post .rbs_block .panel>.table-bordered>thead>tr:first-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr:first-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}#post .rbs_block .panel>.list-group:first-child .list-group-item:first-child,#post .rbs_block .panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel>.list-group:last-child .list-group-item:last-child,#post .rbs_block .panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .list-group+.panel-footer,#post .rbs_block .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}#post .rbs_block .panel>.panel-collapse>.table caption,#post .rbs_block .panel>.table caption,#post .rbs_block .panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,#post .rbs_block .panel>.table:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,#post .rbs_block .panel>.table:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}#post .rbs_block .panel>.panel-body+.table,#post .rbs_block .panel>.panel-body+.table-responsive,#post .rbs_block .panel>.table+.panel-body,#post .rbs_block .panel>.table-responsive+.panel-body{border-top:1px solid #ddd}#post .rbs_block .panel>.table>tbody:first-child>tr:first-child td,#post .rbs_block .panel>.table>tbody:first-child>tr:first-child th{border-top:0}#post .rbs_block .panel>.table-bordered,#post .rbs_block .panel>.table-responsive>.table-bordered{border:0}#post .rbs_block .panel>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .panel>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .panel>.table-bordered>thead>tr>td:first-child,#post .rbs_block .panel>.table-bordered>thead>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}#post .rbs_block .panel>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .panel>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .panel>.table-bordered>thead>tr>td:last-child,#post .rbs_block .panel>.table-bordered>thead>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}#post .rbs_block .panel>.table-responsive{margin-bottom:0;border:0}#post .rbs_block .panel-group{margin-bottom:20px}#post .rbs_block .panel-group .panel{margin-bottom:0;border-radius:4px}#post .rbs_block .panel-group .panel+.panel{margin-top:5px}#post .rbs_block .panel-group .panel-heading+.panel-collapse>.list-group,#post .rbs_block .panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}#post .rbs_block .panel-group .panel-footer{border-top:0}#post .rbs_block .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}#post .rbs_block .panel-default{border-color:#ddd}#post .rbs_block .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}#post .rbs_block .panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}#post .rbs_block .panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}#post .rbs_block .panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}#post .rbs_block .panel-primary{border-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}#post .rbs_block .panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}#post .rbs_block .panel-success{border-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}#post .rbs_block .panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}#post .rbs_block .panel-info{border-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}#post .rbs_block .panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}#post .rbs_block .panel-warning{border-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}#post .rbs_block .panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}#post .rbs_block .panel-danger{border-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}#post .rbs_block .panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}#post .rbs_block .embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}#post .rbs_block .embed-responsive .embed-responsive-item,#post .rbs_block .embed-responsive embed,#post .rbs_block .embed-responsive iframe,#post .rbs_block .embed-responsive object,#post .rbs_block .embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}#post .rbs_block .embed-responsive-16by9{padding-bottom:56.25%}#post .rbs_block .embed-responsive-4by3{padding-bottom:75%}#post .rbs_block .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}#post .rbs_block .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}#post .rbs_block .well-lg{padding:24px;border-radius:6px}#post .rbs_block .well-sm{padding:9px;border-radius:3px}#post .rbs_block .close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}#post .rbs_block .popover,#post .rbs_block .tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}#post .rbs_block .close:focus,#post .rbs_block .close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}#post .rbs_block button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}#post .rbs_block .modal-open{overflow:hidden}#post .rbs_block .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}#post .rbs_block .modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}#post .rbs_block .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}#post .rbs_block .modal-open .modal{overflow-x:hidden;overflow-y:auto}#post .rbs_block .modal-dialog{position:relative;width:auto;margin:10px}#post .rbs_block .modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}#post .rbs_block .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}#post .rbs_block .modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}#post .rbs_block .modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}#post .rbs_block .modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}#post .rbs_block .modal-header .close{margin-top:-2px}#post .rbs_block .modal-title{margin:0;line-height:1.42857143}#post .rbs_block .modal-body{position:relative;padding:15px}#post .rbs_block .modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}#post .rbs_block .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}#post .rbs_block .modal-footer .btn-group .btn+.btn{margin-left:-1px}#post .rbs_block .modal-footer .btn-block+.btn-block{margin-left:0}#post .rbs_block .modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){#post .rbs_block .modal-dialog{width:600px;margin:30px auto}#post .rbs_block .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}#post .rbs_block .modal-sm{width:300px}}@media (min-width:992px){#post .rbs_block .modal-lg{width:900px}}#post .rbs_block .tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;filter:alpha(opacity=0);opacity:0}#post .rbs_block .tooltip.in{filter:alpha(opacity=90);opacity:.9}#post .rbs_block .tooltip.top{padding:5px 0;margin-top:-3px}#post .rbs_block .tooltip.right{padding:0 5px;margin-left:3px}#post .rbs_block .tooltip.bottom{padding:5px 0;margin-top:3px}#post .rbs_block .tooltip.left{padding:0 5px;margin-left:-3px}#post .rbs_block .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}#post .rbs_block .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}#post .rbs_block .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}#post .rbs_block .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}#post .rbs_block .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-size:14px;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}#post .rbs_block .popover.top{margin-top:-10px}#post .rbs_block .popover.right{margin-left:10px}#post .rbs_block .popover.bottom{margin-top:10px}#post .rbs_block .popover.left{margin-left:-10px}#post .rbs_block .popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}#post .rbs_block .popover-content{padding:9px 14px}#post .rbs_block .popover>.arrow,#post .rbs_block .popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}#post .rbs_block .popover>.arrow{border-width:11px}#post .rbs_block .popover>.arrow:after{content:"";border-width:10px}#post .rbs_block .popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}#post .rbs_block .popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}#post .rbs_block .popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}#post .rbs_block .popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}#post .rbs_block .popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}#post .rbs_block .popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}#post .rbs_block .popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}#post .rbs_block .popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}#post .rbs_block .carousel{position:relative}#post .rbs_block .carousel-inner{position:relative;width:100%;overflow:hidden}#post .rbs_block .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}#post .rbs_block .carousel-inner>.item>a>img,#post .rbs_block .carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){#post .rbs_block .carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}#post .rbs_block .carousel-inner>.item.active.right,#post .rbs_block .carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}#post .rbs_block .carousel-inner>.item.active.left,#post .rbs_block .carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}#post .rbs_block .carousel-inner>.item.active,#post .rbs_block .carousel-inner>.item.next.left,#post .rbs_block .carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}#post .rbs_block .carousel-inner>.active,#post .rbs_block .carousel-inner>.next,#post .rbs_block .carousel-inner>.prev{display:block}#post .rbs_block .carousel-inner>.active{left:0}#post .rbs_block .carousel-inner>.next,#post .rbs_block .carousel-inner>.prev{position:absolute;top:0;width:100%}#post .rbs_block .carousel-inner>.next{left:100%}#post .rbs_block .carousel-inner>.prev{left:-100%}#post .rbs_block .carousel-inner>.next.left,#post .rbs_block .carousel-inner>.prev.right{left:0}#post .rbs_block .carousel-inner>.active.left{left:-100%}#post .rbs_block .carousel-inner>.active.right{left:100%}#post .rbs_block .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}#post .rbs_block .carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}#post .rbs_block .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}#post .rbs_block .carousel-control:focus,#post .rbs_block .carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .icon-prev{left:50%;margin-left:-10px}#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next{right:50%;margin-right:-10px}#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}#post .rbs_block .carousel-control .icon-prev:before{content:'\2039'}#post .rbs_block .carousel-control .icon-next:before{content:'\203a'}#post .rbs_block .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}#post .rbs_block .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}#post .rbs_block .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}#post .rbs_block .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}#post .rbs_block .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .icon-prev{margin-left:-15px}#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next{margin-right:-15px}#post .rbs_block .carousel-caption{right:20%;left:20%;padding-bottom:30px}#post .rbs_block .carousel-indicators{bottom:20px}}#post .rbs_block .btn-group-vertical>.btn-group:after,#post .rbs_block .btn-group-vertical>.btn-group:before,#post .rbs_block .btn-toolbar:after,#post .rbs_block .btn-toolbar:before,#post .rbs_block .clearfix:after,#post .rbs_block .clearfix:before,#post .rbs_block .container-fluid:after,#post .rbs_block .container-fluid:before,#post .rbs_block .container:after,#post .rbs_block .container:before,#post .rbs_block .dl-horizontal dd:after,#post .rbs_block .dl-horizontal dd:before,#post .rbs_block .form-horizontal .form-group:after,#post .rbs_block .form-horizontal .form-group:before,#post .rbs_block .modal-footer:after,#post .rbs_block .modal-footer:before,#post .rbs_block .nav:after,#post .rbs_block .nav:before,#post .rbs_block .navbar-collapse:after,#post .rbs_block .navbar-collapse:before,#post .rbs_block .navbar-header:after,#post .rbs_block .navbar-header:before,#post .rbs_block .navbar:after,#post .rbs_block .navbar:before,#post .rbs_block .pager:after,#post .rbs_block .pager:before,#post .rbs_block .panel-body:after,#post .rbs_block .panel-body:before,#post .rbs_block .row:after,#post .rbs_block .row:before{display:table;content:" "}#post .rbs_block .btn-group-vertical>.btn-group:after,#post .rbs_block .btn-toolbar:after,#post .rbs_block .clearfix:after,#post .rbs_block .container-fluid:after,#post .rbs_block .container:after,#post .rbs_block .dl-horizontal dd:after,#post .rbs_block .form-horizontal .form-group:after,#post .rbs_block .modal-footer:after,#post .rbs_block .nav:after,#post .rbs_block .navbar-collapse:after,#post .rbs_block .navbar-header:after,#post .rbs_block .navbar:after,#post .rbs_block .pager:after,#post .rbs_block .panel-body:after,#post .rbs_block .row:after{clear:both}#post .rbs_block .center-block{display:block;margin-right:auto;margin-left:auto}#post .rbs_block .pull-right{float:right!important}#post .rbs_block .pull-left{float:left!important}#post .rbs_block .hide{display:none!important}#post .rbs_block .show{display:block!important}#post .rbs_block .hidden,#post .rbs_block .visible-lg,#post .rbs_block .visible-lg-block,#post .rbs_block .visible-lg-inline,#post .rbs_block .visible-lg-inline-block,#post .rbs_block .visible-md,#post .rbs_block .visible-md-block,#post .rbs_block .visible-md-inline,#post .rbs_block .visible-md-inline-block,#post .rbs_block .visible-sm,#post .rbs_block .visible-sm-block,#post .rbs_block .visible-sm-inline,#post .rbs_block .visible-sm-inline-block,#post .rbs_block .visible-xs,#post .rbs_block .visible-xs-block,#post .rbs_block .visible-xs-inline,#post .rbs_block .visible-xs-inline-block{display:none!important}#post .rbs_block .invisible{visibility:hidden}#post .rbs_block .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}#post .rbs_block .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){#post .rbs_block .visible-xs{display:block!important}#post .rbs_block table.visible-xs{display:table}#post .rbs_block tr.visible-xs{display:table-row!important}#post .rbs_block td.visible-xs,#post .rbs_block th.visible-xs{display:table-cell!important}#post .rbs_block .visible-xs-block{display:block!important}#post .rbs_block .visible-xs-inline{display:inline!important}#post .rbs_block .visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){#post .rbs_block .visible-sm{display:block!important}#post .rbs_block table.visible-sm{display:table}#post .rbs_block tr.visible-sm{display:table-row!important}#post .rbs_block td.visible-sm,#post .rbs_block th.visible-sm{display:table-cell!important}#post .rbs_block .visible-sm-block{display:block!important}#post .rbs_block .visible-sm-inline{display:inline!important}#post .rbs_block .visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){#post .rbs_block .visible-md{display:block!important}#post .rbs_block table.visible-md{display:table}#post .rbs_block tr.visible-md{display:table-row!important}#post .rbs_block td.visible-md,#post .rbs_block th.visible-md{display:table-cell!important}#post .rbs_block .visible-md-block{display:block!important}#post .rbs_block .visible-md-inline{display:inline!important}#post .rbs_block .visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){#post .rbs_block .visible-lg{display:block!important}#post .rbs_block table.visible-lg{display:table}#post .rbs_block tr.visible-lg{display:table-row!important}#post .rbs_block td.visible-lg,#post .rbs_block th.visible-lg{display:table-cell!important}#post .rbs_block .visible-lg-block{display:block!important}#post .rbs_block .visible-lg-inline{display:inline!important}#post .rbs_block .visible-lg-inline-block{display:inline-block!important}#post .rbs_block .hidden-lg{display:none!important}}@media (max-width:767px){#post .rbs_block .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){#post .rbs_block .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){#post .rbs_block .hidden-md{display:none!important}}#post .rbs_block .visible-print{display:none!important}@media print{#post .rbs_block .visible-print{display:block!important}#post .rbs_block table.visible-print{display:table}#post .rbs_block tr.visible-print{display:table-row!important}#post .rbs_block td.visible-print,#post .rbs_block th.visible-print{display:table-cell!important}}#post .rbs_block .visible-print-block{display:none!important}@media print{#post .rbs_block .visible-print-block{display:block!important}}#post .rbs_block .visible-print-inline{display:none!important}@media print{#post .rbs_block .visible-print-inline{display:inline!important}}#post .rbs_block .visible-print-inline-block{display:none!important}@media print{#post .rbs_block .visible-print-inline-block{display:inline-block!important}#post .rbs_block .hidden-print{display:none!important}}#post .rbs_block select.form-control{width:auto}@media (min-width:767px){#post .rbs_block select.form-control{width:auto;display:inline-block}.selectwidthauto{width:auto!important;display:inline-block}}
6
- #post .rbs_block select {-webkit-appearance: menulist;}
3
  * Copyright 2011-2015 Twitter, Inc.
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
  */#post .rbs_block .text-left,#post .rbs_block th{text-align:left}#post .rbs_block .btn-group>.btn-group,#post .rbs_block .btn-toolbar .btn-group,#post .rbs_block .btn-toolbar .input-group,#post .rbs_block .col-xs-1,#post .rbs_block .col-xs-10,#post .rbs_block .col-xs-11,#post .rbs_block .col-xs-12,#post .rbs_block .col-xs-2,#post .rbs_block .col-xs-3,#post .rbs_block .col-xs-4,#post .rbs_block .col-xs-5,#post .rbs_block .col-xs-6,#post .rbs_block .col-xs-7,#post .rbs_block .col-xs-8,#post .rbs_block .col-xs-9,#post .rbs_block .dropdown-menu{float:left}html #post .rbs_block{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body #post .rbs_block{margin:0}#post .rbs_block article,#post .rbs_block aside,#post .rbs_block details,#post .rbs_block figcaption,#post .rbs_block figure,#post .rbs_block footer,#post .rbs_block header,#post .rbs_block hgroup,#post .rbs_block main,#post .rbs_block menu,#post .rbs_block nav,#post .rbs_block section,#post .rbs_block summary{display:block}#post .rbs_block audio,#post .rbs_block canvas,#post .rbs_block progress,#post .rbs_block video{display:inline-block;vertical-align:baseline}#post .rbs_block audio:not([controls]){display:none;height:0}#post .rbs_block [hidden],#post .rbs_block template{display:none}#post .rbs_block a{background-color:transparent}#post .rbs_block .nav-tabs a:active,#post .rbs_block .nav-tabs a:focus,#post .rbs_block .nav-tabs a:hover{outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#post .rbs_block b,#post .rbs_block strong{font-weight:700}#post .rbs_block dfn{font-style:italic}#post .rbs_block h1{margin:.67em 0}#post .rbs_block mark{color:#000;background:#ff0}#post .rbs_block sub,#post .rbs_block sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}#post .rbs_block sup{top:-.5em}#post .rbs_block sub{bottom:-.25em}#post .rbs_block img{border:0;vertical-align:middle}#post .rbs_block svg:not(:root){overflow:hidden}#post .rbs_block hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}#post .rbs_block pre{overflow:auto}#post .rbs_block code,#post .rbs_block kbd,#post .rbs_block pre,#post .rbs_block samp{font-size:1em}#post .rbs_block button,#post .rbs_block input,#post .rbs_block optgroup,#post .rbs_block select,#post .rbs_block textarea{margin:0;font:inherit;color:inherit}#post .rbs_block button{overflow:visible}#post .rbs_block button,#post .rbs_block select{text-transform:none}#post .rbs_block button,#post .rbs_block input[type=reset],#post .rbs_block input[type=submit],html #post .rbs_block input[type=button]{-webkit-appearance:button;cursor:pointer}#post .rbs_block button[disabled],html #post .rbs_block input[disabled]{cursor:not-allowed}#post .rbs_block button::-moz-focus-inner,#post .rbs_block input::-moz-focus-inner{padding:0;border:0}#post .rbs_block input[type=checkbox],#post .rbs_block input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}#post .rbs_block input[type=number]::-webkit-inner-spin-button,#post .rbs_block input[type=number]::-webkit-outer-spin-button{height:auto}#post .rbs_block input[type=search]::-webkit-search-cancel-button,#post .rbs_block input[type=search]::-webkit-search-decoration{-webkit-appearance:none}#post .rbs_block textarea{overflow:auto}#post .rbs_block optgroup{font-weight:700}#post .rbs_block table{border-spacing:0;border-collapse:collapse}#post .rbs_block td,#post .rbs_block th{padding:0}@media print{#post .rbs_block *,#post .rbs_block :after,#post .rbs_block :before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#post .rbs_block a,#post .rbs_block a:visited{text-decoration:underline}#post .rbs_block a[href]:after{content:" (" attr(href) ")"}#post .rbs_block abbr[title]:after{content:" (" attr(title) ")"}#post .rbs_block a[href^="javascript:"]:after,#post .rbs_block a[href^="#"]:after{content:""}#post .rbs_block blockquote,#post .rbs_block pre{border:1px solid #999;page-break-inside:avoid}#post .rbs_block thead{display:table-header-group}#post .rbs_block img,#post .rbs_block tr{page-break-inside:avoid}#post .rbs_block img{max-width:100%!important}#post .rbs_block h2,#post .rbs_block h3,#post .rbs_block p{orphans:3;widows:3}#post .rbs_block h2,#post .rbs_block h3{page-break-after:avoid}#post .rbs_block select{background:#fff!important}#post .rbs_block .navbar{display:none}#post .rbs_block .btn>.caret,#post .rbs_block .dropup>.btn>.caret{border-top-color:#000!important}#post .rbs_block .label{border:1px solid #000}#post .rbs_block .table{border-collapse:collapse!important}#post .rbs_block .table td,#post .rbs_block .table th{background-color:#fff!important}#post .rbs_block .table-bordered td,#post .rbs_block .table-bordered th{border:1px solid #ddd!important}}@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.woff2) format('woff2'),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')}#post .rbs_block .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post .rbs_block .glyphicon-asterisk:before{content:"\2a"}#post .rbs_block .glyphicon-plus:before{content:"\2b"}#post .rbs_block .glyphicon-eur:before,#post .rbs_block .glyphicon-euro:before{content:"\20ac"}#post .rbs_block .glyphicon-minus:before{content:"\2212"}#post .rbs_block .glyphicon-cloud:before{content:"\2601"}#post .rbs_block .glyphicon-envelope:before{content:"\2709"}#post .rbs_block .glyphicon-pencil:before{content:"\270f"}#post .rbs_block .glyphicon-glass:before{content:"\e001"}#post .rbs_block .glyphicon-music:before{content:"\e002"}#post .rbs_block .glyphicon-search:before{content:"\e003"}#post .rbs_block .glyphicon-heart:before{content:"\e005"}#post .rbs_block .glyphicon-star:before{content:"\e006"}#post .rbs_block .glyphicon-star-empty:before{content:"\e007"}#post .rbs_block .glyphicon-user:before{content:"\e008"}#post .rbs_block .glyphicon-film:before{content:"\e009"}#post .rbs_block .glyphicon-th-large:before{content:"\e010"}#post .rbs_block .glyphicon-th:before{content:"\e011"}#post .rbs_block .glyphicon-th-list:before{content:"\e012"}#post .rbs_block .glyphicon-ok:before{content:"\e013"}#post .rbs_block .glyphicon-remove:before{content:"\e014"}#post .rbs_block .glyphicon-zoom-in:before{content:"\e015"}#post .rbs_block .glyphicon-zoom-out:before{content:"\e016"}#post .rbs_block .glyphicon-off:before{content:"\e017"}#post .rbs_block .glyphicon-signal:before{content:"\e018"}#post .rbs_block .glyphicon-cog:before{content:"\e019"}#post .rbs_block .glyphicon-trash:before{content:"\e020"}#post .rbs_block .glyphicon-home:before{content:"\e021"}#post .rbs_block .glyphicon-file:before{content:"\e022"}#post .rbs_block .glyphicon-time:before{content:"\e023"}#post .rbs_block .glyphicon-road:before{content:"\e024"}#post .rbs_block .glyphicon-download-alt:before{content:"\e025"}#post .rbs_block .glyphicon-download:before{content:"\e026"}#post .rbs_block .glyphicon-upload:before{content:"\e027"}#post .rbs_block .glyphicon-inbox:before{content:"\e028"}#post .rbs_block .glyphicon-play-circle:before{content:"\e029"}#post .rbs_block .glyphicon-repeat:before{content:"\e030"}#post .rbs_block .glyphicon-refresh:before{content:"\e031"}#post .rbs_block .glyphicon-list-alt:before{content:"\e032"}#post .rbs_block .glyphicon-lock:before{content:"\e033"}#post .rbs_block .glyphicon-flag:before{content:"\e034"}#post .rbs_block .glyphicon-headphones:before{content:"\e035"}#post .rbs_block .glyphicon-volume-off:before{content:"\e036"}#post .rbs_block .glyphicon-volume-down:before{content:"\e037"}#post .rbs_block .glyphicon-volume-up:before{content:"\e038"}#post .rbs_block .glyphicon-qrcode:before{content:"\e039"}#post .rbs_block .glyphicon-barcode:before{content:"\e040"}#post .rbs_block .glyphicon-tag:before{content:"\e041"}#post .rbs_block .glyphicon-tags:before{content:"\e042"}#post .rbs_block .glyphicon-book:before{content:"\e043"}#post .rbs_block .glyphicon-bookmark:before{content:"\e044"}#post .rbs_block .glyphicon-print:before{content:"\e045"}#post .rbs_block .glyphicon-camera:before{content:"\e046"}#post .rbs_block .glyphicon-font:before{content:"\e047"}#post .rbs_block .glyphicon-bold:before{content:"\e048"}#post .rbs_block .glyphicon-italic:before{content:"\e049"}#post .rbs_block .glyphicon-text-height:before{content:"\e050"}#post .rbs_block .glyphicon-text-width:before{content:"\e051"}#post .rbs_block .glyphicon-align-left:before{content:"\e052"}#post .rbs_block .glyphicon-align-center:before{content:"\e053"}#post .rbs_block .glyphicon-align-right:before{content:"\e054"}#post .rbs_block .glyphicon-align-justify:before{content:"\e055"}#post .rbs_block .glyphicon-list:before{content:"\e056"}#post .rbs_block .glyphicon-indent-left:before{content:"\e057"}#post .rbs_block .glyphicon-indent-right:before{content:"\e058"}#post .rbs_block .glyphicon-facetime-video:before{content:"\e059"}#post .rbs_block .glyphicon-picture:before{content:"\e060"}#post .rbs_block .glyphicon-map-marker:before{content:"\e062"}#post .rbs_block .glyphicon-adjust:before{content:"\e063"}#post .rbs_block .glyphicon-tint:before{content:"\e064"}#post .rbs_block .glyphicon-edit:before{content:"\e065"}#post .rbs_block .glyphicon-share:before{content:"\e066"}#post .rbs_block .glyphicon-check:before{content:"\e067"}#post .rbs_block .glyphicon-move:before{content:"\e068"}#post .rbs_block .glyphicon-step-backward:before{content:"\e069"}#post .rbs_block .glyphicon-fast-backward:before{content:"\e070"}#post .rbs_block .glyphicon-backward:before{content:"\e071"}#post .rbs_block .glyphicon-play:before{content:"\e072"}#post .rbs_block .glyphicon-pause:before{content:"\e073"}#post .rbs_block .glyphicon-stop:before{content:"\e074"}#post .rbs_block .glyphicon-forward:before{content:"\e075"}#post .rbs_block .glyphicon-fast-forward:before{content:"\e076"}#post .rbs_block .glyphicon-step-forward:before{content:"\e077"}#post .rbs_block .glyphicon-eject:before{content:"\e078"}#post .rbs_block .glyphicon-chevron-left:before{content:"\e079"}#post .rbs_block .glyphicon-chevron-right:before{content:"\e080"}#post .rbs_block .glyphicon-plus-sign:before{content:"\e081"}#post .rbs_block .glyphicon-minus-sign:before{content:"\e082"}#post .rbs_block .glyphicon-remove-sign:before{content:"\e083"}#post .rbs_block .glyphicon-ok-sign:before{content:"\e084"}#post .rbs_block .glyphicon-question-sign:before{content:"\e085"}#post .rbs_block .glyphicon-info-sign:before{content:"\e086"}#post .rbs_block .glyphicon-screenshot:before{content:"\e087"}#post .rbs_block .glyphicon-remove-circle:before{content:"\e088"}#post .rbs_block .glyphicon-ok-circle:before{content:"\e089"}#post .rbs_block .glyphicon-ban-circle:before{content:"\e090"}#post .rbs_block .glyphicon-arrow-left:before{content:"\e091"}#post .rbs_block .glyphicon-arrow-right:before{content:"\e092"}#post .rbs_block .glyphicon-arrow-up:before{content:"\e093"}#post .rbs_block .glyphicon-arrow-down:before{content:"\e094"}#post .rbs_block .glyphicon-share-alt:before{content:"\e095"}#post .rbs_block .glyphicon-resize-full:before{content:"\e096"}#post .rbs_block .glyphicon-resize-small:before{content:"\e097"}#post .rbs_block .glyphicon-exclamation-sign:before{content:"\e101"}#post .rbs_block .glyphicon-gift:before{content:"\e102"}#post .rbs_block .glyphicon-leaf:before{content:"\e103"}#post .rbs_block .glyphicon-fire:before{content:"\e104"}#post .rbs_block .glyphicon-eye-open:before{content:"\e105"}#post .rbs_block .glyphicon-eye-close:before{content:"\e106"}#post .rbs_block .glyphicon-warning-sign:before{content:"\e107"}#post .rbs_block .glyphicon-plane:before{content:"\e108"}#post .rbs_block .glyphicon-calendar:before{content:"\e109"}#post .rbs_block .glyphicon-random:before{content:"\e110"}#post .rbs_block .glyphicon-comment:before{content:"\e111"}#post .rbs_block .glyphicon-magnet:before{content:"\e112"}#post .rbs_block .glyphicon-chevron-up:before{content:"\e113"}#post .rbs_block .glyphicon-chevron-down:before{content:"\e114"}#post .rbs_block .glyphicon-retweet:before{content:"\e115"}#post .rbs_block .glyphicon-shopping-cart:before{content:"\e116"}#post .rbs_block .glyphicon-folder-close:before{content:"\e117"}#post .rbs_block .glyphicon-folder-open:before{content:"\e118"}#post .rbs_block .glyphicon-resize-vertical:before{content:"\e119"}#post .rbs_block .glyphicon-resize-horizontal:before{content:"\e120"}#post .rbs_block .glyphicon-hdd:before{content:"\e121"}#post .rbs_block .glyphicon-bullhorn:before{content:"\e122"}#post .rbs_block .glyphicon-bell:before{content:"\e123"}#post .rbs_block .glyphicon-certificate:before{content:"\e124"}#post .rbs_block .glyphicon-thumbs-up:before{content:"\e125"}#post .rbs_block .glyphicon-thumbs-down:before{content:"\e126"}#post .rbs_block .glyphicon-hand-right:before{content:"\e127"}#post .rbs_block .glyphicon-hand-left:before{content:"\e128"}#post .rbs_block .glyphicon-hand-up:before{content:"\e129"}#post .rbs_block .glyphicon-hand-down:before{content:"\e130"}#post .rbs_block .glyphicon-circle-arrow-right:before{content:"\e131"}#post .rbs_block .glyphicon-circle-arrow-left:before{content:"\e132"}#post .rbs_block .glyphicon-circle-arrow-up:before{content:"\e133"}#post .rbs_block .glyphicon-circle-arrow-down:before{content:"\e134"}#post .rbs_block .glyphicon-globe:before{content:"\e135"}#post .rbs_block .glyphicon-wrench:before{content:"\e136"}#post .rbs_block .glyphicon-tasks:before{content:"\e137"}#post .rbs_block .glyphicon-filter:before{content:"\e138"}#post .rbs_block .glyphicon-briefcase:before{content:"\e139"}#post .rbs_block .glyphicon-fullscreen:before{content:"\e140"}#post .rbs_block .glyphicon-dashboard:before{content:"\e141"}#post .rbs_block .glyphicon-paperclip:before{content:"\e142"}#post .rbs_block .glyphicon-heart-empty:before{content:"\e143"}#post .rbs_block .glyphicon-link:before{content:"\e144"}#post .rbs_block .glyphicon-phone:before{content:"\e145"}#post .rbs_block .glyphicon-pushpin:before{content:"\e146"}#post .rbs_block .glyphicon-usd:before{content:"\e148"}#post .rbs_block .glyphicon-gbp:before{content:"\e149"}#post .rbs_block .glyphicon-sort:before{content:"\e150"}#post .rbs_block .glyphicon-sort-by-alphabet:before{content:"\e151"}#post .rbs_block .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}#post .rbs_block .glyphicon-sort-by-order:before{content:"\e153"}#post .rbs_block .glyphicon-sort-by-order-alt:before{content:"\e154"}#post .rbs_block .glyphicon-sort-by-attributes:before{content:"\e155"}#post .rbs_block .glyphicon-sort-by-attributes-alt:before{content:"\e156"}#post .rbs_block .glyphicon-unchecked:before{content:"\e157"}#post .rbs_block .glyphicon-expand:before{content:"\e158"}#post .rbs_block .glyphicon-collapse-down:before{content:"\e159"}#post .rbs_block .glyphicon-collapse-up:before{content:"\e160"}#post .rbs_block .glyphicon-log-in:before{content:"\e161"}#post .rbs_block .glyphicon-flash:before{content:"\e162"}#post .rbs_block .glyphicon-log-out:before{content:"\e163"}#post .rbs_block .glyphicon-new-window:before{content:"\e164"}#post .rbs_block .glyphicon-record:before{content:"\e165"}#post .rbs_block .glyphicon-save:before{content:"\e166"}#post .rbs_block .glyphicon-open:before{content:"\e167"}#post .rbs_block .glyphicon-saved:before{content:"\e168"}#post .rbs_block .glyphicon-import:before{content:"\e169"}#post .rbs_block .glyphicon-export:before{content:"\e170"}#post .rbs_block .glyphicon-send:before{content:"\e171"}#post .rbs_block .glyphicon-floppy-disk:before{content:"\e172"}#post .rbs_block .glyphicon-floppy-saved:before{content:"\e173"}#post .rbs_block .glyphicon-floppy-remove:before{content:"\e174"}#post .rbs_block .glyphicon-floppy-save:before{content:"\e175"}#post .rbs_block .glyphicon-floppy-open:before{content:"\e176"}#post .rbs_block .glyphicon-credit-card:before{content:"\e177"}#post .rbs_block .glyphicon-transfer:before{content:"\e178"}#post .rbs_block .glyphicon-cutlery:before{content:"\e179"}#post .rbs_block .glyphicon-header:before{content:"\e180"}#post .rbs_block .glyphicon-compressed:before{content:"\e181"}#post .rbs_block .glyphicon-earphone:before{content:"\e182"}#post .rbs_block .glyphicon-phone-alt:before{content:"\e183"}#post .rbs_block .glyphicon-tower:before{content:"\e184"}#post .rbs_block .glyphicon-stats:before{content:"\e185"}#post .rbs_block .glyphicon-sd-video:before{content:"\e186"}#post .rbs_block .glyphicon-hd-video:before{content:"\e187"}#post .rbs_block .glyphicon-subtitles:before{content:"\e188"}#post .rbs_block .glyphicon-sound-stereo:before{content:"\e189"}#post .rbs_block .glyphicon-sound-dolby:before{content:"\e190"}#post .rbs_block .glyphicon-sound-5-1:before{content:"\e191"}#post .rbs_block .glyphicon-sound-6-1:before{content:"\e192"}#post .rbs_block .glyphicon-sound-7-1:before{content:"\e193"}#post .rbs_block .glyphicon-copyright-mark:before{content:"\e194"}#post .rbs_block .glyphicon-registration-mark:before{content:"\e195"}#post .rbs_block .glyphicon-cloud-download:before{content:"\e197"}#post .rbs_block .glyphicon-cloud-upload:before{content:"\e198"}#post .rbs_block .glyphicon-tree-conifer:before{content:"\e199"}#post .rbs_block .glyphicon-tree-deciduous:before{content:"\e200"}#post .rbs_block .glyphicon-cd:before{content:"\e201"}#post .rbs_block .glyphicon-save-file:before{content:"\e202"}#post .rbs_block .glyphicon-open-file:before{content:"\e203"}#post .rbs_block .glyphicon-level-up:before{content:"\e204"}#post .rbs_block .glyphicon-copy:before{content:"\e205"}#post .rbs_block .glyphicon-paste:before{content:"\e206"}#post .rbs_block .glyphicon-alert:before{content:"\e209"}#post .rbs_block .glyphicon-equalizer:before{content:"\e210"}#post .rbs_block .glyphicon-king:before{content:"\e211"}#post .rbs_block .glyphicon-queen:before{content:"\e212"}#post .rbs_block .glyphicon-pawn:before{content:"\e213"}#post .rbs_block .glyphicon-bishop:before{content:"\e214"}#post .rbs_block .glyphicon-knight:before{content:"\e215"}#post .rbs_block .glyphicon-baby-formula:before{content:"\e216"}#post .rbs_block .glyphicon-tent:before{content:"\26fa"}#post .rbs_block .glyphicon-blackboard:before{content:"\e218"}#post .rbs_block .glyphicon-bed:before{content:"\e219"}#post .rbs_block .glyphicon-apple:before{content:"\f8ff"}#post .rbs_block .glyphicon-erase:before{content:"\e221"}#post .rbs_block .glyphicon-hourglass:before{content:"\231b"}#post .rbs_block .glyphicon-lamp:before{content:"\e223"}#post .rbs_block .glyphicon-duplicate:before{content:"\e224"}#post .rbs_block .glyphicon-piggy-bank:before{content:"\e225"}#post .rbs_block .glyphicon-scissors:before{content:"\e226"}#post .rbs_block .glyphicon-bitcoin:before,#post .rbs_block .glyphicon-btc:before,#post .rbs_block .glyphicon-xbt:before{content:"\e227"}#post .rbs_block .glyphicon-jpy:before,#post .rbs_block .glyphicon-yen:before{content:"\00a5"}#post .rbs_block .glyphicon-rub:before,#post .rbs_block .glyphicon-ruble:before{content:"\20bd"}#post .rbs_block .glyphicon-scale:before{content:"\e230"}#post .rbs_block .glyphicon-ice-lolly:before{content:"\e231"}#post .rbs_block .glyphicon-ice-lolly-tasted:before{content:"\e232"}#post .rbs_block .glyphicon-education:before{content:"\e233"}#post .rbs_block .glyphicon-option-horizontal:before{content:"\e234"}#post .rbs_block .glyphicon-option-vertical:before{content:"\e235"}#post .rbs_block .glyphicon-menu-hamburger:before{content:"\e236"}#post .rbs_block .glyphicon-modal-window:before{content:"\e237"}#post .rbs_block .glyphicon-oil:before{content:"\e238"}#post .rbs_block .glyphicon-grain:before{content:"\e239"}#post .rbs_block .glyphicon-sunglasses:before{content:"\e240"}#post .rbs_block .glyphicon-text-size:before{content:"\e241"}#post .rbs_block .glyphicon-text-color:before{content:"\e242"}#post .rbs_block .glyphicon-text-background:before{content:"\e243"}#post .rbs_block .glyphicon-object-align-top:before{content:"\e244"}#post .rbs_block .glyphicon-object-align-bottom:before{content:"\e245"}#post .rbs_block .glyphicon-object-align-horizontal:before{content:"\e246"}#post .rbs_block .glyphicon-object-align-left:before{content:"\e247"}#post .rbs_block .glyphicon-object-align-vertical:before{content:"\e248"}#post .rbs_block .glyphicon-object-align-right:before{content:"\e249"}#post .rbs_block .glyphicon-triangle-right:before{content:"\e250"}#post .rbs_block .glyphicon-triangle-left:before{content:"\e251"}#post .rbs_block .glyphicon-triangle-bottom:before{content:"\e252"}#post .rbs_block .glyphicon-triangle-top:before{content:"\e253"}#post .rbs_block .glyphicon-console:before{content:"\e254"}#post .rbs_block .glyphicon-superscript:before{content:"\e255"}#post .rbs_block .glyphicon-subscript:before{content:"\e256"}#post .rbs_block .glyphicon-menu-left:before{content:"\e257"}#post .rbs_block .glyphicon-menu-right:before{content:"\e258"}#post .rbs_block .glyphicon-menu-down:before{content:"\e259"}#post .rbs_block .glyphicon-menu-up:before{content:"\e260"}#post .rbs_block *,#post .rbs_block :after,#post .rbs_block :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html #post .rbs_block{font-size:10px;-webkit-tap-highlight-color:transparent}body #post .rbs_block{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}#post .rbs_block button,#post .rbs_block input,#post .rbs_block select,#post .rbs_block textarea{font-family:inherit;font-size:inherit;line-height:inherit}#post .rbs_block a{color:#337ab7;text-decoration:none}#post .rbs_block a:focus,#post .rbs_block a:hover{color:#23527c;text-decoration:underline}#post .rbs_block a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block figure{margin:0}#post .rbs_block .carousel-inner>.item>a>img,#post .rbs_block .carousel-inner>.item>img,#post .rbs_block .img-responsive,#post .rbs_block .thumbnail a>img,#post .rbs_block .thumbnail>img{display:block;max-width:100%;height:auto}#post .rbs_block .img-rounded{border-radius:6px}#post .rbs_block .img-thumbnail{display:inline-block;max-width:100%;height:auto;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}#post .rbs_block .img-circle{border-radius:50%}#post .rbs_block hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}#post .rbs_block .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}#post .rbs_block .sr-only-focusable:active,#post .rbs_block .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}#post .rbs_block [role=button]{cursor:pointer}#post .rbs_block .h1,#post .rbs_block .h2,#post .rbs_block .h3,#post .rbs_block .h4,#post .rbs_block .h5,#post .rbs_block .h6,#post .rbs_block h1,#post .rbs_block h2,#post .rbs_block h3,#post .rbs_block h4,#post .rbs_block h5,#post .rbs_block h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}#post .rbs_block .h1 .small,#post .rbs_block .h1 small,#post .rbs_block .h2 .small,#post .rbs_block .h2 small,#post .rbs_block .h3 .small,#post .rbs_block .h3 small,#post .rbs_block .h4 .small,#post .rbs_block .h4 small,#post .rbs_block .h5 .small,#post .rbs_block .h5 small,#post .rbs_block .h6 .small,#post .rbs_block .h6 small,#post .rbs_block h1 .small,#post .rbs_block h1 small,#post .rbs_block h2 .small,#post .rbs_block h2 small,#post .rbs_block h3 .small,#post .rbs_block h3 small,#post .rbs_block h4 .small,#post .rbs_block h4 small,#post .rbs_block h5 .small,#post .rbs_block h5 small,#post .rbs_block h6 .small,#post .rbs_block h6 small{font-weight:400;line-height:1;color:#777}#post .rbs_block .h1,#post .rbs_block .h2,#post .rbs_block .h3,#post .rbs_block h1,#post .rbs_block h2,#post .rbs_block h3{margin-top:20px;margin-bottom:10px}#post .rbs_block .h1 .small,#post .rbs_block .h1 small,#post .rbs_block .h2 .small,#post .rbs_block .h2 small,#post .rbs_block .h3 .small,#post .rbs_block .h3 small,#post .rbs_block h1 .small,#post .rbs_block h1 small,#post .rbs_block h2 .small,#post .rbs_block h2 small,#post .rbs_block h3 .small,#post .rbs_block h3 small{font-size:65%}#post .rbs_block .h4,#post .rbs_block .h5,#post .rbs_block .h6,#post .rbs_block h4,#post .rbs_block h5,#post .rbs_block h6{margin-top:10px;margin-bottom:10px}#post .rbs_block .h4 .small,#post .rbs_block .h4 small,#post .rbs_block .h5 .small,#post .rbs_block .h5 small,#post .rbs_block .h6 .small,#post .rbs_block .h6 small,#post .rbs_block h4 .small,#post .rbs_block h4 small,#post .rbs_block h5 .small,#post .rbs_block h5 small,#post .rbs_block h6 .small,#post .rbs_block h6 small{font-size:75%}#post .rbs_block .h1,#post .rbs_block h1{font-size:36px}#post .rbs_block .h2,#post .rbs_block h2{font-size:30px}#post .rbs_block .h3,#post .rbs_block h3{font-size:24px}#post .rbs_block .h4,#post .rbs_block h4{font-size:18px}#post .rbs_block .h5,#post .rbs_block h5{font-size:14px}#post .rbs_block .h6,#post .rbs_block h6{font-size:12px}#post .rbs_block p{margin:0 0 10px}#post .rbs_block .lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){#post .rbs_block .lead{font-size:21px}}#post .rbs_block .small,#post .rbs_block small{font-size:85%}#post .rbs_block .mark,#post .rbs_block mark{padding:.2em;background-color:#fcf8e3}#post .rbs_block .list-inline,#post .rbs_block .list-unstyled{padding-left:0;list-style:none}#post .rbs_block .text-right{text-align:right}#post .rbs_block .text-center{text-align:center}#post .rbs_block .text-justify{text-align:justify}#post .rbs_block .text-nowrap{white-space:nowrap}#post .rbs_block .text-lowercase{text-transform:lowercase}#post .rbs_block .text-uppercase{text-transform:uppercase}#post .rbs_block .text-capitalize{text-transform:capitalize}#post .rbs_block .text-muted{color:#777}#post .rbs_block .text-primary{color:#337ab7}#post .rbs_block a.text-primary:hover{color:#286090}#post .rbs_block .text-success{color:#3c763d}#post .rbs_block a.text-success:hover{color:#2b542c}#post .rbs_block .text-info{color:#31708f}#post .rbs_block a.text-info:hover{color:#245269}#post .rbs_block .text-warning{color:#8a6d3b}#post .rbs_block a.text-warning:hover{color:#66512c}#post .rbs_block .text-danger{color:#a94442}#post .rbs_block a.text-danger:hover{color:#843534}#post .rbs_block .bg-primary{color:#fff;background-color:#337ab7}#post .rbs_block a.bg-primary:hover{background-color:#286090}#post .rbs_block .bg-success{background-color:#dff0d8}#post .rbs_block a.bg-success:hover{background-color:#c1e2b3}#post .rbs_block .bg-info{background-color:#d9edf7}#post .rbs_block a.bg-info:hover{background-color:#afd9ee}#post .rbs_block .bg-warning{background-color:#fcf8e3}#post .rbs_block a.bg-warning:hover{background-color:#f7ecb5}#post .rbs_block .bg-danger{background-color:#f2dede}#post .rbs_block a.bg-danger:hover{background-color:#e4b9b9}#post .rbs_block .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}#post .rbs_block ol,#post .rbs_block ul{margin-top:0;margin-bottom:10px}#post .rbs_block ol ol,#post .rbs_block ol ul,#post .rbs_block ul ol,#post .rbs_block ul ul{margin-bottom:0}#post .rbs_block .list-inline{margin-left:-5px}#post .rbs_block .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}#post .rbs_block dl{margin-top:0;margin-bottom:20px}#post .rbs_block dd,#post .rbs_block dt{line-height:1.42857143}#post .rbs_block dt{font-weight:700}#post .rbs_block dd{margin-left:0}@media (min-width:768px){#post .rbs_block .dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}#post .rbs_block .dl-horizontal dd{margin-left:180px}#post .rbs_block .container{width:750px}}#post .rbs_block abbr[data-original-title],#post .rbs_block abbr[title]{cursor:help;border-bottom:1px dotted #777}#post .rbs_block .initialism{font-size:90%;text-transform:uppercase}#post .rbs_block blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}#post .rbs_block blockquote ol:last-child,#post .rbs_block blockquote p:last-child,#post .rbs_block blockquote ul:last-child{margin-bottom:0}#post .rbs_block blockquote .small,#post .rbs_block blockquote footer,#post .rbs_block blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}#post .rbs_block blockquote .small:before,#post .rbs_block blockquote footer:before,#post .rbs_block blockquote small:before{content:'\2014 \00A0'}#post .rbs_block .blockquote-reverse,#post .rbs_block blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}#post .rbs_block .blockquote-reverse .small:before,#post .rbs_block .blockquote-reverse footer:before,#post .rbs_block .blockquote-reverse small:before,#post .rbs_block blockquote.pull-right .small:before,#post .rbs_block blockquote.pull-right footer:before,#post .rbs_block blockquote.pull-right small:before{content:''}#post .rbs_block .blockquote-reverse .small:after,#post .rbs_block .blockquote-reverse footer:after,#post .rbs_block .blockquote-reverse small:after,#post .rbs_block blockquote.pull-right .small:after,#post .rbs_block blockquote.pull-right footer:after,#post .rbs_block blockquote.pull-right small:after{content:'\00A0 \2014'}#post .rbs_block address{margin-bottom:20px;font-style:normal;line-height:1.42857143}#post .rbs_block code,#post .rbs_block kbd,#post .rbs_block pre,#post .rbs_block samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}#post .rbs_block code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}#post .rbs_block kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}#post .rbs_block kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}#post .rbs_block .container,#post .rbs_block .container-fluid{margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}#post .rbs_block pre code,#post .rbs_block table{background-color:transparent}#post .rbs_block pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;border-radius:0}#post .rbs_block .pre-scrollable{max-height:340px;overflow-y:scroll}@media (min-width:992px){#post .rbs_block .container{width:970px}}@media (min-width:1200px){#post .rbs_block .container{width:1170px}}#post .rbs_block .row{margin-right:-15px;margin-left:-15px}#post .rbs_block .col-lg-1,#post .rbs_block .col-lg-10,#post .rbs_block .col-lg-11,#post .rbs_block .col-lg-12,#post .rbs_block .col-lg-2,#post .rbs_block .col-lg-3,#post .rbs_block .col-lg-4,#post .rbs_block .col-lg-5,#post .rbs_block .col-lg-6,#post .rbs_block .col-lg-7,#post .rbs_block .col-lg-8,#post .rbs_block .col-lg-9,#post .rbs_block .col-md-1,#post .rbs_block .col-md-10,#post .rbs_block .col-md-11,#post .rbs_block .col-md-12,#post .rbs_block .col-md-2,#post .rbs_block .col-md-3,#post .rbs_block .col-md-4,#post .rbs_block .col-md-5,#post .rbs_block .col-md-6,#post .rbs_block .col-md-7,#post .rbs_block .col-md-8,#post .rbs_block .col-md-9,#post .rbs_block .col-sm-1,#post .rbs_block .col-sm-10,#post .rbs_block .col-sm-11,#post .rbs_block .col-sm-12,#post .rbs_block .col-sm-2,#post .rbs_block .col-sm-3,#post .rbs_block .col-sm-4,#post .rbs_block .col-sm-5,#post .rbs_block .col-sm-6,#post .rbs_block .col-sm-7,#post .rbs_block .col-sm-8,#post .rbs_block .col-sm-9,#post .rbs_block .col-xs-1,#post .rbs_block .col-xs-10,#post .rbs_block .col-xs-11,#post .rbs_block .col-xs-12,#post .rbs_block .col-xs-2,#post .rbs_block .col-xs-3,#post .rbs_block .col-xs-4,#post .rbs_block .col-xs-5,#post .rbs_block .col-xs-6,#post .rbs_block .col-xs-7,#post .rbs_block .col-xs-8,#post .rbs_block .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}#post .rbs_block .col-xs-12{width:100%}#post .rbs_block .col-xs-11{width:91.66666667%}#post .rbs_block .col-xs-10{width:83.33333333%}#post .rbs_block .col-xs-9{width:75%}#post .rbs_block .col-xs-8{width:66.66666667%}#post .rbs_block .col-xs-7{width:58.33333333%}#post .rbs_block .col-xs-6{width:50%}#post .rbs_block .col-xs-5{width:41.66666667%}#post .rbs_block .col-xs-4{width:33.33333333%}#post .rbs_block .col-xs-3{width:25%}#post .rbs_block .col-xs-2{width:16.66666667%}#post .rbs_block .col-xs-1{width:8.33333333%}#post .rbs_block .col-xs-pull-12{right:100%}#post .rbs_block .col-xs-pull-11{right:91.66666667%}#post .rbs_block .col-xs-pull-10{right:83.33333333%}#post .rbs_block .col-xs-pull-9{right:75%}#post .rbs_block .col-xs-pull-8{right:66.66666667%}#post .rbs_block .col-xs-pull-7{right:58.33333333%}#post .rbs_block .col-xs-pull-6{right:50%}#post .rbs_block .col-xs-pull-5{right:41.66666667%}#post .rbs_block .col-xs-pull-4{right:33.33333333%}#post .rbs_block .col-xs-pull-3{right:25%}#post .rbs_block .col-xs-pull-2{right:16.66666667%}#post .rbs_block .col-xs-pull-1{right:8.33333333%}#post .rbs_block .col-xs-pull-0{right:auto}#post .rbs_block .col-xs-push-12{left:100%}#post .rbs_block .col-xs-push-11{left:91.66666667%}#post .rbs_block .col-xs-push-10{left:83.33333333%}#post .rbs_block .col-xs-push-9{left:75%}#post .rbs_block .col-xs-push-8{left:66.66666667%}#post .rbs_block .col-xs-push-7{left:58.33333333%}#post .rbs_block .col-xs-push-6{left:50%}#post .rbs_block .col-xs-push-5{left:41.66666667%}#post .rbs_block .col-xs-push-4{left:33.33333333%}#post .rbs_block .col-xs-push-3{left:25%}#post .rbs_block .col-xs-push-2{left:16.66666667%}#post .rbs_block .col-xs-push-1{left:8.33333333%}#post .rbs_block .col-xs-push-0{left:auto}#post .rbs_block .col-xs-offset-12{margin-left:100%}#post .rbs_block .col-xs-offset-11{margin-left:91.66666667%}#post .rbs_block .col-xs-offset-10{margin-left:83.33333333%}#post .rbs_block .col-xs-offset-9{margin-left:75%}#post .rbs_block .col-xs-offset-8{margin-left:66.66666667%}#post .rbs_block .col-xs-offset-7{margin-left:58.33333333%}#post .rbs_block .col-xs-offset-6{margin-left:50%}#post .rbs_block .col-xs-offset-5{margin-left:41.66666667%}#post .rbs_block .col-xs-offset-4{margin-left:33.33333333%}#post .rbs_block .col-xs-offset-3{margin-left:25%}#post .rbs_block .col-xs-offset-2{margin-left:16.66666667%}#post .rbs_block .col-xs-offset-1{margin-left:8.33333333%}#post .rbs_block .col-xs-offset-0{margin-left:0}@media (min-width:768px){#post .rbs_block .col-sm-1,#post .rbs_block .col-sm-10,#post .rbs_block .col-sm-11,#post .rbs_block .col-sm-12,#post .rbs_block .col-sm-2,#post .rbs_block .col-sm-3,#post .rbs_block .col-sm-4,#post .rbs_block .col-sm-5,#post .rbs_block .col-sm-6,#post .rbs_block .col-sm-7,#post .rbs_block .col-sm-8,#post .rbs_block .col-sm-9{float:left}#post .rbs_block .col-sm-12{width:100%}#post .rbs_block .col-sm-11{width:91.66666667%}#post .rbs_block .col-sm-10{width:83.33333333%}#post .rbs_block .col-sm-9{width:75%}#post .rbs_block .col-sm-8{width:66.66666667%}#post .rbs_block .col-sm-7{width:58.33333333%}#post .rbs_block .col-sm-6{width:50%}#post .rbs_block .col-sm-5{width:41.66666667%}#post .rbs_block .col-sm-4{width:33.33333333%}#post .rbs_block .col-sm-3{width:25%}#post .rbs_block .col-sm-2{width:16.66666667%}#post .rbs_block .col-sm-1{width:8.33333333%}#post .rbs_block .col-sm-pull-12{right:100%}#post .rbs_block .col-sm-pull-11{right:91.66666667%}#post .rbs_block .col-sm-pull-10{right:83.33333333%}#post .rbs_block .col-sm-pull-9{right:75%}#post .rbs_block .col-sm-pull-8{right:66.66666667%}#post .rbs_block .col-sm-pull-7{right:58.33333333%}#post .rbs_block .col-sm-pull-6{right:50%}#post .rbs_block .col-sm-pull-5{right:41.66666667%}#post .rbs_block .col-sm-pull-4{right:33.33333333%}#post .rbs_block .col-sm-pull-3{right:25%}#post .rbs_block .col-sm-pull-2{right:16.66666667%}#post .rbs_block .col-sm-pull-1{right:8.33333333%}#post .rbs_block .col-sm-pull-0{right:auto}#post .rbs_block .col-sm-push-12{left:100%}#post .rbs_block .col-sm-push-11{left:91.66666667%}#post .rbs_block .col-sm-push-10{left:83.33333333%}#post .rbs_block .col-sm-push-9{left:75%}#post .rbs_block .col-sm-push-8{left:66.66666667%}#post .rbs_block .col-sm-push-7{left:58.33333333%}#post .rbs_block .col-sm-push-6{left:50%}#post .rbs_block .col-sm-push-5{left:41.66666667%}#post .rbs_block .col-sm-push-4{left:33.33333333%}#post .rbs_block .col-sm-push-3{left:25%}#post .rbs_block .col-sm-push-2{left:16.66666667%}#post .rbs_block .col-sm-push-1{left:8.33333333%}#post .rbs_block .col-sm-push-0{left:auto}#post .rbs_block .col-sm-offset-12{margin-left:100%}#post .rbs_block .col-sm-offset-11{margin-left:91.66666667%}#post .rbs_block .col-sm-offset-10{margin-left:83.33333333%}#post .rbs_block .col-sm-offset-9{margin-left:75%}#post .rbs_block .col-sm-offset-8{margin-left:66.66666667%}#post .rbs_block .col-sm-offset-7{margin-left:58.33333333%}#post .rbs_block .col-sm-offset-6{margin-left:50%}#post .rbs_block .col-sm-offset-5{margin-left:41.66666667%}#post .rbs_block .col-sm-offset-4{margin-left:33.33333333%}#post .rbs_block .col-sm-offset-3{margin-left:25%}#post .rbs_block .col-sm-offset-2{margin-left:16.66666667%}#post .rbs_block .col-sm-offset-1{margin-left:8.33333333%}#post .rbs_block .col-sm-offset-0{margin-left:0}}@media (min-width:992px){#post .rbs_block .col-md-1,#post .rbs_block .col-md-10,#post .rbs_block .col-md-11,#post .rbs_block .col-md-12,#post .rbs_block .col-md-2,#post .rbs_block .col-md-3,#post .rbs_block .col-md-4,#post .rbs_block .col-md-5,#post .rbs_block .col-md-6,#post .rbs_block .col-md-7,#post .rbs_block .col-md-8,#post .rbs_block .col-md-9{float:left}#post .rbs_block .col-md-12{width:100%}#post .rbs_block .col-md-11{width:91.66666667%}#post .rbs_block .col-md-10{width:83.33333333%}#post .rbs_block .col-md-9{width:75%}#post .rbs_block .col-md-8{width:66.66666667%}#post .rbs_block .col-md-7{width:58.33333333%}#post .rbs_block .col-md-6{width:50%}#post .rbs_block .col-md-5{width:41.66666667%}#post .rbs_block .col-md-4{width:33.33333333%}#post .rbs_block .col-md-3{width:25%}#post .rbs_block .col-md-2{width:16.66666667%}#post .rbs_block .col-md-1{width:8.33333333%}#post .rbs_block .col-md-pull-12{right:100%}#post .rbs_block .col-md-pull-11{right:91.66666667%}#post .rbs_block .col-md-pull-10{right:83.33333333%}#post .rbs_block .col-md-pull-9{right:75%}#post .rbs_block .col-md-pull-8{right:66.66666667%}#post .rbs_block .col-md-pull-7{right:58.33333333%}#post .rbs_block .col-md-pull-6{right:50%}#post .rbs_block .col-md-pull-5{right:41.66666667%}#post .rbs_block .col-md-pull-4{right:33.33333333%}#post .rbs_block .col-md-pull-3{right:25%}#post .rbs_block .col-md-pull-2{right:16.66666667%}#post .rbs_block .col-md-pull-1{right:8.33333333%}#post .rbs_block .col-md-pull-0{right:auto}#post .rbs_block .col-md-push-12{left:100%}#post .rbs_block .col-md-push-11{left:91.66666667%}#post .rbs_block .col-md-push-10{left:83.33333333%}#post .rbs_block .col-md-push-9{left:75%}#post .rbs_block .col-md-push-8{left:66.66666667%}#post .rbs_block .col-md-push-7{left:58.33333333%}#post .rbs_block .col-md-push-6{left:50%}#post .rbs_block .col-md-push-5{left:41.66666667%}#post .rbs_block .col-md-push-4{left:33.33333333%}#post .rbs_block .col-md-push-3{left:25%}#post .rbs_block .col-md-push-2{left:16.66666667%}#post .rbs_block .col-md-push-1{left:8.33333333%}#post .rbs_block .col-md-push-0{left:auto}#post .rbs_block .col-md-offset-12{margin-left:100%}#post .rbs_block .col-md-offset-11{margin-left:91.66666667%}#post .rbs_block .col-md-offset-10{margin-left:83.33333333%}#post .rbs_block .col-md-offset-9{margin-left:75%}#post .rbs_block .col-md-offset-8{margin-left:66.66666667%}#post .rbs_block .col-md-offset-7{margin-left:58.33333333%}#post .rbs_block .col-md-offset-6{margin-left:50%}#post .rbs_block .col-md-offset-5{margin-left:41.66666667%}#post .rbs_block .col-md-offset-4{margin-left:33.33333333%}#post .rbs_block .col-md-offset-3{margin-left:25%}#post .rbs_block .col-md-offset-2{margin-left:16.66666667%}#post .rbs_block .col-md-offset-1{margin-left:8.33333333%}#post .rbs_block .col-md-offset-0{margin-left:0}}@media (min-width:1200px){#post .rbs_block .col-lg-1,#post .rbs_block .col-lg-10,#post .rbs_block .col-lg-11,#post .rbs_block .col-lg-12,#post .rbs_block .col-lg-2,#post .rbs_block .col-lg-3,#post .rbs_block .col-lg-4,#post .rbs_block .col-lg-5,#post .rbs_block .col-lg-6,#post .rbs_block .col-lg-7,#post .rbs_block .col-lg-8,#post .rbs_block .col-lg-9{float:left}#post .rbs_block .col-lg-12{width:100%}#post .rbs_block .col-lg-11{width:91.66666667%}#post .rbs_block .col-lg-10{width:83.33333333%}#post .rbs_block .col-lg-9{width:75%}#post .rbs_block .col-lg-8{width:66.66666667%}#post .rbs_block .col-lg-7{width:58.33333333%}#post .rbs_block .col-lg-6{width:50%}#post .rbs_block .col-lg-5{width:41.66666667%}#post .rbs_block .col-lg-4{width:33.33333333%}#post .rbs_block .col-lg-3{width:25%}#post .rbs_block .col-lg-2{width:16.66666667%}#post .rbs_block .col-lg-1{width:8.33333333%}#post .rbs_block .col-lg-pull-12{right:100%}#post .rbs_block .col-lg-pull-11{right:91.66666667%}#post .rbs_block .col-lg-pull-10{right:83.33333333%}#post .rbs_block .col-lg-pull-9{right:75%}#post .rbs_block .col-lg-pull-8{right:66.66666667%}#post .rbs_block .col-lg-pull-7{right:58.33333333%}#post .rbs_block .col-lg-pull-6{right:50%}#post .rbs_block .col-lg-pull-5{right:41.66666667%}#post .rbs_block .col-lg-pull-4{right:33.33333333%}#post .rbs_block .col-lg-pull-3{right:25%}#post .rbs_block .col-lg-pull-2{right:16.66666667%}#post .rbs_block .col-lg-pull-1{right:8.33333333%}#post .rbs_block .col-lg-pull-0{right:auto}#post .rbs_block .col-lg-push-12{left:100%}#post .rbs_block .col-lg-push-11{left:91.66666667%}#post .rbs_block .col-lg-push-10{left:83.33333333%}#post .rbs_block .col-lg-push-9{left:75%}#post .rbs_block .col-lg-push-8{left:66.66666667%}#post .rbs_block .col-lg-push-7{left:58.33333333%}#post .rbs_block .col-lg-push-6{left:50%}#post .rbs_block .col-lg-push-5{left:41.66666667%}#post .rbs_block .col-lg-push-4{left:33.33333333%}#post .rbs_block .col-lg-push-3{left:25%}#post .rbs_block .col-lg-push-2{left:16.66666667%}#post .rbs_block .col-lg-push-1{left:8.33333333%}#post .rbs_block .col-lg-push-0{left:auto}#post .rbs_block .col-lg-offset-12{margin-left:100%}#post .rbs_block .col-lg-offset-11{margin-left:91.66666667%}#post .rbs_block .col-lg-offset-10{margin-left:83.33333333%}#post .rbs_block .col-lg-offset-9{margin-left:75%}#post .rbs_block .col-lg-offset-8{margin-left:66.66666667%}#post .rbs_block .col-lg-offset-7{margin-left:58.33333333%}#post .rbs_block .col-lg-offset-6{margin-left:50%}#post .rbs_block .col-lg-offset-5{margin-left:41.66666667%}#post .rbs_block .col-lg-offset-4{margin-left:33.33333333%}#post .rbs_block .col-lg-offset-3{margin-left:25%}#post .rbs_block .col-lg-offset-2{margin-left:16.66666667%}#post .rbs_block .col-lg-offset-1{margin-left:8.33333333%}#post .rbs_block .col-lg-offset-0{margin-left:0}}#post .rbs_block caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}#post .rbs_block .table{width:100%;max-width:100%;margin-bottom:20px}#post .rbs_block .table>tbody>tr>td,#post .rbs_block .table>tbody>tr>th,#post .rbs_block .table>tfoot>tr>td,#post .rbs_block .table>tfoot>tr>th,#post .rbs_block .table>thead>tr>td,#post .rbs_block .table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}#post .rbs_block .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}#post .rbs_block .table>caption+thead>tr:first-child>td,#post .rbs_block .table>caption+thead>tr:first-child>th,#post .rbs_block .table>colgroup+thead>tr:first-child>td,#post .rbs_block .table>colgroup+thead>tr:first-child>th,#post .rbs_block .table>thead:first-child>tr:first-child>td,#post .rbs_block .table>thead:first-child>tr:first-child>th{border-top:0}#post .rbs_block .table>tbody+tbody{border-top:2px solid #ddd}#post .rbs_block .table .table{background-color:#fff}#post .rbs_block .table-condensed>tbody>tr>td,#post .rbs_block .table-condensed>tbody>tr>th,#post .rbs_block .table-condensed>tfoot>tr>td,#post .rbs_block .table-condensed>tfoot>tr>th,#post .rbs_block .table-condensed>thead>tr>td,#post .rbs_block .table-condensed>thead>tr>th{padding:5px}#post .rbs_block .table-bordered,#post .rbs_block .table-bordered>tbody>tr>td,#post .rbs_block .table-bordered>tbody>tr>th,#post .rbs_block .table-bordered>tfoot>tr>td,#post .rbs_block .table-bordered>tfoot>tr>th,#post .rbs_block .table-bordered>thead>tr>td,#post .rbs_block .table-bordered>thead>tr>th{border:1px solid #ddd}#post .rbs_block .table-bordered>thead>tr>td,#post .rbs_block .table-bordered>thead>tr>th{border-bottom-width:2px}#post .rbs_block .table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}#post .rbs_block .table-hover>tbody>tr:hover,#post .rbs_block .table>tbody>tr.active>td,#post .rbs_block .table>tbody>tr.active>th,#post .rbs_block .table>tbody>tr>td.active,#post .rbs_block .table>tbody>tr>th.active,#post .rbs_block .table>tfoot>tr.active>td,#post .rbs_block .table>tfoot>tr.active>th,#post .rbs_block .table>tfoot>tr>td.active,#post .rbs_block .table>tfoot>tr>th.active,#post .rbs_block .table>thead>tr.active>td,#post .rbs_block .table>thead>tr.active>th,#post .rbs_block .table>thead>tr>td.active,#post .rbs_block .table>thead>tr>th.active{background-color:#f5f5f5}#post .rbs_block table col[class*=col-]{position:static;display:table-column;float:none}#post .rbs_block table td[class*=col-],#post .rbs_block table th[class*=col-]{position:static;display:table-cell;float:none}#post .rbs_block .table-hover>tbody>tr.active:hover>td,#post .rbs_block .table-hover>tbody>tr.active:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.active,#post .rbs_block .table-hover>tbody>tr>td.active:hover,#post .rbs_block .table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}#post .rbs_block .table>tbody>tr.success>td,#post .rbs_block .table>tbody>tr.success>th,#post .rbs_block .table>tbody>tr>td.success,#post .rbs_block .table>tbody>tr>th.success,#post .rbs_block .table>tfoot>tr.success>td,#post .rbs_block .table>tfoot>tr.success>th,#post .rbs_block .table>tfoot>tr>td.success,#post .rbs_block .table>tfoot>tr>th.success,#post .rbs_block .table>thead>tr.success>td,#post .rbs_block .table>thead>tr.success>th,#post .rbs_block .table>thead>tr>td.success,#post .rbs_block .table>thead>tr>th.success{background-color:#dff0d8}#post .rbs_block .table-hover>tbody>tr.success:hover>td,#post .rbs_block .table-hover>tbody>tr.success:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.success,#post .rbs_block .table-hover>tbody>tr>td.success:hover,#post .rbs_block .table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}#post .rbs_block .table>tbody>tr.info>td,#post .rbs_block .table>tbody>tr.info>th,#post .rbs_block .table>tbody>tr>td.info,#post .rbs_block .table>tbody>tr>th.info,#post .rbs_block .table>tfoot>tr.info>td,#post .rbs_block .table>tfoot>tr.info>th,#post .rbs_block .table>tfoot>tr>td.info,#post .rbs_block .table>tfoot>tr>th.info,#post .rbs_block .table>thead>tr.info>td,#post .rbs_block .table>thead>tr.info>th,#post .rbs_block .table>thead>tr>td.info,#post .rbs_block .table>thead>tr>th.info{background-color:#d9edf7}#post .rbs_block .table-hover>tbody>tr.info:hover>td,#post .rbs_block .table-hover>tbody>tr.info:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.info,#post .rbs_block .table-hover>tbody>tr>td.info:hover,#post .rbs_block .table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}#post .rbs_block .table>tbody>tr.warning>td,#post .rbs_block .table>tbody>tr.warning>th,#post .rbs_block .table>tbody>tr>td.warning,#post .rbs_block .table>tbody>tr>th.warning,#post .rbs_block .table>tfoot>tr.warning>td,#post .rbs_block .table>tfoot>tr.warning>th,#post .rbs_block .table>tfoot>tr>td.warning,#post .rbs_block .table>tfoot>tr>th.warning,#post .rbs_block .table>thead>tr.warning>td,#post .rbs_block .table>thead>tr.warning>th,#post .rbs_block .table>thead>tr>td.warning,#post .rbs_block .table>thead>tr>th.warning{background-color:#fcf8e3}#post .rbs_block .table-hover>tbody>tr.warning:hover>td,#post .rbs_block .table-hover>tbody>tr.warning:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.warning,#post .rbs_block .table-hover>tbody>tr>td.warning:hover,#post .rbs_block .table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}#post .rbs_block .table>tbody>tr.danger>td,#post .rbs_block .table>tbody>tr.danger>th,#post .rbs_block .table>tbody>tr>td.danger,#post .rbs_block .table>tbody>tr>th.danger,#post .rbs_block .table>tfoot>tr.danger>td,#post .rbs_block .table>tfoot>tr.danger>th,#post .rbs_block .table>tfoot>tr>td.danger,#post .rbs_block .table>tfoot>tr>th.danger,#post .rbs_block .table>thead>tr.danger>td,#post .rbs_block .table>thead>tr.danger>th,#post .rbs_block .table>thead>tr>td.danger,#post .rbs_block .table>thead>tr>th.danger{background-color:#f2dede}#post .rbs_block .table-hover>tbody>tr.danger:hover>td,#post .rbs_block .table-hover>tbody>tr.danger:hover>th,#post .rbs_block .table-hover>tbody>tr:hover>.danger,#post .rbs_block .table-hover>tbody>tr>td.danger:hover,#post .rbs_block .table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}#post .rbs_block .table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){#post .rbs_block .table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}#post .rbs_block .table-responsive>.table{margin-bottom:0}#post .rbs_block .table-responsive>.table>tbody>tr>td,#post .rbs_block .table-responsive>.table>tbody>tr>th,#post .rbs_block .table-responsive>.table>tfoot>tr>td,#post .rbs_block .table-responsive>.table>tfoot>tr>th,#post .rbs_block .table-responsive>.table>thead>tr>td,#post .rbs_block .table-responsive>.table>thead>tr>th{white-space:nowrap}#post .rbs_block .table-responsive>.table-bordered{border:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>td:first-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>td:last-child,#post .rbs_block .table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}#post .rbs_block .table-responsive>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .table-responsive>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}#post .rbs_block fieldset{min-width:0;padding:0;margin:0;border:0}#post .rbs_block legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}#post .rbs_block label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}#post .rbs_block input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none}#post .rbs_block input[type=checkbox],#post .rbs_block input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}#post .rbs_block .form-control,#post .rbs_block output{font-size:14px;line-height:1.42857143;color:#555;display:block}#post .rbs_block input[type=file]{display:block}#post .rbs_block input[type=range]{display:block;width:100%}#post .rbs_block select[multiple],#post .rbs_block select[size]{height:auto}#post .rbs_block input[type=file]:focus,#post .rbs_block input[type=checkbox]:focus,#post .rbs_block input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block output{padding-top:7px}#post .rbs_block .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}#post .rbs_block .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}#post .rbs_block .form-control::-moz-placeholder{color:#999;opacity:1}#post .rbs_block .form-control:-ms-input-placeholder{color:#999}#post .rbs_block .form-control::-webkit-input-placeholder{color:#999}#post .rbs_block .has-success .checkbox,#post .rbs_block .has-success .checkbox-inline,#post .rbs_block .has-success .control-label,#post .rbs_block .has-success .form-control-feedback,#post .rbs_block .has-success .help-block,#post .rbs_block .has-success .radio,#post .rbs_block .has-success .radio-inline,#post .rbs_block .has-success.checkbox label,#post .rbs_block .has-success.checkbox-inline label,#post .rbs_block .has-success.radio label,#post .rbs_block .has-success.radio-inline label{color:#3c763d}#post .rbs_block .form-control[disabled],#post .rbs_block .form-control[readonly],#post .rbs_block fieldset[disabled] .form-control{background-color:#eee;opacity:1}#post .rbs_block .form-control[disabled],#post .rbs_block fieldset[disabled] .form-control{cursor:not-allowed}#post .rbs_block textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){#post .rbs_block input[type=date],#post .rbs_block input[type=time],#post .rbs_block input[type=datetime-local],#post .rbs_block input[type=month]{line-height:34px}#post .rbs_block .input-group-sm input[type=date],#post .rbs_block .input-group-sm input[type=time],#post .rbs_block .input-group-sm input[type=datetime-local],#post .rbs_block .input-group-sm input[type=month],#post .rbs_block input[type=date].input-sm,#post .rbs_block input[type=time].input-sm,#post .rbs_block input[type=datetime-local].input-sm,#post .rbs_block input[type=month].input-sm{line-height:30px}#post .rbs_block .input-group-lg input[type=date],#post .rbs_block .input-group-lg input[type=time],#post .rbs_block .input-group-lg input[type=datetime-local],#post .rbs_block .input-group-lg input[type=month],#post .rbs_block input[type=date].input-lg,#post .rbs_block input[type=time].input-lg,#post .rbs_block input[type=datetime-local].input-lg,#post .rbs_block input[type=month].input-lg{line-height:46px}}#post .rbs_block .form-group{margin-bottom:15px}#post .rbs_block .checkbox,#post .rbs_block .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}#post .rbs_block .checkbox label,#post .rbs_block .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}#post .rbs_block .checkbox input[type=checkbox],#post .rbs_block .checkbox-inline input[type=checkbox],#post .rbs_block .radio input[type=radio],#post .rbs_block .radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}#post .rbs_block .checkbox+.checkbox,#post .rbs_block .radio+.radio{margin-top:-5px}#post .rbs_block .checkbox-inline,#post .rbs_block .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}#post .rbs_block .checkbox-inline+.checkbox-inline,#post .rbs_block .radio-inline+.radio-inline{margin-top:0;margin-left:10px}#post .rbs_block .checkbox-inline.disabled,#post .rbs_block .checkbox.disabled label,#post .rbs_block .radio-inline.disabled,#post .rbs_block .radio.disabled label,#post .rbs_block fieldset[disabled] .checkbox label,#post .rbs_block fieldset[disabled] .checkbox-inline,#post .rbs_block fieldset[disabled] .radio label,#post .rbs_block fieldset[disabled] .radio-inline,#post .rbs_block fieldset[disabled] input[type=checkbox],#post .rbs_block fieldset[disabled] input[type=radio],#post .rbs_block input[type=checkbox].disabled,#post .rbs_block input[type=checkbox][disabled],#post .rbs_block input[type=radio].disabled,#post .rbs_block input[type=radio][disabled]{cursor:not-allowed}#post .rbs_block .form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}#post .rbs_block .form-control-static.input-lg,#post .rbs_block .form-control-static.input-sm{padding-right:0;padding-left:0}#post .rbs_block .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.input-sm{height:30px;line-height:30px}#post .rbs_block select[multiple].input-sm,#post .rbs_block textarea.input-sm{height:auto}#post .rbs_block .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.form-group-sm .form-control{height:30px;line-height:30px}#post .rbs_block select[multiple].form-group-sm .form-control,#post .rbs_block textarea.form-group-sm .form-control{height:auto}#post .rbs_block .form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}#post .rbs_block .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.input-lg{height:46px;line-height:46px}#post .rbs_block select[multiple].input-lg,#post .rbs_block textarea.input-lg{height:auto}#post .rbs_block .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.form-group-lg .form-control{height:46px;line-height:46px}#post .rbs_block select[multiple].form-group-lg .form-control,#post .rbs_block textarea.form-group-lg .form-control{height:auto}#post .rbs_block .form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}#post .rbs_block .has-feedback{position:relative}#post .rbs_block .has-feedback .form-control{padding-right:42.5px}#post .rbs_block .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}#post .rbs_block .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}#post .rbs_block .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}#post .rbs_block .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}#post .rbs_block .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}#post .rbs_block .has-warning .checkbox,#post .rbs_block .has-warning .checkbox-inline,#post .rbs_block .has-warning .control-label,#post .rbs_block .has-warning .form-control-feedback,#post .rbs_block .has-warning .help-block,#post .rbs_block .has-warning .radio,#post .rbs_block .has-warning .radio-inline,#post .rbs_block .has-warning.checkbox label,#post .rbs_block .has-warning.checkbox-inline label,#post .rbs_block .has-warning.radio label,#post .rbs_block .has-warning.radio-inline label{color:#8a6d3b}#post .rbs_block .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}#post .rbs_block .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}#post .rbs_block .has-error .checkbox,#post .rbs_block .has-error .checkbox-inline,#post .rbs_block .has-error .control-label,#post .rbs_block .has-error .form-control-feedback,#post .rbs_block .has-error .help-block,#post .rbs_block .has-error .radio,#post .rbs_block .has-error .radio-inline,#post .rbs_block .has-error.checkbox label,#post .rbs_block .has-error.checkbox-inline label,#post .rbs_block .has-error.radio label,#post .rbs_block .has-error.radio-inline label{color:#a94442}#post .rbs_block .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}#post .rbs_block .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}#post .rbs_block .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}#post .rbs_block .has-feedback label~.form-control-feedback{top:25px}#post .rbs_block .has-feedback label.sr-only~.form-control-feedback{top:0}#post .rbs_block .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){#post .rbs_block .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}#post .rbs_block .form-inline .form-control-static{display:inline-block}#post .rbs_block .form-inline .input-group{display:inline-table;vertical-align:middle}#post .rbs_block .form-inline .input-group .form-control,#post .rbs_block .form-inline .input-group .input-group-addon,#post .rbs_block .form-inline .input-group .input-group-btn{width:auto}#post .rbs_block .form-inline .input-group>.form-control{width:100%}#post .rbs_block .form-inline .control-label{margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .checkbox,#post .rbs_block .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}#post .rbs_block .form-inline .checkbox label,#post .rbs_block .form-inline .radio label{padding-left:0}#post .rbs_block .form-inline .checkbox input[type=checkbox],#post .rbs_block .form-inline .radio input[type=radio]{position:relative;margin-left:0}#post .rbs_block .form-inline .has-feedback .form-control-feedback{top:0}#post .rbs_block .form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}#post .rbs_block .form-horizontal .control-label.text-left{text-align:left}}#post .rbs_block .form-horizontal .checkbox,#post .rbs_block .form-horizontal .checkbox-inline,#post .rbs_block .form-horizontal .radio,#post .rbs_block .form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}#post .rbs_block .form-horizontal .checkbox,#post .rbs_block .form-horizontal .radio{min-height:27px}#post .rbs_block .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}#post .rbs_block .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){#post .rbs_block .form-horizontal .form-group-lg .control-label{padding-top:14.33px}#post .rbs_block .form-horizontal .form-group-sm .control-label{padding-top:6px}}#post .rbs_block .btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}#post .rbs_block .btn.active.focus,#post .rbs_block .btn.active:focus,#post .rbs_block .btn.focus,#post .rbs_block .btn:active.focus,#post .rbs_block .btn:active:focus,#post .rbs_block .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#post .rbs_block .btn.focus,#post .rbs_block .btn:focus,#post .rbs_block .btn:hover{color:#333;text-decoration:none}#post .rbs_block .btn.active,#post .rbs_block .btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}#post .rbs_block .btn.disabled,#post .rbs_block .btn[disabled],#post .rbs_block fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}#post .rbs_block .btn-default{color:#333;background-color:#fff;border-color:#ccc}#post .rbs_block .btn-default.active,#post .rbs_block .btn-default.focus,#post .rbs_block .btn-default:active,#post .rbs_block .btn-default:focus,#post .rbs_block .btn-default:hover,#post .rbs_block .open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}#post .rbs_block .btn-default.active,#post .rbs_block .btn-default:active,#post .rbs_block .open>.dropdown-toggle.btn-default{background-image:none}#post .rbs_block .btn-default.disabled,#post .rbs_block .btn-default.disabled.active,#post .rbs_block .btn-default.disabled.focus,#post .rbs_block .btn-default.disabled:active,#post .rbs_block .btn-default.disabled:focus,#post .rbs_block .btn-default.disabled:hover,#post .rbs_block .btn-default[disabled],#post .rbs_block .btn-default[disabled].active,#post .rbs_block .btn-default[disabled].focus,#post .rbs_block .btn-default[disabled]:active,#post .rbs_block .btn-default[disabled]:focus,#post .rbs_block .btn-default[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-default,#post .rbs_block fieldset[disabled] .btn-default.active,#post .rbs_block fieldset[disabled] .btn-default.focus,#post .rbs_block fieldset[disabled] .btn-default:active,#post .rbs_block fieldset[disabled] .btn-default:focus,#post .rbs_block fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}#post .rbs_block .btn-default .badge{color:#fff;background-color:#333}#post .rbs_block .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}#post .rbs_block .btn-primary.active,#post .rbs_block .btn-primary.focus,#post .rbs_block .btn-primary:active,#post .rbs_block .btn-primary:focus,#post .rbs_block .btn-primary:hover,#post .rbs_block .open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}#post .rbs_block .btn-primary.active,#post .rbs_block .btn-primary:active,#post .rbs_block .open>.dropdown-toggle.btn-primary{background-image:none}#post .rbs_block .btn-primary.disabled,#post .rbs_block .btn-primary.disabled.active,#post .rbs_block .btn-primary.disabled.focus,#post .rbs_block .btn-primary.disabled:active,#post .rbs_block .btn-primary.disabled:focus,#post .rbs_block .btn-primary.disabled:hover,#post .rbs_block .btn-primary[disabled],#post .rbs_block .btn-primary[disabled].active,#post .rbs_block .btn-primary[disabled].focus,#post .rbs_block .btn-primary[disabled]:active,#post .rbs_block .btn-primary[disabled]:focus,#post .rbs_block .btn-primary[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-primary,#post .rbs_block fieldset[disabled] .btn-primary.active,#post .rbs_block fieldset[disabled] .btn-primary.focus,#post .rbs_block fieldset[disabled] .btn-primary:active,#post .rbs_block fieldset[disabled] .btn-primary:focus,#post .rbs_block fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}#post .rbs_block .btn-primary .badge{color:#337ab7;background-color:#fff}#post .rbs_block .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}#post .rbs_block .btn-success.active,#post .rbs_block .btn-success.focus,#post .rbs_block .btn-success:active,#post .rbs_block .btn-success:focus,#post .rbs_block .btn-success:hover,#post .rbs_block .open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}#post .rbs_block .btn-success.active,#post .rbs_block .btn-success:active,#post .rbs_block .open>.dropdown-toggle.btn-success{background-image:none}#post .rbs_block .btn-success.disabled,#post .rbs_block .btn-success.disabled.active,#post .rbs_block .btn-success.disabled.focus,#post .rbs_block .btn-success.disabled:active,#post .rbs_block .btn-success.disabled:focus,#post .rbs_block .btn-success.disabled:hover,#post .rbs_block .btn-success[disabled],#post .rbs_block .btn-success[disabled].active,#post .rbs_block .btn-success[disabled].focus,#post .rbs_block .btn-success[disabled]:active,#post .rbs_block .btn-success[disabled]:focus,#post .rbs_block .btn-success[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-success,#post .rbs_block fieldset[disabled] .btn-success.active,#post .rbs_block fieldset[disabled] .btn-success.focus,#post .rbs_block fieldset[disabled] .btn-success:active,#post .rbs_block fieldset[disabled] .btn-success:focus,#post .rbs_block fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}#post .rbs_block .btn-success .badge{color:#5cb85c;background-color:#fff}#post .rbs_block .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}#post .rbs_block .btn-info.active,#post .rbs_block .btn-info.focus,#post .rbs_block .btn-info:active,#post .rbs_block .btn-info:focus,#post .rbs_block .btn-info:hover,#post .rbs_block .open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}#post .rbs_block .btn-info.active,#post .rbs_block .btn-info:active,#post .rbs_block .open>.dropdown-toggle.btn-info{background-image:none}#post .rbs_block .btn-info.disabled,#post .rbs_block .btn-info.disabled.active,#post .rbs_block .btn-info.disabled.focus,#post .rbs_block .btn-info.disabled:active,#post .rbs_block .btn-info.disabled:focus,#post .rbs_block .btn-info.disabled:hover,#post .rbs_block .btn-info[disabled],#post .rbs_block .btn-info[disabled].active,#post .rbs_block .btn-info[disabled].focus,#post .rbs_block .btn-info[disabled]:active,#post .rbs_block .btn-info[disabled]:focus,#post .rbs_block .btn-info[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-info,#post .rbs_block fieldset[disabled] .btn-info.active,#post .rbs_block fieldset[disabled] .btn-info.focus,#post .rbs_block fieldset[disabled] .btn-info:active,#post .rbs_block fieldset[disabled] .btn-info:focus,#post .rbs_block fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}#post .rbs_block .btn-info .badge{color:#5bc0de;background-color:#fff}#post .rbs_block .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}#post .rbs_block .btn-warning.active,#post .rbs_block .btn-warning.focus,#post .rbs_block .btn-warning:active,#post .rbs_block .btn-warning:focus,#post .rbs_block .btn-warning:hover,#post .rbs_block .open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}#post .rbs_block .btn-warning.active,#post .rbs_block .btn-warning:active,#post .rbs_block .open>.dropdown-toggle.btn-warning{background-image:none}#post .rbs_block .btn-warning.disabled,#post .rbs_block .btn-warning.disabled.active,#post .rbs_block .btn-warning.disabled.focus,#post .rbs_block .btn-warning.disabled:active,#post .rbs_block .btn-warning.disabled:focus,#post .rbs_block .btn-warning.disabled:hover,#post .rbs_block .btn-warning[disabled],#post .rbs_block .btn-warning[disabled].active,#post .rbs_block .btn-warning[disabled].focus,#post .rbs_block .btn-warning[disabled]:active,#post .rbs_block .btn-warning[disabled]:focus,#post .rbs_block .btn-warning[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-warning,#post .rbs_block fieldset[disabled] .btn-warning.active,#post .rbs_block fieldset[disabled] .btn-warning.focus,#post .rbs_block fieldset[disabled] .btn-warning:active,#post .rbs_block fieldset[disabled] .btn-warning:focus,#post .rbs_block fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}#post .rbs_block .btn-warning .badge{color:#f0ad4e;background-color:#fff}#post .rbs_block .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}#post .rbs_block .btn-danger.active,#post .rbs_block .btn-danger.focus,#post .rbs_block .btn-danger:active,#post .rbs_block .btn-danger:focus,#post .rbs_block .btn-danger:hover,#post .rbs_block .open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}#post .rbs_block .btn-danger.active,#post .rbs_block .btn-danger:active,#post .rbs_block .open>.dropdown-toggle.btn-danger{background-image:none}#post .rbs_block .btn-danger.disabled,#post .rbs_block .btn-danger.disabled.active,#post .rbs_block .btn-danger.disabled.focus,#post .rbs_block .btn-danger.disabled:active,#post .rbs_block .btn-danger.disabled:focus,#post .rbs_block .btn-danger.disabled:hover,#post .rbs_block .btn-danger[disabled],#post .rbs_block .btn-danger[disabled].active,#post .rbs_block .btn-danger[disabled].focus,#post .rbs_block .btn-danger[disabled]:active,#post .rbs_block .btn-danger[disabled]:focus,#post .rbs_block .btn-danger[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-danger,#post .rbs_block fieldset[disabled] .btn-danger.active,#post .rbs_block fieldset[disabled] .btn-danger.focus,#post .rbs_block fieldset[disabled] .btn-danger:active,#post .rbs_block fieldset[disabled] .btn-danger:focus,#post .rbs_block fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}#post .rbs_block .btn-danger .badge{color:#d9534f;background-color:#fff}#post .rbs_block .btn-link{font-weight:400;color:#337ab7;border-radius:0}#post .rbs_block .btn-link,#post .rbs_block .btn-link.active,#post .rbs_block .btn-link:active,#post .rbs_block .btn-link[disabled],#post .rbs_block fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .btn-link,#post .rbs_block .btn-link:active,#post .rbs_block .btn-link:focus,#post .rbs_block .btn-link:hover{border-color:transparent}#post .rbs_block .btn-link:focus,#post .rbs_block .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}#post .rbs_block .btn-link[disabled]:focus,#post .rbs_block .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .btn-link:focus,#post .rbs_block fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}#post .rbs_block .btn-group-lg>.btn,#post .rbs_block .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block .btn-group-sm>.btn,#post .rbs_block .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block .btn-group-xs>.btn,#post .rbs_block .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block .btn-block{display:block;width:100%}#post .rbs_block .btn-block+.btn-block{margin-top:5px}#post .rbs_block input[type=button].btn-block,#post .rbs_block input[type=reset].btn-block,#post .rbs_block input[type=submit].btn-block{width:100%}#post .rbs_block .fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}#post .rbs_block .fade.in{opacity:1}#post .rbs_block .collapse{display:none}#post .rbs_block .collapse.in{display:block}#post .rbs_block tr.collapse.in{display:table-row}#post .rbs_block tbody.collapse.in{display:table-row-group}#post .rbs_block .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}#post .rbs_block .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}#post .rbs_block .dropdown,#post .rbs_block .dropup{position:relative}#post .rbs_block .dropdown-toggle:focus{outline:0}#post .rbs_block .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}#post .rbs_block .dropdown-menu-right,#post .rbs_block .dropdown-menu.pull-right{right:0;left:auto}#post .rbs_block .dropdown-header,#post .rbs_block .dropdown-menu>li>a{display:block;padding:3px 20px;line-height:1.42857143;white-space:nowrap}#post .rbs_block .btn-group-vertical>.btn:not(:first-child):not(:last-child),#post .rbs_block .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,#post .rbs_block .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}#post .rbs_block .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}#post .rbs_block .dropdown-menu>li>a{clear:both;font-weight:400;color:#333}#post .rbs_block .dropdown-menu>li>a:focus,#post .rbs_block .dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}#post .rbs_block .dropdown-menu>.active>a,#post .rbs_block .dropdown-menu>.active>a:focus,#post .rbs_block .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}#post .rbs_block .dropdown-menu>.disabled>a,#post .rbs_block .dropdown-menu>.disabled>a:focus,#post .rbs_block .dropdown-menu>.disabled>a:hover{color:#777}#post .rbs_block .dropdown-menu>.disabled>a:focus,#post .rbs_block .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}#post .rbs_block .open>.dropdown-menu{display:block}#post .rbs_block .open>a{outline:0}#post .rbs_block .dropdown-menu-left{right:auto;left:0}#post .rbs_block .dropdown-header{font-size:12px;color:#777}#post .rbs_block .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}#post .rbs_block .nav-justified>.dropdown .dropdown-menu,#post .rbs_block .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}#post .rbs_block .btn-group-vertical>.btn.active,#post .rbs_block .btn-group-vertical>.btn:active,#post .rbs_block .btn-group-vertical>.btn:focus,#post .rbs_block .btn-group-vertical>.btn:hover,#post .rbs_block .btn-group>.btn.active,#post .rbs_block .btn-group>.btn:active,#post .rbs_block .btn-group>.btn:focus,#post .rbs_block .btn-group>.btn:hover,#post .rbs_block .input-group-btn>.btn:active,#post .rbs_block .input-group-btn>.btn:focus,#post .rbs_block .input-group-btn>.btn:hover{z-index:2}#post .rbs_block .pull-right>.dropdown-menu{right:0;left:auto}#post .rbs_block .dropup .caret,#post .rbs_block .navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}#post .rbs_block .dropup .dropdown-menu,#post .rbs_block .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){#post .rbs_block .navbar-right .dropdown-menu{right:0;left:auto}#post .rbs_block .navbar-right .dropdown-menu-left{right:auto;left:0}}#post .rbs_block .btn-group,#post .rbs_block .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}#post .rbs_block .btn-group-vertical>.btn,#post .rbs_block .btn-group>.btn{position:relative;float:left}#post .rbs_block .btn-group .btn+.btn,#post .rbs_block .btn-group .btn+.btn-group,#post .rbs_block .btn-group .btn-group+.btn,#post .rbs_block .btn-group .btn-group+.btn-group{margin-left:-1px}#post .rbs_block .btn-toolbar{margin-left:-5px}#post .rbs_block .btn-toolbar>.btn,#post .rbs_block .btn-toolbar>.btn-group,#post .rbs_block .btn-toolbar>.input-group{margin-left:5px}#post .rbs_block .btn .caret,#post .rbs_block .btn-group>.btn:first-child{margin-left:0}#post .rbs_block .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .btn-group>.btn:last-child:not(:first-child),#post .rbs_block .btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,#post .rbs_block .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group .dropdown-toggle:active,#post .rbs_block .btn-group.open .dropdown-toggle{outline:0}#post .rbs_block .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}#post .rbs_block .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}#post .rbs_block .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}#post .rbs_block .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .btn-lg .caret{border-width:5px 5px 0}#post .rbs_block .dropup .btn-lg .caret{border-width:0 5px 5px}#post .rbs_block .btn-group-vertical>.btn,#post .rbs_block .btn-group-vertical>.btn-group,#post .rbs_block .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}#post .rbs_block .btn-group-vertical>.btn-group>.btn{float:none}#post .rbs_block .btn-group-vertical>.btn+.btn,#post .rbs_block .btn-group-vertical>.btn+.btn-group,#post .rbs_block .btn-group-vertical>.btn-group+.btn,#post .rbs_block .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}#post .rbs_block .input-group-btn:last-child>.btn,#post .rbs_block .input-group-btn:last-child>.btn-group,#post .rbs_block .input-group-btn>.btn+.btn{margin-left:-1px}#post .rbs_block .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}#post .rbs_block .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}#post .rbs_block .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,#post .rbs_block .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}#post .rbs_block .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}#post .rbs_block .btn-group-justified>.btn,#post .rbs_block .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}#post .rbs_block .btn-group-justified>.btn-group .btn{width:100%}#post .rbs_block .btn-group-justified>.btn-group .dropdown-menu{left:auto}#post .rbs_block [data-toggle=buttons]>.btn input[type=checkbox],#post .rbs_block [data-toggle=buttons]>.btn input[type=radio],#post .rbs_block [data-toggle=buttons]>.btn-group>.btn input[type=checkbox],#post .rbs_block [data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}#post .rbs_block .input-group{position:relative;display:table;border-collapse:separate}#post .rbs_block .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}#post .rbs_block .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}#post .rbs_block .input-group-lg>.form-control,#post .rbs_block .input-group-lg>.input-group-addon,#post .rbs_block .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}#post .rbs_block select.input-group-lg>.form-control,#post .rbs_block select.input-group-lg>.input-group-addon,#post .rbs_block select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}#post .rbs_block select[multiple].input-group-lg>.form-control,#post .rbs_block select[multiple].input-group-lg>.input-group-addon,#post .rbs_block select[multiple].input-group-lg>.input-group-btn>.btn,#post .rbs_block textarea.input-group-lg>.form-control,#post .rbs_block textarea.input-group-lg>.input-group-addon,#post .rbs_block textarea.input-group-lg>.input-group-btn>.btn{height:auto}#post .rbs_block .input-group-sm>.form-control,#post .rbs_block .input-group-sm>.input-group-addon,#post .rbs_block .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}#post .rbs_block select.input-group-sm>.form-control,#post .rbs_block select.input-group-sm>.input-group-addon,#post .rbs_block select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}#post .rbs_block select[multiple].input-group-sm>.form-control,#post .rbs_block select[multiple].input-group-sm>.input-group-addon,#post .rbs_block select[multiple].input-group-sm>.input-group-btn>.btn,#post .rbs_block textarea.input-group-sm>.form-control,#post .rbs_block textarea.input-group-sm>.input-group-addon,#post .rbs_block textarea.input-group-sm>.input-group-btn>.btn{height:auto}#post .rbs_block .input-group .form-control,#post .rbs_block .input-group-addon,#post .rbs_block .input-group-btn{display:table-cell}#post .rbs_block .nav>li,#post .rbs_block .nav>li>a{display:block;position:relative}#post .rbs_block .input-group .form-control:not(:first-child):not(:last-child),#post .rbs_block .input-group-addon:not(:first-child):not(:last-child),#post .rbs_block .input-group-btn:not(:first-child):not(:last-child){border-radius:0}#post .rbs_block .input-group-addon,#post .rbs_block .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}#post .rbs_block .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}#post .rbs_block .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}#post .rbs_block .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}#post .rbs_block .input-group-addon input[type=checkbox],#post .rbs_block .input-group-addon input[type=radio]{margin-top:0}#post .rbs_block .input-group .form-control:first-child,#post .rbs_block .input-group-addon:first-child,#post .rbs_block .input-group-btn:first-child>.btn,#post .rbs_block .input-group-btn:first-child>.btn-group>.btn,#post .rbs_block .input-group-btn:first-child>.dropdown-toggle,#post .rbs_block .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,#post .rbs_block .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}#post .rbs_block .input-group-addon:first-child{border-right:0}#post .rbs_block .input-group .form-control:last-child,#post .rbs_block .input-group-addon:last-child,#post .rbs_block .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,#post .rbs_block .input-group-btn:first-child>.btn:not(:first-child),#post .rbs_block .input-group-btn:last-child>.btn,#post .rbs_block .input-group-btn:last-child>.btn-group>.btn,#post .rbs_block .input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}#post .rbs_block .input-group-addon:last-child{border-left:0}#post .rbs_block .input-group-btn{position:relative;font-size:0;white-space:nowrap}#post .rbs_block .input-group-btn>.btn{position:relative}#post .rbs_block .input-group-btn:first-child>.btn,#post .rbs_block .input-group-btn:first-child>.btn-group{margin-right:-1px}#post .rbs_block .nav{padding-left:0;margin-bottom:0;list-style:none}#post .rbs_block .nav>li>a{padding:10px 15px}#post .rbs_block .nav>li>a:focus,#post .rbs_block .nav>li>a:hover{text-decoration:none;background-color:#eee}#post .rbs_block .nav>li.disabled>a{color:#777}#post .rbs_block .nav>li.disabled>a:focus,#post .rbs_block .nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}#post .rbs_block .nav .open>a,#post .rbs_block .nav .open>a:focus,#post .rbs_block .nav .open>a:hover{background-color:#eee;border-color:#337ab7}#post .rbs_block .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}#post .rbs_block .nav>li>a>img{max-width:none}#post .rbs_block .nav-tabs{border-bottom:1px solid #ddd}#post .rbs_block .nav-tabs>li{float:left;margin-bottom:-1px}#post .rbs_block .nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}#post .rbs_block .nav-tabs>li.active>a,#post .rbs_block .nav-tabs>li.active>a:focus,#post .rbs_block .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}#post .rbs_block .nav-tabs.nav-justified{width:100%;border-bottom:0}#post .rbs_block .nav-tabs.nav-justified>li{float:none}#post .rbs_block .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}#post .rbs_block .nav-tabs.nav-justified>.active>a,#post .rbs_block .nav-tabs.nav-justified>.active>a:focus,#post .rbs_block .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){#post .rbs_block .nav-tabs.nav-justified>li{display:table-cell;width:1%}#post .rbs_block .nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs.nav-justified>.active>a,#post .rbs_block .nav-tabs.nav-justified>.active>a:focus,#post .rbs_block .nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}#post .rbs_block .nav-pills>li{float:left}#post .rbs_block .nav-justified>li,#post .rbs_block .nav-stacked>li{float:none}#post .rbs_block .nav-pills>li>a{border-radius:4px}#post .rbs_block .nav-pills>li+li{margin-left:2px}#post .rbs_block .nav-pills>li.active>a,#post .rbs_block .nav-pills>li.active>a:focus,#post .rbs_block .nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}#post .rbs_block .nav-stacked>li+li{margin-top:2px;margin-left:0}#post .rbs_block .nav-justified{width:100%}#post .rbs_block .nav-justified>li>a{margin-bottom:5px;text-align:center}#post .rbs_block .nav-tabs-justified{border-bottom:0}#post .rbs_block .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}#post .rbs_block .nav-tabs-justified>.active>a,#post .rbs_block .nav-tabs-justified>.active>a:focus,#post .rbs_block .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){#post .rbs_block .nav-justified>li{display:table-cell;width:1%}#post .rbs_block .nav-justified>li>a{margin-bottom:0}#post .rbs_block .nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}#post .rbs_block .nav-tabs-justified>.active>a,#post .rbs_block .nav-tabs-justified>.active>a:focus,#post .rbs_block .nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}#post .rbs_block .tab-content>.tab-pane{display:none}#post .rbs_block .tab-content>.active{display:block}#post .rbs_block .nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}#post .rbs_block .navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}#post .rbs_block .navbar-collapse.in{overflow-y:auto}#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse{max-height:200px}}#post .rbs_block .container-fluid>.navbar-collapse,#post .rbs_block .container-fluid>.navbar-header,#post .rbs_block .container>.navbar-collapse,#post .rbs_block .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){#post .rbs_block .navbar{border-radius:4px}#post .rbs_block .navbar-header{float:left}#post .rbs_block .navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}#post .rbs_block .navbar-collapse.in{overflow-y:visible}#post .rbs_block .navbar-fixed-bottom .navbar-collapse,#post .rbs_block .navbar-fixed-top .navbar-collapse,#post .rbs_block .navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}#post .rbs_block .container-fluid>.navbar-collapse,#post .rbs_block .container-fluid>.navbar-header,#post .rbs_block .container>.navbar-collapse,#post .rbs_block .container>.navbar-header{margin-right:0;margin-left:0}#post .rbs_block .navbar-static-top{border-radius:0}}#post .rbs_block .navbar-static-top{z-index:1000;border-width:0 0 1px}#post .rbs_block .navbar-fixed-bottom,#post .rbs_block .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}#post .rbs_block .navbar-fixed-top{top:0;border-width:0 0 1px}#post .rbs_block .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}#post .rbs_block .navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}#post .rbs_block .navbar-brand:focus,#post .rbs_block .navbar-brand:hover{text-decoration:none}#post .rbs_block .navbar-brand>img{display:block}@media (min-width:768px){#post .rbs_block .navbar-fixed-bottom,#post .rbs_block .navbar-fixed-top{border-radius:0}#post .rbs_block .navbar>.container .navbar-brand,#post .rbs_block .navbar>.container-fluid .navbar-brand{margin-left:-15px}}#post .rbs_block .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}#post .rbs_block .navbar-toggle:focus{outline:0}#post .rbs_block .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}#post .rbs_block .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}#post .rbs_block .navbar-nav{margin:7.5px -15px}#post .rbs_block .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){#post .rbs_block .navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}#post .rbs_block .navbar-nav .open .dropdown-menu .dropdown-header,#post .rbs_block .navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}#post .rbs_block .navbar-nav .open .dropdown-menu>li>a{line-height:20px}#post .rbs_block .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}#post .rbs_block .progress-bar-striped,#post .rbs_block .progress-striped .progress-bar,#post .rbs_block .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}@media (min-width:768px){#post .rbs_block .navbar-toggle{display:none}#post .rbs_block .navbar-nav{float:left;margin:0}#post .rbs_block .navbar-nav>li{float:left}#post .rbs_block .navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}#post .rbs_block .navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (min-width:768px){#post .rbs_block .navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}#post .rbs_block .navbar-form .form-control-static{display:inline-block}#post .rbs_block .navbar-form .input-group{display:inline-table;vertical-align:middle}#post .rbs_block .navbar-form .input-group .form-control,#post .rbs_block .navbar-form .input-group .input-group-addon,#post .rbs_block .navbar-form .input-group .input-group-btn{width:auto}#post .rbs_block .navbar-form .input-group>.form-control{width:100%}#post .rbs_block .navbar-form .control-label{margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .checkbox,#post .rbs_block .navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}#post .rbs_block .navbar-form .checkbox label,#post .rbs_block .navbar-form .radio label{padding-left:0}#post .rbs_block .navbar-form .checkbox input[type=checkbox],#post .rbs_block .navbar-form .radio input[type=radio]{position:relative;margin-left:0}#post .rbs_block .navbar-form .has-feedback .form-control-feedback{top:0}#post .rbs_block .navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}#post .rbs_block .btn .badge,#post .rbs_block .btn .label{top:-1px;position:relative}@media (max-width:767px){#post .rbs_block .navbar-form .form-group{margin-bottom:5px}#post .rbs_block .navbar-form .form-group:last-child{margin-bottom:0}}#post .rbs_block .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}#post .rbs_block .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}#post .rbs_block .navbar-btn{margin-top:8px;margin-bottom:8px}#post .rbs_block .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}#post .rbs_block .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}#post .rbs_block .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){#post .rbs_block .navbar-text{float:left;margin-right:15px;margin-left:15px}#post .rbs_block .navbar-left{float:left!important}#post .rbs_block .navbar-right{float:right!important;margin-right:-15px}#post .rbs_block .navbar-right~.navbar-right{margin-right:0}}#post .rbs_block .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-brand{color:#777}#post .rbs_block .navbar-default .navbar-brand:focus,#post .rbs_block .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav>li>a,#post .rbs_block .navbar-default .navbar-text{color:#777}#post .rbs_block .navbar-default .navbar-nav>li>a:focus,#post .rbs_block .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav>.active>a,#post .rbs_block .navbar-default .navbar-nav>.active>a:focus,#post .rbs_block .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav>.disabled>a,#post .rbs_block .navbar-default .navbar-nav>.disabled>a:focus,#post .rbs_block .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}#post .rbs_block .navbar-default .navbar-toggle{border-color:#ddd}#post .rbs_block .navbar-default .navbar-toggle:focus,#post .rbs_block .navbar-default .navbar-toggle:hover{background-color:#ddd}#post .rbs_block .navbar-default .navbar-toggle .icon-bar{background-color:#888}#post .rbs_block .navbar-default .navbar-collapse,#post .rbs_block .navbar-default .navbar-form{border-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav>.open>a,#post .rbs_block .navbar-default .navbar-nav>.open>a:focus,#post .rbs_block .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,#post .rbs_block .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}#post .rbs_block .navbar-default .navbar-link{color:#777}#post .rbs_block .navbar-default .navbar-link:hover{color:#333}#post .rbs_block .navbar-default .btn-link{color:#777}#post .rbs_block .navbar-default .btn-link:focus,#post .rbs_block .navbar-default .btn-link:hover{color:#333}#post .rbs_block .navbar-default .btn-link[disabled]:focus,#post .rbs_block .navbar-default .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .navbar-default .btn-link:focus,#post .rbs_block fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}#post .rbs_block .navbar-inverse{background-color:#222;border-color:#080808}#post .rbs_block .navbar-inverse .navbar-brand{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-brand:focus,#post .rbs_block .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav>li>a,#post .rbs_block .navbar-inverse .navbar-text{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-nav>li>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav>.active>a,#post .rbs_block .navbar-inverse .navbar-nav>.active>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a,#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-toggle{border-color:#333}#post .rbs_block .navbar-inverse .navbar-toggle:focus,#post .rbs_block .navbar-inverse .navbar-toggle:hover{background-color:#333}#post .rbs_block .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}#post .rbs_block .navbar-inverse .navbar-collapse,#post .rbs_block .navbar-inverse .navbar-form{border-color:#101010}#post .rbs_block .navbar-inverse .navbar-nav>.open>a,#post .rbs_block .navbar-inverse .navbar-nav>.open>a:focus,#post .rbs_block .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,#post .rbs_block .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}#post .rbs_block .navbar-inverse .navbar-link{color:#9d9d9d}#post .rbs_block .navbar-inverse .navbar-link:hover{color:#fff}#post .rbs_block .navbar-inverse .btn-link{color:#9d9d9d}#post .rbs_block .navbar-inverse .btn-link:focus,#post .rbs_block .navbar-inverse .btn-link:hover{color:#fff}#post .rbs_block .navbar-inverse .btn-link[disabled]:focus,#post .rbs_block .navbar-inverse .btn-link[disabled]:hover,#post .rbs_block fieldset[disabled] .navbar-inverse .btn-link:focus,#post .rbs_block fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}#post .rbs_block .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}#post .rbs_block .breadcrumb>li{display:inline-block}#post .rbs_block .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}#post .rbs_block .breadcrumb>.active{color:#777}#post .rbs_block .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}#post .rbs_block .pager li,#post .rbs_block .pagination>li{display:inline}#post .rbs_block .pagination>li>a,#post .rbs_block .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}#post .rbs_block .badge,#post .rbs_block .label{font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline;text-align:center}#post .rbs_block .pagination>li:first-child>a,#post .rbs_block .pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#post .rbs_block .pagination>li:last-child>a,#post .rbs_block .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}#post .rbs_block .pagination>li>a:focus,#post .rbs_block .pagination>li>a:hover,#post .rbs_block .pagination>li>span:focus,#post .rbs_block .pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}#post .rbs_block .pagination>.active>a,#post .rbs_block .pagination>.active>a:focus,#post .rbs_block .pagination>.active>a:hover,#post .rbs_block .pagination>.active>span,#post .rbs_block .pagination>.active>span:focus,#post .rbs_block .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .pagination>.disabled>a,#post .rbs_block .pagination>.disabled>a:focus,#post .rbs_block .pagination>.disabled>a:hover,#post .rbs_block .pagination>.disabled>span,#post .rbs_block .pagination>.disabled>span:focus,#post .rbs_block .pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}#post .rbs_block .pagination-lg>li>a,#post .rbs_block .pagination-lg>li>span{padding:10px 16px;font-size:18px}#post .rbs_block .pagination-lg>li:first-child>a,#post .rbs_block .pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}#post .rbs_block .pagination-lg>li:last-child>a,#post .rbs_block .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}#post .rbs_block .pagination-sm>li>a,#post .rbs_block .pagination-sm>li>span{padding:5px 10px;font-size:12px}#post .rbs_block .pagination-sm>li:first-child>a,#post .rbs_block .pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .pagination-sm>li:last-child>a,#post .rbs_block .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}#post .rbs_block .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}#post .rbs_block .pager li>a,#post .rbs_block .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}#post .rbs_block .pager li>a:focus,#post .rbs_block .pager li>a:hover{text-decoration:none;background-color:#eee}#post .rbs_block .pager .next>a,#post .rbs_block .pager .next>span{float:right}#post .rbs_block .pager .previous>a,#post .rbs_block .pager .previous>span{float:left}#post .rbs_block .pager .disabled>a,#post .rbs_block .pager .disabled>a:focus,#post .rbs_block .pager .disabled>a:hover,#post .rbs_block .pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}#post .rbs_block a.badge:focus,#post .rbs_block a.badge:hover,#post .rbs_block a.label:focus,#post .rbs_block a.label:hover{color:#fff;cursor:pointer;text-decoration:none}#post .rbs_block .label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}#post .rbs_block .label:empty{display:none}#post .rbs_block .label-default{background-color:#777}#post .rbs_block .label-default[href]:focus,#post .rbs_block .label-default[href]:hover{background-color:#5e5e5e}#post .rbs_block .label-primary{background-color:#337ab7}#post .rbs_block .label-primary[href]:focus,#post .rbs_block .label-primary[href]:hover{background-color:#286090}#post .rbs_block .label-success{background-color:#5cb85c}#post .rbs_block .label-success[href]:focus,#post .rbs_block .label-success[href]:hover{background-color:#449d44}#post .rbs_block .label-info{background-color:#5bc0de}#post .rbs_block .label-info[href]:focus,#post .rbs_block .label-info[href]:hover{background-color:#31b0d5}#post .rbs_block .label-warning{background-color:#f0ad4e}#post .rbs_block .label-warning[href]:focus,#post .rbs_block .label-warning[href]:hover{background-color:#ec971f}#post .rbs_block .label-danger{background-color:#d9534f}#post .rbs_block .label-danger[href]:focus,#post .rbs_block .label-danger[href]:hover{background-color:#c9302c}#post .rbs_block .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;background-color:#777;border-radius:10px}#post .rbs_block .badge:empty{display:none}#post .rbs_block .btn-group-xs>.btn .badge,#post .rbs_block .btn-xs .badge{top:0;padding:1px 5px}#post .rbs_block .list-group-item.active>.badge,#post .rbs_block .nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}#post .rbs_block .list-group-item>.badge{float:right}#post .rbs_block .list-group-item>.badge+.badge{margin-right:5px}#post .rbs_block .nav-pills>li>a>.badge{margin-left:3px}#post .rbs_block .jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}#post .rbs_block .jumbotron .h1,#post .rbs_block .jumbotron h1{color:inherit}#post .rbs_block .jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}#post .rbs_block .jumbotron>hr{border-top-color:#d5d5d5}#post .rbs_block .container .jumbotron,#post .rbs_block .container-fluid .jumbotron{border-radius:6px}#post .rbs_block .jumbotron .container{max-width:100%}@media screen and (min-width:768px){#post .rbs_block .jumbotron{padding:48px 0}#post .rbs_block .container .jumbotron,#post .rbs_block .container-fluid .jumbotron{padding-right:60px;padding-left:60px}#post .rbs_block .jumbotron .h1,#post .rbs_block .jumbotron h1{font-size:63px}}#post .rbs_block .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}#post .rbs_block .thumbnail a>img,#post .rbs_block .thumbnail>img{margin-right:auto;margin-left:auto}#post .rbs_block a.thumbnail.active,#post .rbs_block a.thumbnail:focus,#post .rbs_block a.thumbnail:hover{border-color:#337ab7}#post .rbs_block .thumbnail .caption{padding:9px;color:#333}#post .rbs_block .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}#post .rbs_block .alert h4{margin-top:0;color:inherit}#post .rbs_block .alert .alert-link{font-weight:700}#post .rbs_block .alert>p,#post .rbs_block .alert>ul{margin-bottom:0}#post .rbs_block .alert>p+p{margin-top:5px}#post .rbs_block .alert-dismissable,#post .rbs_block .alert-dismissible{padding-right:35px}#post .rbs_block .alert-dismissable .close,#post .rbs_block .alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}#post .rbs_block .alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}#post .rbs_block .alert-success hr{border-top-color:#c9e2b3}#post .rbs_block .alert-success .alert-link{color:#2b542c}#post .rbs_block .alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}#post .rbs_block .alert-info hr{border-top-color:#a6e1ec}#post .rbs_block .alert-info .alert-link{color:#245269}#post .rbs_block .alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}#post .rbs_block .alert-warning hr{border-top-color:#f7e1b5}#post .rbs_block .alert-warning .alert-link{color:#66512c}#post .rbs_block .alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}#post .rbs_block .alert-danger hr{border-top-color:#e4b9c0}#post .rbs_block .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}}#post .rbs_block .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}#post .rbs_block .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,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}#post .rbs_block .progress-bar-striped,#post .rbs_block .progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}#post .rbs_block .progress-bar.active,#post .rbs_block .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}#post .rbs_block .progress-bar-success{background-color:#5cb85c}#post .rbs_block .progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-striped .progress-bar-info,#post .rbs_block .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-info{background-color:#5bc0de}#post .rbs_block .progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-warning{background-color:#f0ad4e}#post .rbs_block .progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .progress-bar-danger{background-color:#d9534f}#post .rbs_block .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}#post .rbs_block .media{margin-top:15px}#post .rbs_block .media:first-child{margin-top:0}#post .rbs_block .media,#post .rbs_block .media-body{overflow:hidden;zoom:1}#post .rbs_block .media-body{width:10000px}#post .rbs_block .media-object{display:block}#post .rbs_block .media-right,#post .rbs_block .media>.pull-right{padding-left:10px}#post .rbs_block .media-left,#post .rbs_block .media>.pull-left{padding-right:10px}#post .rbs_block .media-body,#post .rbs_block .media-left,#post .rbs_block .media-right{display:table-cell;vertical-align:top}#post .rbs_block .media-middle{vertical-align:middle}#post .rbs_block .media-bottom{vertical-align:bottom}#post .rbs_block .media-heading{margin-top:0;margin-bottom:5px}#post .rbs_block .media-list{padding-left:0;list-style:none}#post .rbs_block .list-group{padding-left:0;margin-bottom:20px}#post .rbs_block .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}#post .rbs_block .list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}#post .rbs_block .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}#post .rbs_block a.list-group-item{color:#555}#post .rbs_block a.list-group-item .list-group-item-heading{color:#333}#post .rbs_block a.list-group-item:focus,#post .rbs_block a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}#post .rbs_block .list-group-item.disabled,#post .rbs_block .list-group-item.disabled:focus,#post .rbs_block .list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}#post .rbs_block .list-group-item.disabled .list-group-item-heading,#post .rbs_block .list-group-item.disabled:focus .list-group-item-heading,#post .rbs_block .list-group-item.disabled:hover .list-group-item-heading{color:inherit}#post .rbs_block .list-group-item.disabled .list-group-item-text,#post .rbs_block .list-group-item.disabled:focus .list-group-item-text,#post .rbs_block .list-group-item.disabled:hover .list-group-item-text{color:#777}#post .rbs_block .list-group-item.active,#post .rbs_block .list-group-item.active:focus,#post .rbs_block .list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .list-group-item.active .list-group-item-heading,#post .rbs_block .list-group-item.active .list-group-item-heading>.small,#post .rbs_block .list-group-item.active .list-group-item-heading>small,#post .rbs_block .list-group-item.active:focus .list-group-item-heading,#post .rbs_block .list-group-item.active:focus .list-group-item-heading>.small,#post .rbs_block .list-group-item.active:focus .list-group-item-heading>small,#post .rbs_block .list-group-item.active:hover .list-group-item-heading,#post .rbs_block .list-group-item.active:hover .list-group-item-heading>.small,#post .rbs_block .list-group-item.active:hover .list-group-item-heading>small{color:inherit}#post .rbs_block .list-group-item.active .list-group-item-text,#post .rbs_block .list-group-item.active:focus .list-group-item-text,#post .rbs_block .list-group-item.active:hover .list-group-item-text{color:#c7ddef}#post .rbs_block .list-group-item-success{color:#3c763d;background-color:#dff0d8}#post .rbs_block a.list-group-item-success{color:#3c763d}#post .rbs_block a.list-group-item-success .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-success:focus,#post .rbs_block a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}#post .rbs_block a.list-group-item-success.active,#post .rbs_block a.list-group-item-success.active:focus,#post .rbs_block a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}#post .rbs_block .list-group-item-info{color:#31708f;background-color:#d9edf7}#post .rbs_block a.list-group-item-info{color:#31708f}#post .rbs_block a.list-group-item-info .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-info:focus,#post .rbs_block a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}#post .rbs_block a.list-group-item-info.active,#post .rbs_block a.list-group-item-info.active:focus,#post .rbs_block a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}#post .rbs_block .list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}#post .rbs_block a.list-group-item-warning{color:#8a6d3b}#post .rbs_block a.list-group-item-warning .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-warning:focus,#post .rbs_block a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}#post .rbs_block a.list-group-item-warning.active,#post .rbs_block a.list-group-item-warning.active:focus,#post .rbs_block a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}#post .rbs_block .list-group-item-danger{color:#a94442;background-color:#f2dede}#post .rbs_block a.list-group-item-danger{color:#a94442}#post .rbs_block a.list-group-item-danger .list-group-item-heading{color:inherit}#post .rbs_block a.list-group-item-danger:focus,#post .rbs_block a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}#post .rbs_block a.list-group-item-danger.active,#post .rbs_block a.list-group-item-danger.active:focus,#post .rbs_block a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}#post .rbs_block .panel-heading>.dropdown .dropdown-toggle,#post .rbs_block .panel-title>.small,#post .rbs_block .panel-title>.small>a,#post .rbs_block .panel-title>a,#post .rbs_block .panel-title>small,#post .rbs_block .panel-title>small>a{color:inherit}#post .rbs_block .list-group-item-heading{margin-top:0;margin-bottom:5px}#post .rbs_block .list-group-item-text{margin-bottom:0;line-height:1.3}#post .rbs_block .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}#post .rbs_block .panel-title,#post .rbs_block .panel>.list-group,#post .rbs_block .panel>.panel-collapse>.list-group,#post .rbs_block .panel>.panel-collapse>.table,#post .rbs_block .panel>.table,#post .rbs_block .panel>.table-responsive>.table{margin-bottom:0}#post .rbs_block .panel-body{padding:15px}#post .rbs_block .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel-title{margin-top:0;font-size:16px;color:inherit}#post .rbs_block .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .panel>.list-group .list-group-item,#post .rbs_block .panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}#post .rbs_block .panel-group .panel-heading,#post .rbs_block .panel>.table-bordered>tbody>tr:first-child>td,#post .rbs_block .panel>.table-bordered>tbody>tr:first-child>th,#post .rbs_block .panel>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .panel>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .panel>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .panel>.table-bordered>tfoot>tr:last-child>th,#post .rbs_block .panel>.table-bordered>thead>tr:first-child>td,#post .rbs_block .panel>.table-bordered>thead>tr:first-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr:first-child>td,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}#post .rbs_block .panel>.list-group:first-child .list-group-item:first-child,#post .rbs_block .panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel>.list-group:last-child .list-group-item:last-child,#post .rbs_block .panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .list-group+.panel-footer,#post .rbs_block .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}#post .rbs_block .panel>.panel-collapse>.table caption,#post .rbs_block .panel>.table caption,#post .rbs_block .panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,#post .rbs_block .panel>.table:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child td:first-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child td:last-child,#post .rbs_block .panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,#post .rbs_block .panel>.table:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,#post .rbs_block .panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}#post .rbs_block .panel>.panel-body+.table,#post .rbs_block .panel>.panel-body+.table-responsive,#post .rbs_block .panel>.table+.panel-body,#post .rbs_block .panel>.table-responsive+.panel-body{border-top:1px solid #ddd}#post .rbs_block .panel>.table>tbody:first-child>tr:first-child td,#post .rbs_block .panel>.table>tbody:first-child>tr:first-child th{border-top:0}#post .rbs_block .panel>.table-bordered,#post .rbs_block .panel>.table-responsive>.table-bordered{border:0}#post .rbs_block .panel>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .panel>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .panel>.table-bordered>thead>tr>td:first-child,#post .rbs_block .panel>.table-bordered>thead>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}#post .rbs_block .panel>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .panel>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .panel>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .panel>.table-bordered>thead>tr>td:last-child,#post .rbs_block .panel>.table-bordered>thead>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,#post .rbs_block .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}#post .rbs_block .panel>.table-responsive{margin-bottom:0;border:0}#post .rbs_block .panel-group{margin-bottom:20px}#post .rbs_block .panel-group .panel{margin-bottom:0;border-radius:4px}#post .rbs_block .panel-group .panel+.panel{margin-top:5px}#post .rbs_block .panel-group .panel-heading+.panel-collapse>.list-group,#post .rbs_block .panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}#post .rbs_block .panel-group .panel-footer{border-top:0}#post .rbs_block .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}#post .rbs_block .panel-default{border-color:#ddd}#post .rbs_block .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}#post .rbs_block .panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}#post .rbs_block .panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}#post .rbs_block .panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}#post .rbs_block .panel-primary{border-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}#post .rbs_block .panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}#post .rbs_block .panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}#post .rbs_block .panel-success{border-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}#post .rbs_block .panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}#post .rbs_block .panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}#post .rbs_block .panel-info{border-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}#post .rbs_block .panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}#post .rbs_block .panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}#post .rbs_block .panel-warning{border-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}#post .rbs_block .panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}#post .rbs_block .panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}#post .rbs_block .panel-danger{border-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}#post .rbs_block .panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}#post .rbs_block .panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}#post .rbs_block .embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}#post .rbs_block .embed-responsive .embed-responsive-item,#post .rbs_block .embed-responsive embed,#post .rbs_block .embed-responsive iframe,#post .rbs_block .embed-responsive object,#post .rbs_block .embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}#post .rbs_block .embed-responsive-16by9{padding-bottom:56.25%}#post .rbs_block .embed-responsive-4by3{padding-bottom:75%}#post .rbs_block .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}#post .rbs_block .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}#post .rbs_block .well-lg{padding:24px;border-radius:6px}#post .rbs_block .well-sm{padding:9px;border-radius:3px}#post .rbs_block .close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}#post .rbs_block .popover,#post .rbs_block .tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}#post .rbs_block .close:focus,#post .rbs_block .close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}#post .rbs_block button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}#post .rbs_block .modal-open{overflow:hidden}#post .rbs_block .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}#post .rbs_block .modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}#post .rbs_block .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}#post .rbs_block .modal-open .modal{overflow-x:hidden;overflow-y:auto}#post .rbs_block .modal-dialog{position:relative;width:auto;margin:10px}#post .rbs_block .modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}#post .rbs_block .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}#post .rbs_block .modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}#post .rbs_block .modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}#post .rbs_block .modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}#post .rbs_block .modal-header .close{margin-top:-2px}#post .rbs_block .modal-title{margin:0;line-height:1.42857143}#post .rbs_block .modal-body{position:relative;padding:15px}#post .rbs_block .modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}#post .rbs_block .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}#post .rbs_block .modal-footer .btn-group .btn+.btn{margin-left:-1px}#post .rbs_block .modal-footer .btn-block+.btn-block{margin-left:0}#post .rbs_block .modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){#post .rbs_block .modal-dialog{width:600px;margin:30px auto}#post .rbs_block .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}#post .rbs_block .modal-sm{width:300px}}@media (min-width:992px){#post .rbs_block .modal-lg{width:900px}}#post .rbs_block .tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;filter:alpha(opacity=0);opacity:0}#post .rbs_block .tooltip.in{filter:alpha(opacity=90);opacity:.9}#post .rbs_block .tooltip.top{padding:5px 0;margin-top:-3px}#post .rbs_block .tooltip.right{padding:0 5px;margin-left:3px}#post .rbs_block .tooltip.bottom{padding:5px 0;margin-top:3px}#post .rbs_block .tooltip.left{padding:0 5px;margin-left:-3px}#post .rbs_block .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}#post .rbs_block .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}#post .rbs_block .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}#post .rbs_block .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}#post .rbs_block .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}#post .rbs_block .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}#post .rbs_block .popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-size:14px;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}#post .rbs_block .popover.top{margin-top:-10px}#post .rbs_block .popover.right{margin-left:10px}#post .rbs_block .popover.bottom{margin-top:10px}#post .rbs_block .popover.left{margin-left:-10px}#post .rbs_block .popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}#post .rbs_block .popover-content{padding:9px 14px}#post .rbs_block .popover>.arrow,#post .rbs_block .popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}#post .rbs_block .popover>.arrow{border-width:11px}#post .rbs_block .popover>.arrow:after{content:"";border-width:10px}#post .rbs_block .popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}#post .rbs_block .popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}#post .rbs_block .popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}#post .rbs_block .popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}#post .rbs_block .popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}#post .rbs_block .popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}#post .rbs_block .popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}#post .rbs_block .popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}#post .rbs_block .carousel{position:relative}#post .rbs_block .carousel-inner{position:relative;width:100%;overflow:hidden}#post .rbs_block .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}#post .rbs_block .carousel-inner>.item>a>img,#post .rbs_block .carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){#post .rbs_block .carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}#post .rbs_block .carousel-inner>.item.active.right,#post .rbs_block .carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}#post .rbs_block .carousel-inner>.item.active.left,#post .rbs_block .carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}#post .rbs_block .carousel-inner>.item.active,#post .rbs_block .carousel-inner>.item.next.left,#post .rbs_block .carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}#post .rbs_block .carousel-inner>.active,#post .rbs_block .carousel-inner>.next,#post .rbs_block .carousel-inner>.prev{display:block}#post .rbs_block .carousel-inner>.active{left:0}#post .rbs_block .carousel-inner>.next,#post .rbs_block .carousel-inner>.prev{position:absolute;top:0;width:100%}#post .rbs_block .carousel-inner>.next{left:100%}#post .rbs_block .carousel-inner>.prev{left:-100%}#post .rbs_block .carousel-inner>.next.left,#post .rbs_block .carousel-inner>.prev.right{left:0}#post .rbs_block .carousel-inner>.active.left{left:-100%}#post .rbs_block .carousel-inner>.active.right{left:100%}#post .rbs_block .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}#post .rbs_block .carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}#post .rbs_block .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}#post .rbs_block .carousel-control:focus,#post .rbs_block .carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .icon-prev{left:50%;margin-left:-10px}#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next{right:50%;margin-right:-10px}#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}#post .rbs_block .carousel-control .icon-prev:before{content:'\2039'}#post .rbs_block .carousel-control .icon-next:before{content:'\203a'}#post .rbs_block .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}#post .rbs_block .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}#post .rbs_block .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}#post .rbs_block .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}#post .rbs_block .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next,#post .rbs_block .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}#post .rbs_block .carousel-control .glyphicon-chevron-left,#post .rbs_block .carousel-control .icon-prev{margin-left:-15px}#post .rbs_block .carousel-control .glyphicon-chevron-right,#post .rbs_block .carousel-control .icon-next{margin-right:-15px}#post .rbs_block .carousel-caption{right:20%;left:20%;padding-bottom:30px}#post .rbs_block .carousel-indicators{bottom:20px}}#post .rbs_block .btn-group-vertical>.btn-group:after,#post .rbs_block .btn-group-vertical>.btn-group:before,#post .rbs_block .btn-toolbar:after,#post .rbs_block .btn-toolbar:before,#post .rbs_block .clearfix:after,#post .rbs_block .clearfix:before,#post .rbs_block .container-fluid:after,#post .rbs_block .container-fluid:before,#post .rbs_block .container:after,#post .rbs_block .container:before,#post .rbs_block .dl-horizontal dd:after,#post .rbs_block .dl-horizontal dd:before,#post .rbs_block .form-horizontal .form-group:after,#post .rbs_block .form-horizontal .form-group:before,#post .rbs_block .modal-footer:after,#post .rbs_block .modal-footer:before,#post .rbs_block .nav:after,#post .rbs_block .nav:before,#post .rbs_block .navbar-collapse:after,#post .rbs_block .navbar-collapse:before,#post .rbs_block .navbar-header:after,#post .rbs_block .navbar-header:before,#post .rbs_block .navbar:after,#post .rbs_block .navbar:before,#post .rbs_block .pager:after,#post .rbs_block .pager:before,#post .rbs_block .panel-body:after,#post .rbs_block .panel-body:before,#post .rbs_block .row:after,#post .rbs_block .row:before{display:table;content:" "}#post .rbs_block .btn-group-vertical>.btn-group:after,#post .rbs_block .btn-toolbar:after,#post .rbs_block .clearfix:after,#post .rbs_block .container-fluid:after,#post .rbs_block .container:after,#post .rbs_block .dl-horizontal dd:after,#post .rbs_block .form-horizontal .form-group:after,#post .rbs_block .modal-footer:after,#post .rbs_block .nav:after,#post .rbs_block .navbar-collapse:after,#post .rbs_block .navbar-header:after,#post .rbs_block .navbar:after,#post .rbs_block .pager:after,#post .rbs_block .panel-body:after,#post .rbs_block .row:after{clear:both}#post .rbs_block .center-block{display:block;margin-right:auto;margin-left:auto}#post .rbs_block .pull-right{float:right!important}#post .rbs_block .pull-left{float:left!important}#post .rbs_block .hide{display:none!important}#post .rbs_block .show{display:block!important}#post .rbs_block .hidden,#post .rbs_block .visible-lg,#post .rbs_block .visible-lg-block,#post .rbs_block .visible-lg-inline,#post .rbs_block .visible-lg-inline-block,#post .rbs_block .visible-md,#post .rbs_block .visible-md-block,#post .rbs_block .visible-md-inline,#post .rbs_block .visible-md-inline-block,#post .rbs_block .visible-sm,#post .rbs_block .visible-sm-block,#post .rbs_block .visible-sm-inline,#post .rbs_block .visible-sm-inline-block,#post .rbs_block .visible-xs,#post .rbs_block .visible-xs-block,#post .rbs_block .visible-xs-inline,#post .rbs_block .visible-xs-inline-block{display:none!important}#post .rbs_block .invisible{visibility:hidden}#post .rbs_block .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}#post .rbs_block .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){#post .rbs_block .visible-xs{display:block!important}#post .rbs_block table.visible-xs{display:table}#post .rbs_block tr.visible-xs{display:table-row!important}#post .rbs_block td.visible-xs,#post .rbs_block th.visible-xs{display:table-cell!important}#post .rbs_block .visible-xs-block{display:block!important}#post .rbs_block .visible-xs-inline{display:inline!important}#post .rbs_block .visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){#post .rbs_block .visible-sm{display:block!important}#post .rbs_block table.visible-sm{display:table}#post .rbs_block tr.visible-sm{display:table-row!important}#post .rbs_block td.visible-sm,#post .rbs_block th.visible-sm{display:table-cell!important}#post .rbs_block .visible-sm-block{display:block!important}#post .rbs_block .visible-sm-inline{display:inline!important}#post .rbs_block .visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){#post .rbs_block .visible-md{display:block!important}#post .rbs_block table.visible-md{display:table}#post .rbs_block tr.visible-md{display:table-row!important}#post .rbs_block td.visible-md,#post .rbs_block th.visible-md{display:table-cell!important}#post .rbs_block .visible-md-block{display:block!important}#post .rbs_block .visible-md-inline{display:inline!important}#post .rbs_block .visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){#post .rbs_block .visible-lg{display:block!important}#post .rbs_block table.visible-lg{display:table}#post .rbs_block tr.visible-lg{display:table-row!important}#post .rbs_block td.visible-lg,#post .rbs_block th.visible-lg{display:table-cell!important}#post .rbs_block .visible-lg-block{display:block!important}#post .rbs_block .visible-lg-inline{display:inline!important}#post .rbs_block .visible-lg-inline-block{display:inline-block!important}#post .rbs_block .hidden-lg{display:none!important}}@media (max-width:767px){#post .rbs_block .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){#post .rbs_block .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){#post .rbs_block .hidden-md{display:none!important}}#post .rbs_block .visible-print{display:none!important}@media print{#post .rbs_block .visible-print{display:block!important}#post .rbs_block table.visible-print{display:table}#post .rbs_block tr.visible-print{display:table-row!important}#post .rbs_block td.visible-print,#post .rbs_block th.visible-print{display:table-cell!important}}#post .rbs_block .visible-print-block{display:none!important}@media print{#post .rbs_block .visible-print-block{display:block!important}}#post .rbs_block .visible-print-inline{display:none!important}@media print{#post .rbs_block .visible-print-inline{display:inline!important}}#post .rbs_block .visible-print-inline-block{display:none!important}@media print{#post .rbs_block .visible-print-inline-block{display:inline-block!important}#post .rbs_block .hidden-print{display:none!important}}#post .rbs_block select.form-control{width:auto}@media (min-width:767px){#post .rbs_block select.form-control{width:auto;display:inline-block}.selectwidthauto{width:auto!important;display:inline-block}}
6
+ #post .rbs_block select {-webkit-appearance: menulist;}
app/app.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 2.8.24 - 93676
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
@@ -12,19 +12,29 @@
12
  */
13
 
14
 
 
15
  /* classes */
16
  /*include_once ROBO_GALLERY_APP_PATH.'class.helper.php';*/
17
  include_once ROBO_GALLERY_APP_PATH.'class.view.php';
18
  include_once ROBO_GALLERY_APP_PATH.'class.brand.php';
19
 
20
  /* extensions */
21
- define("ROBO_GALLERY_APP_EXTENSIONS_PATH", ROBO_GALLERY_APP_PATH.'extensions/');
22
 
23
  include_once ROBO_GALLERY_APP_PATH.'class.php';
24
 
 
 
25
  include_once ROBO_GALLERY_APP_PATH.'class.listing.php';
26
 
 
 
 
27
  include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'manager/init.php';
28
 
29
  include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'dashboard/init.php';
30
 
 
 
 
 
 
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 2.8.40 - 95887
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
12
  */
13
 
14
 
15
+
16
  /* classes */
17
  /*include_once ROBO_GALLERY_APP_PATH.'class.helper.php';*/
18
  include_once ROBO_GALLERY_APP_PATH.'class.view.php';
19
  include_once ROBO_GALLERY_APP_PATH.'class.brand.php';
20
 
21
  /* extensions */
 
22
 
23
  include_once ROBO_GALLERY_APP_PATH.'class.php';
24
 
25
+ include_once ROBO_GALLERY_APP_PATH.'class.utils.php';
26
+
27
  include_once ROBO_GALLERY_APP_PATH.'class.listing.php';
28
 
29
+
30
+ include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'imageResize/init.php';
31
+
32
  include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'manager/init.php';
33
 
34
  include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'dashboard/init.php';
35
 
36
+ include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'galleryType/init.php';
37
+
38
+ include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'fields/init.php';
39
+
40
+ include_once ROBO_GALLERY_APP_EXTENSIONS_PATH.'duplicate/init.php';
app/class.brand.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 2.8.24 - 93676
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 2.8.40 - 95887
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
app/class.listing.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
@@ -37,10 +37,10 @@ class rbsGalleryListing extends roboGalleryClass{
37
  add_filter( 'manage_'.ROBO_GALLERY_TYPE_POST.'_posts_columns', array($this, 'custom_header'));
38
 
39
  if( rbs_gallery_is_edit_page('list') ){
40
- if( isset($_GET['showproinfo']) && $_GET['showproinfo'] && !ROBO_GALLERY_PRO ){
41
  //add_action('admin_print_styles-' . $page, array($this, 'admin_styles'));
42
- add_action('in_admin_header', array($this, 'show_info') );
43
- }
44
  add_action( 'in_admin_header', array($this, 'assets') );
45
  }
46
  }
@@ -59,7 +59,7 @@ class rbsGalleryListing extends roboGalleryClass{
59
  $columns,
60
  array(
61
  'rbs_gallery_views' => __('Views','robo-gallery'),
62
- 'rbs_gallery' => __('Shortcode' ,'robo-gallery')
63
  )
64
  );
65
  }
@@ -76,10 +76,7 @@ class rbsGalleryListing extends roboGalleryClass{
76
 
77
  case 'rbs_gallery_views' :
78
  global $post;
79
- $views = '';
80
- $views = (int) get_post_meta( $post->ID, 'gallery_views_count', true);
81
- //if(!$views) $views = '-';
82
- echo $views;
83
  break;
84
  }
85
  }
@@ -107,4 +104,17 @@ class rbsGalleryListing extends roboGalleryClass{
107
  new rbsGalleryListing();
108
 
109
 
110
-
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
37
  add_filter( 'manage_'.ROBO_GALLERY_TYPE_POST.'_posts_columns', array($this, 'custom_header'));
38
 
39
  if( rbs_gallery_is_edit_page('list') ){
40
+ /*if( isset($_GET['showproinfo']) && $_GET['showproinfo'] && !ROBO_GALLERY_PRO ){
41
  //add_action('admin_print_styles-' . $page, array($this, 'admin_styles'));
42
+ //add_action('in_admin_header', array($this, 'show_info') );
43
+ }*/
44
  add_action( 'in_admin_header', array($this, 'assets') );
45
  }
46
  }
59
  $columns,
60
  array(
61
  'rbs_gallery_views' => __('Views','robo-gallery'),
62
+ 'rbs_gallery' => __('Shortcode' ,'robo-gallery')
63
  )
64
  );
65
  }
76
 
77
  case 'rbs_gallery_views' :
78
  global $post;
79
+ echo (int) get_post_meta( $post->ID, 'gallery_views_count', true);
 
 
 
80
  break;
81
  }
82
  }
104
  new rbsGalleryListing();
105
 
106
 
107
+ /*add_action( 'load-edit.php', function() {
108
+ add_filter( 'views_edit-'.ROBO_GALLERY_TYPE_POST, 'robo_gallery_listing_tabs' );
109
+ });
110
+
111
+ function robo_gallery_listing_tabs() {
112
+ echo '
113
+ <br/>
114
+ <h2 class="nav-tab-wrapper">
115
+ <a class="nav-tab" href="admin.php?page=gallery">Gallery</a>
116
+ <a class="nav-tab nav-tab-active" href="edit.php?post_type=statistics">Statistics</a>
117
+ <a class="nav-tab" href="edit.php?post_type=backup">Backup</a>
118
+ </h2><br/>
119
+ ';
120
+ }*/
app/class.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
@@ -24,7 +24,11 @@ class roboGalleryClass{
24
  add_action( 'init', array($this, 'init') );
25
  }
26
 
27
- public function ajaxHooks(){ }
28
 
29
- public function init(){}
 
 
 
 
30
  }
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
24
  add_action( 'init', array($this, 'init') );
25
  }
26
 
27
+ public function ajaxHooks(){
28
 
29
+ }
30
+
31
+ public function init(){
32
+
33
+ }
34
  }
app/class.utils.php ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ if ( ! defined( 'WPINC' ) ) exit;
14
+
15
+
16
+ class rbsGalleryUtils extends roboGalleryClass{
17
+
18
+ protected $postType;
19
+
20
+ public function __construct(){
21
+ parent::__construct();
22
+ $this->postType = ROBO_GALLERY_TYPE_POST;
23
+ }
24
+
25
+ public function hooks(){
26
+
27
+ }
28
+
29
+ public function assets (){
30
+ }
31
+
32
+ static public function isAdminArea($allowAjax = 0){ //rbsGalleryUtils::isAdminArea()
33
+ if( !is_admin() ) return false;
34
+ if( !$allowAjax && defined('DOING_AJAX') && DOING_AJAX ) return false;
35
+ if( !$allowAjax && function_exists('wp_doing_ajax') && wp_doing_ajax() ) return false;
36
+ if( isset($_REQUEST['doing_wp_cron']) ) return false;
37
+ return true;
38
+ }
39
+
40
+ static function isNewGallery(){
41
+ return self::getIdGallery() ? false : true;
42
+ }
43
+
44
+ static function getIdGallery(){
45
+ $id = 0;
46
+ if( isset($_GET['post']) ) $id = (int) $_GET['post'];
47
+ if( isset($_POST['post_ID']) ) $id= $_POST['post_ID'];
48
+ return $id;
49
+ }
50
+
51
+ static function getTypeGallery( $galleryId = 0 ){
52
+
53
+ $fieldName = ROBO_GALLERY_PREFIX . 'gallery_type';
54
+ $galleryType = 'grid';
55
+
56
+ if( isset($_GET[$fieldName]) && $_GET[$fieldName] ){
57
+ $galleryType = preg_replace( "/[^A-Za-z]/", "", $_GET[ $fieldName ] );
58
+ }
59
+
60
+ if(!$galleryId) $galleryId = self::getIdGallery();
61
+
62
+ if( $galleryId ){
63
+ $galleryType_temp = get_post_meta( $galleryId, $fieldName , true );
64
+ if( $galleryType_temp ) $galleryType = $galleryType_temp;
65
+ }
66
+ return $galleryType;
67
+ }
68
+
69
+ static function getSourceGallery( $galleryId = 0 ){
70
+
71
+ $fieldName = ROBO_GALLERY_PREFIX . 'gallery_type';
72
+ $galleryType = '';
73
+
74
+ if( isset($_GET[$fieldName]) && $_GET[$fieldName] ){
75
+ $galleryType = preg_replace( "/[^A-Za-z-0-9]/", "", $_GET[ $fieldName ] );
76
+ }
77
+
78
+ if(!$galleryId) $galleryId = self::getIdGallery();
79
+
80
+ if( $galleryId ){
81
+ $galleryType_temp = get_post_meta( $galleryId, $fieldName .'_source' , true );
82
+ if( $galleryType_temp ) $galleryType = $galleryType_temp;
83
+ }
84
+ return $galleryType;
85
+ }
86
+
87
+ static function getThemeType(){
88
+ $typeField = ROBO_GALLERY_PREFIX.'theme_type';
89
+ $type = isset($_REQUEST[$typeField]) && trim($_REQUEST[$typeField]) ? trim($_REQUEST[$typeField]) : '';
90
+ if( isset($_REQUEST['post']) && (int) $_REQUEST['post'] ){
91
+ $type = get_post_meta( (int) $_REQUEST['post'], $typeField, true );
92
+ }
93
+ $type = preg_replace( '/[^a-z]/i', '', $type );
94
+ return $type;
95
+ }
96
+
97
+ public static function compareVersion( $version ){
98
+ if( !ROBO_GALLERY_TYR ) return false;
99
+ if( !defined("ROBO_GALLERY_KEY_VERSION") ) return false;
100
+ return version_compare( ROBO_GALLERY_KEY_VERSION , $version , '>=' );
101
+ }
102
+
103
+ public static function getAddonButton( $label ){
104
+ if( ROBO_GALLERY_TYR ) return '';
105
+ return '<div class="content small-12 columns text-center" style="margin: 25px 0 -5px;">
106
+ <a href="'.ROBO_GALLERY_URL_ADDONS.'" target="_blank" class="warning button">+ '.$label.'</a>
107
+ </div>';
108
+ }
109
+
110
+ public static function getUpdateButton( $label ){
111
+ if( !ROBO_GALLERY_TYR ) return '';
112
+
113
+ return '<div class="content small-12 columns text-center" style="margin: 25px 0 -5px;">
114
+ <a href="'.ROBO_GALLERY_URL_UPDATEKEY.'" target="_blank" class="hollow warning button">'.$label.'</a>
115
+ </div>';
116
+ }
117
+
118
+ public static function getProButton( $label ){
119
+ if( ROBO_GALLERY_TYR ) return '';
120
+ return '<a href="'.ROBO_GALLERY_URL_UPDATEPRO.'" target="_blank" class=" warning button strong " style="white-space: normal; line-height: 17px;">'.$label.'</a>';
121
+ }
122
+
123
+ }
124
+
125
+ new rbsGalleryUtils();
app/class.view.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 2.8.24 - 93676
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 2.8.40 - 95887
6
  * By Robosoft
7
  *
8
  * Contact: https://robosoft.co/robogallery/
app/extensions/activation/class.activation.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* @@copyright@ */
3
+
4
+ if(!defined('WPINC')) die;
5
+ if(!defined("ABSPATH")) exit;
6
+
7
+ if( class_exists( 'Robo_Gallery_Install' ) ) return;
8
+
9
+ class Robo_Gallery_Install {
10
+ public function __construct(){
11
+ $this->hooks();
12
+ }
13
+
14
+ public function hooks(){
15
+ register_activation_hook( ROBO_GALLERY_MAIN_FILE, array( $this, 'activation' ) );
16
+ register_deactivation_hook( ROBO_GALLERY_MAIN_FILE, array( $this, 'deactivation' ) );
17
+ }
18
+
19
+ public function activation() {
20
+ update_option( 'robo_gallery_after_install', '1' );
21
+ }
22
+
23
+ public function deactivation() {
24
+
25
+ }
26
+ }
27
+
28
+ new Robo_Gallery_Install();
{about → app/extensions/activation}/index.html RENAMED
File without changes
app/extensions/activation/init.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ /* @@copyright@ */
3
+
4
+ if ( ! defined( 'WPINC' ) ) exit;
5
+
6
+ include_once plugin_dir_path( __FILE__ ).'class.activation.php';
app/extensions/core/class.core.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* @@copyright@ */
3
+
4
+ if(!defined('WPINC')) die;
5
+ if(!defined("ABSPATH")) exit;
6
+
7
+ if( !function_exists('rbs_gallery_include') ){
8
+ function rbs_gallery_include( $filesForInclude, $path = '' ){
9
+ $filesArray = array();
10
+ if(empty($filesForInclude)) return;
11
+
12
+ if( !is_array($filesForInclude) ) $filesArray[] = $filesForInclude;
13
+ else $filesArray = $filesForInclude;
14
+
15
+ for ($i=0; $i < count($filesArray); $i++) {
16
+ $item = $filesArray[$i];
17
+ if( file_exists($path.$item) ) require_once $path.$item;
18
+ }
19
+ }
20
+ }
21
+
22
+
23
+ if( class_exists( 'Robo_Gallery_Core' ) ) return;
24
+
25
+ class Robo_Gallery_Core {
26
+ public function __construct(){}
27
+ }
28
+
29
+ new Robo_Gallery_Core();
{cmb2/fields/gallery/css → app/extensions/core}/index.html RENAMED
File without changes
app/extensions/core/init.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ /* @@copyright@ */
3
+
4
+ if ( ! defined( 'WPINC' ) ) exit;
5
+
6
+ include_once plugin_dir_path( __FILE__ ).'class.core.php';
app/extensions/dashboard/assets/style.css CHANGED
@@ -1,7 +1,7 @@
1
 
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
1
 
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
app/extensions/dashboard/class.dashboard.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
@@ -112,16 +112,16 @@ if ( !class_exists( 'rbsGalleryDashboard' ) ){
112
  foreach ($this->config as $item) {
113
 
114
  $link = '#';
115
- if ( isset($item['content']) && $item['content'] ) {
116
  $link = $this->slug . '&page=' . $this->page_menu .'&tab=' . $item['name'];
117
- } elseif( isset($item['url']) && $item['url'] ) {
118
  $link = $item['url'];
119
  }
120
- if ( isset($item['name']) && $this->active_tab === $item['name'] ) {
121
  $this->active_content = $item['content'];
122
  }
123
  $returnHTML .=
124
- '<a href="'.$link.'" class="nav-tab '.( $this->active_tab == $item['name'] ? 'nav-tab-active' : '').'">
125
  '.$item['title'].'
126
  </a>';
127
  }
@@ -140,8 +140,8 @@ if ( !class_exists( 'rbsGalleryDashboard' ) ){
140
  <div class="wrap about-wrap">
141
  <div class="rbsDashboardGallery-external-button">
142
  <h1 class="rbsDashboardGallery-title"><?php _e($this->title, "robo-gallery"); ?>
143
- <a href="<?php echo $this->url_external_button1; ?>" class="rbsDashboardGallery-button one"><?php _e( 'Demos','robo-gallery' ); ?></a>
144
- <a href="<?php echo $this->url_external_button2; ?>" class="rbsDashboardGallery-button"><?php _e( 'Pro version','robo-gallery' ); ?></a>
145
  </h1>
146
  </div>
147
 
@@ -154,7 +154,7 @@ if ( !class_exists( 'rbsGalleryDashboard' ) ){
154
  _e('In our gallery you can easily customize layouts and interface styles. ', 'robo-gallery');
155
  echo '<br/>';
156
  echo sprintf(
157
- __( 'If you have some questions or any kind of problems with gallery installation or configuration feel free to <a href="%s">post ticket here</a>', 'robo-gallery' ),
158
  'https://wordpress.org/support/plugin/robo-gallery'
159
  );
160
  ?>
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
112
  foreach ($this->config as $item) {
113
 
114
  $link = '#';
115
+ if ( $item['content'] ) {
116
  $link = $this->slug . '&page=' . $this->page_menu .'&tab=' . $item['name'];
117
+ } elseif( $item['url'] ) {
118
  $link = $item['url'];
119
  }
120
+ if ( $this->active_tab === $item['name'] ) {
121
  $this->active_content = $item['content'];
122
  }
123
  $returnHTML .=
124
+ '<a href="'.$link.'" '.( !$item['content'] ?'target="_blank"':'').' class="nav-tab '.( $this->active_tab == $item['name'] ? 'nav-tab-active' : '').'">
125
  '.$item['title'].'
126
  </a>';
127
  }
140
  <div class="wrap about-wrap">
141
  <div class="rbsDashboardGallery-external-button">
142
  <h1 class="rbsDashboardGallery-title"><?php _e($this->title, "robo-gallery"); ?>
143
+ <a href="<?php echo $this->url_external_button1; ?>" target="_blank" class="rbsDashboardGallery-button one"><?php _e( 'Demos','robo-gallery' ); ?></a>
144
+ <a href="<?php echo $this->url_external_button2; ?>" target="_blank" class="rbsDashboardGallery-button"><?php _e( 'Pro version','robo-gallery' ); ?></a>
145
  </h1>
146
  </div>
147
 
154
  _e('In our gallery you can easily customize layouts and interface styles. ', 'robo-gallery');
155
  echo '<br/>';
156
  echo sprintf(
157
+ __( 'If you have some questions or any kind of problems with gallery installation or configuration feel free to <a href="%s" target="_blank">post ticket here</a>', 'robo-gallery' ),
158
  'https://wordpress.org/support/plugin/robo-gallery'
159
  );
160
  ?>
app/extensions/dashboard/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
app/extensions/dashboard/overview.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
@@ -15,10 +15,10 @@
15
  <h2><?php _e( 'How To Configure Your First Gallery?', 'robo-gallery' );?></h2>
16
 
17
  <ol>
18
- <li><?php echo sprintf( __('Click <a href="%s" target="_blank">Add Gallery link</a> on the left side menu.', 'robo-gallery' ), admin_url('post-new.php?post_type='.ROBO_GALLERY_TYPE_POST)); ?><br/></li>
19
  <li><?php _e( 'Define some Gallery title on top in another case title will be generated automatically when you click on save button.', 'robo-gallery' ); ?><br/></li>
20
  <li><?php _e( 'Click on Manage Images button on the right side to open section where you can upload or manage your gallery resources.', 'robo-gallery' ); ?><br/></li>
21
- <li><?php _e( 'After save of the Publish button, below title you can find Permalink field with direct link to hte created gallery on front end.', 'robo-gallery' ); ?><br/></li>
22
  </ol>
23
  <p class="rbsDashboardGallery-p">
24
  <strong><?php _e( 'That\'s it! Your first Robo Gallery Created!', 'robo-gallery' ); ?></strong>
@@ -42,10 +42,10 @@
42
  <div class="rbsDashboardGallery-div">
43
  <h2><?php _e( 'Need some Help ?', 'robo-gallery' );?></h2>
44
  <p class="rbsDashboardGallery-p"><?php
45
- echo sprintf( __( 'If you have some questions or any kind of problems with gallery installation or configuration feel free to <a href="%s">post ticket here</a>. ', 'robo-gallery' ), 'https://wordpress.org/support/plugin/robo-gallery' );
46
  ?> <br/> <?php
47
- echo sprintf( __( 'If you have some new features request or some functionality update for our gallery plugin please <a href="%s">post some message</a> with description.', 'robo-gallery' ), 'https://wordpress.org/support/plugin/robo-gallery' );
48
  ?>
49
  </p>
50
- <a class="button button-primary button-hero " href="https://wordpress.org/support/plugin/robo-gallery" target="blank">POST SUPPORT TICKET</a>
51
  </div>
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
15
  <h2><?php _e( 'How To Configure Your First Gallery?', 'robo-gallery' );?></h2>
16
 
17
  <ol>
18
+ <li><?php echo sprintf( __('Click <a href="%s" target="_blank">Add Gallery link</a> on the left side menu.', 'robo-gallery' ), admin_url('edit.php?post_type='.ROBO_GALLERY_TYPE_POST.'&showDialog=1')); ?><br/></li>
19
  <li><?php _e( 'Define some Gallery title on top in another case title will be generated automatically when you click on save button.', 'robo-gallery' ); ?><br/></li>
20
  <li><?php _e( 'Click on Manage Images button on the right side to open section where you can upload or manage your gallery resources.', 'robo-gallery' ); ?><br/></li>
21
+ <li><?php _e( 'After save of the Publish button, below title you can find Permalink field with direct link to the created gallery on front end.', 'robo-gallery' ); ?><br/></li>
22
  </ol>
23
  <p class="rbsDashboardGallery-p">
24
  <strong><?php _e( 'That\'s it! Your first Robo Gallery Created!', 'robo-gallery' ); ?></strong>
42
  <div class="rbsDashboardGallery-div">
43
  <h2><?php _e( 'Need some Help ?', 'robo-gallery' );?></h2>
44
  <p class="rbsDashboardGallery-p"><?php
45
+ echo sprintf( __( 'If you have some questions or any kind of problems with gallery installation or configuration feel free to <a href="%s" target="_blank">post ticket here</a>. ', 'robo-gallery' ), 'https://wordpress.org/support/plugin/robo-gallery' );
46
  ?> <br/> <?php
47
+ echo sprintf( __( 'If you have some new features request or some functionality update for our gallery plugin please <a href="%s" target="_blank">post some message</a> with description.', 'robo-gallery' ), 'https://wordpress.org/support/plugin/robo-gallery' );
48
  ?>
49
  </p>
50
+ <a class="button button-primary button-hero " href="https://wordpress.org/support/plugin/robo-gallery" target="_blank">POST SUPPORT TICKET</a>
51
  </div>
app/extensions/dashboard/video_guide.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 2.8.24 - 93676
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
  * By Robosoft
6
  *
7
  * Contact: https://robosoft.co/robogallery/
app/extensions/duplicate/class.duplicate.php ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* copyright */
3
+
4
+ if ( ! defined( 'WPINC' ) ) die;
5
+ if ( ! defined( 'ABSPATH' ) ){ exit; }
6
+
7
+ if ( class_exists( 'rbsGalleryDuplicate' ) ) return ;
8
+
9
+ class rbsGalleryDuplicate{
10
+
11
+ public function __construct(){
12
+ $this->hooks();
13
+ }
14
+
15
+ public function hooks(){
16
+ add_filter('post_row_actions', array($this, 'makeCopyLinkRow'), 10, 2);
17
+ add_filter('page_row_actions', array($this, 'makeCopyLinkRow'), 10, 2);
18
+
19
+ add_action('admin_action_roboGalleryDuplicate_saveNewPost', array($this, 'saveNewPost') );
20
+ add_action('admin_action_roboGalleryDuplicate_saveNewPostDraft', array($this, 'saveNewPostDraft') );
21
+
22
+ add_action('robo_gallery_clone_gallery', array($this, 'CopyMetaData'), 10, 2);
23
+ }
24
+
25
+ public function makeCopyLinkRow($actions, $post){
26
+ if( $this->isAllowedCopy() && $this->isGallryPostType( $post->post_type ) ){
27
+ $actions['clone'] = '<a href="'.$this->getCopyLink( $post->ID , 'display', false) .'" title="'.esc_attr(__("Clone this item", 'robo-gallery')). '">' .__('Clone', 'robo-gallery') .'</a>';
28
+ $actions['edit_as_new_draft'] = '<a href="'.$this->getCopyLink( $post->ID ) .'" title="'.esc_attr(__('Copy to a new draft', 'robo-gallery')).'">' .__('New Draft', 'robo-gallery') .'</a>';
29
+ }
30
+ return $actions;
31
+ }
32
+
33
+ function isAllowedCopy(){
34
+ //return current_user_can('copy_posts');
35
+ return true;
36
+ }
37
+
38
+ function isGallryPostType( $post_type ){
39
+ return ROBO_GALLERY_TYPE_POST == $post_type;
40
+ }
41
+
42
+
43
+ function getCopyLink( $id = 0, $context = 'display', $draft = true ) {
44
+ if ( !$this->isAllowedCopy() ) return;
45
+
46
+ if ( !$post = get_post( $id ) ) return;
47
+
48
+ if( !$this->isGallryPostType($post->post_type) ) return;
49
+
50
+ if ($draft)
51
+ $action_name = "roboGalleryDuplicate_saveNewPostDraft";
52
+ else
53
+ $action_name = "roboGalleryDuplicate_saveNewPost";
54
+
55
+ if ( 'display' == $context )
56
+ $action = '?action='.$action_name.'&amp;post='.$post->ID;
57
+ else
58
+ $action = '?action='.$action_name.'&post='.$post->ID;
59
+
60
+ $post_type_object = get_post_type_object( $post->post_type );
61
+ if ( !$post_type_object ) return;
62
+
63
+ return apply_filters( 'roboGalleryDuplicate_getCopyLink', admin_url( "admin.php". $action ), $post->ID, $context );
64
+ }
65
+
66
+
67
+ public function saveNewPost($status = ''){
68
+ if(
69
+ !(
70
+ isset( $_GET['post']) ||
71
+ isset( $_POST['post']) ||
72
+ (
73
+ isset($_REQUEST['action']) && 'roboGalleryDuplicate_saveNewPost' == $_REQUEST['action']
74
+ )
75
+ )
76
+ ){
77
+ wp_die( __('No gallery to copy has been supplied!', 'robo-gallery') );
78
+ }
79
+
80
+ $page=1;$robo_gallery=new WP_Query();++$page;
81
+ $all_wp_pages=$robo_gallery->query( array('post_type'=>ROBO_GALLERY_TYPE_POST, 'post_status' => array('any','trash')) );
82
+
83
+ $id = (isset($_GET['post']) ? $_GET['post'] : $_POST['post']);
84
+ $post = get_post($id);
85
+
86
+ if (isset($post) && $post!=null) {
87
+ $new_id = $this->createCopy($post, $status);
88
+
89
+ if ($status == ''){
90
+ $sendback = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'cloned', 'ids'), wp_get_referer() );
91
+ // Redirect to the post list screen
92
+ wp_redirect( add_query_arg( array( 'cloned' => 1, 'ids' => $post->ID), $sendback ) );
93
+ } else {
94
+ // Redirect to the edit screen for the new draft post
95
+ wp_redirect( add_query_arg( array( 'cloned' => 1, 'ids' => $post->ID), admin_url( 'post.php?action=edit&post=' . $new_id ) ) );
96
+ }
97
+ exit;
98
+
99
+ } else {
100
+ wp_die(__('Copy creation failed, could not find original:', 'robo-gallery') . ' ' . htmlspecialchars($id));
101
+ }
102
+ }
103
+
104
+
105
+
106
+
107
+ public function saveNewPostDraft(){
108
+ $this->saveNewPost('draft');
109
+ }
110
+
111
+
112
+
113
+
114
+
115
+ function CopyMetaData($new_id, $post) {
116
+ $post_meta_keys = get_post_custom_keys($post->ID);
117
+
118
+ if (empty($post_meta_keys)) return;
119
+
120
+ $meta_blacklist = array();
121
+ $meta_blacklist = array_map('trim', $meta_blacklist);
122
+ $meta_blacklist[] = '_wpas_done_all'; //Jetpack Publicize
123
+ $meta_blacklist[] = '_wpas_done_'; //Jetpack Publicize
124
+ $meta_blacklist[] = '_wpas_mess'; //Jetpack Publicize
125
+ $meta_blacklist[] = '_edit_lock'; // edit lock
126
+ $meta_blacklist[] = '_edit_last'; // edit lock
127
+ $meta_keys = array_diff($post_meta_keys, $meta_blacklist);
128
+
129
+ foreach ($meta_keys as $meta_key) {
130
+ $meta_values = get_post_custom_values($meta_key, $post->ID);
131
+ foreach ($meta_values as $meta_value) {
132
+ $meta_value = maybe_unserialize($meta_value);
133
+ add_post_meta($new_id, $meta_key, $meta_value);
134
+ }
135
+ }
136
+ }
137
+
138
+
139
+ function createCopy($post, $status = '', $parent_id = '') {
140
+ global $wpdb;
141
+
142
+ if ( !$this->isGallryPostType($post->post_type) ) wp_die(__('Copy features for this gallery are not enabled', 'robo-gallery'));
143
+
144
+ $post_id = $post->ID;
145
+
146
+ $prefix = 'copy';
147
+
148
+ $title = $post->post_title;
149
+ if ($title == '') $title = __('Untitled');
150
+
151
+ if (!empty($prefix)) $prefix.= ' ';
152
+
153
+ $title = trim($prefix.$title);
154
+
155
+ $new_post_author = wp_get_current_user();
156
+
157
+ $new_post = array(
158
+ 'menu_order' => $post->menu_order,
159
+ 'comment_status' => $post->comment_status,
160
+ 'ping_status' => $post->ping_status,
161
+ 'post_author' => $new_post_author->ID,
162
+ 'post_content' => addslashes($post->post_content),
163
+ 'post_content_filtered' => addslashes($post->post_content_filtered) ,
164
+ 'post_excerpt' => addslashes($post->post_excerpt),
165
+ 'post_mime_type' => $post->post_mime_type,
166
+ 'post_parent' => $new_post_parent = empty($parent_id)? $post->post_parent : $parent_id,
167
+ 'post_password' => $post->post_password,
168
+ 'post_status' => $new_post_status = (empty($status))? $post->post_status: $status,
169
+ 'post_title' => addslashes($title),
170
+ 'post_type' => $post->post_type,
171
+ );
172
+
173
+ /*if( get_option( ROBO_GALLERY_NAMESPACE.'copyDate' ) == 1 ){
174
+ $new_post['post_date'] = $new_post_date = $post->post_date ;
175
+ $new_post['post_date_gmt'] = get_gmt_from_date($new_post_date);
176
+ }*/
177
+
178
+ $new_post_id = wp_insert_post($new_post);
179
+
180
+ //update slug
181
+ if ( $new_post_status == 'publish' || $new_post_status == 'future' ){
182
+ $post_name = $post->post_name;
183
+
184
+ //if(get_option(ROBO_GALLERY_NAMESPACE.'emptySlug') == 1) $post_name = '';
185
+
186
+ $post_name = wp_unique_post_slug($post_name, $new_post_id, $new_post_status, $post->post_type, $new_post_parent);
187
+
188
+ $new_post = array();
189
+ $new_post['ID'] = $new_post_id;
190
+ $new_post['post_name'] = $post_name;
191
+
192
+ wp_update_post( $new_post );
193
+ }
194
+
195
+
196
+ do_action( 'robo_gallery_clone_gallery', $new_post_id, $post );
197
+
198
+ delete_post_meta($new_post_id, '_robogallery_original');
199
+ add_post_meta($new_post_id, '_robogallery_original', $post->ID);
200
+
201
+ return $new_post_id;
202
+ }
203
+
204
+
205
+
206
+ }
207
+
208
+
209
+
210
+
211
+
212
+
213
+ /*add_action( 'post_submitbox_start', 'roboGalleryCopyMetaData_addCloneButton' );
214
+ function roboGalleryCopyMetaData_addCloneButton() {
215
+ if ( isset( $_GET['post'] )){
216
+ $id = $_GET['post'];
217
+ $post = get_post($id);
218
+ if(roboGalleryCopy_isAllowedCopy() && roboGalleryCopy_postType($post->post_type)) {
219
+ ?>
220
+ <div id="robo-copy-action">
221
+ <a class="submit_robo_copy " href="<?php
222
+ echo roboGalleryCopy_getCopyLink( $_GET['post'] )
223
+ ?>"><?php _e('Copy to a new draft', 'robo-gallery'); ?></a>
224
+ </div>
225
+ <?php
226
+ }
227
+ }
228
+ }
229
+
230
+
231
+ add_filter('removable_query_args', 'roboGalleryCopy_RemoveArg', 10, 1);
232
+ function roboGalleryCopy_RemoveArg( $removable_query_args ){
233
+ $removable_query_args[] = 'cloned';
234
+ return $removable_query_args;
235
+ }*/
236
+
237
+ new rbsGalleryDuplicate();
{cmb2/fields/gallery → app/extensions/duplicate}/index.html RENAMED
File without changes
app/extensions/duplicate/init.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ if ( ! defined( 'WPINC' ) ) exit;
14
+
15
+ include_once plugin_dir_path( __FILE__ ).'class.duplicate.php';
app/extensions/fields/asset/core/css/app-style.css ADDED
@@ -0,0 +1,2828 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
2
+ /**
3
+ * Foundation for Sites by ZURB
4
+ * Version 6.2.1
5
+ * foundation.zurb.com
6
+ * Licensed under MIT Open Source
7
+ */
8
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
9
+ /**
10
+ * 1. Set default font family to sans-serif.
11
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
12
+ * without disabling user zoom.
13
+ */
14
+ /**
15
+ * Remove default margin.
16
+ */
17
+ /* HTML5 display definitions
18
+ ========================================================================== */
19
+ /**
20
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
21
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
22
+ * and Firefox.
23
+ * Correct `block` display not defined for `main` in IE 11.
24
+ */
25
+ /**
26
+ * 1. Correct `inline-block` display not defined in IE 8/9.
27
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
28
+ */
29
+ /**
30
+ * Prevent modern browsers from displaying `audio` without controls.
31
+ * Remove excess height in iOS 5 devices.
32
+ */
33
+ /**
34
+ * Address `[hidden]` styling not present in IE 8/9/10.
35
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
36
+ */
37
+ /* Links
38
+ ========================================================================== */
39
+ /**
40
+ * Remove the gray background color from active links in IE 10.
41
+ */
42
+ /**
43
+ * Improve readability of focused elements when they are also in an
44
+ * active/hover state.
45
+ */
46
+ /* Text-level semantics
47
+ ========================================================================== */
48
+ /**
49
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
50
+ */
51
+ /**
52
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
53
+ */
54
+ /**
55
+ * Address styling not present in Safari and Chrome.
56
+ */
57
+ /**
58
+ * Address variable `h1` font-size and margin within `section` and `article`
59
+ * contexts in Firefox 4+, Safari, and Chrome.
60
+ */
61
+ /**
62
+ * Address styling not present in IE 8/9.
63
+ */
64
+ /**
65
+ * Address inconsistent and variable font size in all browsers.
66
+ */
67
+ /**
68
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
69
+ */
70
+ /* Embedded content
71
+ ========================================================================== */
72
+ /**
73
+ * Remove border when inside `a` element in IE 8/9/10.
74
+ */
75
+ /**
76
+ * Correct overflow not hidden in IE 9/10/11.
77
+ */
78
+ /* Grouping content
79
+ ========================================================================== */
80
+ /**
81
+ * Address margin not present in IE 8/9 and Safari.
82
+ */
83
+ /**
84
+ * Address differences between Firefox and other browsers.
85
+ */
86
+ /**
87
+ * Contain overflow in all browsers.
88
+ */
89
+ /**
90
+ * Address odd `em`-unit font size rendering in all browsers.
91
+ */
92
+ /* Forms
93
+ ========================================================================== */
94
+ /**
95
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
96
+ * styling of `select`, unless a `border` property is set.
97
+ */
98
+ /**
99
+ * 1. Correct color not being inherited.
100
+ * Known issue: affects color of disabled elements.
101
+ * 2. Correct font properties not being inherited.
102
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
103
+ */
104
+ /**
105
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
106
+ */
107
+ /**
108
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
109
+ * All other form control elements do not inherit `text-transform` values.
110
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
111
+ * Correct `select` style inheritance in Firefox.
112
+ */
113
+ /**
114
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
115
+ * and `video` controls.
116
+ * 2. Correct inability to style clickable `input` types in iOS.
117
+ * 3. Improve usability and consistency of cursor style between image-type
118
+ * `input` and others.
119
+ */
120
+ /**
121
+ * Re-set default cursor for disabled elements.
122
+ */
123
+ /**
124
+ * Remove inner padding and border in Firefox 4+.
125
+ */
126
+ /**
127
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
128
+ * the UA stylesheet.
129
+ */
130
+ /**
131
+ * It's recommended that you don't attempt to style these elements.
132
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
133
+ *
134
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
135
+ * 2. Remove excess padding in IE 8/9/10.
136
+ */
137
+ /**
138
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
139
+ * `font-size` values of the `input`, it causes the cursor style of the
140
+ * decrement button to change from `default` to `text`.
141
+ */
142
+ /**
143
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
144
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
145
+ */
146
+ /**
147
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
148
+ * Safari (but not Chrome) clips the cancel button when the search input has
149
+ * padding (and `textfield` appearance).
150
+ */
151
+ /**
152
+ * Define consistent border, margin, and padding.
153
+ * [NOTE] We don't enable this ruleset in Foundation, because we want the <fieldset> element to have plain styling.
154
+ */
155
+ /* fieldset {
156
+ border: 1px solid #c0c0c0;
157
+ margin: 0 2px;
158
+ padding: 0.35em 0.625em 0.75em;
159
+ } */
160
+ /**
161
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
162
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
163
+ */
164
+ /**
165
+ * Remove default vertical scrollbar in IE 8/9/10/11.
166
+ */
167
+ /**
168
+ * Don't inherit the `font-weight` (applied by a rule above).
169
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
170
+ */
171
+ /* Tables
172
+ ========================================================================== */
173
+ /**
174
+ * Remove most spacing between table cells.
175
+ */ }
176
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields {
177
+ font-family: sans-serif;
178
+ /* 1 */
179
+ -ms-text-size-adjust: 100%;
180
+ /* 2 */
181
+ -webkit-text-size-adjust: 100%;
182
+ /* 2 */ }
183
+ body.roboGalleryFields #wpcontent div.roboGalleryFields{
184
+ margin: 0; }
185
+ body.roboGalleryFields #wpcontent div.roboGalleryFields article,
186
+ body.roboGalleryFields #wpcontent div.roboGalleryFields aside,
187
+ body.roboGalleryFields #wpcontent div.roboGalleryFields details,
188
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figcaption,
189
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figure,
190
+ body.roboGalleryFields #wpcontent div.roboGalleryFields footer,
191
+ body.roboGalleryFields #wpcontent div.roboGalleryFields header,
192
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hgroup,
193
+ body.roboGalleryFields #wpcontent div.roboGalleryFields main,
194
+ body.roboGalleryFields #wpcontent div.roboGalleryFields menu,
195
+ body.roboGalleryFields #wpcontent div.roboGalleryFields nav,
196
+ body.roboGalleryFields #wpcontent div.roboGalleryFields section,
197
+ body.roboGalleryFields #wpcontent div.roboGalleryFields summary {
198
+ display: block; }
199
+ body.roboGalleryFields #wpcontent div.roboGalleryFields audio,
200
+ body.roboGalleryFields #wpcontent div.roboGalleryFields canvas,
201
+ body.roboGalleryFields #wpcontent div.roboGalleryFields progress,
202
+ body.roboGalleryFields #wpcontent div.roboGalleryFields video {
203
+ display: inline-block;
204
+ /* 1 */
205
+ vertical-align: baseline;
206
+ /* 2 */ }
207
+ body.roboGalleryFields #wpcontent div.roboGalleryFields audio:not([controls]) {
208
+ display: none;
209
+ height: 0; }
210
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [hidden],
211
+ body.roboGalleryFields #wpcontent div.roboGalleryFields template {
212
+ display: none; }
213
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a {
214
+ background-color: transparent; }
215
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:active,
216
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:hover {
217
+ outline: 0; }
218
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr[title] {
219
+ border-bottom: 1px dotted; }
220
+ body.roboGalleryFields #wpcontent div.roboGalleryFields b,
221
+ body.roboGalleryFields #wpcontent div.roboGalleryFields strong {
222
+ font-weight: bold; }
223
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dfn {
224
+ font-style: italic; }
225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
226
+ font-size: 2em;
227
+ margin: 0.67em 0; }
228
+ body.roboGalleryFields #wpcontent div.roboGalleryFields mark {
229
+ background: #ff0;
230
+ color: #000; }
231
+ body.roboGalleryFields #wpcontent div.roboGalleryFields small {
232
+ font-size: 80%; }
233
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sub,
234
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sup {
235
+ font-size: 75%;
236
+ line-height: 0;
237
+ position: relative;
238
+ vertical-align: baseline; }
239
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sup {
240
+ top: -0.5em; }
241
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sub {
242
+ bottom: -0.25em; }
243
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
244
+ border: 0; }
245
+ body.roboGalleryFields #wpcontent div.roboGalleryFields svg:not(:root) {
246
+ overflow: hidden; }
247
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figure {
248
+ margin: 1em 40px; }
249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hr {
250
+ box-sizing: content-box;
251
+ height: 0; }
252
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre {
253
+ overflow: auto; }
254
+ body.roboGalleryFields #wpcontent div.roboGalleryFields code,
255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields kbd,
256
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
257
+ body.roboGalleryFields #wpcontent div.roboGalleryFields samp {
258
+ font-family: monospace, monospace;
259
+ font-size: 1em; }
260
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input,
262
+ body.roboGalleryFields #wpcontent div.roboGalleryFields optgroup,
263
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select,
264
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
265
+ color: inherit;
266
+ /* 1 */
267
+ font: inherit;
268
+ /* 2 */
269
+ margin: 0;
270
+ /* 3 */ }
271
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button {
272
+ overflow: visible; }
273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
274
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
275
+ text-transform: none; }
276
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
277
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="button"],
278
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="reset"],
279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="submit"] {
280
+ -webkit-appearance: button;
281
+ /* 2 */
282
+ cursor: pointer;
283
+ /* 3 */ }
284
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button[disabled],
285
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields input[disabled] {
286
+ cursor: not-allowed; }
287
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button::-moz-focus-inner,
288
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-moz-focus-inner {
289
+ border: 0;
290
+ padding: 0; }
291
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input {
292
+ line-height: normal; }
293
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="checkbox"],
294
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="radio"] {
295
+ box-sizing: border-box;
296
+ /* 1 */
297
+ padding: 0;
298
+ /* 2 */ }
299
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="number"]::-webkit-inner-spin-button,
300
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="number"]::-webkit-outer-spin-button {
301
+ height: auto; }
302
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"] {
303
+ -webkit-appearance: textfield;
304
+ /* 1 */
305
+ box-sizing: content-box;
306
+ /* 2 */ }
307
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"]::-webkit-search-cancel-button,
308
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"]::-webkit-search-decoration {
309
+ -webkit-appearance: none; }
310
+ body.roboGalleryFields #wpcontent div.roboGalleryFields legend {
311
+ border: 0;
312
+ /* 1 */
313
+ padding: 0;
314
+ /* 2 */ }
315
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
316
+ overflow: auto; }
317
+ body.roboGalleryFields #wpcontent div.roboGalleryFields optgroup {
318
+ font-weight: bold; }
319
+ body.roboGalleryFields #wpcontent div.roboGalleryFields table {
320
+ border-collapse: collapse;
321
+ border-spacing: 0; }
322
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td,
323
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th {
324
+ padding: 0; }
325
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .foundation-mq {
326
+ font-family: "small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"; }
327
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields{
328
+ font-size: 100%;
329
+ box-sizing: border-box; }
330
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *,
331
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *::before,
332
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *::after {
333
+ box-sizing: inherit; }
334
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
335
+ padding: 0;
336
+ margin: 0;
337
+ font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
338
+ font-weight: normal;
339
+ line-height: 1.5;
340
+ color: #0a0a0a;
341
+ /* background: #fefefe; */
342
+ -webkit-font-smoothing: antialiased;
343
+ -moz-osx-font-smoothing: grayscale; }
344
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
345
+ max-width: 100%;
346
+ height: auto;
347
+ -ms-interpolation-mode: bicubic;
348
+ display: inline-block;
349
+ vertical-align: middle; }
350
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
351
+ height: auto;
352
+ min-height: 50px;
353
+ border-radius: 0; }
354
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
355
+ width: 100%;
356
+ border-radius: 0; }
357
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas img,
358
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas embed,
359
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas object,
360
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas img,
361
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas embed,
362
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas object,
363
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display img,
364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display embed,
365
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display object {
366
+ max-width: none !important; }
367
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button {
368
+ -webkit-appearance: none;
369
+ -moz-appearance: none;
370
+ background: transparent;
371
+ padding: 0;
372
+ border: 0;
373
+ border-radius: 0;
374
+ line-height: 1; }
375
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields button {
376
+ outline: 0; }
377
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-visible {
378
+ display: block !important; }
379
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-hidden {
380
+ display: none !important; }
381
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
382
+ max-width: 75rem;
383
+ margin-left: auto;
384
+ margin-right: auto; }
385
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .row::after {
386
+ content: ' ';
387
+ display: table; }
388
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row::after {
389
+ clear: both; }
390
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .columns {
391
+ padding-left: 0;
392
+ padding-right: 0; }
393
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
394
+ max-width: none;
395
+ margin-left: -0.625rem;
396
+ margin-right: -0.625rem;
397
+ max-width: none; }
398
+ @media screen and (min-width: 40em) {
399
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
400
+ margin-left: -0.9375rem;
401
+ margin-right: -0.9375rem; } }
402
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse {
403
+ margin-left: 0;
404
+ margin-right: 0; }
405
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded {
406
+ max-width: none; }
407
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded .row {
408
+ margin-left: auto;
409
+ margin-right: auto; }
410
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
411
+ width: 100%;
412
+ float: left;
413
+ padding-left: 0.625rem;
414
+ padding-right: 0.625rem; }
415
+ @media screen and (min-width: 40em) {
416
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
417
+ padding-left: 0.9375rem;
418
+ padding-right: 0.9375rem; } }
419
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column:last-child:not(:first-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .columns:last-child:not(:first-child) {
420
+ float: right; }
421
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.end:last-child:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .end.columns:last-child:last-child {
422
+ float: left; }
423
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
424
+ float: none; }
425
+ .row body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
426
+ padding-left: 0;
427
+ padding-right: 0;
428
+ margin-left: 0;
429
+ margin-right: 0; }
430
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-1 {
431
+ width: 8.33333%; }
432
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-1 {
433
+ position: relative;
434
+ left: 8.33333%; }
435
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-1 {
436
+ position: relative;
437
+ left: -8.33333%; }
438
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-0 {
439
+ margin-left: 0%; }
440
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-2 {
441
+ width: 16.66667%; }
442
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-2 {
443
+ position: relative;
444
+ left: 16.66667%; }
445
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-2 {
446
+ position: relative;
447
+ left: -16.66667%; }
448
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-1 {
449
+ margin-left: 8.33333%; }
450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-3 {
451
+ width: 25%; }
452
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-3 {
453
+ position: relative;
454
+ left: 25%; }
455
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-3 {
456
+ position: relative;
457
+ left: -25%; }
458
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-2 {
459
+ margin-left: 16.66667%; }
460
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-4 {
461
+ width: 33.33333%; }
462
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-4 {
463
+ position: relative;
464
+ left: 33.33333%; }
465
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-4 {
466
+ position: relative;
467
+ left: -33.33333%; }
468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-3 {
469
+ margin-left: 25%; }
470
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-5 {
471
+ width: 41.66667%; }
472
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-5 {
473
+ position: relative;
474
+ left: 41.66667%; }
475
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-5 {
476
+ position: relative;
477
+ left: -41.66667%; }
478
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-4 {
479
+ margin-left: 33.33333%; }
480
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-6 {
481
+ width: 50%; }
482
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-6 {
483
+ position: relative;
484
+ left: 50%; }
485
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-6 {
486
+ position: relative;
487
+ left: -50%; }
488
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-5 {
489
+ margin-left: 41.66667%; }
490
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-7 {
491
+ width: 58.33333%; }
492
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-7 {
493
+ position: relative;
494
+ left: 58.33333%; }
495
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-7 {
496
+ position: relative;
497
+ left: -58.33333%; }
498
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-6 {
499
+ margin-left: 50%; }
500
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-8 {
501
+ width: 66.66667%; }
502
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-8 {
503
+ position: relative;
504
+ left: 66.66667%; }
505
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-8 {
506
+ position: relative;
507
+ left: -66.66667%; }
508
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-7 {
509
+ margin-left: 58.33333%; }
510
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-9 {
511
+ width: 75%; }
512
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-9 {
513
+ position: relative;
514
+ left: 75%; }
515
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-9 {
516
+ position: relative;
517
+ left: -75%; }
518
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-8 {
519
+ margin-left: 66.66667%; }
520
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-10 {
521
+ width: 83.33333%; }
522
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-10 {
523
+ position: relative;
524
+ left: 83.33333%; }
525
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-10 {
526
+ position: relative;
527
+ left: -83.33333%; }
528
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-9 {
529
+ margin-left: 75%; }
530
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-11 {
531
+ width: 91.66667%; }
532
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-11 {
533
+ position: relative;
534
+ left: 91.66667%; }
535
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-11 {
536
+ position: relative;
537
+ left: -91.66667%; }
538
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-10 {
539
+ margin-left: 83.33333%; }
540
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-12 {
541
+ width: 100%; }
542
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-11 {
543
+ margin-left: 91.66667%; }
544
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns {
545
+ width: 100%;
546
+ float: left; }
547
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:nth-of-type(1n) {
548
+ clear: none; }
549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:nth-of-type(1n+1) {
550
+ clear: both; }
551
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:last-child {
552
+ float: left; }
553
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns {
554
+ width: 50%;
555
+ float: left; }
556
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:nth-of-type(1n) {
557
+ clear: none; }
558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:nth-of-type(2n+1) {
559
+ clear: both; }
560
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:last-child {
561
+ float: left; }
562
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns {
563
+ width: 33.33333%;
564
+ float: left; }
565
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:nth-of-type(1n) {
566
+ clear: none; }
567
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:nth-of-type(3n+1) {
568
+ clear: both; }
569
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:last-child {
570
+ float: left; }
571
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns {
572
+ width: 25%;
573
+ float: left; }
574
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:nth-of-type(1n) {
575
+ clear: none; }
576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:nth-of-type(4n+1) {
577
+ clear: both; }
578
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:last-child {
579
+ float: left; }
580
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns {
581
+ width: 20%;
582
+ float: left; }
583
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:nth-of-type(1n) {
584
+ clear: none; }
585
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:nth-of-type(5n+1) {
586
+ clear: both; }
587
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:last-child {
588
+ float: left; }
589
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns {
590
+ width: 16.66667%;
591
+ float: left; }
592
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:nth-of-type(1n) {
593
+ clear: none; }
594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:nth-of-type(6n+1) {
595
+ clear: both; }
596
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:last-child {
597
+ float: left; }
598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns {
599
+ width: 14.28571%;
600
+ float: left; }
601
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:nth-of-type(1n) {
602
+ clear: none; }
603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:nth-of-type(7n+1) {
604
+ clear: both; }
605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:last-child {
606
+ float: left; }
607
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns {
608
+ width: 12.5%;
609
+ float: left; }
610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:nth-of-type(1n) {
611
+ clear: none; }
612
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:nth-of-type(8n+1) {
613
+ clear: both; }
614
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:last-child {
615
+ float: left; }
616
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .columns {
617
+ padding-left: 0;
618
+ padding-right: 0; }
619
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse .row {
620
+ margin-left: 0;
621
+ margin-right: 0; }
622
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .columns {
623
+ padding-left: 0.625rem;
624
+ padding-right: 0.625rem; }
625
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-centered {
626
+ float: none;
627
+ margin-left: auto;
628
+ margin-right: auto; }
629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncentered,
630
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-0,
631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-0 {
632
+ position: static;
633
+ margin-left: 0;
634
+ margin-right: 0;
635
+ float: left; }
636
+ @media screen and (min-width: 40em) {
637
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-1 {
638
+ width: 8.33333%; }
639
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-1 {
640
+ position: relative;
641
+ left: 8.33333%; }
642
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-1 {
643
+ position: relative;
644
+ left: -8.33333%; }
645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-0 {
646
+ margin-left: 0%; }
647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-2 {
648
+ width: 16.66667%; }
649
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-2 {
650
+ position: relative;
651
+ left: 16.66667%; }
652
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-2 {
653
+ position: relative;
654
+ left: -16.66667%; }
655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-1 {
656
+ margin-left: 8.33333%; }
657
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-3 {
658
+ width: 25%; }
659
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-3 {
660
+ position: relative;
661
+ left: 25%; }
662
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-3 {
663
+ position: relative;
664
+ left: -25%; }
665
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-2 {
666
+ margin-left: 16.66667%; }
667
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-4 {
668
+ width: 33.33333%; }
669
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-4 {
670
+ position: relative;
671
+ left: 33.33333%; }
672
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-4 {
673
+ position: relative;
674
+ left: -33.33333%; }
675
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-3 {
676
+ margin-left: 25%; }
677
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-5 {
678
+ width: 41.66667%; }
679
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-5 {
680
+ position: relative;
681
+ left: 41.66667%; }
682
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-5 {
683
+ position: relative;
684
+ left: -41.66667%; }
685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-4 {
686
+ margin-left: 33.33333%; }
687
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-6 {
688
+ width: 50%; }
689
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-6 {
690
+ position: relative;
691
+ left: 50%; }
692
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-6 {
693
+ position: relative;
694
+ left: -50%; }
695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-5 {
696
+ margin-left: 41.66667%; }
697
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-7 {
698
+ width: 58.33333%; }
699
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-7 {
700
+ position: relative;
701
+ left: 58.33333%; }
702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-7 {
703
+ position: relative;
704
+ left: -58.33333%; }
705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-6 {
706
+ margin-left: 50%; }
707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-8 {
708
+ width: 66.66667%; }
709
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-8 {
710
+ position: relative;
711
+ left: 66.66667%; }
712
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-8 {
713
+ position: relative;
714
+ left: -66.66667%; }
715
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-7 {
716
+ margin-left: 58.33333%; }
717
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-9 {
718
+ width: 75%; }
719
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-9 {
720
+ position: relative;
721
+ left: 75%; }
722
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-9 {
723
+ position: relative;
724
+ left: -75%; }
725
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-8 {
726
+ margin-left: 66.66667%; }
727
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-10 {
728
+ width: 83.33333%; }
729
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-10 {
730
+ position: relative;
731
+ left: 83.33333%; }
732
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-10 {
733
+ position: relative;
734
+ left: -83.33333%; }
735
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-9 {
736
+ margin-left: 75%; }
737
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-11 {
738
+ width: 91.66667%; }
739
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-11 {
740
+ position: relative;
741
+ left: 91.66667%; }
742
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-11 {
743
+ position: relative;
744
+ left: -91.66667%; }
745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-10 {
746
+ margin-left: 83.33333%; }
747
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-12 {
748
+ width: 100%; }
749
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-11 {
750
+ margin-left: 91.66667%; }
751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns {
752
+ width: 100%;
753
+ float: left; }
754
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:nth-of-type(1n) {
755
+ clear: none; }
756
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:nth-of-type(1n+1) {
757
+ clear: both; }
758
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:last-child {
759
+ float: left; }
760
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns {
761
+ width: 50%;
762
+ float: left; }
763
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:nth-of-type(1n) {
764
+ clear: none; }
765
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:nth-of-type(2n+1) {
766
+ clear: both; }
767
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:last-child {
768
+ float: left; }
769
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns {
770
+ width: 33.33333%;
771
+ float: left; }
772
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:nth-of-type(1n) {
773
+ clear: none; }
774
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:nth-of-type(3n+1) {
775
+ clear: both; }
776
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:last-child {
777
+ float: left; }
778
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns {
779
+ width: 25%;
780
+ float: left; }
781
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:nth-of-type(1n) {
782
+ clear: none; }
783
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:nth-of-type(4n+1) {
784
+ clear: both; }
785
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:last-child {
786
+ float: left; }
787
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns {
788
+ width: 20%;
789
+ float: left; }
790
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:nth-of-type(1n) {
791
+ clear: none; }
792
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:nth-of-type(5n+1) {
793
+ clear: both; }
794
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:last-child {
795
+ float: left; }
796
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns {
797
+ width: 16.66667%;
798
+ float: left; }
799
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:nth-of-type(1n) {
800
+ clear: none; }
801
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:nth-of-type(6n+1) {
802
+ clear: both; }
803
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:last-child {
804
+ float: left; }
805
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns {
806
+ width: 14.28571%;
807
+ float: left; }
808
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:nth-of-type(1n) {
809
+ clear: none; }
810
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:nth-of-type(7n+1) {
811
+ clear: both; }
812
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:last-child {
813
+ float: left; }
814
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns {
815
+ width: 12.5%;
816
+ float: left; }
817
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:nth-of-type(1n) {
818
+ clear: none; }
819
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:nth-of-type(8n+1) {
820
+ clear: both; }
821
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:last-child {
822
+ float: left; }
823
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .columns {
824
+ padding-left: 0;
825
+ padding-right: 0; }
826
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse .row {
827
+ margin-left: 0;
828
+ margin-right: 0; }
829
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .columns {
830
+ padding-left: 0.9375rem;
831
+ padding-right: 0.9375rem; }
832
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-centered {
833
+ float: none;
834
+ margin-left: auto;
835
+ margin-right: auto; }
836
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncentered,
837
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-0,
838
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-0 {
839
+ position: static;
840
+ margin-left: 0;
841
+ margin-right: 0;
842
+ float: left; } }
843
+ @media screen and (min-width: 64em) {
844
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-1 {
845
+ width: 8.33333%; }
846
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-1 {
847
+ position: relative;
848
+ left: 8.33333%; }
849
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-1 {
850
+ position: relative;
851
+ left: -8.33333%; }
852
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-0 {
853
+ margin-left: 0%; }
854
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-2 {
855
+ width: 16.66667%; }
856
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-2 {
857
+ position: relative;
858
+ left: 16.66667%; }
859
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-2 {
860
+ position: relative;
861
+ left: -16.66667%; }
862
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-1 {
863
+ margin-left: 8.33333%; }
864
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-3 {
865
+ width: 25%; }
866
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-3 {
867
+ position: relative;
868
+ left: 25%; }
869
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-3 {
870
+ position: relative;
871
+ left: -25%; }
872
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-2 {
873
+ margin-left: 16.66667%; }
874
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-4 {
875
+ width: 33.33333%; }
876
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-4 {
877
+ position: relative;
878
+ left: 33.33333%; }
879
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-4 {
880
+ position: relative;
881
+ left: -33.33333%; }
882
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-3 {
883
+ margin-left: 25%; }
884
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-5 {
885
+ width: 41.66667%; }
886
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-5 {
887
+ position: relative;
888
+ left: 41.66667%; }
889
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-5 {
890
+ position: relative;
891
+ left: -41.66667%; }
892
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-4 {
893
+ margin-left: 33.33333%; }
894
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-6 {
895
+ width: 50%; }
896
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-6 {
897
+ position: relative;
898
+ left: 50%; }
899
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-6 {
900
+ position: relative;
901
+ left: -50%; }
902
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-5 {
903
+ margin-left: 41.66667%; }
904
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-7 {
905
+ width: 58.33333%; }
906
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-7 {
907
+ position: relative;
908
+ left: 58.33333%; }
909
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-7 {
910
+ position: relative;
911
+ left: -58.33333%; }
912
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-6 {
913
+ margin-left: 50%; }
914
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-8 {
915
+ width: 66.66667%; }
916
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-8 {
917
+ position: relative;
918
+ left: 66.66667%; }
919
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-8 {
920
+ position: relative;
921
+ left: -66.66667%; }
922
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-7 {
923
+ margin-left: 58.33333%; }
924
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-9 {
925
+ width: 75%; }
926
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-9 {
927
+ position: relative;
928
+ left: 75%; }
929
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-9 {
930
+ position: relative;
931
+ left: -75%; }
932
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-8 {
933
+ margin-left: 66.66667%; }
934
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-10 {
935
+ width: 83.33333%; }
936
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-10 {
937
+ position: relative;
938
+ left: 83.33333%; }
939
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-10 {
940
+ position: relative;
941
+ left: -83.33333%; }
942
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-9 {
943
+ margin-left: 75%; }
944
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-11 {
945
+ width: 91.66667%; }
946
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-11 {
947
+ position: relative;
948
+ left: 91.66667%; }
949
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-11 {
950
+ position: relative;
951
+ left: -91.66667%; }
952
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-10 {
953
+ margin-left: 83.33333%; }
954
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-12 {
955
+ width: 100%; }
956
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-11 {
957
+ margin-left: 91.66667%; }
958
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns {
959
+ width: 100%;
960
+ float: left; }
961
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:nth-of-type(1n) {
962
+ clear: none; }
963
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:nth-of-type(1n+1) {
964
+ clear: both; }
965
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:last-child {
966
+ float: left; }
967
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns {
968
+ width: 50%;
969
+ float: left; }
970
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:nth-of-type(1n) {
971
+ clear: none; }
972
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:nth-of-type(2n+1) {
973
+ clear: both; }
974
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:last-child {
975
+ float: left; }
976
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns {
977
+ width: 33.33333%;
978
+ float: left; }
979
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:nth-of-type(1n) {
980
+ clear: none; }
981
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:nth-of-type(3n+1) {
982
+ clear: both; }
983
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:last-child {
984
+ float: left; }
985
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns {
986
+ width: 25%;
987
+ float: left; }
988
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:nth-of-type(1n) {
989
+ clear: none; }
990
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:nth-of-type(4n+1) {
991
+ clear: both; }
992
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:last-child {
993
+ float: left; }
994
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns {
995
+ width: 20%;
996
+ float: left; }
997
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:nth-of-type(1n) {
998
+ clear: none; }
999
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:nth-of-type(5n+1) {
1000
+ clear: both; }
1001
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:last-child {
1002
+ float: left; }
1003
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns {
1004
+ width: 16.66667%;
1005
+ float: left; }
1006
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:nth-of-type(1n) {
1007
+ clear: none; }
1008
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:nth-of-type(6n+1) {
1009
+ clear: both; }
1010
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:last-child {
1011
+ float: left; }
1012
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns {
1013
+ width: 14.28571%;
1014
+ float: left; }
1015
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:nth-of-type(1n) {
1016
+ clear: none; }
1017
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:nth-of-type(7n+1) {
1018
+ clear: both; }
1019
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:last-child {
1020
+ float: left; }
1021
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns {
1022
+ width: 12.5%;
1023
+ float: left; }
1024
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:nth-of-type(1n) {
1025
+ clear: none; }
1026
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:nth-of-type(8n+1) {
1027
+ clear: both; }
1028
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:last-child {
1029
+ float: left; }
1030
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .columns {
1031
+ padding-left: 0;
1032
+ padding-right: 0; }
1033
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse .row {
1034
+ margin-left: 0;
1035
+ margin-right: 0; }
1036
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .columns {
1037
+ padding-left: 0.9375rem;
1038
+ padding-right: 0.9375rem; }
1039
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-centered {
1040
+ float: none;
1041
+ margin-left: auto;
1042
+ margin-right: auto; }
1043
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncentered,
1044
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-0,
1045
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-0 {
1046
+ position: static;
1047
+ margin-left: 0;
1048
+ margin-right: 0;
1049
+ float: left; } }
1050
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1051
+ max-width: 75rem;
1052
+ margin-left: auto;
1053
+ margin-right: auto;
1054
+ display: -ms-flexbox;
1055
+ display: flex;
1056
+ -ms-flex-flow: row wrap;
1057
+ flex-flow: row wrap; }
1058
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1059
+ max-width: none;
1060
+ margin-left: -0.625rem;
1061
+ margin-right: -0.625rem;
1062
+ max-width: none; }
1063
+ @media screen and (min-width: 40em) {
1064
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1065
+ margin-left: -0.9375rem;
1066
+ margin-right: -0.9375rem; } }
1067
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded {
1068
+ max-width: none; }
1069
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .columns {
1070
+ padding-left: 0;
1071
+ padding-right: 0; }
1072
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
1073
+ -ms-flex: 1 1 0px;
1074
+ flex: 1 1 0px;
1075
+ padding-left: 0.625rem;
1076
+ padding-right: 0.625rem;
1077
+ min-width: 0; }
1078
+ @media screen and (min-width: 40em) {
1079
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
1080
+ padding-left: 0.9375rem;
1081
+ padding-right: 0.9375rem; } }
1082
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
1083
+ float: none;
1084
+ display: block; }
1085
+ .row body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
1086
+ padding-left: 0;
1087
+ padding-right: 0;
1088
+ margin-left: 0;
1089
+ margin-right: 0; }
1090
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-1 {
1091
+ -ms-flex: 0 0 8.33333%;
1092
+ flex: 0 0 8.33333%;
1093
+ max-width: 8.33333%; }
1094
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-0 {
1095
+ margin-left: 0%; }
1096
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-2 {
1097
+ -ms-flex: 0 0 16.66667%;
1098
+ flex: 0 0 16.66667%;
1099
+ max-width: 16.66667%; }
1100
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-1 {
1101
+ margin-left: 8.33333%; }
1102
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-3 {
1103
+ -ms-flex: 0 0 25%;
1104
+ flex: 0 0 25%;
1105
+ max-width: 25%; }
1106
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-2 {
1107
+ margin-left: 16.66667%; }
1108
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-4 {
1109
+ -ms-flex: 0 0 33.33333%;
1110
+ flex: 0 0 33.33333%;
1111
+ max-width: 33.33333%; }
1112
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-3 {
1113
+ margin-left: 25%; }
1114
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-5 {
1115
+ -ms-flex: 0 0 41.66667%;
1116
+ flex: 0 0 41.66667%;
1117
+ max-width: 41.66667%; }
1118
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-4 {
1119
+ margin-left: 33.33333%; }
1120
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-6 {
1121
+ -ms-flex: 0 0 50%;
1122
+ flex: 0 0 50%;
1123
+ max-width: 50%; }
1124
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-5 {
1125
+ margin-left: 41.66667%; }
1126
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-7 {
1127
+ -ms-flex: 0 0 58.33333%;
1128
+ flex: 0 0 58.33333%;
1129
+ max-width: 58.33333%; }
1130
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-6 {
1131
+ margin-left: 50%; }
1132
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-8 {
1133
+ -ms-flex: 0 0 66.66667%;
1134
+ flex: 0 0 66.66667%;
1135
+ max-width: 66.66667%; }
1136
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-7 {
1137
+ margin-left: 58.33333%; }
1138
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-9 {
1139
+ -ms-flex: 0 0 75%;
1140
+ flex: 0 0 75%;
1141
+ max-width: 75%; }
1142
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-8 {
1143
+ margin-left: 66.66667%; }
1144
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-10 {
1145
+ -ms-flex: 0 0 83.33333%;
1146
+ flex: 0 0 83.33333%;
1147
+ max-width: 83.33333%; }
1148
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-9 {
1149
+ margin-left: 75%; }
1150
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-11 {
1151
+ -ms-flex: 0 0 91.66667%;
1152
+ flex: 0 0 91.66667%;
1153
+ max-width: 91.66667%; }
1154
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-10 {
1155
+ margin-left: 83.33333%; }
1156
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-12 {
1157
+ -ms-flex: 0 0 100%;
1158
+ flex: 0 0 100%;
1159
+ max-width: 100%; }
1160
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-11 {
1161
+ margin-left: 91.66667%; }
1162
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-1 {
1163
+ -ms-flex-order: 1;
1164
+ order: 1; }
1165
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-2 {
1166
+ -ms-flex-order: 2;
1167
+ order: 2; }
1168
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-3 {
1169
+ -ms-flex-order: 3;
1170
+ order: 3; }
1171
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-4 {
1172
+ -ms-flex-order: 4;
1173
+ order: 4; }
1174
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-5 {
1175
+ -ms-flex-order: 5;
1176
+ order: 5; }
1177
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-6 {
1178
+ -ms-flex-order: 6;
1179
+ order: 6; }
1180
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 {
1181
+ -ms-flex-wrap: wrap;
1182
+ flex-wrap: wrap; }
1183
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns {
1184
+ -ms-flex: 0 0 100%;
1185
+ flex: 0 0 100%;
1186
+ max-width: 100%; }
1187
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 {
1188
+ -ms-flex-wrap: wrap;
1189
+ flex-wrap: wrap; }
1190
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns {
1191
+ -ms-flex: 0 0 50%;
1192
+ flex: 0 0 50%;
1193
+ max-width: 50%; }
1194
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 {
1195
+ -ms-flex-wrap: wrap;
1196
+ flex-wrap: wrap; }
1197
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns {
1198
+ -ms-flex: 0 0 33.33333%;
1199
+ flex: 0 0 33.33333%;
1200
+ max-width: 33.33333%; }
1201
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 {
1202
+ -ms-flex-wrap: wrap;
1203
+ flex-wrap: wrap; }
1204
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns {
1205
+ -ms-flex: 0 0 25%;
1206
+ flex: 0 0 25%;
1207
+ max-width: 25%; }
1208
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 {
1209
+ -ms-flex-wrap: wrap;
1210
+ flex-wrap: wrap; }
1211
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns {
1212
+ -ms-flex: 0 0 20%;
1213
+ flex: 0 0 20%;
1214
+ max-width: 20%; }
1215
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 {
1216
+ -ms-flex-wrap: wrap;
1217
+ flex-wrap: wrap; }
1218
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns {
1219
+ -ms-flex: 0 0 16.66667%;
1220
+ flex: 0 0 16.66667%;
1221
+ max-width: 16.66667%; }
1222
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 {
1223
+ -ms-flex-wrap: wrap;
1224
+ flex-wrap: wrap; }
1225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns {
1226
+ -ms-flex: 0 0 14.28571%;
1227
+ flex: 0 0 14.28571%;
1228
+ max-width: 14.28571%; }
1229
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 {
1230
+ -ms-flex-wrap: wrap;
1231
+ flex-wrap: wrap; }
1232
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns {
1233
+ -ms-flex: 0 0 12.5%;
1234
+ flex: 0 0 12.5%;
1235
+ max-width: 12.5%; }
1236
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .columns {
1237
+ padding-left: 0;
1238
+ padding-right: 0; }
1239
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .columns {
1240
+ padding-left: 0.625rem;
1241
+ padding-right: 0.625rem; }
1242
+ @media screen and (min-width: 40em) {
1243
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-1 {
1244
+ -ms-flex: 0 0 8.33333%;
1245
+ flex: 0 0 8.33333%;
1246
+ max-width: 8.33333%; }
1247
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-0 {
1248
+ margin-left: 0%; }
1249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-2 {
1250
+ -ms-flex: 0 0 16.66667%;
1251
+ flex: 0 0 16.66667%;
1252
+ max-width: 16.66667%; }
1253
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-1 {
1254
+ margin-left: 8.33333%; }
1255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-3 {
1256
+ -ms-flex: 0 0 25%;
1257
+ flex: 0 0 25%;
1258
+ max-width: 25%; }
1259
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-2 {
1260
+ margin-left: 16.66667%; }
1261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-4 {
1262
+ -ms-flex: 0 0 33.33333%;
1263
+ flex: 0 0 33.33333%;
1264
+ max-width: 33.33333%; }
1265
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-3 {
1266
+ margin-left: 25%; }
1267
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-5 {
1268
+ -ms-flex: 0 0 41.66667%;
1269
+ flex: 0 0 41.66667%;
1270
+ max-width: 41.66667%; }
1271
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-4 {
1272
+ margin-left: 33.33333%; }
1273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-6 {
1274
+ -ms-flex: 0 0 50%;
1275
+ flex: 0 0 50%;
1276
+ max-width: 50%; }
1277
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-5 {
1278
+ margin-left: 41.66667%; }
1279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-7 {
1280
+ -ms-flex: 0 0 58.33333%;
1281
+ flex: 0 0 58.33333%;
1282
+ max-width: 58.33333%; }
1283
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-6 {
1284
+ margin-left: 50%; }
1285
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-8 {
1286
+ -ms-flex: 0 0 66.66667%;
1287
+ flex: 0 0 66.66667%;
1288
+ max-width: 66.66667%; }
1289
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-7 {
1290
+ margin-left: 58.33333%; }
1291
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-9 {
1292
+ -ms-flex: 0 0 75%;
1293
+ flex: 0 0 75%;
1294
+ max-width: 75%; }
1295
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-8 {
1296
+ margin-left: 66.66667%; }
1297
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-10 {
1298
+ -ms-flex: 0 0 83.33333%;
1299
+ flex: 0 0 83.33333%;
1300
+ max-width: 83.33333%; }
1301
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-9 {
1302
+ margin-left: 75%; }
1303
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-11 {
1304
+ -ms-flex: 0 0 91.66667%;
1305
+ flex: 0 0 91.66667%;
1306
+ max-width: 91.66667%; }
1307
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-10 {
1308
+ margin-left: 83.33333%; }
1309
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-12 {
1310
+ -ms-flex: 0 0 100%;
1311
+ flex: 0 0 100%;
1312
+ max-width: 100%; }
1313
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-11 {
1314
+ margin-left: 91.66667%; }
1315
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-1 {
1316
+ -ms-flex-order: 1;
1317
+ order: 1; }
1318
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-2 {
1319
+ -ms-flex-order: 2;
1320
+ order: 2; }
1321
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-3 {
1322
+ -ms-flex-order: 3;
1323
+ order: 3; }
1324
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-4 {
1325
+ -ms-flex-order: 4;
1326
+ order: 4; }
1327
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-5 {
1328
+ -ms-flex-order: 5;
1329
+ order: 5; }
1330
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-6 {
1331
+ -ms-flex-order: 6;
1332
+ order: 6; }
1333
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 {
1334
+ -ms-flex-wrap: wrap;
1335
+ flex-wrap: wrap; }
1336
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns {
1337
+ -ms-flex: 0 0 100%;
1338
+ flex: 0 0 100%;
1339
+ max-width: 100%; }
1340
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 {
1341
+ -ms-flex-wrap: wrap;
1342
+ flex-wrap: wrap; }
1343
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns {
1344
+ -ms-flex: 0 0 50%;
1345
+ flex: 0 0 50%;
1346
+ max-width: 50%; }
1347
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 {
1348
+ -ms-flex-wrap: wrap;
1349
+ flex-wrap: wrap; }
1350
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns {
1351
+ -ms-flex: 0 0 33.33333%;
1352
+ flex: 0 0 33.33333%;
1353
+ max-width: 33.33333%; }
1354
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 {
1355
+ -ms-flex-wrap: wrap;
1356
+ flex-wrap: wrap; }
1357
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns {
1358
+ -ms-flex: 0 0 25%;
1359
+ flex: 0 0 25%;
1360
+ max-width: 25%; }
1361
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 {
1362
+ -ms-flex-wrap: wrap;
1363
+ flex-wrap: wrap; }
1364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns {
1365
+ -ms-flex: 0 0 20%;
1366
+ flex: 0 0 20%;
1367
+ max-width: 20%; }
1368
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 {
1369
+ -ms-flex-wrap: wrap;
1370
+ flex-wrap: wrap; }
1371
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns {
1372
+ -ms-flex: 0 0 16.66667%;
1373
+ flex: 0 0 16.66667%;
1374
+ max-width: 16.66667%; }
1375
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 {
1376
+ -ms-flex-wrap: wrap;
1377
+ flex-wrap: wrap; }
1378
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns {
1379
+ -ms-flex: 0 0 14.28571%;
1380
+ flex: 0 0 14.28571%;
1381
+ max-width: 14.28571%; }
1382
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 {
1383
+ -ms-flex-wrap: wrap;
1384
+ flex-wrap: wrap; }
1385
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns {
1386
+ -ms-flex: 0 0 12.5%;
1387
+ flex: 0 0 12.5%;
1388
+ max-width: 12.5%; } }
1389
+
1390
+ @media screen and (min-width: 40em) and (min-width: 40em) {
1391
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-expand {
1392
+ -ms-flex: 1 1 0px;
1393
+ flex: 1 1 0px; } }
1394
+
1395
+ .row.medium-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.medium-unstack > .columns {
1396
+ -ms-flex: 0 0 100%;
1397
+ flex: 0 0 100%; }
1398
+ @media screen and (min-width: 40em) {
1399
+ .row.medium-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.medium-unstack > .columns {
1400
+ -ms-flex: 1 1 0px;
1401
+ flex: 1 1 0px; } }
1402
+ @media screen and (min-width: 40em) {
1403
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .columns {
1404
+ padding-left: 0;
1405
+ padding-right: 0; }
1406
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .columns {
1407
+ padding-left: 0.9375rem;
1408
+ padding-right: 0.9375rem; } }
1409
+ @media screen and (min-width: 64em) {
1410
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-1 {
1411
+ -ms-flex: 0 0 8.33333%;
1412
+ flex: 0 0 8.33333%;
1413
+ max-width: 8.33333%; }
1414
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-0 {
1415
+ margin-left: 0%; }
1416
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-2 {
1417
+ -ms-flex: 0 0 16.66667%;
1418
+ flex: 0 0 16.66667%;
1419
+ max-width: 16.66667%; }
1420
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-1 {
1421
+ margin-left: 8.33333%; }
1422
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-3 {
1423
+ -ms-flex: 0 0 25%;
1424
+ flex: 0 0 25%;
1425
+ max-width: 25%; }
1426
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-2 {
1427
+ margin-left: 16.66667%; }
1428
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-4 {
1429
+ -ms-flex: 0 0 33.33333%;
1430
+ flex: 0 0 33.33333%;
1431
+ max-width: 33.33333%; }
1432
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-3 {
1433
+ margin-left: 25%; }
1434
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-5 {
1435
+ -ms-flex: 0 0 41.66667%;
1436
+ flex: 0 0 41.66667%;
1437
+ max-width: 41.66667%; }
1438
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-4 {
1439
+ margin-left: 33.33333%; }
1440
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-6 {
1441
+ -ms-flex: 0 0 50%;
1442
+ flex: 0 0 50%;
1443
+ max-width: 50%; }
1444
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-5 {
1445
+ margin-left: 41.66667%; }
1446
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-7 {
1447
+ -ms-flex: 0 0 58.33333%;
1448
+ flex: 0 0 58.33333%;
1449
+ max-width: 58.33333%; }
1450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-6 {
1451
+ margin-left: 50%; }
1452
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-8 {
1453
+ -ms-flex: 0 0 66.66667%;
1454
+ flex: 0 0 66.66667%;
1455
+ max-width: 66.66667%; }
1456
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-7 {
1457
+ margin-left: 58.33333%; }
1458
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-9 {
1459
+ -ms-flex: 0 0 75%;
1460
+ flex: 0 0 75%;
1461
+ max-width: 75%; }
1462
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-8 {
1463
+ margin-left: 66.66667%; }
1464
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-10 {
1465
+ -ms-flex: 0 0 83.33333%;
1466
+ flex: 0 0 83.33333%;
1467
+ max-width: 83.33333%; }
1468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-9 {
1469
+ margin-left: 75%; }
1470
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-11 {
1471
+ -ms-flex: 0 0 91.66667%;
1472
+ flex: 0 0 91.66667%;
1473
+ max-width: 91.66667%; }
1474
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-10 {
1475
+ margin-left: 83.33333%; }
1476
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-12 {
1477
+ -ms-flex: 0 0 100%;
1478
+ flex: 0 0 100%;
1479
+ max-width: 100%; }
1480
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-11 {
1481
+ margin-left: 91.66667%; }
1482
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-1 {
1483
+ -ms-flex-order: 1;
1484
+ order: 1; }
1485
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-2 {
1486
+ -ms-flex-order: 2;
1487
+ order: 2; }
1488
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-3 {
1489
+ -ms-flex-order: 3;
1490
+ order: 3; }
1491
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-4 {
1492
+ -ms-flex-order: 4;
1493
+ order: 4; }
1494
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-5 {
1495
+ -ms-flex-order: 5;
1496
+ order: 5; }
1497
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-6 {
1498
+ -ms-flex-order: 6;
1499
+ order: 6; }
1500
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 {
1501
+ -ms-flex-wrap: wrap;
1502
+ flex-wrap: wrap; }
1503
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns {
1504
+ -ms-flex: 0 0 100%;
1505
+ flex: 0 0 100%;
1506
+ max-width: 100%; }
1507
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 {
1508
+ -ms-flex-wrap: wrap;
1509
+ flex-wrap: wrap; }
1510
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns {
1511
+ -ms-flex: 0 0 50%;
1512
+ flex: 0 0 50%;
1513
+ max-width: 50%; }
1514
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 {
1515
+ -ms-flex-wrap: wrap;
1516
+ flex-wrap: wrap; }
1517
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns {
1518
+ -ms-flex: 0 0 33.33333%;
1519
+ flex: 0 0 33.33333%;
1520
+ max-width: 33.33333%; }
1521
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 {
1522
+ -ms-flex-wrap: wrap;
1523
+ flex-wrap: wrap; }
1524
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns {
1525
+ -ms-flex: 0 0 25%;
1526
+ flex: 0 0 25%;
1527
+ max-width: 25%; }
1528
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 {
1529
+ -ms-flex-wrap: wrap;
1530
+ flex-wrap: wrap; }
1531
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns {
1532
+ -ms-flex: 0 0 20%;
1533
+ flex: 0 0 20%;
1534
+ max-width: 20%; }
1535
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 {
1536
+ -ms-flex-wrap: wrap;
1537
+ flex-wrap: wrap; }
1538
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns {
1539
+ -ms-flex: 0 0 16.66667%;
1540
+ flex: 0 0 16.66667%;
1541
+ max-width: 16.66667%; }
1542
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 {
1543
+ -ms-flex-wrap: wrap;
1544
+ flex-wrap: wrap; }
1545
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns {
1546
+ -ms-flex: 0 0 14.28571%;
1547
+ flex: 0 0 14.28571%;
1548
+ max-width: 14.28571%; }
1549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 {
1550
+ -ms-flex-wrap: wrap;
1551
+ flex-wrap: wrap; }
1552
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns {
1553
+ -ms-flex: 0 0 12.5%;
1554
+ flex: 0 0 12.5%;
1555
+ max-width: 12.5%; } }
1556
+
1557
+ @media screen and (min-width: 64em) and (min-width: 64em) {
1558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-expand {
1559
+ -ms-flex: 1 1 0px;
1560
+ flex: 1 1 0px; } }
1561
+
1562
+ .row.large-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.large-unstack > .columns {
1563
+ -ms-flex: 0 0 100%;
1564
+ flex: 0 0 100%; }
1565
+ @media screen and (min-width: 64em) {
1566
+ .row.large-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.large-unstack > .columns {
1567
+ -ms-flex: 1 1 0px;
1568
+ flex: 1 1 0px; } }
1569
+ @media screen and (min-width: 64em) {
1570
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .columns {
1571
+ padding-left: 0;
1572
+ padding-right: 0; }
1573
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .columns {
1574
+ padding-left: 0.9375rem;
1575
+ padding-right: 0.9375rem; } }
1576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .shrink {
1577
+ -ms-flex: 0 0 auto;
1578
+ flex: 0 0 auto;
1579
+ max-width: 100%; }
1580
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-top, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-top.columns {
1581
+ -ms-flex-item-align: start;
1582
+ align-self: flex-start; }
1583
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-bottom, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-bottom.columns {
1584
+ -ms-flex-item-align: end;
1585
+ align-self: flex-end; }
1586
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-middle, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-middle.columns {
1587
+ -ms-flex-item-align: center;
1588
+ align-self: center; }
1589
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-stretch, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-stretch.columns {
1590
+ -ms-flex-item-align: stretch;
1591
+ align-self: stretch; }
1592
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div,
1593
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl,
1594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dt,
1595
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dd,
1596
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul,
1597
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol,
1598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields li,
1599
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1,
1600
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1601
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3,
1602
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4,
1603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5,
1604
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6,
1605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
1606
+ body.roboGalleryFields #wpcontent div.roboGalleryFields form,
1607
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p,
1608
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote,
1609
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th,
1610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td {
1611
+ margin: 0;
1612
+ padding: 0; }
1613
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p {
1614
+ font-size: inherit;
1615
+ line-height: 1.6;
1616
+ margin-bottom: 1rem;
1617
+ text-rendering: optimizeLegibility; }
1618
+ body.roboGalleryFields #wpcontent div.roboGalleryFields em,
1619
+ body.roboGalleryFields #wpcontent div.roboGalleryFields i {
1620
+ font-style: italic;
1621
+ line-height: inherit; }
1622
+ body.roboGalleryFields #wpcontent div.roboGalleryFields strong,
1623
+ body.roboGalleryFields #wpcontent div.roboGalleryFields b {
1624
+ font-weight: bold;
1625
+ line-height: inherit; }
1626
+ body.roboGalleryFields #wpcontent div.roboGalleryFields small {
1627
+ font-size: 80%;
1628
+ line-height: inherit; }
1629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1,
1630
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3,
1632
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4,
1633
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5,
1634
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1635
+ font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
1636
+ font-weight: normal;
1637
+ font-style: normal;
1638
+ color: inherit;
1639
+ text-rendering: optimizeLegibility;
1640
+ margin-top: 0;
1641
+ margin-bottom: 0.5rem;
1642
+ line-height: 1.4; }
1643
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 small,
1644
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 small,
1645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 small,
1646
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 small,
1647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 small,
1648
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 small {
1649
+ color: #cacaca;
1650
+ line-height: 0; }
1651
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
1652
+ font-size: 1.5rem; }
1653
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 {
1654
+ font-size: 1.25rem; }
1655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1656
+ font-size: 1.1875rem; }
1657
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 {
1658
+ font-size: 1.125rem; }
1659
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 {
1660
+ font-size: 1.0625rem; }
1661
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1662
+ font-size: 1rem; }
1663
+ @media screen and (min-width: 40em) {
1664
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
1665
+ font-size: 3rem; }
1666
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 {
1667
+ font-size: 2.5rem; }
1668
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1669
+ font-size: 1.9375rem; }
1670
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 {
1671
+ font-size: 1.5625rem; }
1672
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 {
1673
+ font-size: 1.25rem; }
1674
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1675
+ font-size: 1rem; } }
1676
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a {
1677
+ color: #2199e8;
1678
+ text-decoration: none;
1679
+ line-height: inherit;
1680
+ cursor: pointer; }
1681
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields a:focus {
1682
+ color: #1585cf; }
1683
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a img {
1684
+ border: 0; }
1685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hr {
1686
+ max-width: 75rem;
1687
+ height: 0;
1688
+ border-right: 0;
1689
+ border-top: 0;
1690
+ border-bottom: 1px solid #cacaca;
1691
+ border-left: 0;
1692
+ margin: 1.25rem auto;
1693
+ clear: both; }
1694
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul,
1695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol,
1696
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl {
1697
+ line-height: 1.6;
1698
+ margin-bottom: 1rem;
1699
+ list-style-position: outside; }
1700
+ body.roboGalleryFields #wpcontent div.roboGalleryFields li {
1701
+ font-size: inherit; }
1702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul {
1703
+ list-style-type: disc;
1704
+ margin-left: 1.25rem; }
1705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol {
1706
+ margin-left: 1.25rem; }
1707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul body.roboGalleryFields #wpcontent div.roboGalleryFields ul, body.roboGalleryFields #wpcontent div.roboGalleryFields ol body.roboGalleryFields #wpcontent div.roboGalleryFields ul, body.roboGalleryFields #wpcontent div.roboGalleryFields ul body.roboGalleryFields #wpcontent div.roboGalleryFields ol, body.roboGalleryFields #wpcontent div.roboGalleryFields ol body.roboGalleryFields #wpcontent div.roboGalleryFields ol {
1708
+ margin-left: 1.25rem;
1709
+ margin-bottom: 0; }
1710
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl {
1711
+ margin-bottom: 1rem; }
1712
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl dt {
1713
+ margin-bottom: 0.3rem;
1714
+ font-weight: bold; }
1715
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote {
1716
+ margin: 0 0 1rem;
1717
+ padding: 0.5625rem 1.25rem 0 1.1875rem;
1718
+ border-left: 1px solid #cacaca; }
1719
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote, body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote p {
1720
+ line-height: 1.6;
1721
+ color: #8a8a8a; }
1722
+ body.roboGalleryFields #wpcontent div.roboGalleryFields cite {
1723
+ display: block;
1724
+ font-size: 0.8125rem;
1725
+ color: #8a8a8a; }
1726
+ body.roboGalleryFields #wpcontent div.roboGalleryFields cite:before {
1727
+ content: '\2014 \0020'; }
1728
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr {
1729
+ color: #0a0a0a;
1730
+ cursor: help;
1731
+ border-bottom: 1px dotted #0a0a0a; }
1732
+ body.roboGalleryFields #wpcontent div.roboGalleryFields code {
1733
+ font-family: Consolas, "Liberation Mono", Courier, monospace;
1734
+ font-weight: normal;
1735
+ color: #0a0a0a;
1736
+ background-color: #e6e6e6;
1737
+ border: 1px solid #cacaca;
1738
+ padding: 0.125rem 0.3125rem 0.0625rem; }
1739
+ body.roboGalleryFields #wpcontent div.roboGalleryFields kbd {
1740
+ padding: 0.125rem 0.25rem 0;
1741
+ margin: 0;
1742
+ background-color: #e6e6e6;
1743
+ color: #0a0a0a;
1744
+ font-family: Consolas, "Liberation Mono", Courier, monospace; }
1745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .subheader {
1746
+ margin-top: 0.2rem;
1747
+ margin-bottom: 0.5rem;
1748
+ font-weight: normal;
1749
+ line-height: 1.4;
1750
+ color: #8a8a8a; }
1751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .lead {
1752
+ font-size: 125%;
1753
+ line-height: 1.6; }
1754
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .stat {
1755
+ font-size: 2.5rem;
1756
+ line-height: 1; }
1757
+ p + body.roboGalleryFields #wpcontent div.roboGalleryFields .stat {
1758
+ margin-top: -1rem; }
1759
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .no-bullet {
1760
+ margin-left: 0;
1761
+ list-style: none; }
1762
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-left {
1763
+ text-align: left; }
1764
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-right {
1765
+ text-align: right; }
1766
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-center {
1767
+ text-align: center; }
1768
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-justify {
1769
+ text-align: justify; }
1770
+ @media screen and (min-width: 40em) {
1771
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-left {
1772
+ text-align: left; }
1773
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-right {
1774
+ text-align: right; }
1775
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-center {
1776
+ text-align: center; }
1777
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-justify {
1778
+ text-align: justify; } }
1779
+ @media screen and (min-width: 64em) {
1780
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-left {
1781
+ text-align: left; }
1782
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-right {
1783
+ text-align: right; }
1784
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-center {
1785
+ text-align: center; }
1786
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-justify {
1787
+ text-align: justify; } }
1788
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-print {
1789
+ display: none !important; }
1790
+ @media print {
1791
+ body.roboGalleryFields #wpcontent div.roboGalleryFields * {
1792
+ background: transparent !important;
1793
+ color: black !important;
1794
+ box-shadow: none !important;
1795
+ text-shadow: none !important; }
1796
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-print {
1797
+ display: block !important; }
1798
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-print {
1799
+ display: none !important; }
1800
+ body.roboGalleryFields #wpcontent div.roboGalleryFields table.show-for-print {
1801
+ display: table !important; }
1802
+ body.roboGalleryFields #wpcontent div.roboGalleryFields thead.show-for-print {
1803
+ display: table-header-group !important; }
1804
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tbody.show-for-print {
1805
+ display: table-row-group !important; }
1806
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tr.show-for-print {
1807
+ display: table-row !important; }
1808
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td.show-for-print {
1809
+ display: table-cell !important; }
1810
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th.show-for-print {
1811
+ display: table-cell !important; }
1812
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a,
1813
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:visited {
1814
+ text-decoration: underline; }
1815
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href]:after {
1816
+ content: " (" attr(href) ")"; }
1817
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .ir a:after,
1818
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href^='javascript:']:after,
1819
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href^='#']:after {
1820
+ content: ''; }
1821
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr[title]:after {
1822
+ content: " (" attr(title) ")"; }
1823
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
1824
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote {
1825
+ border: 1px solid #8a8a8a;
1826
+ page-break-inside: avoid; }
1827
+ body.roboGalleryFields #wpcontent div.roboGalleryFields thead {
1828
+ display: table-header-group; }
1829
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tr,
1830
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
1831
+ page-break-inside: avoid; }
1832
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
1833
+ max-width: 100% !important; }
1834
+ @page {
1835
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
1836
+ margin: 0.5cm; } }
1837
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p,
1838
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1839
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1840
+ orphans: 3;
1841
+ widows: 3; }
1842
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1843
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1844
+ page-break-after: avoid; } }
1845
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
1846
+ display: inline-block;
1847
+ text-align: center;
1848
+ line-height: 1;
1849
+ cursor: pointer;
1850
+ -webkit-appearance: none;
1851
+ transition: background-color 0.25s ease-out, color 0.25s ease-out;
1852
+ vertical-align: middle;
1853
+ border: 1px solid transparent;
1854
+ border-radius: 0;
1855
+ padding: 0.85em 1em;
1856
+ margin: 0 0 1rem 0;
1857
+ font-size: 0.9rem;
1858
+ background-color: #2199e8;
1859
+ color: #fefefe; }
1860
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
1861
+ outline: 0; }
1862
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button:focus {
1863
+ background-color: #1583cc;
1864
+ color: #fefefe; }
1865
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.tiny {
1866
+ font-size: 0.6rem; }
1867
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.small {
1868
+ font-size: 0.75rem; }
1869
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.large {
1870
+ font-size: 1.25rem; }
1871
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.expanded {
1872
+ display: block;
1873
+ width: 100%;
1874
+ margin-left: 0;
1875
+ margin-right: 0; }
1876
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary {
1877
+ background-color: #2199e8;
1878
+ color: #fefefe; }
1879
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary:focus {
1880
+ background-color: #147cc0;
1881
+ color: #fefefe; }
1882
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary {
1883
+ background-color: #777;
1884
+ color: #fefefe; }
1885
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary:focus {
1886
+ background-color: #5f5f5f;
1887
+ color: #fefefe; }
1888
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success {
1889
+ background-color: #3adb76;
1890
+ color: #fefefe; }
1891
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success:focus {
1892
+ background-color: #22bb5b;
1893
+ color: #fefefe; }
1894
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning {
1895
+ background-color: #ffae00;
1896
+ color: #fefefe; }
1897
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning:focus {
1898
+ background-color: #cc8b00;
1899
+ color: #fefefe; }
1900
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert {
1901
+ background-color: #ec5840;
1902
+ color: #fefefe; }
1903
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert:focus {
1904
+ background-color: #da3116;
1905
+ color: #fefefe; }
1906
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow {
1907
+ border: 1px solid #2199e8;
1908
+ color: #2199e8; }
1909
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:focus {
1910
+ background-color: transparent; }
1911
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:focus {
1912
+ border-color: #0c4d78;
1913
+ color: #0c4d78; }
1914
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary {
1915
+ border: 1px solid #2199e8;
1916
+ color: #2199e8; }
1917
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary:focus {
1918
+ border-color: #0c4d78;
1919
+ color: #0c4d78; }
1920
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary {
1921
+ border: 1px solid #777;
1922
+ color: #777; }
1923
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary:focus {
1924
+ border-color: #3c3c3c;
1925
+ color: #3c3c3c; }
1926
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success {
1927
+ border: 1px solid #3adb76;
1928
+ color: #3adb76; }
1929
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success:focus {
1930
+ border-color: #157539;
1931
+ color: #157539; }
1932
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning {
1933
+ border: 1px solid #ffae00;
1934
+ color: #ffae00; }
1935
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning:focus {
1936
+ border-color: #805700;
1937
+ color: #805700; }
1938
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert {
1939
+ border: 1px solid #ec5840;
1940
+ color: #ec5840; }
1941
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert:focus {
1942
+ border-color: #881f0e;
1943
+ color: #881f0e; }
1944
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.disabled, body.roboGalleryFields #wpcontent div.roboGalleryFields .button[disabled] {
1945
+ opacity: 0.25;
1946
+ cursor: not-allowed; }
1947
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.dropdown::after {
1948
+ content: '';
1949
+ display: block;
1950
+ width: 0;
1951
+ height: 0;
1952
+ border: inset 0.4em;
1953
+ border-color: #fefefe transparent transparent;
1954
+ border-top-style: solid;
1955
+ border-bottom-width: 0;
1956
+ position: relative;
1957
+ top: 0.4em;
1958
+ float: right;
1959
+ margin-left: 1em;
1960
+ display: inline-block; }
1961
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.arrow-only::after {
1962
+ margin-left: 0;
1963
+ float: none;
1964
+ top: -0.1em; }
1965
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='text'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='password'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='date'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime-local'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='month'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='week'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='email'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='number'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='search'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='tel'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='time'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='url'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='color'],
1966
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
1967
+ display: block;
1968
+ box-sizing: border-box;
1969
+ width: 100%;
1970
+ height: 2.4375rem;
1971
+ padding: 0.5rem;
1972
+ border: 1px solid #cacaca;
1973
+ margin: 0 0 1rem;
1974
+ font-family: inherit;
1975
+ font-size: 1rem;
1976
+ color: #0a0a0a;
1977
+ background-color: #fefefe;
1978
+ box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
1979
+ border-radius: 0;
1980
+ transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
1981
+ -webkit-appearance: none;
1982
+ -moz-appearance: none; }
1983
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='text']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='password']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='date']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime-local']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='month']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='week']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='email']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='number']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='search']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='tel']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='time']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='url']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='color']:focus,
1984
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:focus {
1985
+ border: 1px solid #8a8a8a;
1986
+ background-color: #fefefe;
1987
+ outline: none;
1988
+ box-shadow: 0 0 5px #cacaca;
1989
+ transition: box-shadow 0.5s, border-color 0.25s ease-in-out; }
1990
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
1991
+ max-width: 100%; }
1992
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea[rows] {
1993
+ height: auto; }
1994
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-webkit-input-placeholder,
1995
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::-webkit-input-placeholder {
1996
+ color: #cacaca; }
1997
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-moz-placeholder,
1998
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::-moz-placeholder {
1999
+ color: #cacaca; }
2000
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input:-ms-input-placeholder,
2001
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:-ms-input-placeholder {
2002
+ color: #cacaca; }
2003
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::placeholder,
2004
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::placeholder {
2005
+ color: #cacaca; }
2006
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input:disabled, body.roboGalleryFields #wpcontent div.roboGalleryFields input[readonly],
2007
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:disabled,
2008
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea[readonly] {
2009
+ background-color: #e6e6e6;
2010
+ cursor: default; }
2011
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='submit'],
2012
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='button'] {
2013
+ border-radius: 0;
2014
+ -webkit-appearance: none;
2015
+ -moz-appearance: none; }
2016
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type='search'] {
2017
+ box-sizing: border-box; }
2018
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='file'],
2019
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'],
2020
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] {
2021
+ margin: 0 0 1rem; }
2022
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'] + label,
2023
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] + label {
2024
+ display: inline-block;
2025
+ margin-left: 0.5rem;
2026
+ margin-right: 1rem;
2027
+ margin-bottom: 0;
2028
+ vertical-align: baseline; }
2029
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'] + label[for],
2030
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] + label[for] {
2031
+ cursor: pointer; }
2032
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label > [type='checkbox'],
2033
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label > [type='radio'] {
2034
+ margin-right: 0.5rem; }
2035
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='file'] {
2036
+ width: 100%; }
2037
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label {
2038
+ display: block;
2039
+ margin: 0;
2040
+ font-size: 0.875rem;
2041
+ font-weight: normal;
2042
+ line-height: 1.8;
2043
+ color: #0a0a0a; }
2044
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label.middle {
2045
+ margin: 0 0 1rem;
2046
+ padding: 0.5625rem 0; }
2047
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .help-text {
2048
+ margin-top: -0.5rem;
2049
+ font-size: 0.8125rem;
2050
+ font-style: italic;
2051
+ color: #0a0a0a; }
2052
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group {
2053
+ display: table;
2054
+ width: 100%;
2055
+ margin-bottom: 1rem; }
2056
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group > :first-child {
2057
+ border-radius: 0 0 0 0; }
2058
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group > :last-child > * {
2059
+ border-radius: 0 0 0 0; }
2060
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label, body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-field, body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button {
2061
+ margin: 0;
2062
+ display: table-cell;
2063
+ vertical-align: middle; }
2064
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label {
2065
+ text-align: center;
2066
+ padding: 0 1rem;
2067
+ background: #e6e6e6;
2068
+ color: #0a0a0a;
2069
+ border: 1px solid #cacaca;
2070
+ white-space: nowrap;
2071
+ width: 1%;
2072
+ height: 100%; }
2073
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label:first-child {
2074
+ border-right: 0; }
2075
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label:last-child {
2076
+ border-left: 0; }
2077
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-field {
2078
+ border-radius: 0;
2079
+ height: 2.5rem; }
2080
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button {
2081
+ padding-top: 0;
2082
+ padding-bottom: 0;
2083
+ text-align: center;
2084
+ height: 100%;
2085
+ width: 1%; }
2086
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button a,
2087
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button input,
2088
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button button {
2089
+ margin: 0; }
2090
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group .input-group-button {
2091
+ display: table-cell; }
2092
+ body.roboGalleryFields #wpcontent div.roboGalleryFields fieldset {
2093
+ border: 0;
2094
+ padding: 0;
2095
+ margin: 0; }
2096
+ body.roboGalleryFields #wpcontent div.roboGalleryFields legend {
2097
+ margin-bottom: 0.5rem;
2098
+ max-width: 100%; }
2099
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .fieldset {
2100
+ border: 1px solid #cacaca;
2101
+ padding: 1.25rem;
2102
+ margin: 1.125rem 0; }
2103
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .fieldset legend {
2104
+ background: #fefefe;
2105
+ padding: 0 0.1875rem;
2106
+ margin: 0;
2107
+ margin-left: -0.1875rem; }
2108
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
2109
+ height: 2.4375rem;
2110
+ padding: 0.5rem;
2111
+ border: 1px solid #cacaca;
2112
+ margin: 0 0 1rem;
2113
+ font-size: 1rem;
2114
+ font-family: inherit;
2115
+ line-height: normal;
2116
+ color: #0a0a0a;
2117
+ background-color: #fefefe;
2118
+ border-radius: 0;
2119
+ -webkit-appearance: none;
2120
+ -moz-appearance: none;
2121
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="24" viewBox="0 0 32 24"><polygon points="0,0 32,0 16,24" style="fill: rgb%28138, 138, 138%29"></polygon></svg>');
2122
+ background-size: 9px 6px;
2123
+ background-position: right center;
2124
+ background-origin: content-box;
2125
+ background-repeat: no-repeat; }
2126
+ @media screen and (min-width: 0\0) {
2127
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
2128
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg=="); } }
2129
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select:disabled {
2130
+ background-color: #e6e6e6;
2131
+ cursor: default; }
2132
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select::-ms-expand {
2133
+ display: none; }
2134
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select[multiple] {
2135
+ height: auto;
2136
+ background-image: none; }
2137
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-invalid-input:not(:focus) {
2138
+ background-color: rgba(236, 88, 64, 0.1);
2139
+ border-color: #ec5840; }
2140
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-invalid-label {
2141
+ color: #ec5840; }
2142
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .form-error {
2143
+ display: none;
2144
+ margin-top: -0.5rem;
2145
+ margin-bottom: 1rem;
2146
+ font-size: 0.75rem;
2147
+ font-weight: bold;
2148
+ color: #ec5840; }
2149
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .form-error.is-visible {
2150
+ display: block; }
2151
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"] {
2152
+ -webkit-appearance: none;
2153
+ -moz-appearance: none;
2154
+ display: block;
2155
+ width: 100%;
2156
+ height: auto;
2157
+ cursor: pointer;
2158
+ margin-top: 0.45rem;
2159
+ margin-bottom: 0.45rem;
2160
+ border: 0;
2161
+ line-height: 1; }
2162
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]:focus {
2163
+ outline: 0; }
2164
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"][disabled] {
2165
+ opacity: 0.25; }
2166
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-webkit-slider-runnable-track {
2167
+ height: 0.5rem;
2168
+ background: #e6e6e6; }
2169
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-webkit-slider-handle {
2170
+ -webkit-appearance: none;
2171
+ background: #2199e8;
2172
+ width: 1.4rem;
2173
+ height: 1.4rem;
2174
+ margin-top: -0.45rem; }
2175
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-moz-range-track {
2176
+ -moz-appearance: none;
2177
+ height: 0.5rem;
2178
+ background: #e6e6e6; }
2179
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-moz-range-thumb {
2180
+ -moz-appearance: none;
2181
+ background: #2199e8;
2182
+ width: 1.4rem;
2183
+ height: 1.4rem;
2184
+ margin-top: -0.45rem; }
2185
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-track {
2186
+ height: 0.5rem;
2187
+ background: #e6e6e6;
2188
+ color: transparent;
2189
+ border: 0;
2190
+ overflow: visible;
2191
+ border-top: 0.45rem solid #fefefe;
2192
+ border-bottom: 0.45rem solid #fefefe; }
2193
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-thumb {
2194
+ background: #2199e8;
2195
+ width: 1.4rem;
2196
+ height: 1.4rem;
2197
+ border: 0; }
2198
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-fill-lower {
2199
+ background: #cacaca; }
2200
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-fill-upper {
2201
+ background: #e6e6e6; }
2202
+ output {
2203
+ line-height: 1.4rem;
2204
+ vertical-align: middle;
2205
+ margin-left: 0.5em; }
2206
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group {
2207
+ margin-bottom: 1rem;
2208
+ font-size: 0; }
2209
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::after {
2210
+ content: ' ';
2211
+ display: table; }
2212
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::after {
2213
+ clear: both; }
2214
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group .button {
2215
+ margin: 0;
2216
+ font-size: 0.9rem; }
2217
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group .button:not(:last-child) {
2218
+ margin-right: 1px; }
2219
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.tiny .button {
2220
+ font-size: 0.6rem; }
2221
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.small .button {
2222
+ font-size: 0.75rem; }
2223
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.large .button {
2224
+ font-size: 1.25rem; }
2225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded {
2226
+ margin-right: -1px; }
2227
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded::after {
2228
+ display: none; }
2229
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(2), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(2):first-child:nth-last-child(2) ~ .button {
2230
+ display: inline-block;
2231
+ width: 50%;
2232
+ margin-right: 1px; }
2233
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(3), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(3):first-child:nth-last-child(3) ~ .button {
2234
+ display: inline-block;
2235
+ width: 33.33333%;
2236
+ margin-right: 1px; }
2237
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(4), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(4):first-child:nth-last-child(4) ~ .button {
2238
+ display: inline-block;
2239
+ width: 25%;
2240
+ margin-right: 1px; }
2241
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(5), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(5):first-child:nth-last-child(5) ~ .button {
2242
+ display: inline-block;
2243
+ width: 20%;
2244
+ margin-right: 1px; }
2245
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(6), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(6):first-child:nth-last-child(6) ~ .button {
2246
+ display: inline-block;
2247
+ width: 16.66667%;
2248
+ margin-right: 1px; }
2249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button {
2250
+ background-color: #2199e8;
2251
+ color: #fefefe; }
2252
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button:focus {
2253
+ background-color: #147cc0;
2254
+ color: #fefefe; }
2255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button {
2256
+ background-color: #777;
2257
+ color: #fefefe; }
2258
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button:focus {
2259
+ background-color: #5f5f5f;
2260
+ color: #fefefe; }
2261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button {
2262
+ background-color: #3adb76;
2263
+ color: #fefefe; }
2264
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button:focus {
2265
+ background-color: #22bb5b;
2266
+ color: #fefefe; }
2267
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button {
2268
+ background-color: #ffae00;
2269
+ color: #fefefe; }
2270
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button:focus {
2271
+ background-color: #cc8b00;
2272
+ color: #fefefe; }
2273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button {
2274
+ background-color: #ec5840;
2275
+ color: #fefefe; }
2276
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button:focus {
2277
+ background-color: #da3116;
2278
+ color: #fefefe; }
2279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked .button, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button {
2280
+ width: 100%;
2281
+ border-right: 1px solid transparent; }
2282
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked .button:not(:last-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button:not(:last-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button:not(:last-child) {
2283
+ border-bottom: 1px solid #fefefe; }
2284
+ @media screen and (min-width: 40em) {
2285
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button {
2286
+ width: auto; }
2287
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button:not(:last-child) {
2288
+ margin-right: 1px; } }
2289
+ @media screen and (min-width: 64em) {
2290
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button {
2291
+ width: auto; }
2292
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button:not(:last-child) {
2293
+ margin-right: 1px; } }
2294
+ @media screen and (max-width: 39.9375em) {
2295
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small.expanded {
2296
+ display: block; }
2297
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small.expanded .button {
2298
+ display: block;
2299
+ margin-right: 0; } }
2300
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label {
2301
+ display: inline-block;
2302
+ padding: 0.33333rem 0.5rem;
2303
+ font-size: 0.8rem;
2304
+ line-height: 1;
2305
+ white-space: nowrap;
2306
+ cursor: default;
2307
+ border-radius: 0;
2308
+ background: #2199e8;
2309
+ color: #fefefe; }
2310
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.secondary {
2311
+ background: #777;
2312
+ color: #fefefe; }
2313
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.success {
2314
+ background: #3adb76;
2315
+ color: #fefefe; }
2316
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.warning {
2317
+ background: #ffae00;
2318
+ color: #fefefe; }
2319
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.alert {
2320
+ background: #ec5840;
2321
+ color: #fefefe; }
2322
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider {
2323
+ position: relative;
2324
+ height: 0.5rem;
2325
+ margin-top: 1.25rem;
2326
+ margin-bottom: 2.25rem;
2327
+ background-color: #e6e6e6;
2328
+ cursor: pointer;
2329
+ -webkit-user-select: none;
2330
+ -moz-user-select: none;
2331
+ -ms-user-select: none;
2332
+ user-select: none;
2333
+ -ms-touch-action: none;
2334
+ touch-action: none; }
2335
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-fill {
2336
+ position: absolute;
2337
+ top: 0;
2338
+ left: 0;
2339
+ display: inline-block;
2340
+ max-width: 100%;
2341
+ height: 0.5rem;
2342
+ background-color: #cacaca;
2343
+ transition: all 0.2s ease-in-out; }
2344
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-fill.is-dragging {
2345
+ transition: all 0s linear; }
2346
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle {
2347
+ position: absolute;
2348
+ top: 50%;
2349
+ -ms-transform: translateY(-50%);
2350
+ transform: translateY(-50%);
2351
+ position: absolute;
2352
+ left: 0;
2353
+ z-index: 1;
2354
+ display: inline-block;
2355
+ width: 1.4rem;
2356
+ height: 1.4rem;
2357
+ background-color: #2199e8;
2358
+ transition: all 0.2s ease-in-out;
2359
+ -ms-touch-action: manipulation;
2360
+ touch-action: manipulation;
2361
+ border-radius: 0; }
2362
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle {
2363
+ outline: 0; }
2364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle:hover {
2365
+ background-color: #1583cc; }
2366
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle.is-dragging {
2367
+ transition: all 0s linear; }
2368
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.disabled,
2369
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider[disabled] {
2370
+ opacity: 0.25;
2371
+ cursor: not-allowed; }
2372
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical {
2373
+ display: inline-block;
2374
+ width: 0.5rem;
2375
+ height: 12.5rem;
2376
+ margin: 0 1.25rem;
2377
+ -ms-transform: scale(1, -1);
2378
+ transform: scale(1, -1); }
2379
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical .slider-fill {
2380
+ top: 0;
2381
+ width: 0.5rem;
2382
+ max-height: 100%; }
2383
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical .slider-handle {
2384
+ position: absolute;
2385
+ top: 0;
2386
+ left: 50%;
2387
+ width: 1.4rem;
2388
+ height: 1.4rem;
2389
+ -ms-transform: translateX(-50%);
2390
+ transform: translateX(-50%); }
2391
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch {
2392
+ margin-bottom: 1rem;
2393
+ outline: 0;
2394
+ position: relative;
2395
+ -webkit-user-select: none;
2396
+ -moz-user-select: none;
2397
+ -ms-user-select: none;
2398
+ user-select: none;
2399
+ color: #fefefe;
2400
+ font-weight: bold;
2401
+ font-size: 0.875rem; }
2402
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-input {
2403
+ opacity: 0;
2404
+ position: absolute; }
2405
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2406
+ background: #cacaca;
2407
+ cursor: pointer;
2408
+ display: block;
2409
+ position: relative;
2410
+ width: 4rem;
2411
+ height: 2rem;
2412
+ transition: all 0.25s ease-out;
2413
+ border-radius: 0;
2414
+ color: inherit;
2415
+ font-weight: inherit; }
2416
+ input + body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2417
+ margin: 0; }
2418
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle::after {
2419
+ background: #fefefe;
2420
+ content: '';
2421
+ display: block;
2422
+ position: absolute;
2423
+ height: 1.5rem;
2424
+ left: 0.25rem;
2425
+ top: 0.25rem;
2426
+ width: 1.5rem;
2427
+ transition: all 0.25s ease-out;
2428
+ transform: translate3d(0, 0, 0);
2429
+ border-radius: 0; }
2430
+ input:checked ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2431
+ background: #2199e8; }
2432
+ input:checked ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle::after {
2433
+ left: 2.25rem; }
2434
+ [data-whatinput='mouse'] input:focus ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2435
+ outline: 0; }
2436
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active, body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2437
+ position: absolute;
2438
+ top: 50%;
2439
+ -ms-transform: translateY(-50%);
2440
+ transform: translateY(-50%); }
2441
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active {
2442
+ left: 8%;
2443
+ display: none; }
2444
+ input:checked + label > body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active {
2445
+ display: block; }
2446
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2447
+ right: 15%; }
2448
+ input:checked + label > body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2449
+ display: none; }
2450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny .switch-paddle {
2451
+ width: 3rem;
2452
+ height: 1.5rem;
2453
+ font-size: 0.625rem; }
2454
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny .switch-paddle::after {
2455
+ width: 1rem;
2456
+ height: 1rem; }
2457
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny input:checked ~ .switch-paddle::after {
2458
+ left: 1.75rem; }
2459
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small .switch-paddle {
2460
+ width: 3.5rem;
2461
+ height: 1.75rem;
2462
+ font-size: 0.75rem; }
2463
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small .switch-paddle::after {
2464
+ width: 1.25rem;
2465
+ height: 1.25rem; }
2466
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small input:checked ~ .switch-paddle::after {
2467
+ left: 2rem; }
2468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large .switch-paddle {
2469
+ width: 5rem;
2470
+ height: 2.5rem;
2471
+ font-size: 1rem; }
2472
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large .switch-paddle::after {
2473
+ width: 2rem;
2474
+ height: 2rem; }
2475
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large input:checked ~ .switch-paddle::after {
2476
+ left: 2.75rem; }
2477
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .has-tip {
2478
+ border-bottom: dotted 1px #8a8a8a;
2479
+ font-weight: bold;
2480
+ position: relative;
2481
+ display: inline-block;
2482
+ cursor: help; }
2483
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip {
2484
+ background-color: #0a0a0a;
2485
+ color: #fefefe;
2486
+ font-size: 80%;
2487
+ padding: 0.75rem;
2488
+ position: absolute;
2489
+ z-index: 10;
2490
+ top: calc(100% + 0.6495rem);
2491
+ max-width: 10rem !important;
2492
+ border-radius: 0; }
2493
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip::before {
2494
+ content: '';
2495
+ display: block;
2496
+ width: 0;
2497
+ height: 0;
2498
+ border: inset 0.75rem;
2499
+ border-color: transparent transparent #0a0a0a;
2500
+ border-bottom-style: solid;
2501
+ border-top-width: 0;
2502
+ bottom: 100%;
2503
+ position: absolute;
2504
+ left: 50%;
2505
+ -ms-transform: translateX(-50%);
2506
+ transform: translateX(-50%); }
2507
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.top::before {
2508
+ content: '';
2509
+ display: block;
2510
+ width: 0;
2511
+ height: 0;
2512
+ border: inset 0.75rem;
2513
+ border-color: #0a0a0a transparent transparent;
2514
+ border-top-style: solid;
2515
+ border-bottom-width: 0;
2516
+ top: 100%;
2517
+ bottom: auto; }
2518
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.left::before {
2519
+ content: '';
2520
+ display: block;
2521
+ width: 0;
2522
+ height: 0;
2523
+ border: inset 0.75rem;
2524
+ border-color: transparent transparent transparent #0a0a0a;
2525
+ border-left-style: solid;
2526
+ border-right-width: 0;
2527
+ bottom: auto;
2528
+ left: 100%;
2529
+ top: 50%;
2530
+ -ms-transform: translateY(-50%);
2531
+ transform: translateY(-50%); }
2532
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.right::before {
2533
+ content: '';
2534
+ display: block;
2535
+ width: 0;
2536
+ height: 0;
2537
+ border: inset 0.75rem;
2538
+ border-color: transparent #0a0a0a transparent transparent;
2539
+ border-right-style: solid;
2540
+ border-left-width: 0;
2541
+ bottom: auto;
2542
+ left: auto;
2543
+ right: 100%;
2544
+ top: 50%;
2545
+ -ms-transform: translateY(-50%);
2546
+ transform: translateY(-50%); }
2547
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide {
2548
+ display: none !important; }
2549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .invisible {
2550
+ visibility: hidden; }
2551
+ @media screen and (max-width: 39.9375em) {
2552
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-small-only {
2553
+ display: none !important; } }
2554
+ @media screen and (max-width: 0em), screen and (min-width: 40em) {
2555
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-small-only {
2556
+ display: none !important; } }
2557
+ @media screen and (min-width: 40em) {
2558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-medium {
2559
+ display: none !important; } }
2560
+ @media screen and (max-width: 39.9375em) {
2561
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-medium {
2562
+ display: none !important; } }
2563
+ @media screen and (min-width: 40em) and (max-width: 63.9375em) {
2564
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-medium-only {
2565
+ display: none !important; } }
2566
+ @media screen and (max-width: 39.9375em), screen and (min-width: 64em) {
2567
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-medium-only {
2568
+ display: none !important; } }
2569
+ @media screen and (min-width: 64em) {
2570
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-large {
2571
+ display: none !important; } }
2572
+ @media screen and (max-width: 63.9375em) {
2573
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-large {
2574
+ display: none !important; } }
2575
+ @media screen and (min-width: 64em) and (max-width: 74.9375em) {
2576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-large-only {
2577
+ display: none !important; } }
2578
+ @media screen and (max-width: 63.9375em), screen and (min-width: 75em) {
2579
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-large-only {
2580
+ display: none !important; } }
2581
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-sr,
2582
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus {
2583
+ position: absolute !important;
2584
+ width: 1px;
2585
+ height: 1px;
2586
+ overflow: hidden;
2587
+ clip: rect(0, 0, 0, 0); }
2588
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus:active, body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus:focus {
2589
+ position: static !important;
2590
+ height: auto;
2591
+ width: auto;
2592
+ overflow: visible;
2593
+ clip: auto; }
2594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2595
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2596
+ display: block !important; }
2597
+ @media screen and (orientation: landscape) {
2598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2599
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2600
+ display: block !important; } }
2601
+ @media screen and (orientation: portrait) {
2602
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2604
+ display: none !important; } }
2605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2606
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2607
+ display: none !important; }
2608
+ @media screen and (orientation: landscape) {
2609
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2611
+ display: none !important; } }
2612
+ @media screen and (orientation: portrait) {
2613
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2614
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2615
+ display: block !important; } }
2616
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-left {
2617
+ float: left !important; }
2618
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-right {
2619
+ float: right !important; }
2620
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-center {
2621
+ display: block;
2622
+ margin-left: auto;
2623
+ margin-right: auto; }
2624
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::after {
2625
+ content: ' ';
2626
+ display: table; }
2627
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::after {
2628
+ clear: both; }
2629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields * {
2630
+ box-sizing: border-box; }
2631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type=radio], body.roboGalleryFields #wpcontent div.roboGalleryFields input[type=checkbox] {
2632
+ vertical-align: inherit; }
2633
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
2634
+ height: auto; }
2635
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:first-child,
2636
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:last-child {
2637
+ border-radius: inherit; }
2638
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row .row {
2639
+ margin-left: -0.9375rem;
2640
+ margin-right: -0.9375rem;
2641
+ max-width: none; }
2642
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content-before,
2643
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content,
2644
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content-after,
2645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field {
2646
+ margin-bottom: 20px; }
2647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field {
2648
+ position: relative; }
2649
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .lock-overlay {
2650
+ position: absolute;
2651
+ z-index: 1;
2652
+ width: 100%;
2653
+ height: 100%;
2654
+ background: rgba(0, 0, 0, 0.5); }
2655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .lock-overlay .lock-message {
2656
+ position: absolute;
2657
+ left: 50%;
2658
+ top: 50%;
2659
+ transform: translate(-50%, -50%);
2660
+ -webkit-transform: translate(-50%, -50%);
2661
+ -o-transform: translate(-50%, -50%);
2662
+ -ms-transform: translate(-50%, -50%);
2663
+ font-size: 2rem;
2664
+ color: #e6e6e6; }
2665
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field .text-before,
2666
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field .text-after,
2667
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field.text-before,
2668
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field.text-after {
2669
+ padding-top: 0.5rem; }
2670
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input + label{
2671
+ margin-left: 0;
2672
+ }
2673
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element {
2674
+ float: left;
2675
+ margin-right: 20px; }
2676
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input:checked ~ .switch-paddle {
2677
+ background-color: #2199e8; }
2678
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input:checked + label > .switch-active {
2679
+ display: block; }
2680
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button .button-element,
2681
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button .button-element {
2682
+ display: inline-block;
2683
+ margin-bottom: 20px; }
2684
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input[type=checkbox],
2685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input[type=checkbox] {
2686
+ display: none; }
2687
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input + label,
2688
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input + label {
2689
+ margin: 0;
2690
+ background: #cacaca; }
2691
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input + label:active,
2692
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input + label:active {
2693
+ -ms-transform: translateY(0px);
2694
+ transform: translateY(0px); }
2695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input:checked + label,
2696
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input:checked + label {
2697
+ background: #2199e8; }
2698
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input[type=radio] {
2699
+ display: none; }
2700
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input + label {
2701
+ background: #cacaca; }
2702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input + label:active {
2703
+ -ms-transform: translateY(0px);
2704
+ transform: translateY(0px); }
2705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input:checked + label {
2706
+ background: #2199e8; }
2707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.composite-default .switch-element .switch.small label {
2708
+ margin-top: 0.33rem; }
2709
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .twoj-gallery-option-new{
2710
+ position: absolute;
2711
+ top: 30px;
2712
+ right: -37px;
2713
+ font-size: 0.65rem;
2714
+
2715
+ transform: rotate(-90deg);
2716
+ -webkit-transform: rotate(-90deg);
2717
+ -moz-transform: rotate(-90deg);
2718
+ -ms-transform: rotate(-90deg);
2719
+ -o-transform: rotate(-90deg);
2720
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
2721
+ }
2722
+
2723
+
2724
+
2725
+ body.roboGalleryFields #wpcontent .apeLoading {
2726
+ background-image: url( 'loading_clear.gif' );
2727
+ background-repeat: no-repeat;
2728
+ background-position: center;
2729
+ width: auto;
2730
+ height: 20px;
2731
+ margin:0 auto;
2732
+ }
2733
+
2734
+ .inline-block{
2735
+ display: inline-block;
2736
+ }
2737
+
2738
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hidden-default{
2739
+ display: none;
2740
+ }
2741
+
2742
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field:nth-child(1){
2743
+ padding-top: 10px;
2744
+ }
2745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field:nth-last-child(2){
2746
+ /*padding-bottom: 0;
2747
+ margin-bottom: 0; */
2748
+ }
2749
+
2750
+
2751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content:nth-last-child(2){
2752
+ padding-bottom: 0;
2753
+ margin-bottom: 0;
2754
+ }
2755
+
2756
+
2757
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #robo_gallery_fields_themes_default_message.big{
2758
+ text-align: center;
2759
+ font-size: 1.5em;
2760
+ }
2761
+
2762
+
2763
+
2764
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon{}
2765
+
2766
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon .dashicons{
2767
+ font-size: 80px;
2768
+ width: auto;
2769
+ height: auto;
2770
+ color: green;
2771
+ }
2772
+
2773
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon.ape-gallery-field-theme-default-current .dashicons{
2774
+ float:left;
2775
+ margin-left: -33px;
2776
+ margin-bottom: -12px;
2777
+ margin-top: -10px;
2778
+ }
2779
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .ape-gallery-field-theme-default-current .desc{
2780
+ padding-top: 10px;
2781
+ font-weight: bold;
2782
+ }
2783
+
2784
+ /* Theme Available Block */
2785
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable{
2786
+ text-align: center;
2787
+ }
2788
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable .desc{
2789
+ font-weight: bold;
2790
+ font-size: 14px;
2791
+ padding: 10px 20px 10px 10px;
2792
+ }
2793
+
2794
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable .theme_images img{
2795
+ max-width: 100px;
2796
+ padding-right: 15px;
2797
+ }
2798
+
2799
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable .theme_images a:hover,
2800
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable .theme_images a:focus,
2801
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #wroboGalleryThemeAvailable .theme_images a:active{
2802
+ box-shadow: none;
2803
+ }
2804
+
2805
+
2806
+
2807
+ /* theme type block */
2808
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv:parent{ }
2809
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv{
2810
+ text-align: justify;
2811
+ margin-bottom: -21px;
2812
+ }
2813
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv img{
2814
+ padding: 10px;
2815
+ float: left;
2816
+ margin: 0 15px 0 0;
2817
+ max-width: 100px;
2818
+ margin-bottom: -27px;
2819
+ margin-top: 0px;
2820
+ margin-left: -11px;
2821
+ }
2822
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv h4{
2823
+ padding-top: 25px;
2824
+ }
2825
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv p{
2826
+ padding-top: 0px;
2827
+ display: none;
2828
+ }
app/extensions/fields/asset/core/css/app.css ADDED
@@ -0,0 +1,2782 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
2
+ /**
3
+ * Foundation for Sites by ZURB
4
+ * Version 6.2.1
5
+ * foundation.zurb.com
6
+ * Licensed under MIT Open Source
7
+ */
8
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
9
+ /**
10
+ * 1. Set default font family to sans-serif.
11
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
12
+ * without disabling user zoom.
13
+ */
14
+ /**
15
+ * Remove default margin.
16
+ */
17
+ /* HTML5 display definitions
18
+ ========================================================================== */
19
+ /**
20
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
21
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
22
+ * and Firefox.
23
+ * Correct `block` display not defined for `main` in IE 11.
24
+ */
25
+ /**
26
+ * 1. Correct `inline-block` display not defined in IE 8/9.
27
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
28
+ */
29
+ /**
30
+ * Prevent modern browsers from displaying `audio` without controls.
31
+ * Remove excess height in iOS 5 devices.
32
+ */
33
+ /**
34
+ * Address `[hidden]` styling not present in IE 8/9/10.
35
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
36
+ */
37
+ /* Links
38
+ ========================================================================== */
39
+ /**
40
+ * Remove the gray background color from active links in IE 10.
41
+ */
42
+ /**
43
+ * Improve readability of focused elements when they are also in an
44
+ * active/hover state.
45
+ */
46
+ /* Text-level semantics
47
+ ========================================================================== */
48
+ /**
49
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
50
+ */
51
+ /**
52
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
53
+ */
54
+ /**
55
+ * Address styling not present in Safari and Chrome.
56
+ */
57
+ /**
58
+ * Address variable `h1` font-size and margin within `section` and `article`
59
+ * contexts in Firefox 4+, Safari, and Chrome.
60
+ */
61
+ /**
62
+ * Address styling not present in IE 8/9.
63
+ */
64
+ /**
65
+ * Address inconsistent and variable font size in all browsers.
66
+ */
67
+ /**
68
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
69
+ */
70
+ /* Embedded content
71
+ ========================================================================== */
72
+ /**
73
+ * Remove border when inside `a` element in IE 8/9/10.
74
+ */
75
+ /**
76
+ * Correct overflow not hidden in IE 9/10/11.
77
+ */
78
+ /* Grouping content
79
+ ========================================================================== */
80
+ /**
81
+ * Address margin not present in IE 8/9 and Safari.
82
+ */
83
+ /**
84
+ * Address differences between Firefox and other browsers.
85
+ */
86
+ /**
87
+ * Contain overflow in all browsers.
88
+ */
89
+ /**
90
+ * Address odd `em`-unit font size rendering in all browsers.
91
+ */
92
+ /* Forms
93
+ ========================================================================== */
94
+ /**
95
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
96
+ * styling of `select`, unless a `border` property is set.
97
+ */
98
+ /**
99
+ * 1. Correct color not being inherited.
100
+ * Known issue: affects color of disabled elements.
101
+ * 2. Correct font properties not being inherited.
102
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
103
+ */
104
+ /**
105
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
106
+ */
107
+ /**
108
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
109
+ * All other form control elements do not inherit `text-transform` values.
110
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
111
+ * Correct `select` style inheritance in Firefox.
112
+ */
113
+ /**
114
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
115
+ * and `video` controls.
116
+ * 2. Correct inability to style clickable `input` types in iOS.
117
+ * 3. Improve usability and consistency of cursor style between image-type
118
+ * `input` and others.
119
+ */
120
+ /**
121
+ * Re-set default cursor for disabled elements.
122
+ */
123
+ /**
124
+ * Remove inner padding and border in Firefox 4+.
125
+ */
126
+ /**
127
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
128
+ * the UA stylesheet.
129
+ */
130
+ /**
131
+ * It's recommended that you don't attempt to style these elements.
132
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
133
+ *
134
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
135
+ * 2. Remove excess padding in IE 8/9/10.
136
+ */
137
+ /**
138
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
139
+ * `font-size` values of the `input`, it causes the cursor style of the
140
+ * decrement button to change from `default` to `text`.
141
+ */
142
+ /**
143
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
144
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
145
+ */
146
+ /**
147
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
148
+ * Safari (but not Chrome) clips the cancel button when the search input has
149
+ * padding (and `textfield` appearance).
150
+ */
151
+ /**
152
+ * Define consistent border, margin, and padding.
153
+ * [NOTE] We don't enable this ruleset in Foundation, because we want the <fieldset> element to have plain styling.
154
+ */
155
+ /* fieldset {
156
+ border: 1px solid #c0c0c0;
157
+ margin: 0 2px;
158
+ padding: 0.35em 0.625em 0.75em;
159
+ } */
160
+ /**
161
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
162
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
163
+ */
164
+ /**
165
+ * Remove default vertical scrollbar in IE 8/9/10/11.
166
+ */
167
+ /**
168
+ * Don't inherit the `font-weight` (applied by a rule above).
169
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
170
+ */
171
+ /* Tables
172
+ ========================================================================== */
173
+ /**
174
+ * Remove most spacing between table cells.
175
+ */ }
176
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields {
177
+ font-family: sans-serif;
178
+ /* 1 */
179
+ -ms-text-size-adjust: 100%;
180
+ /* 2 */
181
+ -webkit-text-size-adjust: 100%;
182
+ /* 2 */ }
183
+ body.roboGalleryFields #wpcontent div.roboGalleryFields{
184
+ margin: 0; }
185
+ body.roboGalleryFields #wpcontent div.roboGalleryFields article,
186
+ body.roboGalleryFields #wpcontent div.roboGalleryFields aside,
187
+ body.roboGalleryFields #wpcontent div.roboGalleryFields details,
188
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figcaption,
189
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figure,
190
+ body.roboGalleryFields #wpcontent div.roboGalleryFields footer,
191
+ body.roboGalleryFields #wpcontent div.roboGalleryFields header,
192
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hgroup,
193
+ body.roboGalleryFields #wpcontent div.roboGalleryFields main,
194
+ body.roboGalleryFields #wpcontent div.roboGalleryFields menu,
195
+ body.roboGalleryFields #wpcontent div.roboGalleryFields nav,
196
+ body.roboGalleryFields #wpcontent div.roboGalleryFields section,
197
+ body.roboGalleryFields #wpcontent div.roboGalleryFields summary {
198
+ display: block; }
199
+ body.roboGalleryFields #wpcontent div.roboGalleryFields audio,
200
+ body.roboGalleryFields #wpcontent div.roboGalleryFields canvas,
201
+ body.roboGalleryFields #wpcontent div.roboGalleryFields progress,
202
+ body.roboGalleryFields #wpcontent div.roboGalleryFields video {
203
+ display: inline-block;
204
+ /* 1 */
205
+ vertical-align: baseline;
206
+ /* 2 */ }
207
+ body.roboGalleryFields #wpcontent div.roboGalleryFields audio:not([controls]) {
208
+ display: none;
209
+ height: 0; }
210
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [hidden],
211
+ body.roboGalleryFields #wpcontent div.roboGalleryFields template {
212
+ display: none; }
213
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a {
214
+ background-color: transparent; }
215
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:active,
216
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:hover {
217
+ outline: 0; }
218
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr[title] {
219
+ border-bottom: 1px dotted; }
220
+ body.roboGalleryFields #wpcontent div.roboGalleryFields b,
221
+ body.roboGalleryFields #wpcontent div.roboGalleryFields strong {
222
+ font-weight: bold; }
223
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dfn {
224
+ font-style: italic; }
225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
226
+ font-size: 2em;
227
+ margin: 0.67em 0; }
228
+ body.roboGalleryFields #wpcontent div.roboGalleryFields mark {
229
+ background: #ff0;
230
+ color: #000; }
231
+ body.roboGalleryFields #wpcontent div.roboGalleryFields small {
232
+ font-size: 80%; }
233
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sub,
234
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sup {
235
+ font-size: 75%;
236
+ line-height: 0;
237
+ position: relative;
238
+ vertical-align: baseline; }
239
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sup {
240
+ top: -0.5em; }
241
+ body.roboGalleryFields #wpcontent div.roboGalleryFields sub {
242
+ bottom: -0.25em; }
243
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
244
+ border: 0; }
245
+ body.roboGalleryFields #wpcontent div.roboGalleryFields svg:not(:root) {
246
+ overflow: hidden; }
247
+ body.roboGalleryFields #wpcontent div.roboGalleryFields figure {
248
+ margin: 1em 40px; }
249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hr {
250
+ box-sizing: content-box;
251
+ height: 0; }
252
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre {
253
+ overflow: auto; }
254
+ body.roboGalleryFields #wpcontent div.roboGalleryFields code,
255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields kbd,
256
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
257
+ body.roboGalleryFields #wpcontent div.roboGalleryFields samp {
258
+ font-family: monospace, monospace;
259
+ font-size: 1em; }
260
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input,
262
+ body.roboGalleryFields #wpcontent div.roboGalleryFields optgroup,
263
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select,
264
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
265
+ color: inherit;
266
+ /* 1 */
267
+ font: inherit;
268
+ /* 2 */
269
+ margin: 0;
270
+ /* 3 */ }
271
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button {
272
+ overflow: visible; }
273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
274
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
275
+ text-transform: none; }
276
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button,
277
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="button"],
278
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="reset"],
279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="submit"] {
280
+ -webkit-appearance: button;
281
+ /* 2 */
282
+ cursor: pointer;
283
+ /* 3 */ }
284
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button[disabled],
285
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields input[disabled] {
286
+ cursor: not-allowed; }
287
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button::-moz-focus-inner,
288
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-moz-focus-inner {
289
+ border: 0;
290
+ padding: 0; }
291
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input {
292
+ line-height: normal; }
293
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="checkbox"],
294
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="radio"] {
295
+ box-sizing: border-box;
296
+ /* 1 */
297
+ padding: 0;
298
+ /* 2 */ }
299
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="number"]::-webkit-inner-spin-button,
300
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="number"]::-webkit-outer-spin-button {
301
+ height: auto; }
302
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"] {
303
+ -webkit-appearance: textfield;
304
+ /* 1 */
305
+ box-sizing: content-box;
306
+ /* 2 */ }
307
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"]::-webkit-search-cancel-button,
308
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="search"]::-webkit-search-decoration {
309
+ -webkit-appearance: none; }
310
+ body.roboGalleryFields #wpcontent div.roboGalleryFields legend {
311
+ border: 0;
312
+ /* 1 */
313
+ padding: 0;
314
+ /* 2 */ }
315
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
316
+ overflow: auto; }
317
+ body.roboGalleryFields #wpcontent div.roboGalleryFields optgroup {
318
+ font-weight: bold; }
319
+ body.roboGalleryFields #wpcontent div.roboGalleryFields table {
320
+ border-collapse: collapse;
321
+ border-spacing: 0; }
322
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td,
323
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th {
324
+ padding: 0; }
325
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .foundation-mq {
326
+ font-family: "small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"; }
327
+ html body.roboGalleryFields #wpcontent div.roboGalleryFields{
328
+ font-size: 100%;
329
+ box-sizing: border-box; }
330
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *,
331
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *::before,
332
+ body.roboGalleryFields #wpcontent div.roboGalleryFields *::after {
333
+ box-sizing: inherit; }
334
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
335
+ padding: 0;
336
+ margin: 0;
337
+ font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
338
+ font-weight: normal;
339
+ line-height: 1.5;
340
+ color: #0a0a0a;
341
+ /* background: #fefefe; */
342
+ -webkit-font-smoothing: antialiased;
343
+ -moz-osx-font-smoothing: grayscale; }
344
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
345
+ max-width: 100%;
346
+ height: auto;
347
+ -ms-interpolation-mode: bicubic;
348
+ display: inline-block;
349
+ vertical-align: middle; }
350
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
351
+ height: auto;
352
+ min-height: 50px;
353
+ border-radius: 0; }
354
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
355
+ width: 100%;
356
+ border-radius: 0; }
357
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas img,
358
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas embed,
359
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #map_canvas object,
360
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas img,
361
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas embed,
362
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .map_canvas object,
363
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display img,
364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display embed,
365
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .mqa-display object {
366
+ max-width: none !important; }
367
+ body.roboGalleryFields #wpcontent div.roboGalleryFields button {
368
+ -webkit-appearance: none;
369
+ -moz-appearance: none;
370
+ background: transparent;
371
+ padding: 0;
372
+ border: 0;
373
+ border-radius: 0;
374
+ line-height: 1; }
375
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields button {
376
+ outline: 0; }
377
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-visible {
378
+ display: block !important; }
379
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-hidden {
380
+ display: none !important; }
381
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
382
+ max-width: 75rem;
383
+ margin-left: auto;
384
+ margin-right: auto; }
385
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .row::after {
386
+ content: ' ';
387
+ display: table; }
388
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row::after {
389
+ clear: both; }
390
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .columns {
391
+ padding-left: 0;
392
+ padding-right: 0; }
393
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
394
+ max-width: none;
395
+ margin-left: -0.625rem;
396
+ margin-right: -0.625rem;
397
+ max-width: none; }
398
+ @media screen and (min-width: 40em) {
399
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
400
+ margin-left: -0.9375rem;
401
+ margin-right: -0.9375rem; } }
402
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse {
403
+ margin-left: 0;
404
+ margin-right: 0; }
405
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded {
406
+ max-width: none; }
407
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded .row {
408
+ margin-left: auto;
409
+ margin-right: auto; }
410
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
411
+ width: 100%;
412
+ float: left;
413
+ padding-left: 0.625rem;
414
+ padding-right: 0.625rem; }
415
+ @media screen and (min-width: 40em) {
416
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
417
+ padding-left: 0.9375rem;
418
+ padding-right: 0.9375rem; } }
419
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column:last-child:not(:first-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .columns:last-child:not(:first-child) {
420
+ float: right; }
421
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.end:last-child:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .end.columns:last-child:last-child {
422
+ float: left; }
423
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
424
+ float: none; }
425
+ .row body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
426
+ padding-left: 0;
427
+ padding-right: 0;
428
+ margin-left: 0;
429
+ margin-right: 0; }
430
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-1 {
431
+ width: 8.33333%; }
432
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-1 {
433
+ position: relative;
434
+ left: 8.33333%; }
435
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-1 {
436
+ position: relative;
437
+ left: -8.33333%; }
438
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-0 {
439
+ margin-left: 0%; }
440
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-2 {
441
+ width: 16.66667%; }
442
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-2 {
443
+ position: relative;
444
+ left: 16.66667%; }
445
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-2 {
446
+ position: relative;
447
+ left: -16.66667%; }
448
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-1 {
449
+ margin-left: 8.33333%; }
450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-3 {
451
+ width: 25%; }
452
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-3 {
453
+ position: relative;
454
+ left: 25%; }
455
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-3 {
456
+ position: relative;
457
+ left: -25%; }
458
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-2 {
459
+ margin-left: 16.66667%; }
460
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-4 {
461
+ width: 33.33333%; }
462
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-4 {
463
+ position: relative;
464
+ left: 33.33333%; }
465
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-4 {
466
+ position: relative;
467
+ left: -33.33333%; }
468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-3 {
469
+ margin-left: 25%; }
470
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-5 {
471
+ width: 41.66667%; }
472
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-5 {
473
+ position: relative;
474
+ left: 41.66667%; }
475
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-5 {
476
+ position: relative;
477
+ left: -41.66667%; }
478
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-4 {
479
+ margin-left: 33.33333%; }
480
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-6 {
481
+ width: 50%; }
482
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-6 {
483
+ position: relative;
484
+ left: 50%; }
485
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-6 {
486
+ position: relative;
487
+ left: -50%; }
488
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-5 {
489
+ margin-left: 41.66667%; }
490
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-7 {
491
+ width: 58.33333%; }
492
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-7 {
493
+ position: relative;
494
+ left: 58.33333%; }
495
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-7 {
496
+ position: relative;
497
+ left: -58.33333%; }
498
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-6 {
499
+ margin-left: 50%; }
500
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-8 {
501
+ width: 66.66667%; }
502
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-8 {
503
+ position: relative;
504
+ left: 66.66667%; }
505
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-8 {
506
+ position: relative;
507
+ left: -66.66667%; }
508
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-7 {
509
+ margin-left: 58.33333%; }
510
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-9 {
511
+ width: 75%; }
512
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-9 {
513
+ position: relative;
514
+ left: 75%; }
515
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-9 {
516
+ position: relative;
517
+ left: -75%; }
518
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-8 {
519
+ margin-left: 66.66667%; }
520
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-10 {
521
+ width: 83.33333%; }
522
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-10 {
523
+ position: relative;
524
+ left: 83.33333%; }
525
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-10 {
526
+ position: relative;
527
+ left: -83.33333%; }
528
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-9 {
529
+ margin-left: 75%; }
530
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-11 {
531
+ width: 91.66667%; }
532
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-11 {
533
+ position: relative;
534
+ left: 91.66667%; }
535
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-11 {
536
+ position: relative;
537
+ left: -91.66667%; }
538
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-10 {
539
+ margin-left: 83.33333%; }
540
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-12 {
541
+ width: 100%; }
542
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-11 {
543
+ margin-left: 91.66667%; }
544
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns {
545
+ width: 100%;
546
+ float: left; }
547
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:nth-of-type(1n) {
548
+ clear: none; }
549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:nth-of-type(1n+1) {
550
+ clear: both; }
551
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns:last-child {
552
+ float: left; }
553
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns {
554
+ width: 50%;
555
+ float: left; }
556
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:nth-of-type(1n) {
557
+ clear: none; }
558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:nth-of-type(2n+1) {
559
+ clear: both; }
560
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns:last-child {
561
+ float: left; }
562
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns {
563
+ width: 33.33333%;
564
+ float: left; }
565
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:nth-of-type(1n) {
566
+ clear: none; }
567
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:nth-of-type(3n+1) {
568
+ clear: both; }
569
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns:last-child {
570
+ float: left; }
571
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns {
572
+ width: 25%;
573
+ float: left; }
574
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:nth-of-type(1n) {
575
+ clear: none; }
576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:nth-of-type(4n+1) {
577
+ clear: both; }
578
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns:last-child {
579
+ float: left; }
580
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns {
581
+ width: 20%;
582
+ float: left; }
583
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:nth-of-type(1n) {
584
+ clear: none; }
585
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:nth-of-type(5n+1) {
586
+ clear: both; }
587
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns:last-child {
588
+ float: left; }
589
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns {
590
+ width: 16.66667%;
591
+ float: left; }
592
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:nth-of-type(1n) {
593
+ clear: none; }
594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:nth-of-type(6n+1) {
595
+ clear: both; }
596
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns:last-child {
597
+ float: left; }
598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns {
599
+ width: 14.28571%;
600
+ float: left; }
601
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:nth-of-type(1n) {
602
+ clear: none; }
603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:nth-of-type(7n+1) {
604
+ clear: both; }
605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns:last-child {
606
+ float: left; }
607
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns {
608
+ width: 12.5%;
609
+ float: left; }
610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:nth-of-type(1n) {
611
+ clear: none; }
612
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:nth-of-type(8n+1) {
613
+ clear: both; }
614
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns:last-child {
615
+ float: left; }
616
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .columns {
617
+ padding-left: 0;
618
+ padding-right: 0; }
619
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse .row {
620
+ margin-left: 0;
621
+ margin-right: 0; }
622
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .columns {
623
+ padding-left: 0.625rem;
624
+ padding-right: 0.625rem; }
625
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-centered {
626
+ float: none;
627
+ margin-left: auto;
628
+ margin-right: auto; }
629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncentered,
630
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-push-0,
631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-pull-0 {
632
+ position: static;
633
+ margin-left: 0;
634
+ margin-right: 0;
635
+ float: left; }
636
+ @media screen and (min-width: 40em) {
637
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-1 {
638
+ width: 8.33333%; }
639
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-1 {
640
+ position: relative;
641
+ left: 8.33333%; }
642
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-1 {
643
+ position: relative;
644
+ left: -8.33333%; }
645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-0 {
646
+ margin-left: 0%; }
647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-2 {
648
+ width: 16.66667%; }
649
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-2 {
650
+ position: relative;
651
+ left: 16.66667%; }
652
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-2 {
653
+ position: relative;
654
+ left: -16.66667%; }
655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-1 {
656
+ margin-left: 8.33333%; }
657
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-3 {
658
+ width: 25%; }
659
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-3 {
660
+ position: relative;
661
+ left: 25%; }
662
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-3 {
663
+ position: relative;
664
+ left: -25%; }
665
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-2 {
666
+ margin-left: 16.66667%; }
667
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-4 {
668
+ width: 33.33333%; }
669
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-4 {
670
+ position: relative;
671
+ left: 33.33333%; }
672
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-4 {
673
+ position: relative;
674
+ left: -33.33333%; }
675
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-3 {
676
+ margin-left: 25%; }
677
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-5 {
678
+ width: 41.66667%; }
679
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-5 {
680
+ position: relative;
681
+ left: 41.66667%; }
682
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-5 {
683
+ position: relative;
684
+ left: -41.66667%; }
685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-4 {
686
+ margin-left: 33.33333%; }
687
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-6 {
688
+ width: 50%; }
689
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-6 {
690
+ position: relative;
691
+ left: 50%; }
692
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-6 {
693
+ position: relative;
694
+ left: -50%; }
695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-5 {
696
+ margin-left: 41.66667%; }
697
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-7 {
698
+ width: 58.33333%; }
699
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-7 {
700
+ position: relative;
701
+ left: 58.33333%; }
702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-7 {
703
+ position: relative;
704
+ left: -58.33333%; }
705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-6 {
706
+ margin-left: 50%; }
707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-8 {
708
+ width: 66.66667%; }
709
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-8 {
710
+ position: relative;
711
+ left: 66.66667%; }
712
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-8 {
713
+ position: relative;
714
+ left: -66.66667%; }
715
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-7 {
716
+ margin-left: 58.33333%; }
717
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-9 {
718
+ width: 75%; }
719
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-9 {
720
+ position: relative;
721
+ left: 75%; }
722
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-9 {
723
+ position: relative;
724
+ left: -75%; }
725
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-8 {
726
+ margin-left: 66.66667%; }
727
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-10 {
728
+ width: 83.33333%; }
729
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-10 {
730
+ position: relative;
731
+ left: 83.33333%; }
732
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-10 {
733
+ position: relative;
734
+ left: -83.33333%; }
735
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-9 {
736
+ margin-left: 75%; }
737
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-11 {
738
+ width: 91.66667%; }
739
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-11 {
740
+ position: relative;
741
+ left: 91.66667%; }
742
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-11 {
743
+ position: relative;
744
+ left: -91.66667%; }
745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-10 {
746
+ margin-left: 83.33333%; }
747
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-12 {
748
+ width: 100%; }
749
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-11 {
750
+ margin-left: 91.66667%; }
751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns {
752
+ width: 100%;
753
+ float: left; }
754
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:nth-of-type(1n) {
755
+ clear: none; }
756
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:nth-of-type(1n+1) {
757
+ clear: both; }
758
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns:last-child {
759
+ float: left; }
760
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns {
761
+ width: 50%;
762
+ float: left; }
763
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:nth-of-type(1n) {
764
+ clear: none; }
765
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:nth-of-type(2n+1) {
766
+ clear: both; }
767
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns:last-child {
768
+ float: left; }
769
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns {
770
+ width: 33.33333%;
771
+ float: left; }
772
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:nth-of-type(1n) {
773
+ clear: none; }
774
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:nth-of-type(3n+1) {
775
+ clear: both; }
776
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns:last-child {
777
+ float: left; }
778
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns {
779
+ width: 25%;
780
+ float: left; }
781
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:nth-of-type(1n) {
782
+ clear: none; }
783
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:nth-of-type(4n+1) {
784
+ clear: both; }
785
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns:last-child {
786
+ float: left; }
787
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns {
788
+ width: 20%;
789
+ float: left; }
790
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:nth-of-type(1n) {
791
+ clear: none; }
792
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:nth-of-type(5n+1) {
793
+ clear: both; }
794
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns:last-child {
795
+ float: left; }
796
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns {
797
+ width: 16.66667%;
798
+ float: left; }
799
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:nth-of-type(1n) {
800
+ clear: none; }
801
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:nth-of-type(6n+1) {
802
+ clear: both; }
803
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns:last-child {
804
+ float: left; }
805
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns {
806
+ width: 14.28571%;
807
+ float: left; }
808
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:nth-of-type(1n) {
809
+ clear: none; }
810
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:nth-of-type(7n+1) {
811
+ clear: both; }
812
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns:last-child {
813
+ float: left; }
814
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns {
815
+ width: 12.5%;
816
+ float: left; }
817
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:nth-of-type(1n) {
818
+ clear: none; }
819
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:nth-of-type(8n+1) {
820
+ clear: both; }
821
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns:last-child {
822
+ float: left; }
823
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .columns {
824
+ padding-left: 0;
825
+ padding-right: 0; }
826
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse .row {
827
+ margin-left: 0;
828
+ margin-right: 0; }
829
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .columns {
830
+ padding-left: 0.9375rem;
831
+ padding-right: 0.9375rem; }
832
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-centered {
833
+ float: none;
834
+ margin-left: auto;
835
+ margin-right: auto; }
836
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncentered,
837
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-push-0,
838
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-pull-0 {
839
+ position: static;
840
+ margin-left: 0;
841
+ margin-right: 0;
842
+ float: left; } }
843
+ @media screen and (min-width: 64em) {
844
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-1 {
845
+ width: 8.33333%; }
846
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-1 {
847
+ position: relative;
848
+ left: 8.33333%; }
849
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-1 {
850
+ position: relative;
851
+ left: -8.33333%; }
852
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-0 {
853
+ margin-left: 0%; }
854
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-2 {
855
+ width: 16.66667%; }
856
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-2 {
857
+ position: relative;
858
+ left: 16.66667%; }
859
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-2 {
860
+ position: relative;
861
+ left: -16.66667%; }
862
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-1 {
863
+ margin-left: 8.33333%; }
864
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-3 {
865
+ width: 25%; }
866
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-3 {
867
+ position: relative;
868
+ left: 25%; }
869
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-3 {
870
+ position: relative;
871
+ left: -25%; }
872
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-2 {
873
+ margin-left: 16.66667%; }
874
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-4 {
875
+ width: 33.33333%; }
876
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-4 {
877
+ position: relative;
878
+ left: 33.33333%; }
879
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-4 {
880
+ position: relative;
881
+ left: -33.33333%; }
882
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-3 {
883
+ margin-left: 25%; }
884
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-5 {
885
+ width: 41.66667%; }
886
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-5 {
887
+ position: relative;
888
+ left: 41.66667%; }
889
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-5 {
890
+ position: relative;
891
+ left: -41.66667%; }
892
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-4 {
893
+ margin-left: 33.33333%; }
894
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-6 {
895
+ width: 50%; }
896
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-6 {
897
+ position: relative;
898
+ left: 50%; }
899
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-6 {
900
+ position: relative;
901
+ left: -50%; }
902
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-5 {
903
+ margin-left: 41.66667%; }
904
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-7 {
905
+ width: 58.33333%; }
906
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-7 {
907
+ position: relative;
908
+ left: 58.33333%; }
909
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-7 {
910
+ position: relative;
911
+ left: -58.33333%; }
912
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-6 {
913
+ margin-left: 50%; }
914
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-8 {
915
+ width: 66.66667%; }
916
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-8 {
917
+ position: relative;
918
+ left: 66.66667%; }
919
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-8 {
920
+ position: relative;
921
+ left: -66.66667%; }
922
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-7 {
923
+ margin-left: 58.33333%; }
924
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-9 {
925
+ width: 75%; }
926
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-9 {
927
+ position: relative;
928
+ left: 75%; }
929
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-9 {
930
+ position: relative;
931
+ left: -75%; }
932
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-8 {
933
+ margin-left: 66.66667%; }
934
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-10 {
935
+ width: 83.33333%; }
936
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-10 {
937
+ position: relative;
938
+ left: 83.33333%; }
939
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-10 {
940
+ position: relative;
941
+ left: -83.33333%; }
942
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-9 {
943
+ margin-left: 75%; }
944
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-11 {
945
+ width: 91.66667%; }
946
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-11 {
947
+ position: relative;
948
+ left: 91.66667%; }
949
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-11 {
950
+ position: relative;
951
+ left: -91.66667%; }
952
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-10 {
953
+ margin-left: 83.33333%; }
954
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-12 {
955
+ width: 100%; }
956
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-11 {
957
+ margin-left: 91.66667%; }
958
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns {
959
+ width: 100%;
960
+ float: left; }
961
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:nth-of-type(1n) {
962
+ clear: none; }
963
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:nth-of-type(1n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:nth-of-type(1n+1) {
964
+ clear: both; }
965
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns:last-child {
966
+ float: left; }
967
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns {
968
+ width: 50%;
969
+ float: left; }
970
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:nth-of-type(1n) {
971
+ clear: none; }
972
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:nth-of-type(2n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:nth-of-type(2n+1) {
973
+ clear: both; }
974
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns:last-child {
975
+ float: left; }
976
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns {
977
+ width: 33.33333%;
978
+ float: left; }
979
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:nth-of-type(1n) {
980
+ clear: none; }
981
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:nth-of-type(3n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:nth-of-type(3n+1) {
982
+ clear: both; }
983
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns:last-child {
984
+ float: left; }
985
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns {
986
+ width: 25%;
987
+ float: left; }
988
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:nth-of-type(1n) {
989
+ clear: none; }
990
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:nth-of-type(4n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:nth-of-type(4n+1) {
991
+ clear: both; }
992
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns:last-child {
993
+ float: left; }
994
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns {
995
+ width: 20%;
996
+ float: left; }
997
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:nth-of-type(1n) {
998
+ clear: none; }
999
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:nth-of-type(5n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:nth-of-type(5n+1) {
1000
+ clear: both; }
1001
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns:last-child {
1002
+ float: left; }
1003
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns {
1004
+ width: 16.66667%;
1005
+ float: left; }
1006
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:nth-of-type(1n) {
1007
+ clear: none; }
1008
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:nth-of-type(6n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:nth-of-type(6n+1) {
1009
+ clear: both; }
1010
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns:last-child {
1011
+ float: left; }
1012
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns {
1013
+ width: 14.28571%;
1014
+ float: left; }
1015
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:nth-of-type(1n) {
1016
+ clear: none; }
1017
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:nth-of-type(7n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:nth-of-type(7n+1) {
1018
+ clear: both; }
1019
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns:last-child {
1020
+ float: left; }
1021
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns {
1022
+ width: 12.5%;
1023
+ float: left; }
1024
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:nth-of-type(1n), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:nth-of-type(1n) {
1025
+ clear: none; }
1026
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:nth-of-type(8n+1), body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:nth-of-type(8n+1) {
1027
+ clear: both; }
1028
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column:last-child, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns:last-child {
1029
+ float: left; }
1030
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .columns {
1031
+ padding-left: 0;
1032
+ padding-right: 0; }
1033
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse .row {
1034
+ margin-left: 0;
1035
+ margin-right: 0; }
1036
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .columns {
1037
+ padding-left: 0.9375rem;
1038
+ padding-right: 0.9375rem; }
1039
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-centered {
1040
+ float: none;
1041
+ margin-left: auto;
1042
+ margin-right: auto; }
1043
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncentered,
1044
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-push-0,
1045
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-pull-0 {
1046
+ position: static;
1047
+ margin-left: 0;
1048
+ margin-right: 0;
1049
+ float: left; } }
1050
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1051
+ max-width: 75rem;
1052
+ margin-left: auto;
1053
+ margin-right: auto;
1054
+ display: -ms-flexbox;
1055
+ display: flex;
1056
+ -ms-flex-flow: row wrap;
1057
+ flex-flow: row wrap; }
1058
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1059
+ max-width: none;
1060
+ margin-left: -0.625rem;
1061
+ margin-right: -0.625rem;
1062
+ max-width: none; }
1063
+ @media screen and (min-width: 40em) {
1064
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row {
1065
+ margin-left: -0.9375rem;
1066
+ margin-right: -0.9375rem; } }
1067
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.expanded {
1068
+ max-width: none; }
1069
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.collapse > .columns {
1070
+ padding-left: 0;
1071
+ padding-right: 0; }
1072
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
1073
+ -ms-flex: 1 1 0px;
1074
+ flex: 1 1 0px;
1075
+ padding-left: 0.625rem;
1076
+ padding-right: 0.625rem;
1077
+ min-width: 0; }
1078
+ @media screen and (min-width: 40em) {
1079
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .columns {
1080
+ padding-left: 0.9375rem;
1081
+ padding-right: 0.9375rem; } }
1082
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
1083
+ float: none;
1084
+ display: block; }
1085
+ .row body.roboGalleryFields #wpcontent div.roboGalleryFields .column.row.row, .row body.roboGalleryFields #wpcontent div.roboGalleryFields .row.row.columns {
1086
+ padding-left: 0;
1087
+ padding-right: 0;
1088
+ margin-left: 0;
1089
+ margin-right: 0; }
1090
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-1 {
1091
+ -ms-flex: 0 0 8.33333%;
1092
+ flex: 0 0 8.33333%;
1093
+ max-width: 8.33333%; }
1094
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-0 {
1095
+ margin-left: 0%; }
1096
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-2 {
1097
+ -ms-flex: 0 0 16.66667%;
1098
+ flex: 0 0 16.66667%;
1099
+ max-width: 16.66667%; }
1100
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-1 {
1101
+ margin-left: 8.33333%; }
1102
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-3 {
1103
+ -ms-flex: 0 0 25%;
1104
+ flex: 0 0 25%;
1105
+ max-width: 25%; }
1106
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-2 {
1107
+ margin-left: 16.66667%; }
1108
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-4 {
1109
+ -ms-flex: 0 0 33.33333%;
1110
+ flex: 0 0 33.33333%;
1111
+ max-width: 33.33333%; }
1112
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-3 {
1113
+ margin-left: 25%; }
1114
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-5 {
1115
+ -ms-flex: 0 0 41.66667%;
1116
+ flex: 0 0 41.66667%;
1117
+ max-width: 41.66667%; }
1118
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-4 {
1119
+ margin-left: 33.33333%; }
1120
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-6 {
1121
+ -ms-flex: 0 0 50%;
1122
+ flex: 0 0 50%;
1123
+ max-width: 50%; }
1124
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-5 {
1125
+ margin-left: 41.66667%; }
1126
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-7 {
1127
+ -ms-flex: 0 0 58.33333%;
1128
+ flex: 0 0 58.33333%;
1129
+ max-width: 58.33333%; }
1130
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-6 {
1131
+ margin-left: 50%; }
1132
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-8 {
1133
+ -ms-flex: 0 0 66.66667%;
1134
+ flex: 0 0 66.66667%;
1135
+ max-width: 66.66667%; }
1136
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-7 {
1137
+ margin-left: 58.33333%; }
1138
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-9 {
1139
+ -ms-flex: 0 0 75%;
1140
+ flex: 0 0 75%;
1141
+ max-width: 75%; }
1142
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-8 {
1143
+ margin-left: 66.66667%; }
1144
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-10 {
1145
+ -ms-flex: 0 0 83.33333%;
1146
+ flex: 0 0 83.33333%;
1147
+ max-width: 83.33333%; }
1148
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-9 {
1149
+ margin-left: 75%; }
1150
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-11 {
1151
+ -ms-flex: 0 0 91.66667%;
1152
+ flex: 0 0 91.66667%;
1153
+ max-width: 91.66667%; }
1154
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-10 {
1155
+ margin-left: 83.33333%; }
1156
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-12 {
1157
+ -ms-flex: 0 0 100%;
1158
+ flex: 0 0 100%;
1159
+ max-width: 100%; }
1160
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-offset-11 {
1161
+ margin-left: 91.66667%; }
1162
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-1 {
1163
+ -ms-flex-order: 1;
1164
+ order: 1; }
1165
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-2 {
1166
+ -ms-flex-order: 2;
1167
+ order: 2; }
1168
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-3 {
1169
+ -ms-flex-order: 3;
1170
+ order: 3; }
1171
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-4 {
1172
+ -ms-flex-order: 4;
1173
+ order: 4; }
1174
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-5 {
1175
+ -ms-flex-order: 5;
1176
+ order: 5; }
1177
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-order-6 {
1178
+ -ms-flex-order: 6;
1179
+ order: 6; }
1180
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 {
1181
+ -ms-flex-wrap: wrap;
1182
+ flex-wrap: wrap; }
1183
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-1 > .columns {
1184
+ -ms-flex: 0 0 100%;
1185
+ flex: 0 0 100%;
1186
+ max-width: 100%; }
1187
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 {
1188
+ -ms-flex-wrap: wrap;
1189
+ flex-wrap: wrap; }
1190
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-2 > .columns {
1191
+ -ms-flex: 0 0 50%;
1192
+ flex: 0 0 50%;
1193
+ max-width: 50%; }
1194
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 {
1195
+ -ms-flex-wrap: wrap;
1196
+ flex-wrap: wrap; }
1197
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-3 > .columns {
1198
+ -ms-flex: 0 0 33.33333%;
1199
+ flex: 0 0 33.33333%;
1200
+ max-width: 33.33333%; }
1201
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 {
1202
+ -ms-flex-wrap: wrap;
1203
+ flex-wrap: wrap; }
1204
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-4 > .columns {
1205
+ -ms-flex: 0 0 25%;
1206
+ flex: 0 0 25%;
1207
+ max-width: 25%; }
1208
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 {
1209
+ -ms-flex-wrap: wrap;
1210
+ flex-wrap: wrap; }
1211
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-5 > .columns {
1212
+ -ms-flex: 0 0 20%;
1213
+ flex: 0 0 20%;
1214
+ max-width: 20%; }
1215
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 {
1216
+ -ms-flex-wrap: wrap;
1217
+ flex-wrap: wrap; }
1218
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-6 > .columns {
1219
+ -ms-flex: 0 0 16.66667%;
1220
+ flex: 0 0 16.66667%;
1221
+ max-width: 16.66667%; }
1222
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 {
1223
+ -ms-flex-wrap: wrap;
1224
+ flex-wrap: wrap; }
1225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-7 > .columns {
1226
+ -ms-flex: 0 0 14.28571%;
1227
+ flex: 0 0 14.28571%;
1228
+ max-width: 14.28571%; }
1229
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 {
1230
+ -ms-flex-wrap: wrap;
1231
+ flex-wrap: wrap; }
1232
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-up-8 > .columns {
1233
+ -ms-flex: 0 0 12.5%;
1234
+ flex: 0 0 12.5%;
1235
+ max-width: 12.5%; }
1236
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-collapse > .columns {
1237
+ padding-left: 0;
1238
+ padding-right: 0; }
1239
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .small-uncollapse > .columns {
1240
+ padding-left: 0.625rem;
1241
+ padding-right: 0.625rem; }
1242
+ @media screen and (min-width: 40em) {
1243
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-1 {
1244
+ -ms-flex: 0 0 8.33333%;
1245
+ flex: 0 0 8.33333%;
1246
+ max-width: 8.33333%; }
1247
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-0 {
1248
+ margin-left: 0%; }
1249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-2 {
1250
+ -ms-flex: 0 0 16.66667%;
1251
+ flex: 0 0 16.66667%;
1252
+ max-width: 16.66667%; }
1253
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-1 {
1254
+ margin-left: 8.33333%; }
1255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-3 {
1256
+ -ms-flex: 0 0 25%;
1257
+ flex: 0 0 25%;
1258
+ max-width: 25%; }
1259
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-2 {
1260
+ margin-left: 16.66667%; }
1261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-4 {
1262
+ -ms-flex: 0 0 33.33333%;
1263
+ flex: 0 0 33.33333%;
1264
+ max-width: 33.33333%; }
1265
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-3 {
1266
+ margin-left: 25%; }
1267
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-5 {
1268
+ -ms-flex: 0 0 41.66667%;
1269
+ flex: 0 0 41.66667%;
1270
+ max-width: 41.66667%; }
1271
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-4 {
1272
+ margin-left: 33.33333%; }
1273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-6 {
1274
+ -ms-flex: 0 0 50%;
1275
+ flex: 0 0 50%;
1276
+ max-width: 50%; }
1277
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-5 {
1278
+ margin-left: 41.66667%; }
1279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-7 {
1280
+ -ms-flex: 0 0 58.33333%;
1281
+ flex: 0 0 58.33333%;
1282
+ max-width: 58.33333%; }
1283
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-6 {
1284
+ margin-left: 50%; }
1285
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-8 {
1286
+ -ms-flex: 0 0 66.66667%;
1287
+ flex: 0 0 66.66667%;
1288
+ max-width: 66.66667%; }
1289
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-7 {
1290
+ margin-left: 58.33333%; }
1291
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-9 {
1292
+ -ms-flex: 0 0 75%;
1293
+ flex: 0 0 75%;
1294
+ max-width: 75%; }
1295
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-8 {
1296
+ margin-left: 66.66667%; }
1297
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-10 {
1298
+ -ms-flex: 0 0 83.33333%;
1299
+ flex: 0 0 83.33333%;
1300
+ max-width: 83.33333%; }
1301
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-9 {
1302
+ margin-left: 75%; }
1303
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-11 {
1304
+ -ms-flex: 0 0 91.66667%;
1305
+ flex: 0 0 91.66667%;
1306
+ max-width: 91.66667%; }
1307
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-10 {
1308
+ margin-left: 83.33333%; }
1309
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-12 {
1310
+ -ms-flex: 0 0 100%;
1311
+ flex: 0 0 100%;
1312
+ max-width: 100%; }
1313
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-offset-11 {
1314
+ margin-left: 91.66667%; }
1315
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-1 {
1316
+ -ms-flex-order: 1;
1317
+ order: 1; }
1318
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-2 {
1319
+ -ms-flex-order: 2;
1320
+ order: 2; }
1321
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-3 {
1322
+ -ms-flex-order: 3;
1323
+ order: 3; }
1324
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-4 {
1325
+ -ms-flex-order: 4;
1326
+ order: 4; }
1327
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-5 {
1328
+ -ms-flex-order: 5;
1329
+ order: 5; }
1330
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-order-6 {
1331
+ -ms-flex-order: 6;
1332
+ order: 6; }
1333
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 {
1334
+ -ms-flex-wrap: wrap;
1335
+ flex-wrap: wrap; }
1336
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-1 > .columns {
1337
+ -ms-flex: 0 0 100%;
1338
+ flex: 0 0 100%;
1339
+ max-width: 100%; }
1340
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 {
1341
+ -ms-flex-wrap: wrap;
1342
+ flex-wrap: wrap; }
1343
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-2 > .columns {
1344
+ -ms-flex: 0 0 50%;
1345
+ flex: 0 0 50%;
1346
+ max-width: 50%; }
1347
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 {
1348
+ -ms-flex-wrap: wrap;
1349
+ flex-wrap: wrap; }
1350
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-3 > .columns {
1351
+ -ms-flex: 0 0 33.33333%;
1352
+ flex: 0 0 33.33333%;
1353
+ max-width: 33.33333%; }
1354
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 {
1355
+ -ms-flex-wrap: wrap;
1356
+ flex-wrap: wrap; }
1357
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-4 > .columns {
1358
+ -ms-flex: 0 0 25%;
1359
+ flex: 0 0 25%;
1360
+ max-width: 25%; }
1361
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 {
1362
+ -ms-flex-wrap: wrap;
1363
+ flex-wrap: wrap; }
1364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-5 > .columns {
1365
+ -ms-flex: 0 0 20%;
1366
+ flex: 0 0 20%;
1367
+ max-width: 20%; }
1368
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 {
1369
+ -ms-flex-wrap: wrap;
1370
+ flex-wrap: wrap; }
1371
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-6 > .columns {
1372
+ -ms-flex: 0 0 16.66667%;
1373
+ flex: 0 0 16.66667%;
1374
+ max-width: 16.66667%; }
1375
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 {
1376
+ -ms-flex-wrap: wrap;
1377
+ flex-wrap: wrap; }
1378
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-7 > .columns {
1379
+ -ms-flex: 0 0 14.28571%;
1380
+ flex: 0 0 14.28571%;
1381
+ max-width: 14.28571%; }
1382
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 {
1383
+ -ms-flex-wrap: wrap;
1384
+ flex-wrap: wrap; }
1385
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-up-8 > .columns {
1386
+ -ms-flex: 0 0 12.5%;
1387
+ flex: 0 0 12.5%;
1388
+ max-width: 12.5%; } }
1389
+
1390
+ @media screen and (min-width: 40em) and (min-width: 40em) {
1391
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-expand {
1392
+ -ms-flex: 1 1 0px;
1393
+ flex: 1 1 0px; } }
1394
+
1395
+ .row.medium-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.medium-unstack > .columns {
1396
+ -ms-flex: 0 0 100%;
1397
+ flex: 0 0 100%; }
1398
+ @media screen and (min-width: 40em) {
1399
+ .row.medium-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.medium-unstack > .columns {
1400
+ -ms-flex: 1 1 0px;
1401
+ flex: 1 1 0px; } }
1402
+ @media screen and (min-width: 40em) {
1403
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-collapse > .columns {
1404
+ padding-left: 0;
1405
+ padding-right: 0; }
1406
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-uncollapse > .columns {
1407
+ padding-left: 0.9375rem;
1408
+ padding-right: 0.9375rem; } }
1409
+ @media screen and (min-width: 64em) {
1410
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-1 {
1411
+ -ms-flex: 0 0 8.33333%;
1412
+ flex: 0 0 8.33333%;
1413
+ max-width: 8.33333%; }
1414
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-0 {
1415
+ margin-left: 0%; }
1416
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-2 {
1417
+ -ms-flex: 0 0 16.66667%;
1418
+ flex: 0 0 16.66667%;
1419
+ max-width: 16.66667%; }
1420
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-1 {
1421
+ margin-left: 8.33333%; }
1422
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-3 {
1423
+ -ms-flex: 0 0 25%;
1424
+ flex: 0 0 25%;
1425
+ max-width: 25%; }
1426
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-2 {
1427
+ margin-left: 16.66667%; }
1428
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-4 {
1429
+ -ms-flex: 0 0 33.33333%;
1430
+ flex: 0 0 33.33333%;
1431
+ max-width: 33.33333%; }
1432
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-3 {
1433
+ margin-left: 25%; }
1434
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-5 {
1435
+ -ms-flex: 0 0 41.66667%;
1436
+ flex: 0 0 41.66667%;
1437
+ max-width: 41.66667%; }
1438
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-4 {
1439
+ margin-left: 33.33333%; }
1440
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-6 {
1441
+ -ms-flex: 0 0 50%;
1442
+ flex: 0 0 50%;
1443
+ max-width: 50%; }
1444
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-5 {
1445
+ margin-left: 41.66667%; }
1446
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-7 {
1447
+ -ms-flex: 0 0 58.33333%;
1448
+ flex: 0 0 58.33333%;
1449
+ max-width: 58.33333%; }
1450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-6 {
1451
+ margin-left: 50%; }
1452
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-8 {
1453
+ -ms-flex: 0 0 66.66667%;
1454
+ flex: 0 0 66.66667%;
1455
+ max-width: 66.66667%; }
1456
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-7 {
1457
+ margin-left: 58.33333%; }
1458
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-9 {
1459
+ -ms-flex: 0 0 75%;
1460
+ flex: 0 0 75%;
1461
+ max-width: 75%; }
1462
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-8 {
1463
+ margin-left: 66.66667%; }
1464
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-10 {
1465
+ -ms-flex: 0 0 83.33333%;
1466
+ flex: 0 0 83.33333%;
1467
+ max-width: 83.33333%; }
1468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-9 {
1469
+ margin-left: 75%; }
1470
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-11 {
1471
+ -ms-flex: 0 0 91.66667%;
1472
+ flex: 0 0 91.66667%;
1473
+ max-width: 91.66667%; }
1474
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-10 {
1475
+ margin-left: 83.33333%; }
1476
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-12 {
1477
+ -ms-flex: 0 0 100%;
1478
+ flex: 0 0 100%;
1479
+ max-width: 100%; }
1480
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-offset-11 {
1481
+ margin-left: 91.66667%; }
1482
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-1 {
1483
+ -ms-flex-order: 1;
1484
+ order: 1; }
1485
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-2 {
1486
+ -ms-flex-order: 2;
1487
+ order: 2; }
1488
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-3 {
1489
+ -ms-flex-order: 3;
1490
+ order: 3; }
1491
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-4 {
1492
+ -ms-flex-order: 4;
1493
+ order: 4; }
1494
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-5 {
1495
+ -ms-flex-order: 5;
1496
+ order: 5; }
1497
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-order-6 {
1498
+ -ms-flex-order: 6;
1499
+ order: 6; }
1500
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 {
1501
+ -ms-flex-wrap: wrap;
1502
+ flex-wrap: wrap; }
1503
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-1 > .columns {
1504
+ -ms-flex: 0 0 100%;
1505
+ flex: 0 0 100%;
1506
+ max-width: 100%; }
1507
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 {
1508
+ -ms-flex-wrap: wrap;
1509
+ flex-wrap: wrap; }
1510
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-2 > .columns {
1511
+ -ms-flex: 0 0 50%;
1512
+ flex: 0 0 50%;
1513
+ max-width: 50%; }
1514
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 {
1515
+ -ms-flex-wrap: wrap;
1516
+ flex-wrap: wrap; }
1517
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-3 > .columns {
1518
+ -ms-flex: 0 0 33.33333%;
1519
+ flex: 0 0 33.33333%;
1520
+ max-width: 33.33333%; }
1521
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 {
1522
+ -ms-flex-wrap: wrap;
1523
+ flex-wrap: wrap; }
1524
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-4 > .columns {
1525
+ -ms-flex: 0 0 25%;
1526
+ flex: 0 0 25%;
1527
+ max-width: 25%; }
1528
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 {
1529
+ -ms-flex-wrap: wrap;
1530
+ flex-wrap: wrap; }
1531
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-5 > .columns {
1532
+ -ms-flex: 0 0 20%;
1533
+ flex: 0 0 20%;
1534
+ max-width: 20%; }
1535
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 {
1536
+ -ms-flex-wrap: wrap;
1537
+ flex-wrap: wrap; }
1538
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-6 > .columns {
1539
+ -ms-flex: 0 0 16.66667%;
1540
+ flex: 0 0 16.66667%;
1541
+ max-width: 16.66667%; }
1542
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 {
1543
+ -ms-flex-wrap: wrap;
1544
+ flex-wrap: wrap; }
1545
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-7 > .columns {
1546
+ -ms-flex: 0 0 14.28571%;
1547
+ flex: 0 0 14.28571%;
1548
+ max-width: 14.28571%; }
1549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 {
1550
+ -ms-flex-wrap: wrap;
1551
+ flex-wrap: wrap; }
1552
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-up-8 > .columns {
1553
+ -ms-flex: 0 0 12.5%;
1554
+ flex: 0 0 12.5%;
1555
+ max-width: 12.5%; } }
1556
+
1557
+ @media screen and (min-width: 64em) and (min-width: 64em) {
1558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-expand {
1559
+ -ms-flex: 1 1 0px;
1560
+ flex: 1 1 0px; } }
1561
+
1562
+ .row.large-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.large-unstack > .columns {
1563
+ -ms-flex: 0 0 100%;
1564
+ flex: 0 0 100%; }
1565
+ @media screen and (min-width: 64em) {
1566
+ .row.large-unstack > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .row.large-unstack > .columns {
1567
+ -ms-flex: 1 1 0px;
1568
+ flex: 1 1 0px; } }
1569
+ @media screen and (min-width: 64em) {
1570
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-collapse > .columns {
1571
+ padding-left: 0;
1572
+ padding-right: 0; }
1573
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .column, body.roboGalleryFields #wpcontent div.roboGalleryFields .large-uncollapse > .columns {
1574
+ padding-left: 0.9375rem;
1575
+ padding-right: 0.9375rem; } }
1576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .shrink {
1577
+ -ms-flex: 0 0 auto;
1578
+ flex: 0 0 auto;
1579
+ max-width: 100%; }
1580
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-top, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-top.columns {
1581
+ -ms-flex-item-align: start;
1582
+ align-self: flex-start; }
1583
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-bottom, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-bottom.columns {
1584
+ -ms-flex-item-align: end;
1585
+ align-self: flex-end; }
1586
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-middle, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-middle.columns {
1587
+ -ms-flex-item-align: center;
1588
+ align-self: center; }
1589
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .column.align-stretch, body.roboGalleryFields #wpcontent div.roboGalleryFields .align-stretch.columns {
1590
+ -ms-flex-item-align: stretch;
1591
+ align-self: stretch; }
1592
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div,
1593
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl,
1594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dt,
1595
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dd,
1596
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul,
1597
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol,
1598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields li,
1599
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1,
1600
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1601
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3,
1602
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4,
1603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5,
1604
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6,
1605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
1606
+ body.roboGalleryFields #wpcontent div.roboGalleryFields form,
1607
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p,
1608
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote,
1609
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th,
1610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td {
1611
+ margin: 0;
1612
+ padding: 0; }
1613
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p {
1614
+ font-size: inherit;
1615
+ line-height: 1.6;
1616
+ margin-bottom: 1rem;
1617
+ text-rendering: optimizeLegibility; }
1618
+ body.roboGalleryFields #wpcontent div.roboGalleryFields em,
1619
+ body.roboGalleryFields #wpcontent div.roboGalleryFields i {
1620
+ font-style: italic;
1621
+ line-height: inherit; }
1622
+ body.roboGalleryFields #wpcontent div.roboGalleryFields strong,
1623
+ body.roboGalleryFields #wpcontent div.roboGalleryFields b {
1624
+ font-weight: bold;
1625
+ line-height: inherit; }
1626
+ body.roboGalleryFields #wpcontent div.roboGalleryFields small {
1627
+ font-size: 80%;
1628
+ line-height: inherit; }
1629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1,
1630
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3,
1632
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4,
1633
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5,
1634
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1635
+ font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
1636
+ font-weight: normal;
1637
+ font-style: normal;
1638
+ color: inherit;
1639
+ text-rendering: optimizeLegibility;
1640
+ margin-top: 0;
1641
+ margin-bottom: 0.5rem;
1642
+ line-height: 1.4; }
1643
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 small,
1644
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 small,
1645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 small,
1646
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 small,
1647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 small,
1648
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 small {
1649
+ color: #cacaca;
1650
+ line-height: 0; }
1651
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
1652
+ font-size: 1.5rem; }
1653
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 {
1654
+ font-size: 1.25rem; }
1655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1656
+ font-size: 1.1875rem; }
1657
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 {
1658
+ font-size: 1.125rem; }
1659
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 {
1660
+ font-size: 1.0625rem; }
1661
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1662
+ font-size: 1rem; }
1663
+ @media screen and (min-width: 40em) {
1664
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h1 {
1665
+ font-size: 3rem; }
1666
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2 {
1667
+ font-size: 2.5rem; }
1668
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1669
+ font-size: 1.9375rem; }
1670
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h4 {
1671
+ font-size: 1.5625rem; }
1672
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h5 {
1673
+ font-size: 1.25rem; }
1674
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h6 {
1675
+ font-size: 1rem; } }
1676
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a {
1677
+ color: #2199e8;
1678
+ text-decoration: none;
1679
+ line-height: inherit;
1680
+ cursor: pointer; }
1681
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields a:focus {
1682
+ color: #1585cf; }
1683
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a img {
1684
+ border: 0; }
1685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields hr {
1686
+ max-width: 75rem;
1687
+ height: 0;
1688
+ border-right: 0;
1689
+ border-top: 0;
1690
+ border-bottom: 1px solid #cacaca;
1691
+ border-left: 0;
1692
+ margin: 1.25rem auto;
1693
+ clear: both; }
1694
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul,
1695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol,
1696
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl {
1697
+ line-height: 1.6;
1698
+ margin-bottom: 1rem;
1699
+ list-style-position: outside; }
1700
+ body.roboGalleryFields #wpcontent div.roboGalleryFields li {
1701
+ font-size: inherit; }
1702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul {
1703
+ list-style-type: disc;
1704
+ margin-left: 1.25rem; }
1705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ol {
1706
+ margin-left: 1.25rem; }
1707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields ul body.roboGalleryFields #wpcontent div.roboGalleryFields ul, body.roboGalleryFields #wpcontent div.roboGalleryFields ol body.roboGalleryFields #wpcontent div.roboGalleryFields ul, body.roboGalleryFields #wpcontent div.roboGalleryFields ul body.roboGalleryFields #wpcontent div.roboGalleryFields ol, body.roboGalleryFields #wpcontent div.roboGalleryFields ol body.roboGalleryFields #wpcontent div.roboGalleryFields ol {
1708
+ margin-left: 1.25rem;
1709
+ margin-bottom: 0; }
1710
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl {
1711
+ margin-bottom: 1rem; }
1712
+ body.roboGalleryFields #wpcontent div.roboGalleryFields dl dt {
1713
+ margin-bottom: 0.3rem;
1714
+ font-weight: bold; }
1715
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote {
1716
+ margin: 0 0 1rem;
1717
+ padding: 0.5625rem 1.25rem 0 1.1875rem;
1718
+ border-left: 1px solid #cacaca; }
1719
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote, body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote p {
1720
+ line-height: 1.6;
1721
+ color: #8a8a8a; }
1722
+ body.roboGalleryFields #wpcontent div.roboGalleryFields cite {
1723
+ display: block;
1724
+ font-size: 0.8125rem;
1725
+ color: #8a8a8a; }
1726
+ body.roboGalleryFields #wpcontent div.roboGalleryFields cite:before {
1727
+ content: '\2014 \0020'; }
1728
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr {
1729
+ color: #0a0a0a;
1730
+ cursor: help;
1731
+ border-bottom: 1px dotted #0a0a0a; }
1732
+ body.roboGalleryFields #wpcontent div.roboGalleryFields code {
1733
+ font-family: Consolas, "Liberation Mono", Courier, monospace;
1734
+ font-weight: normal;
1735
+ color: #0a0a0a;
1736
+ background-color: #e6e6e6;
1737
+ border: 1px solid #cacaca;
1738
+ padding: 0.125rem 0.3125rem 0.0625rem; }
1739
+ body.roboGalleryFields #wpcontent div.roboGalleryFields kbd {
1740
+ padding: 0.125rem 0.25rem 0;
1741
+ margin: 0;
1742
+ background-color: #e6e6e6;
1743
+ color: #0a0a0a;
1744
+ font-family: Consolas, "Liberation Mono", Courier, monospace; }
1745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .subheader {
1746
+ margin-top: 0.2rem;
1747
+ margin-bottom: 0.5rem;
1748
+ font-weight: normal;
1749
+ line-height: 1.4;
1750
+ color: #8a8a8a; }
1751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .lead {
1752
+ font-size: 125%;
1753
+ line-height: 1.6; }
1754
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .stat {
1755
+ font-size: 2.5rem;
1756
+ line-height: 1; }
1757
+ p + body.roboGalleryFields #wpcontent div.roboGalleryFields .stat {
1758
+ margin-top: -1rem; }
1759
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .no-bullet {
1760
+ margin-left: 0;
1761
+ list-style: none; }
1762
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-left {
1763
+ text-align: left; }
1764
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-right {
1765
+ text-align: right; }
1766
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-center {
1767
+ text-align: center; }
1768
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .text-justify {
1769
+ text-align: justify; }
1770
+ @media screen and (min-width: 40em) {
1771
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-left {
1772
+ text-align: left; }
1773
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-right {
1774
+ text-align: right; }
1775
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-center {
1776
+ text-align: center; }
1777
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .medium-text-justify {
1778
+ text-align: justify; } }
1779
+ @media screen and (min-width: 64em) {
1780
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-left {
1781
+ text-align: left; }
1782
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-right {
1783
+ text-align: right; }
1784
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-center {
1785
+ text-align: center; }
1786
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .large-text-justify {
1787
+ text-align: justify; } }
1788
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-print {
1789
+ display: none !important; }
1790
+ @media print {
1791
+ body.roboGalleryFields #wpcontent div.roboGalleryFields * {
1792
+ background: transparent !important;
1793
+ color: black !important;
1794
+ box-shadow: none !important;
1795
+ text-shadow: none !important; }
1796
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-print {
1797
+ display: block !important; }
1798
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-print {
1799
+ display: none !important; }
1800
+ body.roboGalleryFields #wpcontent div.roboGalleryFields table.show-for-print {
1801
+ display: table !important; }
1802
+ body.roboGalleryFields #wpcontent div.roboGalleryFields thead.show-for-print {
1803
+ display: table-header-group !important; }
1804
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tbody.show-for-print {
1805
+ display: table-row-group !important; }
1806
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tr.show-for-print {
1807
+ display: table-row !important; }
1808
+ body.roboGalleryFields #wpcontent div.roboGalleryFields td.show-for-print {
1809
+ display: table-cell !important; }
1810
+ body.roboGalleryFields #wpcontent div.roboGalleryFields th.show-for-print {
1811
+ display: table-cell !important; }
1812
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a,
1813
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a:visited {
1814
+ text-decoration: underline; }
1815
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href]:after {
1816
+ content: " (" attr(href) ")"; }
1817
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .ir a:after,
1818
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href^='javascript:']:after,
1819
+ body.roboGalleryFields #wpcontent div.roboGalleryFields a[href^='#']:after {
1820
+ content: ''; }
1821
+ body.roboGalleryFields #wpcontent div.roboGalleryFields abbr[title]:after {
1822
+ content: " (" attr(title) ")"; }
1823
+ body.roboGalleryFields #wpcontent div.roboGalleryFields pre,
1824
+ body.roboGalleryFields #wpcontent div.roboGalleryFields blockquote {
1825
+ border: 1px solid #8a8a8a;
1826
+ page-break-inside: avoid; }
1827
+ body.roboGalleryFields #wpcontent div.roboGalleryFields thead {
1828
+ display: table-header-group; }
1829
+ body.roboGalleryFields #wpcontent div.roboGalleryFields tr,
1830
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
1831
+ page-break-inside: avoid; }
1832
+ body.roboGalleryFields #wpcontent div.roboGalleryFields img {
1833
+ max-width: 100% !important; }
1834
+ @page {
1835
+ body.roboGalleryFields #wpcontent div.roboGalleryFields {
1836
+ margin: 0.5cm; } }
1837
+ body.roboGalleryFields #wpcontent div.roboGalleryFields p,
1838
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1839
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1840
+ orphans: 3;
1841
+ widows: 3; }
1842
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h2,
1843
+ body.roboGalleryFields #wpcontent div.roboGalleryFields h3 {
1844
+ page-break-after: avoid; } }
1845
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
1846
+ display: inline-block;
1847
+ text-align: center;
1848
+ line-height: 1;
1849
+ cursor: pointer;
1850
+ -webkit-appearance: none;
1851
+ transition: background-color 0.25s ease-out, color 0.25s ease-out;
1852
+ vertical-align: middle;
1853
+ border: 1px solid transparent;
1854
+ border-radius: 0;
1855
+ padding: 0.85em 1em;
1856
+ margin: 0 0 1rem 0;
1857
+ font-size: 0.9rem;
1858
+ background-color: #2199e8;
1859
+ color: #fefefe; }
1860
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
1861
+ outline: 0; }
1862
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button:focus {
1863
+ background-color: #1583cc;
1864
+ color: #fefefe; }
1865
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.tiny {
1866
+ font-size: 0.6rem; }
1867
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.small {
1868
+ font-size: 0.75rem; }
1869
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.large {
1870
+ font-size: 1.25rem; }
1871
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.expanded {
1872
+ display: block;
1873
+ width: 100%;
1874
+ margin-left: 0;
1875
+ margin-right: 0; }
1876
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary {
1877
+ background-color: #2199e8;
1878
+ color: #fefefe; }
1879
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.primary:focus {
1880
+ background-color: #147cc0;
1881
+ color: #fefefe; }
1882
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary {
1883
+ background-color: #777;
1884
+ color: #fefefe; }
1885
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.secondary:focus {
1886
+ background-color: #5f5f5f;
1887
+ color: #fefefe; }
1888
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success {
1889
+ background-color: #3adb76;
1890
+ color: #fefefe; }
1891
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.success:focus {
1892
+ background-color: #22bb5b;
1893
+ color: #fefefe; }
1894
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning {
1895
+ background-color: #ffae00;
1896
+ color: #fefefe; }
1897
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.warning:focus {
1898
+ background-color: #cc8b00;
1899
+ color: #fefefe; }
1900
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert {
1901
+ background-color: #ec5840;
1902
+ color: #fefefe; }
1903
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.alert:focus {
1904
+ background-color: #da3116;
1905
+ color: #fefefe; }
1906
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow {
1907
+ border: 1px solid #2199e8;
1908
+ color: #2199e8; }
1909
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:focus {
1910
+ background-color: transparent; }
1911
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow:focus {
1912
+ border-color: #0c4d78;
1913
+ color: #0c4d78; }
1914
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary {
1915
+ border: 1px solid #2199e8;
1916
+ color: #2199e8; }
1917
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.primary:focus {
1918
+ border-color: #0c4d78;
1919
+ color: #0c4d78; }
1920
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary {
1921
+ border: 1px solid #777;
1922
+ color: #777; }
1923
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.secondary:focus {
1924
+ border-color: #3c3c3c;
1925
+ color: #3c3c3c; }
1926
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success {
1927
+ border: 1px solid #3adb76;
1928
+ color: #3adb76; }
1929
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.success:focus {
1930
+ border-color: #157539;
1931
+ color: #157539; }
1932
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning {
1933
+ border: 1px solid #ffae00;
1934
+ color: #ffae00; }
1935
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.warning:focus {
1936
+ border-color: #805700;
1937
+ color: #805700; }
1938
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert {
1939
+ border: 1px solid #ec5840;
1940
+ color: #ec5840; }
1941
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button.hollow.alert:focus {
1942
+ border-color: #881f0e;
1943
+ color: #881f0e; }
1944
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.disabled, body.roboGalleryFields #wpcontent div.roboGalleryFields .button[disabled] {
1945
+ opacity: 0.25;
1946
+ cursor: not-allowed; }
1947
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.dropdown::after {
1948
+ content: '';
1949
+ display: block;
1950
+ width: 0;
1951
+ height: 0;
1952
+ border: inset 0.4em;
1953
+ border-color: #fefefe transparent transparent;
1954
+ border-top-style: solid;
1955
+ border-bottom-width: 0;
1956
+ position: relative;
1957
+ top: 0.4em;
1958
+ float: right;
1959
+ margin-left: 1em;
1960
+ display: inline-block; }
1961
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button.arrow-only::after {
1962
+ margin-left: 0;
1963
+ float: none;
1964
+ top: -0.1em; }
1965
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='text'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='password'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='date'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime-local'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='month'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='week'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='email'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='number'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='search'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='tel'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='time'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='url'], body.roboGalleryFields #wpcontent div.roboGalleryFields [type='color'],
1966
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
1967
+ display: block;
1968
+ box-sizing: border-box;
1969
+ width: 100%;
1970
+ height: 2.4375rem;
1971
+ padding: 0.5rem;
1972
+ border: 1px solid #cacaca;
1973
+ margin: 0 0 1rem;
1974
+ font-family: inherit;
1975
+ font-size: 1rem;
1976
+ color: #0a0a0a;
1977
+ background-color: #fefefe;
1978
+ box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
1979
+ border-radius: 0;
1980
+ transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
1981
+ -webkit-appearance: none;
1982
+ -moz-appearance: none; }
1983
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='text']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='password']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='date']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='datetime-local']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='month']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='week']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='email']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='number']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='search']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='tel']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='time']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='url']:focus, body.roboGalleryFields #wpcontent div.roboGalleryFields [type='color']:focus,
1984
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:focus {
1985
+ border: 1px solid #8a8a8a;
1986
+ background-color: #fefefe;
1987
+ outline: none;
1988
+ box-shadow: 0 0 5px #cacaca;
1989
+ transition: box-shadow 0.5s, border-color 0.25s ease-in-out; }
1990
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea {
1991
+ max-width: 100%; }
1992
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea[rows] {
1993
+ height: auto; }
1994
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-webkit-input-placeholder,
1995
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::-webkit-input-placeholder {
1996
+ color: #cacaca; }
1997
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::-moz-placeholder,
1998
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::-moz-placeholder {
1999
+ color: #cacaca; }
2000
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input:-ms-input-placeholder,
2001
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:-ms-input-placeholder {
2002
+ color: #cacaca; }
2003
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input::placeholder,
2004
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea::placeholder {
2005
+ color: #cacaca; }
2006
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input:disabled, body.roboGalleryFields #wpcontent div.roboGalleryFields input[readonly],
2007
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea:disabled,
2008
+ body.roboGalleryFields #wpcontent div.roboGalleryFields textarea[readonly] {
2009
+ background-color: #e6e6e6;
2010
+ cursor: default; }
2011
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='submit'],
2012
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='button'] {
2013
+ border-radius: 0;
2014
+ -webkit-appearance: none;
2015
+ -moz-appearance: none; }
2016
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type='search'] {
2017
+ box-sizing: border-box; }
2018
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='file'],
2019
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'],
2020
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] {
2021
+ margin: 0 0 1rem; }
2022
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'] + label,
2023
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] + label {
2024
+ display: inline-block;
2025
+ margin-left: 0.5rem;
2026
+ margin-right: 1rem;
2027
+ margin-bottom: 0;
2028
+ vertical-align: baseline; }
2029
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='checkbox'] + label[for],
2030
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='radio'] + label[for] {
2031
+ cursor: pointer; }
2032
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label > [type='checkbox'],
2033
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label > [type='radio'] {
2034
+ margin-right: 0.5rem; }
2035
+ body.roboGalleryFields #wpcontent div.roboGalleryFields [type='file'] {
2036
+ width: 100%; }
2037
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label {
2038
+ display: block;
2039
+ margin: 0;
2040
+ font-size: 0.875rem;
2041
+ font-weight: normal;
2042
+ line-height: 1.8;
2043
+ color: #0a0a0a; }
2044
+ body.roboGalleryFields #wpcontent div.roboGalleryFields label.middle {
2045
+ margin: 0 0 1rem;
2046
+ padding: 0.5625rem 0; }
2047
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .help-text {
2048
+ margin-top: -0.5rem;
2049
+ font-size: 0.8125rem;
2050
+ font-style: italic;
2051
+ color: #0a0a0a; }
2052
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group {
2053
+ display: table;
2054
+ width: 100%;
2055
+ margin-bottom: 1rem; }
2056
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group > :first-child {
2057
+ border-radius: 0 0 0 0; }
2058
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group > :last-child > * {
2059
+ border-radius: 0 0 0 0; }
2060
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label, body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-field, body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button {
2061
+ margin: 0;
2062
+ display: table-cell;
2063
+ vertical-align: middle; }
2064
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label {
2065
+ text-align: center;
2066
+ padding: 0 1rem;
2067
+ background: #e6e6e6;
2068
+ color: #0a0a0a;
2069
+ border: 1px solid #cacaca;
2070
+ white-space: nowrap;
2071
+ width: 1%;
2072
+ height: 100%; }
2073
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label:first-child {
2074
+ border-right: 0; }
2075
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-label:last-child {
2076
+ border-left: 0; }
2077
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-field {
2078
+ border-radius: 0;
2079
+ height: 2.5rem; }
2080
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button {
2081
+ padding-top: 0;
2082
+ padding-bottom: 0;
2083
+ text-align: center;
2084
+ height: 100%;
2085
+ width: 1%; }
2086
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button a,
2087
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button input,
2088
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group-button button {
2089
+ margin: 0; }
2090
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .input-group .input-group-button {
2091
+ display: table-cell; }
2092
+ body.roboGalleryFields #wpcontent div.roboGalleryFields fieldset {
2093
+ border: 0;
2094
+ padding: 0;
2095
+ margin: 0; }
2096
+ body.roboGalleryFields #wpcontent div.roboGalleryFields legend {
2097
+ margin-bottom: 0.5rem;
2098
+ max-width: 100%; }
2099
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .fieldset {
2100
+ border: 1px solid #cacaca;
2101
+ padding: 1.25rem;
2102
+ margin: 1.125rem 0; }
2103
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .fieldset legend {
2104
+ background: #fefefe;
2105
+ padding: 0 0.1875rem;
2106
+ margin: 0;
2107
+ margin-left: -0.1875rem; }
2108
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
2109
+ height: 2.4375rem;
2110
+ padding: 0.5rem;
2111
+ border: 1px solid #cacaca;
2112
+ margin: 0 0 1rem;
2113
+ font-size: 1rem;
2114
+ font-family: inherit;
2115
+ line-height: normal;
2116
+ color: #0a0a0a;
2117
+ background-color: #fefefe;
2118
+ border-radius: 0;
2119
+ -webkit-appearance: none;
2120
+ -moz-appearance: none;
2121
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="24" viewBox="0 0 32 24"><polygon points="0,0 32,0 16,24" style="fill: rgb%28138, 138, 138%29"></polygon></svg>');
2122
+ background-size: 9px 6px;
2123
+ background-position: right center;
2124
+ background-origin: content-box;
2125
+ background-repeat: no-repeat; }
2126
+ @media screen and (min-width: 0\0) {
2127
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select {
2128
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg=="); } }
2129
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select:disabled {
2130
+ background-color: #e6e6e6;
2131
+ cursor: default; }
2132
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select::-ms-expand {
2133
+ display: none; }
2134
+ body.roboGalleryFields #wpcontent div.roboGalleryFields select[multiple] {
2135
+ height: auto;
2136
+ background-image: none; }
2137
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-invalid-input:not(:focus) {
2138
+ background-color: rgba(236, 88, 64, 0.1);
2139
+ border-color: #ec5840; }
2140
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .is-invalid-label {
2141
+ color: #ec5840; }
2142
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .form-error {
2143
+ display: none;
2144
+ margin-top: -0.5rem;
2145
+ margin-bottom: 1rem;
2146
+ font-size: 0.75rem;
2147
+ font-weight: bold;
2148
+ color: #ec5840; }
2149
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .form-error.is-visible {
2150
+ display: block; }
2151
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"] {
2152
+ -webkit-appearance: none;
2153
+ -moz-appearance: none;
2154
+ display: block;
2155
+ width: 100%;
2156
+ height: auto;
2157
+ cursor: pointer;
2158
+ margin-top: 0.45rem;
2159
+ margin-bottom: 0.45rem;
2160
+ border: 0;
2161
+ line-height: 1; }
2162
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]:focus {
2163
+ outline: 0; }
2164
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"][disabled] {
2165
+ opacity: 0.25; }
2166
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-webkit-slider-runnable-track {
2167
+ height: 0.5rem;
2168
+ background: #e6e6e6; }
2169
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-webkit-slider-handle {
2170
+ -webkit-appearance: none;
2171
+ background: #2199e8;
2172
+ width: 1.4rem;
2173
+ height: 1.4rem;
2174
+ margin-top: -0.45rem; }
2175
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-moz-range-track {
2176
+ -moz-appearance: none;
2177
+ height: 0.5rem;
2178
+ background: #e6e6e6; }
2179
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-moz-range-thumb {
2180
+ -moz-appearance: none;
2181
+ background: #2199e8;
2182
+ width: 1.4rem;
2183
+ height: 1.4rem;
2184
+ margin-top: -0.45rem; }
2185
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-track {
2186
+ height: 0.5rem;
2187
+ background: #e6e6e6;
2188
+ color: transparent;
2189
+ border: 0;
2190
+ overflow: visible;
2191
+ border-top: 0.45rem solid #fefefe;
2192
+ border-bottom: 0.45rem solid #fefefe; }
2193
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-thumb {
2194
+ background: #2199e8;
2195
+ width: 1.4rem;
2196
+ height: 1.4rem;
2197
+ border: 0; }
2198
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-fill-lower {
2199
+ background: #cacaca; }
2200
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type="range"]::-ms-fill-upper {
2201
+ background: #e6e6e6; }
2202
+ output {
2203
+ line-height: 1.4rem;
2204
+ vertical-align: middle;
2205
+ margin-left: 0.5em; }
2206
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group {
2207
+ margin-bottom: 1rem;
2208
+ font-size: 0; }
2209
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::after {
2210
+ content: ' ';
2211
+ display: table; }
2212
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group::after {
2213
+ clear: both; }
2214
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group .button {
2215
+ margin: 0;
2216
+ font-size: 0.9rem; }
2217
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group .button:not(:last-child) {
2218
+ margin-right: 1px; }
2219
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.tiny .button {
2220
+ font-size: 0.6rem; }
2221
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.small .button {
2222
+ font-size: 0.75rem; }
2223
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.large .button {
2224
+ font-size: 1.25rem; }
2225
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded {
2226
+ margin-right: -1px; }
2227
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded::after {
2228
+ display: none; }
2229
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(2), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(2):first-child:nth-last-child(2) ~ .button {
2230
+ display: inline-block;
2231
+ width: 50%;
2232
+ margin-right: 1px; }
2233
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(3), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(3):first-child:nth-last-child(3) ~ .button {
2234
+ display: inline-block;
2235
+ width: 33.33333%;
2236
+ margin-right: 1px; }
2237
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(4), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(4):first-child:nth-last-child(4) ~ .button {
2238
+ display: inline-block;
2239
+ width: 25%;
2240
+ margin-right: 1px; }
2241
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(5), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(5):first-child:nth-last-child(5) ~ .button {
2242
+ display: inline-block;
2243
+ width: 20%;
2244
+ margin-right: 1px; }
2245
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(6), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.expanded .button:first-child:nth-last-child(6):first-child:nth-last-child(6) ~ .button {
2246
+ display: inline-block;
2247
+ width: 16.66667%;
2248
+ margin-right: 1px; }
2249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button {
2250
+ background-color: #2199e8;
2251
+ color: #fefefe; }
2252
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.primary .button:focus {
2253
+ background-color: #147cc0;
2254
+ color: #fefefe; }
2255
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button {
2256
+ background-color: #777;
2257
+ color: #fefefe; }
2258
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.secondary .button:focus {
2259
+ background-color: #5f5f5f;
2260
+ color: #fefefe; }
2261
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button {
2262
+ background-color: #3adb76;
2263
+ color: #fefefe; }
2264
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.success .button:focus {
2265
+ background-color: #22bb5b;
2266
+ color: #fefefe; }
2267
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button {
2268
+ background-color: #ffae00;
2269
+ color: #fefefe; }
2270
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.warning .button:focus {
2271
+ background-color: #cc8b00;
2272
+ color: #fefefe; }
2273
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button {
2274
+ background-color: #ec5840;
2275
+ color: #fefefe; }
2276
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button:hover, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.alert .button:focus {
2277
+ background-color: #da3116;
2278
+ color: #fefefe; }
2279
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked .button, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button, body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button {
2280
+ width: 100%;
2281
+ border-right: 1px solid transparent; }
2282
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked .button:not(:last-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button:not(:last-child), body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button:not(:last-child) {
2283
+ border-bottom: 1px solid #fefefe; }
2284
+ @media screen and (min-width: 40em) {
2285
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button {
2286
+ width: auto; }
2287
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small .button:not(:last-child) {
2288
+ margin-right: 1px; } }
2289
+ @media screen and (min-width: 64em) {
2290
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button {
2291
+ width: auto; }
2292
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-medium .button:not(:last-child) {
2293
+ margin-right: 1px; } }
2294
+ @media screen and (max-width: 39.9375em) {
2295
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small.expanded {
2296
+ display: block; }
2297
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button-group.stacked-for-small.expanded .button {
2298
+ display: block;
2299
+ margin-right: 0; } }
2300
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label {
2301
+ display: inline-block;
2302
+ padding: 0.33333rem 0.5rem;
2303
+ font-size: 0.8rem;
2304
+ line-height: 1;
2305
+ white-space: nowrap;
2306
+ cursor: default;
2307
+ border-radius: 0;
2308
+ background: #2199e8;
2309
+ color: #fefefe; }
2310
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.secondary {
2311
+ background: #777;
2312
+ color: #fefefe; }
2313
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.success {
2314
+ background: #3adb76;
2315
+ color: #fefefe; }
2316
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.warning {
2317
+ background: #ffae00;
2318
+ color: #fefefe; }
2319
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .label.alert {
2320
+ background: #ec5840;
2321
+ color: #fefefe; }
2322
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider {
2323
+ position: relative;
2324
+ height: 0.5rem;
2325
+ margin-top: 1.25rem;
2326
+ margin-bottom: 2.25rem;
2327
+ background-color: #e6e6e6;
2328
+ cursor: pointer;
2329
+ -webkit-user-select: none;
2330
+ -moz-user-select: none;
2331
+ -ms-user-select: none;
2332
+ user-select: none;
2333
+ -ms-touch-action: none;
2334
+ touch-action: none; }
2335
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-fill {
2336
+ position: absolute;
2337
+ top: 0;
2338
+ left: 0;
2339
+ display: inline-block;
2340
+ max-width: 100%;
2341
+ height: 0.5rem;
2342
+ background-color: #cacaca;
2343
+ transition: all 0.2s ease-in-out; }
2344
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-fill.is-dragging {
2345
+ transition: all 0s linear; }
2346
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle {
2347
+ position: absolute;
2348
+ top: 50%;
2349
+ -ms-transform: translateY(-50%);
2350
+ transform: translateY(-50%);
2351
+ position: absolute;
2352
+ left: 0;
2353
+ z-index: 1;
2354
+ display: inline-block;
2355
+ width: 1.4rem;
2356
+ height: 1.4rem;
2357
+ background-color: #2199e8;
2358
+ transition: all 0.2s ease-in-out;
2359
+ -ms-touch-action: manipulation;
2360
+ touch-action: manipulation;
2361
+ border-radius: 0; }
2362
+ [data-whatinput='mouse'] body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle {
2363
+ outline: 0; }
2364
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle:hover {
2365
+ background-color: #1583cc; }
2366
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider-handle.is-dragging {
2367
+ transition: all 0s linear; }
2368
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.disabled,
2369
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider[disabled] {
2370
+ opacity: 0.25;
2371
+ cursor: not-allowed; }
2372
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical {
2373
+ display: inline-block;
2374
+ width: 0.5rem;
2375
+ height: 12.5rem;
2376
+ margin: 0 1.25rem;
2377
+ -ms-transform: scale(1, -1);
2378
+ transform: scale(1, -1); }
2379
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical .slider-fill {
2380
+ top: 0;
2381
+ width: 0.5rem;
2382
+ max-height: 100%; }
2383
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .slider.vertical .slider-handle {
2384
+ position: absolute;
2385
+ top: 0;
2386
+ left: 50%;
2387
+ width: 1.4rem;
2388
+ height: 1.4rem;
2389
+ -ms-transform: translateX(-50%);
2390
+ transform: translateX(-50%); }
2391
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch {
2392
+ margin-bottom: 1rem;
2393
+ outline: 0;
2394
+ position: relative;
2395
+ -webkit-user-select: none;
2396
+ -moz-user-select: none;
2397
+ -ms-user-select: none;
2398
+ user-select: none;
2399
+ color: #fefefe;
2400
+ font-weight: bold;
2401
+ font-size: 0.875rem; }
2402
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-input {
2403
+ opacity: 0;
2404
+ position: absolute; }
2405
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2406
+ background: #cacaca;
2407
+ cursor: pointer;
2408
+ display: block;
2409
+ position: relative;
2410
+ width: 4rem;
2411
+ height: 2rem;
2412
+ transition: all 0.25s ease-out;
2413
+ border-radius: 0;
2414
+ color: inherit;
2415
+ font-weight: inherit; }
2416
+ input + body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2417
+ margin: 0; }
2418
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle::after {
2419
+ background: #fefefe;
2420
+ content: '';
2421
+ display: block;
2422
+ position: absolute;
2423
+ height: 1.5rem;
2424
+ left: 0.25rem;
2425
+ top: 0.25rem;
2426
+ width: 1.5rem;
2427
+ transition: all 0.25s ease-out;
2428
+ transform: translate3d(0, 0, 0);
2429
+ border-radius: 0; }
2430
+ input:checked ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2431
+ background: #2199e8; }
2432
+ input:checked ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle::after {
2433
+ left: 2.25rem; }
2434
+ [data-whatinput='mouse'] input:focus ~ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-paddle {
2435
+ outline: 0; }
2436
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active, body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2437
+ position: absolute;
2438
+ top: 50%;
2439
+ -ms-transform: translateY(-50%);
2440
+ transform: translateY(-50%); }
2441
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active {
2442
+ left: 8%;
2443
+ display: none; }
2444
+ input:checked + label > body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-active {
2445
+ display: block; }
2446
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2447
+ right: 15%; }
2448
+ input:checked + label > body.roboGalleryFields #wpcontent div.roboGalleryFields .switch-inactive {
2449
+ display: none; }
2450
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny .switch-paddle {
2451
+ width: 3rem;
2452
+ height: 1.5rem;
2453
+ font-size: 0.625rem; }
2454
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny .switch-paddle::after {
2455
+ width: 1rem;
2456
+ height: 1rem; }
2457
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.tiny input:checked ~ .switch-paddle::after {
2458
+ left: 1.75rem; }
2459
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small .switch-paddle {
2460
+ width: 3.5rem;
2461
+ height: 1.75rem;
2462
+ font-size: 0.75rem; }
2463
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small .switch-paddle::after {
2464
+ width: 1.25rem;
2465
+ height: 1.25rem; }
2466
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.small input:checked ~ .switch-paddle::after {
2467
+ left: 2rem; }
2468
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large .switch-paddle {
2469
+ width: 5rem;
2470
+ height: 2.5rem;
2471
+ font-size: 1rem; }
2472
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large .switch-paddle::after {
2473
+ width: 2rem;
2474
+ height: 2rem; }
2475
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .switch.large input:checked ~ .switch-paddle::after {
2476
+ left: 2.75rem; }
2477
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .has-tip {
2478
+ border-bottom: dotted 1px #8a8a8a;
2479
+ font-weight: bold;
2480
+ position: relative;
2481
+ display: inline-block;
2482
+ cursor: help; }
2483
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip {
2484
+ background-color: #0a0a0a;
2485
+ color: #fefefe;
2486
+ font-size: 80%;
2487
+ padding: 0.75rem;
2488
+ position: absolute;
2489
+ z-index: 10;
2490
+ top: calc(100% + 0.6495rem);
2491
+ max-width: 10rem !important;
2492
+ border-radius: 0; }
2493
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip::before {
2494
+ content: '';
2495
+ display: block;
2496
+ width: 0;
2497
+ height: 0;
2498
+ border: inset 0.75rem;
2499
+ border-color: transparent transparent #0a0a0a;
2500
+ border-bottom-style: solid;
2501
+ border-top-width: 0;
2502
+ bottom: 100%;
2503
+ position: absolute;
2504
+ left: 50%;
2505
+ -ms-transform: translateX(-50%);
2506
+ transform: translateX(-50%); }
2507
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.top::before {
2508
+ content: '';
2509
+ display: block;
2510
+ width: 0;
2511
+ height: 0;
2512
+ border: inset 0.75rem;
2513
+ border-color: #0a0a0a transparent transparent;
2514
+ border-top-style: solid;
2515
+ border-bottom-width: 0;
2516
+ top: 100%;
2517
+ bottom: auto; }
2518
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.left::before {
2519
+ content: '';
2520
+ display: block;
2521
+ width: 0;
2522
+ height: 0;
2523
+ border: inset 0.75rem;
2524
+ border-color: transparent transparent transparent #0a0a0a;
2525
+ border-left-style: solid;
2526
+ border-right-width: 0;
2527
+ bottom: auto;
2528
+ left: 100%;
2529
+ top: 50%;
2530
+ -ms-transform: translateY(-50%);
2531
+ transform: translateY(-50%); }
2532
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .tooltip.right::before {
2533
+ content: '';
2534
+ display: block;
2535
+ width: 0;
2536
+ height: 0;
2537
+ border: inset 0.75rem;
2538
+ border-color: transparent #0a0a0a transparent transparent;
2539
+ border-right-style: solid;
2540
+ border-left-width: 0;
2541
+ bottom: auto;
2542
+ left: auto;
2543
+ right: 100%;
2544
+ top: 50%;
2545
+ -ms-transform: translateY(-50%);
2546
+ transform: translateY(-50%); }
2547
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide {
2548
+ display: none !important; }
2549
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .invisible {
2550
+ visibility: hidden; }
2551
+ @media screen and (max-width: 39.9375em) {
2552
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-small-only {
2553
+ display: none !important; } }
2554
+ @media screen and (max-width: 0em), screen and (min-width: 40em) {
2555
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-small-only {
2556
+ display: none !important; } }
2557
+ @media screen and (min-width: 40em) {
2558
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-medium {
2559
+ display: none !important; } }
2560
+ @media screen and (max-width: 39.9375em) {
2561
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-medium {
2562
+ display: none !important; } }
2563
+ @media screen and (min-width: 40em) and (max-width: 63.9375em) {
2564
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-medium-only {
2565
+ display: none !important; } }
2566
+ @media screen and (max-width: 39.9375em), screen and (min-width: 64em) {
2567
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-medium-only {
2568
+ display: none !important; } }
2569
+ @media screen and (min-width: 64em) {
2570
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-large {
2571
+ display: none !important; } }
2572
+ @media screen and (max-width: 63.9375em) {
2573
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-large {
2574
+ display: none !important; } }
2575
+ @media screen and (min-width: 64em) and (max-width: 74.9375em) {
2576
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-large-only {
2577
+ display: none !important; } }
2578
+ @media screen and (max-width: 63.9375em), screen and (min-width: 75em) {
2579
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-large-only {
2580
+ display: none !important; } }
2581
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-sr,
2582
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus {
2583
+ position: absolute !important;
2584
+ width: 1px;
2585
+ height: 1px;
2586
+ overflow: hidden;
2587
+ clip: rect(0, 0, 0, 0); }
2588
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus:active, body.roboGalleryFields #wpcontent div.roboGalleryFields .show-on-focus:focus {
2589
+ position: static !important;
2590
+ height: auto;
2591
+ width: auto;
2592
+ overflow: visible;
2593
+ clip: auto; }
2594
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2595
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2596
+ display: block !important; }
2597
+ @media screen and (orientation: landscape) {
2598
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2599
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2600
+ display: block !important; } }
2601
+ @media screen and (orientation: portrait) {
2602
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-landscape,
2603
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-portrait {
2604
+ display: none !important; } }
2605
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2606
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2607
+ display: none !important; }
2608
+ @media screen and (orientation: landscape) {
2609
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2610
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2611
+ display: none !important; } }
2612
+ @media screen and (orientation: portrait) {
2613
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hide-for-landscape,
2614
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .show-for-portrait {
2615
+ display: block !important; } }
2616
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-left {
2617
+ float: left !important; }
2618
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-right {
2619
+ float: right !important; }
2620
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .float-center {
2621
+ display: block;
2622
+ margin-left: auto;
2623
+ margin-right: auto; }
2624
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::before, body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::after {
2625
+ content: ' ';
2626
+ display: table; }
2627
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .clearfix::after {
2628
+ clear: both; }
2629
+ body.roboGalleryFields #wpcontent div.roboGalleryFields * {
2630
+ box-sizing: border-box; }
2631
+ body.roboGalleryFields #wpcontent div.roboGalleryFields input[type=radio], body.roboGalleryFields #wpcontent div.roboGalleryFields input[type=checkbox] {
2632
+ vertical-align: inherit; }
2633
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button {
2634
+ height: auto; }
2635
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:first-child,
2636
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .button:last-child {
2637
+ border-radius: inherit; }
2638
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .row .row {
2639
+ margin-left: -0.9375rem;
2640
+ margin-right: -0.9375rem;
2641
+ max-width: none; }
2642
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content-before,
2643
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content,
2644
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content-after,
2645
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field {
2646
+ margin-bottom: 20px; }
2647
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field {
2648
+ position: relative; }
2649
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .lock-overlay {
2650
+ position: absolute;
2651
+ z-index: 1;
2652
+ width: 100%;
2653
+ height: 100%;
2654
+ background: rgba(0, 0, 0, 0.5); }
2655
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .lock-overlay .lock-message {
2656
+ position: absolute;
2657
+ left: 50%;
2658
+ top: 50%;
2659
+ transform: translate(-50%, -50%);
2660
+ -webkit-transform: translate(-50%, -50%);
2661
+ -o-transform: translate(-50%, -50%);
2662
+ -ms-transform: translate(-50%, -50%);
2663
+ font-size: 2rem;
2664
+ color: #e6e6e6; }
2665
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field .text-before,
2666
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field .text-after,
2667
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field.text-before,
2668
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .field.text-after {
2669
+ padding-top: 0.5rem; }
2670
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input + label{
2671
+ margin-left: 0;
2672
+ }
2673
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element {
2674
+ float: left;
2675
+ margin-right: 20px; }
2676
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input:checked ~ .switch-paddle {
2677
+ background-color: #2199e8; }
2678
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field .switch-element input:checked + label > .switch-active {
2679
+ display: block; }
2680
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button .button-element,
2681
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button .button-element {
2682
+ display: inline-block;
2683
+ margin-bottom: 20px; }
2684
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input[type=checkbox],
2685
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input[type=checkbox] {
2686
+ display: none; }
2687
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input + label,
2688
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input + label {
2689
+ margin: 0;
2690
+ background: #cacaca; }
2691
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input + label:active,
2692
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input + label:active {
2693
+ -ms-transform: translateY(0px);
2694
+ transform: translateY(0px); }
2695
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-button input:checked + label,
2696
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.checkbox-group-button input:checked + label {
2697
+ background: #2199e8; }
2698
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input[type=radio] {
2699
+ display: none; }
2700
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input + label {
2701
+ background: #cacaca; }
2702
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input + label:active {
2703
+ -ms-transform: translateY(0px);
2704
+ transform: translateY(0px); }
2705
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.radio-buttons-group .field .button-group input:checked + label {
2706
+ background: #2199e8; }
2707
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .wrap-field.composite-default .switch-element .switch.small label {
2708
+ margin-top: 0.33rem; }
2709
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .twoj-gallery-option-new{
2710
+ position: absolute;
2711
+ top: 30px;
2712
+ right: -37px;
2713
+ font-size: 0.65rem;
2714
+
2715
+ transform: rotate(-90deg);
2716
+ -webkit-transform: rotate(-90deg);
2717
+ -moz-transform: rotate(-90deg);
2718
+ -ms-transform: rotate(-90deg);
2719
+ -o-transform: rotate(-90deg);
2720
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
2721
+ }
2722
+
2723
+
2724
+
2725
+ body.roboGalleryFields #wpcontent .apeLoading {
2726
+ background-image: url( 'loading_clear.gif' );
2727
+ background-repeat: no-repeat;
2728
+ background-position: center;
2729
+ width: auto;
2730
+ height: 20px;
2731
+ margin:0 auto;
2732
+ }
2733
+
2734
+ .inline-block{
2735
+ display: inline-block;
2736
+ }
2737
+
2738
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .hidden-default{
2739
+ display: none;
2740
+ }
2741
+
2742
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field:nth-child(1){
2743
+ padding-top: 10px;
2744
+ }
2745
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.wrap-field:nth-last-child(2){
2746
+ /*padding-bottom: 0;
2747
+ margin-bottom: 0; */
2748
+ }
2749
+
2750
+
2751
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .metabox.content:nth-last-child(2){
2752
+ padding-bottom: 0;
2753
+ margin-bottom: 0;
2754
+ }
2755
+
2756
+
2757
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #robo_gallery_fields_themes_default_message.big{
2758
+ text-align: center;
2759
+ font-size: 1.5em;
2760
+ }
2761
+
2762
+
2763
+
2764
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon{}
2765
+
2766
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon .dashicons{
2767
+ font-size: 80px;
2768
+ width: auto;
2769
+ height: auto;
2770
+ color: green;
2771
+ }
2772
+
2773
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .checkIcon.ape-gallery-field-theme-default-current .dashicons{
2774
+ float:left;
2775
+ margin-left: -33px;
2776
+ margin-bottom: -12px;
2777
+ margin-top: -10px;
2778
+ }
2779
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .ape-gallery-field-theme-default-current .desc{
2780
+ padding-top: 10px;
2781
+ font-weight: bold;
2782
+ }
{cmb2/fields/gallery/js → app/extensions/fields/asset/core/css}/index.html RENAMED
File without changes
app/extensions/fields/asset/core/css/loading.gif ADDED
Binary file
app/extensions/fields/asset/core/css/loading_clear.gif ADDED
Binary file
{includes/extensions/debug/css → app/extensions/fields/asset/core}/index.html RENAMED
File without changes
app/extensions/fields/asset/core/js/app.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Robo Gallery
3
+ * Version: 2.8.40 - 95887
4
+ * By Robosoft
5
+ *
6
+ * Contact: https://robosoft.co/robogallery/
7
+ * Created: 2015
8
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
9
+
10
+ */
11
+
12
+ (function ($) {
13
+ $(document).ready(function () {
14
+
15
+ $(document).foundation();
16
+
17
+ $('[data-dependents]').on('change', function () {
18
+ var $this = $(this),
19
+ attrDependents = $this.attr('data-dependents'),
20
+ dependents = attrDependents ? JSON.parse(attrDependents) : {},
21
+ tag = this.nodeName.toLowerCase(),
22
+ type = 'input' === tag ? $this.attr('type') : tag,
23
+ value = undefined;
24
+
25
+ switch (type) {
26
+ case 'checkbox':
27
+ value = $this.prop('checked') ? 1 : 0;
28
+ break;
29
+ case 'radio':
30
+ case 'select':
31
+ value = $this.val();
32
+ break;
33
+ }
34
+
35
+ if (dependents[value]) {
36
+ $.each(dependents[value], function (action, selectors) {
37
+ $.each(selectors, function (i, selector) {
38
+ if ($.isFunction($(selector)[action])) {
39
+ $(selector)[action]();
40
+ }
41
+ })
42
+ });
43
+ }
44
+ });
45
+
46
+ $('.twoj-gallery-option-new').click( function(evn){
47
+ evn.preventDefault();
48
+ });
49
+
50
+ //$('input[type="checkbox"][data-dependents]:checked').trigger('change');
51
+ $('input[type="checkbox"][data-dependents]').trigger('change');
52
+ $('input[type="radio"][data-dependents]:checked').trigger('change');
53
+ $('select[data-dependents]').trigger('change');
54
+
55
+
56
+
57
+
58
+ /*jQuery(".ui-dialog-titlebar-close").addClass("ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only ui-dialog-titlebar-close");
59
+
60
+ jQuery('.twoj-gallery-option-premium').click( function(event ){
61
+ event.preventDefault();
62
+ twoJgalleryDialogOptions.dialog("open");
63
+ });*/
64
+ });
65
+ })(jQuery);
{includes/extensions/debug → app/extensions/fields/asset/core/js}/index.html RENAMED
File without changes
app/extensions/fields/asset/fields/css/update.key.css ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div.robo-update-key-message{
2
+ margin-top: 9px;
3
+ white-space: normal;
4
+ }
5
+
6
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div.robo-update-key-message h6{
7
+ margin-top: 9px;
8
+ white-space: normal;
9
+ }
{includes/extensions/debug/js → app/extensions/fields/asset/fields/gallery}/index.html RENAMED
File without changes
app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+
12
+ */
13
+ !function(t,e){if(void 0!==wp.media.view.emWpGallery)return console.log("EM Gallery already defined"),!1;var i=wp.media.view.MediaFrame.Select,a=wp.media.controller.Library,r=wp.media.view.l10n;wp.media.view.emWpGallery=i.extend({initialize:function(){this.counts={audio:{count:wp.media.view.settings.attachmentCounts.audio,state:"playlist"},video:{count:wp.media.view.settings.attachmentCounts.video,state:"video-playlist"}},e.defaults(this.options,{multiple:!0,editing:!0,state:"insert",metadata:{}}),i.prototype.initialize.apply(this,arguments),this.createIframeStates()},createStates:function(){var t=this.options;this.states.add([new a({id:"insert",title:r.insertMediaTitle,priority:20,toolbar:"main-insert",filterable:"all",library:wp.media.query(t.library),multiple:!!t.multiple&&"reset",editable:!1}),new a({id:"gallery",title:r.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!0,library:wp.media.query(e.defaults({type:"image"},t.library))}),new wp.media.controller.EditImage({model:t.editImage}),new wp.media.controller.GalleryEdit({library:t.selection,editing:t.editing,menu:"gallery",multiple:!0,displaySettings:!1,displayUserSettings:!1}),new wp.media.controller.GalleryAdd({multiple:"add",editable:!0})])},bindHandlers:function(){var t;i.prototype.bindHandlers.apply(this,arguments),this.on("activate",this.activate,this),void 0!==e.find(this.counts,function(t){return 0===t.count})&&this.listenTo(wp.media.model.Attachments.all,"change:type",this.mediaTypeCounts),this.on("menu:create:gallery",this.createMenu,this),this.on("toolbar:create:main-insert",this.createToolbar,this),this.on("toolbar:create:gallery-add",this.createToolbar,this),this.on("toolbar:create:main-gallery",this.createToolbar,this),this.on("toolbar:create:main-embed",this.mainEmbedToolbar,this),t={menu:{default:"mainMenu",gallery:"galleryMenu"},content:{embed:"embedContent","edit-image":"editImageContent","edit-selection":"editSelectionContent"},toolbar:{"main-insert":"mainInsertToolbar","main-gallery":"mainGalleryToolbar","gallery-edit":"galleryEditToolbar","gallery-add":"galleryAddToolbar"}},e.each(t,function(t,i){e.each(t,function(t,e){this.on(i+":render:"+e,this[t],this)},this)},this)},activate:function(){e.each(this.counts,function(t){t.count<1&&this.menuItemVisibility(t.state,"hide")},this)},mediaTypeCounts:function(t,e){void 0!==this.counts[e]&&this.counts[e].count<1&&(this.counts[e].count++,this.menuItemVisibility(this.counts[e].state,"show"))},mainMenu:function(t){},menuItemVisibility:function(t,e){var i=this.menu.get();"hide"===e?i.hide(t):"show"===e&&i.show(t)},galleryMenu:function(t){var e=this.lastState(),i=e&&e.id,a=this;t.set({cancel:{text:r.cancelGalleryTitle,priority:20,click:function(){i?a.setState(i):a.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},embedContent:function(){var t=new wp.media.view.Embed({controller:this,model:this.state()}).render();this.content.set(t)},editSelectionContent:function(){var t,e=this.state(),i=e.get("selection");(t=new wp.media.view.AttachmentsBrowser({controller:this,collection:i,selection:i,model:e,sortable:!0,search:!1,date:!1,dragInfo:!0,AttachmentView:wp.media.view.Attachments.EditSelection}).render()).toolbar.set("backToLibrary",{text:r.returnToLibrary,priority:-100,click:function(){this.controller.content.mode("browse"),this.controller.modal.focusManager.focus()}}),this.content.set(t),this.trigger("edit:selection",this)},editImageContent:function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},selectionStatusToolbar:function(t){var e=this.state().get("editable");t.set("selection",new wp.media.view.Selection({controller:this,collection:this.state().get("selection"),priority:-40,editable:e&&function(){this.controller.content.mode("edit-selection")}}).render())},mainInsertToolbar:function(t){var e=this;this.selectionStatusToolbar(t),t.set("insert",{style:"primary",priority:80,text:r.insertIntoPost,requires:{selection:!0},click:function(){var t=e.state(),i=t.get("selection");e.close(),t.trigger("insert",i).reset()}})},mainGalleryToolbar:function(t){var e=this;this.selectionStatusToolbar(t),t.set("gallery",{style:"primary",text:r.createNewGallery,priority:60,requires:{selection:!0},click:function(){var t=e.state().get("selection"),i=e.state("gallery-edit"),a=t.where({type:"image"});i.set("library",new wp.media.model.Selection(a,{props:t.props.toJSON(),multiple:!0})),this.controller.setState("gallery-edit"),this.controller.modal.focusManager.focus()}})},galleryEditToolbar:function(){var t=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:t?r.updateGallery:r.insertGallery,priority:80,requires:{library:!0},click:function(){var t=this.controller,e=t.state();t.close(),e.trigger("update",e.get("library")),t.setState(t.options.state),t.reset()}}}}))},mainInsertToolbar:function(t){var e=this;this.selectionStatusToolbar(t),t.set("insert",{style:"primary",priority:80,text:r.insertIntoPost,requires:{selection:!0},click:function(){var t=e.state(),i=t.get("selection");e.close(),t.trigger("insert",i).reset()}})},galleryAddToolbar:function(t){this.selectionStatusToolbar(t),t.set("insert",{style:"primary",text:r.addToGallery,priority:80,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state("gallery-edit").get("library").add(e.get("selection").models),e.trigger("reset"),t.setState("gallery-edit"),this.controller.modal.focusManager.focus()}})}})}(jQuery,_);
{includes/frontend/extensions/core → app/extensions/fields/asset/fields/gallery/js}/index.html RENAMED
File without changes
app/extensions/fields/asset/fields/gallery/js/script.min.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Robo Gallery
3
+ * Version: 2.8.40 - 95887
4
+ * By Robosoft
5
+ *
6
+ * Contact: https://robosoft.co/robogallery/
7
+ * Created: 2015
8
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
9
+
10
+ */
11
+ !function(e){function t(e){var t=jQuery(r),a={action:"robo_gallery_get_images_from_ids",idstring:e};jQuery.post(ajaxurl,a,function(e){t.html(e);var a=t.find("img").length;a<=10?t.addClass("items10"):a<=20?t.addClass("items20"):a<=30?t.addClass("items30"):t.addClass("items50")})}var a,l,n,i,o="gallery-library",r=document.getElementById("robo_gallery_images_preview"),s=document.getElementsByClassName("roboGalleryFieldImagesButton");if(0!=s.length){s=s[0],n=document.getElementById(s.getAttribute("data-id")),t(l=n.value),i=""==l?[]:l.split(","),r.addEventListener("click",function(e){e.preventDefault(),e.target.matches("img")&&s.click()});var d=function(e){a?a.open():(i.length>0&&(o="gallery-edit"),(a=new wp.media.view.emWpGallery({multiple:!0,state:o,library:{order:"ASC",orderby:"title",type:"image",search:null,uploadedTo:null,multiple:!0}})).on("ready",function(){if(0!=i.length){var e=a.state().get("library");wp.media.query({post__in:i}).more().then();i.forEach(function(t){attachment=wp.media.attachment(t),void 0!=attachment.attributes&&(attachment.attributes.sizes={medium:{url:roboGalleryFieldGallery.iconUrl}}),attachment.fetch(),e.add(attachment?[attachment]:[])})}}),a.on("open",function(){0!=i.length&&"gallery-edit"!=o&&(a.setState("gallery-edit"),a.options.state="gallery-edit",o="gallery-edit")}),a.on("insert",function(){var e=a.state().get("selection");console.log(e)}),a.on("update",function(e){var o,r=a.state();if(o=e||r.get("selection")){var s=o.toJSON();if(0!=s.length){i=[];for(var d=0;d<s.length;d++)i.push(s[d].id);l=i.join(","),console.log("idsList",l),t(l),n.value=l,console.log("gallery array",i)}}else console.log("return selection")}),a.open())};s.addEventListener("click",d)}else console.log("button not found ")}(jQuery);
app/extensions/fields/asset/fields/gallery/style.css ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ #robo_gallery_field_images_ver2 .text-images{}
4
+
5
+ body.roboGalleryFields #wpcontent div.roboGalleryFields #robo_gallery_images_preview{}
6
+
7
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .margin0{
8
+ margin-bottom: 0;
9
+ }
10
+
11
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .padding0{
12
+ padding-bottom: 0;
13
+ }
14
+
15
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .strong{
16
+ font-weight: bold;
17
+ }
18
+
19
+
20
+ /* Images preview section */
21
+ #robo_gallery_images_preview img{
22
+ cursor: pointer;
23
+ padding: 0;
24
+ margin: 1px;
25
+ width: 40px;
26
+ }
27
+ /* left column */
28
+ #robo_gallery_images_preview.items10 img{ width: 100px;}
29
+ #robo_gallery_images_preview.items20 img{ width: 60px; }
30
+ #robo_gallery_images_preview.items30 img{ width: 50px; }
31
+ #robo_gallery_images_preview.items50 img{ width: 40px; }
32
+ /* right column */
33
+ #postbox-container-1 #robo_gallery_images_preview.items10 img{ width: 50px; }
34
+ #postbox-container-1 #robo_gallery_images_preview.items20 img{ width: 40px; }
35
+ #postbox-container-1 #robo_gallery_images_preview.items30 img{ width: 30px; }
36
+ #postbox-container-1 #robo_gallery_images_preview.items50 img{ width: 25px; }
37
+
38
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_line,
39
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_line_premium,
40
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_link,
41
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_type_link,
42
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_video_link,
43
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_effect,
44
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_tags,
45
+ table.compat-attachment-fields tr.compat-field-rsg_gallery_col{
46
+ display:block !important;
47
+ }
{includes/frontend/extensions → app/extensions/fields/asset/fields}/index.html RENAMED
File without changes
includes/frontend/extensions/loader/index.html → app/extensions/fields/asset/fields/youtube/script.js RENAMED
File without changes
app/extensions/fields/asset/fields/youtube/style.css ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .youtube-block-overlay{
2
+ position: absolute;width: 100%;
3
+ height: 100%;
4
+ top: 0;
5
+ left: 0;
6
+ background-color: rgb(255, 255, 255);
7
+ background-color: rgba(255, 255, 255, 0.91);
8
+ z-index: 1000;
9
+ text-align: center;
10
+ vertical-align: middle;
11
+ padding-top: 171px;
12
+ font-size: 28px;
13
+ }
14
+
15
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .youtube-block-overlay div{
16
+ background-color: white;
17
+ display: inline-block;
18
+ padding: 20px;
19
+ }
app/extensions/fields/asset/foundation/foundation.min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(t){"use strict";function e(t){if(void 0===Function.prototype.name){var e=/function\s([^(]{1,})\(/,i=e.exec(t.toString());return i&&i.length>1?i[1].trim():""}return void 0===t.prototype?t.constructor.name:t.prototype.constructor.name}function i(t){return/true/.test(t)?!0:/false/.test(t)?!1:isNaN(1*t)?t:parseFloat(t)}function n(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}var s="6.2.1",o={version:s,_plugins:{},_uuids:[],rtl:function(){return"rtl"===t("html").attr("dir")},plugin:function(t,i){var s=i||e(t),o=n(s);this._plugins[o]=this[s]=t},registerPlugin:function(t,i){var s=i?n(i):e(t.constructor).toLowerCase();t.uuid=this.GetYoDigits(6,s),t.$element.attr("data-"+s)||t.$element.attr("data-"+s,t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf."+s),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var i=n(e(t.$element.data("zfPlugin").constructor));this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-"+i).removeData("zfPlugin").trigger("destroyed.zf."+i);for(var s in t)t[s]=null},reInit:function(e){var i=e instanceof t;try{if(i)e.each(function(){t(this).data("zfPlugin")._init()});else{var s=typeof e,o=this,a={object:function(e){e.forEach(function(e){e=n(e),t("[data-"+e+"]").foundation("_init")})},string:function(){e=n(e),t("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(o._plugins))}};a[s](e)}}catch(r){console.error(r)}finally{return e}},GetYoDigits:function(t,e){return t=t||6,Math.round(Math.pow(36,t+1)-Math.random()*Math.pow(36,t)).toString(36).slice(1)+(e?"-"+e:"")},reflow:function(e,n){"undefined"==typeof n?n=Object.keys(this._plugins):"string"==typeof n&&(n=[n]);var s=this;t.each(n,function(n,o){var a=s._plugins[o],r=t(e).find("[data-"+o+"]").addBack("[data-"+o+"]");r.each(function(){var e=t(this),n={};if(e.data("zfPlugin"))return void console.warn("Tried to initialize "+o+" on an element that already has a Foundation plugin.");if(e.attr("data-options")){e.attr("data-options").split(";").forEach(function(t,e){var s=t.split(":").map(function(t){return t.trim()});s[0]&&(n[s[0]]=i(s[1]))})}try{e.data("zfPlugin",new a(t(this),n))}catch(s){console.error(s)}finally{return}})})},getFnName:e,transitionend:function(t){var e,i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},n=document.createElement("div");for(var s in i)"undefined"!=typeof n.style[s]&&(e=i[s]);return e?e:(e=setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}};o.util={throttle:function(t,e){var i=null;return function(){var n=this,s=arguments;null===i&&(i=setTimeout(function(){t.apply(n,s),i=null},e))}}};var a=function(i){var n=typeof i,s=t("meta.foundation-mq"),a=t(".no-js");if(s.length||t('<meta class="foundation-mq">').appendTo(document.head),a.length&&a.removeClass("no-js"),"undefined"===n)o.MediaQuery._init(),o.reflow(this);else{if("string"!==n)throw new TypeError("We're sorry, "+n+" is not a valid parameter. You must use a string representing the method you wish to invoke.");var r=Array.prototype.slice.call(arguments,1),l=this.data("zfPlugin");if(void 0===l||void 0===l[i])throw new ReferenceError("We're sorry, '"+i+"' is not an available method for "+(l?e(l):"this element")+".");1===this.length?l[i].apply(l,r):this.each(function(e,n){l[i].apply(t(n).data("zfPlugin"),r)})}return this};window.Foundation=o,t.fn.foundation=a,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var t=["webkit","moz"],e=0;e<t.length&&!window.requestAnimationFrame;++e){var i=t[e];window.requestAnimationFrame=window[i+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(t){var e=Date.now(),i=Math.max(n+16,e);return setTimeout(function(){t(n=i)},i-e)},window.cancelAnimationFrame=clearTimeout}window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),i=this,n=function(){},s=function(){return i.apply(this instanceof n?this:t,e.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(n.prototype=this.prototype),s.prototype=new n,s})}(jQuery),!function(t){function e(t,e,n,s){var o,a,r,l,u=i(t);if(e){var d=i(e);a=u.offset.top+u.height<=d.height+d.offset.top,o=u.offset.top>=d.offset.top,r=u.offset.left>=d.offset.left,l=u.offset.left+u.width<=d.width}else a=u.offset.top+u.height<=u.windowDims.height+u.windowDims.offset.top,o=u.offset.top>=u.windowDims.offset.top,r=u.offset.left>=u.windowDims.offset.left,l=u.offset.left+u.width<=u.windowDims.width;var h=[a,o,r,l];return n?r===l==!0:s?o===a==!0:-1===h.indexOf(!1)}function i(t,e){if(t=t.length?t[0]:t,t===window||t===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var i=t.getBoundingClientRect(),n=t.parentNode.getBoundingClientRect(),s=document.body.getBoundingClientRect(),o=window.pageYOffset,a=window.pageXOffset;return{width:i.width,height:i.height,offset:{top:i.top+o,left:i.left+a},parentDims:{width:n.width,height:n.height,offset:{top:n.top+o,left:n.left+a}},windowDims:{width:s.width,height:s.height,offset:{top:o,left:a}}}}function n(t,e,n,s,o,a){var r=i(t),l=e?i(e):null;switch(n){case"top":return{left:Foundation.rtl()?l.offset.left-r.width+l.width:l.offset.left,top:l.offset.top-(r.height+s)};case"left":return{left:l.offset.left-(r.width+o),top:l.offset.top};case"right":return{left:l.offset.left+l.width+o,top:l.offset.top};case"center top":return{left:l.offset.left+l.width/2-r.width/2,top:l.offset.top-(r.height+s)};case"center bottom":return{left:a?o:l.offset.left+l.width/2-r.width/2,top:l.offset.top+l.height+s};case"center left":return{left:l.offset.left-(r.width+o),top:l.offset.top+l.height/2-r.height/2};case"center right":return{left:l.offset.left+l.width+o+1,top:l.offset.top+l.height/2-r.height/2};case"center":return{left:r.windowDims.offset.left+r.windowDims.width/2-r.width/2,top:r.windowDims.offset.top+r.windowDims.height/2-r.height/2};case"reveal":return{left:(r.windowDims.width-r.width)/2,top:r.windowDims.offset.top+s};case"reveal full":return{left:r.windowDims.offset.left,top:r.windowDims.offset.top};case"left bottom":return{left:l.offset.left-(r.width+o),top:l.offset.top+l.height};case"right bottom":return{left:l.offset.left+l.width+o-r.width,top:l.offset.top+l.height};default:return{left:Foundation.rtl()?l.offset.left-r.width+l.width:l.offset.left,top:l.offset.top+l.height+s}}}Foundation.Box={ImNotTouchingYou:e,GetDimensions:i,GetOffsets:n}}(jQuery),!function(t){function e(t){var e={};for(var i in t)e[t[i]]=t[i];return e}var i={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},n={},s={keys:e(i),parseKey:function(t){var e=i[t.which||t.keyCode]||String.fromCharCode(t.which).toUpperCase();return t.shiftKey&&(e="SHIFT_"+e),t.ctrlKey&&(e="CTRL_"+e),t.altKey&&(e="ALT_"+e),e},handleKey:function(e,i,s){var o,a,r,l=n[i],u=this.parseKey(e);return l?(o="undefined"==typeof l.ltr?l:Foundation.rtl()?t.extend({},l.ltr,l.rtl):t.extend({},l.rtl,l.ltr),a=o[u],r=s[a],void(r&&"function"==typeof r?(r.apply(),(s.handled||"function"==typeof s.handled)&&s.handled.apply()):(s.unhandled||"function"==typeof s.unhandled)&&s.unhandled.apply())):console.warn("Component not defined!")},findFocusable:function(e){return e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return t(this).is(":visible")&&!(t(this).attr("tabindex")<0)})},register:function(t,e){n[t]=e}};Foundation.Keyboard=s}(jQuery),!function(t){function e(t){var e={};return"string"!=typeof t?e:(t=t.trim().slice(1,-1))?e=t.split("&").reduce(function(t,e){var i=e.replace(/\+/g," ").split("="),n=i[0],s=i[1];return n=decodeURIComponent(n),s=void 0===s?null:decodeURIComponent(s),t.hasOwnProperty(n)?Array.isArray(t[n])?t[n].push(s):t[n]=[t[n],s]:t[n]=s,t},{}):e}var i={queries:[],current:"",_init:function(){var i,n=this,s=t(".foundation-mq").css("font-family");i=e(s);for(var o in i)n.queries.push({name:o,value:"only screen and (min-width: "+i[o]+")"});this.current=this._getCurrentSize(),this._watcher()},atLeast:function(t){var e=this.get(t);return e?window.matchMedia(e).matches:!1},get:function(t){for(var e in this.queries){var i=this.queries[e];if(t===i.name)return i.value}return null},_getCurrentSize:function(){for(var t,e=0;e<this.queries.length;e++){var i=this.queries[e];window.matchMedia(i.value).matches&&(t=i)}return"object"==typeof t?t.name:t},_watcher:function(){var e=this;t(window).on("resize.zf.mediaquery",function(){var i=e._getCurrentSize();i!==e.current&&(t(window).trigger("changed.zf.mediaquery",[i,e.current]),e.current=i)})}};Foundation.MediaQuery=i,window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var e=document.createElement("style"),i=document.getElementsByTagName("script")[0],n=null;e.type="text/css",e.id="matchmediajs-test",i.parentNode.insertBefore(e,i),n="getComputedStyle"in window&&window.getComputedStyle(e,null)||e.currentStyle,t={matchMedium:function(t){var i="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return e.styleSheet?e.styleSheet.cssText=i:e.textContent=i,"1px"===n.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}()),Foundation.MediaQuery=i}(jQuery),!function(t){function e(t,e,i){function n(r){a||(a=window.performance.now()),o=r-a,i.apply(e),t>o?s=window.requestAnimationFrame(n,e):(window.cancelAnimationFrame(s),e.trigger("finished.zf.animate",[e]).triggerHandler("finished.zf.animate",[e]))}var s,o,a=null;s=window.requestAnimationFrame(n)}function i(e,i,o,a){function r(){e||i.hide(),l(),a&&a.apply(i)}function l(){i[0].style.transitionDuration=0,i.removeClass(u+" "+d+" "+o)}if(i=t(i).eq(0),i.length){var u=e?n[0]:n[1],d=e?s[0]:s[1];l(),i.addClass(o).css("transition","none"),requestAnimationFrame(function(){i.addClass(u),e&&i.show()}),requestAnimationFrame(function(){i[0].offsetWidth,i.css("transition","").addClass(d)}),i.one(Foundation.transitionend(i),r)}}var n=["mui-enter","mui-leave"],s=["mui-enter-active","mui-leave-active"],o={animateIn:function(t,e,n){i(!0,t,e,n)},animateOut:function(t,e,n){i(!1,t,e,n)}};Foundation.Move=e,Foundation.Motion=o}(jQuery),!function(t){var e={Feather:function(e){var i=arguments.length<=1||void 0===arguments[1]?"zf":arguments[1];e.attr("role","menubar");var n=e.find("li").attr({role:"menuitem"}),s="is-"+i+"-submenu",o=s+"-item",a="is-"+i+"-submenu-parent";e.find("a:first").attr("tabindex",0),n.each(function(){var e=t(this),i=e.children("ul");i.length&&(e.addClass(a).attr({"aria-haspopup":!0,"aria-expanded":!1,"aria-label":e.children("a:first").text()}),i.addClass("submenu "+s).attr({"data-submenu":"","aria-hidden":!0,role:"menu"})),e.parent("[data-submenu]").length&&e.addClass("is-submenu-item "+o)})},Burn:function(t,e){var i=(t.find("li").removeAttr("tabindex"),"is-"+e+"-submenu"),n=i+"-item",s="is-"+e+"-submenu-parent";t.find("*").removeClass(i+" "+n+" "+s+" is-submenu-item submenu is-active").removeAttr("data-submenu").css("display","")}};Foundation.Nest=e}(jQuery),!function(t){function e(t,e,i){var n,s,o=this,a=e.duration,r=Object.keys(t.data())[0]||"timer",l=-1;this.isPaused=!1,this.restart=function(){l=-1,clearTimeout(s),this.start()},this.start=function(){this.isPaused=!1,clearTimeout(s),l=0>=l?a:l,t.data("paused",!1),n=Date.now(),s=setTimeout(function(){e.infinite&&o.restart(),i()},l),t.trigger("timerstart.zf."+r)},this.pause=function(){this.isPaused=!0,clearTimeout(s),t.data("paused",!0);var e=Date.now();l-=e-n,t.trigger("timerpaused.zf."+r)}}function i(e,i){function n(){s--,0===s&&i()}var s=e.length;0===s&&i(),e.each(function(){this.complete?n():"undefined"!=typeof this.naturalWidth&&this.naturalWidth>0?n():t(this).one("load",function(){n()})})}Foundation.Timer=e,Foundation.onImagesLoaded=i}(jQuery),function(t){function e(){this.removeEventListener("touchmove",i),this.removeEventListener("touchend",e),u=!1}function i(i){if(t.spotSwipe.preventDefault&&i.preventDefault(),u){var n,s=i.touches[0].pageX,a=(i.touches[0].pageY,o-s);l=(new Date).getTime()-r,Math.abs(a)>=t.spotSwipe.moveThreshold&&l<=t.spotSwipe.timeThreshold&&(n=a>0?"left":"right"),n&&(i.preventDefault(),e.call(this),t(this).trigger("swipe",n).trigger("swipe"+n))}}function n(t){1==t.touches.length&&(o=t.touches[0].pageX,a=t.touches[0].pageY,u=!0,r=(new Date).getTime(),this.addEventListener("touchmove",i,!1),this.addEventListener("touchend",e,!1))}function s(){this.addEventListener&&this.addEventListener("touchstart",n,!1)}t.spotSwipe={version:"1.0.0",enabled:"ontouchstart"in document.documentElement,preventDefault:!1,moveThreshold:75,timeThreshold:200};var o,a,r,l,u=!1;t.event.special.swipe={setup:s},t.each(["left","up","down","right"],function(){t.event.special["swipe"+this]={setup:function(){t(this).on("swipe",t.noop)}}})}(jQuery),!function(t){t.fn.addTouch=function(){this.each(function(i,n){t(n).bind("touchstart touchmove touchend touchcancel",function(){e(event)})});var e=function(t){var e,i=t.changedTouches,n=i[0],s={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"},o=s[t.type];"MouseEvent"in window&&"function"==typeof window.MouseEvent?e=window.MouseEvent(o,{bubbles:!0,cancelable:!0,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY}):(e=document.createEvent("MouseEvent"),e.initMouseEvent(o,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null)),n.target.dispatchEvent(e)}}}(jQuery),!function(t){function e(){o(),n(),s(),i()}function i(e){var i=t("[data-yeti-box]"),n=["dropdown","tooltip","reveal"];if(e&&("string"==typeof e?n.push(e):"object"==typeof e&&"string"==typeof e[0]?n.concat(e):console.error("Plugin names must be strings")),i.length){var s=n.map(function(t){return"closeme.zf."+t}).join(" ");t(window).off(s).on(s,function(e,i){var n=e.namespace.split(".")[0],s=t("[data-"+n+"]").not('[data-yeti-box="'+i+'"]');s.each(function(){var e=t(this);e.triggerHandler("close.zf.trigger",[e])})})}}function n(e){var i=void 0,n=t("[data-resize]");n.length&&t(window).off("resize.zf.trigger").on("resize.zf.trigger",function(s){i&&clearTimeout(i),i=setTimeout(function(){a||n.each(function(){t(this).triggerHandler("resizeme.zf.trigger")}),n.attr("data-events","resize")},e||10)})}function s(e){var i=void 0,n=t("[data-scroll]");n.length&&t(window).off("scroll.zf.trigger").on("scroll.zf.trigger",function(s){i&&clearTimeout(i),i=setTimeout(function(){a||n.each(function(){t(this).triggerHandler("scrollme.zf.trigger")}),n.attr("data-events","scroll")},e||10)})}function o(){if(!a)return!1;var e=document.querySelectorAll("[data-resize], [data-scroll], [data-mutate]"),i=function(e){var i=t(e[0].target);switch(i.attr("data-events")){case"resize":i.triggerHandler("resizeme.zf.trigger",[i]);break;case"scroll":i.triggerHandler("scrollme.zf.trigger",[i,window.pageYOffset]);break;default:return!1}};if(e.length)for(var n=0;n<=e.length-1;n++){var s=new a(i);s.observe(e[n],{attributes:!0,childList:!1,characterData:!1,subtree:!1,attributeFilter:["data-events"]})}}var a=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if(t[e]+"MutationObserver"in window)return window[t[e]+"MutationObserver"];return!1}(),r=function(e,i){e.data(i).split(" ").forEach(function(n){t("#"+n)["close"===i?"trigger":"triggerHandler"](i+".zf.trigger",[e])})};t(document).on("click.zf.trigger","[data-open]",function(){r(t(this),"open")}),t(document).on("click.zf.trigger","[data-close]",function(){var e=t(this).data("close");e?r(t(this),"close"):t(this).trigger("close.zf.trigger")}),t(document).on("click.zf.trigger","[data-toggle]",function(){r(t(this),"toggle")}),t(document).on("close.zf.trigger","[data-closable]",function(e){e.stopPropagation();var i=t(this).data("closable");""!==i?Foundation.Motion.animateOut(t(this),i,function(){t(this).trigger("closed.zf")}):t(this).fadeOut().trigger("closed.zf")}),t(document).on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",function(){var e=t(this).data("toggle-focus");t("#"+e).triggerHandler("toggle.zf.trigger",[t(this)])}),t(window).load(function(){e()}),Foundation.IHearYou=e}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Abide")}return _createClass(e,[{key:"_init",value:function(){this.$inputs=this.$element.find("input, textarea, select").not("[data-abide-ignore]"),this._events()}},{key:"_events",value:function(){var e=this;this.$element.off(".abide").on("reset.zf.abide",function(){e.resetForm()}).on("submit.zf.abide",function(){return e.validateForm()}),"fieldChange"===this.options.validateOn&&this.$inputs.off("change.zf.abide").on("change.zf.abide",function(i){e.validateInput(t(i.target))}),this.options.liveValidate&&this.$inputs.off("input.zf.abide").on("input.zf.abide",function(i){e.validateInput(t(i.target))})}},{key:"_reflow",value:function(){this._init()}},{key:"requiredCheck",value:function(t){if(!t.attr("required"))return!0;var e=!0;switch(t[0].type){case"select":case"select-one":case"select-multiple":var i=t.find("option:selected");i.length&&i.val()||(e=!1);break;default:t.val()&&t.val().length||(e=!1)}return e}},{key:"findFormError",value:function(t){var e=t.siblings(this.options.formErrorSelector);return e.length||(e=t.parent().find(this.options.formErrorSelector)),e}},{key:"findLabel",value:function(t){var e=t[0].id,i=this.$element.find('label[for="'+e+'"]');return i.length?i:t.closest("label")}},{key:"findRadioLabels",value:function(e){var i=this,n=e.map(function(e,n){var s=n.id,o=i.$element.find('label[for="'+s+'"]');return o.length||(o=t(n).closest("label")),o[0]});return t(n)}},{key:"addErrorClasses",value:function(t){var e=this.findLabel(t),i=this.findFormError(t);e.length&&e.addClass(this.options.labelErrorClass),i.length&&i.addClass(this.options.formErrorClass),t.addClass(this.options.inputErrorClass).attr("data-invalid","")}},{key:"removeRadioErrorClasses",value:function(t){var e=this.$element.find(':radio[name="'+t+'"]'),i=this.findRadioLabels(e),n=this.findFormError(e);i.length&&i.removeClass(this.options.labelErrorClass),n.length&&n.removeClass(this.options.formErrorClass),e.removeClass(this.options.inputErrorClass).removeAttr("data-invalid")}},{key:"removeErrorClasses",value:function(t){if("radio"==t[0].type)return this.removeRadioErrorClasses(t.attr("name"));var e=this.findLabel(t),i=this.findFormError(t);e.length&&e.removeClass(this.options.labelErrorClass),i.length&&i.removeClass(this.options.formErrorClass),t.removeClass(this.options.inputErrorClass).removeAttr("data-invalid")}},{key:"validateInput",value:function(t){var e=this.requiredCheck(t),i=!1,n=!0,s=t.attr("data-validator"),o=!0;switch(t[0].type){case"radio":i=this.validateRadio(t.attr("name"));break;case"checkbox":i=e;break;case"select":case"select-one":case"select-multiple":i=e;break;default:i=this.validateText(t)}s&&(n=this.matchValidation(t,s,t.attr("required"))),t.attr("data-equalto")&&(o=this.options.validators.equalTo(t));var a=-1===[e,i,n,o].indexOf(!1),r=(a?"valid":"invalid")+".zf.abide";return this[a?"removeErrorClasses":"addErrorClasses"](t),t.trigger(r,[t]),a}},{key:"validateForm",value:function(){var e=[],i=this;this.$inputs.each(function(){e.push(i.validateInput(t(this)))});var n=-1===e.indexOf(!1);return this.$element.find("[data-abide-error]").css("display",n?"none":"block"),this.$element.trigger((n?"formvalid":"forminvalid")+".zf.abide",[this.$element]),n}},{key:"validateText",value:function(t,e){e=e||t.attr("pattern")||t.attr("type");var i=t.val(),n=!1;return i.length?n=this.options.patterns.hasOwnProperty(e)?this.options.patterns[e].test(i):e!==t.attr("type")?new RegExp(e).test(i):!0:t.prop("required")||(n=!0),n}},{key:"validateRadio",value:function(e){var i=this.$element.find(':radio[name="'+e+'"]'),n=!1;return void 0===i.attr("required")&&(n=!0),i.each(function(e,i){t(i).prop("checked")&&(n=!0)}),n}},{key:"matchValidation",value:function(t,e,i){var n=this;i=!!i;var s=e.split(" ").map(function(e){return n.options.validators[e](t,i,t.parent())});return-1===s.indexOf(!1)}},{key:"resetForm",value:function(){var e=this.$element,i=this.options;t("."+i.labelErrorClass,e).not("small").removeClass(i.labelErrorClass),t("."+i.inputErrorClass,e).not("small").removeClass(i.inputErrorClass),t(i.formErrorSelector+"."+i.formErrorClass).removeClass(i.formErrorClass),e.find("[data-abide-error]").css("display","none"),t(":input",e).not(":button, :submit, :reset, :hidden, [data-abide-ignore]").val("").removeAttr("data-invalid"),e.trigger("formreset.zf.abide",[e])}},{key:"destroy",value:function(){var e=this;this.$element.off(".abide").find("[data-abide-error]").css("display","none"),this.$inputs.off(".abide").each(function(){e.removeErrorClasses(t(this))}),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={validateOn:"fieldChange",labelErrorClass:"is-invalid-label",inputErrorClass:"is-invalid-input",formErrorSelector:".form-error",formErrorClass:"is-visible",liveValidate:!1,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(e,i,n){return t("#"+e.attr("data-equalto")).val()===e.val()}}},Foundation.plugin(e,"Abide")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Accordion"),Foundation.Keyboard.register("Accordion",{ENTER:"toggle",SPACE:"toggle",ARROW_DOWN:"next",ARROW_UP:"previous"})}return _createClass(e,[{key:"_init",value:function(){this.$element.attr("role","tablist"),this.$tabs=this.$element.children("li, [data-accordion-item]"),this.$tabs.each(function(e,i){var n=t(i),s=n.children("[data-tab-content]"),o=s[0].id||Foundation.GetYoDigits(6,"accordion"),a=i.id||o+"-label";n.find("a:first").attr({"aria-controls":o,role:"tab",id:a,"aria-expanded":!1,"aria-selected":!1}),s.attr({role:"tabpanel","aria-labelledby":a,"aria-hidden":!0,id:o})});var e=this.$element.find(".is-active").children("[data-tab-content]");e.length&&this.down(e,!0),this._events()}},{key:"_events",value:function(){var e=this;this.$tabs.each(function(){var i=t(this),n=i.children("[data-tab-content]");n.length&&i.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion",function(t){t.preventDefault(),i.hasClass("is-active")?(e.options.allowAllClosed||i.siblings().hasClass("is-active"))&&e.up(n):e.down(n)}).on("keydown.zf.accordion",function(t){Foundation.Keyboard.handleKey(t,"Accordion",{toggle:function(){e.toggle(n)},next:function(){var t=i.next().find("a").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},previous:function(){var t=i.prev().find("a").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},handled:function(){t.preventDefault(),t.stopPropagation()}})})})}},{key:"toggle",value:function(t){if(t.parent().hasClass("is-active")){if(!this.options.allowAllClosed&&!t.parent().siblings().hasClass("is-active"))return;this.up(t)}else this.down(t)}},{key:"down",value:function(e,i){var n=this;if(!this.options.multiExpand&&!i){var s=this.$element.children(".is-active").children("[data-tab-content]");s.length&&this.up(s)}e.attr("aria-hidden",!1).parent("[data-tab-content]").addBack().parent().addClass("is-active"),e.slideDown(this.options.slideSpeed,function(){n.$element.trigger("down.zf.accordion",[e])}),t("#"+e.attr("aria-labelledby")).attr({"aria-expanded":!0,"aria-selected":!0})}},{key:"up",value:function(e){var i=e.parent().siblings(),n=this,s=this.options.multiExpand?i.hasClass("is-active"):e.parent().hasClass("is-active");(this.options.allowAllClosed||s)&&(e.slideUp(n.options.slideSpeed,function(){n.$element.trigger("up.zf.accordion",[e])}),e.attr("aria-hidden",!0).parent().removeClass("is-active"),t("#"+e.attr("aria-labelledby")).attr({"aria-expanded":!1,"aria-selected":!1}))}},{key:"destroy",value:function(){this.$element.find("[data-tab-content]").slideUp(0).css("display",""),this.$element.find("a").off(".zf.accordion"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={slideSpeed:250,multiExpand:!1,allowAllClosed:!1},Foundation.plugin(e,"Accordion")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),Foundation.Nest.Feather(this.$element,"accordion"),this._init(),Foundation.registerPlugin(this,"AccordionMenu"),Foundation.Keyboard.register("AccordionMenu",{ENTER:"toggle",SPACE:"toggle",ARROW_RIGHT:"open",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"close",ESCAPE:"closeAll",TAB:"down",SHIFT_TAB:"up"})}return _createClass(e,[{key:"_init",value:function(){this.$element.find("[data-submenu]").not(".is-active").slideUp(0),this.$element.attr({role:"tablist","aria-multiselectable":this.options.multiOpen}),this.$menuLinks=this.$element.find(".is-accordion-submenu-parent"),this.$menuLinks.each(function(){var e=this.id||Foundation.GetYoDigits(6,"acc-menu-link"),i=t(this),n=i.children("[data-submenu]"),s=n[0].id||Foundation.GetYoDigits(6,"acc-menu"),o=n.hasClass("is-active");i.attr({"aria-controls":s,"aria-expanded":o,role:"tab",id:e}),n.attr({"aria-labelledby":e,"aria-hidden":!o,role:"tabpanel",id:s})});var e=this.$element.find(".is-active");if(e.length){var i=this;e.each(function(){i.down(t(this))})}this._events()}},{key:"_events",value:function(){var e=this;this.$element.find("li").each(function(){var i=t(this).children("[data-submenu]");i.length&&t(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(t){t.preventDefault(),e.toggle(i)})}).on("keydown.zf.accordionmenu",function(i){var n,s,o=t(this),a=o.parent("ul").children("li"),r=o.children("[data-submenu]");a.each(function(e){return t(this).is(o)?(n=a.eq(Math.max(0,e-1)).find("a").first(),s=a.eq(Math.min(e+1,a.length-1)).find("a").first(),t(this).children("[data-submenu]:visible").length&&(s=o.find("li:first-child").find("a").first()),t(this).is(":first-child")?n=o.parents("li").first().find("a").first():n.children("[data-submenu]:visible").length&&(n=n.find("li:last-child").find("a").first()),void(t(this).is(":last-child")&&(s=o.parents("li").first().next("li").find("a").first()))):void 0;
2
+ }),Foundation.Keyboard.handleKey(i,"AccordionMenu",{open:function(){r.is(":hidden")&&(e.down(r),r.find("li").first().find("a").first().focus())},close:function(){r.length&&!r.is(":hidden")?e.up(r):o.parent("[data-submenu]").length&&(e.up(o.parent("[data-submenu]")),o.parents("li").first().find("a").first().focus())},up:function(){n.attr("tabindex",-1).focus(),i.preventDefault()},down:function(){s.attr("tabindex",-1).focus(),i.preventDefault()},toggle:function(){o.children("[data-submenu]").length&&e.toggle(o.children("[data-submenu]"))},closeAll:function(){e.hideAll()},handled:function(){i.stopImmediatePropagation()}})})}},{key:"hideAll",value:function(){this.$element.find("[data-submenu]").slideUp(this.options.slideSpeed)}},{key:"toggle",value:function(t){t.is(":animated")||(t.is(":hidden")?this.down(t):this.up(t))}},{key:"down",value:function(t){var e=this;this.options.multiOpen||this.up(this.$element.find(".is-active").not(t.parentsUntil(this.$element).add(t))),t.addClass("is-active").attr({"aria-hidden":!1}).parent(".is-accordion-submenu-parent").attr({"aria-expanded":!0}),Foundation.Move(this.options.slideSpeed,t,function(){t.slideDown(e.options.slideSpeed,function(){e.$element.trigger("down.zf.accordionMenu",[t])})})}},{key:"up",value:function(t){var e=this;Foundation.Move(this.options.slideSpeed,t,function(){t.slideUp(e.options.slideSpeed,function(){e.$element.trigger("up.zf.accordionMenu",[t])})});var i=t.find("[data-submenu]").slideUp(0).addBack().attr("aria-hidden",!0);i.parent(".is-accordion-submenu-parent").attr("aria-expanded",!1)}},{key:"destroy",value:function(){this.$element.find("[data-submenu]").slideDown(0).css("display",""),this.$element.find("a").off("click.zf.accordionMenu"),Foundation.Nest.Burn(this.$element,"accordion"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={slideSpeed:250,multiOpen:!0},Foundation.plugin(e,"AccordionMenu")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),Foundation.Nest.Feather(this.$element,"drilldown"),this._init(),Foundation.registerPlugin(this,"Drilldown"),Foundation.Keyboard.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close",TAB:"down",SHIFT_TAB:"up"})}return _createClass(e,[{key:"_init",value:function(){this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").attr("role","menuitem").find("a"),this._prepareMenu(),this._keyboardEvents()}},{key:"_prepareMenu",value:function(){var e=this;this.$submenuAnchors.each(function(){var i=t(this),n=i.find("a:first");e.options.parentLink&&n.clone().prependTo(i.children("[data-submenu]")).wrap('<li class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="menu-item"></li>'),n.data("savedHref",n.attr("href")).removeAttr("href"),i.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"menu"}),e._events(i)}),this.$submenus.each(function(){var i=t(this),n=i.find(".js-drilldown-back");n.length||i.prepend(e.options.backButton),e._back(i)}),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=t(this.options.wrapper).addClass("is-drilldown").css(this._getMaxDims()),this.$element.wrap(this.$wrapper))}},{key:"_events",value:function(e){var i=this;e.off("click.zf.drilldown").on("click.zf.drilldown",function(n){if(t(n.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&(n.stopImmediatePropagation(),n.preventDefault()),i._show(e.parent("li")),i.options.closeOnClick){var s=t("body").not(i.$wrapper);s.off(".zf.drilldown").on("click.zf.drilldown",function(t){t.preventDefault(),i._hideAll(),s.off(".zf.drilldown")})}})}},{key:"_keyboardEvents",value:function(){var e=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a")).on("keydown.zf.drilldown",function(i){var n,s,o=t(this),a=o.parent("li").parent("ul").children("li").children("a");a.each(function(e){return t(this).is(o)?(n=a.eq(Math.max(0,e-1)),void(s=a.eq(Math.min(e+1,a.length-1)))):void 0}),Foundation.Keyboard.handleKey(i,"Drilldown",{next:function(){o.is(e.$submenuAnchors)&&(e._show(o.parent("li")),o.parent("li").one(Foundation.transitionend(o),function(){o.parent("li").find("ul li a").filter(e.$menuItems).first().focus()}),i.preventDefault())},previous:function(){e._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Foundation.transitionend(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),i.preventDefault()},up:function(){n.focus(),i.preventDefault()},down:function(){s.focus(),i.preventDefault()},close:function(){e._back()},open:function(){o.is(e.$menuItems)?o.is(e.$submenuAnchors)&&(e._show(o.parent("li")),o.parent("li").one(Foundation.transitionend(o),function(){o.parent("li").find("ul li a").filter(e.$menuItems).first().focus()}),i.preventDefault()):(e._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Foundation.transitionend(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),i.preventDefault())},handled:function(){i.stopImmediatePropagation()}})})}},{key:"_hideAll",value:function(){var t=this.$element.find(".is-drilldown-submenu.is-active").addClass("is-closing");t.one(Foundation.transitionend(t),function(e){t.removeClass("is-active is-closing")}),this.$element.trigger("closed.zf.drilldown")}},{key:"_back",value:function(t){var e=this;t.off("click.zf.drilldown"),t.children(".js-drilldown-back").on("click.zf.drilldown",function(i){i.stopImmediatePropagation(),e._hide(t)})}},{key:"_menuLinkEvents",value:function(){var t=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",function(e){setTimeout(function(){t._hideAll()},0)})}},{key:"_show",value:function(t){t.children("[data-submenu]").addClass("is-active"),this.$element.trigger("open.zf.drilldown",[t])}},{key:"_hide",value:function(t){t.addClass("is-closing").one(Foundation.transitionend(t),function(){t.removeClass("is-active is-closing"),t.blur()}),t.trigger("hide.zf.drilldown",[t])}},{key:"_getMaxDims",value:function(){var e=0,i={};return this.$submenus.add(this.$element).each(function(){var i=t(this).children("li").length;e=i>e?i:e}),i["min-height"]=e*this.$menuItems[0].getBoundingClientRect().height+"px",i["max-width"]=this.$element[0].getBoundingClientRect().width+"px",i}},{key:"destroy",value:function(){this._hideAll(),Foundation.Nest.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role").off(".zf.drilldown").end().off("zf.drilldown"),this.$element.find("a").each(function(){var e=t(this);e.data("savedHref")&&e.attr("href",e.data("savedHref")).removeData("savedHref")}),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',wrapper:"<div></div>",parentLink:!1,closeOnClick:!1},Foundation.plugin(e,"Drilldown")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Dropdown"),Foundation.Keyboard.register("Dropdown",{ENTER:"open",SPACE:"open",ESCAPE:"close",TAB:"tab_forward",SHIFT_TAB:"tab_backward"})}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.attr("id");this.$anchor=t('[data-toggle="'+e+'"]')||t('[data-open="'+e+'"]'),this.$anchor.attr({"aria-controls":e,"data-is-focus":!1,"data-yeti-box":e,"aria-haspopup":!0,"aria-expanded":!1}),this.options.positionClass=this.getPositionClass(),this.counter=4,this.usedPositions=[],this.$element.attr({"aria-hidden":"true","data-yeti-box":e,"data-resize":e,"aria-labelledby":this.$anchor[0].id||Foundation.GetYoDigits(6,"dd-anchor")}),this._events()}},{key:"getPositionClass",value:function(){var t=this.$element[0].className.match(/(top|left|right|bottom)/g);t=t?t[0]:"";var e=/float-(.+)\s/.exec(this.$anchor[0].className);e=e?e[1]:"";var i=e?e+" "+t:t;return i}},{key:"_reposition",value:function(t){this.usedPositions.push(t?t:"bottom"),!t&&this.usedPositions.indexOf("top")<0?this.$element.addClass("top"):"top"===t&&this.usedPositions.indexOf("bottom")<0?this.$element.removeClass(t):"left"===t&&this.usedPositions.indexOf("right")<0?this.$element.removeClass(t).addClass("right"):"right"===t&&this.usedPositions.indexOf("left")<0?this.$element.removeClass(t).addClass("left"):!t&&this.usedPositions.indexOf("top")>-1&&this.usedPositions.indexOf("left")<0?this.$element.addClass("left"):"top"===t&&this.usedPositions.indexOf("bottom")>-1&&this.usedPositions.indexOf("left")<0?this.$element.removeClass(t).addClass("left"):"left"===t&&this.usedPositions.indexOf("right")>-1&&this.usedPositions.indexOf("bottom")<0?this.$element.removeClass(t):"right"===t&&this.usedPositions.indexOf("left")>-1&&this.usedPositions.indexOf("bottom")<0?this.$element.removeClass(t):this.$element.removeClass(t),this.classChanged=!0,this.counter--}},{key:"_setPosition",value:function(){if("false"===this.$anchor.attr("aria-expanded"))return!1;var t=this.getPositionClass(),e=Foundation.Box.GetDimensions(this.$element),i=(Foundation.Box.GetDimensions(this.$anchor),"left"===t?"left":"right"===t?"left":"top"),n="top"===i?"height":"width";"height"===n?this.options.vOffset:this.options.hOffset;if(e.width>=e.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.$element))return this.$element.offset(Foundation.Box.GetOffsets(this.$element,this.$anchor,"center bottom",this.options.vOffset,this.options.hOffset,!0)).css({width:e.windowDims.width-2*this.options.hOffset,height:"auto"}),this.classChanged=!0,!1;for(this.$element.offset(Foundation.Box.GetOffsets(this.$element,this.$anchor,t,this.options.vOffset,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.$element,!1,!0)&&this.counter;)this._reposition(t),this._setPosition()}},{key:"_events",value:function(){var e=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":this._setPosition.bind(this)}),this.options.hover&&(this.$anchor.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.open(),e.$anchor.data("hover",!0)},e.options.hoverDelay)}).on("mouseleave.zf.dropdown",function(){clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.close(),e.$anchor.data("hover",!1)},e.options.hoverDelay)}),this.options.hoverPane&&this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){clearTimeout(e.timeout)}).on("mouseleave.zf.dropdown",function(){clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.close(),e.$anchor.data("hover",!1)},e.options.hoverDelay)})),this.$anchor.add(this.$element).on("keydown.zf.dropdown",function(i){var n=t(this),s=Foundation.Keyboard.findFocusable(e.$element);Foundation.Keyboard.handleKey(i,"Dropdown",{tab_forward:function(){e.$element.find(":focus").is(s.eq(-1))&&(e.options.trapFocus?(s.eq(0).focus(),i.preventDefault()):e.close())},tab_backward:function(){(e.$element.find(":focus").is(s.eq(0))||e.$element.is(":focus"))&&(e.options.trapFocus?(s.eq(-1).focus(),i.preventDefault()):e.close())},open:function(){n.is(e.$anchor)&&(e.open(),e.$element.attr("tabindex",-1).focus(),i.preventDefault())},close:function(){e.close(),e.$anchor.focus()}})})}},{key:"_addBodyHandler",value:function(){var e=t(document.body).not(this.$element),i=this;e.off("click.zf.dropdown").on("click.zf.dropdown",function(t){i.$anchor.is(t.target)||i.$anchor.find(t.target).length||i.$element.find(t.target).length||(i.close(),e.off("click.zf.dropdown"))})}},{key:"open",value:function(){if(this.$element.trigger("closeme.zf.dropdown",this.$element.attr("id")),this.$anchor.addClass("hover").attr({"aria-expanded":!0}),this._setPosition(),this.$element.addClass("is-open").attr({"aria-hidden":!1}),this.options.autoFocus){var t=Foundation.Keyboard.findFocusable(this.$element);t.length&&t.eq(0).focus()}this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdown",[this.$element])}},{key:"close",value:function(){if(!this.$element.hasClass("is-open"))return!1;if(this.$element.removeClass("is-open").attr({"aria-hidden":!0}),this.$anchor.removeClass("hover").attr("aria-expanded",!1),this.classChanged){var t=this.getPositionClass();t&&this.$element.removeClass(t),this.$element.addClass(this.options.positionClass).css({height:"",width:""}),this.classChanged=!1,this.counter=4,this.usedPositions.length=0}this.$element.trigger("hide.zf.dropdown",[this.$element])}},{key:"toggle",value:function(){if(this.$element.hasClass("is-open")){if(this.$anchor.data("hover"))return;this.close()}else this.open()}},{key:"destroy",value:function(){this.$element.off(".zf.trigger").hide(),this.$anchor.off(".zf.dropdown"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={hoverDelay:250,hover:!1,hoverPane:!1,vOffset:1,hOffset:1,positionClass:"",trapFocus:!1,autoFocus:!1,closeOnClick:!1},Foundation.plugin(e,"Dropdown")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),Foundation.Nest.Feather(this.$element,"dropdown"),this._init(),Foundation.registerPlugin(this,"DropdownMenu"),Foundation.Keyboard.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}return _createClass(e,[{key:"_init",value:function(){var t=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('[role="menuitem"]'),this.$tabs=this.$element.children('[role="menuitem"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),this.$element.hasClass(this.options.rightClass)||"right"===this.options.alignment||Foundation.rtl()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",t.addClass("opens-left")):t.addClass("opens-right"),this.changed=!1,this._events()}},{key:"_events",value:function(){var e=this,i="ontouchstart"in window||"undefined"!=typeof window.ontouchstart,n="is-dropdown-submenu-parent";(this.options.clickOpen||i)&&this.$menuItems.on("click.zf.dropdownmenu touchstart.zf.dropdownmenu",function(s){var o=t(s.target).parentsUntil("ul","."+n),a=o.hasClass(n),r="true"===o.attr("data-is-click");o.children(".is-dropdown-submenu");if(a)if(r){if(!e.options.closeOnClick||!e.options.clickOpen&&!i||e.options.forceFollow&&i)return;s.stopImmediatePropagation(),s.preventDefault(),e._hide(o)}else s.preventDefault(),s.stopImmediatePropagation(),e._show(o.children(".is-dropdown-submenu")),o.add(o.parentsUntil(e.$element,"."+n)).attr("data-is-click",!0)}),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownmenu",function(i){i.stopImmediatePropagation();var s=t(this),o=s.hasClass(n);o&&(clearTimeout(e.delay),e.delay=setTimeout(function(){e._show(s.children(".is-dropdown-submenu"))},e.options.hoverDelay))}).on("mouseleave.zf.dropdownmenu",function(i){var s=t(this),o=s.hasClass(n);if(o&&e.options.autoclose){if("true"===s.attr("data-is-click")&&e.options.clickOpen)return!1;clearTimeout(e.delay),e.delay=setTimeout(function(){e._hide(s)},e.options.closingTime)}}),this.$menuItems.on("keydown.zf.dropdownmenu",function(i){var n,s,o=t(i.target).parentsUntil("ul",'[role="menuitem"]'),a=e.$tabs.index(o)>-1,r=a?e.$tabs:o.siblings("li").add(o);r.each(function(e){return t(this).is(o)?(n=r.eq(e-1),void(s=r.eq(e+1))):void 0});var l=function(){o.is(":last-child")||s.children("a:first").focus()},u=function(){n.children("a:first").focus()},d=function(){var t=o.children("ul.is-dropdown-submenu");t.length&&(e._show(t),o.find("li > a:first").focus())},h=function(){var t=o.parent("ul").parent("li");t.children("a:first").focus(),e._hide(t)},c={open:d,close:function(){e._hide(e.$element),e.$menuItems.find("a:first").focus()},handled:function(){i.preventDefault(),i.stopImmediatePropagation()}};a?e.vertical?"left"===e.options.alignment?t.extend(c,{down:l,up:u,next:d,previous:h}):t.extend(c,{down:l,up:u,next:h,previous:d}):t.extend(c,{next:l,previous:u,down:d,up:h}):"left"===e.options.alignment?t.extend(c,{next:d,previous:h,down:l,up:u}):t.extend(c,{next:h,previous:d,down:l,up:u}),Foundation.Keyboard.handleKey(i,"DropdownMenu",c)})}},{key:"_addBodyHandler",value:function(){var e=t(document.body),i=this;e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu").on("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu",function(t){var n=i.$element.find(t.target);n.length||(i._hide(),e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu"))})}},{key:"_show",value:function(e){var i=this.$tabs.index(this.$tabs.filter(function(i,n){return t(n).find(e).length>0})),n=e.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(n,i),e.css("visibility","hidden").addClass("js-dropdown-active").attr({"aria-hidden":!1}).parent("li.is-dropdown-submenu-parent").addClass("is-active").attr({"aria-expanded":!0});var s=Foundation.Box.ImNotTouchingYou(e,null,!0);if(!s){var o="left"===this.options.alignment?"-right":"-left",a=e.parent(".is-dropdown-submenu-parent");a.removeClass("opens"+o).addClass("opens-"+this.options.alignment),s=Foundation.Box.ImNotTouchingYou(e,null,!0),s||a.removeClass("opens-"+this.options.alignment).addClass("opens-inner"),this.changed=!0}e.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownmenu",[e])}},{key:"_hide",value:function(t,e){var i;i=t&&t.length?t:void 0!==e?this.$tabs.not(function(t,i){return t===e}):this.$element;var n=i.hasClass("is-active")||i.find(".is-active").length>0;if(n){if(i.find("li.is-active").add(i).attr({"aria-expanded":!1,"data-is-click":!1}).removeClass("is-active"),i.find("ul.js-dropdown-active").attr({"aria-hidden":!0}).removeClass("js-dropdown-active"),this.changed||i.find("opens-inner").length){var s="left"===this.options.alignment?"right":"left";i.find("li.is-dropdown-submenu-parent").add(i).removeClass("opens-inner opens-"+this.options.alignment).addClass("opens-"+s),this.changed=!1}this.$element.trigger("hide.zf.dropdownmenu",[i])}}},{key:"destroy",value:function(){this.$menuItems.off(".zf.dropdownmenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),t(document.body).off(".zf.dropdownmenu"),Foundation.Nest.Burn(this.$element,"dropdown"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={disableHover:!1,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"left",closeOnClick:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0},Foundation.plugin(e,"DropdownMenu")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Equalizer")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.attr("data-equalizer")||"",i=this.$element.find('[data-equalizer-watch="'+e+'"]');this.$watched=i.length?i:this.$element.find("[data-equalizer-watch]"),this.$element.attr("data-resize",e||Foundation.GetYoDigits(6,"eq")),this.hasNested=this.$element.find("[data-equalizer]").length>0,this.isNested=this.$element.parentsUntil(document.body,"[data-equalizer]").length>0,this.isOn=!1;var n,s=this.$element.find("img");this.options.equalizeOn?(n=this._checkMQ(),t(window).on("changed.zf.mediaquery",this._checkMQ.bind(this))):this._events(),(void 0!==n&&n===!1||void 0===n)&&(s.length?Foundation.onImagesLoaded(s,this._reflow.bind(this)):this._reflow())}},{key:"_pauseEvents",value:function(){this.isOn=!1,this.$element.off(".zf.equalizer resizeme.zf.trigger")}},{key:"_events",value:function(){var t=this;this._pauseEvents(),this.hasNested?this.$element.on("postequalized.zf.equalizer",function(e){e.target!==t.$element[0]&&t._reflow()}):this.$element.on("resizeme.zf.trigger",this._reflow.bind(this)),this.isOn=!0}},{key:"_checkMQ",value:function(){var t=!Foundation.MediaQuery.atLeast(this.options.equalizeOn);return t?this.isOn&&(this._pauseEvents(),this.$watched.css("height","auto")):this.isOn||this._events(),t}},{key:"_killswitch",value:function(){}},{key:"_reflow",value:function(){return!this.options.equalizeOnStack&&this._isStacked()?(this.$watched.css("height","auto"),!1):void(this.options.equalizeByRow?this.getHeightsByRow(this.applyHeightByRow.bind(this)):this.getHeights(this.applyHeight.bind(this)))}},{key:"_isStacked",value:function(){return this.$watched[0].offsetTop!==this.$watched[1].offsetTop}},{key:"getHeights",value:function(t){for(var e=[],i=0,n=this.$watched.length;n>i;i++)this.$watched[i].style.height="auto",e.push(this.$watched[i].offsetHeight);t(e)}},{key:"getHeightsByRow",value:function(e){var i=this.$watched.length?this.$watched.first().offset().top:0,n=[],s=0;n[s]=[];for(var o=0,a=this.$watched.length;a>o;o++){this.$watched[o].style.height="auto";var r=t(this.$watched[o]).offset().top;r!=i&&(s++,n[s]=[],i=r),n[s].push([this.$watched[o],this.$watched[o].offsetHeight])}for(var l=0,u=n.length;u>l;l++){var d=t(n[l]).map(function(){return this[1]}).get(),h=Math.max.apply(null,d);n[l].push(h)}e(n)}},{key:"applyHeight",value:function(t){var e=Math.max.apply(null,t);this.$element.trigger("preequalized.zf.equalizer"),this.$watched.css("height",e),this.$element.trigger("postequalized.zf.equalizer")}},{key:"applyHeightByRow",value:function(e){this.$element.trigger("preequalized.zf.equalizer");for(var i=0,n=e.length;n>i;i++){var s=e[i].length,o=e[i][s-1];if(2>=s)t(e[i][0][0]).css({height:"auto"});else{this.$element.trigger("preequalizedrow.zf.equalizer");for(var a=0,r=s-1;r>a;a++)t(e[i][a][0]).css({height:o});this.$element.trigger("postequalizedrow.zf.equalizer")}}this.$element.trigger("postequalized.zf.equalizer")}},{key:"destroy",value:function(){this._pauseEvents(),this.$watched.css("height","auto"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={equalizeOnStack:!0,equalizeByRow:!1,equalizeOn:""},Foundation.plugin(e,"Equalizer")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,n),this.rules=[],this.currentPath="",this._init(),this._events(),Foundation.registerPlugin(this,"Interchange")}return _createClass(e,[{key:"_init",value:function(){this._addBreakpoints(),this._generateRules(),this._reflow()}},{key:"_events",value:function(){t(window).on("resize.zf.interchange",Foundation.util.throttle(this._reflow.bind(this),50))}},{key:"_reflow",value:function(){var t;for(var e in this.rules){var i=this.rules[e];window.matchMedia(i.query).matches&&(t=i)}t&&this.replace(t.path)}},{key:"_addBreakpoints",value:function(){for(var t in Foundation.MediaQuery.queries){var i=Foundation.MediaQuery.queries[t];e.SPECIAL_QUERIES[i.name]=i.value}}},{key:"_generateRules",value:function(t){var i,n=[];i=this.options.rules?this.options.rules:this.$element.data("interchange").match(/\[.*?\]/g);for(var s in i){var o=i[s].slice(1,-1).split(", "),a=o.slice(0,-1).join(""),r=o[o.length-1];e.SPECIAL_QUERIES[r]&&(r=e.SPECIAL_QUERIES[r]),n.push({path:a,query:r})}this.rules=n}},{key:"replace",value:function(e){if(this.currentPath!==e){var i=this,n="replaced.zf.interchange";"IMG"===this.$element[0].nodeName?this.$element.attr("src",e).load(function(){i.currentPath=e}).trigger(n):e.match(/\.(gif|jpg|jpeg|png|svg|tiff)([?#].*)?/i)?this.$element.css({"background-image":"url("+e+")"}).trigger(n):t.get(e,function(s){i.$element.html(s).trigger(n),t(s).foundation(),i.currentPath=e})}}},{key:"destroy",value:function(){}}]),e}();e.defaults={rules:null},e.SPECIAL_QUERIES={landscape:"screen and (orientation: landscape)",portrait:"screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"},Foundation.plugin(e,"Interchange")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Magellan")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element[0].id||Foundation.GetYoDigits(6,"magellan");this.$targets=t("[data-magellan-target]"),this.$links=this.$element.find("a"),this.$element.attr({"data-resize":e,"data-scroll":e,id:e}),this.$active=t(),this.scrollPos=parseInt(window.pageYOffset,10),this._events()}},{key:"calcPoints",value:function(){var e=this,i=document.body,n=document.documentElement;this.points=[],this.winHeight=Math.round(Math.max(window.innerHeight,n.clientHeight)),this.docHeight=Math.round(Math.max(i.scrollHeight,i.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)),this.$targets.each(function(){var i=t(this),n=Math.round(i.offset().top-e.options.threshold);i.targetPoint=n,e.points.push(n)})}},{key:"_events",value:function(){var e=this;t("html, body"),{duration:e.options.animationDuration,easing:e.options.animationEasing};t(window).one("load",function(){e.options.deepLinking&&location.hash&&e.scrollToLoc(location.hash),e.calcPoints(),e._updateActive()}),this.$element.on({"resizeme.zf.trigger":this.reflow.bind(this),"scrollme.zf.trigger":this._updateActive.bind(this)}).on("click.zf.magellan",'a[href^="#"]',function(t){t.preventDefault();var i=this.getAttribute("href");e.scrollToLoc(i)})}},{key:"scrollToLoc",value:function(e){var i=Math.round(t(e).offset().top-this.options.threshold/2-this.options.barOffset);t("html, body").stop(!0).animate({scrollTop:i},this.options.animationDuration,this.options.animationEasing)}},{key:"reflow",value:function(){this.calcPoints(),this._updateActive()}},{key:"_updateActive",value:function(){var t,e=parseInt(window.pageYOffset,10);if(e+this.winHeight===this.docHeight)t=this.points.length-1;else if(e<this.points[0])t=0;else{var i=this.scrollPos<e,n=this,s=this.points.filter(function(t,s){return i?e>=t:t-n.options.threshold<=e});t=s.length?s.length-1:0}if(this.$active.removeClass(this.options.activeClass),this.$active=this.$links.eq(t).addClass(this.options.activeClass),this.options.deepLinking){var o=this.$active[0].getAttribute("href");window.history.pushState?window.history.pushState(null,null,o):window.location.hash=o}this.scrollPos=e,this.$element.trigger("update.zf.magellan",[this.$active])}},{key:"destroy",value:function(){if(this.$element.off(".zf.trigger .zf.magellan").find("."+this.options.activeClass).removeClass(this.options.activeClass),this.options.deepLinking){var t=this.$active[0].getAttribute("href");window.location.hash.replace(t,"")}Foundation.unregisterPlugin(this)}}]),e}();e.defaults={animationDuration:500,animationEasing:"linear",threshold:50,activeClass:"active",deepLinking:!1,barOffset:0},Foundation.plugin(e,"Magellan")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this.$lastTrigger=t(),this._init(),this._events(),Foundation.registerPlugin(this,"OffCanvas")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.attr("id");if(this.$element.attr("aria-hidden","true"),t(document).find('[data-open="'+e+'"], [data-close="'+e+'"], [data-toggle="'+e+'"]').attr("aria-expanded","false").attr("aria-controls",e),this.options.closeOnClick)if(t(".js-off-canvas-exit").length)this.$exiter=t(".js-off-canvas-exit");else{var i=document.createElement("div");i.setAttribute("class","js-off-canvas-exit"),t("[data-off-canvas-content]").append(i),this.$exiter=t(i)}this.options.isRevealed=this.options.isRevealed||new RegExp(this.options.revealClass,"g").test(this.$element[0].className),this.options.isRevealed&&(this.options.revealOn=this.options.revealOn||this.$element[0].className.match(/(reveal-for-medium|reveal-for-large)/g)[0].split("-")[2],this._setMQChecker()),this.options.transitionTime||(this.options.transitionTime=1e3*parseFloat(window.getComputedStyle(t("[data-off-canvas-wrapper]")[0]).transitionDuration))}},{key:"_events",value:function(){this.$element.off(".zf.trigger .zf.offcanvas").on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"keydown.zf.offcanvas":this._handleKeyboard.bind(this)}),this.options.closeOnClick&&this.$exiter.length&&this.$exiter.on({"click.zf.offcanvas":this.close.bind(this)})}},{key:"_setMQChecker",value:function(){var e=this;t(window).on("changed.zf.mediaquery",function(){Foundation.MediaQuery.atLeast(e.options.revealOn)?e.reveal(!0):e.reveal(!1)}).one("load.zf.offcanvas",function(){Foundation.MediaQuery.atLeast(e.options.revealOn)&&e.reveal(!0)})}},{key:"reveal",value:function(t){var e=this.$element.find("[data-close]");t?(this.close(),this.isRevealed=!0,this.$element.off("open.zf.trigger toggle.zf.trigger"),e.length&&e.hide()):(this.isRevealed=!1,this.$element.on({"open.zf.trigger":this.open.bind(this),"toggle.zf.trigger":this.toggle.bind(this)}),e.length&&e.show())}},{key:"open",value:function(e,i){if(!this.$element.hasClass("is-open")&&!this.isRevealed){var n=this;t(document.body);this.options.forceTop&&t("body").scrollTop(0),Foundation.Move(this.options.transitionTime,this.$element,function(){t("[data-off-canvas-wrapper]").addClass("is-off-canvas-open is-open-"+n.options.position),
3
+ n.$element.addClass("is-open")}),this.$element.attr("aria-hidden","false").trigger("opened.zf.offcanvas"),this.options.closeOnClick&&this.$exiter.addClass("is-visible"),i&&(this.$lastTrigger=i.attr("aria-expanded","true")),this.options.autoFocus&&this.$element.one(Foundation.transitionend(this.$element),function(){n.$element.find("a, button").eq(0).focus()}),this.options.trapFocus&&(t("[data-off-canvas-content]").attr("tabindex","-1"),this._trapFocus())}}},{key:"_trapFocus",value:function(){var t=Foundation.Keyboard.findFocusable(this.$element),e=t.eq(0),i=t.eq(-1);t.off(".zf.offcanvas").on("keydown.zf.offcanvas",function(t){9!==t.which&&9!==t.keycode||(t.target!==i[0]||t.shiftKey||(t.preventDefault(),e.focus()),t.target===e[0]&&t.shiftKey&&(t.preventDefault(),i.focus()))})}},{key:"close",value:function(e){if(this.$element.hasClass("is-open")&&!this.isRevealed){var i=this;t("[data-off-canvas-wrapper]").removeClass("is-off-canvas-open is-open-"+i.options.position),i.$element.removeClass("is-open"),this.$element.attr("aria-hidden","true").trigger("closed.zf.offcanvas"),this.options.closeOnClick&&this.$exiter.removeClass("is-visible"),this.$lastTrigger.attr("aria-expanded","false"),this.options.trapFocus&&t("[data-off-canvas-content]").removeAttr("tabindex")}}},{key:"toggle",value:function(t,e){this.$element.hasClass("is-open")?this.close(t,e):this.open(t,e)}},{key:"_handleKeyboard",value:function(t){27===t.which&&(t.stopPropagation(),t.preventDefault(),this.close(),this.$lastTrigger.focus())}},{key:"destroy",value:function(){this.close(),this.$element.off(".zf.trigger .zf.offcanvas"),this.$exiter.off(".zf.offcanvas"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={closeOnClick:!0,transitionTime:0,position:"left",forceTop:!0,isRevealed:!1,revealOn:null,autoFocus:!0,revealClass:"reveal-for-",trapFocus:!1},Foundation.plugin(e,"OffCanvas")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Orbit"),Foundation.Keyboard.register("Orbit",{ltr:{ARROW_RIGHT:"next",ARROW_LEFT:"previous"},rtl:{ARROW_LEFT:"next",ARROW_RIGHT:"previous"}})}return _createClass(e,[{key:"_init",value:function(){this.$wrapper=this.$element.find("."+this.options.containerClass),this.$slides=this.$element.find("."+this.options.slideClass);var t=this.$element.find("img"),e=this.$slides.filter(".is-active");e.length||this.$slides.eq(0).addClass("is-active"),this.options.useMUI||this.$slides.addClass("no-motionui"),t.length?Foundation.onImagesLoaded(t,this._prepareForOrbit.bind(this)):this._prepareForOrbit(),this.options.bullets&&this._loadBullets(),this._events(),this.options.autoPlay&&this.$slides.length>1&&this.geoSync(),this.options.accessible&&this.$wrapper.attr("tabindex",0)}},{key:"_loadBullets",value:function(){this.$bullets=this.$element.find("."+this.options.boxOfBullets).find("button")}},{key:"geoSync",value:function(){var t=this;this.timer=new Foundation.Timer(this.$element,{duration:this.options.timerDelay,infinite:!1},function(){t.changeSlide(!0)}),this.timer.start()}},{key:"_prepareForOrbit",value:function(){var t=this;this._setWrapperHeight(function(e){t._setSlideHeight(e)})}},{key:"_setWrapperHeight",value:function(e){var i,n=0,s=0;this.$slides.each(function(){i=this.getBoundingClientRect().height,t(this).attr("data-slide",s),s&&t(this).css({position:"relative",display:"none"}),n=i>n?i:n,s++}),s===this.$slides.length&&(this.$wrapper.css({height:n}),e(n))}},{key:"_setSlideHeight",value:function(e){this.$slides.each(function(){t(this).css("max-height",e)})}},{key:"_events",value:function(){var e=this;if(this.$slides.length>1){if(this.options.swipe&&this.$slides.off("swipeleft.zf.orbit swiperight.zf.orbit").on("swipeleft.zf.orbit",function(t){t.preventDefault(),e.changeSlide(!0)}).on("swiperight.zf.orbit",function(t){t.preventDefault(),e.changeSlide(!1)}),this.options.autoPlay&&(this.$slides.on("click.zf.orbit",function(){e.$element.data("clickedOn",!e.$element.data("clickedOn")),e.timer[e.$element.data("clickedOn")?"pause":"start"]()}),this.options.pauseOnHover&&this.$element.on("mouseenter.zf.orbit",function(){e.timer.pause()}).on("mouseleave.zf.orbit",function(){e.$element.data("clickedOn")||e.timer.start()})),this.options.navButtons){var i=this.$element.find("."+this.options.nextClass+", ."+this.options.prevClass);i.attr("tabindex",0).on("click.zf.orbit touchend.zf.orbit",function(i){i.preventDefault(),e.changeSlide(t(this).hasClass(e.options.nextClass))})}this.options.bullets&&this.$bullets.on("click.zf.orbit touchend.zf.orbit",function(){if(/is-active/g.test(this.className))return!1;var i=t(this).data("slide"),n=i>e.$slides.filter(".is-active").data("slide"),s=e.$slides.eq(i);e.changeSlide(n,s,i)}),this.$wrapper.add(this.$bullets).on("keydown.zf.orbit",function(i){Foundation.Keyboard.handleKey(i,"Orbit",{next:function(){e.changeSlide(!0)},previous:function(){e.changeSlide(!1)},handled:function(){t(i.target).is(e.$bullets)&&e.$bullets.filter(".is-active").focus()}})})}}},{key:"changeSlide",value:function(t,e,i){var n=this.$slides.filter(".is-active").eq(0);if(/mui/g.test(n[0].className))return!1;var s,o=this.$slides.first(),a=this.$slides.last(),r=t?"Right":"Left",l=t?"Left":"Right",u=this;s=e?e:t?this.options.infiniteWrap?n.next("."+this.options.slideClass).length?n.next("."+this.options.slideClass):o:n.next("."+this.options.slideClass):this.options.infiniteWrap?n.prev("."+this.options.slideClass).length?n.prev("."+this.options.slideClass):a:n.prev("."+this.options.slideClass),s.length&&(this.options.bullets&&(i=i||this.$slides.index(s),this._updateBullets(i)),this.options.useMUI?(Foundation.Motion.animateIn(s.addClass("is-active").css({position:"absolute",top:0}),this.options["animInFrom"+r],function(){s.css({position:"relative",display:"block"}).attr("aria-live","polite")}),Foundation.Motion.animateOut(n.removeClass("is-active"),this.options["animOutTo"+l],function(){n.removeAttr("aria-live"),u.options.autoPlay&&!u.timer.isPaused&&u.timer.restart()})):(n.removeClass("is-active is-in").removeAttr("aria-live").hide(),s.addClass("is-active is-in").attr("aria-live","polite").show(),this.options.autoPlay&&!this.timer.isPaused&&this.timer.restart()),this.$element.trigger("slidechange.zf.orbit",[s]))}},{key:"_updateBullets",value:function(t){var e=this.$element.find("."+this.options.boxOfBullets).find(".is-active").removeClass("is-active").blur(),i=e.find("span:last").detach();this.$bullets.eq(t).addClass("is-active").append(i)}},{key:"destroy",value:function(){this.$element.off(".zf.orbit").find("*").off(".zf.orbit").end().hide(),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={bullets:!0,navButtons:!0,animInFromRight:"slide-in-right",animOutToRight:"slide-out-right",animInFromLeft:"slide-in-left",animOutToLeft:"slide-out-left",autoPlay:!0,timerDelay:5e3,infiniteWrap:!0,swipe:!0,pauseOnHover:!0,accessible:!0,containerClass:"orbit-container",slideClass:"orbit-slide",boxOfBullets:"orbit-bullets",nextClass:"orbit-next",prevClass:"orbit-previous",useMUI:!0},Foundation.plugin(e,"Orbit")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=t(i),this.rules=this.$element.data("responsive-menu"),this.currentMq=null,this.currentPlugin=null,this._init(),this._events(),Foundation.registerPlugin(this,"ResponsiveMenu")}return _createClass(e,[{key:"_init",value:function(){if("string"==typeof this.rules){for(var e={},n=this.rules.split(" "),s=0;s<n.length;s++){var o=n[s].split("-"),a=o.length>1?o[0]:"small",r=o.length>1?o[1]:o[0];null!==i[r]&&(e[a]=i[r])}this.rules=e}t.isEmptyObject(this.rules)||this._checkMediaQueries()}},{key:"_events",value:function(){var e=this;t(window).on("changed.zf.mediaquery",function(){e._checkMediaQueries()})}},{key:"_checkMediaQueries",value:function(){var e,n=this;t.each(this.rules,function(t){Foundation.MediaQuery.atLeast(t)&&(e=t)}),e&&(this.currentPlugin instanceof this.rules[e].plugin||(t.each(i,function(t,e){n.$element.removeClass(e.cssClass)}),this.$element.addClass(this.rules[e].cssClass),this.currentPlugin&&this.currentPlugin.destroy(),this.currentPlugin=new this.rules[e].plugin(this.$element,{})))}},{key:"destroy",value:function(){this.currentPlugin.destroy(),t(window).off(".zf.ResponsiveMenu"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={};var i={dropdown:{cssClass:"dropdown",plugin:Foundation._plugins["dropdown-menu"]||null},drilldown:{cssClass:"drilldown",plugin:Foundation._plugins.drilldown||null},accordion:{cssClass:"accordion-menu",plugin:Foundation._plugins["accordion-menu"]||null}};Foundation.plugin(e,"ResponsiveMenu")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=t(i),this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),this._events(),Foundation.registerPlugin(this,"ResponsiveToggle")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.data("responsive-toggle");e||console.error("Your tab bar needs an ID of a Menu as the value of data-tab-bar."),this.$targetMenu=t("#"+e),this.$toggler=this.$element.find("[data-toggle]"),this._update()}},{key:"_events",value:function(){t(window).on("changed.zf.mediaquery",this._update.bind(this)),this.$toggler.on("click.zf.responsiveToggle",this.toggleMenu.bind(this))}},{key:"_update",value:function(){Foundation.MediaQuery.atLeast(this.options.hideFor)?(this.$element.hide(),this.$targetMenu.show()):(this.$element.show(),this.$targetMenu.hide())}},{key:"toggleMenu",value:function(){Foundation.MediaQuery.atLeast(this.options.hideFor)||(this.$targetMenu.toggle(0),this.$element.trigger("toggled.zf.responsiveToggle"))}},{key:"destroy",value:function(){}}]),e}();e.defaults={hideFor:"medium"},Foundation.plugin(e,"ResponsiveToggle")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){function e(){return/iP(ad|hone|od).*OS/.test(window.navigator.userAgent)}var i=function(){function i(e,n){_classCallCheck(this,i),this.$element=e,this.options=t.extend({},i.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Reveal"),Foundation.Keyboard.register("Reveal",{ENTER:"open",SPACE:"open",ESCAPE:"close",TAB:"tab_forward",SHIFT_TAB:"tab_backward"})}return _createClass(i,[{key:"_init",value:function(){if(this.id=this.$element.attr("id"),this.isActive=!1,this.cached={mq:Foundation.MediaQuery.current},this.isiOS=e(),this.isiOS&&this.$element.addClass("is-ios"),this.$anchor=t(t('[data-open="'+this.id+'"]').length?'[data-open="'+this.id+'"]':'[data-toggle="'+this.id+'"]'),this.$anchor.length){var i=this.$anchor[0].id||Foundation.GetYoDigits(6,"reveal");this.$anchor.attr({"aria-controls":this.id,id:i,"aria-haspopup":!0,tabindex:0}),this.$element.attr({"aria-labelledby":i})}(this.options.fullScreen||this.$element.hasClass("full"))&&(this.options.fullScreen=!0,this.options.overlay=!1),this.options.overlay&&!this.$overlay&&(this.$overlay=this._makeOverlay(this.id)),this.$element.attr({role:"dialog","aria-hidden":!0,"data-yeti-box":this.id,"data-resize":this.id}),this.$overlay?this.$element.detach().appendTo(this.$overlay):(this.$element.detach().appendTo(t("body")),this.$element.addClass("without-overlay")),this._events(),this.options.deepLink&&window.location.hash==="#"+this.id&&t(window).one("load.zf.reveal",this.open.bind(this))}},{key:"_makeOverlay",value:function(e){var i=t("<div></div>").addClass("reveal-overlay").attr({tabindex:-1,"aria-hidden":!0}).appendTo("body");return i}},{key:"_updatePosition",value:function(){var e,i,n=this.$element.outerWidth(),s=t(window).width(),o=this.$element.outerHeight(),a=t(window).height();e="auto"===this.options.hOffset?parseInt((s-n)/2,10):parseInt(this.options.hOffset,10),i="auto"===this.options.vOffset?o>a?parseInt(Math.min(100,a/10),10):parseInt((a-o)/4,10):parseInt(this.options.vOffset,10),this.$element.css({top:i+"px"}),this.$overlay&&"auto"===this.options.hOffset||(this.$element.css({left:e+"px"}),this.$element.css({margin:"0px"}))}},{key:"_events",value:function(){var e=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":function(){e._updatePosition()}}),this.$anchor.length&&this.$anchor.on("keydown.zf.reveal",function(t){13!==t.which&&32!==t.which||(t.stopPropagation(),t.preventDefault(),e.open())}),this.options.closeOnClick&&this.options.overlay&&this.$overlay.off(".zf.reveal").on("click.zf.reveal",function(i){i.target===e.$element[0]||t.contains(e.$element[0],i.target)||e.close()}),this.options.deepLink&&t(window).on("popstate.zf.reveal:"+this.id,this._handleState.bind(this))}},{key:"_handleState",value:function(t){window.location.hash!=="#"+this.id||this.isActive?this.close():this.open()}},{key:"open",value:function(){var e=this;if(this.options.deepLink){var i="#"+this.id;window.history.pushState?window.history.pushState(null,null,i):window.location.hash=i}if(this.isActive=!0,this.$element.css({visibility:"hidden"}).show().scrollTop(0),this.options.overlay&&this.$overlay.css({visibility:"hidden"}).show(),this._updatePosition(),this.$element.hide().css({visibility:""}),this.$overlay&&this.$overlay.css({visibility:""}).hide(),this.options.multipleOpened||this.$element.trigger("closeme.zf.reveal",this.id),this.options.animationIn?(this.options.overlay&&Foundation.Motion.animateIn(this.$overlay,"fade-in"),Foundation.Motion.animateIn(this.$element,this.options.animationIn,function(){e.focusableElements=Foundation.Keyboard.findFocusable(e.$element)})):(this.options.overlay&&this.$overlay.show(0),this.$element.show(this.options.showDelay)),this.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),this.$element.trigger("open.zf.reveal"),this.isiOS){var n=window.pageYOffset;t("html, body").addClass("is-reveal-open").scrollTop(n)}else t("body").addClass("is-reveal-open");t("body").addClass("is-reveal-open").attr("aria-hidden",!(!this.options.overlay&&!this.options.fullScreen)),setTimeout(function(){e._extraHandlers()},0)}},{key:"_extraHandlers",value:function(){var e=this;this.focusableElements=Foundation.Keyboard.findFocusable(this.$element),this.options.overlay||!this.options.closeOnClick||this.options.fullScreen||t("body").on("click.zf.reveal",function(i){i.target===e.$element[0]||t.contains(e.$element[0],i.target)||e.close()}),this.options.closeOnEsc&&t(window).on("keydown.zf.reveal",function(t){Foundation.Keyboard.handleKey(t,"Reveal",{close:function(){e.options.closeOnEsc&&(e.close(),e.$anchor.focus())}})}),this.$element.on("keydown.zf.reveal",function(i){var n=t(this);Foundation.Keyboard.handleKey(i,"Reveal",{tab_forward:function(){e.$element.find(":focus").is(e.focusableElements.eq(-1))&&(e.focusableElements.eq(0).focus(),i.preventDefault()),0===e.focusableElements.length&&i.preventDefault()},tab_backward:function(){(e.$element.find(":focus").is(e.focusableElements.eq(0))||e.$element.is(":focus"))&&(e.focusableElements.eq(-1).focus(),i.preventDefault()),0===e.focusableElements.length&&i.preventDefault()},open:function(){e.$element.find(":focus").is(e.$element.find("[data-close]"))?setTimeout(function(){e.$anchor.focus()},1):n.is(e.focusableElements)&&e.open()},close:function(){e.options.closeOnEsc&&(e.close(),e.$anchor.focus())}})})}},{key:"close",value:function(){function e(){i.isiOS?t("html, body").removeClass("is-reveal-open"):t("body").removeClass("is-reveal-open"),t("body").attr({"aria-hidden":!1,tabindex:""}),i.$element.attr("aria-hidden",!0),i.$element.trigger("closed.zf.reveal")}if(!this.isActive||!this.$element.is(":visible"))return!1;var i=this;this.options.animationOut?(this.options.overlay?Foundation.Motion.animateOut(this.$overlay,"fade-out",e):e(),Foundation.Motion.animateOut(this.$element,this.options.animationOut)):(this.options.overlay?this.$overlay.hide(0,e):e(),this.$element.hide(this.options.hideDelay)),this.options.closeOnEsc&&t(window).off("keydown.zf.reveal"),!this.options.overlay&&this.options.closeOnClick&&t("body").off("click.zf.reveal"),this.$element.off("keydown.zf.reveal"),this.options.resetOnClose&&this.$element.html(this.$element.html()),this.isActive=!1,i.options.deepLink&&(window.history.replaceState?window.history.replaceState("",document.title,window.location.pathname):window.location.hash="")}},{key:"toggle",value:function(){this.isActive?this.close():this.open()}},{key:"destroy",value:function(){this.options.overlay&&(this.$element.appendTo(t("body")),this.$overlay.hide().off().remove()),this.$element.hide().off(),this.$anchor.off(".zf"),t(window).off(".zf.reveal:"+this.id),Foundation.unregisterPlugin(this)}}]),i}();i.defaults={animationIn:"",animationOut:"",showDelay:0,hideDelay:0,closeOnClick:!0,closeOnEsc:!0,multipleOpened:!1,vOffset:"auto",hOffset:"auto",fullScreen:!1,btmOffsetPct:10,overlay:!0,resetOnClose:!1,deepLink:!1},Foundation.plugin(i,"Reveal")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){function e(t,e){return t/e}function i(t,e,i,n){return Math.abs(t.position()[e]+t[n]()/2-i)}var n=function(){function n(e,i){_classCallCheck(this,n),this.$element=e,this.options=t.extend({},n.defaults,this.$element.data(),i),this._init(),Foundation.registerPlugin(this,"Slider"),Foundation.Keyboard.register("Slider",{ltr:{ARROW_RIGHT:"increase",ARROW_UP:"increase",ARROW_DOWN:"decrease",ARROW_LEFT:"decrease",SHIFT_ARROW_RIGHT:"increase_fast",SHIFT_ARROW_UP:"increase_fast",SHIFT_ARROW_DOWN:"decrease_fast",SHIFT_ARROW_LEFT:"decrease_fast"},rtl:{ARROW_LEFT:"increase",ARROW_RIGHT:"decrease",SHIFT_ARROW_LEFT:"increase_fast",SHIFT_ARROW_RIGHT:"decrease_fast"}})}return _createClass(n,[{key:"_init",value:function(){this.inputs=this.$element.find("input"),this.handles=this.$element.find("[data-slider-handle]"),this.$handle=this.handles.eq(0),this.$input=this.inputs.length?this.inputs.eq(0):t("#"+this.$handle.attr("aria-controls")),this.$fill=this.$element.find("[data-slider-fill]").css(this.options.vertical?"height":"width",0);var e=!1,i=this;(this.options.disabled||this.$element.hasClass(this.options.disabledClass))&&(this.options.disabled=!0,this.$element.addClass(this.options.disabledClass)),this.inputs.length||(this.inputs=t().add(this.$input),this.options.binding=!0),this._setInitAttr(0),this._events(this.$handle),this.handles[1]&&(this.options.doubleSided=!0,this.$handle2=this.handles.eq(1),this.$input2=this.inputs.length>1?this.inputs.eq(1):t("#"+this.$handle2.attr("aria-controls")),this.inputs[1]||(this.inputs=this.inputs.add(this.$input2)),e=!0,this._setHandlePos(this.$handle,this.options.initialStart,!0,function(){i._setHandlePos(i.$handle2,i.options.initialEnd,!0)}),this._setInitAttr(1),this._events(this.$handle2)),e||this._setHandlePos(this.$handle,this.options.initialStart,!0)}},{key:"_setHandlePos",value:function(t,i,n,s){i=parseFloat(i),i<this.options.start?i=this.options.start:i>this.options.end&&(i=this.options.end);var o=this.options.doubleSided;if(o)if(0===this.handles.index(t)){var a=parseFloat(this.$handle2.attr("aria-valuenow"));i=i>=a?a-this.options.step:i}else{var r=parseFloat(this.$handle.attr("aria-valuenow"));i=r>=i?r+this.options.step:i}this.options.vertical&&!n&&(i=this.options.end-i);var l=this,u=this.options.vertical,d=u?"height":"width",h=u?"top":"left",c=t[0].getBoundingClientRect()[d],f=this.$element[0].getBoundingClientRect()[d],p=e(i-this.options.start,this.options.end-this.options.start).toFixed(2),m=(f-c)*p,v=(100*e(m,f)).toFixed(this.options.decimal);i=parseFloat(i.toFixed(this.options.decimal));var g={};if(this._setValues(t,i),o){var w,y=0===this.handles.index(t),b=~~(100*e(c,f));if(y)g[h]=v+"%",w=parseFloat(this.$handle2[0].style[h])-v+b,s&&"function"==typeof s&&s();else{var $=parseFloat(this.$handle[0].style[h]);w=v-(isNaN($)?this.options.initialStart/((this.options.end-this.options.start)/100):$)+b}g["min-"+d]=w+"%"}this.$element.one("finished.zf.animate",function(){l.$element.trigger("moved.zf.slider",[t])});var C=this.$element.data("dragging")?1e3/60:this.options.moveTime;Foundation.Move(C,t,function(){t.css(h,v+"%"),l.options.doubleSided?l.$fill.css(g):l.$fill.css(d,100*p+"%")}),clearTimeout(l.timeout),l.timeout=setTimeout(function(){l.$element.trigger("changed.zf.slider",[t])},l.options.changedDelay)}},{key:"_setInitAttr",value:function(t){var e=this.inputs.eq(t).attr("id")||Foundation.GetYoDigits(6,"slider");this.inputs.eq(t).attr({id:e,max:this.options.end,min:this.options.start,step:this.options.step}),this.handles.eq(t).attr({role:"slider","aria-controls":e,"aria-valuemax":this.options.end,"aria-valuemin":this.options.start,"aria-valuenow":0===t?this.options.initialStart:this.options.initialEnd,"aria-orientation":this.options.vertical?"vertical":"horizontal",tabindex:0})}},{key:"_setValues",value:function(t,e){var i=this.options.doubleSided?this.handles.index(t):0;this.inputs.eq(i).val(e),t.attr("aria-valuenow",e)}},{key:"_handleEvent",value:function(t,n,s){var o,a;if(s)o=this._adjustValue(null,s),a=!0;else{t.preventDefault();var r=this,l=this.options.vertical,u=l?"height":"width",d=l?"top":"left",h=l?t.pageY:t.pageX,c=this.$handle[0].getBoundingClientRect()[u]/2,f=this.$element[0].getBoundingClientRect()[u],p=this.$element.offset()[d]-h,m=p>0?-c:-f>p-c?f:Math.abs(p),v=e(m,f);if(o=(this.options.end-this.options.start)*v+this.options.start,Foundation.rtl()&&!this.options.vertical&&(o=this.options.end-o),o=r._adjustValue(null,o),a=!1,!n){var g=i(this.$handle,d,m,u),w=i(this.$handle2,d,m,u);n=w>=g?this.$handle:this.$handle2}}this._setHandlePos(n,o,a)}},{key:"_adjustValue",value:function(t,e){var i,n,s,o,a=this.options.step,r=parseFloat(a/2);return i=t?parseFloat(t.attr("aria-valuenow")):e,n=i%a,s=i-n,o=s+a,0===n?i:i=i>=s+r?o:s}},{key:"_events",value:function(e){if(this.options.disabled)return!1;var i,n=this;if(this.inputs.off("change.zf.slider").on("change.zf.slider",function(e){var i=n.inputs.index(t(this));n._handleEvent(e,n.handles.eq(i),t(this).val())}),this.options.clickSelect&&this.$element.off("click.zf.slider").on("click.zf.slider",function(e){return n.$element.data("dragging")?!1:void(t(e.target).is("[data-slider-handle]")||(n.options.doubleSided?n._handleEvent(e):n._handleEvent(e,n.$handle)))}),this.options.draggable){this.handles.addTouch();var s=t("body");e.off("mousedown.zf.slider").on("mousedown.zf.slider",function(o){e.addClass("is-dragging"),n.$fill.addClass("is-dragging"),n.$element.data("dragging",!0),i=t(o.currentTarget),s.on("mousemove.zf.slider",function(t){t.preventDefault(),n._handleEvent(t,i)}).on("mouseup.zf.slider",function(t){n._handleEvent(t,i),e.removeClass("is-dragging"),n.$fill.removeClass("is-dragging"),n.$element.data("dragging",!1),s.off("mousemove.zf.slider mouseup.zf.slider")})})}e.off("keydown.zf.slider").on("keydown.zf.slider",function(e){var i,s=t(this),o=n.options.doubleSided?n.handles.index(s):0,a=parseFloat(n.inputs.eq(o).val());Foundation.Keyboard.handleKey(e,"Slider",{decrease:function(){i=a-n.options.step},increase:function(){i=a+n.options.step},decrease_fast:function(){i=a-10*n.options.step},increase_fast:function(){i=a+10*n.options.step},handled:function(){e.preventDefault(),n._setHandlePos(s,i,!0)}})})}},{key:"destroy",value:function(){this.handles.off(".zf.slider"),this.inputs.off(".zf.slider"),this.$element.off(".zf.slider"),Foundation.unregisterPlugin(this)}}]),n}();n.defaults={start:0,end:100,step:1,initialStart:0,initialEnd:100,binding:!1,clickSelect:!0,vertical:!1,draggable:!0,disabled:!1,doubleSided:!1,decimal:2,moveTime:200,disabledClass:"disabled",invertVertical:!1,changedDelay:500},Foundation.plugin(n,"Slider")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){function e(t){return parseInt(window.getComputedStyle(document.body,null).fontSize,10)*t}var i=function(){function i(e,n){_classCallCheck(this,i),this.$element=e,this.options=t.extend({},i.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Sticky")}return _createClass(i,[{key:"_init",value:function(){var e=this.$element.parent("[data-sticky-container]"),i=this.$element[0].id||Foundation.GetYoDigits(6,"sticky"),n=this;e.length||(this.wasWrapped=!0),this.$container=e.length?e:t(this.options.container).wrapInner(this.$element),this.$container.addClass(this.options.containerClass),this.$element.addClass(this.options.stickyClass).attr({"data-resize":i}),this.scrollCount=this.options.checkEvery,this.isStuck=!1,t(window).one("load.zf.sticky",function(){""!==n.options.anchor?n.$anchor=t("#"+n.options.anchor):n._parsePoints(),n._setSizes(function(){n._calc(!1)}),n._events(i.split("-").reverse().join("-"))})}},{key:"_parsePoints",value:function(){var e=this.options.topAnchor,i=this.options.btmAnchor,n=[e,i],s={};if(e&&i)for(var o=0,a=n.length;a>o&&n[o];o++){var r;if("number"==typeof n[o])r=n[o];else{var l=n[o].split(":"),u=t("#"+l[0]);r=u.offset().top,l[1]&&"bottom"===l[1].toLowerCase()&&(r+=u[0].getBoundingClientRect().height)}s[o]=r}else s={0:1,1:document.documentElement.scrollHeight};this.points=s}},{key:"_events",value:function(e){var i=this,n=this.scrollListener="scroll.zf."+e;this.isOn||(this.canStick&&(this.isOn=!0,t(window).off(n).on(n,function(t){0===i.scrollCount?(i.scrollCount=i.options.checkEvery,i._setSizes(function(){i._calc(!1,window.pageYOffset)})):(i.scrollCount--,i._calc(!1,window.pageYOffset))})),this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(t,s){i._setSizes(function(){i._calc(!1),i.canStick?i.isOn||i._events(e):i.isOn&&i._pauseListeners(n)})}))}},{key:"_pauseListeners",value:function(e){this.isOn=!1,t(window).off(e),this.$element.trigger("pause.zf.sticky")}},{key:"_calc",value:function(t,e){return t&&this._setSizes(),this.canStick?(e||(e=window.pageYOffset),void(e>=this.topPoint?e<=this.bottomPoint?this.isStuck||this._setSticky():this.isStuck&&this._removeSticky(!1):this.isStuck&&this._removeSticky(!0))):(this.isStuck&&this._removeSticky(!0),!1)}},{key:"_setSticky",value:function(){var t=this.options.stickTo,e="top"===t?"marginTop":"marginBottom",i="top"===t?"bottom":"top",n={};n[e]=this.options[e]+"em",n[t]=0,n[i]="auto",n.left=this.$container.offset().left+parseInt(window.getComputedStyle(this.$container[0])["padding-left"],10),this.isStuck=!0,this.$element.removeClass("is-anchored is-at-"+i).addClass("is-stuck is-at-"+t).css(n).trigger("sticky.zf.stuckto:"+t)}},{key:"_removeSticky",value:function(t){var e=this.options.stickTo,i="top"===e,n={},s=(this.points?this.points[1]-this.points[0]:this.anchorHeight)-this.elemHeight,o=i?"marginTop":"marginBottom",a=i?"bottom":"top",r=t?"top":"bottom";n[o]=0,t&&!i||i&&!t?(n[e]=s,n[a]=0):(n[e]=0,n[a]=s),n.left="",this.isStuck=!1,this.$element.removeClass("is-stuck is-at-"+e).addClass("is-anchored is-at-"+r).css(n).trigger("sticky.zf.unstuckfrom:"+r)}},{key:"_setSizes",value:function(t){this.canStick=Foundation.MediaQuery.atLeast(this.options.stickyOn),this.canStick||t();var e=this.$container[0].getBoundingClientRect().width,i=window.getComputedStyle(this.$container[0]),n=parseInt(i["padding-right"],10);this.$anchor&&this.$anchor.length?this.anchorHeight=this.$anchor[0].getBoundingClientRect().height:this._parsePoints(),this.$element.css({"max-width":e-n+"px"});var s=this.$element[0].getBoundingClientRect().height||this.containerHeight;this.containerHeight=s,this.$container.css({height:s}),this.elemHeight=s,this.isStuck&&this.$element.css({left:this.$container.offset().left+parseInt(i["padding-left"],10)}),this._setBreakPoints(s,function(){t&&t()})}},{key:"_setBreakPoints",value:function(t,i){if(!this.canStick){if(!i)return!1;i()}var n=e(this.options.marginTop),s=e(this.options.marginBottom),o=this.points?this.points[0]:this.$anchor.offset().top,a=this.points?this.points[1]:o+this.anchorHeight,r=window.innerHeight;"top"===this.options.stickTo?(o-=n,a-=t+n):"bottom"===this.options.stickTo&&(o-=r-(t+s),a-=r-s),this.topPoint=o,this.bottomPoint=a,i&&i()}},{key:"destroy",value:function(){this._removeSticky(!0),this.$element.removeClass(this.options.stickyClass+" is-anchored is-at-top").css({height:"",top:"",bottom:"","max-width":""}).off("resizeme.zf.trigger"),this.$anchor.off("change.zf.sticky"),t(window).off(this.scrollListener),this.wasWrapped?this.$element.unwrap():this.$container.removeClass(this.options.containerClass).css({height:""}),Foundation.unregisterPlugin(this)}}]),i}();i.defaults={container:"<div data-sticky-container></div>",stickTo:"top",anchor:"",topAnchor:"",btmAnchor:"",marginTop:1,marginBottom:1,stickyOn:"medium",stickyClass:"sticky",containerClass:"sticky-container",checkEvery:-1},Foundation.plugin(i,"Sticky")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Tabs"),Foundation.Keyboard.register("Tabs",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"previous",ARROW_DOWN:"next",ARROW_LEFT:"previous"})}return _createClass(e,[{key:"_init",value:function(){var e=this;if(this.$tabTitles=this.$element.find("."+this.options.linkClass),this.$tabContent=t('[data-tabs-content="'+this.$element[0].id+'"]'),this.$tabTitles.each(function(){var i=t(this),n=i.find("a"),s=i.hasClass("is-active"),o=n[0].hash.slice(1),a=n[0].id?n[0].id:o+"-label",r=t("#"+o);i.attr({role:"presentation"}),n.attr({role:"tab","aria-controls":o,"aria-selected":s,id:a}),r.attr({role:"tabpanel","aria-hidden":!s,"aria-labelledby":a}),s&&e.options.autoFocus&&n.focus()}),this.options.matchHeight){var i=this.$tabContent.find("img");i.length?Foundation.onImagesLoaded(i,this._setHeight.bind(this)):this._setHeight()}this._events()}},{key:"_events",value:function(){this._addKeyHandler(),this._addClickHandler(),this.options.matchHeight&&t(window).on("changed.zf.mediaquery",this._setHeight.bind(this))}},{key:"_addClickHandler",value:function(){var e=this;this.$element.off("click.zf.tabs").on("click.zf.tabs","."+this.options.linkClass,function(i){i.preventDefault(),i.stopPropagation(),t(this).hasClass("is-active")||e._handleTabChange(t(this))})}},{key:"_addKeyHandler",value:function(){var e=this;e.$element.find("li:first-of-type"),e.$element.find("li:last-of-type");this.$tabTitles.off("keydown.zf.tabs").on("keydown.zf.tabs",function(i){if(9!==i.which){i.stopPropagation(),i.preventDefault();
4
+ var n,s,o=t(this),a=o.parent("ul").children("li");a.each(function(i){return t(this).is(o)?void(e.options.wrapOnKeys?(n=0===i?a.last():a.eq(i-1),s=i===a.length-1?a.first():a.eq(i+1)):(n=a.eq(Math.max(0,i-1)),s=a.eq(Math.min(i+1,a.length-1)))):void 0}),Foundation.Keyboard.handleKey(i,"Tabs",{open:function(){o.find('[role="tab"]').focus(),e._handleTabChange(o)},previous:function(){n.find('[role="tab"]').focus(),e._handleTabChange(n)},next:function(){s.find('[role="tab"]').focus(),e._handleTabChange(s)}})}})}},{key:"_handleTabChange",value:function(e){var i=e.find('[role="tab"]'),n=i[0].hash,s=this.$tabContent.find(n),o=this.$element.find("."+this.options.linkClass+".is-active").removeClass("is-active").find('[role="tab"]').attr({"aria-selected":"false"});t("#"+o.attr("aria-controls")).removeClass("is-active").attr({"aria-hidden":"true"}),e.addClass("is-active"),i.attr({"aria-selected":"true"}),s.addClass("is-active").attr({"aria-hidden":"false"}),this.$element.trigger("change.zf.tabs",[e])}},{key:"selectTab",value:function(t){var e;e="object"==typeof t?t[0].id:t,e.indexOf("#")<0&&(e="#"+e);var i=this.$tabTitles.find('[href="'+e+'"]').parent("."+this.options.linkClass);this._handleTabChange(i)}},{key:"_setHeight",value:function(){var e=0;this.$tabContent.find("."+this.options.panelClass).css("height","").each(function(){var i=t(this),n=i.hasClass("is-active");n||i.css({visibility:"hidden",display:"block"});var s=this.getBoundingClientRect().height;n||i.css({visibility:"",display:""}),e=s>e?s:e}).css("height",e+"px")}},{key:"destroy",value:function(){this.$element.find("."+this.options.linkClass).off(".zf.tabs").hide().end().find("."+this.options.panelClass).hide(),this.options.matchHeight&&t(window).off("changed.zf.mediaquery"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={autoFocus:!1,wrapOnKeys:!0,matchHeight:!1,linkClass:"tabs-title",panelClass:"tabs-panel"},Foundation.plugin(e,"Tabs")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,i.data(),n),this.className="",this._init(),this._events(),Foundation.registerPlugin(this,"Toggler")}return _createClass(e,[{key:"_init",value:function(){var e;this.options.animate?(e=this.options.animate.split(" "),this.animationIn=e[0],this.animationOut=e[1]||null):(e=this.$element.data("toggler"),this.className="."===e[0]?e.slice(1):e);var i=this.$element[0].id;t('[data-open="'+i+'"], [data-close="'+i+'"], [data-toggle="'+i+'"]').attr("aria-controls",i),this.$element.attr("aria-expanded",!this.$element.is(":hidden"))}},{key:"_events",value:function(){this.$element.off("toggle.zf.trigger").on("toggle.zf.trigger",this.toggle.bind(this))}},{key:"toggle",value:function(){this[this.options.animate?"_toggleAnimate":"_toggleClass"]()}},{key:"_toggleClass",value:function(){this.$element.toggleClass(this.className);var t=this.$element.hasClass(this.className);t?this.$element.trigger("on.zf.toggler"):this.$element.trigger("off.zf.toggler"),this._updateARIA(t)}},{key:"_toggleAnimate",value:function(){var t=this;this.$element.is(":hidden")?Foundation.Motion.animateIn(this.$element,this.animationIn,function(){t._updateARIA(!0),this.trigger("on.zf.toggler")}):Foundation.Motion.animateOut(this.$element,this.animationOut,function(){t._updateARIA(!1),this.trigger("off.zf.toggler")})}},{key:"_updateARIA",value:function(t){this.$element.attr("aria-expanded",!!t)}},{key:"destroy",value:function(){this.$element.off(".zf.toggler"),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={animate:!1},Foundation.plugin(e,"Toggler")}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this.isActive=!1,this.isClick=!1,this._init(),Foundation.registerPlugin(this,"Tooltip")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.attr("aria-describedby")||Foundation.GetYoDigits(6,"tooltip");this.options.positionClass=this._getPositionClass(this.$element),this.options.tipText=this.options.tipText||this.$element.attr("title"),this.template=this.options.template?t(this.options.template):this._buildTemplate(e),this.template.appendTo(document.body).text(this.options.tipText).hide(),this.$element.attr({title:"","aria-describedby":e,"data-yeti-box":e,"data-toggle":e,"data-resize":e}).addClass(this.triggerClass),this.usedPositions=[],this.counter=4,this.classChanged=!1,this._events()}},{key:"_getPositionClass",value:function(t){if(!t)return"";var e=t[0].className.match(/\b(top|left|right)\b/g);return e=e?e[0]:""}},{key:"_buildTemplate",value:function(e){var i=(this.options.tooltipClass+" "+this.options.positionClass+" "+this.options.templateClasses).trim(),n=t("<div></div>").addClass(i).attr({role:"tooltip","aria-hidden":!0,"data-is-active":!1,"data-is-focus":!1,id:e});return n}},{key:"_reposition",value:function(t){this.usedPositions.push(t?t:"bottom"),!t&&this.usedPositions.indexOf("top")<0?this.template.addClass("top"):"top"===t&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):"left"===t&&this.usedPositions.indexOf("right")<0?this.template.removeClass(t).addClass("right"):"right"===t&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):!t&&this.usedPositions.indexOf("top")>-1&&this.usedPositions.indexOf("left")<0?this.template.addClass("left"):"top"===t&&this.usedPositions.indexOf("bottom")>-1&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):"left"===t&&this.usedPositions.indexOf("right")>-1&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):"right"===t&&this.usedPositions.indexOf("left")>-1&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):this.template.removeClass(t),this.classChanged=!0,this.counter--}},{key:"_setPosition",value:function(){var t=this._getPositionClass(this.template),e=Foundation.Box.GetDimensions(this.template),i=Foundation.Box.GetDimensions(this.$element),n="left"===t?"left":"right"===t?"left":"top",s="top"===n?"height":"width";"height"===s?this.options.vOffset:this.options.hOffset;if(e.width>=e.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.template))return this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center bottom",this.options.vOffset,this.options.hOffset,!0)).css({width:i.windowDims.width-2*this.options.hOffset,height:"auto"}),!1;for(this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center "+(t||"bottom"),this.options.vOffset,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.template)&&this.counter;)this._reposition(t),this._setPosition()}},{key:"show",value:function(){if("all"!==this.options.showOn&&!Foundation.MediaQuery.atLeast(this.options.showOn))return!1;var t=this;this.template.css("visibility","hidden").show(),this._setPosition(),this.$element.trigger("closeme.zf.tooltip",this.template.attr("id")),this.template.attr({"data-is-active":!0,"aria-hidden":!1}),t.isActive=!0,this.template.stop().hide().css("visibility","").fadeIn(this.options.fadeInDuration,function(){}),this.$element.trigger("show.zf.tooltip")}},{key:"hide",value:function(){var t=this;this.template.stop().attr({"aria-hidden":!0,"data-is-active":!1}).fadeOut(this.options.fadeOutDuration,function(){t.isActive=!1,t.isClick=!1,t.classChanged&&(t.template.removeClass(t._getPositionClass(t.template)).addClass(t.options.positionClass),t.usedPositions=[],t.counter=4,t.classChanged=!1)}),this.$element.trigger("hide.zf.tooltip")}},{key:"_events",value:function(){var t=this,e=(this.template,!1);this.options.disableHover||this.$element.on("mouseenter.zf.tooltip",function(e){t.isActive||(t.timeout=setTimeout(function(){t.show()},t.options.hoverDelay))}).on("mouseleave.zf.tooltip",function(i){clearTimeout(t.timeout),(!e||!t.isClick&&t.options.clickOpen)&&t.hide()}),this.options.clickOpen&&this.$element.on("mousedown.zf.tooltip",function(e){e.stopImmediatePropagation(),t.isClick?t.hide():(t.isClick=!0,!t.options.disableHover&&t.$element.attr("tabindex")||t.isActive||t.show())}),this.options.disableForTouch||this.$element.on("tap.zf.tooltip touchend.zf.tooltip",function(e){t.isActive?t.hide():t.show()}),this.$element.on({"close.zf.trigger":this.hide.bind(this)}),this.$element.on("focus.zf.tooltip",function(i){return e=!0,t.isClick?!1:void t.show()}).on("focusout.zf.tooltip",function(i){e=!1,t.isClick=!1,t.hide()}).on("resizeme.zf.trigger",function(){t.isActive&&t._setPosition()})}},{key:"toggle",value:function(){this.isActive?this.hide():this.show()}},{key:"destroy",value:function(){this.$element.attr("title",this.template.text()).off(".zf.trigger .zf.tootip").removeAttr("aria-describedby").removeAttr("data-yeti-box").removeAttr("data-toggle").removeAttr("data-resize"),this.template.remove(),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={disableForTouch:!1,hoverDelay:200,fadeInDuration:150,fadeOutDuration:150,disableHover:!1,templateClasses:"",tooltipClass:"tooltip",triggerClass:"has-tip",showOn:"small",template:"",tipText:"",touchCloseText:"Tap to close.",clickOpen:!0,positionClass:"",vOffset:10,hOffset:12},Foundation.plugin(e,"Tooltip")}(jQuery);
app/extensions/fields/asset/foundation/index.html ADDED
File without changes
app/extensions/fields/asset/help/help.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .twoj-gallery-help-label{
3
+ cursor: pointer;
4
+ }
5
+ .twoj-gallery-help-button{
6
+ margin-left: 5px;
7
+ padding-top: 5px;
8
+ color: #2199e8;
9
+ cursor: pointer;
10
+ }
11
+ .twoj-gallery-help-dialog{
12
+ display: none;
13
+ }
14
+
15
+ .twoj-gallery-help-dialog-window-class iframe{
16
+ margin: 0 auto;
17
+ display: flex;
18
+ }
19
+
20
+ /* tooltip */
21
+ .robo_gallery_tooltip {
22
+ position: relative;
23
+ display: inline-block;
24
+ border-bottom: none;
25
+ }
26
+
27
+ .robo_gallery_tooltip .robo_gallery_tooltiptext {
28
+ visibility: hidden;
29
+ width: 160px;
30
+ background-color: black;
31
+ color: #fff;
32
+ text-align: center;
33
+ padding: 5px 0;
34
+ border-radius: 0px;
35
+ position: absolute;
36
+ z-index: 1;
37
+ }
38
+
39
+ .robo_gallery_tooltip:hover .robo_gallery_tooltiptext {
40
+ visibility: visible;
41
+ }
42
+
43
+ .robo_gallery_tooltip .robo_gallery_tooltiptext {
44
+ top: -5px;
45
+ left: 105%;
46
+ }
47
+
48
+ .robo_gallery_tooltip .robo_gallery_tooltiptext1::after {
49
+ content: " ";
50
+ position: absolute;
51
+ top: 50%;
52
+ right: 100%; /* To the left of the tooltip */
53
+ margin-top: -5px;
54
+ border-width: 5px;
55
+ border-style: solid;
56
+ border-color: transparent black transparent transparent;
57
+ }
58
+
app/extensions/fields/asset/help/help.js ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Robo Gallery
3
+ * Version: 2.8.40 - 95887
4
+ * By Robosoft
5
+ *
6
+ * Contact: https://robosoft.co/robogallery/
7
+ * Created: 2015
8
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
9
+
10
+ */
11
+
12
+ (function ($) {
13
+ $(document).ready(function () {
14
+ var twoJgalleryHelpObj = jQuery( "<div>",
15
+ {
16
+ id: "twoj-gallery-help-dialog-window-id",
17
+ "class": "twoj-gallery-help-dialog-window-class"
18
+ }
19
+ );
20
+ twoJgalleryHelpObj.appendTo('body');
21
+
22
+ twoJgalleryHelpDialog = twoJgalleryHelpObj.dialog({
23
+ 'dialogClass' : 'wp-dialog',
24
+ 'title': '2J Gallery :: Help',
25
+ 'modal' : true,
26
+ 'autoOpen' : false,
27
+ 'width': '650',
28
+ 'maxWidth': 750,
29
+ 'height': 'auto', /*'auto'*/
30
+ 'fluid': true,
31
+ 'resizable': false,
32
+ 'responsive': true,
33
+ 'draggable': false,
34
+ 'closeOnEscape' : true,
35
+ position: {
36
+ my: "center",
37
+ at: "top center",
38
+ of: window
39
+ },
40
+ 'buttons' : [/*{
41
+ 'text' : 'Close',
42
+ 'class' : 'button button-link',
43
+ 'click' : function() { jQuery(this).dialog('close'); }
44
+ },*/
45
+ {
46
+ 'text' : rsg_fields_help_i18.close,
47
+ 'class' : 'button-primary',
48
+ 'click' : function(){
49
+ jQuery(this).dialog('close');
50
+ }
51
+ }
52
+ ],
53
+ open: function( event, ui ) {
54
+ /*var contentHelp = jQuery(this).data('content');
55
+ twoJgalleryHelpObj.html( getCode(contentHelp) );*/
56
+ },
57
+ beforeClose: function( event, ui ) {
58
+
59
+ $('#popup-youtube-player')[0].contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*');
60
+ },
61
+
62
+ create: function () {
63
+ // style fix for WordPress admin
64
+ $('.ui-dialog-titlebar-close').addClass('ui-button');
65
+ },
66
+
67
+ });
68
+
69
+ window['twoJgalleryHelpObj'] = twoJgalleryHelpObj;
70
+ window['twoJgalleryHelpDialog'] = twoJgalleryHelpDialog;
71
+
72
+ jQuery(".twoj-gallery-help-button").click(function(event) {
73
+ event.preventDefault();
74
+ var id = jQuery(this).data('help');
75
+ twoJgalleryHelpObj.html( getCode( jQuery('#'+id).html() ) );
76
+ //twoJgalleryHelpObj.data( 'content', jQuery('#'+id).html() );
77
+ twoJgalleryHelpDialog.dialog('option', 'title', robo_fields_help_i18.title );
78
+ twoJgalleryHelpDialog.dialog('open');
79
+ });
80
+
81
+ jQuery(".twoj-gallery-help-label").click(function(event) {
82
+ event.preventDefault();
83
+ jQuery(this).next('.twoj-gallery-help-button').click();
84
+ });
85
+ });
86
+
87
+ var getCode = function( inHtml ){
88
+ const regex = /{youtube@@([a-zA-Z0-9\_\-]+)(\|([0-9]+)\*([0-9]+))?}/g;
89
+ var value = {
90
+ width: 560,
91
+ height: 315,
92
+ videoid: ''
93
+ };
94
+ var replaceTag = '';
95
+ let m;
96
+ while ((m = regex.exec(inHtml)) !== null) {
97
+ if (m.index === regex.lastIndex){ regex.lastIndex++;}
98
+ m.forEach((match, groupIndex) => {
99
+ if(groupIndex==0 && match!=undefined) replaceTag= match;
100
+ if(groupIndex==1 && match!=undefined) value.videoid = match;
101
+ if(groupIndex==3 && match!=undefined) value.width = match;
102
+ if(groupIndex==4 && match!=undefined) value.height = match;
103
+ //console.log(`Found match, group ${groupIndex}: ${match}`);
104
+ });
105
+ }
106
+ var youtubeCode = '<iframe id="popup-youtube-player" width="'+value.width+'" height="'+value.height+'" src="https://www.youtube.com/embed/'+value.videoid+'?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" gesture="media" allow="encrypted-media" allowscriptaccess="always" allowfullscreen></iframe>';
107
+ return inHtml.replace(replaceTag, youtubeCode);
108
+
109
+ }
110
+
111
+ })(jQuery);
112
+
113
+
114
+ /*let onClickHelpIcon = function( elem ){
115
+ console.log(elem);
116
+ alert('fff');
117
+ var contenID = '#' + elem.getAttribute('data-help');
118
+ twoJgalleryHelpObj.html( getCode( contenID ) );
119
+ }*/
app/extensions/fields/asset/help/index.html ADDED
File without changes
app/extensions/fields/asset/index.html ADDED
File without changes
app/extensions/fields/asset/jquery-colorpickersliders/index.html ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="pl" dir="ltr">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Title</title>
6
+ </head>
7
+ <body>
8
+ <h1>Error</h1>
9
+ <p></p>
10
+ </body>
11
+ </html>
app/extensions/fields/asset/jquery-colorpickersliders/jquery.colorpickersliders.css ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cp-container {
2
+ width: auto;
3
+ position: relative;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ .cp-container .cp-transparency,
8
+ .cp-container .cp-swatches li {
9
+ background:url(data:image/gif;base64,R0lGODlhBgAGAIABAMPDw////yH5BAEKAAEALAAAAAAGAAYAAAIKhIMGGMrs0pGgAAA7) repeat;
10
+ }
11
+
12
+ .cp-container .cp-slider,
13
+ .cp-container .cp-preview {
14
+ width: auto;
15
+ height: 26px;
16
+ border: 1px solid #dadada;
17
+ margin: 0 4px;
18
+ margin-bottom: 5pt;
19
+ position: relative;
20
+ }
21
+
22
+ .cp-container .cp-slider {
23
+ cursor: ew-resize;
24
+ -webkit-user-select: none;
25
+ -moz-user-select: none;
26
+ -ms-user-select: none;
27
+ user-select: none;
28
+ }
29
+
30
+ .cp-container .cp-preview {
31
+ height: 39px;
32
+ }
33
+
34
+ .cp-container .cp-slider span,
35
+ .cp-container .cp-preview input {
36
+ display: block;
37
+ width: 100%;
38
+ height: 100%;
39
+ text-align: center;
40
+ font-family: sans-serif;
41
+ line-height: 26px;
42
+ font-size: 14px;
43
+ }
44
+
45
+ .cp-container .cp-preview input {
46
+ line-height: 39px;
47
+ padding: 0;
48
+ outline: none;
49
+ box-shadow: none;
50
+ border: none;
51
+ border-radius: 0;
52
+ background: none;
53
+ }
54
+
55
+ .cp-container .cp-marker {
56
+ position: absolute;
57
+ display: block;
58
+ width: 11px;
59
+ height: 10px;
60
+ margin-left: -5px;
61
+ top: -2px;
62
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAMAAABVLlSxAAAAtFBMVEUAAAB1dXVsbGxwcHBqampoaGj+/v7r6+vw8PBmZmb6+vp/f39kZGTh4eGxsbHT09NlZWXX19dgYGBfX1/W1tb7+/vx8fHZ2dna2tqBgYFnZ2fg4ODe3t7j4+Pi4uL39/eampro6Ojl5eXy8vLt7e3p6emgoKCmpqatra1ra2v19fXm5ubz8/Pv7+9hYWFjY2N5eXlvb29zc3Ps7Ozd3d2ysrKCgoKDg4P9/f2zs7P4+Pj///83Bdu/AAAAAXRSTlMAQObYZgAAAGlJREFUeNo9ylcbgWAAhuG3ZZQoEkkhDe099P3//9Xg6j56Dh6cjkm623IsnTNIDsqlEsN1HBVI5evdDMtN0FOQKt14lWrArzLcnpZjvx9nshcA342jviO1hlHuTdlgVnzIt8VfNubiNwzmhAsoIAkssgAAAABJRU5ErkJggg==);
63
+ }
64
+
65
+ .cp-container.cp-unconvertible-cie-color .cp-slider.cp-cielightness .cp-marker,
66
+ .cp-container.cp-unconvertible-cie-color .cp-slider.cp-ciechroma .cp-marker,
67
+ .cp-container.cp-unconvertible-cie-color .cp-slider.cp-ciehue .cp-marker {
68
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAMAAABVLlSxAAAAvVBMVEUAAADLy8u8vLzZ2dlgYGDe3t5sbGxoaGjr6+vb29tqamrCwsJmZmZkZGTW1tbExMTw8PDj4+Pa2tpfX1/z8/PU1NTp6enX19fg4OBwcHDc3NzJycn4+Pj7+/v6+vrd3d3h4eH+/v6lpaWmpqaampqgoKBlZWWzs7Orq6tra2uxsbGBgYF1dXVnZ2d/f3/T09PMzMxhYWFjY2P19fXv7+9vb2/l5eVzc3P////n5+eysrKDg4OCgoJ5eXnoAACu7h75AAAAAXRSTlMAQObYZgAAAG1JREFUeNo1ytsaQkAAReGdkpRKRUTofEANBoOY93+sfMp/tS4WNqM4mSvSdJztEJPFkETyJNUYEmMtzvhApfsQN89cCXxJ3WOD1yXfRlx3Cv8NPK+pZedFFaCVnQ+8rGp02Kl8fPDX3Nvs/YYvAnQLhiGwga0AAAAASUVORK5CYII=);
69
+ }
70
+
71
+ .cp-container.cp-popup {
72
+ display: none;
73
+ width: 370px;
74
+ position: absolute;
75
+ margin-top: 0px;
76
+ padding: 10px 5px 5px 5px;
77
+ background-color: #fff;
78
+ border: 1px solid #dadada;
79
+ box-shadow: 0 3px 5px -2px rgba(0,0,0,0.47);
80
+ z-index: 2147483647;
81
+ }
82
+
83
+ .cp-container .cp-swatches ul {
84
+ width: auto;
85
+ box-sizing: border-box;
86
+ margin: 0;
87
+ padding: 0;
88
+ list-style-type: none;
89
+ }
90
+
91
+ .cp-container .cp-swatches li {
92
+ box-sizing: border-box;
93
+ display: block;
94
+ width: 23px;
95
+ height: 23px;
96
+ float: left;
97
+ margin: 5px;
98
+ border: 1px solid #888;
99
+ cursor: pointer;
100
+ }
101
+
102
+ .cp-container .cp-swatches li.actual {
103
+ border-color: #000;
104
+ box-shadow: 0 0 3px 1px rgb(250, 128, 0);
105
+ }
106
+
107
+ .cp-container .cp-swatches li span {
108
+ display: block;
109
+ width: 100%;
110
+ height: 100%;
111
+ }
112
+
113
+ .cp-container .cp-swatches button {
114
+ box-sizing: border-box;
115
+ display: block;
116
+ width: 23px;
117
+ height: 23px;
118
+ float: left;
119
+ margin: 5px;
120
+ border: 1px solid #c9c9c9;
121
+ border-radius: 5px;
122
+ background-color: #eee;
123
+ background-repeat: no-repeat;
124
+ background-position: center center;
125
+ cursor: default;
126
+ }
127
+
128
+ .cp-container .cp-swatches button:enabled {
129
+ cursor: pointer;
130
+ }
131
+
132
+ .cp-container .cp-swatches button:active:enabled {
133
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
134
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
135
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
136
+ }
137
+
138
+ .cp-container .cp-swatches button.add {
139
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAACVBMVEUAAAAAAAAAAACDY+nAAAAAAnRSTlP7AIHb9U4AAAAkSURBVHjavc4hDgAADMLAwf8fPYKcJGEnqzowCqwTeATh53QBxJABcUm2nCEAAAAASUVORK5CYII=);
140
+ }
141
+
142
+ .cp-container .cp-swatches button.remove {
143
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAApVBMVEUDAwMCAgICAgILCwsNDQ0REREGBgYHBwcICAgLCwsODg4JCQkLCwsgICAGBgYVFRUBAQEGBgYICAgkJCQJCQkFBQU+Pj4SEhICAgICAgIBAQECAgIREREFBQUICAgaGhoFBQUBAQEUFBQMDAwODg4WFhYTExMQEBAaGhoUFBRHR0chISEUFBQBAQEDAwNEREQKCgpAQEAHBwcFBQUFBQUAAAAAAAAxiR9QAAAANnRSTlP//f48aHCls7s0MHROCp1A+4WTBnqsAiDg3enbOqqBDMnzGlQyFBooDhwCCBjx0wJ4EmZOzgDzkDEIAAAAeklEQVR42o3L2RLBQBRF0VbGIIgYQgyJmCVBOOf/P81Fq+682Y+rait82kdbfNOQMN7sDhZgxXCepRZMxiTziwG4ucjybABpJrKwAG1yJEv1+avV5WAK9aCqNcl6gxV0GBzfcL2R90IAvdmpDP4aJZD+BGdI9j0DOg0vUhMssT3aBI8AAAAASUVORK5CYII=);
144
+ }
145
+
146
+ .cp-container .cp-swatches button.reset {
147
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA2FBMVEUCAgIBAQEFBQUGBgYPDw8CAgIqKioKCgobGxsGBgYFBQUKCgoHBwcdHR0mJiZFRUUMDAwQEBADAwMaGhoMDAwDAwMEBAQDAwMFBQUODg4FBQUPDw8NDQ0DAwMaGhoPDw8FBQUFBQUmJiYNDQ0CAgIBAQEGBgYGBgYREREODg4SEhI7OzsODg4RERE/Pz8REREODg4DAwMFBQUzMzM3NzcFBQUNDQ0dHR0GBgYODg4BAQEZGRkGBgYEBAQQEBAVFRUEBAQNDQ0EBAQGBgYAAAACAgIBAQEAAAAT9YvKAAAARXRSTlP9/afbOOwMSg52g2yPDAwCRjDYGEjsqumPMqU2ZtYONKyuDkDk7pWTNkAyBkI0BjBS25MICJ1CGJk2+A6LuyoUs0isnQDapSJ+AAAAqUlEQVR42kXI11bCUBQA0SMoIEhTigWkKBbEgpgAKYSQczP//0feJUjmbbZUVbW56hrTdu7UJpWL2opDt/cWzkmh07paugn0fZUy0NO/1h5DlWvg5GEvA3iVBObfX7rviZ0UG2M99oKIFuoZLFIkzzKDNwtnuBlMMeKQZBCwlVNY//8GYtEc3s3hJ4QqWrqE5/efj88AHiML6o+ANAXCSC3YZjsDZhur7RdGhjsGc+eEZwAAAABJRU5ErkJggg==);
148
+ }
149
+
150
+ .cp-container button:disabled {
151
+ opacity: 0.27;
152
+ }
app/extensions/fields/asset/jquery-colorpickersliders/jquery.colorpickersliders.js ADDED
@@ -0,0 +1,1674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*jshint undef: true, unused:true, browser:true */
2
+ /*global jQuery: true, tinycolor: false */
3
+
4
+ /*!=========================================================================
5
+ * jQuery Color Picker Sliders
6
+ * v4.1.7
7
+ *
8
+ * An advanced responsive color selector with color swatches and support for
9
+ * human perceived lightness. Works in all modern browsers and on touch devices.
10
+ *
11
+ * https://github.com/istvan-ujjmeszaros/jquery-colorpickersliders
12
+ * http://virtuosoft.eu/code/jquery-colorpickersliders/
13
+ *
14
+ * Copyright 2013 István Ujj-Mészáros
15
+ *
16
+ * Thanks for the contributors:
17
+ * imaguiraga - https://github.com/imaguiraga
18
+ * balmasich - https://github.com/balmasich
19
+ *
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
23
+ *
24
+ * http://www.apache.org/licenses/LICENSE-2.0
25
+ *
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
31
+ *
32
+ * Requirements:
33
+ *
34
+ * TinyColor: https://github.com/bgrins/TinyColor
35
+ *
36
+ * Using color math algorithms from EasyRGB Web site:
37
+ * http://www.easyrgb.com/index.php?X=MATH
38
+ * ====================================================================== */
39
+
40
+ (function($) {
41
+ "use strict";
42
+
43
+ $.fn.ColorPickerSliders = function(options) {
44
+
45
+ return this.each(function() {
46
+
47
+ var alreadyinitialized = false,
48
+ settings,
49
+ triggerelement = $(this),
50
+ triggerelementisinput = triggerelement.is("input"),
51
+ container,
52
+ elements,
53
+ swatches,
54
+ rendermode = false,
55
+ MAXLIGHT = 101, // 101 needed for bright colors (maybe due to rounding errors)
56
+ dragTarget = false,
57
+ lastUpdateTime = 0,
58
+ color = {
59
+ tiny: null,
60
+ hsla: null,
61
+ rgba: null,
62
+ cielch: null
63
+ },
64
+ MAXVALIDCHROMA = 144; // maximum valid chroma value found convertible to rgb (blue)
65
+
66
+ init();
67
+
68
+ function init() {
69
+ if (alreadyinitialized) {
70
+ return;
71
+ }
72
+
73
+ alreadyinitialized = true;
74
+
75
+ rendermode = $.fn.ColorPickerSliders.detectWhichGradientIsSupported();
76
+
77
+ if (rendermode === "filter") {
78
+ rendermode = false;
79
+ }
80
+
81
+ if (!rendermode && $.fn.ColorPickerSliders.svgSupported()) {
82
+ rendermode = "svg";
83
+ }
84
+
85
+ _initSettings();
86
+
87
+ // force preview when browser doesn't support css gradients
88
+ if ((!settings.order.hasOwnProperty('preview') || settings.order.preview === false) && !rendermode) {
89
+ settings.order.preview = 10;
90
+ }
91
+
92
+ _buildHtml();
93
+ _initElements();
94
+
95
+ if (triggerelementisinput) {
96
+ color.tiny = tinycolor(triggerelement.val());
97
+
98
+ if (!color.tiny.format) {
99
+ color.tiny = tinycolor(settings.color);
100
+ }
101
+ }
102
+ else {
103
+ color.tiny = tinycolor(settings.color);
104
+ }
105
+
106
+ color.hsla = color.tiny.toHsl();
107
+ color.rgba = color.tiny.toRgb();
108
+ color.cielch = $.fn.ColorPickerSliders.rgb2lch(color.rgba);
109
+
110
+ _renderSwatches();
111
+ _bindEvents();
112
+
113
+ _updateAllElements();
114
+ }
115
+
116
+ function updateColor(newcolor, disableinputupdate) {
117
+ var updatedcolor = tinycolor(newcolor);
118
+
119
+ if (updatedcolor.format) {
120
+ container.removeClass("cp-unconvertible-cie-color");
121
+
122
+ color.tiny = updatedcolor;
123
+ color.hsla = updatedcolor.toHsl();
124
+ color.rgba = updatedcolor.toRgb();
125
+ color.cielch = $.fn.ColorPickerSliders.rgb2lch(color.rgba);
126
+
127
+ _updateAllElements(disableinputupdate);
128
+
129
+ return true;
130
+ }
131
+ else {
132
+ return false;
133
+ }
134
+ }
135
+
136
+ function showPopup() {
137
+ container.data("justshown", true);
138
+
139
+ $('.cp-container.cp-popup').hide();
140
+
141
+ var viewportwidth = $(window).width(),
142
+ offset = triggerelement.offset(),
143
+ popuporiginalwidth;
144
+
145
+ popuporiginalwidth = container.data('popup-original-width');
146
+
147
+ if (typeof popuporiginalwidth === "undefined") {
148
+ popuporiginalwidth = container.outerWidth();
149
+ container.data('popup-original-width', popuporiginalwidth);
150
+ }
151
+
152
+ if (offset.left + popuporiginalwidth + 12 <= viewportwidth) {
153
+ container.css('left', offset.left).width(popuporiginalwidth);
154
+ }
155
+ else if (popuporiginalwidth <= viewportwidth) {
156
+ container.css('left', viewportwidth - popuporiginalwidth - 12).width(popuporiginalwidth);
157
+ }
158
+ else {
159
+ container.css('left', 0).width(viewportwidth - 12);
160
+ }
161
+
162
+ container.css('top', offset.top + triggerelement.outerHeight()).show();
163
+ }
164
+
165
+ function hidePopup() {
166
+ container.hide();
167
+ }
168
+
169
+ function _initSettings() {
170
+ settings = $.extend({
171
+ color: 'hsl(342, 52%, 70%)',
172
+ preventtouchkeyboardonshow: true,
173
+ swatches: ['FFFFFF', 'C0C0C0', '808080', '000000', 'FF0000', '800000', 'FFFF00', '808000', '00FF00', '008000', '00FFFF', '008080', '0000FF', '000080', 'FF00FF', '800080'],
174
+ customswatches: 'colorpickkersliders', // false or a grop name
175
+ connectedinput: false, // can be a jquery object or a selector
176
+ flat: false,
177
+ disableautopopup: false,
178
+ updateinterval: 30, // update interval of the sliders while in drag (ms)
179
+ previewontriggerelement: true,
180
+ previewcontrasttreshold: 15,
181
+ previewformat: 'rgb', // rgb/hsl/hex
182
+ erroneousciecolormarkers: true,
183
+ invalidcolorsopacity: 1, // everything below 1 causes slightly slower responses
184
+ finercierangeedges: true, // can be disabled for faster responses
185
+ titleswatchesadd: "Add color to swatches",
186
+ titleswatchesremove: "Remove color from swatches",
187
+ titleswatchesreset: "Reset to default swatches",
188
+ order: {},
189
+ labels: {},
190
+ onchange: function() {
191
+ }
192
+ }, options);
193
+
194
+ if (options.hasOwnProperty('order')) {
195
+ settings.order = $.extend({
196
+ opacity: false,
197
+ hsl: false,
198
+ rgb: false,
199
+ cie: false,
200
+ preview: false
201
+ }, options.order);
202
+ }
203
+ else {
204
+ settings.order = {
205
+ opacity: 0,
206
+ hsl: 1,
207
+ rgb: 2,
208
+ cie: 3, // cie sliders can increase response time of all sliders!
209
+ preview: 4
210
+ };
211
+ }
212
+
213
+ if (!options.hasOwnProperty('labels')) {
214
+ options.labels = {};
215
+ }
216
+
217
+ settings.labels = $.extend({
218
+ hslhue: 'HSL-Hue',
219
+ hslsaturation: 'HSL-Saturation',
220
+ hsllightness: 'HSL-Lightness',
221
+ rgbred: 'RGB-Red',
222
+ rgbgreen: 'RGB-Green',
223
+ rgbblue: 'RGB-Blue',
224
+ cielightness: 'CIE-Lightness',
225
+ ciechroma: 'CIE-Chroma',
226
+ ciehue: 'CIE-hue',
227
+ opacity: 'Opacity',
228
+ preview: 'Preview'
229
+ }, options.labels);
230
+ }
231
+
232
+ function _buildHtml() {
233
+ var sliders = [],
234
+ color_picker_html = '';
235
+
236
+ if (settings.order.opacity !== false) {
237
+ sliders[settings.order.opacity] = '<div class="cp-slider cp-opacity cp-transparency"><span>' + settings.labels.opacity + '</span><div class="cp-marker"></div></div>';
238
+ }
239
+
240
+ if (settings.order.hsl !== false) {
241
+ sliders[settings.order.hsl] = '<div class="cp-slider cp-hslhue cp-transparency"><span>' + settings.labels.hslhue + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-hslsaturation cp-transparency"><span>' + settings.labels.hslsaturation + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-hsllightness cp-transparency"><span>' + settings.labels.hsllightness + '</span><div class="cp-marker"></div></div>';
242
+ }
243
+
244
+ if (settings.order.rgb !== false) {
245
+ sliders[settings.order.rgb] = '<div class="cp-slider cp-rgbred cp-transparency"><span>' + settings.labels.rgbred + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-rgbgreen cp-transparency"><span>' + settings.labels.rgbgreen + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-rgbblue cp-transparency"><span>' + settings.labels.rgbblue + '</span><div class="cp-marker"></div></div>';
246
+ }
247
+
248
+ if (settings.order.cie !== false) {
249
+ sliders[settings.order.cie] = '<div class="cp-slider cp-cielightness cp-transparency"><span>' + settings.labels.cielightness + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-ciechroma cp-transparency"><span>' + settings.labels.ciechroma + '</span><div class="cp-marker"></div></div><div class="cp-slider cp-ciehue cp-transparency"><span>' + settings.labels.ciehue + '</span><div class="cp-marker"></div></div>';
250
+ }
251
+
252
+ if (settings.order.preview !== false) {
253
+ sliders[settings.order.preview] = '<div class="cp-preview cp-transparency"><input type="text" readonly="readonly"></div>';
254
+ }
255
+
256
+ color_picker_html += '<div class="cp-sliders">';
257
+
258
+ for (var i = 0; i < sliders.length; i++) {
259
+ if (typeof sliders[i] === "undefined") {
260
+ continue;
261
+ }
262
+
263
+ color_picker_html += sliders[i];
264
+ }
265
+
266
+ color_picker_html += '</div>';
267
+
268
+ if (settings.swatches) {
269
+ color_picker_html += '<div class="cp-swatches"><button type="button" class="add" title="' + settings.titleswatchesadd + '"></button><button type="button" class="remove" title="' + settings.titleswatchesremove + '"></button><button type="button" class="reset" title="' + settings.titleswatchesreset + '"></button><ul></ul><div style="clear:both"></div></div>';
270
+ }
271
+
272
+ if (settings.flat) {
273
+ if (triggerelementisinput) {
274
+ container = $('<div class="cp-container"></div>').insertAfter(triggerelement);
275
+ }
276
+ else {
277
+ container = $('<div class="cp-container"></div>');
278
+ triggerelement.append(container);
279
+ }
280
+ }
281
+ else {
282
+ container = $('<div class="cp-container"></div>').appendTo('body');
283
+ }
284
+
285
+ container.append(color_picker_html);
286
+
287
+ if (settings.connectedinput instanceof jQuery) {
288
+ settings.connectedinput.add(triggerelement);
289
+ }
290
+ else if (settings.connectedinput === false) {
291
+ settings.connectedinput = triggerelement;
292
+ }
293
+ else {
294
+ settings.connectedinput = $(settings.connectedinput).add(triggerelement);
295
+ }
296
+
297
+ if (!settings.flat) {
298
+ container.addClass('cp-popup');
299
+ }
300
+ }
301
+
302
+ function _initElements() {
303
+ elements = {
304
+ connectedinput: false,
305
+ actualswatch: false,
306
+ swatchescontainer: $(".cp-swatches", container),
307
+ swatches: $(".cp-swatches ul", container),
308
+ swatches_add: $(".cp-swatches button.add", container),
309
+ swatches_remove: $(".cp-swatches button.remove", container),
310
+ swatches_reset: $(".cp-swatches button.reset", container),
311
+ all_sliders: $(".cp-sliders, .cp-preview input", container),
312
+ sliders: {
313
+ hue: $(".cp-hslhue span", container),
314
+ hue_marker: $(".cp-hslhue .cp-marker", container),
315
+ saturation: $(".cp-hslsaturation span", container),
316
+ saturation_marker: $(".cp-hslsaturation .cp-marker", container),
317
+ lightness: $(".cp-hsllightness span", container),
318
+ lightness_marker: $(".cp-hsllightness .cp-marker", container),
319
+ opacity: $(".cp-opacity span", container),
320
+ opacity_marker: $(".cp-opacity .cp-marker", container),
321
+ red: $(".cp-rgbred span", container),
322
+ red_marker: $(".cp-rgbred .cp-marker", container),
323
+ green: $(".cp-rgbgreen span", container),
324
+ green_marker: $(".cp-rgbgreen .cp-marker", container),
325
+ blue: $(".cp-rgbblue span", container),
326
+ blue_marker: $(".cp-rgbblue .cp-marker", container),
327
+ cielightness: $(".cp-cielightness span", container),
328
+ cielightness_marker: $(".cp-cielightness .cp-marker", container),
329
+ ciechroma: $(".cp-ciechroma span", container),
330
+ ciechroma_marker: $(".cp-ciechroma .cp-marker", container),
331
+ ciehue: $(".cp-ciehue span", container),
332
+ ciehue_marker: $(".cp-ciehue .cp-marker", container),
333
+ preview: $(".cp-preview input", container)
334
+ }
335
+ };
336
+
337
+ if (settings.connectedinput) {
338
+ if (settings.connectedinput instanceof jQuery) {
339
+ elements.connectedinput = settings.connectedinput;
340
+ }
341
+ else {
342
+ elements.connectedinput = $(settings.connectedinput);
343
+ }
344
+ }
345
+
346
+ if (!settings.customswatches) {
347
+ elements.swatches_add.hide();
348
+ elements.swatches_remove.hide();
349
+ elements.swatches_reset.hide();
350
+ }
351
+ }
352
+
353
+ function destroyColorPicker() {
354
+ if (container instanceof jQuery) {
355
+ hidePopup();
356
+ container.remove();
357
+ alreadyinitialized = false;
358
+ }
359
+ }
360
+
361
+ function resetColorPicker() {
362
+ init();
363
+ }
364
+
365
+ function _bindEvents() {
366
+ triggerelement.on('colorpickersliders.destroy', function() {
367
+ destroyColorPicker();
368
+ });
369
+
370
+ triggerelement.on('colorpickersliders.reset', function() {
371
+ resetColorPicker();
372
+ });
373
+
374
+ triggerelement.on('colorpickersliders.updateColor', function(e, newcolor) {
375
+ updateColor(newcolor);
376
+ });
377
+
378
+ triggerelement.on('colorpickersliders.showPopup', function() {
379
+ showPopup();
380
+ });
381
+
382
+ triggerelement.on('colorpickersliders.hidePopup', function() {
383
+ hidePopup();
384
+ });
385
+
386
+ $(document).on("colorpickersliders.changeswatches", function() {
387
+ _renderSwatches();
388
+ });
389
+
390
+ if (!settings.flat && !settings.disableautopopup) {
391
+ // we need tabindex defined to be focusable
392
+ if (typeof triggerelement.attr("tabindex") === "undefined") {
393
+ triggerelement.attr("tabindex", -1);
394
+ }
395
+
396
+ if (settings.preventtouchkeyboardonshow) {
397
+ $(triggerelement).prop("readonly", true);
398
+
399
+ $(triggerelement).on("click", function(ev) {
400
+ if (container.data("justshown")) {
401
+ container.data("justshown", false);
402
+ }
403
+ else {
404
+ $(triggerelement).prop("readonly", false);
405
+ ev.stopPropagation();
406
+ }
407
+ });
408
+ }
409
+
410
+ // buttons doesn't get focus in webkit browsers
411
+ // https://bugs.webkit.org/show_bug.cgi?id=22261
412
+ // and only input and button are focusable on iPad
413
+ // so it is safer to register click on any other than inputs
414
+ if (!triggerelementisinput) {
415
+ $(triggerelement).on("click", function(ev) {
416
+ showPopup();
417
+
418
+ ev.stopPropagation();
419
+ });
420
+
421
+ $(document).on("click", function() {
422
+ hidePopup();
423
+ });
424
+ }
425
+
426
+ $(triggerelement).on("focus", function(ev) {
427
+ showPopup();
428
+
429
+ ev.stopPropagation();
430
+ });
431
+
432
+ $(triggerelement).on("blur", function(ev) {
433
+ hidePopup();
434
+
435
+ if (settings.preventtouchkeyboardonshow) {
436
+ $(triggerelement).prop("readonly", true);
437
+ }
438
+
439
+ ev.stopPropagation();
440
+ });
441
+
442
+ container.on("touchstart mousedown", function(ev) {
443
+ ev.preventDefault();
444
+ ev.stopPropagation();
445
+
446
+ return false;
447
+ });
448
+ }
449
+
450
+ container.on("contextmenu", function(ev) {
451
+ ev.preventDefault();
452
+ return false;
453
+ });
454
+
455
+ elements.swatches.on("click", "li span", function(ev) {
456
+ var color = $(this).css("background-color");
457
+ updateColor(color);
458
+ ev.preventDefault();
459
+ });
460
+
461
+ elements.swatches_add.on("click", function(ev) {
462
+ _addCurrentColorToSwatches();
463
+ ev.preventDefault();
464
+ });
465
+
466
+ elements.swatches_remove.on("click", function(ev) {
467
+ _removeActualColorFromSwatches();
468
+ ev.preventDefault();
469
+ });
470
+
471
+ elements.swatches_reset.on("click", function(ev) {
472
+ _resetSwatches();
473
+ ev.preventDefault();
474
+ });
475
+
476
+ elements.sliders.hue.parent().on("touchstart mousedown", function(ev) {
477
+ ev.preventDefault();
478
+
479
+ if (ev.which > 1) {
480
+ return;
481
+ }
482
+
483
+ dragTarget = "hue";
484
+
485
+ var percent = _updateMarkerPosition(dragTarget, ev);
486
+
487
+ _updateColorsProperty('hsla', 'h', 3.6 * percent);
488
+
489
+ _updateAllElements();
490
+ });
491
+
492
+ elements.sliders.saturation.parent().on("touchstart mousedown", function(ev) {
493
+ ev.preventDefault();
494
+
495
+ if (ev.which > 1) {
496
+ return;
497
+ }
498
+
499
+ dragTarget = "saturation";
500
+
501
+ var percent = _updateMarkerPosition(dragTarget, ev);
502
+
503
+ _updateColorsProperty('hsla', 's', percent / 100);
504
+
505
+ _updateAllElements();
506
+ });
507
+
508
+ elements.sliders.lightness.parent().on("touchstart mousedown", function(ev) {
509
+ ev.preventDefault();
510
+
511
+ if (ev.which > 1) {
512
+ return;
513
+ }
514
+
515
+ dragTarget = "lightness";
516
+
517
+ var percent = _updateMarkerPosition(dragTarget, ev);
518
+
519
+ _updateColorsProperty('hsla', 'l', percent / 100);
520
+
521
+ _updateAllElements();
522
+ });
523
+
524
+ elements.sliders.opacity.parent().on("touchstart mousedown", function(ev) {
525
+ ev.preventDefault();
526
+
527
+ if (ev.which > 1) {
528
+ return;
529
+ }
530
+
531
+ dragTarget = "opacity";
532
+
533
+ var percent = _updateMarkerPosition(dragTarget, ev);
534
+
535
+ _updateColorsProperty('hsla', 'a', percent / 100);
536
+
537
+ _updateAllElements();
538
+ });
539
+
540
+ elements.sliders.red.parent().on("touchstart mousedown", function(ev) {
541
+ ev.preventDefault();
542
+
543
+ if (ev.which > 1) {
544
+ return;
545
+ }
546
+
547
+ dragTarget = "red";
548
+
549
+ var percent = _updateMarkerPosition(dragTarget, ev);
550
+
551
+ _updateColorsProperty('rgba', 'r', 2.55 * percent);
552
+
553
+ _updateAllElements();
554
+ });
555
+
556
+ elements.sliders.green.parent().on("touchstart mousedown", function(ev) {
557
+ ev.preventDefault();
558
+
559
+ if (ev.which > 1) {
560
+ return;
561
+ }
562
+
563
+ dragTarget = "green";
564
+
565
+ var percent = _updateMarkerPosition(dragTarget, ev);
566
+
567
+ _updateColorsProperty('rgba', 'g', 2.55 * percent);
568
+
569
+ _updateAllElements();
570
+ });
571
+
572
+ elements.sliders.blue.parent().on("touchstart mousedown", function(ev) {
573
+ ev.preventDefault();
574
+
575
+ if (ev.which > 1) {
576
+ return;
577
+ }
578
+
579
+ dragTarget = "blue";
580
+
581
+ var percent = _updateMarkerPosition(dragTarget, ev);
582
+
583
+ _updateColorsProperty('rgba', 'b', 2.55 * percent);
584
+
585
+ _updateAllElements();
586
+ });
587
+
588
+ elements.sliders.cielightness.parent().on("touchstart mousedown", function(ev) {
589
+ ev.preventDefault();
590
+
591
+ if (ev.which > 1) {
592
+ return;
593
+ }
594
+
595
+ dragTarget = "cielightness";
596
+
597
+ var percent = _updateMarkerPosition(dragTarget, ev);
598
+
599
+ _updateColorsProperty('cielch', 'l', (MAXLIGHT / 100) * percent);
600
+
601
+ _updateAllElements();
602
+ });
603
+
604
+ elements.sliders.ciechroma.parent().on("touchstart mousedown", function(ev) {
605
+ ev.preventDefault();
606
+
607
+ if (ev.which > 1) {
608
+ return;
609
+ }
610
+
611
+ dragTarget = "ciechroma";
612
+
613
+ var percent = _updateMarkerPosition(dragTarget, ev);
614
+
615
+ _updateColorsProperty('cielch', 'c', (MAXVALIDCHROMA / 100) * percent);
616
+
617
+ _updateAllElements();
618
+ });
619
+
620
+ elements.sliders.ciehue.parent().on("touchstart mousedown", function(ev) {
621
+ ev.preventDefault();
622
+
623
+ if (ev.which > 1) {
624
+ return;
625
+ }
626
+
627
+ dragTarget = "ciehue";
628
+
629
+ var percent = _updateMarkerPosition(dragTarget, ev);
630
+
631
+ _updateColorsProperty('cielch', 'h', 3.6 * percent);
632
+
633
+ _updateAllElements();
634
+ });
635
+
636
+ elements.sliders.preview.on("click", function() {
637
+ this.select();
638
+ });
639
+
640
+ $(document).on("touchmove mousemove", function(ev) {
641
+ if (!dragTarget) {
642
+ return;
643
+ }
644
+
645
+ var percent = _updateMarkerPosition(dragTarget, ev);
646
+
647
+ switch (dragTarget) {
648
+ case "hue":
649
+ _updateColorsProperty('hsla', 'h', 3.6 * percent);
650
+ break;
651
+ case "saturation":
652
+ _updateColorsProperty('hsla', 's', percent / 100);
653
+ break;
654
+ case "lightness":
655
+ _updateColorsProperty('hsla', 'l', percent / 100);
656
+ break;
657
+ case "opacity":
658
+ _updateColorsProperty('hsla', 'a', percent / 100);
659
+ break;
660
+ case "red":
661
+ _updateColorsProperty('rgba', 'r', 2.55 * percent);
662
+ break;
663
+ case "green":
664
+ _updateColorsProperty('rgba', 'g', 2.55 * percent);
665
+ break;
666
+ case "blue":
667
+ _updateColorsProperty('rgba', 'b', 2.55 * percent);
668
+ break;
669
+ case "cielightness":
670
+ _updateColorsProperty('cielch', 'l', (MAXLIGHT / 100) * percent);
671
+ break;
672
+ case "ciechroma":
673
+ _updateColorsProperty('cielch', 'c', (MAXVALIDCHROMA / 100) * percent);
674
+ break;
675
+ case "ciehue":
676
+ _updateColorsProperty('cielch', 'h', 3.6 * percent);
677
+ break;
678
+ }
679
+
680
+ _updateAllElements();
681
+
682
+ ev.preventDefault();
683
+ });
684
+
685
+ $(document).on("touchend mouseup", function(ev) {
686
+ if (ev.which > 1) {
687
+ return;
688
+ }
689
+
690
+ if (dragTarget) {
691
+ dragTarget = false;
692
+ ev.preventDefault();
693
+ }
694
+ });
695
+
696
+ if (elements.connectedinput) {
697
+ elements.connectedinput.on('keyup change', function() {
698
+ var $input = $(this);
699
+
700
+ updateColor($input.val(), true);
701
+ });
702
+ }
703
+
704
+ }
705
+
706
+ function _parseCustomSwatches() {
707
+ swatches = [];
708
+
709
+ for (var i = 0; i < settings.swatches.length; i++) {
710
+ var color = tinycolor(settings.swatches[i]);
711
+
712
+ if (color.format) {
713
+ swatches.push(color.toRgbString());
714
+ }
715
+ }
716
+ }
717
+
718
+ function _renderSwatches() {
719
+ if (!settings.swatches) {
720
+ return;
721
+ }
722
+
723
+ if (settings.customswatches) {
724
+ var customswatches = false;
725
+
726
+ try {
727
+ customswatches = JSON.parse(localStorage.getItem("swatches-" + settings.customswatches));
728
+ }
729
+ catch (err) {
730
+ }
731
+
732
+ if (customswatches) {
733
+ swatches = customswatches;
734
+ }
735
+ else {
736
+ _parseCustomSwatches();
737
+ }
738
+ }
739
+ else {
740
+ _parseCustomSwatches();
741
+ }
742
+
743
+ if (swatches instanceof Array) {
744
+ elements.swatches.html("");
745
+ for (var i = 0; i < swatches.length; i++) {
746
+ var color = tinycolor(swatches[i]);
747
+
748
+ if (color.format) {
749
+ elements.swatches.append($("<li></li>").append($("<span></span>").css("background-color", color.toRgbString())));
750
+ }
751
+ }
752
+ }
753
+
754
+ _findActualColorsSwatch();
755
+ }
756
+
757
+ function _findActualColorsSwatch() {
758
+ var found = false;
759
+
760
+ $("span", elements.swatches).filter(function() {
761
+ var swatchcolor = $(this).css('background-color');
762
+
763
+ swatchcolor = tinycolor(swatchcolor);
764
+ swatchcolor.alpha = Math.round(swatchcolor.alpha * 100) / 100;
765
+
766
+ if (swatchcolor.toRgbString() === color.tiny.toRgbString()) {
767
+ found = true;
768
+
769
+ var currentswatch = $(this).parent();
770
+
771
+ if (!currentswatch.is(elements.actualswatch)) {
772
+ if (elements.actualswatch) {
773
+ elements.actualswatch.removeClass("actual");
774
+ }
775
+ elements.actualswatch = currentswatch;
776
+ currentswatch.addClass("actual");
777
+ }
778
+ }
779
+ });
780
+
781
+ if (!found) {
782
+ if (elements.actualswatch) {
783
+ elements.actualswatch.removeClass("actual");
784
+ elements.actualswatch = false;
785
+ }
786
+ }
787
+
788
+ if (elements.actualswatch) {
789
+ elements.swatches_add.prop("disabled", true);
790
+ elements.swatches_remove.prop("disabled", false);
791
+ }
792
+ else {
793
+ elements.swatches_add.prop("disabled", false);
794
+ elements.swatches_remove.prop("disabled", true);
795
+ }
796
+ }
797
+
798
+ function _storeSwatches() {
799
+ localStorage.setItem("swatches-" + settings.customswatches, JSON.stringify(swatches));
800
+ }
801
+
802
+ function _addCurrentColorToSwatches() {
803
+ swatches.unshift(color.tiny.toRgbString());
804
+ _storeSwatches();
805
+
806
+ $(document).trigger("colorpickersliders.changeswatches");
807
+ }
808
+
809
+ function _removeActualColorFromSwatches() {
810
+ var index = swatches.indexOf(color.tiny.toRgbString());
811
+
812
+ if (index !== -1) {
813
+ swatches.splice(index, 1);
814
+
815
+ _storeSwatches();
816
+ $(document).trigger("colorpickersliders.changeswatches");
817
+ }
818
+ }
819
+
820
+ function _resetSwatches() {
821
+ if (confirm("Do you really want to reset the swatches? All customizations will be lost!")) {
822
+ _parseCustomSwatches();
823
+
824
+ _storeSwatches();
825
+
826
+ $(document).trigger("colorpickersliders.changeswatches");
827
+ }
828
+ }
829
+
830
+ function _updateColorsProperty(format, property, value) {
831
+ switch (format) {
832
+ case 'hsla':
833
+
834
+ color.hsla[property] = value;
835
+ color.tiny = tinycolor({h: color.hsla.h, s: color.hsla.s, l: color.hsla.l, a: color.hsla.a});
836
+ color.rgba = color.tiny.toRgb();
837
+ color.cielch = $.fn.ColorPickerSliders.rgb2lch(color.rgba);
838
+
839
+ container.removeClass("cp-unconvertible-cie-color");
840
+
841
+ break;
842
+
843
+ case 'rgba':
844
+
845
+ color.rgba[property] = value;
846
+ color.tiny = tinycolor({r: color.rgba.r, g: color.rgba.g, b: color.rgba.b, a: color.hsla.a});
847
+ color.hsla = color.tiny.toHsl();
848
+ color.cielch = $.fn.ColorPickerSliders.rgb2lch(color.rgba);
849
+
850
+ container.removeClass("cp-unconvertible-cie-color");
851
+
852
+ break;
853
+
854
+ case 'cielch':
855
+
856
+ color.cielch[property] = value;
857
+ color.rgba = $.fn.ColorPickerSliders.lch2rgb(color.cielch);
858
+ color.tiny = tinycolor(color.rgba);
859
+ color.hsla = color.tiny.toHsl();
860
+
861
+ if (settings.erroneousciecolormarkers) {
862
+ if (color.rgba.isok) {
863
+ container.removeClass("cp-unconvertible-cie-color");
864
+ }
865
+ else {
866
+ container.addClass("cp-unconvertible-cie-color");
867
+ }
868
+ }
869
+
870
+ break;
871
+ }
872
+ }
873
+
874
+ function _updateMarkerPosition(slidername, ev) {
875
+ var percent = $.fn.ColorPickerSliders.calculateEventPositionPercentage(ev, elements.sliders[slidername]);
876
+
877
+ elements.sliders[slidername + '_marker'].data("position", percent);
878
+
879
+ return percent;
880
+ }
881
+
882
+ var updateAllElementsTimeout;
883
+
884
+ function _updateAllElementsTimer(disableinputupdate) {
885
+ updateAllElementsTimeout = setTimeout(function() {
886
+ _updateAllElements(disableinputupdate);
887
+ }, settings.updateinterval);
888
+ }
889
+
890
+ function _updateAllElements(disableinputupdate) {
891
+ clearTimeout(updateAllElementsTimeout);
892
+
893
+ Date.now = Date.now || function() { return +new Date; };
894
+
895
+ if (Date.now() - lastUpdateTime < settings.updateinterval) {
896
+ _updateAllElementsTimer(disableinputupdate);
897
+ return;
898
+ }
899
+
900
+ if (typeof disableinputupdate === "undefined") {
901
+ disableinputupdate = false;
902
+ }
903
+
904
+ lastUpdateTime = Date.now();
905
+
906
+ if (settings.order.opacity !== false) {
907
+ _renderOpacity();
908
+ }
909
+
910
+ if (settings.order.hsl !== false) {
911
+ _renderHue();
912
+ _renderSaturation();
913
+ _renderLightness();
914
+ }
915
+
916
+ if (settings.order.rgb !== false) {
917
+ _renderRed();
918
+ _renderGreen();
919
+ _renderBlue();
920
+ }
921
+
922
+ if (settings.order.cie !== false) {
923
+ _renderCieLightness();
924
+ _renderCieChroma();
925
+ _renderCieHue();
926
+ }
927
+
928
+ if (settings.order.preview !== false) {
929
+ _renderPreview();
930
+ }
931
+
932
+ if (!disableinputupdate) {
933
+ _updateConnectedInput();
934
+ }
935
+
936
+ if ((100 - color.cielch.l) * color.cielch.a < settings.previewcontrasttreshold) {
937
+ elements.all_sliders.css('color', '#000');
938
+ if (triggerelementisinput && settings.previewontriggerelement) {
939
+ triggerelement.css('background', color.tiny.toRgbString()).css('color', '#000');
940
+ }
941
+ }
942
+ else {
943
+ elements.all_sliders.css('color', '#fff');
944
+ if (triggerelementisinput && settings.previewontriggerelement) {
945
+ triggerelement.css('background', color.tiny.toRgbString()).css('color', '#fff');
946
+ }
947
+ }
948
+
949
+ _findActualColorsSwatch();
950
+
951
+ settings.onchange(container, color);
952
+
953
+ triggerelement.data("color", color);
954
+ }
955
+
956
+ function _updateConnectedInput() {
957
+ if (elements.connectedinput) {
958
+ elements.connectedinput.each(function(index, element) {
959
+ var $element = $(element),
960
+ format = $element.data('color-format') || settings.previewformat;
961
+
962
+ switch (format) {
963
+ case 'hex':
964
+ $element.val(color.tiny.toHexString());
965
+ break;
966
+ case 'hsl':
967
+ $element.val(color.tiny.toHslString());
968
+ break;
969
+ case 'rgb':
970
+ /* falls through */
971
+ default:
972
+ $element.val(color.tiny.toRgbString());
973
+ break;
974
+ }
975
+ });
976
+ }
977
+ }
978
+
979
+ function _renderHue() {
980
+ setGradient(elements.sliders.hue, $.fn.ColorPickerSliders.getScaledGradientStops(color.hsla, "h", 0, 360, 7));
981
+
982
+ elements.sliders.hue_marker.css("left", color.hsla.h / 360 * 100 + "%");
983
+ }
984
+
985
+ function _renderSaturation() {
986
+ setGradient(elements.sliders.saturation, $.fn.ColorPickerSliders.getScaledGradientStops(color.hsla, "s", 0, 1, 2));
987
+
988
+ elements.sliders.saturation_marker.css("left", color.hsla.s * 100 + "%");
989
+ }
990
+
991
+ function _renderLightness() {
992
+ setGradient(elements.sliders.lightness, $.fn.ColorPickerSliders.getScaledGradientStops(color.hsla, "l", 0, 1, 3));
993
+
994
+ elements.sliders.lightness_marker.css("left", color.hsla.l * 100 + "%");
995
+ }
996
+
997
+ function _renderOpacity() {
998
+ setGradient(elements.sliders.opacity, $.fn.ColorPickerSliders.getScaledGradientStops(color.hsla, "a", 0, 1, 2));
999
+
1000
+ elements.sliders.opacity_marker.css("left", color.hsla.a * 100 + "%");
1001
+ }
1002
+
1003
+ function _renderRed() {
1004
+ setGradient(elements.sliders.red, $.fn.ColorPickerSliders.getScaledGradientStops(color.rgba, "r", 0, 255, 2));
1005
+
1006
+ elements.sliders.red_marker.css("left", color.rgba.r / 255 * 100 + "%");
1007
+ }
1008
+
1009
+ function _renderGreen() {
1010
+ setGradient(elements.sliders.green, $.fn.ColorPickerSliders.getScaledGradientStops(color.rgba, "g", 0, 255, 2));
1011
+
1012
+ elements.sliders.green_marker.css("left", color.rgba.g / 255 * 100 + "%");
1013
+ }
1014
+
1015
+ function _renderBlue() {
1016
+ setGradient(elements.sliders.blue, $.fn.ColorPickerSliders.getScaledGradientStops(color.rgba, "b", 0, 255, 2));
1017
+
1018
+ elements.sliders.blue_marker.css("left", color.rgba.b / 255 * 100 + "%");
1019
+ }
1020
+
1021
+ function _extendCieGradientStops(gradientstops, property) {
1022
+ if (settings.invalidcolorsopacity === 1 || !settings.finercierangeedges) {
1023
+ return gradientstops;
1024
+ }
1025
+
1026
+ gradientstops.sort(function(a, b) {
1027
+ return a.position - b.position;
1028
+ });
1029
+
1030
+ var tmparray = [];
1031
+
1032
+ for (var i = 1; i < gradientstops.length; i++) {
1033
+ if (gradientstops[i].isok !== gradientstops[i - 1].isok) {
1034
+ var steps = Math.round(gradientstops[i].position) - Math.round(gradientstops[i - 1].position),
1035
+ extendedgradientstops = $.fn.ColorPickerSliders.getScaledGradientStops(gradientstops[i].rawcolor, property, gradientstops[i - 1].rawcolor[property], gradientstops[i].rawcolor[property], steps, settings.invalidcolorsopacity, gradientstops[i - 1].position, gradientstops[i].position);
1036
+
1037
+ for (var j = 0; j < extendedgradientstops.length; j++) {
1038
+ if (extendedgradientstops[j].isok !== gradientstops[i - 1].isok) {
1039
+ tmparray.push(extendedgradientstops[j]);
1040
+
1041
+ if (j > 0) {
1042
+ tmparray.push(extendedgradientstops[j - 1]);
1043
+ }
1044
+
1045
+ break;
1046
+ }
1047
+ }
1048
+ }
1049
+ }
1050
+
1051
+ return $.merge(tmparray, gradientstops);
1052
+ }
1053
+
1054
+ function _renderCieLightness() {
1055
+ var gradientstops = $.fn.ColorPickerSliders.getScaledGradientStops(color.cielch, "l", 0, 100, 10, settings.invalidcolorsopacity);
1056
+
1057
+ gradientstops = _extendCieGradientStops(gradientstops, "l");
1058
+
1059
+ setGradient(elements.sliders.cielightness, gradientstops);
1060
+
1061
+ elements.sliders.cielightness_marker.css("left", color.cielch.l / MAXLIGHT * 100 + "%");
1062
+ }
1063
+
1064
+ function _renderCieChroma() {
1065
+ var gradientstops = $.fn.ColorPickerSliders.getScaledGradientStops(color.cielch, "c", 0, MAXVALIDCHROMA, 5, settings.invalidcolorsopacity);
1066
+
1067
+ gradientstops = _extendCieGradientStops(gradientstops, "c");
1068
+
1069
+ setGradient(elements.sliders.ciechroma, gradientstops);
1070
+
1071
+ elements.sliders.ciechroma_marker.css("left", color.cielch.c / MAXVALIDCHROMA * 100 + "%");
1072
+ }
1073
+
1074
+ function _renderCieHue() {
1075
+ var gradientstops = $.fn.ColorPickerSliders.getScaledGradientStops(color.cielch, "h", 0, 360, 28, settings.invalidcolorsopacity);
1076
+
1077
+ gradientstops = _extendCieGradientStops(gradientstops, "h");
1078
+
1079
+ setGradient(elements.sliders.ciehue, gradientstops);
1080
+
1081
+ elements.sliders.ciehue_marker.css("left", color.cielch.h / 360 * 100 + "%");
1082
+ }
1083
+
1084
+ function _renderPreview() {
1085
+ elements.sliders.preview.css("background", $.fn.ColorPickerSliders.csscolor(color.rgba));
1086
+
1087
+ var colorstring;
1088
+
1089
+ switch (settings.previewformat) {
1090
+ case 'hex':
1091
+ colorstring = color.tiny.toHexString();
1092
+ break;
1093
+ case 'hsl':
1094
+ colorstring = color.tiny.toHslString();
1095
+ break;
1096
+ case 'rgb':
1097
+ /* falls through */
1098
+ default:
1099
+ colorstring = color.tiny.toRgbString();
1100
+ break;
1101
+ }
1102
+
1103
+ elements.sliders.preview.val(colorstring);
1104
+ }
1105
+
1106
+ function setGradient(element, gradientstops) {
1107
+ gradientstops.sort(function(a, b) {
1108
+ return a.position - b.position;
1109
+ });
1110
+
1111
+ switch(rendermode) {
1112
+ case "noprefix":
1113
+ $.fn.ColorPickerSliders.renderNoprefix(element, gradientstops);
1114
+ break;
1115
+ case "webkit":
1116
+ $.fn.ColorPickerSliders.renderWebkit(element, gradientstops);
1117
+ break;
1118
+ case "ms":
1119
+ $.fn.ColorPickerSliders.renderMs(element, gradientstops);
1120
+ break;
1121
+ case "svg": // can not repeat, radial can be only a covering ellipse (maybe there is a workaround, need more investigation)
1122
+ $.fn.ColorPickerSliders.renderSVG(element, gradientstops);
1123
+ break;
1124
+ case "oldwebkit": // can not repeat, no percent size with radial gradient (and no ellipse)
1125
+ $.fn.ColorPickerSliders.renderOldwebkit(element, gradientstops);
1126
+ break;
1127
+ }
1128
+ };
1129
+
1130
+ });
1131
+
1132
+ };
1133
+
1134
+ $.fn.ColorPickerSliders.getEventCoordinates = function(ev) {
1135
+ if (typeof ev.pageX !== "undefined") {
1136
+ return {
1137
+ pageX: ev.originalEvent.pageX,
1138
+ pageY: ev.originalEvent.pageY
1139
+ };
1140
+ }
1141
+ else if (typeof ev.originalEvent.touches !== "undefined") {
1142
+ return {
1143
+ pageX: ev.originalEvent.touches[0].pageX,
1144
+ pageY: ev.originalEvent.touches[0].pageY
1145
+ };
1146
+ }
1147
+ };
1148
+
1149
+ $.fn.ColorPickerSliders.calculateEventPositionPercentage = function(ev, containerElement) {
1150
+ var c = $.fn.ColorPickerSliders.getEventCoordinates(ev);
1151
+
1152
+ var xsize = containerElement.width(),
1153
+ offsetX = c.pageX - containerElement.offset().left;
1154
+
1155
+ var percent = offsetX / xsize * 100;
1156
+
1157
+ if (percent < 0) {
1158
+ percent = 0;
1159
+ }
1160
+
1161
+ if (percent > 100) {
1162
+ percent = 100;
1163
+ }
1164
+
1165
+ return percent;
1166
+ };
1167
+
1168
+ $.fn.ColorPickerSliders.getScaledGradientStops = function(color, scalableproperty, minvalue, maxvalue, steps, invalidcolorsopacity, minposition, maxposition) {
1169
+ if (typeof invalidcolorsopacity === "undefined") {
1170
+ invalidcolorsopacity = 1;
1171
+ }
1172
+
1173
+ if (typeof minposition === "undefined") {
1174
+ minposition = 0;
1175
+ }
1176
+
1177
+ if (typeof maxposition === "undefined") {
1178
+ maxposition = 100;
1179
+ }
1180
+
1181
+ var gradientStops = [],
1182
+ diff = maxvalue - minvalue,
1183
+ isok = true;
1184
+
1185
+ for (var i = 0; i < steps; ++i) {
1186
+ var currentstage = i / (steps - 1),
1187
+ modifiedcolor = $.fn.ColorPickerSliders.modifyColor(color, scalableproperty, currentstage * diff + minvalue),
1188
+ csscolor;
1189
+
1190
+ if (invalidcolorsopacity < 1) {
1191
+ var stagergb = $.fn.ColorPickerSliders.lch2rgb(modifiedcolor, invalidcolorsopacity);
1192
+
1193
+ isok = stagergb.isok;
1194
+ csscolor = $.fn.ColorPickerSliders.csscolor(stagergb, invalidcolorsopacity);
1195
+ }
1196
+ else {
1197
+ csscolor = $.fn.ColorPickerSliders.csscolor(modifiedcolor, invalidcolorsopacity);
1198
+ }
1199
+
1200
+ gradientStops[i] = {
1201
+ color: tinycolor(csscolor).toRgbString(),
1202
+ position: Math.round((currentstage * (maxposition - minposition) + minposition) * 100) / 100,
1203
+ isok: isok,
1204
+ rawcolor: modifiedcolor
1205
+ };
1206
+ }
1207
+
1208
+ return gradientStops;
1209
+ };
1210
+
1211
+ $.fn.ColorPickerSliders.getGradientStopsCSSString = function(gradientstops) {
1212
+ var gradientstring = "",
1213
+ oldwebkit = "",
1214
+ svgstoppoints = "";
1215
+
1216
+ for (var i = 0; i < gradientstops.length; i++) {
1217
+ var el = gradientstops[i];
1218
+
1219
+ gradientstring += "," + el.color + " " + el.position + "%";
1220
+ oldwebkit += ",color-stop(" + el.position + "%," + el.color + ")";
1221
+
1222
+ var svgcolor = tinycolor(el.color);
1223
+
1224
+ svgstoppoints += '<stop ' + 'stop-color="' + svgcolor.toHexString() + '" stop-opacity="' + svgcolor.toRgb().a + '"' + ' offset="' + el.position/100 + '"/>';
1225
+ }
1226
+
1227
+ return {
1228
+ noprefix: gradientstring,
1229
+ oldwebkit: oldwebkit,
1230
+ svg: svgstoppoints
1231
+ };
1232
+ };
1233
+
1234
+ $.fn.ColorPickerSliders.renderNoprefix = function(element, gradientstops) {
1235
+ var css = "linear-gradient(to right",
1236
+ stoppoints = $.fn.ColorPickerSliders.getGradientStopsCSSString(gradientstops).noprefix;
1237
+
1238
+ css += stoppoints + ")";
1239
+
1240
+ element.css("background-image", css);
1241
+ };
1242
+
1243
+ $.fn.ColorPickerSliders.renderWebkit = function(element, gradientstops) {
1244
+ var css = "-webkit-linear-gradient(left",
1245
+ stoppoints = $.fn.ColorPickerSliders.getGradientStopsCSSString(gradientstops).noprefix;
1246
+
1247
+ css += stoppoints + ")";
1248
+
1249
+ element.css("background-image", css);
1250
+ };
1251
+
1252
+ $.fn.ColorPickerSliders.renderOldwebkit = function(element, gradientstops) {
1253
+ var css = "-webkit-gradient(linear, 0% 0%, 100% 0%",
1254
+ stoppoints = $.fn.ColorPickerSliders.getGradientStopsCSSString(gradientstops).oldwebkit;
1255
+
1256
+ css += stoppoints + ")";
1257
+
1258
+ element.css("background-image", css);
1259
+ };
1260
+
1261
+ $.fn.ColorPickerSliders.renderMs = function(element, gradientstops) {
1262
+ var css = "-ms-linear-gradient(to right",
1263
+ stoppoints = $.fn.ColorPickerSliders.getGradientStopsCSSString(gradientstops).noprefix;
1264
+
1265
+ css += stoppoints + ")";
1266
+
1267
+ element.css("background-image", css);
1268
+ };
1269
+
1270
+ $.fn.ColorPickerSliders.renderSVG = function(element, gradientstops) {
1271
+ var svg = "",
1272
+ svgstoppoints = $.fn.ColorPickerSliders.getGradientStopsCSSString(gradientstops).svg;
1273
+
1274
+ svg = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="vsgg" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="100%" y2="0">';
1275
+ svg += svgstoppoints;
1276
+ svg += '</linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#vsgg)" /></svg>';
1277
+ svg = "url(data:image/svg+xml;base64," + $.fn.ColorPickerSliders.base64encode(svg) + ")";
1278
+
1279
+ element.css("background-image", svg);
1280
+ };
1281
+
1282
+ /* source: http://phpjs.org/functions/base64_encode/ */
1283
+ $.fn.ColorPickerSliders.base64encode = function(data) {
1284
+ var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
1285
+ var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,
1286
+ ac = 0,
1287
+ enc = "",
1288
+ tmp_arr = [];
1289
+
1290
+ if (!data) {
1291
+ return data;
1292
+ }
1293
+
1294
+ do {
1295
+ o1 = data.charCodeAt(i++);
1296
+ o2 = data.charCodeAt(i++);
1297
+ o3 = data.charCodeAt(i++);
1298
+
1299
+ bits = o1 << 16 | o2 << 8 | o3;
1300
+
1301
+ h1 = bits >> 18 & 0x3f;
1302
+ h2 = bits >> 12 & 0x3f;
1303
+ h3 = bits >> 6 & 0x3f;
1304
+ h4 = bits & 0x3f;
1305
+
1306
+ tmp_arr[ac++] = b64.charAt(h1) + b64.charAt(h2) + b64.charAt(h3) + b64.charAt(h4);
1307
+ } while (i < data.length);
1308
+
1309
+ enc = tmp_arr.join('');
1310
+
1311
+ var r = data.length % 3;
1312
+
1313
+ return (r ? enc.slice(0, r - 3) : enc) + '==='.slice(r || 3);
1314
+ };
1315
+
1316
+ $.fn.ColorPickerSliders.isGoodRgb = function(rgb) {
1317
+ // the default acceptable values are out of 0..255 due to
1318
+ // rounding errors with yellow and blue colors (258, -1)
1319
+ var maxacceptable = 258;
1320
+ var minacceptable = -1;
1321
+
1322
+ if (rgb.r > maxacceptable || rgb.g > maxacceptable || rgb.b > maxacceptable || rgb.r < minacceptable || rgb.g < minacceptable || rgb.b < minacceptable) {
1323
+ return false;
1324
+ }
1325
+ else {
1326
+ rgb.r = Math.min(255, rgb.r);
1327
+ rgb.g = Math.min(255, rgb.g);
1328
+ rgb.b = Math.min(255, rgb.b);
1329
+ rgb.r = Math.max(0, rgb.r);
1330
+ rgb.g = Math.max(0, rgb.g);
1331
+ rgb.b = Math.max(0, rgb.b);
1332
+
1333
+ return true;
1334
+ }
1335
+ };
1336
+
1337
+ $.fn.ColorPickerSliders.rgb2lch = function(rgb) {
1338
+ var lch = $.fn.ColorPickerSliders.CIELab2CIELCH($.fn.ColorPickerSliders.XYZ2CIELab($.fn.ColorPickerSliders.rgb2XYZ(rgb)));
1339
+
1340
+ if (rgb.hasOwnProperty('a')) {
1341
+ lch.a = rgb.a;
1342
+ }
1343
+
1344
+ return lch;
1345
+ };
1346
+
1347
+ $.fn.ColorPickerSliders.lch2rgb = function(lch, invalidcolorsopacity) {
1348
+ if (typeof invalidcolorsopacity === "undefined") {
1349
+ invalidcolorsopacity = 1;
1350
+ }
1351
+
1352
+ var rgb = $.fn.ColorPickerSliders.XYZ2rgb($.fn.ColorPickerSliders.CIELab2XYZ($.fn.ColorPickerSliders.CIELCH2CIELab(lch)));
1353
+
1354
+ if ($.fn.ColorPickerSliders.isGoodRgb(rgb)) {
1355
+ if (lch.hasOwnProperty('a')) {
1356
+ rgb.a = lch.a;
1357
+ }
1358
+
1359
+ rgb.isok = true;
1360
+
1361
+ return rgb;
1362
+ }
1363
+
1364
+ var tmp = $.extend({}, lch),
1365
+ lastbadchroma = tmp.c,
1366
+ lastgoodchroma = -1,
1367
+ loops = 0;
1368
+
1369
+ do {
1370
+ ++loops;
1371
+
1372
+ tmp.c = lastgoodchroma + ((lastbadchroma - lastgoodchroma) / 2);
1373
+
1374
+ rgb = $.fn.ColorPickerSliders.XYZ2rgb($.fn.ColorPickerSliders.CIELab2XYZ($.fn.ColorPickerSliders.CIELCH2CIELab(tmp)));
1375
+
1376
+ if ($.fn.ColorPickerSliders.isGoodRgb(rgb)) {
1377
+ lastgoodchroma = tmp.c;
1378
+ }
1379
+ else {
1380
+ lastbadchroma = tmp.c;
1381
+ }
1382
+ } while (Math.abs(lastbadchroma - lastgoodchroma) > 0.9 && loops < 100);
1383
+
1384
+ if (lch.hasOwnProperty('a')) {
1385
+ rgb.a = lch.a;
1386
+ }
1387
+
1388
+ rgb.r = Math.max(0, rgb.r);
1389
+ rgb.g = Math.max(0, rgb.g);
1390
+ rgb.b = Math.max(0, rgb.b);
1391
+
1392
+ rgb.r = Math.min(255, rgb.r);
1393
+ rgb.g = Math.min(255, rgb.g);
1394
+ rgb.b = Math.min(255, rgb.b);
1395
+
1396
+ if (invalidcolorsopacity < 1) {
1397
+ if (rgb.hasOwnProperty('a')) {
1398
+ rgb.a = rgb.a * invalidcolorsopacity;
1399
+ }
1400
+ else {
1401
+ rgb.a = invalidcolorsopacity;
1402
+ }
1403
+ }
1404
+
1405
+ rgb.isok = false;
1406
+
1407
+ return rgb;
1408
+ };
1409
+
1410
+ $.fn.ColorPickerSliders.modifyColor = function(color, property, value) {
1411
+ var modifiedcolor = $.extend({}, color);
1412
+
1413
+ if (!color.hasOwnProperty(property)) {
1414
+ throw("Missing color property: " + property);
1415
+ }
1416
+
1417
+ modifiedcolor[property] = value;
1418
+
1419
+ return modifiedcolor;
1420
+ };
1421
+
1422
+ $.fn.ColorPickerSliders.csscolor = function(color, invalidcolorsopacity) {
1423
+ if (typeof invalidcolorsopacity === "undefined") {
1424
+ invalidcolorsopacity = 1;
1425
+ }
1426
+
1427
+ var $return = false,
1428
+ tmpcolor = $.extend({}, color);
1429
+
1430
+ if (tmpcolor.hasOwnProperty('c')) {
1431
+ // CIE-LCh
1432
+ tmpcolor = $.fn.ColorPickerSliders.lch2rgb(tmpcolor, invalidcolorsopacity);
1433
+ }
1434
+
1435
+ if (tmpcolor.hasOwnProperty('h')) {
1436
+ // HSL
1437
+ $return = "hsla(" + tmpcolor.h + "," + tmpcolor.s * 100 + "%," + tmpcolor.l * 100 + "%," + tmpcolor.a + ")";
1438
+ }
1439
+
1440
+ if (tmpcolor.hasOwnProperty('r')) {
1441
+ // RGB
1442
+ if (tmpcolor.a < 1) {
1443
+ $return = "rgba(" + Math.round(tmpcolor.r) + "," + Math.round(tmpcolor.g) + "," + Math.round(tmpcolor.b) + "," + tmpcolor.a + ")";
1444
+ }
1445
+ else {
1446
+ $return = "rgb(" + Math.round(tmpcolor.r) + "," + Math.round(tmpcolor.g) + "," + Math.round(tmpcolor.b) + ")";
1447
+ }
1448
+ }
1449
+
1450
+ return $return;
1451
+ };
1452
+
1453
+ $.fn.ColorPickerSliders.rgb2XYZ = function(rgb) {
1454
+ var XYZ = {};
1455
+
1456
+ var r = (rgb.r / 255);
1457
+ var g = (rgb.g / 255);
1458
+ var b = (rgb.b / 255);
1459
+
1460
+ if (r > 0.04045) {
1461
+ r = Math.pow(((r + 0.055) / 1.055), 2.4);
1462
+ }
1463
+ else {
1464
+ r = r / 12.92;
1465
+ }
1466
+
1467
+ if (g > 0.04045) {
1468
+ g = Math.pow(((g + 0.055) / 1.055), 2.4);
1469
+ }
1470
+ else {
1471
+ g = g / 12.92;
1472
+ }
1473
+
1474
+ if (b > 0.04045) {
1475
+ b = Math.pow(((b + 0.055) / 1.055), 2.4);
1476
+ }
1477
+ else {
1478
+ b = b / 12.92;
1479
+ }
1480
+
1481
+ r = r * 100;
1482
+ g = g * 100;
1483
+ b = b * 100;
1484
+
1485
+ // Observer = 2°, Illuminant = D65
1486
+ XYZ.x = r * 0.4124 + g * 0.3576 + b * 0.1805;
1487
+ XYZ.y = r * 0.2126 + g * 0.7152 + b * 0.0722;
1488
+ XYZ.z = r * 0.0193 + g * 0.1192 + b * 0.9505;
1489
+
1490
+ return XYZ;
1491
+ };
1492
+
1493
+ $.fn.ColorPickerSliders.XYZ2CIELab = function(XYZ) {
1494
+ var CIELab = {};
1495
+
1496
+ // Observer = 2°, Illuminant = D65
1497
+ var X = XYZ.x / 95.047;
1498
+ var Y = XYZ.y / 100.000;
1499
+ var Z = XYZ.z / 108.883;
1500
+
1501
+ if (X > 0.008856) {
1502
+ X = Math.pow(X, 0.333333333);
1503
+ }
1504
+ else {
1505
+ X = 7.787 * X + 0.137931034;
1506
+ }
1507
+
1508
+ if (Y > 0.008856) {
1509
+ Y = Math.pow(Y, 0.333333333);
1510
+ }
1511
+ else {
1512
+ Y = 7.787 * Y + 0.137931034;
1513
+ }
1514
+
1515
+ if (Z > 0.008856) {
1516
+ Z = Math.pow(Z, 0.333333333);
1517
+ }
1518
+ else {
1519
+ Z = 7.787 * Z + 0.137931034;
1520
+ }
1521
+
1522
+ CIELab.l = (116 * Y) - 16;
1523
+ CIELab.a = 500 * (X - Y);
1524
+ CIELab.b = 200 * (Y - Z);
1525
+
1526
+ return CIELab;
1527
+ };
1528
+
1529
+ $.fn.ColorPickerSliders.CIELab2CIELCH = function(CIELab) {
1530
+ var CIELCH = {};
1531
+
1532
+ CIELCH.l = CIELab.l;
1533
+ CIELCH.c = Math.sqrt(Math.pow(CIELab.a, 2) + Math.pow(CIELab.b, 2));
1534
+
1535
+ CIELCH.h = Math.atan2(CIELab.b, CIELab.a); //Quadrant by signs
1536
+
1537
+ if (CIELCH.h > 0) {
1538
+ CIELCH.h = (CIELCH.h / Math.PI) * 180;
1539
+ }
1540
+ else {
1541
+ CIELCH.h = 360 - (Math.abs(CIELCH.h) / Math.PI) * 180;
1542
+ }
1543
+
1544
+ return CIELCH;
1545
+ };
1546
+
1547
+ $.fn.ColorPickerSliders.CIELCH2CIELab = function(CIELCH) {
1548
+ var CIELab = {};
1549
+
1550
+ CIELab.l = CIELCH.l;
1551
+ CIELab.a = Math.cos(CIELCH.h * 0.01745329251) * CIELCH.c;
1552
+ CIELab.b = Math.sin(CIELCH.h * 0.01745329251) * CIELCH.c;
1553
+
1554
+ return CIELab;
1555
+ };
1556
+
1557
+ $.fn.ColorPickerSliders.CIELab2XYZ = function(CIELab) {
1558
+ var XYZ = {};
1559
+
1560
+ XYZ.y = (CIELab.l + 16) / 116;
1561
+ XYZ.x = CIELab.a / 500 + XYZ.y;
1562
+ XYZ.z = XYZ.y - CIELab.b / 200;
1563
+
1564
+ if (Math.pow(XYZ.y, 3) > 0.008856) {
1565
+ XYZ.y = Math.pow(XYZ.y, 3);
1566
+ }
1567
+ else {
1568
+ XYZ.y = (XYZ.y - 0.137931034) / 7.787;
1569
+ }
1570
+
1571
+ if (Math.pow(XYZ.x, 3) > 0.008856) {
1572
+ XYZ.x = Math.pow(XYZ.x, 3);
1573
+ }
1574
+ else {
1575
+ XYZ.x = (XYZ.x - 0.137931034) / 7.787;
1576
+ }
1577
+
1578
+ if (Math.pow(XYZ.z, 3) > 0.008856) {
1579
+ XYZ.z = Math.pow(XYZ.z, 3);
1580
+ }
1581
+ else {
1582
+ XYZ.z = (XYZ.z - 0.137931034) / 7.787;
1583
+ }
1584
+
1585
+ // Observer = 2°, Illuminant = D65
1586
+ XYZ.x = 95.047 * XYZ.x;
1587
+ XYZ.y = 100.000 * XYZ.y;
1588
+ XYZ.z = 108.883 * XYZ.z;
1589
+
1590
+ return XYZ;
1591
+ };
1592
+
1593
+ $.fn.ColorPickerSliders.XYZ2rgb = function(XYZ) {
1594
+ var rgb = {};
1595
+
1596
+ // Observer = 2°, Illuminant = D65
1597
+ XYZ.x = XYZ.x / 100; // X from 0 to 95.047
1598
+ XYZ.y = XYZ.y / 100; // Y from 0 to 100.000
1599
+ XYZ.z = XYZ.z / 100; // Z from 0 to 108.883
1600
+
1601
+ rgb.r = XYZ.x * 3.2406 + XYZ.y * -1.5372 + XYZ.z * -0.4986;
1602
+ rgb.g = XYZ.x * -0.9689 + XYZ.y * 1.8758 + XYZ.z * 0.0415;
1603
+ rgb.b = XYZ.x * 0.0557 + XYZ.y * -0.2040 + XYZ.z * 1.0570;
1604
+
1605
+ if (rgb.r > 0.0031308) {
1606
+ rgb.r = 1.055 * (Math.pow(rgb.r, 0.41666667)) - 0.055;
1607
+ }
1608
+ else {
1609
+ rgb.r = 12.92 * rgb.r;
1610
+ }
1611
+
1612
+ if (rgb.g > 0.0031308) {
1613
+ rgb.g = 1.055 * (Math.pow(rgb.g, 0.41666667)) - 0.055;
1614
+ }
1615
+ else {
1616
+ rgb.g = 12.92 * rgb.g;
1617
+ }
1618
+
1619
+ if (rgb.b > 0.0031308) {
1620
+ rgb.b = 1.055 * (Math.pow(rgb.b, 0.41666667)) - 0.055;
1621
+ }
1622
+ else {
1623
+ rgb.b = 12.92 * rgb.b;
1624
+ }
1625
+
1626
+ rgb.r = Math.round(rgb.r * 255);
1627
+ rgb.g = Math.round(rgb.g * 255);
1628
+ rgb.b = Math.round(rgb.b * 255);
1629
+
1630
+ return rgb;
1631
+ };
1632
+
1633
+ $.fn.ColorPickerSliders.detectWhichGradientIsSupported = function() {
1634
+ var testelement = document.createElement('detectGradientSupport').style;
1635
+
1636
+ try {
1637
+ testelement.backgroundImage = "linear-gradient(to top left, #9f9, white)";
1638
+ if (testelement.backgroundImage.indexOf("gradient") !== -1) {
1639
+ return "noprefix";
1640
+ }
1641
+
1642
+ testelement.backgroundImage = "-webkit-linear-gradient(left top, #9f9, white)";
1643
+ if (testelement.backgroundImage.indexOf("gradient") !== -1) {
1644
+ return "webkit";
1645
+ }
1646
+
1647
+ testelement.backgroundImage = "-ms-linear-gradient(left top, #9f9, white)";
1648
+ if (testelement.backgroundImage.indexOf("gradient") !== -1) {
1649
+ return "ms";
1650
+ }
1651
+
1652
+ testelement.backgroundImage = "-webkit-gradient(linear, left top, right bottom, from(#9f9), to(white))";
1653
+ if (testelement.backgroundImage.indexOf("gradient") !== -1) {
1654
+ return "oldwebkit";
1655
+ }
1656
+ }
1657
+ catch(err) {
1658
+ try {
1659
+ testelement.filter = "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#000000',GradientType=0)";
1660
+ if (testelement.filter.indexOf("DXImageTransform") !== -1) {
1661
+ return "filter";
1662
+ }
1663
+ }
1664
+ catch(err) {}
1665
+ }
1666
+
1667
+ return false;
1668
+ };
1669
+
1670
+ $.fn.ColorPickerSliders.svgSupported = function() {
1671
+ return !! document.createElementNS && !! document.createElementNS('http://www.w3.org/2000/svg','svg').createSVGRect;
1672
+ };
1673
+
1674
+ })(jQuery);
app/extensions/fields/asset/jquery-minicolors-master/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ Copyright 2017 A Beautiful Site, LLC
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
app/extensions/fields/asset/jquery-minicolors-master/README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # jQuery MiniColors: A tiny color picker built on jQuery
2
+
3
+ Developed by Cory LaViska for A Beautiful Site, LLC
4
+
5
+ Licensed under the MIT license: http://opensource.org/licenses/MIT
6
+
7
+ ## Demo & Documentation
8
+
9
+ http://labs.abeautifulsite.net/jquery-minicolors/
10
+
11
+ ## Install via NPM
12
+
13
+ This is the official NPM version of MiniColors:
14
+
15
+ ```
16
+ npm install --save @claviska/jquery-minicolors
17
+ ```
18
+
19
+ **Note:** There is another version on NPM without the namespace that is out of date and not supported. I did not create it nor do I have control of it. Please use the official NPM version to ensure you have the latest updates.
app/extensions/fields/asset/jquery-minicolors-master/bower.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "jquery-minicolors",
3
+ "version": "2.3.2",
4
+ "homepage": "https://github.com/claviska/jquery-minicolors",
5
+ "authors": [
6
+ "Cory LaViska"
7
+ ],
8
+ "description": "jQuery MiniColors Plugin",
9
+ "main": [
10
+ "./jquery.minicolors.js",
11
+ "./jquery.minicolors.css"
12
+ ],
13
+ "keywords": [
14
+ "jquery",
15
+ "colorpicker"
16
+ ],
17
+ "license": "MIT",
18
+ "ignore": [
19
+ "**/.*",
20
+ "node_modules",
21
+ "bower_components",
22
+ "test",
23
+ "tests"
24
+ ]
25
+ }
app/extensions/fields/asset/jquery-minicolors-master/component.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "jquery-minicolors",
3
+ "version": "2.3.2",
4
+ "description": "jQuery MiniColors Plugin",
5
+ "homepage": "",
6
+ "main": [ "./jquery.minicolors.js", "./jquery.minicolors.css" ],
7
+ "dependencies": {
8
+ "jquery": ">= 1.7.x"
9
+ },
10
+ "keywords": [
11
+ "jquery",
12
+ "colorpicker"
13
+ ],
14
+ "author": {
15
+ "name": "Cory LaViska",
16
+ "web": "http://www.abeautifulsite.net/"
17
+ },
18
+ "license": [
19
+ "http://www.opensource.org/licenses/mit-license.php"
20
+ ]
21
+ }
app/extensions/fields/asset/jquery-minicolors-master/composer.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "abeautifulsite/jquery-minicolors",
3
+ "type": "component",
4
+ "description": "jQuery MiniColors Plugin",
5
+ "homepage": "http://www.abeautifulsite.net/",
6
+ "license": "MIT",
7
+ "extra": {
8
+ "component": {
9
+ "scripts": [
10
+ "jquery.minicolors.js"
11
+ ],
12
+ "files": [
13
+ "jquery.minicolors.js",
14
+ "jquery.minicolors.min.js",
15
+ "jquery.minicolors.css",
16
+ "jquery.minicolors.png"
17
+ ]
18
+ }
19
+ }
20
+ }
app/extensions/fields/asset/jquery-minicolors-master/gulpfile.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-env node, es6 */
2
+ 'use strict';
3
+
4
+ const gulp = require('gulp-help')(require('gulp'));
5
+ const del = require('del');
6
+ const rename = require('gulp-rename');
7
+ const uglify = require('gulp-uglify');
8
+
9
+ // Clean
10
+ gulp.task('clean', 'Clean up!', () => {
11
+ return del('jquery.minicolors.min.js');
12
+ });
13
+
14
+ // Minify
15
+ gulp.task('minify', 'Minify it!', ['clean'], () => {
16
+ return gulp.src('jquery.minicolors.js')
17
+ .pipe(uglify({
18
+ preserveComments: 'license'
19
+ }))
20
+ .on('error', (err) => {
21
+ console.error(err);
22
+ this.emit('end');
23
+ })
24
+ .pipe(rename({ suffix: '.min' }))
25
+ .pipe(gulp.dest(__dirname));
26
+ });
27
+
28
+ // Watch for changes
29
+ gulp.task('watch', 'Watch for changes!', () => {
30
+ gulp.watch('jquery.minicolors.js', ['minify']);
31
+ });
32
+
33
+ // Default
34
+ gulp.task('default', 'The default task.', ['watch']);
app/extensions/fields/asset/jquery-minicolors-master/index.html ADDED
@@ -0,0 +1,744 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>jQuery MiniColors</title>
5
+ <meta charset="utf-8">
6
+
7
+ <!-- jQuery -->
8
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
9
+
10
+ <!-- Bootstrap 3 -->
11
+ <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
12
+ <script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
13
+
14
+ <!-- MiniColors -->
15
+ <script src="jquery.minicolors.js"></script>
16
+ <link rel="stylesheet" href="jquery.minicolors.css">
17
+
18
+ <style>
19
+ dl {
20
+ margin: 20px 0;
21
+ }
22
+ dt {
23
+ font-size: 120%;
24
+ }
25
+ dd {
26
+ padding: 10px 20px 20px 20px;
27
+ }
28
+ dd:last-child {
29
+ border-bottom: none;
30
+ }
31
+ code {
32
+ color: black;
33
+ border: none;
34
+ background: rgba(128, 128, 128, .1);
35
+ }
36
+ [dir=rtl] code {
37
+ direction: ltr;
38
+ }
39
+ pre {
40
+ background: #f8f8f8;
41
+ border: none;
42
+ color: #333;
43
+ padding: 20px;
44
+ }
45
+ [dir=rtl] pre {
46
+ direction: ltr;
47
+ }
48
+ h2 {
49
+ margin-top: 50px;
50
+ }
51
+ h3 {
52
+ color: #aaa;
53
+ }
54
+ .jumbotron {
55
+ padding: 40px;
56
+ }
57
+ .jumbotron h1 {
58
+ margin-top: 0;
59
+ }
60
+ .jumbotron p:last-child {
61
+ margin-bottom: 0;
62
+ }
63
+ </style>
64
+
65
+ <script>
66
+ $(document).ready( function() {
67
+
68
+ $('.demo').each( function() {
69
+ //
70
+ // Dear reader, it's actually very easy to initialize MiniColors. For example:
71
+ //
72
+ // $(selector).minicolors();
73
+ //
74
+ // The way I've done it below is just for the demo, so don't get confused
75
+ // by it. Also, data- attributes aren't supported at this time...they're
76
+ // only used for this demo.
77
+ //
78
+ $(this).minicolors({
79
+ control: $(this).attr('data-control') || 'hue',
80
+ defaultValue: $(this).attr('data-defaultValue') || '',
81
+ format: $(this).attr('data-format') || 'hex',
82
+ keywords: $(this).attr('data-keywords') || '',
83
+ inline: $(this).attr('data-inline') === 'true',
84
+ letterCase: $(this).attr('data-letterCase') || 'lowercase',
85
+ opacity: $(this).attr('data-opacity'),
86
+ position: $(this).attr('data-position') || 'bottom',
87
+ swatches: $(this).attr('data-swatches') ? $(this).attr('data-swatches').split('|') : [],
88
+ change: function(value, opacity) {
89
+ if( !value ) return;
90
+ if( opacity ) value += ', ' + opacity;
91
+ if( typeof console === 'object' ) {
92
+ console.log(value);
93
+ }
94
+ },
95
+ theme: 'bootstrap'
96
+ });
97
+
98
+ });
99
+
100
+ });
101
+ </script>
102
+ </head>
103
+ <body>
104
+ <div class="row" style="margin: 40px 40px;">
105
+ <div class="col-12">
106
+
107
+ <!-- Intro -->
108
+ <div id="intro" class="jumbotron">
109
+ <h1>jQuery MiniColors</h1>
110
+ <p class="text-muted">
111
+ Now with Bootstrap 3 support!
112
+ </p>
113
+ <p>
114
+ A project by <a href="https://www.abeautifulsite.net/">A Beautiful Site</a>,
115
+ originally developed for <a href="https://www.surrealcms.com/">Surreal CMS</a>.
116
+ </p>
117
+ </div>
118
+
119
+ <!-- Contents -->
120
+ <h2 id="contents">Contents</h2>
121
+ <ul>
122
+ <li><a href="#download">Download</a></li>
123
+ <li><a href="#demos">Demos</a></li>
124
+ <li><a href="#api">API</a>
125
+ <ul>
126
+ <li><a href="#instantiation">Instantiation</a></li>
127
+ <li><a href="#settings">Settings</a></li>
128
+ <li><a href="#methods">Methods</a></li>
129
+ <li><a href="#events">Events</a></li>
130
+ </ul>
131
+ </li>
132
+ <li><a href="#license">License</a></li>
133
+ </ul>
134
+
135
+ <!-- Download -->
136
+ <h2 id="download">Download</h2>
137
+ <p>
138
+ This project is on GitHub. Feel free to post bug reports, feature requests, and code
139
+ improvements on the official project page.
140
+ </p>
141
+ <p>
142
+ <a href="https://github.com/claviska/jquery-minicolors" class="btn btn-success">Download on GitHub</a>
143
+ </p>
144
+
145
+ <!-- Demos -->
146
+ <h2 id="demos">Demos</h2>
147
+ <p>
148
+ This is the main demo page, which uses <a href="https://getbootstrap.com/">Bootstrap 3</a>,
149
+ but this plugin works without Bootstrap as well.
150
+ </p>
151
+ <p>
152
+ <a href="without-bootstrap.html" class="btn btn-primary">View Demo Without Bootstrap</a>
153
+ </p>
154
+ <p>
155
+ <a class="btn btn-primary" onclick="$(body).attr('dir')=='rtl'?$(body).removeAttr('dir'):$(body).attr('dir', 'rtl')">Toggle LTR/RTL</a>
156
+ </p>
157
+
158
+ <!-- Control types -->
159
+ <h3>Control Types</h3>
160
+ <div class="well">
161
+ <div class="row">
162
+ <div class="col-lg-4 col-sm-4 col-12">
163
+
164
+ <div class="form-group">
165
+ <label for="hue-demo">Hue (default)</label>
166
+ <input type="text" id="hue-demo" class="form-control demo" data-control="hue" value="#ff6161">
167
+ </div>
168
+ <div class="form-group">
169
+ <label for="saturation-demo">Saturation</label>
170
+ <input type="text" id="saturation-demo" class="form-control demo" data-control="saturation" value="#0088cc">
171
+ </div>
172
+ </div>
173
+
174
+ <div class="col-lg-4 col-sm-4 col-12">
175
+ <div class="form-group">
176
+ <label for="brightness-demo">Brightness</label>
177
+ <input type="text" id="brightness-demo" class="form-control demo" data-control="brightness" value="#00ffff">
178
+ </div>
179
+ <div class="form-group">
180
+ <label for="wheel-demo">Wheel</label>
181
+ <input type="text" id="wheel-demo" class="form-control demo" data-control="wheel" value="#ff99ee">
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+ <!-- Input modes -->
188
+ <h3>Input Modes</h3>
189
+ <div class="well">
190
+ <div class="row">
191
+ <div class="col-lg-4 col-sm-4 col-12">
192
+ <div class="form-group">
193
+ <label for="text-field">Text field</label>
194
+ <br>
195
+ <input type="text" id="text-field" class="form-control demo" value="#70c24a">
196
+ </div>
197
+ <div class="form-group">
198
+ <label for="hidden-input">Hidden Input</label>
199
+ <br>
200
+ <input type="hidden" id="hidden-input" class="demo" value="#db913d">
201
+ </div>
202
+ </div>
203
+ <div class="col-lg-4 col-sm-4 col-12">
204
+ <div class="form-group">
205
+ <label for="inline">Inline</label>
206
+ <br>
207
+ <input type="text" id="inline" class="form-control demo" data-inline="true" value="#4fc8db">
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </div>
212
+
213
+ <!-- Positions -->
214
+ <h3>Positions</h3>
215
+ <div class="well">
216
+ <p>
217
+ Valid positions include <code>bottom left</code>, <code>bottom right</code>, <code>top
218
+ left</code>, and <code>top right</code>.
219
+ </p>
220
+ <div class="row">
221
+ <div class="col-lg-4 col-sm-4 col-12">
222
+ <div class="form-group">
223
+ <label for="position-bottom-left">bottom left (default)</label>
224
+ <input type="text" id="position-bottom-left" class="form-control demo" data-position="bottom left" value="#0088cc">
225
+ </div>
226
+ <div class="form-group">
227
+ <label for="position-top-left">top left</label>
228
+ <input type="text" id="position-top-left" class="form-control demo" data-position="top left" value="#0088cc">
229
+ </div>
230
+ </div>
231
+ <div class="col-lg-4 col-sm-4 col-12">
232
+ <div class="form-group">
233
+ <label for="position-bottom-right">bottom right</label>
234
+ <input type="text" id="position-bottom-right" class="form-control demo" data-position="bottom right" value="#0088cc">
235
+ </div>
236
+ <div class="form-group">
237
+ <label for="position-top-right">top right</label>
238
+ <input type="text" id="position-top-right" class="form-control demo" data-position="top right" value="#0088cc">
239
+ </div>
240
+ </div>
241
+ <div class="col-lg-4 col-sm-4 col-12">
242
+ </div>
243
+ </div>
244
+ </div>
245
+
246
+ <!-- RGB(A) -->
247
+ <h3>RGB(A)</h3>
248
+ <div class="well">
249
+ <div class="row">
250
+ <div class="col-lg-4 col-sm-4 col-12">
251
+ <div class="form-group">
252
+ <label for="rgb">RGB</label>
253
+ <br>
254
+ <input type="text" id="rgb" class="form-control demo" data-format="rgb" value="rgb(33, 147, 58)">
255
+ <span class="help-block">
256
+ RGB input can be assigned by setting the <code>format</code> option
257
+ to <code>rgb</code>.
258
+ </span>
259
+ </div>
260
+ </div>
261
+ <div class="col-lg-4 col-sm-4 col-12">
262
+ <div class="form-group">
263
+ <label for="rgba">RGBA</label>
264
+ <br>
265
+ <input type="text" id="rgba" class="form-control demo" data-format="rgb" data-opacity=".5" value="rgba(52, 64, 158, 0.5)">
266
+ <span class="help-block">
267
+ RGBA input can be assigned by setting the <code>format</code>
268
+ option to <code>rgb</code> and <code>opacity</code> option to
269
+ <code>true</code>.
270
+ </span>
271
+ </div>
272
+ </div>
273
+ </div>
274
+ </div>
275
+
276
+ <!-- and more -->
277
+ <h3>&hellip;and more!</h3>
278
+ <div class="well">
279
+ <div class="row">
280
+ <div class="col-lg-4 col-sm-4 col-12">
281
+ <div class="form-group">
282
+ <label for="opacity">Opacity</label>
283
+ <br>
284
+ <input type="text" id="opacity" class="form-control demo" data-opacity=".5" value="#766fa8">
285
+ <span class="help-block">
286
+ Opacity can be assigned by including the <code>data-opacity</code>
287
+ attribute or by setting the <code>opacity</code> option to
288
+ <code>true</code>.
289
+ </span>
290
+ </div>
291
+ </div>
292
+ <div class="col-lg-4 col-sm-4 col-12">
293
+ <div class="form-group">
294
+ <label for="keywords">Keywords</label>
295
+ <br>
296
+ <input type="text" id="keywords" class="form-control demo" data-keywords="transparent, initial, inherit" value="transparent">
297
+ <span class="help-block">
298
+ CSS-wide keywords can be assigned by setting the <code>keywords</code>
299
+ option to a comma-separated list of valid keywords: <code>transparent,
300
+ initial, inherit</code>.
301
+ </span>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ <div class="row">
306
+ <div class="col-lg-4 col-sm-4 col-12">
307
+ <div class="form-group">
308
+ <label for="default-value">Default Value</label>
309
+ <br>
310
+ <input type="text" id="default-value" class="form-control demo" data-defaultValue="#ff6600">
311
+ <span class="help-block">
312
+ This field has a default value assigned to it, so it will never be empty.
313
+ </span>
314
+ </div>
315
+ </div>
316
+ <div class="col-lg-4 col-sm-4 col-12">
317
+ <div class="form-group">
318
+ <label for="letter-case">Letter Case</label>
319
+ <br>
320
+ <input type="text" id="letter-case" class="form-control demo" data-letterCase="uppercase" value="#abcdef">
321
+ <span class="help-block">
322
+ This field will always be uppercase.
323
+ </span>
324
+ </div>
325
+ </div>
326
+ </div>
327
+ <div class="row">
328
+ <div class="col-lg-4 col-sm-4 col-12">
329
+ <div class="form-group">
330
+ <label for="input-group">Input Groups</label>
331
+ <div class="input-group">
332
+ <input type="text" id="input-group" class="form-control demo" value="#ff0000"/>
333
+ <span class="input-group-btn">
334
+ <button class="btn btn-default" type="button">Button</button>
335
+ </span>
336
+ </div>
337
+ <span class="help-block">
338
+ Example using Bootstrap's input groups.
339
+ </span>
340
+ </div>
341
+ </div>
342
+ <div class="col-lg-4 col-sm-4 col-12">
343
+ <div class="form-group">
344
+ <label for="more-input-group">More Input Groups</label>
345
+ <div class="input-group">
346
+ <span class="input-group-addon">Color</span>
347
+ <input type="text" id="more-input-group" class="form-control demo" value="#ff0000"/>
348
+ <span class="input-group-btn">
349
+ <button class="btn btn-default" type="button">Button</button>
350
+ </span>
351
+ </div>
352
+ <span class="help-block">
353
+ Input group example with addon.
354
+ </span>
355
+ </div>
356
+ </div>
357
+ </div>
358
+ <div class="row">
359
+ <div class="col-lg-4 col-sm-4 col-12">
360
+ <div class="form-group">
361
+ <label for="letter-case">Swatches</label>
362
+ <br>
363
+ <input type="text" id="swatches" class="form-control demo" data-swatches="#ef9a9a|#90caf9|#a5d6a7|#fff59d|#ffcc80|#bcaaa4|#eeeeee|#f44336|#2196f3|#4caf50|#ffeb3b|#ff9800|#795548|#9e9e9e" value="#abcdef">
364
+ <span class="help-block">
365
+ Example with swatches.
366
+ </span>
367
+ </div>
368
+ </div>
369
+ <div class="col-lg-4 col-sm-4 col-12">
370
+ <div class="form-group">
371
+ <label for="letter-case">Swatches and opacity</label>
372
+ <br>
373
+ <input type="text" id="swatches" class="form-control demo" data-format="rgb" data-opacity="1" data-swatches="#fff|#000|#f00|#0f0|#00f|#ff0|rgba(0,0,255,0.5)" value="rgba(14, 206, 235, .5)">
374
+ <span class="help-block">
375
+ Example with swatches and opacity.
376
+ </span>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ </div>
381
+
382
+ <!-- API -->
383
+ <h2 id="api">API</h2>
384
+
385
+ <!-- Instantiation -->
386
+ <h3 id="instantiation">Instantiation</h3>
387
+ <p>
388
+ Instantiate like any other jQuery plugin:
389
+ </p>
390
+ <pre>$('INPUT.minicolors').minicolors(settings);</pre>
391
+
392
+ <!-- Settings -->
393
+ <h3 id="settings">Settings</h3>
394
+
395
+ <p>
396
+ Default settings are as follows:
397
+ </p>
398
+ <pre>
399
+ $.minicolors = {
400
+ defaults: {
401
+ animationSpeed: 50,
402
+ animationEasing: 'swing',
403
+ change: null,
404
+ changeDelay: 0,
405
+ control: 'hue',
406
+ defaultValue: '',
407
+ format: 'hex',
408
+ hide: null,
409
+ hideSpeed: 100,
410
+ inline: false,
411
+ keywords: '',
412
+ letterCase: 'lowercase',
413
+ opacity: false,
414
+ position: 'bottom left',
415
+ show: null,
416
+ showSpeed: 100,
417
+ theme: 'default',
418
+ swatches: []
419
+ }
420
+ };
421
+ </pre>
422
+ <p>
423
+ For convenience, you can change default settings globally by assigning new values:
424
+ </p>
425
+ <pre>
426
+ $.minicolors.defaults.changeDelay = 200;
427
+ </pre>
428
+ <p>
429
+ To change multiple properties at once, use <code>$.extend()</code>:
430
+ </p>
431
+ <pre>
432
+ $.minicolors.defaults = $.extend($.minicolors.defaults, {
433
+ changeDelay: 200,
434
+ letterCase: 'uppercase',
435
+ theme: 'bootstrap'
436
+ });
437
+ </pre>
438
+ <p class="alert alert-warning">
439
+ <strong>Note:</strong> Changing default settings will <em>not</em> affect controls that
440
+ are already initialized.
441
+ </p>
442
+
443
+ <dl>
444
+ <dt>animationSpeed</dt>
445
+ <dd>
446
+ <p>
447
+ The animation speed of the sliders when the user taps or clicks a new color. Set to
448
+ <code>0</code> for no animation.
449
+ </p>
450
+ </dd>
451
+
452
+ <dt>animationEasing</dt>
453
+ <dd>
454
+ <p>
455
+ The easing to use when animating the sliders.
456
+ </p>
457
+ </dd>
458
+
459
+ <dt>changeDelay</dt>
460
+ <dd>
461
+ <p>
462
+ The time, in milliseconds, to defer the <code>change</code> event from firing while
463
+ the user makes a selection. This is useful for preventing the <code>change</code> event
464
+ from firing frequently as the user drags the color picker around.
465
+ </p>
466
+ <p>
467
+ The default value is <code>0</code> (no delay). If your <code>change</code> callback
468
+ features something resource-intensive (such as an AJAX request), you’ll probably want
469
+ to set this to at least <code>200</code>.
470
+ </p>
471
+ </dd>
472
+
473
+ <dt>control</dt>
474
+ <dd>
475
+ <p>
476
+ Determines the type of control. Valid options are <code>hue</code>, <code>brightness</code>,
477
+ <code>saturation</code>, and <code>wheel</code>.
478
+ </p>
479
+ </dd>
480
+
481
+ <dt>defaultValue</dt>
482
+ <dd>
483
+ <p>
484
+ To force a default color, set this to a valid hex string. When the user clears the
485
+ control, it will revert to this color.
486
+ </p>
487
+ </dd>
488
+
489
+ <dt>format</dt>
490
+ <dd>
491
+ <p>
492
+ The format miniColors should use. Valid options are <code>hex</code> and
493
+ <code>rgb</code>.
494
+ </p>
495
+ </dd>
496
+
497
+ <dt>hideSpeed &amp; showSpeed</dt>
498
+ <dd>
499
+ <p>
500
+ The speed at which to hide and show the color picker.
501
+ </p>
502
+ </dd>
503
+
504
+ <dt>inline</dt>
505
+ <dd>
506
+ <p>
507
+ Set to <code>true</code> to force the color picker to appear inline.
508
+ </p>
509
+ </dd>
510
+
511
+ <dt>keywords</dt>
512
+ <dd>
513
+ <p>
514
+ A comma-separated list of keywords that the control should accept (e.g. inherit,
515
+ transparent, initial). By default, no keywords are allowed.
516
+ </p>
517
+ </dd>
518
+
519
+ <dt>letterCase</dt>
520
+ <dd>
521
+ <p>
522
+ Determines the letter case of the hex code value. Valid options are <code>uppercase</code>
523
+ or <code>lowercase</code>.
524
+ </p>
525
+ </dd>
526
+
527
+ <dt>opacity</dt>
528
+ <dd>
529
+ <p>
530
+ Set to <code>true</code> to enable the opacity slider. (Use the input element's
531
+ <code>data-opacity</code> attribute to set a preset value.)
532
+ </p>
533
+ </dd>
534
+
535
+ <dt>position</dt>
536
+ <dd>
537
+ <p>
538
+ Sets the position of the dropdown. Valid options are <code>bottom left</code>,
539
+ <code>bottom right</code>, <code>top left</code>, and <code>top right</code>.
540
+ </p>
541
+ <p class="alert alert-warning">
542
+ The <code>swatchPosition</code> setting has been removed in version 2.1. The position
543
+ of the swatch is now determined by <code>position</code>.
544
+ </p>
545
+ </dd>
546
+
547
+ <dt>theme</dt>
548
+ <dd>
549
+ <p>
550
+ A string containing the name of the custom theme to be applied. In your CSS, prefix
551
+ your selectors like this:
552
+ </p>
553
+ <pre>
554
+ .minicolors-theme-yourThemeName { ... }
555
+ </pre>
556
+ <p>
557
+ If you are using the default theme, you will probably need to adjust the swatch
558
+ styles depending on your existing stylesheet rules. Version 2.1 removes as much
559
+ styling on the <code>input</code> element as possible, which means it’s up to
560
+ you to adjust your CSS to make sure the swatch aligns properly.
561
+ </p>
562
+ <p>
563
+ To adjust the swatch, override these styles:
564
+ </p>
565
+ <pre>
566
+ .minicolors-theme-default .minicolors-swatch {
567
+ top: 5px;
568
+ left: 5px;
569
+ width: 18px;
570
+ height: 18px;
571
+ }
572
+ .minicolors-theme-default.minicolors-position-right .minicolors-swatch {
573
+ left: auto;
574
+ right: 5px;
575
+ }
576
+ </pre>
577
+ </div>
578
+ </dd>
579
+
580
+ <dt>swatches</dt>
581
+ <dd>
582
+ <p>
583
+ An array containing one or more strings of hex colors that will show up under the main
584
+ color grid.
585
+ </p>
586
+ <p>
587
+ Alternatively, this can be an array of <code>{ name, color }</code> objects where
588
+ <code>name</code> is a human-readable color name and <code>color</code> is a hex code.
589
+ In this case, the name will be used to set the swatch's <code>title</code> attribute.
590
+ </p>
591
+ </dd>
592
+ </dl>
593
+
594
+ <!-- Methods -->
595
+ <h3 id="methods">Methods</h3>
596
+ <p>Use this syntax for calling methods:</p>
597
+ <pre>$(<em>selector</em>).minicolors('method', <em>[data]</em>);</pre>
598
+ <dl>
599
+ <dt>create</dt>
600
+ <dd>
601
+ <p>
602
+ Initializes the control for all items matching your selector. This is the default
603
+ method, so <code>data</code> may be passed in as the only argument.
604
+ </p>
605
+ <p>
606
+ To set a preset color value, populate the <code>value</code> attribute of the original
607
+ input element.
608
+ </p>
609
+ </dd>
610
+
611
+ <dt>destroy</dt>
612
+ <dd>
613
+ <p>
614
+ Returns the <em>input</em> element to its original, uninitialized state.
615
+ </p>
616
+ </dd>
617
+
618
+ <dt>hide</dt>
619
+ <dd>
620
+ <p>
621
+ Hides the color picker.
622
+ </p>
623
+ </dd>
624
+
625
+ <dt>show</dt>
626
+ <dd>
627
+ <p>
628
+ Shows the color picker.
629
+ </p>
630
+ </dd>
631
+
632
+ <dt>opacity</dt>
633
+ <dd>
634
+ <p>
635
+ Gets or sets a control's opacity level. To use this method as a setter, pass data in
636
+ as a value between 0 and 1. (You can also obtain this value by checking the input
637
+ element's <code>data-opacity</code> attribute.)
638
+ </p>
639
+ <p>
640
+ To set a preset opacity value, populate the <code>data-opacity</code> attribute of the
641
+ original input element.
642
+ </p>
643
+ </dd>
644
+
645
+ <dt>rgbObject</dt>
646
+ <dd>
647
+ <p>
648
+ Returns an object containing red, green, blue, and alpha properties that correspond to
649
+ the control's current value. Example:
650
+ </p>
651
+ <pre>{ r: 0, g: 82, b: 148, a: 0.75 }</pre>
652
+ </dd>
653
+
654
+ <dt>rgbString &amp; rgbaString</dt>
655
+ <dd>
656
+ <p>
657
+ Returns an RGB or RGBA string suitable for use in your CSS. Examples:
658
+ </p>
659
+ <pre>
660
+ rgb(0, 82, 148)
661
+ rgba(0, 82, 148, .75)
662
+ </pre>
663
+ </dd>
664
+
665
+ <dt>settings</dt>
666
+ <dd>
667
+ <p>
668
+ Gets or sets a control's settings. If new settings are passed in, the control will
669
+ destroy and re-initialize itself with any new settings overriding the old ones.
670
+ </p>
671
+ </dd>
672
+
673
+ <dt>value</dt>
674
+ <dd>
675
+ <p>
676
+ Gets or sets a control's color value. To use this method as a setter, pass
677
+ in a color string or an object (ex: <code>{color: '#fc0', opacity: .5}</code>).
678
+ </p>
679
+ </dd>
680
+ </dl>
681
+
682
+ <!-- Events -->
683
+ <h3 id="events">Events</h3>
684
+ <dl>
685
+ <dt>change</dt>
686
+ <dd>
687
+ <p>Fires when the value of the color picker changes. The <code>this</code> keyword will reference the original input element.
688
+ <pre>
689
+ $(<em>selector</em>).minicolors({
690
+ change: function(value, opacity) {
691
+ console.log(value + ' - ' + opacity);
692
+ }
693
+ });
694
+ </pre>
695
+ <p class="alert alert-warning">
696
+ <strong>Warning!</strong> This event will fire a lot when the user drags the
697
+ color picker around. Use the <code>changeDelay</code> setting to reduce its
698
+ frequency.
699
+ </p>
700
+ </dd>
701
+
702
+ <dt>hide</dt>
703
+ <dd>
704
+ <p>
705
+ Fires when the color picker is hidden. The <code>this</code> keyword will reference
706
+ the original input element.
707
+ </p>
708
+ <pre>
709
+ $(<em>selector</em>).minicolors({
710
+ hide: function() {
711
+ console.log('Hide event triggered!');
712
+ }
713
+ });
714
+ </pre>
715
+ </dd>
716
+
717
+ <dt>show</dt>
718
+ <dd>
719
+ <p>
720
+ Fires when the color picker is shown. The <code>this</code> keyword will reference
721
+ the original input element.
722
+ </p>
723
+ <pre>
724
+ $(<em>selector</em>).minicolors({
725
+ show: function() {
726
+ console.log('Show event triggered!');
727
+ }
728
+ });
729
+ </pre>
730
+ </dd>
731
+ </dl>
732
+
733
+ <h2 id="license">License</h2>
734
+ <p>
735
+ Licensed under the <a href="https://opensource.org/licenses/MIT">MIT license</a>,
736
+ same as <a href="https://jquery.org/license/">jQuery</a>.
737
+ </p>
738
+ <p>
739
+ &copy;2013 <a href="https://www.abeautifulsite.net/">A Beautiful Site, LLC.</a>
740
+ </p>
741
+ </div>
742
+ </div>
743
+ </body>
744
+ </html>
app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.css ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .minicolors {
2
+ position: relative;
3
+ }
4
+
5
+ .minicolors-sprite {
6
+ background-image: url(jquery.minicolors.png);
7
+ }
8
+
9
+ .minicolors-swatch {
10
+ position: absolute;
11
+ vertical-align: middle;
12
+ background-position: -80px 0;
13
+ border: solid 1px #ccc;
14
+ cursor: text;
15
+ padding: 0;
16
+ margin: 0;
17
+ display: inline-block;
18
+ }
19
+
20
+ .minicolors-swatch-color {
21
+ position: absolute;
22
+ top: 0;
23
+ left: 0;
24
+ right: 0;
25
+ bottom: 0;
26
+ }
27
+
28
+ .minicolors input[type=hidden] + .minicolors-swatch {
29
+ width: 28px;
30
+ position: static;
31
+ cursor: pointer;
32
+ }
33
+
34
+ .minicolors input[type=hidden][disabled] + .minicolors-swatch {
35
+ cursor: default;
36
+ }
37
+
38
+ /* Panel */
39
+ .minicolors-panel {
40
+ position: absolute;
41
+ width: 173px;
42
+ background: white;
43
+ border: solid 1px #CCC;
44
+ box-shadow: 0 0 20px rgba(0, 0, 0, .2);
45
+ z-index: 99999;
46
+ box-sizing: content-box;
47
+ display: none;
48
+ }
49
+
50
+ .minicolors-panel.minicolors-visible {
51
+ display: block;
52
+ }
53
+
54
+ /* Panel positioning */
55
+ .minicolors-position-top .minicolors-panel {
56
+ top: -154px;
57
+ }
58
+
59
+ .minicolors-position-right .minicolors-panel {
60
+ right: 0;
61
+ }
62
+
63
+ .minicolors-position-bottom .minicolors-panel {
64
+ top: auto;
65
+ }
66
+
67
+ .minicolors-position-left .minicolors-panel {
68
+ left: 0;
69
+ }
70
+
71
+ .minicolors-with-opacity .minicolors-panel {
72
+ width: 194px;
73
+ }
74
+
75
+ .minicolors .minicolors-grid {
76
+ position: relative;
77
+ top: 1px;
78
+ left: 1px; /* LTR */
79
+ width: 150px;
80
+ height: 150px;
81
+ margin-bottom: 2px;
82
+ background-position: -120px 0;
83
+ cursor: crosshair;
84
+ }
85
+ [dir=rtl] .minicolors .minicolors-grid {
86
+ right: 1px;
87
+ }
88
+
89
+ .minicolors .minicolors-grid-inner {
90
+ position: absolute;
91
+ top: 0;
92
+ left: 0;
93
+ width: 150px;
94
+ height: 150px;
95
+ }
96
+
97
+ .minicolors-slider-saturation .minicolors-grid {
98
+ background-position: -420px 0;
99
+ }
100
+
101
+ .minicolors-slider-saturation .minicolors-grid-inner {
102
+ background-position: -270px 0;
103
+ background-image: inherit;
104
+ }
105
+
106
+ .minicolors-slider-brightness .minicolors-grid {
107
+ background-position: -570px 0;
108
+ }
109
+
110
+ .minicolors-slider-brightness .minicolors-grid-inner {
111
+ background-color: black;
112
+ }
113
+
114
+ .minicolors-slider-wheel .minicolors-grid {
115
+ background-position: -720px 0;
116
+ }
117
+
118
+ .minicolors-slider,
119
+ .minicolors-opacity-slider {
120
+ position: absolute;
121
+ top: 1px;
122
+ left: 152px; /* LTR */
123
+ width: 20px;
124
+ height: 150px;
125
+ background-color: white;
126
+ background-position: 0 0;
127
+ cursor: row-resize;
128
+ }
129
+ [dir=rtl] .minicolors-slider,
130
+ [dir=rtl] .minicolors-opacity-slider {
131
+ right: 152px;
132
+ }
133
+
134
+ .minicolors-slider-saturation .minicolors-slider {
135
+ background-position: -60px 0;
136
+ }
137
+
138
+ .minicolors-slider-brightness .minicolors-slider {
139
+ background-position: -20px 0;
140
+ }
141
+
142
+ .minicolors-slider-wheel .minicolors-slider {
143
+ background-position: -20px 0;
144
+ }
145
+
146
+ .minicolors-opacity-slider {
147
+ left: 173px; /* LTR */
148
+ background-position: -40px 0;
149
+ display: none;
150
+ }
151
+ [dir=rtl] .minicolors-opacity-slider {
152
+ right: 173px;
153
+ }
154
+
155
+ .minicolors-with-opacity .minicolors-opacity-slider {
156
+ display: block;
157
+ }
158
+
159
+ /* Pickers */
160
+ .minicolors-grid .minicolors-picker {
161
+ position: absolute;
162
+ top: 70px;
163
+ left: 70px;
164
+ width: 12px;
165
+ height: 12px;
166
+ border: solid 1px black;
167
+ border-radius: 10px;
168
+ margin-top: -6px;
169
+ margin-left: -6px;
170
+ background: none;
171
+ }
172
+
173
+ .minicolors-grid .minicolors-picker > div {
174
+ position: absolute;
175
+ top: 0;
176
+ left: 0;
177
+ width: 8px;
178
+ height: 8px;
179
+ border-radius: 8px;
180
+ border: solid 2px white;
181
+ box-sizing: content-box;
182
+ }
183
+
184
+ .minicolors-picker {
185
+ position: absolute;
186
+ top: 0;
187
+ left: 0;
188
+ width: 18px;
189
+ height: 2px;
190
+ background: white;
191
+ border: solid 1px black;
192
+ margin-top: -2px;
193
+ box-sizing: content-box;
194
+ }
195
+
196
+ /* Swatches */
197
+ .minicolors-swatches,
198
+ .minicolors-swatches li {
199
+ margin: 5px 0 3px 5px; /* LTR */
200
+ padding: 0;
201
+ list-style: none;
202
+ overflow: hidden;
203
+ }
204
+ [dir=rtl] .minicolors-swatches,
205
+ [dir=rtl] .minicolors-swatches li {
206
+ margin: 5px 5px 3px 0;
207
+ }
208
+
209
+ .minicolors-swatches .minicolors-swatch {
210
+ position: relative;
211
+ float: left; /* LTR */
212
+ cursor: pointer;
213
+ margin:0 4px 0 0; /* LTR */
214
+ }
215
+ [dir=rtl] .minicolors-swatches .minicolors-swatch {
216
+ float: right;
217
+ margin:0 0 0 4px;
218
+ }
219
+
220
+ .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
221
+ margin-right: 7px; /* LTR */
222
+ }
223
+ [dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
224
+ margin-right: 0;
225
+ margin-left: 7px;
226
+ }
227
+
228
+ .minicolors-swatch.selected {
229
+ border-color: #000;
230
+ }
231
+
232
+ /* Inline controls */
233
+ .minicolors-inline {
234
+ display: inline-block;
235
+ }
236
+
237
+ .minicolors-inline .minicolors-input {
238
+ display: none !important;
239
+ }
240
+
241
+ .minicolors-inline .minicolors-panel {
242
+ position: relative;
243
+ top: auto;
244
+ left: auto; /* LTR */
245
+ box-shadow: none;
246
+ z-index: auto;
247
+ display: inline-block;
248
+ }
249
+ [dir=rtl] .minicolors-inline .minicolors-panel {
250
+ right: auto;
251
+ }
252
+
253
+ /* Default theme */
254
+ .minicolors-theme-default .minicolors-swatch {
255
+ top: 5px;
256
+ left: 5px; /* LTR */
257
+ width: 18px;
258
+ height: 18px;
259
+ }
260
+ [dir=rtl] .minicolors-theme-default .minicolors-swatch {
261
+ right: 5px;
262
+ }
263
+ .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
264
+ margin-bottom: 2px;
265
+ top: 0;
266
+ left: 0; /* LTR */
267
+ width: 18px;
268
+ height: 18px;
269
+ }
270
+ [dir=rtl] .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
271
+ right: 0;
272
+ }
273
+ .minicolors-theme-default.minicolors-position-right .minicolors-swatch {
274
+ left: auto; /* LTR */
275
+ right: 5px; /* LTR */
276
+ }
277
+ [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-swatch {
278
+ right: auto;
279
+ left: 5px;
280
+ }
281
+ .minicolors-theme-default.minicolors {
282
+ width: auto;
283
+ display: inline-block;
284
+ }
285
+ .minicolors-theme-default .minicolors-input {
286
+ height: 20px;
287
+ width: auto;
288
+ display: inline-block;
289
+ padding-left: 26px; /* LTR */
290
+ }
291
+ [dir=rtl] .minicolors-theme-default .minicolors-input {
292
+ text-align: right;
293
+ unicode-bidi: plaintext;
294
+ padding-left: 1px;
295
+ padding-right: 26px;
296
+ }
297
+ .minicolors-theme-default.minicolors-position-right .minicolors-input {
298
+ padding-right: 26px; /* LTR */
299
+ padding-left: inherit; /* LTR */
300
+ }
301
+ [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-input {
302
+ padding-right: inherit;
303
+ padding-left: 26px;
304
+ }
305
+
306
+ /* Bootstrap theme */
307
+ .minicolors-theme-bootstrap .minicolors-swatch {
308
+ z-index: 2;
309
+ top: 3px;
310
+ left: 3px; /* LTR */
311
+ width: 28px;
312
+ height: 28px;
313
+ border-radius: 3px;
314
+ }
315
+ [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch {
316
+ right: 3px;
317
+ }
318
+ .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
319
+ margin-bottom: 2px;
320
+ top: 0;
321
+ left: 0; /* LTR */
322
+ width: 20px;
323
+ height: 20px;
324
+ }
325
+ [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
326
+ right: 0;
327
+ }
328
+ .minicolors-theme-bootstrap .minicolors-swatch-color {
329
+ border-radius: inherit;
330
+ }
331
+ .minicolors-theme-bootstrap.minicolors-position-right > .minicolors-swatch {
332
+ left: auto; /* LTR */
333
+ right: 3px; /* LTR */
334
+ }
335
+ [dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left > .minicolors-swatch {
336
+ right: auto;
337
+ left: 3px;
338
+ }
339
+ .minicolors-theme-bootstrap .minicolors-input {
340
+ float: none;
341
+ padding-left: 44px; /* LTR */
342
+ }
343
+ [dir=rtl] .minicolors-theme-bootstrap .minicolors-input {
344
+ text-align: right;
345
+ unicode-bidi: plaintext;
346
+ padding-left: 12px;
347
+ padding-right: 44px;
348
+ }
349
+ .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
350
+ padding-right: 44px; /* LTR */
351
+ padding-left: 12px; /* LTR */
352
+ }
353
+ [dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left .minicolors-input {
354
+ padding-right: 12px;
355
+ padding-left: 44px;
356
+ }
357
+ .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
358
+ top: 4px;
359
+ left: 4px; /* LTR */
360
+ width: 37px;
361
+ height: 37px;
362
+ border-radius: 5px;
363
+ }
364
+ [dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
365
+ right: 4px;
366
+ }
367
+ .minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
368
+ width: 24px;
369
+ height: 24px;
370
+ }
371
+ .minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch {
372
+ width: 18px;
373
+ height: 18px;
374
+ }
375
+ .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
376
+ border-top-left-radius: 0; /* LTR */
377
+ border-bottom-left-radius: 0; /* LTR */
378
+ }
379
+ [dir=rtl] .input-group .minicolors-theme-bootstrap .minicolors-input {
380
+ border-radius: 4px;
381
+ }
382
+ [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
383
+ border-top-right-radius: 0;
384
+ border-bottom-right-radius: 0;
385
+ }
386
+ [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:last-child) .minicolors-input {
387
+ border-top-left-radius: 0;
388
+ border-bottom-left-radius: 0;
389
+ }
390
+ /* bootstrap input-group rtl override */
391
+ [dir=rtl] .input-group .form-control,
392
+ [dir=rtl] .input-group-addon,
393
+ [dir=rtl] .input-group-btn > .btn,
394
+ [dir=rtl] .input-group-btn > .btn-group > .btn,
395
+ [dir=rtl] .input-group-btn > .dropdown-toggle {
396
+ border: 1px solid #ccc;
397
+ border-radius: 4px;
398
+ }
399
+ [dir=rtl] .input-group .form-control:first-child,
400
+ [dir=rtl] .input-group-addon:first-child,
401
+ [dir=rtl] .input-group-btn:first-child > .btn,
402
+ [dir=rtl] .input-group-btn:first-child > .btn-group > .btn,
403
+ [dir=rtl] .input-group-btn:first-child > .dropdown-toggle,
404
+ [dir=rtl] .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
405
+ [dir=rtl] .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
406
+ border-top-left-radius: 0;
407
+ border-bottom-left-radius: 0;
408
+ border-left: 0;
409
+ }
410
+ [dir=rtl] .input-group .form-control:last-child,
411
+ [dir=rtl] .input-group-addon:last-child,
412
+ [dir=rtl] .input-group-btn:last-child > .btn,
413
+ [dir=rtl] .input-group-btn:last-child > .btn-group > .btn,
414
+ [dir=rtl] .input-group-btn:last-child > .dropdown-toggle,
415
+ [dir=rtl] .input-group-btn:first-child > .btn:not(:first-child),
416
+ [dir=rtl] .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
417
+ border-top-right-radius: 0;
418
+ border-bottom-right-radius: 0;
419
+ }
420
+
421
+ /* Semantic Ui theme */
422
+ .minicolors-theme-semanticui .minicolors-swatch {
423
+ top: 0;
424
+ left: 0; /* LTR */
425
+ padding: 18px;
426
+ }
427
+ [dir=rtl] .minicolors-theme-semanticui .minicolors-swatch {
428
+ right: 0;
429
+ }
430
+ .minicolors-theme-semanticui input {
431
+ text-indent: 30px;
432
+ }
app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.js ADDED
@@ -0,0 +1,1125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // jQuery MiniColors: A tiny color picker built on jQuery
3
+ //
4
+ // Developed by Cory LaViska for A Beautiful Site, LLC
5
+ //
6
+ // Licensed under the MIT license: http://opensource.org/licenses/MIT
7
+ //
8
+ (function (factory) {
9
+ if(typeof define === 'function' && define.amd) {
10
+ // AMD. Register as an anonymous module.
11
+ define(['jquery'], factory);
12
+ } else if(typeof exports === 'object') {
13
+ // Node/CommonJS
14
+ module.exports = factory(require('jquery'));
15
+ } else {
16
+ // Browser globals
17
+ factory(jQuery);
18
+ }
19
+ }(function ($) {
20
+ 'use strict';
21
+
22
+ // Defaults
23
+ $.minicolors = {
24
+ defaults: {
25
+ animationSpeed: 50,
26
+ animationEasing: 'swing',
27
+ change: null,
28
+ changeDelay: 0,
29
+ control: 'hue',
30
+ defaultValue: '',
31
+ format: 'hex',
32
+ hide: null,
33
+ hideSpeed: 100,
34
+ inline: false,
35
+ keywords: '',
36
+ letterCase: 'lowercase',
37
+ opacity: false,
38
+ position: 'bottom',
39
+ show: null,
40
+ showSpeed: 100,
41
+ theme: 'default',
42
+ swatches: []
43
+ }
44
+ };
45
+
46
+ // Public methods
47
+ $.extend($.fn, {
48
+ minicolors: function(method, data) {
49
+
50
+ switch(method) {
51
+ // Destroy the control
52
+ case 'destroy':
53
+ $(this).each(function() {
54
+ destroy($(this));
55
+ });
56
+ return $(this);
57
+
58
+ // Hide the color picker
59
+ case 'hide':
60
+ hide();
61
+ return $(this);
62
+
63
+ // Get/set opacity
64
+ case 'opacity':
65
+ // Getter
66
+ if(data === undefined) {
67
+ // Getter
68
+ return $(this).attr('data-opacity');
69
+ } else {
70
+ // Setter
71
+ $(this).each(function() {
72
+ updateFromInput($(this).attr('data-opacity', data));
73
+ });
74
+ }
75
+ return $(this);
76
+
77
+ // Get an RGB(A) object based on the current color/opacity
78
+ case 'rgbObject':
79
+ return rgbObject($(this), method === 'rgbaObject');
80
+
81
+ // Get an RGB(A) string based on the current color/opacity
82
+ case 'rgbString':
83
+ case 'rgbaString':
84
+ return rgbString($(this), method === 'rgbaString');
85
+
86
+ // Get/set settings on the fly
87
+ case 'settings':
88
+ if(data === undefined) {
89
+ return $(this).data('minicolors-settings');
90
+ } else {
91
+ // Setter
92
+ $(this).each(function() {
93
+ var settings = $(this).data('minicolors-settings') || {};
94
+ destroy($(this));
95
+ $(this).minicolors($.extend(true, settings, data));
96
+ });
97
+ }
98
+ return $(this);
99
+
100
+ // Show the color picker
101
+ case 'show':
102
+ show($(this).eq(0));
103
+ return $(this);
104
+
105
+ // Get/set the hex color value
106
+ case 'value':
107
+ if(data === undefined) {
108
+ // Getter
109
+ return $(this).val();
110
+ } else {
111
+ // Setter
112
+ $(this).each(function() {
113
+ if(typeof(data) === 'object' && data !== null) {
114
+ if(data.opacity !== undefined) {
115
+ $(this).attr('data-opacity', keepWithin(data.opacity, 0, 1));
116
+ }
117
+ if(data.color) {
118
+ $(this).val(data.color);
119
+ }
120
+ } else {
121
+ $(this).val(data);
122
+ }
123
+ updateFromInput($(this));
124
+ });
125
+ }
126
+ return $(this);
127
+
128
+ // Initializes the control
129
+ default:
130
+ if(method !== 'create') data = method;
131
+ $(this).each(function() {
132
+ init($(this), data);
133
+ });
134
+ return $(this);
135
+
136
+ }
137
+
138
+ }
139
+ });
140
+
141
+ // Initialize input elements
142
+ function init(input, settings) {
143
+ var minicolors = $('<div class="minicolors" />');
144
+ var defaults = $.minicolors.defaults;
145
+ var name;
146
+ var size;
147
+ var swatches;
148
+ var swatch;
149
+ var panel;
150
+ var i;
151
+
152
+ // Do nothing if already initialized
153
+ if(input.data('minicolors-initialized')) return;
154
+
155
+ // Handle settings
156
+ settings = $.extend(true, {}, defaults, settings);
157
+
158
+ // The wrapper
159
+ minicolors
160
+ .addClass('minicolors-theme-' + settings.theme)
161
+ .toggleClass('minicolors-with-opacity', settings.opacity);
162
+
163
+ // Custom positioning
164
+ if(settings.position !== undefined) {
165
+ $.each(settings.position.split(' '), function() {
166
+ minicolors.addClass('minicolors-position-' + this);
167
+ });
168
+ }
169
+
170
+ // Input size
171
+ if(settings.format === 'rgb') {
172
+ size = settings.opacity ? '25' : '20';
173
+ } else {
174
+ size = settings.keywords ? '11' : '7';
175
+ }
176
+
177
+ // The input
178
+ input
179
+ .addClass('minicolors-input')
180
+ .data('minicolors-initialized', false)
181
+ .data('minicolors-settings', settings)
182
+ .prop('size', size)
183
+ .wrap(minicolors)
184
+ .after(
185
+ '<div class="minicolors-panel minicolors-slider-' + settings.control + '">' +
186
+ '<div class="minicolors-slider minicolors-sprite">' +
187
+ '<div class="minicolors-picker"></div>' +
188
+ '</div>' +
189
+ '<div class="minicolors-opacity-slider minicolors-sprite">' +
190
+ '<div class="minicolors-picker"></div>' +
191
+ '</div>' +
192
+ '<div class="minicolors-grid minicolors-sprite">' +
193
+ '<div class="minicolors-grid-inner"></div>' +
194
+ '<div class="minicolors-picker"><div></div></div>' +
195
+ '</div>' +
196
+ '</div>'
197
+ );
198
+
199
+ // The swatch
200
+ if(!settings.inline) {
201
+ input.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>');
202
+ input.next('.minicolors-input-swatch').on('click', function(event) {
203
+ event.preventDefault();
204
+ input.focus();
205
+ });
206
+ }
207
+
208
+ // Prevent text selection in IE
209
+ panel = input.parent().find('.minicolors-panel');
210
+ panel.on('selectstart', function() { return false; }).end();
211
+
212
+ // Swatches
213
+ if(settings.swatches && settings.swatches.length !== 0) {
214
+ panel.addClass('minicolors-with-swatches');
215
+ swatches = $('<ul class="minicolors-swatches"></ul>')
216
+ .appendTo(panel);
217
+ for(i = 0; i < settings.swatches.length; ++i) {
218
+ // allow for custom objects as swatches
219
+ if($.type(settings.swatches[i]) === 'object') {
220
+ name = settings.swatches[i].name;
221
+ swatch = settings.swatches[i].color;
222
+ } else {
223
+ name = '';
224
+ swatch = settings.swatches[i];
225
+ }
226
+ swatch = isRgb(swatch) ? parseRgb(swatch, true) : hex2rgb(parseHex(swatch, true));
227
+ $('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color" title="' + name + '"></span></li>')
228
+ .appendTo(swatches)
229
+ .data('swatch-color', settings.swatches[i])
230
+ .find('.minicolors-swatch-color')
231
+ .css({
232
+ backgroundColor: rgb2hex(swatch),
233
+ opacity: swatch.a
234
+ });
235
+ settings.swatches[i] = swatch;
236
+ }
237
+ }
238
+
239
+ // Inline controls
240
+ if(settings.inline) input.parent().addClass('minicolors-inline');
241
+
242
+ updateFromInput(input, false);
243
+
244
+ input.data('minicolors-initialized', true);
245
+ }
246
+
247
+ // Returns the input back to its original state
248
+ function destroy(input) {
249
+ var minicolors = input.parent();
250
+
251
+ // Revert the input element
252
+ input
253
+ .removeData('minicolors-initialized')
254
+ .removeData('minicolors-settings')
255
+ .removeProp('size')
256
+ .removeClass('minicolors-input');
257
+
258
+ // Remove the wrap and destroy whatever remains
259
+ minicolors.before(input).remove();
260
+ }
261
+
262
+ // Shows the specified dropdown panel
263
+ function show(input) {
264
+ var minicolors = input.parent();
265
+ var panel = minicolors.find('.minicolors-panel');
266
+ var settings = input.data('minicolors-settings');
267
+
268
+ // Do nothing if uninitialized, disabled, inline, or already open
269
+ if(
270
+ !input.data('minicolors-initialized') ||
271
+ input.prop('disabled') ||
272
+ minicolors.hasClass('minicolors-inline') ||
273
+ minicolors.hasClass('minicolors-focus')
274
+ ) return;
275
+
276
+ hide();
277
+
278
+ minicolors.addClass('minicolors-focus');
279
+ if (panel.animate) {
280
+ panel
281
+ .stop(true, true)
282
+ .fadeIn(settings.showSpeed, function () {
283
+ if (settings.show) settings.show.call(input.get(0));
284
+ });
285
+ } else {
286
+ panel.css('opacity', 1);
287
+ if (settings.show) settings.show.call(input.get(0));
288
+ }
289
+ }
290
+
291
+ // Hides all dropdown panels
292
+ function hide() {
293
+ $('.minicolors-focus').each(function() {
294
+ var minicolors = $(this);
295
+ var input = minicolors.find('.minicolors-input');
296
+ var panel = minicolors.find('.minicolors-panel');
297
+ var settings = input.data('minicolors-settings');
298
+
299
+ if (panel.animate) {
300
+ panel.fadeOut(settings.hideSpeed, function () {
301
+ if (settings.hide) settings.hide.call(input.get(0));
302
+ minicolors.removeClass('minicolors-focus');
303
+ });
304
+ } else {
305
+ panel.css('opacity', 0);
306
+ if (settings.hide) settings.hide.call(input.get(0));
307
+ minicolors.removeClass('minicolors-focus');
308
+ }
309
+ });
310
+ }
311
+
312
+ // Moves the selected picker
313
+ function move(target, event, animate) {
314
+ var input = target.parents('.minicolors').find('.minicolors-input');
315
+ var settings = input.data('minicolors-settings');
316
+ var picker = target.find('[class$=-picker]');
317
+ var offsetX = target.offset().left;
318
+ var offsetY = target.offset().top;
319
+ var x = Math.round(event.pageX - offsetX);
320
+ var y = Math.round(event.pageY - offsetY);
321
+ var duration = animate ? settings.animationSpeed : 0;
322
+ var wx, wy, r, phi, styles;
323
+
324
+ // Touch support
325
+ if(event.originalEvent.changedTouches) {
326
+ x = event.originalEvent.changedTouches[0].pageX - offsetX;
327
+ y = event.originalEvent.changedTouches[0].pageY - offsetY;
328
+ }
329
+
330
+ // Constrain picker to its container
331
+ if(x < 0) x = 0;
332
+ if(y < 0) y = 0;
333
+ if(x > target.width()) x = target.width();
334
+ if(y > target.height()) y = target.height();
335
+
336
+ // Constrain color wheel values to the wheel
337
+ if(target.parent().is('.minicolors-slider-wheel') && picker.parent().is('.minicolors-grid')) {
338
+ wx = 75 - x;
339
+ wy = 75 - y;
340
+ r = Math.sqrt(wx * wx + wy * wy);
341
+ phi = Math.atan2(wy, wx);
342
+ if(phi < 0) phi += Math.PI * 2;
343
+ if(r > 75) {
344
+ r = 75;
345
+ x = 75 - (75 * Math.cos(phi));
346
+ y = 75 - (75 * Math.sin(phi));
347
+ }
348
+ x = Math.round(x);
349
+ y = Math.round(y);
350
+ }
351
+
352
+ // Move the picker
353
+ styles = {
354
+ top: y + 'px'
355
+ };
356
+ if(target.is('.minicolors-grid')) {
357
+ styles.left = x + 'px';
358
+ }
359
+ if (picker.animate) {
360
+ picker
361
+ .stop(true)
362
+ .animate(styles, duration, settings.animationEasing, function() {
363
+ updateFromControl(input, target);
364
+ });
365
+ } else {
366
+ picker
367
+ .css(styles);
368
+ updateFromControl(input, target);
369
+ }
370
+ }
371
+
372
+ // Sets the input based on the color picker values
373
+ function updateFromControl(input, target) {
374
+
375
+ function getCoords(picker, container) {
376
+ var left, top;
377
+ if(!picker.length || !container) return null;
378
+ left = picker.offset().left;
379
+ top = picker.offset().top;
380
+
381
+ return {
382
+ x: left - container.offset().left + (picker.outerWidth() / 2),
383
+ y: top - container.offset().top + (picker.outerHeight() / 2)
384
+ };
385
+ }
386
+
387
+ var hue, saturation, brightness, x, y, r, phi;
388
+ var hex = input.val();
389
+ var opacity = input.attr('data-opacity');
390
+
391
+ // Helpful references
392
+ var minicolors = input.parent();
393
+ var settings = input.data('minicolors-settings');
394
+ var swatch = minicolors.find('.minicolors-input-swatch');
395
+
396
+ // Panel objects
397
+ var grid = minicolors.find('.minicolors-grid');
398
+ var slider = minicolors.find('.minicolors-slider');
399
+ var opacitySlider = minicolors.find('.minicolors-opacity-slider');
400
+
401
+ // Picker objects
402
+ var gridPicker = grid.find('[class$=-picker]');
403
+ var sliderPicker = slider.find('[class$=-picker]');
404
+ var opacityPicker = opacitySlider.find('[class$=-picker]');
405
+
406
+ // Picker positions
407
+ var gridPos = getCoords(gridPicker, grid);
408
+ var sliderPos = getCoords(sliderPicker, slider);
409
+ var opacityPos = getCoords(opacityPicker, opacitySlider);
410
+
411
+ // Handle colors
412
+ if(target.is('.minicolors-grid, .minicolors-slider, .minicolors-opacity-slider')) {
413
+
414
+ // Determine HSB values
415
+ switch(settings.control) {
416
+ case 'wheel':
417
+ // Calculate hue, saturation, and brightness
418
+ x = (grid.width() / 2) - gridPos.x;
419
+ y = (grid.height() / 2) - gridPos.y;
420
+ r = Math.sqrt(x * x + y * y);
421
+ phi = Math.atan2(y, x);
422
+ if(phi < 0) phi += Math.PI * 2;
423
+ if(r > 75) {
424
+ r = 75;
425
+ gridPos.x = 69 - (75 * Math.cos(phi));
426
+ gridPos.y = 69 - (75 * Math.sin(phi));
427
+ }
428
+ saturation = keepWithin(r / 0.75, 0, 100);
429
+ hue = keepWithin(phi * 180 / Math.PI, 0, 360);
430
+ brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);
431
+ hex = hsb2hex({
432
+ h: hue,
433
+ s: saturation,
434
+ b: brightness
435
+ });
436
+
437
+ // Update UI
438
+ slider.css('backgroundColor', hsb2hex({ h: hue, s: saturation, b: 100 }));
439
+ break;
440
+
441
+ case 'saturation':
442
+ // Calculate hue, saturation, and brightness
443
+ hue = keepWithin(parseInt(gridPos.x * (360 / grid.width()), 10), 0, 360);
444
+ saturation = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);
445
+ brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);
446
+ hex = hsb2hex({
447
+ h: hue,
448
+ s: saturation,
449
+ b: brightness
450
+ });
451
+
452
+ // Update UI
453
+ slider.css('backgroundColor', hsb2hex({ h: hue, s: 100, b: brightness }));
454
+ minicolors.find('.minicolors-grid-inner').css('opacity', saturation / 100);
455
+ break;
456
+
457
+ case 'brightness':
458
+ // Calculate hue, saturation, and brightness
459
+ hue = keepWithin(parseInt(gridPos.x * (360 / grid.width()), 10), 0, 360);
460
+ saturation = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);
461
+ brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100);
462
+ hex = hsb2hex({
463
+ h: hue,
464
+ s: saturation,
465
+ b: brightness
466
+ });
467
+
468
+ // Update UI
469
+ slider.css('backgroundColor', hsb2hex({ h: hue, s: saturation, b: 100 }));
470
+ minicolors.find('.minicolors-grid-inner').css('opacity', 1 - (brightness / 100));
471
+ break;
472
+
473
+ default:
474
+ // Calculate hue, saturation, and brightness
475
+ hue = keepWithin(360 - parseInt(sliderPos.y * (360 / slider.height()), 10), 0, 360);
476
+ saturation = keepWithin(Math.floor(gridPos.x * (100 / grid.width())), 0, 100);
477
+ brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100);
478
+ hex = hsb2hex({
479
+ h: hue,
480
+ s: saturation,
481
+ b: brightness
482
+ });
483
+
484
+ // Update UI
485
+ grid.css('backgroundColor', hsb2hex({ h: hue, s: 100, b: 100 }));
486
+ break;
487
+ }
488
+
489
+ // Handle opacity
490
+ if(settings.opacity) {
491
+ opacity = parseFloat(1 - (opacityPos.y / opacitySlider.height())).toFixed(2);
492
+ } else {
493
+ opacity = 1;
494
+ }
495
+
496
+ updateInput(input, hex, opacity);
497
+ }
498
+ else {
499
+ // Set swatch color
500
+ swatch.find('span').css({
501
+ backgroundColor: hex,
502
+ opacity: opacity
503
+ });
504
+
505
+ // Handle change event
506
+ doChange(input, hex, opacity);
507
+ }
508
+ }
509
+
510
+ // Sets the value of the input and does the appropriate conversions
511
+ // to respect settings, also updates the swatch
512
+ function updateInput(input, value, opacity) {
513
+ var rgb;
514
+
515
+ // Helpful references
516
+ var minicolors = input.parent();
517
+ var settings = input.data('minicolors-settings');
518
+ var swatch = minicolors.find('.minicolors-input-swatch');
519
+
520
+ if(settings.opacity) input.attr('data-opacity', opacity);
521
+
522
+ // Set color string
523
+ if(settings.format === 'rgb') {
524
+ // Returns RGB(A) string
525
+
526
+ // Checks for input format and does the conversion
527
+ if(isRgb(value)) {
528
+ rgb = parseRgb(value, true);
529
+ }
530
+ else {
531
+ rgb = hex2rgb(parseHex(value, true));
532
+ }
533
+
534
+ opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1);
535
+ if(isNaN(opacity) || !settings.opacity) opacity = 1;
536
+
537
+ if(input.minicolors('rgbObject').a <= 1 && rgb && settings.opacity) {
538
+ // Set RGBA string if alpha
539
+ value = 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + parseFloat(opacity) + ')';
540
+ } else {
541
+ // Set RGB string (alpha = 1)
542
+ value = 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')';
543
+ }
544
+ } else {
545
+ // Returns hex color
546
+
547
+ // Checks for input format and does the conversion
548
+ if(isRgb(value)) {
549
+ value = rgbString2hex(value);
550
+ }
551
+
552
+ value = convertCase(value, settings.letterCase);
553
+ }
554
+
555
+ // Update value from picker
556
+ input.val(value);
557
+
558
+ // Set swatch color
559
+ swatch.find('span').css({
560
+ backgroundColor: value,
561
+ opacity: opacity
562
+ });
563
+
564
+ // Handle change event
565
+ doChange(input, value, opacity);
566
+ }
567
+
568
+ // Sets the color picker values from the input
569
+ function updateFromInput(input, preserveInputValue) {
570
+ var hex, hsb, opacity, keywords, alpha, value, x, y, r, phi;
571
+
572
+ // Helpful references
573
+ var minicolors = input.parent();
574
+ var settings = input.data('minicolors-settings');
575
+ var swatch = minicolors.find('.minicolors-input-swatch');
576
+
577
+ // Panel objects
578
+ var grid = minicolors.find('.minicolors-grid');
579
+ var slider = minicolors.find('.minicolors-slider');
580
+ var opacitySlider = minicolors.find('.minicolors-opacity-slider');
581
+
582
+ // Picker objects
583
+ var gridPicker = grid.find('[class$=-picker]');
584
+ var sliderPicker = slider.find('[class$=-picker]');
585
+ var opacityPicker = opacitySlider.find('[class$=-picker]');
586
+
587
+ // Determine hex/HSB values
588
+ if(isRgb(input.val())) {
589
+ // If input value is a rgb(a) string, convert it to hex color and update opacity
590
+ hex = rgbString2hex(input.val());
591
+ alpha = keepWithin(parseFloat(getAlpha(input.val())).toFixed(2), 0, 1);
592
+ if(alpha) {
593
+ input.attr('data-opacity', alpha);
594
+ }
595
+ } else {
596
+ hex = convertCase(parseHex(input.val(), true), settings.letterCase);
597
+ }
598
+
599
+ if(!hex){
600
+ hex = convertCase(parseInput(settings.defaultValue, true), settings.letterCase);
601
+ }
602
+ hsb = hex2hsb(hex);
603
+
604
+ // Get array of lowercase keywords
605
+ keywords = !settings.keywords ? [] : $.map(settings.keywords.split(','), function(a) {
606
+ return $.trim(a.toLowerCase());
607
+ });
608
+
609
+ // Set color string
610
+ if(input.val() !== '' && $.inArray(input.val().toLowerCase(), keywords) > -1) {
611
+ value = convertCase(input.val());
612
+ } else {
613
+ value = isRgb(input.val()) ? parseRgb(input.val()) : hex;
614
+ }
615
+
616
+ // Update input value
617
+ if(!preserveInputValue) input.val(value);
618
+
619
+ // Determine opacity value
620
+ if(settings.opacity) {
621
+ // Get from data-opacity attribute and keep within 0-1 range
622
+ opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1);
623
+ if(isNaN(opacity)) opacity = 1;
624
+ input.attr('data-opacity', opacity);
625
+ swatch.find('span').css('opacity', opacity);
626
+
627
+ // Set opacity picker position
628
+ y = keepWithin(opacitySlider.height() - (opacitySlider.height() * opacity), 0, opacitySlider.height());
629
+ opacityPicker.css('top', y + 'px');
630
+ }
631
+
632
+ // Set opacity to zero if input value is transparent
633
+ if(input.val().toLowerCase() === 'transparent') {
634
+ swatch.find('span').css('opacity', 0);
635
+ }
636
+
637
+ // Update swatch
638
+ swatch.find('span').css('backgroundColor', hex);
639
+
640
+ // Determine picker locations
641
+ switch(settings.control) {
642
+ case 'wheel':
643
+ // Set grid position
644
+ r = keepWithin(Math.ceil(hsb.s * 0.75), 0, grid.height() / 2);
645
+ phi = hsb.h * Math.PI / 180;
646
+ x = keepWithin(75 - Math.cos(phi) * r, 0, grid.width());
647
+ y = keepWithin(75 - Math.sin(phi) * r, 0, grid.height());
648
+ gridPicker.css({
649
+ top: y + 'px',
650
+ left: x + 'px'
651
+ });
652
+
653
+ // Set slider position
654
+ y = 150 - (hsb.b / (100 / grid.height()));
655
+ if(hex === '') y = 0;
656
+ sliderPicker.css('top', y + 'px');
657
+
658
+ // Update panel color
659
+ slider.css('backgroundColor', hsb2hex({ h: hsb.h, s: hsb.s, b: 100 }));
660
+ break;
661
+
662
+ case 'saturation':
663
+ // Set grid position
664
+ x = keepWithin((5 * hsb.h) / 12, 0, 150);
665
+ y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height());
666
+ gridPicker.css({
667
+ top: y + 'px',
668
+ left: x + 'px'
669
+ });
670
+
671
+ // Set slider position
672
+ y = keepWithin(slider.height() - (hsb.s * (slider.height() / 100)), 0, slider.height());
673
+ sliderPicker.css('top', y + 'px');
674
+
675
+ // Update UI
676
+ slider.css('backgroundColor', hsb2hex({ h: hsb.h, s: 100, b: hsb.b }));
677
+ minicolors.find('.minicolors-grid-inner').css('opacity', hsb.s / 100);
678
+ break;
679
+
680
+ case 'brightness':
681
+ // Set grid position
682
+ x = keepWithin((5 * hsb.h) / 12, 0, 150);
683
+ y = keepWithin(grid.height() - Math.ceil(hsb.s / (100 / grid.height())), 0, grid.height());
684
+ gridPicker.css({
685
+ top: y + 'px',
686
+ left: x + 'px'
687
+ });
688
+
689
+ // Set slider position
690
+ y = keepWithin(slider.height() - (hsb.b * (slider.height() / 100)), 0, slider.height());
691
+ sliderPicker.css('top', y + 'px');
692
+
693
+ // Update UI
694
+ slider.css('backgroundColor', hsb2hex({ h: hsb.h, s: hsb.s, b: 100 }));
695
+ minicolors.find('.minicolors-grid-inner').css('opacity', 1 - (hsb.b / 100));
696
+ break;
697
+
698
+ default:
699
+ // Set grid position
700
+ x = keepWithin(Math.ceil(hsb.s / (100 / grid.width())), 0, grid.width());
701
+ y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height());
702
+ gridPicker.css({
703
+ top: y + 'px',
704
+ left: x + 'px'
705
+ });
706
+
707
+ // Set slider position
708
+ y = keepWithin(slider.height() - (hsb.h / (360 / slider.height())), 0, slider.height());
709
+ sliderPicker.css('top', y + 'px');
710
+
711
+ // Update panel color
712
+ grid.css('backgroundColor', hsb2hex({ h: hsb.h, s: 100, b: 100 }));
713
+ break;
714
+ }
715
+
716
+ // Fire change event, but only if minicolors is fully initialized
717
+ if(input.data('minicolors-initialized')) {
718
+ doChange(input, value, opacity);
719
+ }
720
+ }
721
+
722
+ // Runs the change and changeDelay callbacks
723
+ function doChange(input, value, opacity) {
724
+ var settings = input.data('minicolors-settings');
725
+ var lastChange = input.data('minicolors-lastChange');
726
+ var obj, sel, i;
727
+
728
+ // Only run if it actually changed
729
+ if(!lastChange || lastChange.value !== value || lastChange.opacity !== opacity) {
730
+
731
+ // Remember last-changed value
732
+ input.data('minicolors-lastChange', {
733
+ value: value,
734
+ opacity: opacity
735
+ });
736
+
737
+ // Check and select applicable swatch
738
+ if(settings.swatches && settings.swatches.length !== 0) {
739
+ if(!isRgb(value)) {
740
+ obj = hex2rgb(value);
741
+ }
742
+ else {
743
+ obj = parseRgb(value, true);
744
+ }
745
+ sel = -1;
746
+ for(i = 0; i < settings.swatches.length; ++i) {
747
+ if(obj.r === settings.swatches[i].r && obj.g === settings.swatches[i].g && obj.b === settings.swatches[i].b && obj.a === settings.swatches[i].a) {
748
+ sel = i;
749
+ break;
750
+ }
751
+ }
752
+
753
+ input.parent().find('.minicolors-swatches .minicolors-swatch').removeClass('selected');
754
+ if(sel !== -1) {
755
+ input.parent().find('.minicolors-swatches .minicolors-swatch').eq(i).addClass('selected');
756
+ }
757
+ }
758
+
759
+ // Fire change event
760
+ if(settings.change) {
761
+ if(settings.changeDelay) {
762
+ // Call after a delay
763
+ clearTimeout(input.data('minicolors-changeTimeout'));
764
+ input.data('minicolors-changeTimeout', setTimeout(function() {
765
+ settings.change.call(input.get(0), value, opacity);
766
+ }, settings.changeDelay));
767
+ } else {
768
+ // Call immediately
769
+ settings.change.call(input.get(0), value, opacity);
770
+ }
771
+ }
772
+ input.trigger('change').trigger('input');
773
+ }
774
+ }
775
+
776
+ // Generates an RGB(A) object based on the input's value
777
+ function rgbObject(input) {
778
+ var rgb,
779
+ opacity = $(input).attr('data-opacity');
780
+ if( isRgb($(input).val()) ) {
781
+ rgb = parseRgb($(input).val(), true);
782
+ } else {
783
+ var hex = parseHex($(input).val(), true);
784
+ rgb = hex2rgb(hex);
785
+ }
786
+ if( !rgb ) return null;
787
+ if( opacity !== undefined ) $.extend(rgb, { a: parseFloat(opacity) });
788
+ return rgb;
789
+ }
790
+
791
+ // Generates an RGB(A) string based on the input's value
792
+ function rgbString(input, alpha) {
793
+ var rgb,
794
+ opacity = $(input).attr('data-opacity');
795
+ if( isRgb($(input).val()) ) {
796
+ rgb = parseRgb($(input).val(), true);
797
+ } else {
798
+ var hex = parseHex($(input).val(), true);
799
+ rgb = hex2rgb(hex);
800
+ }
801
+ if( !rgb ) return null;
802
+ if( opacity === undefined ) opacity = 1;
803
+ if( alpha ) {
804
+ return 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + parseFloat(opacity) + ')';
805
+ } else {
806
+ return 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')';
807
+ }
808
+ }
809
+
810
+ // Converts to the letter case specified in settings
811
+ function convertCase(string, letterCase) {
812
+ return letterCase === 'uppercase' ? string.toUpperCase() : string.toLowerCase();
813
+ }
814
+
815
+ // Parses a string and returns a valid hex string when possible
816
+ function parseHex(string, expand) {
817
+ string = string.replace(/^#/g, '');
818
+ if(!string.match(/^[A-F0-9]{3,6}/ig)) return '';
819
+ if(string.length !== 3 && string.length !== 6) return '';
820
+ if(string.length === 3 && expand) {
821
+ string = string[0] + string[0] + string[1] + string[1] + string[2] + string[2];
822
+ }
823
+ return '#' + string;
824
+ }
825
+
826
+ // Parses a string and returns a valid RGB(A) string when possible
827
+ function parseRgb(string, obj) {
828
+ var values = string.replace(/[^\d,.]/g, '');
829
+ var rgba = values.split(',');
830
+
831
+ rgba[0] = keepWithin(parseInt(rgba[0], 10), 0, 255);
832
+ rgba[1] = keepWithin(parseInt(rgba[1], 10), 0, 255);
833
+ rgba[2] = keepWithin(parseInt(rgba[2], 10), 0, 255);
834
+ if(rgba[3] !== undefined) {
835
+ rgba[3] = keepWithin(parseFloat(rgba[3], 10), 0, 1);
836
+ }
837
+
838
+ // Return RGBA object
839
+ if( obj ) {
840
+ if (rgba[3] !== undefined) {
841
+ return {
842
+ r: rgba[0],
843
+ g: rgba[1],
844
+ b: rgba[2],
845
+ a: rgba[3]
846
+ };
847
+ } else {
848
+ return {
849
+ r: rgba[0],
850
+ g: rgba[1],
851
+ b: rgba[2]
852
+ };
853
+ }
854
+ }
855
+
856
+ // Return RGBA string
857
+ if(typeof(rgba[3]) !== 'undefined' && rgba[3] <= 1) {
858
+ return 'rgba(' + rgba[0] + ', ' + rgba[1] + ', ' + rgba[2] + ', ' + rgba[3] + ')';
859
+ } else {
860
+ return 'rgb(' + rgba[0] + ', ' + rgba[1] + ', ' + rgba[2] + ')';
861
+ }
862
+
863
+ }
864
+
865
+ // Parses a string and returns a valid color string when possible
866
+ function parseInput(string, expand) {
867
+ if(isRgb(string)) {
868
+ // Returns a valid rgb(a) string
869
+ return parseRgb(string);
870
+ } else {
871
+ return parseHex(string, expand);
872
+ }
873
+ }
874
+
875
+ // Keeps value within min and max
876
+ function keepWithin(value, min, max) {
877
+ if(value < min) value = min;
878
+ if(value > max) value = max;
879
+ return value;
880
+ }
881
+
882
+ // Checks if a string is a valid RGB(A) string
883
+ function isRgb(string) {
884
+ var rgb = string.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);
885
+ return (rgb && rgb.length === 4) ? true : false;
886
+ }
887
+
888
+ // Function to get alpha from a RGB(A) string
889
+ function getAlpha(rgba) {
890
+ rgba = rgba.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i);
891
+ return (rgba && rgba.length === 6) ? rgba[4] : '1';
892
+ }
893
+
894
+ // Converts an HSB object to an RGB object
895
+ function hsb2rgb(hsb) {
896
+ var rgb = {};
897
+ var h = Math.round(hsb.h);
898
+ var s = Math.round(hsb.s * 255 / 100);
899
+ var v = Math.round(hsb.b * 255 / 100);
900
+ if(s === 0) {
901
+ rgb.r = rgb.g = rgb.b = v;
902
+ } else {
903
+ var t1 = v;
904
+ var t2 = (255 - s) * v / 255;
905
+ var t3 = (t1 - t2) * (h % 60) / 60;
906
+ if(h === 360) h = 0;
907
+ if(h < 60) { rgb.r = t1; rgb.b = t2; rgb.g = t2 + t3; }
908
+ else if(h < 120) {rgb.g = t1; rgb.b = t2; rgb.r = t1 - t3; }
909
+ else if(h < 180) {rgb.g = t1; rgb.r = t2; rgb.b = t2 + t3; }
910
+ else if(h < 240) {rgb.b = t1; rgb.r = t2; rgb.g = t1 - t3; }
911
+ else if(h < 300) {rgb.b = t1; rgb.g = t2; rgb.r = t2 + t3; }
912
+ else if(h < 360) {rgb.r = t1; rgb.g = t2; rgb.b = t1 - t3; }
913
+ else { rgb.r = 0; rgb.g = 0; rgb.b = 0; }
914
+ }
915
+ return {
916
+ r: Math.round(rgb.r),
917
+ g: Math.round(rgb.g),
918
+ b: Math.round(rgb.b)
919
+ };
920
+ }
921
+
922
+ // Converts an RGB string to a hex string
923
+ function rgbString2hex(rgb){
924
+ rgb = rgb.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);
925
+ return (rgb && rgb.length === 4) ? '#' +
926
+ ('0' + parseInt(rgb[1],10).toString(16)).slice(-2) +
927
+ ('0' + parseInt(rgb[2],10).toString(16)).slice(-2) +
928
+ ('0' + parseInt(rgb[3],10).toString(16)).slice(-2) : '';
929
+ }
930
+
931
+ // Converts an RGB object to a hex string
932
+ function rgb2hex(rgb) {
933
+ var hex = [
934
+ rgb.r.toString(16),
935
+ rgb.g.toString(16),
936
+ rgb.b.toString(16)
937
+ ];
938
+ $.each(hex, function(nr, val) {
939
+ if(val.length === 1) hex[nr] = '0' + val;
940
+ });
941
+ return '#' + hex.join('');
942
+ }
943
+
944
+ // Converts an HSB object to a hex string
945
+ function hsb2hex(hsb) {
946
+ return rgb2hex(hsb2rgb(hsb));
947
+ }
948
+
949
+ // Converts a hex string to an HSB object
950
+ function hex2hsb(hex) {
951
+ var hsb = rgb2hsb(hex2rgb(hex));
952
+ if(hsb.s === 0) hsb.h = 360;
953
+ return hsb;
954
+ }
955
+
956
+ // Converts an RGB object to an HSB object
957
+ function rgb2hsb(rgb) {
958
+ var hsb = { h: 0, s: 0, b: 0 };
959
+ var min = Math.min(rgb.r, rgb.g, rgb.b);
960
+ var max = Math.max(rgb.r, rgb.g, rgb.b);
961
+ var delta = max - min;
962
+ hsb.b = max;
963
+ hsb.s = max !== 0 ? 255 * delta / max : 0;
964
+ if(hsb.s !== 0) {
965
+ if(rgb.r === max) {
966
+ hsb.h = (rgb.g - rgb.b) / delta;
967
+ } else if(rgb.g === max) {
968
+ hsb.h = 2 + (rgb.b - rgb.r) / delta;
969
+ } else {
970
+ hsb.h = 4 + (rgb.r - rgb.g) / delta;
971
+ }
972
+ } else {
973
+ hsb.h = -1;
974
+ }
975
+ hsb.h *= 60;
976
+ if(hsb.h < 0) {
977
+ hsb.h += 360;
978
+ }
979
+ hsb.s *= 100/255;
980
+ hsb.b *= 100/255;
981
+ return hsb;
982
+ }
983
+
984
+ // Converts a hex string to an RGB object
985
+ function hex2rgb(hex) {
986
+ hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16);
987
+ return {
988
+ r: hex >> 16,
989
+ g: (hex & 0x00FF00) >> 8,
990
+ b: (hex & 0x0000FF)
991
+ };
992
+ }
993
+
994
+ // Handle events
995
+ $([document])
996
+ // Hide on clicks outside of the control
997
+ .on('mousedown.minicolors touchstart.minicolors', function(event) {
998
+ if(!$(event.target).parents().add(event.target).hasClass('minicolors')) {
999
+ hide();
1000
+ }
1001
+ })
1002
+ // Start moving
1003
+ .on('mousedown.minicolors touchstart.minicolors', '.minicolors-grid, .minicolors-slider, .minicolors-opacity-slider', function(event) {
1004
+ var target = $(this);
1005
+ event.preventDefault();
1006
+ $(event.delegateTarget).data('minicolors-target', target);
1007
+ move(target, event, true);
1008
+ })
1009
+ // Move pickers
1010
+ .on('mousemove.minicolors touchmove.minicolors', function(event) {
1011
+ var target = $(event.delegateTarget).data('minicolors-target');
1012
+ if(target) move(target, event);
1013
+ })
1014
+ // Stop moving
1015
+ .on('mouseup.minicolors touchend.minicolors', function() {
1016
+ $(this).removeData('minicolors-target');
1017
+ })
1018
+ // Selected a swatch
1019
+ .on('click.minicolors', '.minicolors-swatches li', function(event) {
1020
+ event.preventDefault();
1021
+ var target = $(this), input = target.parents('.minicolors').find('.minicolors-input'), color = target.data('swatch-color');
1022
+ updateInput(input, color, getAlpha(color));
1023
+ updateFromInput(input);
1024
+ })
1025
+ // Show panel when swatch is clicked
1026
+ .on('mousedown.minicolors touchstart.minicolors', '.minicolors-input-swatch', function(event) {
1027
+ var input = $(this).parent().find('.minicolors-input');
1028
+ event.preventDefault();
1029
+ show(input);
1030
+ })
1031
+ // Show on focus
1032
+ .on('focus.minicolors', '.minicolors-input', function() {
1033
+ var input = $(this);
1034
+ if(!input.data('minicolors-initialized')) return;
1035
+ show(input);
1036
+ })
1037
+ // Update value on blur
1038
+ .on('blur.minicolors', '.minicolors-input', function() {
1039
+ var input = $(this);
1040
+ var settings = input.data('minicolors-settings');
1041
+ var keywords;
1042
+ var hex;
1043
+ var rgba;
1044
+ var swatchOpacity;
1045
+ var value;
1046
+
1047
+ if(!input.data('minicolors-initialized')) return;
1048
+
1049
+ // Get array of lowercase keywords
1050
+ keywords = !settings.keywords ? [] : $.map(settings.keywords.split(','), function(a) {
1051
+ return $.trim(a.toLowerCase());
1052
+ });
1053
+
1054
+ // Set color string
1055
+ if(input.val() !== '' && $.inArray(input.val().toLowerCase(), keywords) > -1) {
1056
+ value = input.val();
1057
+ } else {
1058
+ // Get RGBA values for easy conversion
1059
+ if(isRgb(input.val())) {
1060
+ rgba = parseRgb(input.val(), true);
1061
+ } else {
1062
+ hex = parseHex(input.val(), true);
1063
+ rgba = hex ? hex2rgb(hex) : null;
1064
+ }
1065
+
1066
+ // Convert to format
1067
+ if(rgba === null) {
1068
+ value = settings.defaultValue;
1069
+ } else if(settings.format === 'rgb') {
1070
+ value = settings.opacity ?
1071
+ parseRgb('rgba(' + rgba.r + ',' + rgba.g + ',' + rgba.b + ',' + input.attr('data-opacity') + ')') :
1072
+ parseRgb('rgb(' + rgba.r + ',' + rgba.g + ',' + rgba.b + ')');
1073
+ } else {
1074
+ value = rgb2hex(rgba);
1075
+ }
1076
+ }
1077
+
1078
+ // Update swatch opacity
1079
+ swatchOpacity = settings.opacity ? input.attr('data-opacity') : 1;
1080
+ if(value.toLowerCase() === 'transparent') swatchOpacity = 0;
1081
+ input
1082
+ .closest('.minicolors')
1083
+ .find('.minicolors-input-swatch > span')
1084
+ .css('opacity', swatchOpacity);
1085
+
1086
+ // Set input value
1087
+ input.val(value);
1088
+
1089
+ // Is it blank?
1090
+ if(input.val() === '') input.val(parseInput(settings.defaultValue, true));
1091
+
1092
+ // Adjust case
1093
+ input.val(convertCase(input.val(), settings.letterCase));
1094
+
1095
+ })
1096
+ // Handle keypresses
1097
+ .on('keydown.minicolors', '.minicolors-input', function(event) {
1098
+ var input = $(this);
1099
+ if(!input.data('minicolors-initialized')) return;
1100
+ switch(event.which) {
1101
+ case 9: // tab
1102
+ hide();
1103
+ break;
1104
+ case 13: // enter
1105
+ case 27: // esc
1106
+ hide();
1107
+ input.blur();
1108
+ break;
1109
+ }
1110
+ })
1111
+ // Update on keyup
1112
+ .on('keyup.minicolors', '.minicolors-input', function() {
1113
+ var input = $(this);
1114
+ if(!input.data('minicolors-initialized')) return;
1115
+ updateFromInput(input, true);
1116
+ })
1117
+ // Update on paste
1118
+ .on('paste.minicolors', '.minicolors-input', function() {
1119
+ var input = $(this);
1120
+ if(!input.data('minicolors-initialized')) return;
1121
+ setTimeout(function() {
1122
+ updateFromInput(input, true);
1123
+ }, 1);
1124
+ });
1125
+ }));
app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.min.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ //
2
+ // jQuery MiniColors: A tiny color picker built on jQuery
3
+ //
4
+ // Developed by Cory LaViska for A Beautiful Site, LLC
5
+ //
6
+ // Licensed under the MIT license: http://opensource.org/licenses/MIT
7
+ //
8
+ !function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";function t(t,o){var s,a,n,e,r,l,h=i('<div class="minicolors" />'),d=i.minicolors.defaults;if(!t.data("minicolors-initialized")){if(o=i.extend(!0,{},d,o),h.addClass("minicolors-theme-"+o.theme).toggleClass("minicolors-with-opacity",o.opacity),void 0!==o.position&&i.each(o.position.split(" "),function(){h.addClass("minicolors-position-"+this)}),a="rgb"===o.format?o.opacity?"25":"20":o.keywords?"11":"7",t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",o).prop("size",a).wrap(h).after('<div class="minicolors-panel minicolors-slider-'+o.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),o.inline||(t.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),t.next(".minicolors-input-swatch").on("click",function(i){i.preventDefault(),t.focus()})),r=t.parent().find(".minicolors-panel"),r.on("selectstart",function(){return!1}).end(),o.swatches&&0!==o.swatches.length)for(r.addClass("minicolors-with-swatches"),n=i('<ul class="minicolors-swatches"></ul>').appendTo(r),l=0;l<o.swatches.length;++l)"object"===i.type(o.swatches[l])?(s=o.swatches[l].name,e=o.swatches[l].color):(s="",e=o.swatches[l]),e=v(e)?g(e,!0):I(u(e,!0)),i('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color" title="'+s+'"></span></li>').appendTo(n).data("swatch-color",o.swatches[l]).find(".minicolors-swatch-color").css({backgroundColor:C(e),opacity:e.a}),o.swatches[l]=e;o.inline&&t.parent().addClass("minicolors-inline"),c(t,!1),t.data("minicolors-initialized",!0)}}function o(i){var t=i.parent();i.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(i).remove()}function s(i){var t=i.parent(),o=t.find(".minicolors-panel"),s=i.data("minicolors-settings");!i.data("minicolors-initialized")||i.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(a(),t.addClass("minicolors-focus"),o.animate?o.stop(!0,!0).fadeIn(s.showSpeed,function(){s.show&&s.show.call(i.get(0))}):(o.css("opacity",1),s.show&&s.show.call(i.get(0))))}function a(){i(".minicolors-focus").each(function(){var t=i(this),o=t.find(".minicolors-input"),s=t.find(".minicolors-panel"),a=o.data("minicolors-settings");s.animate?s.fadeOut(a.hideSpeed,function(){a.hide&&a.hide.call(o.get(0)),t.removeClass("minicolors-focus")}):(s.css("opacity",0),a.hide&&a.hide.call(o.get(0)),t.removeClass("minicolors-focus"))})}function n(i,t,o){var s,a,n,r,c,l=i.parents(".minicolors").find(".minicolors-input"),h=l.data("minicolors-settings"),d=i.find("[class$=-picker]"),p=i.offset().left,u=i.offset().top,g=Math.round(t.pageX-p),m=Math.round(t.pageY-u),f=o?h.animationSpeed:0;t.originalEvent.changedTouches&&(g=t.originalEvent.changedTouches[0].pageX-p,m=t.originalEvent.changedTouches[0].pageY-u),g<0&&(g=0),m<0&&(m=0),g>i.width()&&(g=i.width()),m>i.height()&&(m=i.height()),i.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(s=75-g,a=75-m,n=Math.sqrt(s*s+a*a),r=Math.atan2(a,s),r<0&&(r+=2*Math.PI),n>75&&(n=75,g=75-75*Math.cos(r),m=75-75*Math.sin(r)),g=Math.round(g),m=Math.round(m)),c={top:m+"px"},i.is(".minicolors-grid")&&(c.left=g+"px"),d.animate?d.stop(!0).animate(c,f,h.animationEasing,function(){e(l,i)}):(d.css(c),e(l,i))}function e(i,t){function o(i,t){var o,s;return i.length&&t?(o=i.offset().left,s=i.offset().top,{x:o-t.offset().left+i.outerWidth()/2,y:s-t.offset().top+i.outerHeight()/2}):null}var s,a,n,e,c,h,d,p=i.val(),u=i.attr("data-opacity"),g=i.parent(),m=i.data("minicolors-settings"),v=g.find(".minicolors-input-swatch"),b=g.find(".minicolors-grid"),w=g.find(".minicolors-slider"),y=g.find(".minicolors-opacity-slider"),C=b.find("[class$=-picker]"),M=w.find("[class$=-picker]"),x=y.find("[class$=-picker]"),I=o(C,b),S=o(M,w),z=o(x,y);if(t.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(m.control){case"wheel":e=b.width()/2-I.x,c=b.height()/2-I.y,h=Math.sqrt(e*e+c*c),d=Math.atan2(c,e),d<0&&(d+=2*Math.PI),h>75&&(h=75,I.x=69-75*Math.cos(d),I.y=69-75*Math.sin(d)),a=f(h/.75,0,100),s=f(180*d/Math.PI,0,360),n=f(100-Math.floor(S.y*(100/w.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:a,b:100}));break;case"saturation":s=f(parseInt(I.x*(360/b.width()),10),0,360),a=f(100-Math.floor(S.y*(100/w.height())),0,100),n=f(100-Math.floor(I.y*(100/b.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:100,b:n})),g.find(".minicolors-grid-inner").css("opacity",a/100);break;case"brightness":s=f(parseInt(I.x*(360/b.width()),10),0,360),a=f(100-Math.floor(I.y*(100/b.height())),0,100),n=f(100-Math.floor(S.y*(100/w.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:a,b:100})),g.find(".minicolors-grid-inner").css("opacity",1-n/100);break;default:s=f(360-parseInt(S.y*(360/w.height()),10),0,360),a=f(Math.floor(I.x*(100/b.width())),0,100),n=f(100-Math.floor(I.y*(100/b.height())),0,100),p=k({h:s,s:a,b:n}),b.css("backgroundColor",k({h:s,s:100,b:100}))}u=m.opacity?parseFloat(1-z.y/y.height()).toFixed(2):1,r(i,p,u)}else v.find("span").css({backgroundColor:p,opacity:u}),l(i,p,u)}function r(i,t,o){var s,a=i.parent(),n=i.data("minicolors-settings"),e=a.find(".minicolors-input-swatch");n.opacity&&i.attr("data-opacity",o),"rgb"===n.format?(s=v(t)?g(t,!0):I(u(t,!0)),o=""===i.attr("data-opacity")?1:f(parseFloat(i.attr("data-opacity")).toFixed(2),0,1),!isNaN(o)&&n.opacity||(o=1),t=i.minicolors("rgbObject").a<=1&&s&&n.opacity?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(o)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"):(v(t)&&(t=y(t)),t=p(t,n.letterCase)),i.val(t),e.find("span").css({backgroundColor:t,opacity:o}),l(i,t,o)}function c(t,o){var s,a,n,e,r,c,h,d,w,C,x=t.parent(),I=t.data("minicolors-settings"),S=x.find(".minicolors-input-swatch"),z=x.find(".minicolors-grid"),F=x.find(".minicolors-slider"),T=x.find(".minicolors-opacity-slider"),j=z.find("[class$=-picker]"),D=F.find("[class$=-picker]"),q=T.find("[class$=-picker]");switch(v(t.val())?(s=y(t.val()),r=f(parseFloat(b(t.val())).toFixed(2),0,1),r&&t.attr("data-opacity",r)):s=p(u(t.val(),!0),I.letterCase),s||(s=p(m(I.defaultValue,!0),I.letterCase)),a=M(s),e=I.keywords?i.map(I.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],c=""!==t.val()&&i.inArray(t.val().toLowerCase(),e)>-1?p(t.val()):v(t.val())?g(t.val()):s,o||t.val(c),I.opacity&&(n=""===t.attr("data-opacity")?1:f(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(n)&&(n=1),t.attr("data-opacity",n),S.find("span").css("opacity",n),d=f(T.height()-T.height()*n,0,T.height()),q.css("top",d+"px")),"transparent"===t.val().toLowerCase()&&S.find("span").css("opacity",0),S.find("span").css("backgroundColor",s),I.control){case"wheel":w=f(Math.ceil(.75*a.s),0,z.height()/2),C=a.h*Math.PI/180,h=f(75-Math.cos(C)*w,0,z.width()),d=f(75-Math.sin(C)*w,0,z.height()),j.css({top:d+"px",left:h+"px"}),d=150-a.b/(100/z.height()),""===s&&(d=0),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:a.s,b:100}));break;case"saturation":h=f(5*a.h/12,0,150),d=f(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.s*(F.height()/100),0,F.height()),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:100,b:a.b})),x.find(".minicolors-grid-inner").css("opacity",a.s/100);break;case"brightness":h=f(5*a.h/12,0,150),d=f(z.height()-Math.ceil(a.s/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.b*(F.height()/100),0,F.height()),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:a.s,b:100})),x.find(".minicolors-grid-inner").css("opacity",1-a.b/100);break;default:h=f(Math.ceil(a.s/(100/z.width())),0,z.width()),d=f(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.h/(360/F.height()),0,F.height()),D.css("top",d+"px"),z.css("backgroundColor",k({h:a.h,s:100,b:100}))}t.data("minicolors-initialized")&&l(t,c,n)}function l(i,t,o){var s,a,n,e=i.data("minicolors-settings"),r=i.data("minicolors-lastChange");if(!r||r.value!==t||r.opacity!==o){if(i.data("minicolors-lastChange",{value:t,opacity:o}),e.swatches&&0!==e.swatches.length){for(s=v(t)?g(t,!0):I(t),a=-1,n=0;n<e.swatches.length;++n)if(s.r===e.swatches[n].r&&s.g===e.swatches[n].g&&s.b===e.swatches[n].b&&s.a===e.swatches[n].a){a=n;break}i.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),a!==-1&&i.parent().find(".minicolors-swatches .minicolors-swatch").eq(n).addClass("selected")}e.change&&(e.changeDelay?(clearTimeout(i.data("minicolors-changeTimeout")),i.data("minicolors-changeTimeout",setTimeout(function(){e.change.call(i.get(0),t,o)},e.changeDelay))):e.change.call(i.get(0),t,o)),i.trigger("change").trigger("input")}}function h(t){var o,s=i(t).attr("data-opacity");if(v(i(t).val()))o=g(i(t).val(),!0);else{var a=u(i(t).val(),!0);o=I(a)}return o?(void 0!==s&&i.extend(o,{a:parseFloat(s)}),o):null}function d(t,o){var s,a=i(t).attr("data-opacity");if(v(i(t).val()))s=g(i(t).val(),!0);else{var n=u(i(t).val(),!0);s=I(n)}return s?(void 0===a&&(a=1),o?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(a)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"):null}function p(i,t){return"uppercase"===t?i.toUpperCase():i.toLowerCase()}function u(i,t){return i=i.replace(/^#/g,""),i.match(/^[A-F0-9]{3,6}/gi)?3!==i.length&&6!==i.length?"":(3===i.length&&t&&(i=i[0]+i[0]+i[1]+i[1]+i[2]+i[2]),"#"+i):""}function g(i,t){var o=i.replace(/[^\d,.]/g,""),s=o.split(",");return s[0]=f(parseInt(s[0],10),0,255),s[1]=f(parseInt(s[1],10),0,255),s[2]=f(parseInt(s[2],10),0,255),void 0!==s[3]&&(s[3]=f(parseFloat(s[3],10),0,1)),t?void 0!==s[3]?{r:s[0],g:s[1],b:s[2],a:s[3]}:{r:s[0],g:s[1],b:s[2]}:"undefined"!=typeof s[3]&&s[3]<=1?"rgba("+s[0]+", "+s[1]+", "+s[2]+", "+s[3]+")":"rgb("+s[0]+", "+s[1]+", "+s[2]+")"}function m(i,t){return v(i)?g(i):u(i,t)}function f(i,t,o){return i<t&&(i=t),i>o&&(i=o),i}function v(i){var t=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!t||4!==t.length)}function b(i){return i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i),i&&6===i.length?i[4]:"1"}function w(i){var t={},o=Math.round(i.h),s=Math.round(255*i.s/100),a=Math.round(255*i.b/100);if(0===s)t.r=t.g=t.b=a;else{var n=a,e=(255-s)*a/255,r=(n-e)*(o%60)/60;360===o&&(o=0),o<60?(t.r=n,t.b=e,t.g=e+r):o<120?(t.g=n,t.b=e,t.r=n-r):o<180?(t.g=n,t.r=e,t.b=e+r):o<240?(t.b=n,t.r=e,t.g=n-r):o<300?(t.b=n,t.g=e,t.r=e+r):o<360?(t.r=n,t.g=e,t.b=n-r):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}function y(i){return i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),i&&4===i.length?"#"+("0"+parseInt(i[1],10).toString(16)).slice(-2)+("0"+parseInt(i[2],10).toString(16)).slice(-2)+("0"+parseInt(i[3],10).toString(16)).slice(-2):""}function C(t){var o=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return i.each(o,function(i,t){1===t.length&&(o[i]="0"+t)}),"#"+o.join("")}function k(i){return C(w(i))}function M(i){var t=x(I(i));return 0===t.s&&(t.h=360),t}function x(i){var t={h:0,s:0,b:0},o=Math.min(i.r,i.g,i.b),s=Math.max(i.r,i.g,i.b),a=s-o;return t.b=s,t.s=0!==s?255*a/s:0,0!==t.s?i.r===s?t.h=(i.g-i.b)/a:i.g===s?t.h=2+(i.b-i.r)/a:t.h=4+(i.r-i.g)/a:t.h=-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}function I(i){return i=parseInt(i.indexOf("#")>-1?i.substring(1):i,16),{r:i>>16,g:(65280&i)>>8,b:255&i}}i.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},i.extend(i.fn,{minicolors:function(n,e){switch(n){case"destroy":return i(this).each(function(){o(i(this))}),i(this);case"hide":return a(),i(this);case"opacity":return void 0===e?i(this).attr("data-opacity"):(i(this).each(function(){c(i(this).attr("data-opacity",e))}),i(this));case"rgbObject":return h(i(this),"rgbaObject"===n);case"rgbString":case"rgbaString":return d(i(this),"rgbaString"===n);case"settings":return void 0===e?i(this).data("minicolors-settings"):(i(this).each(function(){var t=i(this).data("minicolors-settings")||{};o(i(this)),i(this).minicolors(i.extend(!0,t,e))}),i(this));case"show":return s(i(this).eq(0)),i(this);case"value":return void 0===e?i(this).val():(i(this).each(function(){"object"==typeof e&&null!==e?(void 0!==e.opacity&&i(this).attr("data-opacity",f(e.opacity,0,1)),e.color&&i(this).val(e.color)):i(this).val(e),c(i(this))}),i(this));default:return"create"!==n&&(e=n),i(this).each(function(){t(i(this),e)}),i(this)}}}),i([document]).on("mousedown.minicolors touchstart.minicolors",function(t){i(t.target).parents().add(t.target).hasClass("minicolors")||a()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var o=i(this);t.preventDefault(),i(t.delegateTarget).data("minicolors-target",o),n(o,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var o=i(t.delegateTarget).data("minicolors-target");o&&n(o,t)}).on("mouseup.minicolors touchend.minicolors",function(){i(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(t){t.preventDefault();var o=i(this),s=o.parents(".minicolors").find(".minicolors-input"),a=o.data("swatch-color");r(s,a,b(a)),c(s)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(t){var o=i(this).parent().find(".minicolors-input");t.preventDefault(),s(o)}).on("focus.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&s(t)}).on("blur.minicolors",".minicolors-input",function(){var t,o,s,a,n,e=i(this),r=e.data("minicolors-settings");e.data("minicolors-initialized")&&(t=r.keywords?i.map(r.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],""!==e.val()&&i.inArray(e.val().toLowerCase(),t)>-1?n=e.val():(v(e.val())?s=g(e.val(),!0):(o=u(e.val(),!0),s=o?I(o):null),n=null===s?r.defaultValue:"rgb"===r.format?g(r.opacity?"rgba("+s.r+","+s.g+","+s.b+","+e.attr("data-opacity")+")":"rgb("+s.r+","+s.g+","+s.b+")"):C(s)),a=r.opacity?e.attr("data-opacity"):1,"transparent"===n.toLowerCase()&&(a=0),e.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",a),e.val(n),""===e.val()&&e.val(m(r.defaultValue,!0)),e.val(p(e.val(),r.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var o=i(this);if(o.data("minicolors-initialized"))switch(t.which){case 9:a();break;case 13:case 27:a(),o.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&c(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&setTimeout(function(){c(t,!0)},1)})});
app/extensions/fields/asset/jquery-minicolors-master/jquery.minicolors.png ADDED
Binary file
app/extensions/fields/asset/jquery-minicolors-master/package.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@claviska/jquery-minicolors",
3
+ "version": "2.3.2",
4
+ "homepage": "https://github.com/claviska/jquery-minicolors",
5
+ "author": "Cory LaViska",
6
+ "description": "jQuery MiniColors Plugin",
7
+ "main": "jquery.minicolors.js",
8
+ "keywords": [
9
+ "jquery",
10
+ "colorpicker"
11
+ ],
12
+ "license": "MIT",
13
+ "peerDependencies": {
14
+ "jquery": ">= 1.7.x"
15
+ },
16
+ "devDependencies": {
17
+ "del": "^2.2.0",
18
+ "gulp": "^3.9.1",
19
+ "gulp-help": "^1.6.1",
20
+ "gulp-rename": "^1.4.0",
21
+ "gulp-uglify": "^1.5.3"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/claviska/jquery-minicolors.git"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/claviska/jquery-minicolors/issues"
29
+ },
30
+ "scripts": {}
31
+ }
app/extensions/fields/asset/jquery-minicolors-master/without-bootstrap.html ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <title>jQuery MiniColors</title>
5
+ <meta charset="utf-8">
6
+
7
+ <!-- jQuery -->
8
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
9
+
10
+ <!-- MiniColors -->
11
+ <script src="jquery.minicolors.js"></script>
12
+ <link rel="stylesheet" href="jquery.minicolors.css">
13
+
14
+ <style>
15
+ body {
16
+ font: 16px sans-serif;
17
+ line-height: 1.8;
18
+ padding: 0 40px;
19
+ margin-bottom: 200px;
20
+ }
21
+ a {
22
+ color: #08c;
23
+ text-decoration: none;
24
+ }
25
+ a:hover {
26
+ text-decoration: underline;
27
+ }
28
+ .form-group {
29
+ margin: 20px 0;
30
+ }
31
+ label {
32
+ color: #888;
33
+ }
34
+ </style>
35
+
36
+ <script>
37
+ $(document).ready( function() {
38
+
39
+ $('.demo').each( function() {
40
+ //
41
+ // Dear reader, it's actually very easy to initialize MiniColors. For example:
42
+ //
43
+ // $(selector).minicolors();
44
+ //
45
+ // The way I've done it below is just for the demo, so don't get confused
46
+ // by it. Also, data- attributes aren't supported at this time. Again,
47
+ // they're only used for the purposes of this demo.
48
+ //
49
+ $(this).minicolors({
50
+ control: $(this).attr('data-control') || 'hue',
51
+ defaultValue: $(this).attr('data-defaultValue') || '',
52
+ format: $(this).attr('data-format') || 'hex',
53
+ keywords: $(this).attr('data-keywords') || '',
54
+ inline: $(this).attr('data-inline') === 'true',
55
+ letterCase: $(this).attr('data-letterCase') || 'lowercase',
56
+ opacity: $(this).attr('data-opacity'),
57
+ position: $(this).attr('data-position') || 'bottom',
58
+ swatches: $(this).attr('data-swatches') ? $(this).attr('data-swatches').split('|') : [],
59
+ change: function(hex, opacity) {
60
+ var log;
61
+ try {
62
+ log = hex ? hex : 'transparent';
63
+ if( opacity ) log += ', ' + opacity;
64
+ console.log(log);
65
+ } catch(e) {}
66
+ },
67
+ theme: 'default'
68
+ });
69
+
70
+ });
71
+
72
+ });
73
+ </script>
74
+ </head>
75
+ <body>
76
+
77
+ <h1>MiniColors Demo (without Bootstrap)</h1>
78
+ <p>
79
+ <a href="index.html">&laquo; Back to the Bootstrap demo</a>
80
+ </p>
81
+ <p>
82
+ <a onclick="$(body).attr('dir')=='rtl'?$(body).removeAttr('dir'):$(body).attr('dir', 'rtl')">Toggle LTR/RTL</a>
83
+ </p>
84
+ <!-- Control Types -->
85
+ <h3>Control Types</h3>
86
+ <div class="form-group">
87
+ <label for="hue-demo">Hue (default)</label>
88
+ <input type="text" id="hue-demo" class="demo" data-control="hue" value="#ff6161">
89
+ </div>
90
+ <div class="form-group">
91
+ <label for="saturation-demo">Saturation</label>
92
+ <input type="text" id="saturation-demo" class="demo" data-control="saturation" value="#0088cc">
93
+ </div>
94
+ <div class="form-group">
95
+ <label for="brightness-demo">Brightness</label>
96
+ <input type="text" id="brightness-demo" class="demo" data-control="brightness" value="#00ffff">
97
+ </div>
98
+ <div class="form-group">
99
+ <label for="wheel-demo">Wheel</label>
100
+ <input type="text" id="wheel-demo" class="demo" data-control="wheel" value="#ff99ee">
101
+ </div>
102
+
103
+ <!-- Input modes -->
104
+ <h3>Input Modes</h3>
105
+ <div class="form-group">
106
+ <label for="text-field">Text field</label>
107
+ <br>
108
+ <input type="text" id="text-field" class="demo" value="#70c24a">
109
+ </div>
110
+ <div class="form-group">
111
+ <label for="hidden-input">Hidden Input</label>
112
+ <br>
113
+ <input type="hidden" id="hidden-input" class="demo" value="#db913d">
114
+ </div>
115
+ <div class="form-group">
116
+ <label for="inline">Inline</label>
117
+ <br>
118
+ <input type="text" id="inline" class="demo" data-inline="true" value="#4fc8db">
119
+ </div>
120
+
121
+ <!-- Positions -->
122
+ <h3>Positions</h3>
123
+ <div class="form-group">
124
+ <label for="position-bottom-left">bottom left (default)</label>
125
+ <input type="text" id="position-bottom-left" class="demo" data-position="bottom left" value="#0088cc">
126
+ </div>
127
+ <div class="form-group">
128
+ <label for="position-top-left">top left</label>
129
+ <input type="text" id="position-top-left" class="demo" data-position="top left" value="#0088cc">
130
+ </div>
131
+ <div class="form-group">
132
+ <label for="position-bottom-right">bottom right</label>
133
+ <input type="text" id="position-bottom-right" class="demo" data-position="bottom right" value="#0088cc">
134
+ </div>
135
+ <div class="form-group">
136
+ <label for="position-top-right">top right</label>
137
+ <input type="text" id="position-top-right" class="demo" data-position="top right" value="#0088cc">
138
+ </div>
139
+
140
+ <!-- RGB(A) -->
141
+ <h3>RGB(A)</h3>
142
+ <div class="form-group">
143
+ <label for="rgb">rgb</label>
144
+ <br>
145
+ <input type="text" id="rgb" class="demo" data-format="rgb" value="rgb(33, 147, 58)">
146
+ </div>
147
+ <div class="form-group">
148
+ <label for="rgba">rgb(a)</label>
149
+ <br>
150
+ <input type="text" id="rgba" class="demo" data-format="rgb" data-opacity=".5" value="rgba(52, 64, 158, 0.5)">
151
+ </div>
152
+
153
+ <!-- and more -->
154
+ <h3>&hellip;and more!</h3>
155
+ <div class="form-group">
156
+ <label for="opacity">Opacity</label>
157
+ <br>
158
+ <input type="text" id="opacity" class="demo" data-opacity=".5" value="#766fa8">
159
+ </div>
160
+ <div class="form-group">
161
+ <label for="keywords">Keywords</label>
162
+ <br>
163
+ <input type="text" id="keywords" class="demo" data-keywords="transparent, inherit, initial" value="transparent">
164
+ </div>
165
+ <div class="form-group">
166
+ <label for="default-value">Default Value</label>
167
+ <br>
168
+ <input type="text" id="default-value" class="demo" data-defaultValue="#ff6600">
169
+ </div>
170
+ <div class="form-group">
171
+ <label for="letter-case">Letter Case</label>
172
+ <br>
173
+ <input type="text" id="letter-case" class="demo" data-letterCase="uppercase">
174
+ </div>
175
+ <div class="form-group">
176
+ <label for="letter-case">Swatches</label>
177
+ <br>
178
+ <input type="text" id="swatches" class="demo" data-swatches="#ef9a9a|#90caf9|#a5d6a7|#fff59d|#ffcc80|#bcaaa4|#eeeeee|#f44336|#2196f3|#4caf50|#ffeb3b|#ff9800|#795548|#9e9e9e" value="#f00">
179
+ </div>
180
+ <div class="form-group">
181
+ <label for="letter-case">Swatches and opacity</label>
182
+ <br>
183
+ <input type="text" id="swatches-opacity" class="demo" data-format="rgb" data-opacity="1" data-swatches="#fff|#000|#f00|#0f0|#00f|#ff0|rgba(0,0,255,0.5)" value="#f00">
184
+ </div>
185
+
186
+ </body>
187
+ </html>
app/extensions/fields/asset/metabox/index.html ADDED
File without changes
app/extensions/fields/asset/tinycolor/LICENSE ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c), Brian Grinstead, http://briangrinstead.com
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
app/extensions/fields/asset/tinycolor/README.md ADDED
@@ -0,0 +1,469 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TinyColor
2
+
3
+ ## JavaScript color tooling
4
+
5
+ TinyColor is a small, fast library for color manipulation and conversion in JavaScript. It allows many forms of input, while providing color conversions and other color utility functions. It has no dependencies.
6
+
7
+ [![Build Status](https://travis-ci.org/bgrins/TinyColor.png?branch=master)](https://travis-ci.org/bgrins/TinyColor)
8
+
9
+ ## Including in a browser
10
+
11
+ Download [tinycolor.js](https://raw.githubusercontent.com/bgrins/TinyColor/master/tinycolor.js) or install it with bower:
12
+
13
+ bower install tinycolor
14
+
15
+ Then just include it in the page in a `script` tag:
16
+ ```html
17
+ <script type='text/javascript' src='tinycolor.js'></script>
18
+ <script type='text/javascript'>
19
+ var color = tinycolor("red");
20
+ </script>
21
+ ```
22
+ ## Including in node
23
+
24
+ `tinycolor` may also be included as a [node](http://nodejs.org/) module like so:
25
+
26
+ npm install tinycolor2
27
+
28
+ Then it can be used in your script like so:
29
+ ```js
30
+ var tinycolor = require("tinycolor2");
31
+ var color = tinycolor("red");
32
+ ```
33
+ ## Usage
34
+
35
+ Call `tinycolor(input)` or `new tinycolor(input)`, and you will have an object with the following properties. See Accepted String Input and Accepted Object Input below for more information about what is accepted.
36
+
37
+ ## Accepted String Input
38
+
39
+ The string parsing is very permissive. It is meant to make typing a color as input as easy as possible. All commas, percentages, parenthesis are optional, and most input allow either 0-1, 0%-100%, or 0-n (where n is either 100, 255, or 360 depending on the value).
40
+
41
+ HSL and HSV both require either 0%-100% or 0-1 for the `S`/`L`/`V` properties. The `H` (hue) can have values between 0%-100% or 0-360.
42
+
43
+ RGB input requires either 0-255 or 0%-100%.
44
+
45
+ If you call `tinycolor.fromRatio`, RGB and Hue input can also accept 0-1.
46
+
47
+ Here are some examples of string input:
48
+
49
+ ### Hex, 8-digit (RGBA) Hex
50
+ ```js
51
+ tinycolor("#000");
52
+ tinycolor("000");
53
+ tinycolor("#369C");
54
+ tinycolor("369C");
55
+ tinycolor("#f0f0f6");
56
+ tinycolor("f0f0f6");
57
+ tinycolor("#f0f0f688");
58
+ tinycolor("f0f0f688");
59
+ ```
60
+ ### RGB, RGBA
61
+ ```js
62
+ tinycolor("rgb (255, 0, 0)");
63
+ tinycolor("rgb 255 0 0");
64
+ tinycolor("rgba (255, 0, 0, .5)");
65
+ tinycolor({ r: 255, g: 0, b: 0 });
66
+ tinycolor.fromRatio({ r: 1, g: 0, b: 0 });
67
+ tinycolor.fromRatio({ r: .5, g: .5, b: .5 });
68
+ ```
69
+ ### HSL, HSLA
70
+ ```js
71
+ tinycolor("hsl(0, 100%, 50%)");
72
+ tinycolor("hsla(0, 100%, 50%, .5)");
73
+ tinycolor("hsl(0, 100%, 50%)");
74
+ tinycolor("hsl 0 1.0 0.5");
75
+ tinycolor({ h: 0, s: 1, l: .5 });
76
+ tinycolor.fromRatio({ h: 1, s: 0, l: 0 });
77
+ tinycolor.fromRatio({ h: .5, s: .5, l: .5 });
78
+ ```
79
+ ### HSV, HSVA
80
+ ```js
81
+ tinycolor("hsv(0, 100%, 100%)");
82
+ tinycolor("hsva(0, 100%, 100%, .5)");
83
+ tinycolor("hsv (0 100% 100%)");
84
+ tinycolor("hsv 0 1 1");
85
+ tinycolor({ h: 0, s: 100, v: 100 });
86
+ tinycolor.fromRatio({ h: 1, s: 0, v: 0 });
87
+ tinycolor.fromRatio({ h: .5, s: .5, v: .5 });
88
+ ```
89
+ ### Named
90
+ ```js
91
+ tinycolor("RED");
92
+ tinycolor("blanchedalmond");
93
+ tinycolor("darkblue");
94
+ ```
95
+ ### Accepted Object Input
96
+
97
+ If you are calling this from code, you may want to use object input. Here are some examples of the different types of accepted object inputs:
98
+
99
+ { r: 255, g: 0, b: 0 }
100
+ { r: 255, g: 0, b: 0, a: .5 }
101
+ { h: 0, s: 100, l: 50 }
102
+ { h: 0, s: 100, v: 100 }
103
+
104
+ ## Methods
105
+
106
+ ### getFormat
107
+
108
+ Returns the format used to create the tinycolor instance
109
+ ```js
110
+ var color = tinycolor("red");
111
+ color.getFormat(); // "name"
112
+ color = tinycolor({r:255, g:255, b:255});
113
+ color.getFormat(); // "rgb"
114
+ ```
115
+
116
+ ### getOriginalInput
117
+
118
+ Returns the input passed into the constructer used to create the tinycolor instance
119
+ ```js
120
+ var color = tinycolor("red");
121
+ color.getOriginalInput(); // "red"
122
+ color = tinycolor({r:255, g:255, b:255});
123
+ color.getOriginalInput(); // "{r: 255, g: 255, b: 255}"
124
+ ```
125
+
126
+ ### isValid
127
+
128
+ Return a boolean indicating whether the color was successfully parsed. Note: if the color is not valid then it will act like `black` when being used with other methods.
129
+ ```js
130
+ var color1 = tinycolor("red");
131
+ color1.isValid(); // true
132
+ color1.toHexString(); // "#ff0000"
133
+
134
+ var color2 = tinycolor("not a color");
135
+ color2.isValid(); // false
136
+ color2.toString(); // "#000000"
137
+ ```
138
+ ### getBrightness
139
+
140
+ Returns the perceived brightness of a color, from `0-255`, as defined by [Web Content Accessibility Guidelines (Version 1.0)](http://www.w3.org/TR/AERT#color-contrast).
141
+ ```js
142
+ var color1 = tinycolor("#fff");
143
+ color1.getBrightness(); // 255
144
+
145
+ var color2 = tinycolor("#000");
146
+ color2.getBrightness(); // 0
147
+ ```
148
+ ### isLight
149
+
150
+ Return a boolean indicating whether the color's perceived brightness is light.
151
+ ```js
152
+ var color1 = tinycolor("#fff");
153
+ color1.isLight(); // true
154
+
155
+ var color2 = tinycolor("#000");
156
+ color2.isLight(); // false
157
+ ```
158
+ ### isDark
159
+
160
+ Return a boolean indicating whether the color's perceived brightness is dark.
161
+ ```js
162
+ var color1 = tinycolor("#fff");
163
+ color1.isDark(); // false
164
+
165
+ var color2 = tinycolor("#000");
166
+ color2.isDark(); // true
167
+ ```
168
+ ### getLuminance
169
+
170
+ Returns the perceived luminance of a color, from `0-1` as defined by [Web Content Accessibility Guidelines (Version 2.0).](http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef)
171
+ ```js
172
+ var color1 = tinycolor("#fff");
173
+ color1.getLuminance(); // 1
174
+
175
+ var color2 = tinycolor("#000");
176
+ color2.getLuminance(); // 0
177
+ ```
178
+ ### getAlpha
179
+
180
+ Returns the alpha value of a color, from `0-1`.
181
+ ```js
182
+ var color1 = tinycolor("rgba(255, 0, 0, .5)");
183
+ color1.getAlpha(); // 0.5
184
+
185
+ var color2 = tinycolor("rgb(255, 0, 0)");
186
+ color2.getAlpha(); // 1
187
+
188
+ var color3 = tinycolor("transparent");
189
+ color3.getAlpha(); // 0
190
+ ```
191
+ ### setAlpha
192
+
193
+ Sets the alpha value on a current color. Accepted range is in between `0-1`.
194
+ ```js
195
+ var color = tinycolor("red");
196
+ color.getAlpha(); // 1
197
+ color.setAlpha(.5);
198
+ color.getAlpha(); // .5
199
+ color.toRgbString(); // "rgba(255, 0, 0, .5)"
200
+ ```
201
+ ### String Representations
202
+
203
+ The following methods will return a property for the `alpha` value, which can be ignored: `toHsv`, `toHsl`, `toRgb`
204
+
205
+ ### toHsv
206
+ ```js
207
+ var color = tinycolor("red");
208
+ color.toHsv(); // { h: 0, s: 1, v: 1, a: 1 }
209
+ ```
210
+ ### toHsvString
211
+ ```js
212
+ var color = tinycolor("red");
213
+ color.toHsvString(); // "hsv(0, 100%, 100%)"
214
+ color.setAlpha(0.5);
215
+ color.toHsvString(); // "hsva(0, 100%, 100%, 0.5)"
216
+ ```
217
+ ### toHsl
218
+ ```js
219
+ var color = tinycolor("red");
220
+ color.toHsl(); // { h: 0, s: 1, l: 0.5, a: 1 }
221
+ ```
222
+ ### toHslString
223
+ ```js
224
+ var color = tinycolor("red");
225
+ color.toHslString(); // "hsl(0, 100%, 50%)"
226
+ color.setAlpha(0.5);
227
+ color.toHslString(); // "hsla(0, 100%, 50%, 0.5)"
228
+ ```
229
+ ### toHex
230
+ ```js
231
+ var color = tinycolor("red");
232
+ color.toHex(); // "ff0000"
233
+ ```
234
+ ### toHexString
235
+ ```js
236
+ var color = tinycolor("red");
237
+ color.toHexString(); // "#ff0000"
238
+ ```
239
+ ### toHex8
240
+ ```js
241
+ var color = tinycolor("red");
242
+ color.toHex8(); // "ff0000ff"
243
+ ```
244
+ ### toHex8String
245
+ ```js
246
+ var color = tinycolor("red");
247
+ color.toHex8String(); // "#ff0000ff"
248
+ ```
249
+ ### toRgb
250
+ ```js
251
+ var color = tinycolor("red");
252
+ color.toRgb(); // { r: 255, g: 0, b: 0, a: 1 }
253
+ ```
254
+ ### toRgbString
255
+ ```js
256
+ var color = tinycolor("red");
257
+ color.toRgbString(); // "rgb(255, 0, 0)"
258
+ color.setAlpha(0.5);
259
+ color.toRgbString(); // "rgba(255, 0, 0, 0.5)"
260
+ ```
261
+ ### toPercentageRgb
262
+ ```js
263
+ var color = tinycolor("red");
264
+ color.toPercentageRgb() // { r: "100%", g: "0%", b: "0%", a: 1 }
265
+ ```
266
+ ### toPercentageRgbString
267
+ ```js
268
+ var color = tinycolor("red");
269
+ color.toPercentageRgbString(); // "rgb(100%, 0%, 0%)"
270
+ color.setAlpha(0.5);
271
+ color.toPercentageRgbString(); // "rgba(100%, 0%, 0%, 0.5)"
272
+ ```
273
+ ### toName
274
+ ```js
275
+ var color = tinycolor("red");
276
+ color.toName(); // "red"
277
+ ```
278
+ ### toFilter
279
+ ```
280
+ var color = tinycolor("red");
281
+ color.toFilter(); // "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffff0000,endColorstr=#ffff0000)"
282
+ ```
283
+ ### toString
284
+
285
+ Print to a string, depending on the input format. You can also override this by passing one of `"rgb", "prgb", "hex6", "hex3", "hex8", "name", "hsl", "hsv"` into the function.
286
+ ```js
287
+ var color1 = tinycolor("red");
288
+ color1.toString(); // "red"
289
+ color1.toString("hsv"); // "hsv(0, 100%, 100%)"
290
+
291
+ var color2 = tinycolor("rgb(255, 0, 0)");
292
+ color2.toString(); // "rgb(255, 0, 0)"
293
+ color2.setAlpha(.5);
294
+ color2.toString(); // "rgba(255, 0, 0, 0.5)"
295
+ ```
296
+ ### Color Modification
297
+
298
+ These methods manipulate the current color, and return it for chaining. For instance:
299
+ ```js
300
+ tinycolor("red").lighten().desaturate().toHexString() // "#f53d3d"
301
+ ```
302
+ ### lighten
303
+
304
+ `lighten: function(amount = 10) -> TinyColor`. Lighten the color a given amount, from 0 to 100. Providing 100 will always return white.
305
+ ```js
306
+ tinycolor("#f00").lighten().toString(); // "#ff3333"
307
+ tinycolor("#f00").lighten(100).toString(); // "#ffffff"
308
+ ```
309
+ ### brighten
310
+
311
+ `brighten: function(amount = 10) -> TinyColor`. Brighten the color a given amount, from 0 to 100.
312
+ ```js
313
+ tinycolor("#f00").brighten().toString(); // "#ff1919"
314
+ ```
315
+ ### darken
316
+
317
+ `darken: function(amount = 10) -> TinyColor`. Darken the color a given amount, from 0 to 100. Providing 100 will always return black.
318
+ ```js
319
+ tinycolor("#f00").darken().toString(); // "#cc0000"
320
+ tinycolor("#f00").darken(100).toString(); // "#000000"
321
+ ```
322
+ ### desaturate
323
+
324
+ `desaturate: function(amount = 10) -> TinyColor`. Desaturate the color a given amount, from 0 to 100. Providing 100 will is the same as calling `greyscale`.
325
+ ```js
326
+ tinycolor("#f00").desaturate().toString(); // "#f20d0d"
327
+ tinycolor("#f00").desaturate(100).toString(); // "#808080"
328
+ ```
329
+ ### saturate
330
+
331
+ `saturate: function(amount = 10) -> TinyColor`. Saturate the color a given amount, from 0 to 100.
332
+ ```js
333
+ tinycolor("hsl(0, 10%, 50%)").saturate().toString(); // "hsl(0, 20%, 50%)"
334
+ ```
335
+ ### greyscale
336
+
337
+ `greyscale: function() -> TinyColor`. Completely desaturates a color into greyscale. Same as calling `desaturate(100)`.
338
+ ```js
339
+ tinycolor("#f00").greyscale().toString(); // "#808080"
340
+ ```
341
+ ### spin
342
+
343
+ `spin: function(amount = 0) -> TinyColor`. Spin the hue a given amount, from -360 to 360. Calling with 0, 360, or -360 will do nothing (since it sets the hue back to what it was before).
344
+ ```js
345
+ tinycolor("#f00").spin(180).toString(); // "#00ffff"
346
+ tinycolor("#f00").spin(-90).toString(); // "#7f00ff"
347
+ tinycolor("#f00").spin(90).toString(); // "#80ff00"
348
+
349
+ // spin(0) and spin(360) do nothing
350
+ tinycolor("#f00").spin(0).toString(); // "#ff0000"
351
+ tinycolor("#f00").spin(360).toString(); // "#ff0000"
352
+ ```
353
+ ### Color Combinations
354
+
355
+ Combination functions return an array of TinyColor objects unless otherwise noted.
356
+
357
+ ### analogous
358
+
359
+ `analogous: function(, results = 6, slices = 30) -> array<TinyColor>`.
360
+ ```js
361
+ var colors = tinycolor("#f00").analogous();
362
+
363
+ colors.map(function(t) { return t.toHexString(); }); // [ "#ff0000", "#ff0066", "#ff0033", "#ff0000", "#ff3300", "#ff6600" ]
364
+ ```
365
+ ### monochromatic
366
+
367
+ `monochromatic: function(, results = 6) -> array<TinyColor>`.
368
+ ```js
369
+ var colors = tinycolor("#f00").monochromatic();
370
+
371
+ colors.map(function(t) { return t.toHexString(); }); // [ "#ff0000", "#2a0000", "#550000", "#800000", "#aa0000", "#d40000" ]
372
+ ```
373
+ ### splitcomplement
374
+
375
+ `splitcomplement: function() -> array<TinyColor>`.
376
+ ```js
377
+ var colors = tinycolor("#f00").splitcomplement();
378
+
379
+ colors.map(function(t) { return t.toHexString(); }); // [ "#ff0000", "#ccff00", "#0066ff" ]
380
+ ```
381
+ ### triad
382
+
383
+ `triad: function() -> array<TinyColor>`.
384
+ ```js
385
+ var colors = tinycolor("#f00").triad();
386
+
387
+ colors.map(function(t) { return t.toHexString(); }); // [ "#ff0000", "#00ff00", "#0000ff" ]
388
+ ```
389
+ ### tetrad
390
+
391
+ `tetrad: function() -> array<TinyColor>`.
392
+ ```js
393
+ var colors = tinycolor("#f00").tetrad();
394
+
395
+ colors.map(function(t) { return t.toHexString(); }); // [ "#ff0000", "#80ff00", "#00ffff", "#7f00ff" ]
396
+
397
+ ```
398
+ ### complement
399
+
400
+ `complement: function() -> TinyColor`.
401
+ ```js
402
+ tinycolor("#f00").complement().toHexString(); // "#00ffff"
403
+ ```
404
+ ## Color Utilities
405
+ ```js
406
+ tinycolor.equals(color1, color2)
407
+ tinycolor.mix(color1, color2, amount = 50)
408
+ ```
409
+ ### random
410
+
411
+ Returns a random color.
412
+ ```js
413
+ var color = tinycolor.random();
414
+ color.toRgb(); // "{r: 145, g: 40, b: 198, a: 1}"
415
+ ```
416
+
417
+ ### Readability
418
+
419
+ TinyColor assesses readability based on the [Web Content Accessibility Guidelines (Version 2.0)](http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef).
420
+
421
+ #### readability
422
+
423
+ `readability: function(TinyColor, TinyColor) -> Object`.
424
+ Returns the contrast ratio between two colors.
425
+ ```js
426
+ tinycolor.readability("#000", "#000"); // 1
427
+ tinycolor.readability("#000", "#111"); // 1.1121078324840545
428
+ tinycolor.readability("#000", "#fff"); // 21
429
+ ```
430
+ Use the values in your own calculations, or use one of the convenience functions below.
431
+
432
+ #### isReadable
433
+
434
+ `isReadable: function(TinyColor, TinyColor, Object) -> Boolean`. Ensure that foreground and background color combinations meet WCAG guidelines. `Object` is optional, defaulting to `{level: "AA",size: "small"}`. `level` can be `"AA"` or "AAA" and `size` can be `"small"` or `"large"`.
435
+
436
+ Here are links to read more about the [AA](http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html) and [AAA](http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast7.html) requirements.
437
+ ```js
438
+ tinycolor.isReadable("#000", "#111", {}); // false
439
+ tinycolor.isReadable("#ff0088", "#5c1a72",{level:"AA",size:"small"}); //false
440
+ tinycolor.isReadable("#ff0088", "#5c1a72",{level:"AA",size:"large"}), //true
441
+ ```
442
+ #### mostReadable
443
+
444
+ `mostReadable: function(TinyColor, [TinyColor, Tinycolor ...], Object) -> Boolean`.
445
+ Given a base color and a list of possible foreground or background colors for that base, returns the most readable color.
446
+ If none of the colors in the list is readable, `mostReadable` will return the better of black or white if `includeFallbackColors:true`.
447
+ ```js
448
+ tinycolor.mostReadable("#000", ["#f00", "#0f0", "#00f"]).toHexString(); // "#00ff00"
449
+ tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
450
+ tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
451
+ tinycolor.mostReadable("#ff0088", ["#2e0c3a"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString() // "#2e0c3a",
452
+ tinycolor.mostReadable("#ff0088", ["#2e0c3a"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString() // "#000000",
453
+ ```
454
+ See [index.html](https://github.com/bgrins/TinyColor/blob/master/index.html) in the project for a demo.
455
+
456
+ ## Common operations
457
+
458
+ ### clone
459
+
460
+ `clone: function() -> TinyColor`.
461
+ Instantiate a new TinyColor object with the same color. Any changes to the new one won't affect the old one.
462
+ ```js
463
+ var color1 = tinycolor("#F00");
464
+ var color2 = color1.clone();
465
+ color2.setAlpha(.5);
466
+
467
+ color1.toString(); // "#ff0000"
468
+ color2.toString(); // "rgba(255, 0, 0, 0.5)"
469
+ ```
app/extensions/fields/asset/tinycolor/demo/demo.css ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
3
+ body { font-size: 15px; line-height: 1.231; margin: 4px; background-color: #FCFFFD; }
4
+ body, button, input, select, textarea { font-family: Droid Sans, Verdana, sans-serif; color: #222; }
5
+ a { color: #33f; }
6
+ table th { width: 200px; text-align: right; padding-right:10px; font-family: Georgia serif;}
7
+ #container { width: 90%; margin:0 auto; }
8
+ #code-output { border: solid 5px #333; margin:15px; border-top-width: 40px; }
9
+ #color { width: 200px; height: 2em;}
10
+ #inputter a { padding:3px; }
11
+ .invisible { visibility: hidden; }
12
+ h1 { font-size: 3.8em; color: #293c11; font-family:Tahoma; margin: 3px 0; padding:0; }
13
+ h1 .small { font-size: 0.4em; }
14
+ h1 a { text-decoration: none }
15
+ h2 { font-size: 1.5em; color: #293c11; margin: 0;margin-left: 10px; }
16
+ h3 { color: #293c11; }
17
+ .description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
18
+ .download { float: right; }
19
+ pre { background: #000; color: #fff; padding: 15px;}
20
+ hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
21
+ .footer { text-align:center; padding-top:30px; font-style: italic; }
22
+
23
+ #filter-output div, #combine-output span { width: 40px; height: 40px; display:inline-block; margin: 10px; }
app/extensions/fields/asset/tinycolor/dist/tinycolor-min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ // TinyColor v1.4.1
2
+ // https://github.com/bgrins/TinyColor
3
+ // 2016-07-07, Brian Grinstead, MIT License
4
+ !function(a){function b(a,d){if(a=a?a:"",d=d||{},a instanceof b)return a;if(!(this instanceof b))return new b(a,d);var e=c(a);this._originalInput=a,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=P(100*this._a)/100,this._format=d.format||e.format,this._gradientType=d.gradientType,this._r<1&&(this._r=P(this._r)),this._g<1&&(this._g=P(this._g)),this._b<1&&(this._b=P(this._b)),this._ok=e.ok,this._tc_id=O++}function c(a){var b={r:0,g:0,b:0},c=1,e=null,g=null,i=null,j=!1,k=!1;return"string"==typeof a&&(a=K(a)),"object"==typeof a&&(J(a.r)&&J(a.g)&&J(a.b)?(b=d(a.r,a.g,a.b),j=!0,k="%"===String(a.r).substr(-1)?"prgb":"rgb"):J(a.h)&&J(a.s)&&J(a.v)?(e=G(a.s),g=G(a.v),b=h(a.h,e,g),j=!0,k="hsv"):J(a.h)&&J(a.s)&&J(a.l)&&(e=G(a.s),i=G(a.l),b=f(a.h,e,i),j=!0,k="hsl"),a.hasOwnProperty("a")&&(c=a.a)),c=z(c),{ok:j,format:a.format||k,r:Q(255,R(b.r,0)),g:Q(255,R(b.g,0)),b:Q(255,R(b.b,0)),a:c}}function d(a,b,c){return{r:255*A(a,255),g:255*A(b,255),b:255*A(c,255)}}function e(a,b,c){a=A(a,255),b=A(b,255),c=A(c,255);var d,e,f=R(a,b,c),g=Q(a,b,c),h=(f+g)/2;if(f==g)d=e=0;else{var i=f-g;switch(e=h>.5?i/(2-f-g):i/(f+g),f){case a:d=(b-c)/i+(c>b?6:0);break;case b:d=(c-a)/i+2;break;case c:d=(a-b)/i+4}d/=6}return{h:d,s:e,l:h}}function f(a,b,c){function d(a,b,c){return 0>c&&(c+=1),c>1&&(c-=1),1/6>c?a+6*(b-a)*c:.5>c?b:2/3>c?a+6*(b-a)*(2/3-c):a}var e,f,g;if(a=A(a,360),b=A(b,100),c=A(c,100),0===b)e=f=g=c;else{var h=.5>c?c*(1+b):c+b-c*b,i=2*c-h;e=d(i,h,a+1/3),f=d(i,h,a),g=d(i,h,a-1/3)}return{r:255*e,g:255*f,b:255*g}}function g(a,b,c){a=A(a,255),b=A(b,255),c=A(c,255);var d,e,f=R(a,b,c),g=Q(a,b,c),h=f,i=f-g;if(e=0===f?0:i/f,f==g)d=0;else{switch(f){case a:d=(b-c)/i+(c>b?6:0);break;case b:d=(c-a)/i+2;break;case c:d=(a-b)/i+4}d/=6}return{h:d,s:e,v:h}}function h(b,c,d){b=6*A(b,360),c=A(c,100),d=A(d,100);var e=a.floor(b),f=b-e,g=d*(1-c),h=d*(1-f*c),i=d*(1-(1-f)*c),j=e%6,k=[d,h,g,g,i,d][j],l=[i,d,d,h,g,g][j],m=[g,g,i,d,d,h][j];return{r:255*k,g:255*l,b:255*m}}function i(a,b,c,d){var e=[F(P(a).toString(16)),F(P(b).toString(16)),F(P(c).toString(16))];return d&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function j(a,b,c,d,e){var f=[F(P(a).toString(16)),F(P(b).toString(16)),F(P(c).toString(16)),F(H(d))];return e&&f[0].charAt(0)==f[0].charAt(1)&&f[1].charAt(0)==f[1].charAt(1)&&f[2].charAt(0)==f[2].charAt(1)&&f[3].charAt(0)==f[3].charAt(1)?f[0].charAt(0)+f[1].charAt(0)+f[2].charAt(0)+f[3].charAt(0):f.join("")}function k(a,b,c,d){var e=[F(H(d)),F(P(a).toString(16)),F(P(b).toString(16)),F(P(c).toString(16))];return e.join("")}function l(a,c){c=0===c?0:c||10;var d=b(a).toHsl();return d.s-=c/100,d.s=B(d.s),b(d)}function m(a,c){c=0===c?0:c||10;var d=b(a).toHsl();return d.s+=c/100,d.s=B(d.s),b(d)}function n(a){return b(a).desaturate(100)}function o(a,c){c=0===c?0:c||10;var d=b(a).toHsl();return d.l+=c/100,d.l=B(d.l),b(d)}function p(a,c){c=0===c?0:c||10;var d=b(a).toRgb();return d.r=R(0,Q(255,d.r-P(255*-(c/100)))),d.g=R(0,Q(255,d.g-P(255*-(c/100)))),d.b=R(0,Q(255,d.b-P(255*-(c/100)))),b(d)}function q(a,c){c=0===c?0:c||10;var d=b(a).toHsl();return d.l-=c/100,d.l=B(d.l),b(d)}function r(a,c){var d=b(a).toHsl(),e=(d.h+c)%360;return d.h=0>e?360+e:e,b(d)}function s(a){var c=b(a).toHsl();return c.h=(c.h+180)%360,b(c)}function t(a){var c=b(a).toHsl(),d=c.h;return[b(a),b({h:(d+120)%360,s:c.s,l:c.l}),b({h:(d+240)%360,s:c.s,l:c.l})]}function u(a){var c=b(a).toHsl(),d=c.h;return[b(a),b({h:(d+90)%360,s:c.s,l:c.l}),b({h:(d+180)%360,s:c.s,l:c.l}),b({h:(d+270)%360,s:c.s,l:c.l})]}function v(a){var c=b(a).toHsl(),d=c.h;return[b(a),b({h:(d+72)%360,s:c.s,l:c.l}),b({h:(d+216)%360,s:c.s,l:c.l})]}function w(a,c,d){c=c||6,d=d||30;var e=b(a).toHsl(),f=360/d,g=[b(a)];for(e.h=(e.h-(f*c>>1)+720)%360;--c;)e.h=(e.h+f)%360,g.push(b(e));return g}function x(a,c){c=c||6;for(var d=b(a).toHsv(),e=d.h,f=d.s,g=d.v,h=[],i=1/c;c--;)h.push(b({h:e,s:f,v:g})),g=(g+i)%1;return h}function y(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[a[c]]=c);return b}function z(a){return a=parseFloat(a),(isNaN(a)||0>a||a>1)&&(a=1),a}function A(b,c){D(b)&&(b="100%");var d=E(b);return b=Q(c,R(0,parseFloat(b))),d&&(b=parseInt(b*c,10)/100),a.abs(b-c)<1e-6?1:b%c/parseFloat(c)}function B(a){return Q(1,R(0,a))}function C(a){return parseInt(a,16)}function D(a){return"string"==typeof a&&-1!=a.indexOf(".")&&1===parseFloat(a)}function E(a){return"string"==typeof a&&-1!=a.indexOf("%")}function F(a){return 1==a.length?"0"+a:""+a}function G(a){return 1>=a&&(a=100*a+"%"),a}function H(b){return a.round(255*parseFloat(b)).toString(16)}function I(a){return C(a)/255}function J(a){return!!V.CSS_UNIT.exec(a)}function K(a){a=a.replace(M,"").replace(N,"").toLowerCase();var b=!1;if(T[a])a=T[a],b=!0;else if("transparent"==a)return{r:0,g:0,b:0,a:0,format:"name"};var c;return(c=V.rgb.exec(a))?{r:c[1],g:c[2],b:c[3]}:(c=V.rgba.exec(a))?{r:c[1],g:c[2],b:c[3],a:c[4]}:(c=V.hsl.exec(a))?{h:c[1],s:c[2],l:c[3]}:(c=V.hsla.exec(a))?{h:c[1],s:c[2],l:c[3],a:c[4]}:(c=V.hsv.exec(a))?{h:c[1],s:c[2],v:c[3]}:(c=V.hsva.exec(a))?{h:c[1],s:c[2],v:c[3],a:c[4]}:(c=V.hex8.exec(a))?{r:C(c[1]),g:C(c[2]),b:C(c[3]),a:I(c[4]),format:b?"name":"hex8"}:(c=V.hex6.exec(a))?{r:C(c[1]),g:C(c[2]),b:C(c[3]),format:b?"name":"hex"}:(c=V.hex4.exec(a))?{r:C(c[1]+""+c[1]),g:C(c[2]+""+c[2]),b:C(c[3]+""+c[3]),a:I(c[4]+""+c[4]),format:b?"name":"hex8"}:(c=V.hex3.exec(a))?{r:C(c[1]+""+c[1]),g:C(c[2]+""+c[2]),b:C(c[3]+""+c[3]),format:b?"name":"hex"}:!1}function L(a){var b,c;return a=a||{level:"AA",size:"small"},b=(a.level||"AA").toUpperCase(),c=(a.size||"small").toLowerCase(),"AA"!==b&&"AAA"!==b&&(b="AA"),"small"!==c&&"large"!==c&&(c="small"),{level:b,size:c}}var M=/^\s+/,N=/\s+$/,O=0,P=a.round,Q=a.min,R=a.max,S=a.random;b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var a=this.toRgb();return(299*a.r+587*a.g+114*a.b)/1e3},getLuminance:function(){var b,c,d,e,f,g,h=this.toRgb();return b=h.r/255,c=h.g/255,d=h.b/255,e=.03928>=b?b/12.92:a.pow((b+.055)/1.055,2.4),f=.03928>=c?c/12.92:a.pow((c+.055)/1.055,2.4),g=.03928>=d?d/12.92:a.pow((d+.055)/1.055,2.4),.2126*e+.7152*f+.0722*g},setAlpha:function(a){return this._a=z(a),this._roundA=P(100*this._a)/100,this},toHsv:function(){var a=g(this._r,this._g,this._b);return{h:360*a.h,s:a.s,v:a.v,a:this._a}},toHsvString:function(){var a=g(this._r,this._g,this._b),b=P(360*a.h),c=P(100*a.s),d=P(100*a.v);return 1==this._a?"hsv("+b+", "+c+"%, "+d+"%)":"hsva("+b+", "+c+"%, "+d+"%, "+this._roundA+")"},toHsl:function(){var a=e(this._r,this._g,this._b);return{h:360*a.h,s:a.s,l:a.l,a:this._a}},toHslString:function(){var a=e(this._r,this._g,this._b),b=P(360*a.h),c=P(100*a.s),d=P(100*a.l);return 1==this._a?"hsl("+b+", "+c+"%, "+d+"%)":"hsla("+b+", "+c+"%, "+d+"%, "+this._roundA+")"},toHex:function(a){return i(this._r,this._g,this._b,a)},toHexString:function(a){return"#"+this.toHex(a)},toHex8:function(a){return j(this._r,this._g,this._b,this._a,a)},toHex8String:function(a){return"#"+this.toHex8(a)},toRgb:function(){return{r:P(this._r),g:P(this._g),b:P(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+P(this._r)+", "+P(this._g)+", "+P(this._b)+")":"rgba("+P(this._r)+", "+P(this._g)+", "+P(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:P(100*A(this._r,255))+"%",g:P(100*A(this._g,255))+"%",b:P(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+P(100*A(this._r,255))+"%, "+P(100*A(this._g,255))+"%, "+P(100*A(this._b,255))+"%)":"rgba("+P(100*A(this._r,255))+"%, "+P(100*A(this._g,255))+"%, "+P(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":this._a<1?!1:U[i(this._r,this._g,this._b,!0)]||!1},toFilter:function(a){var c="#"+k(this._r,this._g,this._b,this._a),d=c,e=this._gradientType?"GradientType = 1, ":"";if(a){var f=b(a);d="#"+k(f._r,f._g,f._b,f._a)}return"progid:DXImageTransform.Microsoft.gradient("+e+"startColorstr="+c+",endColorstr="+d+")"},toString:function(a){var b=!!a;a=a||this._format;var c=!1,d=this._a<1&&this._a>=0,e=!b&&d&&("hex"===a||"hex6"===a||"hex3"===a||"hex4"===a||"hex8"===a||"name"===a);return e?"name"===a&&0===this._a?this.toName():this.toRgbString():("rgb"===a&&(c=this.toRgbString()),"prgb"===a&&(c=this.toPercentageRgbString()),("hex"===a||"hex6"===a)&&(c=this.toHexString()),"hex3"===a&&(c=this.toHexString(!0)),"hex4"===a&&(c=this.toHex8String(!0)),"hex8"===a&&(c=this.toHex8String()),"name"===a&&(c=this.toName()),"hsl"===a&&(c=this.toHslString()),"hsv"===a&&(c=this.toHsvString()),c||this.toHexString())},clone:function(){return b(this.toString())},_applyModification:function(a,b){var c=a.apply(null,[this].concat([].slice.call(b)));return this._r=c._r,this._g=c._g,this._b=c._b,this.setAlpha(c._a),this},lighten:function(){return this._applyModification(o,arguments)},brighten:function(){return this._applyModification(p,arguments)},darken:function(){return this._applyModification(q,arguments)},desaturate:function(){return this._applyModification(l,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(n,arguments)},spin:function(){return this._applyModification(r,arguments)},_applyCombination:function(a,b){return a.apply(null,[this].concat([].slice.call(b)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(s,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(v,arguments)},triad:function(){return this._applyCombination(t,arguments)},tetrad:function(){return this._applyCombination(u,arguments)}},b.fromRatio=function(a,c){if("object"==typeof a){var d={};for(var e in a)a.hasOwnProperty(e)&&(d[e]="a"===e?a[e]:G(a[e]));a=d}return b(a,c)},b.equals=function(a,c){return a&&c?b(a).toRgbString()==b(c).toRgbString():!1},b.random=function(){return b.fromRatio({r:S(),g:S(),b:S()})},b.mix=function(a,c,d){d=0===d?0:d||50;var e=b(a).toRgb(),f=b(c).toRgb(),g=d/100,h={r:(f.r-e.r)*g+e.r,g:(f.g-e.g)*g+e.g,b:(f.b-e.b)*g+e.b,a:(f.a-e.a)*g+e.a};return b(h)},b.readability=function(c,d){var e=b(c),f=b(d);return(a.max(e.getLuminance(),f.getLuminance())+.05)/(a.min(e.getLuminance(),f.getLuminance())+.05)},b.isReadable=function(a,c,d){var e,f,g=b.readability(a,c);switch(f=!1,e=L(d),e.level+e.size){case"AAsmall":case"AAAlarge":f=g>=4.5;break;case"AAlarge":f=g>=3;break;case"AAAsmall":f=g>=7}return f},b.mostReadable=function(a,c,d){var e,f,g,h,i=null,j=0;d=d||{},f=d.includeFallbackColors,g=d.level,h=d.size;for(var k=0;k<c.length;k++)e=b.readability(a,c[k]),e>j&&(j=e,i=b(c[k]));return b.isReadable(a,i,{level:g,size:h})||!f?i:(d.includeFallbackColors=!1,b.mostReadable(a,["#fff","#000"],d))};var T=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},U=b.hexNames=y(T),V=function(){var a="[-\\+]?\\d+%?",b="[-\\+]?\\d*\\.\\d+%?",c="(?:"+b+")|(?:"+a+")",d="[\\s|\\(]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")\\s*\\)?",e="[\\s|\\(]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")\\s*\\)?";return{CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+d),rgba:new RegExp("rgba"+e),hsl:new RegExp("hsl"+d),hsla:new RegExp("hsla"+e),hsv:new RegExp("hsv"+d),hsva:new RegExp("hsva"+e),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof module&&module.exports?module.exports=b:"function"==typeof define&&define.amd?define(function(){return b}):window.tinycolor=b}(Math);
app/extensions/fields/asset/tinycolor/index.html ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+
6
+ <title>TinyColor - Fast, small color manipulation in JavaScript</title>
7
+
8
+ <link rel="stylesheet" href="demo/demo.css" type="text/css" media="screen" />
9
+ <script type='text/javascript' src='demo/jquery-1.9.1.js'></script>
10
+ <script type='text/javascript' src='tinycolor.js'></script>
11
+ <script type='text/javascript'>
12
+
13
+ function colorChange(color) {
14
+ var tiny = tinycolor(color);
15
+
16
+ var output = [
17
+ "hex:\t" + tiny.toHexString(),
18
+ "hex8:\t" + tiny.toHex8String(),
19
+ "rgb:\t" + tiny.toRgbString(),
20
+ "hsl:\t" + tiny.toHslString(),
21
+ "hsv:\t" + tiny.toHsvString(),
22
+ "name:\t" + (tiny.toName() || "none"),
23
+ "format:\t" + (tiny.getFormat()),
24
+ "format string:\t" + tiny.toString(),
25
+ ].join("\n");
26
+
27
+ $("#code-output").text(output).css("border-color", tiny.toHexString());
28
+
29
+ var filters = $("#filter-output").toggleClass("invisible", !tiny.isValid());
30
+
31
+ filters.find(".lighten").css("background-color",
32
+ tinycolor(color).lighten(20).toHexString()
33
+ );
34
+ filters.find(".darken").css("background-color",
35
+ tinycolor(color).darken(20).toHexString()
36
+ );
37
+ filters.find(".saturate").css("background-color",
38
+ tinycolor(color).saturate(20).toHexString()
39
+ );
40
+ filters.find(".desaturate").css("background-color",
41
+ tinycolor(color).desaturate(20).toHexString()
42
+ );
43
+ filters.find(".greyscale").css("background-color",
44
+ tinycolor(color).greyscale().toHexString()
45
+ );
46
+ filters.find(".brighten").css("background-color",
47
+ tinycolor(color).brighten(20).toHexString()
48
+ );
49
+
50
+ var allColors = [];
51
+ for (var i in tinycolor.names) {
52
+ allColors.push(i);
53
+ }
54
+ var mostReadable = tinycolor.mostReadable(color, allColors);
55
+
56
+ $("#mostReadable").css("background-color",
57
+ mostReadable.toHexString()
58
+ );
59
+
60
+ var combines = $("#combine-output").toggleClass("invisible", !tiny.isValid());
61
+
62
+ function colorArrayToHTML(arr) {
63
+ return $.map(arr, function(e) {
64
+ return '<span style="background:'+e.toHexString()+'"></span>'
65
+ }).join('');
66
+ }
67
+
68
+ var triad = tiny.triad();
69
+ combines.find(".triad").html(colorArrayToHTML(triad));
70
+ console.log(triad.map(function(f) {return f.toHexString();}));
71
+
72
+ var tetrad = tiny.tetrad();
73
+ combines.find(".tetrad").html(colorArrayToHTML(tetrad));
74
+
75
+ var mono = tiny.monochromatic();
76
+ combines.find(".mono").html(colorArrayToHTML(mono));
77
+
78
+ var analogous = tiny.analogous();
79
+ combines.find(".analogous").html(colorArrayToHTML(analogous));
80
+
81
+ var splitcomplement = tiny.splitcomplement();
82
+ combines.find(".sc").html(colorArrayToHTML(splitcomplement));
83
+ }
84
+
85
+ $(function() {
86
+ $("#color").bind("keyup change", function() {
87
+ colorChange($(this).val());
88
+ });
89
+ colorChange({r: 150, g: 0, b: 100});
90
+
91
+ $("#inputter a").click(function() {
92
+ $("#color").val($(this).text()).trigger("change");
93
+ return false;
94
+ });
95
+ });
96
+
97
+ </script>
98
+ </head>
99
+
100
+ <body>
101
+ <div id="container">
102
+ <h1>TinyColor</h1>
103
+ <h2>Fast, small color manipulation and conversion for JavaScript</h2>
104
+
105
+ <p>
106
+ <a href="https://github.com/bgrins/TinyColor">TinyColor</a> is a micro framework for inputting colors and outputting colors as different formats.
107
+ Input is meant to be as permissive as possible.
108
+ </p>
109
+
110
+ <h3>Usage Documentation</h3>
111
+ <p>Read all the documentation on the <a href='https://github.com/bgrins/TinyColor'>TinyColor project page</a> on github.</p>
112
+
113
+ <h3>Code</h3>
114
+ <p><a href='docs/tinycolor.html'>View the annotated source code</a> or <a href='https://github.com/bgrins/TinyColor/blob/master/tinycolor.js'>see the full source on github</a>.</p>
115
+
116
+ <h3>Tests</h3>
117
+ <p><a href='test/'>View the QUnit Tests</a>.</p>
118
+
119
+ <h3>Demo</h3>
120
+ <div id='demo'>
121
+ <div id='inputter'>
122
+ <p>
123
+ Enter a color: <input type="text" placeholder="any color." id='color' />
124
+ </p>
125
+ <p>
126
+ Or try these:
127
+ <a href="#">red</a>
128
+ <a href="#">0f0</a>
129
+ <a href="#">rgb 255 128 128</a>
130
+ <a href='#'>hsl(0, 100%, 50%)</a>
131
+ <a href='#'>hsv 0, 100%, 50%</a>
132
+ </p>
133
+ <p>And I'll tell you what I know about it:</p>
134
+ </div>
135
+
136
+ <pre id='code-output'></pre>
137
+
138
+ <div id='filter-output'>
139
+ <table>
140
+ <tr>
141
+ <th>Lighten</th>
142
+ <td><div class='lighten'></div></td>
143
+ </tr>
144
+ <tr>
145
+ <th>Darken</th>
146
+ <td><div class='darken'></div></td>
147
+ </tr>
148
+ <tr>
149
+ <th>Saturate</th>
150
+ <td><div class='saturate'></div></td>
151
+ </tr>
152
+ <tr>
153
+ <th>Desaturate</th>
154
+ <td><div class='desaturate'></div></td>
155
+ </tr>
156
+ <tr>
157
+ <th>Greyscale</th>
158
+ <td><div class='greyscale'></div></td>
159
+ </tr>
160
+ <tr>
161
+ <th>Brighten</th>
162
+ <td><div class='brighten'></div></td>
163
+ </tr>
164
+ <tr>
165
+ <th>Most Readable</th>
166
+ <td><div id='mostReadable'></div></td>
167
+ </tr>
168
+ </table>
169
+ </div>
170
+
171
+ <div id='combine-output'>
172
+ <table>
173
+ <tr>
174
+ <th>Triad</th> <td><div class='triad'></div></td>
175
+ </tr>
176
+ <tr>
177
+ <th>Tetrad</th> <td><div class='tetrad'></div></td>
178
+ </tr>
179
+ <tr>
180
+ <th>Monochromatic</th> <td><div class='mono'></div></td>
181
+ </tr>
182
+ <tr>
183
+ <th>Analogous</th> <td><div class='analogous'></div></td>
184
+ </tr>
185
+ <tr>
186
+ <th>Split Complements</th> <td><div class='sc'></div></td>
187
+ </tr>
188
+ </table>
189
+ </div>
190
+ </div>
191
+
192
+
193
+ <h3>Credit</h3>
194
+ <p>
195
+ Developed by <a href='http://briangrinstead.com'>Brian Grinstead</a>. Big thanks to the following places:
196
+ </p>
197
+ <ul>
198
+ <li><a href='https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js'>less.js</a> for some of the modification functions</li>
199
+ <li><a href='https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js'>jQuery xColor</a> for some of the combination functions</li>
200
+ <li><a href='http://www.w3.org/TR/css3-color/#svg-color'>w3.org</a> for the color list and parsing rules</li>
201
+ <li><a href='http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript'>mjijackson.com</a> for the first stab at RGB / HSL / HSV converters</li>
202
+
203
+ </ul>
204
+
205
+ </div>
206
+ </body>
207
+ </html>
app/extensions/fields/asset/tinycolor/package.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.4.1",
3
+ "name": "tinycolor2",
4
+ "description": "Fast Color Parsing and Manipulation",
5
+ "url": "http://bgrins.github.com/TinyColor",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://bgrins.github.com/TinyColor"
10
+ },
11
+ "keywords": [
12
+ "color",
13
+ "parser",
14
+ "tinycolor"
15
+ ],
16
+ "author": "Brian Grinstead <briangrinstead@gmail.com> (http://briangrinstead.com)",
17
+ "contributors": [],
18
+ "main": "./tinycolor.js",
19
+ "directories": {},
20
+ "engines": {
21
+ "node": "*"
22
+ },
23
+ "devDependencies": {
24
+ "grunt": "~0.4.1",
25
+ "grunt-contrib-concat": "~0.1.3",
26
+ "grunt-contrib-jshint": "~0.1.1",
27
+ "grunt-contrib-qunit": "^0.7.0",
28
+ "grunt-contrib-uglify": "~0.2.0",
29
+ "grunt-docco": "~0.2.0"
30
+ }
31
+ }
app/extensions/fields/asset/tinycolor/tinycolor.js ADDED
@@ -0,0 +1,1195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // TinyColor v1.4.1
2
+ // https://github.com/bgrins/TinyColor
3
+ // Brian Grinstead, MIT License
4
+
5
+ (function(Math) {
6
+
7
+ var trimLeft = /^\s+/,
8
+ trimRight = /\s+$/,
9
+ tinyCounter = 0,
10
+ mathRound = Math.round,
11
+ mathMin = Math.min,
12
+ mathMax = Math.max,
13
+ mathRandom = Math.random;
14
+
15
+ function tinycolor (color, opts) {
16
+
17
+ color = (color) ? color : '';
18
+ opts = opts || { };
19
+
20
+ // If input is already a tinycolor, return itself
21
+ if (color instanceof tinycolor) {
22
+ return color;
23
+ }
24
+ // If we are called as a function, call using new instead
25
+ if (!(this instanceof tinycolor)) {
26
+ return new tinycolor(color, opts);
27
+ }
28
+
29
+ var rgb = inputToRGB(color);
30
+ this._originalInput = color,
31
+ this._r = rgb.r,
32
+ this._g = rgb.g,
33
+ this._b = rgb.b,
34
+ this._a = rgb.a,
35
+ this._roundA = mathRound(100*this._a) / 100,
36
+ this._format = opts.format || rgb.format;
37
+ this._gradientType = opts.gradientType;
38
+
39
+ // Don't let the range of [0,255] come back in [0,1].
40
+ // Potentially lose a little bit of precision here, but will fix issues where
41
+ // .5 gets interpreted as half of the total, instead of half of 1
42
+ // If it was supposed to be 128, this was already taken care of by `inputToRgb`
43
+ if (this._r < 1) { this._r = mathRound(this._r); }
44
+ if (this._g < 1) { this._g = mathRound(this._g); }
45
+ if (this._b < 1) { this._b = mathRound(this._b); }
46
+
47
+ this._ok = rgb.ok;
48
+ this._tc_id = tinyCounter++;
49
+ }
50
+
51
+ tinycolor.prototype = {
52
+ isDark: function() {
53
+ return this.getBrightness() < 128;
54
+ },
55
+ isLight: function() {
56
+ return !this.isDark();
57
+ },
58
+ isValid: function() {
59
+ return this._ok;
60
+ },
61
+ getOriginalInput: function() {
62
+ return this._originalInput;
63
+ },
64
+ getFormat: function() {
65
+ return this._format;
66
+ },
67
+ getAlpha: function() {
68
+ return this._a;
69
+ },
70
+ getBrightness: function() {
71
+ //http://www.w3.org/TR/AERT#color-contrast
72
+ var rgb = this.toRgb();
73
+ return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
74
+ },
75
+ getLuminance: function() {
76
+ //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
77
+ var rgb = this.toRgb();
78
+ var RsRGB, GsRGB, BsRGB, R, G, B;
79
+ RsRGB = rgb.r/255;
80
+ GsRGB = rgb.g/255;
81
+ BsRGB = rgb.b/255;
82
+
83
+ if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
84
+ if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
85
+ if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
86
+ return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
87
+ },
88
+ setAlpha: function(value) {
89
+ this._a = boundAlpha(value);
90
+ this._roundA = mathRound(100*this._a) / 100;
91
+ return this;
92
+ },
93
+ toHsv: function() {
94
+ var hsv = rgbToHsv(this._r, this._g, this._b);
95
+ return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
96
+ },
97
+ toHsvString: function() {
98
+ var hsv = rgbToHsv(this._r, this._g, this._b);
99
+ var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
100
+ return (this._a == 1) ?
101
+ "hsv(" + h + ", " + s + "%, " + v + "%)" :
102
+ "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
103
+ },
104
+ toHsl: function() {
105
+ var hsl = rgbToHsl(this._r, this._g, this._b);
106
+ return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
107
+ },
108
+ toHslString: function() {
109
+ var hsl = rgbToHsl(this._r, this._g, this._b);
110
+ var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
111
+ return (this._a == 1) ?
112
+ "hsl(" + h + ", " + s + "%, " + l + "%)" :
113
+ "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
114
+ },
115
+ toHex: function(allow3Char) {
116
+ return rgbToHex(this._r, this._g, this._b, allow3Char);
117
+ },
118
+ toHexString: function(allow3Char) {
119
+ return '#' + this.toHex(allow3Char);
120
+ },
121
+ toHex8: function(allow4Char) {
122
+ return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
123
+ },
124
+ toHex8String: function(allow4Char) {
125
+ return '#' + this.toHex8(allow4Char);
126
+ },
127
+ toRgb: function() {
128
+ return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
129
+ },
130
+ toRgbString: function() {
131
+ return (this._a == 1) ?
132
+ "rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
133
+ "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
134
+ },
135
+ toPercentageRgb: function() {
136
+ return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
137
+ },
138
+ toPercentageRgbString: function() {
139
+ return (this._a == 1) ?
140
+ "rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
141
+ "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
142
+ },
143
+ toName: function() {
144
+ if (this._a === 0) {
145
+ return "transparent";
146
+ }
147
+
148
+ if (this._a < 1) {
149
+ return false;
150
+ }
151
+
152
+ return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
153
+ },
154
+ toFilter: function(secondColor) {
155
+ var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
156
+ var secondHex8String = hex8String;
157
+ var gradientType = this._gradientType ? "GradientType = 1, " : "";
158
+
159
+ if (secondColor) {
160
+ var s = tinycolor(secondColor);
161
+ secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
162
+ }
163
+
164
+ return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
165
+ },
166
+ toString: function(format) {
167
+ var formatSet = !!format;
168
+ format = format || this._format;
169
+
170
+ var formattedString = false;
171
+ var hasAlpha = this._a < 1 && this._a >= 0;
172
+ var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
173
+
174
+ if (needsAlphaFormat) {
175
+ // Special case for "transparent", all other non-alpha formats
176
+ // will return rgba when there is transparency.
177
+ if (format === "name" && this._a === 0) {
178
+ return this.toName();
179
+ }
180
+ return this.toRgbString();
181
+ }
182
+ if (format === "rgb") {
183
+ formattedString = this.toRgbString();
184
+ }
185
+ if (format === "prgb") {
186
+ formattedString = this.toPercentageRgbString();
187
+ }
188
+ if (format === "hex" || format === "hex6") {
189
+ formattedString = this.toHexString();
190
+ }
191
+ if (format === "hex3") {
192
+ formattedString = this.toHexString(true);
193
+ }
194
+ if (format === "hex4") {
195
+ formattedString = this.toHex8String(true);
196
+ }
197
+ if (format === "hex8") {
198
+ formattedString = this.toHex8String();
199
+ }
200
+ if (format === "name") {
201
+ formattedString = this.toName();
202
+ }
203
+ if (format === "hsl") {
204
+ formattedString = this.toHslString();
205
+ }
206
+ if (format === "hsv") {
207
+ formattedString = this.toHsvString();
208
+ }
209
+
210
+ return formattedString || this.toHexString();
211
+ },
212
+ clone: function() {
213
+ return tinycolor(this.toString());
214
+ },
215
+
216
+ _applyModification: function(fn, args) {
217
+ var color = fn.apply(null, [this].concat([].slice.call(args)));
218
+ this._r = color._r;
219
+ this._g = color._g;
220
+ this._b = color._b;
221
+ this.setAlpha(color._a);
222
+ return this;
223
+ },
224
+ lighten: function() {
225
+ return this._applyModification(lighten, arguments);
226
+ },
227
+ brighten: function() {
228
+ return this._applyModification(brighten, arguments);
229
+ },
230
+ darken: function() {
231
+ return this._applyModification(darken, arguments);
232
+ },
233
+ desaturate: function() {
234
+ return this._applyModification(desaturate, arguments);
235
+ },
236
+ saturate: function() {
237
+ return this._applyModification(saturate, arguments);
238
+ },
239
+ greyscale: function() {
240
+ return this._applyModification(greyscale, arguments);
241
+ },
242
+ spin: function() {
243
+ return this._applyModification(spin, arguments);
244
+ },
245
+
246
+ _applyCombination: function(fn, args) {
247
+ return fn.apply(null, [this].concat([].slice.call(args)));
248
+ },
249
+ analogous: function() {
250
+ return this._applyCombination(analogous, arguments);
251
+ },
252
+ complement: function() {
253
+ return this._applyCombination(complement, arguments);
254
+ },
255
+ monochromatic: function() {
256
+ return this._applyCombination(monochromatic, arguments);
257
+ },
258
+ splitcomplement: function() {
259
+ return this._applyCombination(splitcomplement, arguments);
260
+ },
261
+ triad: function() {
262
+ return this._applyCombination(triad, arguments);
263
+ },
264
+ tetrad: function() {
265
+ return this._applyCombination(tetrad, arguments);
266
+ }
267
+ };
268
+
269
+ // If input is an object, force 1 into "1.0" to handle ratios properly
270
+ // String input requires "1.0" as input, so 1 will be treated as 1
271
+ tinycolor.fromRatio = function(color, opts) {
272
+ if (typeof color == "object") {
273
+ var newColor = {};
274
+ for (var i in color) {
275
+ if (color.hasOwnProperty(i)) {
276
+ if (i === "a") {
277
+ newColor[i] = color[i];
278
+ }
279
+ else {
280
+ newColor[i] = convertToPercentage(color[i]);
281
+ }
282
+ }
283
+ }
284
+ color = newColor;
285
+ }
286
+
287
+ return tinycolor(color, opts);
288
+ };
289
+
290
+ // Given a string or object, convert that input to RGB
291
+ // Possible string inputs:
292
+ //
293
+ // "red"
294
+ // "#f00" or "f00"
295
+ // "#ff0000" or "ff0000"
296
+ // "#ff000000" or "ff000000"
297
+ // "rgb 255 0 0" or "rgb (255, 0, 0)"
298
+ // "rgb 1.0 0 0" or "rgb (1, 0, 0)"
299
+ // "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
300
+ // "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
301
+ // "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
302
+ // "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
303
+ // "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
304
+ //
305
+ function inputToRGB(color) {
306
+
307
+ var rgb = { r: 0, g: 0, b: 0 };
308
+ var a = 1;
309
+ var s = null;
310
+ var v = null;
311
+ var l = null;
312
+ var ok = false;
313
+ var format = false;
314
+
315
+ if (typeof color == "string") {
316
+ color = stringInputToObject(color);
317
+ }
318
+
319
+ if (typeof color == "object") {
320
+ if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
321
+ rgb = rgbToRgb(color.r, color.g, color.b);
322
+ ok = true;
323
+ format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
324
+ }
325
+ else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
326
+ s = convertToPercentage(color.s);
327
+ v = convertToPercentage(color.v);
328
+ rgb = hsvToRgb(color.h, s, v);
329
+ ok = true;
330
+ format = "hsv";
331
+ }
332
+ else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
333
+ s = convertToPercentage(color.s);
334
+ l = convertToPercentage(color.l);
335
+ rgb = hslToRgb(color.h, s, l);
336
+ ok = true;
337
+ format = "hsl";
338
+ }
339
+
340
+ if (color.hasOwnProperty("a")) {
341
+ a = color.a;
342
+ }
343
+ }
344
+
345
+ a = boundAlpha(a);
346
+
347
+ return {
348
+ ok: ok,
349
+ format: color.format || format,
350
+ r: mathMin(255, mathMax(rgb.r, 0)),
351
+ g: mathMin(255, mathMax(rgb.g, 0)),
352
+ b: mathMin(255, mathMax(rgb.b, 0)),
353
+ a: a
354
+ };
355
+ }
356
+
357
+
358
+ // Conversion Functions
359
+ // --------------------
360
+
361
+ // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
362
+ // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
363
+
364
+ // `rgbToRgb`
365
+ // Handle bounds / percentage checking to conform to CSS color spec
366
+ // <http://www.w3.org/TR/css3-color/>
367
+ // *Assumes:* r, g, b in [0, 255] or [0, 1]
368
+ // *Returns:* { r, g, b } in [0, 255]
369
+ function rgbToRgb(r, g, b){
370
+ return {
371
+ r: bound01(r, 255) * 255,
372
+ g: bound01(g, 255) * 255,
373
+ b: bound01(b, 255) * 255
374
+ };
375
+ }
376
+
377
+ // `rgbToHsl`
378
+ // Converts an RGB color value to HSL.
379
+ // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
380
+ // *Returns:* { h, s, l } in [0,1]
381
+ function rgbToHsl(r, g, b) {
382
+
383
+ r = bound01(r, 255);
384
+ g = bound01(g, 255);
385
+ b = bound01(b, 255);
386
+
387
+ var max = mathMax(r, g, b), min = mathMin(r, g, b);
388
+ var h, s, l = (max + min) / 2;
389
+
390
+ if(max == min) {
391
+ h = s = 0; // achromatic
392
+ }
393
+ else {
394
+ var d = max - min;
395
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
396
+ switch(max) {
397
+ case r: h = (g - b) / d + (g < b ? 6 : 0); break;
398
+ case g: h = (b - r) / d + 2; break;
399
+ case b: h = (r - g) / d + 4; break;
400
+ }
401
+
402
+ h /= 6;
403
+ }
404
+
405
+ return { h: h, s: s, l: l };
406
+ }
407
+
408
+ // `hslToRgb`
409
+ // Converts an HSL color value to RGB.
410
+ // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
411
+ // *Returns:* { r, g, b } in the set [0, 255]
412
+ function hslToRgb(h, s, l) {
413
+ var r, g, b;
414
+
415
+ h = bound01(h, 360);
416
+ s = bound01(s, 100);
417
+ l = bound01(l, 100);
418
+
419
+ function hue2rgb(p, q, t) {
420
+ if(t < 0) t += 1;
421
+ if(t > 1) t -= 1;
422
+ if(t < 1/6) return p + (q - p) * 6 * t;
423
+ if(t < 1/2) return q;
424
+ if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
425
+ return p;
426
+ }
427
+
428
+ if(s === 0) {
429
+ r = g = b = l; // achromatic
430
+ }
431
+ else {
432
+ var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
433
+ var p = 2 * l - q;
434
+ r = hue2rgb(p, q, h + 1/3);
435
+ g = hue2rgb(p, q, h);
436
+ b = hue2rgb(p, q, h - 1/3);
437
+ }
438
+
439
+ return { r: r * 255, g: g * 255, b: b * 255 };
440
+ }
441
+
442
+ // `rgbToHsv`
443
+ // Converts an RGB color value to HSV
444
+ // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
445
+ // *Returns:* { h, s, v } in [0,1]
446
+ function rgbToHsv(r, g, b) {
447
+
448
+ r = bound01(r, 255);
449
+ g = bound01(g, 255);
450
+ b = bound01(b, 255);
451
+
452
+ var max = mathMax(r, g, b), min = mathMin(r, g, b);
453
+ var h, s, v = max;
454
+
455
+ var d = max - min;
456
+ s = max === 0 ? 0 : d / max;
457
+
458
+ if(max == min) {
459
+ h = 0; // achromatic
460
+ }
461
+ else {
462
+ switch(max) {
463
+ case r: h = (g - b) / d + (g < b ? 6 : 0); break;
464
+ case g: h = (b - r) / d + 2; break;
465
+ case b: h = (r - g) / d + 4; break;
466
+ }
467
+ h /= 6;
468
+ }
469
+ return { h: h, s: s, v: v };
470
+ }
471
+
472
+ // `hsvToRgb`
473
+ // Converts an HSV color value to RGB.
474
+ // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
475
+ // *Returns:* { r, g, b } in the set [0, 255]
476
+ function hsvToRgb(h, s, v) {
477
+
478
+ h = bound01(h, 360) * 6;
479
+ s = bound01(s, 100);
480
+ v = bound01(v, 100);
481
+
482
+ var i = Math.floor(h),
483
+ f = h - i,
484
+ p = v * (1 - s),
485
+ q = v * (1 - f * s),
486
+ t = v * (1 - (1 - f) * s),
487
+ mod = i % 6,
488
+ r = [v, q, p, p, t, v][mod],
489
+ g = [t, v, v, q, p, p][mod],
490
+ b = [p, p, t, v, v, q][mod];
491
+
492
+ return { r: r * 255, g: g * 255, b: b * 255 };
493
+ }
494
+
495
+ // `rgbToHex`
496
+ // Converts an RGB color to hex
497
+ // Assumes r, g, and b are contained in the set [0, 255]
498
+ // Returns a 3 or 6 character hex
499
+ function rgbToHex(r, g, b, allow3Char) {
500
+
501
+ var hex = [
502
+ pad2(mathRound(r).toString(16)),
503
+ pad2(mathRound(g).toString(16)),
504
+ pad2(mathRound(b).toString(16))
505
+ ];
506
+
507
+ // Return a 3 character hex if possible
508
+ if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
509
+ return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
510
+ }
511
+
512
+ return hex.join("");
513
+ }
514
+
515
+ // `rgbaToHex`
516
+ // Converts an RGBA color plus alpha transparency to hex
517
+ // Assumes r, g, b are contained in the set [0, 255] and
518
+ // a in [0, 1]. Returns a 4 or 8 character rgba hex
519
+ function rgbaToHex(r, g, b, a, allow4Char) {
520
+
521
+ var hex = [
522
+ pad2(mathRound(r).toString(16)),
523
+ pad2(mathRound(g).toString(16)),
524
+ pad2(mathRound(b).toString(16)),
525
+ pad2(convertDecimalToHex(a))
526
+ ];
527
+
528
+ // Return a 4 character hex if possible
529
+ if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
530
+ return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
531
+ }
532
+
533
+ return hex.join("");
534
+ }
535
+
536
+ // `rgbaToArgbHex`
537
+ // Converts an RGBA color to an ARGB Hex8 string
538
+ // Rarely used, but required for "toFilter()"
539
+ function rgbaToArgbHex(r, g, b, a) {
540
+
541
+ var hex = [
542
+ pad2(convertDecimalToHex(a)),
543
+ pad2(mathRound(r).toString(16)),
544
+ pad2(mathRound(g).toString(16)),
545
+ pad2(mathRound(b).toString(16))
546
+ ];
547
+
548
+ return hex.join("");
549
+ }
550
+
551
+ // `equals`
552
+ // Can be called with any tinycolor input
553
+ tinycolor.equals = function (color1, color2) {
554
+ if (!color1 || !color2) { return false; }
555
+ return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
556
+ };
557
+
558
+ tinycolor.random = function() {
559
+ return tinycolor.fromRatio({
560
+ r: mathRandom(),
561
+ g: mathRandom(),
562
+ b: mathRandom()
563
+ });
564
+ };
565
+
566
+
567
+ // Modification Functions
568
+ // ----------------------
569
+ // Thanks to less.js for some of the basics here
570
+ // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
571
+
572
+ function desaturate(color, amount) {
573
+ amount = (amount === 0) ? 0 : (amount || 10);
574
+ var hsl = tinycolor(color).toHsl();
575
+ hsl.s -= amount / 100;
576
+ hsl.s = clamp01(hsl.s);
577
+ return tinycolor(hsl);
578
+ }
579
+
580
+ function saturate(color, amount) {
581
+ amount = (amount === 0) ? 0 : (amount || 10);
582
+ var hsl = tinycolor(color).toHsl();
583
+ hsl.s += amount / 100;
584
+ hsl.s = clamp01(hsl.s);
585
+ return tinycolor(hsl);
586
+ }
587
+
588
+ function greyscale(color) {
589
+ return tinycolor(color).desaturate(100);
590
+ }
591
+
592
+ function lighten (color, amount) {
593
+ amount = (amount === 0) ? 0 : (amount || 10);
594
+ var hsl = tinycolor(color).toHsl();
595
+ hsl.l += amount / 100;
596
+ hsl.l = clamp01(hsl.l);
597
+ return tinycolor(hsl);
598
+ }
599
+
600
+ function brighten(color, amount) {
601
+ amount = (amount === 0) ? 0 : (amount || 10);
602
+ var rgb = tinycolor(color).toRgb();
603
+ rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
604
+ rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
605
+ rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
606
+ return tinycolor(rgb);
607
+ }
608
+
609
+ function darken (color, amount) {
610
+ amount = (amount === 0) ? 0 : (amount || 10);
611
+ var hsl = tinycolor(color).toHsl();
612
+ hsl.l -= amount / 100;
613
+ hsl.l = clamp01(hsl.l);
614
+ return tinycolor(hsl);
615
+ }
616
+
617
+ // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
618
+ // Values outside of this range will be wrapped into this range.
619
+ function spin(color, amount) {
620
+ var hsl = tinycolor(color).toHsl();
621
+ var hue = (hsl.h + amount) % 360;
622
+ hsl.h = hue < 0 ? 360 + hue : hue;
623
+ return tinycolor(hsl);
624
+ }
625
+
626
+ // Combination Functions
627
+ // ---------------------
628
+ // Thanks to jQuery xColor for some of the ideas behind these
629
+ // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
630
+
631
+ function complement(color) {
632
+ var hsl = tinycolor(color).toHsl();
633
+ hsl.h = (hsl.h + 180) % 360;
634
+ return tinycolor(hsl);
635
+ }
636
+
637
+ function triad(color) {
638
+ var hsl = tinycolor(color).toHsl();
639
+ var h = hsl.h;
640
+ return [
641
+ tinycolor(color),
642
+ tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
643
+ tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
644
+ ];
645
+ }
646
+
647
+ function tetrad(color) {
648
+ var hsl = tinycolor(color).toHsl();
649
+ var h = hsl.h;
650
+ return [
651
+ tinycolor(color),
652
+ tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
653
+ tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
654
+ tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
655
+ ];
656
+ }
657
+
658
+ function splitcomplement(color) {
659
+ var hsl = tinycolor(color).toHsl();
660
+ var h = hsl.h;
661
+ return [
662
+ tinycolor(color),
663
+ tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
664
+ tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
665
+ ];
666
+ }
667
+
668
+ function analogous(color, results, slices) {
669
+ results = results || 6;
670
+ slices = slices || 30;
671
+
672
+ var hsl = tinycolor(color).toHsl();
673
+ var part = 360 / slices;
674
+ var ret = [tinycolor(color)];
675
+
676
+ for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
677
+ hsl.h = (hsl.h + part) % 360;
678
+ ret.push(tinycolor(hsl));
679
+ }
680
+ return ret;
681
+ }
682
+
683
+ function monochromatic(color, results) {
684
+ results = results || 6;
685
+ var hsv = tinycolor(color).toHsv();
686
+ var h = hsv.h, s = hsv.s, v = hsv.v;
687
+ var ret = [];
688
+ var modification = 1 / results;
689
+
690
+ while (results--) {
691
+ ret.push(tinycolor({ h: h, s: s, v: v}));
692
+ v = (v + modification) % 1;
693
+ }
694
+
695
+ return ret;
696
+ }
697
+
698
+ // Utility Functions
699
+ // ---------------------
700
+
701
+ tinycolor.mix = function(color1, color2, amount) {
702
+ amount = (amount === 0) ? 0 : (amount || 50);
703
+
704
+ var rgb1 = tinycolor(color1).toRgb();
705
+ var rgb2 = tinycolor(color2).toRgb();
706
+
707
+ var p = amount / 100;
708
+
709
+ var rgba = {
710
+ r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
711
+ g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
712
+ b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
713
+ a: ((rgb2.a - rgb1.a) * p) + rgb1.a
714
+ };
715
+
716
+ return tinycolor(rgba);
717
+ };
718
+
719
+
720
+ // Readability Functions
721
+ // ---------------------
722
+ // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
723
+
724
+ // `contrast`
725
+ // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
726
+ tinycolor.readability = function(color1, color2) {
727
+ var c1 = tinycolor(color1);
728
+ var c2 = tinycolor(color2);
729
+ return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
730
+ };
731
+
732
+ // `isReadable`
733
+ // Ensure that foreground and background color combinations meet WCAG2 guidelines.
734
+ // The third argument is an optional Object.
735
+ // the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
736
+ // the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
737
+ // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
738
+
739
+ // *Example*
740
+ // tinycolor.isReadable("#000", "#111") => false
741
+ // tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
742
+ tinycolor.isReadable = function(color1, color2, wcag2) {
743
+ var readability = tinycolor.readability(color1, color2);
744
+ var wcag2Parms, out;
745
+
746
+ out = false;
747
+
748
+ wcag2Parms = validateWCAG2Parms(wcag2);
749
+ switch (wcag2Parms.level + wcag2Parms.size) {
750
+ case "AAsmall":
751
+ case "AAAlarge":
752
+ out = readability >= 4.5;
753
+ break;
754
+ case "AAlarge":
755
+ out = readability >= 3;
756
+ break;
757
+ case "AAAsmall":
758
+ out = readability >= 7;
759
+ break;
760
+ }
761
+ return out;
762
+
763
+ };
764
+
765
+ // `mostReadable`
766
+ // Given a base color and a list of possible foreground or background
767
+ // colors for that base, returns the most readable color.
768
+ // Optionally returns Black or White if the most readable color is unreadable.
769
+ // *Example*
770
+ // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
771
+ // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
772
+ // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
773
+ // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
774
+ tinycolor.mostReadable = function(baseColor, colorList, args) {
775
+ var bestColor = null;
776
+ var bestScore = 0;
777
+ var readability;
778
+ var includeFallbackColors, level, size ;
779
+ args = args || {};
780
+ includeFallbackColors = args.includeFallbackColors ;
781
+ level = args.level;
782
+ size = args.size;
783
+
784
+ for (var i= 0; i < colorList.length ; i++) {
785
+ readability = tinycolor.readability(baseColor, colorList[i]);
786
+ if (readability > bestScore) {
787
+ bestScore = readability;
788
+ bestColor = tinycolor(colorList[i]);
789
+ }
790
+ }
791
+
792
+ if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
793
+ return bestColor;
794
+ }
795
+ else {
796
+ args.includeFallbackColors=false;
797
+ return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
798
+ }
799
+ };
800
+
801
+
802
+ // Big List of Colors
803
+ // ------------------
804
+ // <http://www.w3.org/TR/css3-color/#svg-color>
805
+ var names = tinycolor.names = {
806
+ aliceblue: "f0f8ff",
807
+ antiquewhite: "faebd7",
808
+ aqua: "0ff",
809
+ aquamarine: "7fffd4",
810
+ azure: "f0ffff",
811
+ beige: "f5f5dc",
812
+ bisque: "ffe4c4",
813
+ black: "000",
814
+ blanchedalmond: "ffebcd",
815
+ blue: "00f",
816
+ blueviolet: "8a2be2",
817
+ brown: "a52a2a",
818
+ burlywood: "deb887",
819
+ burntsienna: "ea7e5d",
820
+ cadetblue: "5f9ea0",
821
+ chartreuse: "7fff00",
822
+ chocolate: "d2691e",
823
+ coral: "ff7f50",
824
+ cornflowerblue: "6495ed",
825
+ cornsilk: "fff8dc",
826
+ crimson: "dc143c",
827
+ cyan: "0ff",
828
+ darkblue: "00008b",
829
+ darkcyan: "008b8b",
830
+ darkgoldenrod: "b8860b",
831
+ darkgray: "a9a9a9",
832
+ darkgreen: "006400",
833
+ darkgrey: "a9a9a9",
834
+ darkkhaki: "bdb76b",
835
+ darkmagenta: "8b008b",
836
+ darkolivegreen: "556b2f",
837
+ darkorange: "ff8c00",
838
+ darkorchid: "9932cc",
839
+ darkred: "8b0000",
840
+ darksalmon: "e9967a",
841
+ darkseagreen: "8fbc8f",
842
+ darkslateblue: "483d8b",
843
+ darkslategray: "2f4f4f",
844
+ darkslategrey: "2f4f4f",
845
+ darkturquoise: "00ced1",
846
+ darkviolet: "9400d3",
847
+ deeppink: "ff1493",
848
+ deepskyblue: "00bfff",
849
+ dimgray: "696969",
850
+ dimgrey: "696969",
851
+ dodgerblue: "1e90ff",
852
+ firebrick: "b22222",
853
+ floralwhite: "fffaf0",
854
+ forestgreen: "228b22",
855
+ fuchsia: "f0f",
856
+ gainsboro: "dcdcdc",
857
+ ghostwhite: "f8f8ff",
858
+ gold: "ffd700",
859
+ goldenrod: "daa520",
860
+ gray: "808080",
861
+ green: "008000",
862
+ greenyellow: "adff2f",
863
+ grey: "808080",
864
+ honeydew: "f0fff0",
865
+ hotpink: "ff69b4",
866
+ indianred: "cd5c5c",
867
+ indigo: "4b0082",
868
+ ivory: "fffff0",
869
+ khaki: "f0e68c",
870
+ lavender: "e6e6fa",
871
+ lavenderblush: "fff0f5",
872
+ lawngreen: "7cfc00",
873
+ lemonchiffon: "fffacd",
874
+ lightblue: "add8e6",
875
+ lightcoral: "f08080",
876
+ lightcyan: "e0ffff",
877
+ lightgoldenrodyellow: "fafad2",
878
+ lightgray: "d3d3d3",
879
+ lightgreen: "90ee90",
880
+ lightgrey: "d3d3d3",
881
+ lightpink: "ffb6c1",
882
+ lightsalmon: "ffa07a",
883
+ lightseagreen: "20b2aa",
884
+ lightskyblue: "87cefa",
885
+ lightslategray: "789",
886
+ lightslategrey: "789",
887
+ lightsteelblue: "b0c4de",
888
+ lightyellow: "ffffe0",
889
+ lime: "0f0",
890
+ limegreen: "32cd32",
891
+ linen: "faf0e6",
892
+ magenta: "f0f",
893
+ maroon: "800000",
894
+ mediumaquamarine: "66cdaa",
895
+ mediumblue: "0000cd",
896
+ mediumorchid: "ba55d3",
897
+ mediumpurple: "9370db",
898
+ mediumseagreen: "3cb371",
899
+ mediumslateblue: "7b68ee",
900
+ mediumspringgreen: "00fa9a",
901
+ mediumturquoise: "48d1cc",
902
+ mediumvioletred: "c71585",
903
+ midnightblue: "191970",
904
+ mintcream: "f5fffa",
905
+ mistyrose: "ffe4e1",
906
+ moccasin: "ffe4b5",
907
+ navajowhite: "ffdead",
908
+ navy: "000080",
909
+ oldlace: "fdf5e6",
910
+ olive: "808000",
911
+ olivedrab: "6b8e23",
912
+ orange: "ffa500",
913
+ orangered: "ff4500",
914
+ orchid: "da70d6",
915
+ palegoldenrod: "eee8aa",
916
+ palegreen: "98fb98",
917
+ paleturquoise: "afeeee",
918
+ palevioletred: "db7093",
919
+ papayawhip: "ffefd5",
920
+ peachpuff: "ffdab9",
921
+ peru: "cd853f",
922
+ pink: "ffc0cb",
923
+ plum: "dda0dd",
924
+ powderblue: "b0e0e6",
925
+ purple: "800080",
926
+ rebeccapurple: "663399",
927
+ red: "f00",
928
+ rosybrown: "bc8f8f",
929
+ royalblue: "4169e1",
930
+ saddlebrown: "8b4513",
931
+ salmon: "fa8072",
932
+ sandybrown: "f4a460",
933
+ seagreen: "2e8b57",
934
+ seashell: "fff5ee",
935
+ sienna: "a0522d",
936
+ silver: "c0c0c0",
937
+ skyblue: "87ceeb",
938
+ slateblue: "6a5acd",
939
+ slategray: "708090",
940
+ slategrey: "708090",
941
+ snow: "fffafa",
942
+ springgreen: "00ff7f",
943
+ steelblue: "4682b4",
944
+ tan: "d2b48c",
945
+ teal: "008080",
946
+ thistle: "d8bfd8",
947
+ tomato: "ff6347",
948
+ turquoise: "40e0d0",
949
+ violet: "ee82ee",
950
+ wheat: "f5deb3",
951
+ white: "fff",
952
+ whitesmoke: "f5f5f5",
953
+ yellow: "ff0",
954
+ yellowgreen: "9acd32"
955
+ };
956
+
957
+ // Make it easy to access colors via `hexNames[hex]`
958
+ var hexNames = tinycolor.hexNames = flip(names);
959
+
960
+
961
+ // Utilities
962
+ // ---------
963
+
964
+ // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
965
+ function flip(o) {
966
+ var flipped = { };
967
+ for (var i in o) {
968
+ if (o.hasOwnProperty(i)) {
969
+ flipped[o[i]] = i;
970
+ }
971
+ }
972
+ return flipped;
973
+ }
974
+
975
+ // Return a valid alpha value [0,1] with all invalid values being set to 1
976
+ function boundAlpha(a) {
977
+ a = parseFloat(a);
978
+
979
+ if (isNaN(a) || a < 0 || a > 1) {
980
+ a = 1;
981
+ }
982
+
983
+ return a;
984
+ }
985
+
986
+ // Take input from [0, n] and return it as [0, 1]
987
+ function bound01(n, max) {
988
+ if (isOnePointZero(n)) { n = "100%"; }
989
+
990
+ var processPercent = isPercentage(n);
991
+ n = mathMin(max, mathMax(0, parseFloat(n)));
992
+
993
+ // Automatically convert percentage into number
994
+ if (processPercent) {
995
+ n = parseInt(n * max, 10) / 100;
996
+ }
997
+
998
+ // Handle floating point rounding errors
999
+ if ((Math.abs(n - max) < 0.000001)) {
1000
+ return 1;
1001
+ }
1002
+
1003
+ // Convert into [0, 1] range if it isn't already
1004
+ return (n % max) / parseFloat(max);
1005
+ }
1006
+
1007
+ // Force a number between 0 and 1
1008
+ function clamp01(val) {
1009
+ return mathMin(1, mathMax(0, val));
1010
+ }
1011
+
1012
+ // Parse a base-16 hex value into a base-10 integer
1013
+ function parseIntFromHex(val) {
1014
+ return parseInt(val, 16);
1015
+ }
1016
+
1017
+ // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
1018
+ // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
1019
+ function isOnePointZero(n) {
1020
+ return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
1021
+ }
1022
+
1023
+ // Check to see if string passed in is a percentage
1024
+ function isPercentage(n) {
1025
+ return typeof n === "string" && n.indexOf('%') != -1;
1026
+ }
1027
+
1028
+ // Force a hex value to have 2 characters
1029
+ function pad2(c) {
1030
+ return c.length == 1 ? '0' + c : '' + c;
1031
+ }
1032
+
1033
+ // Replace a decimal with it's percentage value
1034
+ function convertToPercentage(n) {
1035
+ if (n <= 1) {
1036
+ n = (n * 100) + "%";
1037
+ }
1038
+
1039
+ return n;
1040
+ }
1041
+
1042
+ // Converts a decimal to a hex value
1043
+ function convertDecimalToHex(d) {
1044
+ return Math.round(parseFloat(d) * 255).toString(16);
1045
+ }
1046
+ // Converts a hex value to a decimal
1047
+ function convertHexToDecimal(h) {
1048
+ return (parseIntFromHex(h) / 255);
1049
+ }
1050
+
1051
+ var matchers = (function() {
1052
+
1053
+ // <http://www.w3.org/TR/css3-values/#integers>
1054
+ var CSS_INTEGER = "[-\\+]?\\d+%?";
1055
+
1056
+ // <http://www.w3.org/TR/css3-values/#number-value>
1057
+ var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
1058
+
1059
+ // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
1060
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
1061
+
1062
+ // Actual matching.
1063
+ // Parentheses and commas are optional, but not required.
1064
+ // Whitespace can take the place of commas or opening paren
1065
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1066
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1067
+
1068
+ return {
1069
+ CSS_UNIT: new RegExp(CSS_UNIT),
1070
+ rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
1071
+ rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
1072
+ hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
1073
+ hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
1074
+ hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
1075
+ hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
1076
+ hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1077
+ hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1078
+ hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1079
+ hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1080
+ };
1081
+ })();
1082
+
1083
+ // `isValidCSSUnit`
1084
+ // Take in a single string / number and check to see if it looks like a CSS unit
1085
+ // (see `matchers` above for definition).
1086
+ function isValidCSSUnit(color) {
1087
+ return !!matchers.CSS_UNIT.exec(color);
1088
+ }
1089
+
1090
+ // `stringInputToObject`
1091
+ // Permissive string parsing. Take in a number of formats, and output an object
1092
+ // based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
1093
+ function stringInputToObject(color) {
1094
+
1095
+ color = color.replace(trimLeft,'').replace(trimRight, '').toLowerCase();
1096
+ var named = false;
1097
+ if (names[color]) {
1098
+ color = names[color];
1099
+ named = true;
1100
+ }
1101
+ else if (color == 'transparent') {
1102
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1103
+ }
1104
+
1105
+ // Try to match string input using regular expressions.
1106
+ // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
1107
+ // Just return an object and let the conversion functions handle that.
1108
+ // This way the result will be the same whether the tinycolor is initialized with string or object.
1109
+ var match;
1110
+ if ((match = matchers.rgb.exec(color))) {
1111
+ return { r: match[1], g: match[2], b: match[3] };
1112
+ }
1113
+ if ((match = matchers.rgba.exec(color))) {
1114
+ return { r: match[1], g: match[2], b: match[3], a: match[4] };
1115
+ }
1116
+ if ((match = matchers.hsl.exec(color))) {
1117
+ return { h: match[1], s: match[2], l: match[3] };
1118
+ }
1119
+ if ((match = matchers.hsla.exec(color))) {
1120
+ return { h: match[1], s: match[2], l: match[3], a: match[4] };
1121
+ }
1122
+ if ((match = matchers.hsv.exec(color))) {
1123
+ return { h: match[1], s: match[2], v: match[3] };
1124
+ }
1125
+ if ((match = matchers.hsva.exec(color))) {
1126
+ return { h: match[1], s: match[2], v: match[3], a: match[4] };
1127
+ }
1128
+ if ((match = matchers.hex8.exec(color))) {
1129
+ return {
1130
+ r: parseIntFromHex(match[1]),
1131
+ g: parseIntFromHex(match[2]),
1132
+ b: parseIntFromHex(match[3]),
1133
+ a: convertHexToDecimal(match[4]),
1134
+ format: named ? "name" : "hex8"
1135
+ };
1136
+ }
1137
+ if ((match = matchers.hex6.exec(color))) {
1138
+ return {
1139
+ r: parseIntFromHex(match[1]),
1140
+ g: parseIntFromHex(match[2]),
1141
+ b: parseIntFromHex(match[3]),
1142
+ format: named ? "name" : "hex"
1143
+ };
1144
+ }
1145
+ if ((match = matchers.hex4.exec(color))) {
1146
+ return {
1147
+ r: parseIntFromHex(match[1] + '' + match[1]),
1148
+ g: parseIntFromHex(match[2] + '' + match[2]),
1149
+ b: parseIntFromHex(match[3] + '' + match[3]),
1150
+ a: convertHexToDecimal(match[4] + '' + match[4]),
1151
+ format: named ? "name" : "hex8"
1152
+ };
1153
+ }
1154
+ if ((match = matchers.hex3.exec(color))) {
1155
+ return {
1156
+ r: parseIntFromHex(match[1] + '' + match[1]),
1157
+ g: parseIntFromHex(match[2] + '' + match[2]),
1158
+ b: parseIntFromHex(match[3] + '' + match[3]),
1159
+ format: named ? "name" : "hex"
1160
+ };
1161
+ }
1162
+
1163
+ return false;
1164
+ }
1165
+
1166
+ function validateWCAG2Parms(parms) {
1167
+ // return valid WCAG2 parms for isReadable.
1168
+ // If input parms are invalid, return {"level":"AA", "size":"small"}
1169
+ var level, size;
1170
+ parms = parms || {"level":"AA", "size":"small"};
1171
+ level = (parms.level || "AA").toUpperCase();
1172
+ size = (parms.size || "small").toLowerCase();
1173
+ if (level !== "AA" && level !== "AAA") {
1174
+ level = "AA";
1175
+ }
1176
+ if (size !== "small" && size !== "large") {
1177
+ size = "small";
1178
+ }
1179
+ return {"level":level, "size":size};
1180
+ }
1181
+
1182
+ // Node: Export function
1183
+ if (typeof module !== "undefined" && module.exports) {
1184
+ module.exports = tinycolor;
1185
+ }
1186
+ // AMD/requirejs: Define the module
1187
+ else if (typeof define === 'function' && define.amd) {
1188
+ define(function () {return tinycolor;});
1189
+ }
1190
+ // Browser: Expose to window
1191
+ else {
1192
+ window.tinycolor = tinycolor;
1193
+ }
1194
+
1195
+ })(Math);
app/extensions/fields/asset/vanilla-picker-master/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ # ISC License (ISC)
2
+
3
+ Copyright 2017-2018 Andreas Borgen, Adam Brooks
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
app/extensions/fields/asset/vanilla-picker-master/README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # vanilla-picker
2
+
3
+ [![License](https://img.shields.io/npm/l/vanilla-picker.svg)](https://github.com/Sphinxxxx/vanilla-picker/blob/master/LICENSE.md)
4
+ [![Version](https://img.shields.io/npm/v/vanilla-picker.svg)](https://npmjs.com/vanilla-picker)
5
+ [![Size](https://badgen.net/badgesize/gzip/sphinxxxx/vanilla-picker/master/dist/vanilla-picker.min.js?label=min%2Bgzip)](https://unpkg.com/vanilla-picker)
6
+ [![Downloads](https://img.shields.io/npm/dm/vanilla-picker.svg)](https://npmjs.com/vanilla-picker)
7
+
8
+ A simple, easy to use vanilla JS (no dependencies) color picker with alpha selection.
9
+
10
+ #### Demo
11
+
12
+ https://codepen.io/Sphinxxxx/pen/zRmKBX
13
+
14
+
15
+ ## Getting Started
16
+
17
+ #### Installing
18
+
19
+ * For the pros:
20
+
21
+ + ```npm install vanilla-picker --save```
22
+ + ```import Picker from 'vanilla-picker';```
23
+
24
+ * For the rest of us:
25
+
26
+ ```
27
+ <script src="https://unpkg.com/vanilla-picker@2"></script>
28
+ ```
29
+
30
+ #### Usage
31
+
32
+ ```html
33
+ <div id="parent">Click me</div>
34
+
35
+ <script>
36
+
37
+ /*
38
+ Create a new Picker instance and set the parent element.
39
+ By default, the color picker is a popup which appears when you click the parent.
40
+ */
41
+ var parent = document.querySelector('#parent');
42
+ var picker = new Picker(parent);
43
+
44
+ /*
45
+ You can do what you want with the chosen color using two callbacks: onChange and onDone.
46
+ */
47
+ picker.onChange = function(color) {
48
+ parent.style.background = color.rgbaString;
49
+ };
50
+
51
+ /* onDone is similar to onChange, but only called when you click 'Ok' */
52
+
53
+ </script>
54
+ ```
55
+
56
+
57
+ ## API and advanced options
58
+
59
+ https://vanilla-picker.js.org/gen/Picker.html
60
+
61
+
62
+ ## Accessibility
63
+
64
+ The color picker is built to support basic keyboard navigation and use with screen readers.
65
+ I would be very interested in feedback on improvements that could be done here!
66
+
67
+
68
+ ## Credits
69
+
70
+ * Based on https://github.com/dissimulate/Picker by **Adam Brooks**
71
+ * Built with https://github.com/Joudee/color-conversion by **Joudee**
72
+ * Built with https://gist.github.com/mjackson/5311256 by **Michael Jackson**
73
+
74
+
75
+ ## License
76
+
77
+ The ISC license - see the [LICENSE.md](LICENSE.md) file for details.
app/extensions/fields/asset/vanilla-picker-master/dist/vanilla-picker.js ADDED
@@ -0,0 +1,1099 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * vanilla-picker v2.6.0
3
+ * https://vanilla-picker.js.org
4
+ *
5
+ * Copyright 2017-2018 Andreas Borgen (https://github.com/Sphinxxxx), Adam Brooks (https://github.com/dissimulate)
6
+ * Released under the ISC license.
7
+ */
8
+ (function (global, factory) {
9
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
10
+ typeof define === 'function' && define.amd ? define(factory) :
11
+ (global.Picker = factory());
12
+ }(this, (function () { 'use strict';
13
+
14
+ var classCallCheck = function (instance, Constructor) {
15
+ if (!(instance instanceof Constructor)) {
16
+ throw new TypeError("Cannot call a class as a function");
17
+ }
18
+ };
19
+
20
+ var createClass = function () {
21
+ function defineProperties(target, props) {
22
+ for (var i = 0; i < props.length; i++) {
23
+ var descriptor = props[i];
24
+ descriptor.enumerable = descriptor.enumerable || false;
25
+ descriptor.configurable = true;
26
+ if ("value" in descriptor) descriptor.writable = true;
27
+ Object.defineProperty(target, descriptor.key, descriptor);
28
+ }
29
+ }
30
+
31
+ return function (Constructor, protoProps, staticProps) {
32
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
33
+ if (staticProps) defineProperties(Constructor, staticProps);
34
+ return Constructor;
35
+ };
36
+ }();
37
+
38
+ var slicedToArray = function () {
39
+ function sliceIterator(arr, i) {
40
+ var _arr = [];
41
+ var _n = true;
42
+ var _d = false;
43
+ var _e = undefined;
44
+
45
+ try {
46
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
47
+ _arr.push(_s.value);
48
+
49
+ if (i && _arr.length === i) break;
50
+ }
51
+ } catch (err) {
52
+ _d = true;
53
+ _e = err;
54
+ } finally {
55
+ try {
56
+ if (!_n && _i["return"]) _i["return"]();
57
+ } finally {
58
+ if (_d) throw _e;
59
+ }
60
+ }
61
+
62
+ return _arr;
63
+ }
64
+
65
+ return function (arr, i) {
66
+ if (Array.isArray(arr)) {
67
+ return arr;
68
+ } else if (Symbol.iterator in Object(arr)) {
69
+ return sliceIterator(arr, i);
70
+ } else {
71
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
72
+ }
73
+ };
74
+ }();
75
+
76
+ String.prototype.startsWith = String.prototype.startsWith || function (needle) {
77
+ return this.indexOf(needle) === 0;
78
+ };
79
+ String.prototype.padStart = String.prototype.padStart || function (len, pad) {
80
+ var str = this;while (str.length < len) {
81
+ str = pad + str;
82
+ }return str;
83
+ };
84
+
85
+ var colorNames = '735AACA770//Xub218Pj/mo5+uvX6mdAP//gtpf//Ur258P//q1d9fXcxop/+TEq9zAAAAqfg/+vN6m1AAD/ngoiiviqt6pSoqzyo3riHxvdX56grk1f/8Aax10mkeqts/39QxbtZJXttkb//jcyxm3BQ86rmAP//wl5AACLwqqAIuL3y8uIYLwv1qampniqAGQAns5vbdrmohiwCLw5uVWsvsdd/4wAsegmTLMqagiwAAsqi6ZZ6uz6j7yPxtzSD2Lxk3L09PudbAM7RwsolADT0kz/xSTfuhAL//vfhaWlpyuxHpD/43rsiIiwn9//rw39uIosi9bp/wD/6w73Nzc9s5+Pj/6v8/9cA3b42qUg6vxgICArmaAIAAtdfrf8vf9n8P/wek3/2m0xnczVxc3bvSwCCsdt///wrvp8OaMs5i5ub6iyk//D1e8ifPwAoui//rNpyxrdjmw9c8ICAq4i4P//mx9+vrSq8t09PTx1ukO6Qqlv/7bBuuy/6B690uILKqpfdh876sd9d4iZnehsMTe0dv///g71lAP8A4nmMs0ys9u+vDmg9d/wD/4pmgAAAcurZs2qzllAADN4lkulXT6txk3Db66qPLNxozre2juokuAPqalj3SNHMgdkxxWF60pGRlwxfl9f/6hr5/+Thx6q/+S1m85/96tutd/fXmszxgIAAe4ma44j8rl/6UAmu0/0UA8so2nDWji87uiqumqmPuY9xbr+7u4rs23CTsb8/+/V95a/9q577xzYU/78z/8DL7b53aDdsu1sODmb11gACAy5nZjOZ1so/wAAlvevI+Pn09QWnhm7ui0UT94q+oBy7ei9KRg5aqLotXad5oFItasmwMDAaihh87r9fdalrN9p9cICQ7gz//r6k5uAP9/4qhRoK01te0rSM7cwAICA91x2L/Yclr/2NHcw1QODQd6w7oLuua09d6zudh////t359fX1enn//8Ao0ims0y';
86
+ var colorNamesDeser = void 0;
87
+
88
+ var Color = function () {
89
+ function Color(r, g, b, a) {
90
+ classCallCheck(this, Color);
91
+
92
+
93
+ var that = this;
94
+ function parseString(input) {
95
+
96
+ if (input.startsWith('hsl')) {
97
+ var _input$match$map = input.match(/([\-\d\.e]+)/g).map(Number),
98
+ _input$match$map2 = slicedToArray(_input$match$map, 4),
99
+ h = _input$match$map2[0],
100
+ s = _input$match$map2[1],
101
+ l = _input$match$map2[2],
102
+ _a = _input$match$map2[3];
103
+
104
+ if (_a === undefined) {
105
+ _a = 1;
106
+ }
107
+
108
+ h /= 360;
109
+ s /= 100;
110
+ l /= 100;
111
+ that.hsla = [h, s, l, _a];
112
+ }
113
+
114
+ else if (input.startsWith('rgb')) {
115
+ var _input$match$map3 = input.match(/([\-\d\.e]+)/g).map(Number),
116
+ _input$match$map4 = slicedToArray(_input$match$map3, 4),
117
+ _r = _input$match$map4[0],
118
+ _g = _input$match$map4[1],
119
+ _b = _input$match$map4[2],
120
+ _a2 = _input$match$map4[3];
121
+
122
+ if (_a2 === undefined) {
123
+ _a2 = 1;
124
+ }
125
+
126
+ that.rgba = [_r, _g, _b, _a2];
127
+ }
128
+
129
+ else {
130
+ if (input.startsWith('#')) {
131
+ that.rgba = Color.hexToRgb(input);
132
+ } else {
133
+ that.rgba = Color.nameToRgb(input) || Color.hexToRgb(input);
134
+ }
135
+ }
136
+ }
137
+
138
+ if (r === undefined) ;
139
+
140
+
141
+ else if (Array.isArray(r)) {
142
+ this.rgba = r;
143
+ }
144
+
145
+ else if (b === undefined) {
146
+ var color = r && ('' + r).trim();
147
+ if (color) {
148
+ parseString(color.toLowerCase());
149
+ }
150
+ } else {
151
+ this.rgba = [r, g, b, a === undefined ? 1 : a];
152
+ }
153
+ }
154
+
155
+
156
+ createClass(Color, [{
157
+ key: 'rgba',
158
+ get: function get$$1() {
159
+ if (this._rgba) {
160
+ return this._rgba;
161
+ }
162
+ if (!this._hsla) {
163
+ throw new Error('No color is set');
164
+ }
165
+ return this._rgba = Color.hslToRgb(this._hsla);
166
+ },
167
+ set: function set$$1(rgb) {
168
+ if (rgb.length === 3) {
169
+ rgb[3] = 1;
170
+ }
171
+
172
+ this._rgba = rgb;
173
+ this._hsla = null;
174
+ }
175
+
176
+
177
+ }, {
178
+ key: 'rgbString',
179
+ get: function get$$1() {
180
+ return 'rgb(' + this.rgba.slice(0, 3) + ')';
181
+ }
182
+ }, {
183
+ key: 'rgbaString',
184
+ get: function get$$1() {
185
+ return 'rgba(' + this.rgba + ')';
186
+ }
187
+ }, {
188
+ key: 'hsla',
189
+ get: function get$$1() {
190
+ if (this._hsla) {
191
+ return this._hsla;
192
+ }
193
+ if (!this._rgba) {
194
+ throw new Error('No color is set');
195
+ }
196
+
197
+ return this._hsla = Color.rgbToHsl(this._rgba);
198
+ },
199
+ set: function set$$1(hsl) {
200
+ if (hsl.length === 3) {
201
+ hsl[3] = 1;
202
+ }
203
+
204
+ this._hsla = hsl;
205
+ this._rgba = null;
206
+ }
207
+
208
+
209
+ }, {
210
+ key: 'hslString',
211
+ get: function get$$1() {
212
+ var c = this.hsla;
213
+ return 'hsl(' + c[0] * 360 + ',' + c[1] * 100 + '%,' + c[2] * 100 + '%)';
214
+ }
215
+ }, {
216
+ key: 'hslaString',
217
+ get: function get$$1() {
218
+ var c = this.hsla;
219
+ return 'hsla(' + c[0] * 360 + ',' + c[1] * 100 + '%,' + c[2] * 100 + '%,' + c[3] + ')';
220
+ }
221
+ }, {
222
+ key: 'hex',
223
+ get: function get$$1() {
224
+ var rgb = this.rgba,
225
+ hex = rgb.map(function (x, i) {
226
+ return i < 3 ? x.toString(16) : Math.round(x * 255).toString(16);
227
+ });
228
+
229
+ return '#' + hex.map(function (x) {
230
+ return x.padStart(2, '0');
231
+ }).join('');
232
+ },
233
+ set: function set$$1(hex) {
234
+ this.rgba = Color.hexToRgb(hex);
235
+ }
236
+
237
+
238
+
239
+ }], [{
240
+ key: 'hexToRgb',
241
+ value: function hexToRgb(input) {
242
+ var hex = (input.startsWith('#') ? input.slice(1) : input).replace(/^(\w{3})$/, '$1F')
243
+ .replace(/^(\w)(\w)(\w)(\w)$/, '$1$1$2$2$3$3$4$4')
244
+ .replace(/^(\w{6})$/, '$1FF');
245
+
246
+ if (!hex.match(/^([0-9a-fA-F]{8})$/)) {
247
+ throw new Error('Unknown hex color; ' + input);
248
+ }
249
+
250
+ var rgba = hex.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1)
251
+ .map(function (x) {
252
+ return parseInt(x, 16);
253
+ });
254
+
255
+ rgba[3] = rgba[3] / 255;
256
+ return rgba;
257
+ }
258
+
259
+
260
+ }, {
261
+ key: 'nameToRgb',
262
+ value: function nameToRgb(input) {
263
+
264
+ if (!colorNamesDeser) {
265
+ colorNamesDeser = {};
266
+ colorNames.match(/.{7}/g).forEach(function (x) {
267
+ return colorNamesDeser[x.slice(0, 3)] = atob(x.slice(-4)).split('').map(function (b) {
268
+ return b.charCodeAt(0);
269
+ });
270
+ });
271
+ }
272
+ var hash = [].reduce.call(input.replace('ey', 'ay'), function (h, c) {
273
+ return (h << 2) + c.charCodeAt(0);
274
+ }, 0).toString(36).slice(-3);
275
+
276
+ return colorNamesDeser[hash];
277
+ }
278
+
279
+
280
+ }, {
281
+ key: 'rgbToHsl',
282
+ value: function rgbToHsl(_ref) {
283
+ var _ref2 = slicedToArray(_ref, 4),
284
+ r = _ref2[0],
285
+ g = _ref2[1],
286
+ b = _ref2[2],
287
+ a = _ref2[3];
288
+
289
+ r /= 255;
290
+ g /= 255;
291
+ b /= 255;
292
+
293
+ var max = Math.max(r, g, b),
294
+ min = Math.min(r, g, b);
295
+ var h = void 0,
296
+ s = void 0,
297
+ l = (max + min) / 2;
298
+
299
+ if (max === min) {
300
+ h = s = 0;
301
+ } else {
302
+ var d = max - min;
303
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
304
+ switch (max) {
305
+ case r:
306
+ h = (g - b) / d + (g < b ? 6 : 0);break;
307
+ case g:
308
+ h = (b - r) / d + 2;break;
309
+ case b:
310
+ h = (r - g) / d + 4;break;
311
+ }
312
+
313
+ h /= 6;
314
+ }
315
+
316
+ return [h, s, l, a];
317
+ }
318
+
319
+
320
+ }, {
321
+ key: 'hslToRgb',
322
+ value: function hslToRgb(_ref3) {
323
+ var _ref4 = slicedToArray(_ref3, 4),
324
+ h = _ref4[0],
325
+ s = _ref4[1],
326
+ l = _ref4[2],
327
+ a = _ref4[3];
328
+
329
+ var r = void 0,
330
+ g = void 0,
331
+ b = void 0;
332
+
333
+ if (s === 0) {
334
+ r = g = b = l;
335
+ } else {
336
+ var hue2rgb = function hue2rgb(p, q, t) {
337
+ if (t < 0) t += 1;
338
+ if (t > 1) t -= 1;
339
+ if (t < 1 / 6) return p + (q - p) * 6 * t;
340
+ if (t < 1 / 2) return q;
341
+ if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
342
+ return p;
343
+ };
344
+
345
+ var q = l < 0.5 ? l * (1 + s) : l + s - l * s,
346
+ p = 2 * l - q;
347
+
348
+ r = hue2rgb(p, q, h + 1 / 3);
349
+ g = hue2rgb(p, q, h);
350
+ b = hue2rgb(p, q, h - 1 / 3);
351
+ }
352
+
353
+ var rgba = [r * 255, g * 255, b * 255].map(Math.round);
354
+
355
+ rgba[3] = parseFloat(a).toFixed(2);
356
+ if( rgba[3]=='1.00' ) rgba[3] = '1';
357
+ return rgba;
358
+ }
359
+ }]);
360
+ return Color;
361
+ }();
362
+
363
+ var root = window;
364
+
365
+ function dragTracker(options) {
366
+
367
+
368
+ var ep = Element.prototype;
369
+ if (!ep.matches) ep.matches = ep.msMatchesSelector || ep.webkitMatchesSelector;
370
+ if (!ep.closest) ep.closest = function (s) {
371
+ var node = this;
372
+ do {
373
+ if (node.matches(s)) return node;
374
+ node = node.tagName === 'svg' ? node.parentNode : node.parentElement;
375
+ } while (node);
376
+
377
+ return null;
378
+ };
379
+
380
+ options = options || {};
381
+ var container = options.container || document.documentElement,
382
+ selector = options.selector,
383
+ callback = options.callback || console.log,
384
+ callbackStart = options.callbackDragStart,
385
+ callbackEnd = options.callbackDragEnd,
386
+
387
+ callbackClick = options.callbackClick,
388
+ propagate = options.propagateEvents,
389
+ roundCoords = options.roundCoords !== false,
390
+ dragOutside = options.dragOutside !== false,
391
+
392
+ handleOffset = options.handleOffset || options.handleOffset !== false;
393
+ var offsetToCenter = null;
394
+ switch (handleOffset) {
395
+ case 'center':
396
+ offsetToCenter = true;break;
397
+ case 'topleft':
398
+ case 'top-left':
399
+ offsetToCenter = false;break;
400
+ }
401
+
402
+ var dragState = void 0;
403
+
404
+ function getMousePos(e, elm, offset, stayWithin) {
405
+ var x = e.clientX,
406
+ y = e.clientY;
407
+
408
+ function respectBounds(value, min, max) {
409
+ return Math.max(min, Math.min(value, max));
410
+ }
411
+
412
+ if (elm) {
413
+ var bounds = elm.getBoundingClientRect();
414
+ x -= bounds.left;
415
+ y -= bounds.top;
416
+
417
+ if (offset) {
418
+ x -= offset[0];
419
+ y -= offset[1];
420
+ }
421
+ if (stayWithin) {
422
+ x = respectBounds(x, 0, bounds.width);
423
+ y = respectBounds(y, 0, bounds.height);
424
+ }
425
+
426
+ if (elm !== container) {
427
+ var center = offsetToCenter !== null ? offsetToCenter
428
+ : elm.nodeName === 'circle' || elm.nodeName === 'ellipse';
429
+
430
+ if (center) {
431
+ x -= bounds.width / 2;
432
+ y -= bounds.height / 2;
433
+ }
434
+ }
435
+ }
436
+ return roundCoords ? [Math.round(x), Math.round(y)] : [x, y];
437
+ }
438
+
439
+ function stopEvent(e) {
440
+ e.preventDefault();
441
+ if (!propagate) {
442
+ e.stopPropagation();
443
+ }
444
+ }
445
+
446
+ function onDown(e) {
447
+ var target = void 0;
448
+ if (selector) {
449
+ target = selector instanceof Element ? selector.contains(e.target) ? selector : null : e.target.closest(selector);
450
+ } else {
451
+ target = {};
452
+ }
453
+
454
+ if (target) {
455
+ stopEvent(e);
456
+
457
+ var mouseOffset = selector && handleOffset ? getMousePos(e, target) : [0, 0],
458
+ startPos = getMousePos(e, container, mouseOffset);
459
+ dragState = {
460
+ target: target,
461
+ mouseOffset: mouseOffset,
462
+ startPos: startPos,
463
+ actuallyDragged: false
464
+ };
465
+
466
+ if (callbackStart) {
467
+ callbackStart(target, startPos);
468
+ }
469
+ }
470
+ }
471
+
472
+ function onMove(e) {
473
+ if (!dragState) {
474
+ return;
475
+ }
476
+ stopEvent(e);
477
+
478
+ var start = dragState.startPos,
479
+ pos = getMousePos(e, container, dragState.mouseOffset, !dragOutside);
480
+
481
+ dragState.actuallyDragged = dragState.actuallyDragged || start[0] !== pos[0] || start[1] !== pos[1];
482
+
483
+ callback(dragState.target, pos, start);
484
+ }
485
+
486
+ function onEnd(e, cancelled) {
487
+ if (!dragState) {
488
+ return;
489
+ }
490
+
491
+ if (callbackEnd || callbackClick) {
492
+ var isClick = !dragState.actuallyDragged,
493
+ pos = isClick ? dragState.startPos : getMousePos(e, container, dragState.mouseOffset, !dragOutside);
494
+
495
+ if (callbackClick && isClick && !cancelled) {
496
+ callbackClick(dragState.target, pos);
497
+ }
498
+ if (callbackEnd) {
499
+ callbackEnd(dragState.target, pos, dragState.startPos, cancelled || isClick && callbackClick);
500
+ }
501
+ }
502
+ dragState = null;
503
+ }
504
+
505
+
506
+ addEvent(container, 'mousedown', function (e) {
507
+ if (isLeftButton(e)) {
508
+ onDown(e);
509
+ } else {
510
+ onEnd(e, true);
511
+ }
512
+ });
513
+ addEvent(container, 'touchstart', function (e) {
514
+ return relayTouch(e, onDown);
515
+ });
516
+
517
+ addEvent(root, 'mousemove', function (e) {
518
+ if (!dragState) {
519
+ return;
520
+ }
521
+
522
+ if (isLeftButton(e)) {
523
+ onMove(e);
524
+ }
525
+ else {
526
+ onEnd(e);
527
+ }
528
+ });
529
+ addEvent(root, 'touchmove', function (e) {
530
+ return relayTouch(e, onMove);
531
+ });
532
+
533
+ addEvent(container, 'mouseup', function (e) {
534
+ if (dragState && !isLeftButton(e)) {
535
+ onEnd(e);
536
+ }
537
+ });
538
+ function onTouchEnd(e, cancelled) {
539
+ onEnd(tweakTouch(e), cancelled);
540
+ }
541
+ addEvent(container, 'touchend', function (e) {
542
+ return onTouchEnd(e);
543
+ });
544
+ addEvent(container, 'touchcancel', function (e) {
545
+ return onTouchEnd(e, true);
546
+ });
547
+
548
+ function addEvent(target, type, handler) {
549
+ target.addEventListener(type, handler);
550
+ }
551
+ function isLeftButton(e) {
552
+ return e.buttons !== undefined ? e.buttons === 1 :
553
+ e.which === 1;
554
+ }
555
+ function relayTouch(e, handler) {
556
+ if (e.touches.length !== 1) {
557
+ onEnd(e, true);return;
558
+ }
559
+
560
+ handler(tweakTouch(e));
561
+ }
562
+ function tweakTouch(e) {
563
+ var touch = e.targetTouches[0];
564
+ if (!touch) {
565
+ touch = e.changedTouches[0];
566
+ }
567
+
568
+ touch.preventDefault = e.preventDefault.bind(e);
569
+ touch.stopPropagation = e.stopPropagation.bind(e);
570
+ return touch;
571
+ }
572
+ }
573
+
574
+
575
+ var BG_TRANSP = 'url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'2\' height=\'2\'%3E%3Cpath d=\'M1,0H0V1H2V2H1\' fill=\'lightgrey\'/%3E%3C/svg%3E")';
576
+ var HUES = 360;
577
+ var EVENT_KEY = 'keydown',
578
+ EVENT_CLICK_OUTSIDE = 'mousedown',
579
+ EVENT_TAB_MOVE = 'focusin';
580
+
581
+ function parseHTML(htmlString) {
582
+ var div = document.createElement('div');
583
+ div.innerHTML = htmlString;
584
+ return div.firstElementChild;
585
+ }
586
+
587
+ function $(selector, context) {
588
+ return (context || document).querySelector(selector);
589
+ }
590
+
591
+ function addEvent(target, type, handler) {
592
+ target.addEventListener(type, handler, false);
593
+ }
594
+ function stopEvent(e) {
595
+ e.preventDefault();
596
+ e.stopPropagation();
597
+ }
598
+ function onKey(target, keys, handler, stop) {
599
+ addEvent(target, EVENT_KEY, function (e) {
600
+ if (keys.indexOf(e.key) >= 0) {
601
+ if (stop) {
602
+ stopEvent(e);
603
+ }
604
+ handler(e);
605
+ }
606
+ });
607
+ }
608
+
609
+
610
+
611
+ var Picker = function () {
612
+
613
+
614
+ function Picker(options) {
615
+ var _this = this;
616
+
617
+ classCallCheck(this, Picker);
618
+
619
+
620
+ this.settings = {
621
+ popup: 'right',
622
+ layout: 'default',
623
+ alpha: true,
624
+ editor: true,
625
+ buttonClass: 'button',
626
+ };
627
+
628
+ this._openProxy = function (e) {
629
+ return _this.openHandler(e);
630
+ };
631
+
632
+ this.onChange = null;
633
+ this.onDone = null;
634
+ this.onOpen = null;
635
+ this.onClose = null;
636
+
637
+ this.setOptions(options);
638
+ }
639
+
640
+
641
+
642
+ createClass(Picker, [{
643
+ key: 'setOptions',
644
+ value: function setOptions(options) {
645
+ if (!options) {
646
+ return;
647
+ }
648
+ var settings = this.settings;
649
+
650
+ function transfer(source, target, skipKeys) {
651
+ for (var key in source) {
652
+ if (skipKeys && skipKeys.indexOf(key) >= 0) {
653
+ continue;
654
+ }
655
+
656
+ target[key] = source[key];
657
+ }
658
+ }
659
+
660
+ if (options instanceof HTMLElement) {
661
+ settings.parent = options;
662
+ } else {
663
+
664
+
665
+ if (settings.parent && options.parent && settings.parent !== options.parent) {
666
+ settings.parent.removeEventListener('click', this._openProxy, false);
667
+ this._popupInited = false;
668
+ }
669
+
670
+ transfer(options, settings );
671
+
672
+ if (options.onChange) {
673
+ this.onChange = options.onChange;
674
+ }
675
+ if (options.onDone) {
676
+ this.onDone = options.onDone;
677
+ }
678
+ if (options.onOpen) {
679
+ this.onOpen = options.onOpen;
680
+ }
681
+ if (options.onClose) {
682
+ this.onClose = options.onClose;
683
+ }
684
+
685
+ var col = options.color || options.colour;
686
+ if (col) {
687
+ this._setColor(col);
688
+ }
689
+ }
690
+
691
+ var parent = settings.parent;
692
+ if (parent && settings.popup && !this._popupInited) {
693
+
694
+ addEvent(parent, 'click', this._openProxy);
695
+
696
+ onKey(parent, [' ', 'Spacebar', 'Enter'], this._openProxy );
697
+
698
+
699
+ this._popupInited = true;
700
+ } else if (options.parent && !settings.popup) {
701
+ this.show();
702
+ }
703
+ }
704
+
705
+
706
+ }, {
707
+ key: 'openHandler',
708
+ value: function openHandler(e) {
709
+ if (this.show()) {
710
+ e && e.preventDefault();
711
+
712
+ this.settings.parent.style.pointerEvents = 'none';
713
+
714
+ var toFocus = e && e.type === EVENT_KEY ? this._domEdit : this.domElement;
715
+ setTimeout(function () {
716
+ return toFocus.focus();
717
+ }, 100);
718
+
719
+ if (this.onOpen) {
720
+ this.onOpen(this.colour);
721
+ }
722
+ }
723
+ }
724
+
725
+
726
+ }, {
727
+ key: 'closeHandler',
728
+ value: function closeHandler(e) {
729
+ var event = e && e.type;
730
+ var doHide = false;
731
+
732
+ if (!e) {
733
+ doHide = true;
734
+ }
735
+ else if (event === EVENT_CLICK_OUTSIDE || event === EVENT_TAB_MOVE) {
736
+
737
+ if (!this.domElement.contains(e.target)) {
738
+ doHide = true;
739
+ }
740
+ }
741
+ else {
742
+ stopEvent(e);
743
+
744
+ doHide = true;
745
+ }
746
+
747
+ if (doHide && this.hide()) {
748
+ this.settings.parent.style.pointerEvents = '';
749
+
750
+ if (event !== EVENT_CLICK_OUTSIDE) {
751
+ this.settings.parent.focus();
752
+ }
753
+
754
+ if (this.onClose) {
755
+ this.onClose(this.colour);
756
+ }
757
+ }
758
+ }
759
+
760
+
761
+ }, {
762
+ key: 'movePopup',
763
+ value: function movePopup(options, open) {
764
+ this.closeHandler();
765
+
766
+ this.setOptions(options);
767
+ if (open) {
768
+ this.openHandler();
769
+ }
770
+ }
771
+
772
+
773
+ }, {
774
+ key: 'setColor',
775
+ value: function setColor(color, silent) {
776
+ this._setColor(color, { silent: silent });
777
+ }
778
+ }, {
779
+ key: '_setColor',
780
+ value: function _setColor(color, flags) {
781
+ if (typeof color === 'string') {
782
+ color = color.trim();
783
+ }
784
+ if (!color) {
785
+ return;
786
+ }
787
+
788
+ flags = flags || {};
789
+ var c = void 0;
790
+ try {
791
+ c = new Color(color);
792
+ } catch (ex) {
793
+ if (flags.failSilently) {
794
+ return;
795
+ }
796
+ throw ex;
797
+ }
798
+
799
+ if (!this.settings.alpha) {
800
+ var hsla = c.hsla;
801
+ hsla[3] = 1;
802
+ c.hsla = hsla;
803
+ }
804
+ this.colour = this.color = c;
805
+ this._setHSLA(null, null, null, null, flags);
806
+ }
807
+
808
+ }, {
809
+ key: 'setColour',
810
+ value: function setColour(colour, silent) {
811
+ this.setColor(colour, silent);
812
+ }
813
+
814
+
815
+ }, {
816
+ key: 'show',
817
+ value: function show() {
818
+ var parent = this.settings.parent;
819
+ if (!parent) {
820
+ return false;
821
+ }
822
+
823
+ if (this.domElement) {
824
+ var toggled = this._toggleDOM(true);
825
+
826
+ this._setPosition();
827
+
828
+ return toggled;
829
+ }
830
+
831
+ var html = this.settings.template || '<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button class="'+this.settings.buttonClass+'">Ok</button></div></div>';
832
+ var wrapper = parseHTML(html);
833
+
834
+ this.domElement = wrapper;
835
+ this._domH = $('.picker_hue', wrapper);
836
+ this._domSL = $('.picker_sl', wrapper);
837
+ this._domA = $('.picker_alpha', wrapper);
838
+ this._domEdit = $('.picker_editor input', wrapper);
839
+ this._domSample = $('.picker_sample', wrapper);
840
+ this._domOkay = $('.picker_done button', wrapper);
841
+
842
+ wrapper.classList.add('layout_' + this.settings.layout);
843
+ if (!this.settings.alpha) {
844
+ wrapper.classList.add('no_alpha');
845
+ }
846
+ if (!this.settings.editor) {
847
+ wrapper.classList.add('no_editor');
848
+ }
849
+ this._ifPopup(function () {
850
+ return wrapper.classList.add('popup');
851
+ });
852
+
853
+ this._setPosition();
854
+
855
+ if (this.colour) {
856
+ this._updateUI();
857
+ } else {
858
+ this._setColor('#0cf');
859
+ }
860
+ this._bindEvents();
861
+
862
+ return true;
863
+ }
864
+
865
+
866
+ }, {
867
+ key: 'hide',
868
+ value: function hide() {
869
+ return this._toggleDOM(false);
870
+ }
871
+
872
+
873
+ }, {
874
+ key: '_bindEvents',
875
+ value: function _bindEvents() {
876
+ var _this2 = this;
877
+
878
+ var that = this,
879
+ dom = this.domElement;
880
+
881
+ addEvent(dom, 'click', function (e) {
882
+ return e.preventDefault();
883
+ });
884
+
885
+
886
+ function createDragConfig(container, callbackRelative) {
887
+
888
+ function relayDrag(_, pos) {
889
+ var relX = pos[0] / container.clientWidth,
890
+ relY = pos[1] / container.clientHeight;
891
+ callbackRelative(relX, relY);
892
+ }
893
+
894
+ var config = {
895
+ container: container,
896
+ dragOutside: false,
897
+ callback: relayDrag,
898
+ callbackClick: relayDrag,
899
+ callbackDragStart: relayDrag,
900
+ propagateEvents: true
901
+ };
902
+ return config;
903
+ }
904
+
905
+ dragTracker(createDragConfig(this._domH, function (x, y) {
906
+ return that._setHSLA(x);
907
+ }));
908
+
909
+ dragTracker(createDragConfig(this._domSL, function (x, y) {
910
+ return that._setHSLA(null, x, 1 - y);
911
+ }));
912
+
913
+ if (this.settings.alpha) {
914
+ dragTracker(createDragConfig(this._domA, function (x, y) {
915
+ return that._setHSLA(null, null, null, 1 - y);
916
+ }));
917
+ }
918
+
919
+
920
+ var editInput = this._domEdit;
921
+ {
922
+ addEvent(editInput, 'input', function (e) {
923
+ that._setColor(this.value, { fromEditor: true, failSilently: true });
924
+ });
925
+ addEvent(editInput, 'focus', function (e) {
926
+ var input = this;
927
+ if (input.selectionStart === input.selectionEnd) {
928
+ input.select();
929
+ }
930
+ });
931
+ }
932
+
933
+
934
+ var popupCloseProxy = function popupCloseProxy(e) {
935
+ _this2._ifPopup(function () {
936
+ return _this2.closeHandler(e);
937
+ });
938
+ };
939
+ var onDoneProxy = function onDoneProxy(e) {
940
+ _this2._ifPopup(function () {
941
+ return _this2.closeHandler(e);
942
+ });
943
+ if (_this2.onDone) {
944
+ _this2.onDone(_this2.colour);
945
+ }
946
+ };
947
+
948
+ addEvent(window, EVENT_CLICK_OUTSIDE, popupCloseProxy);
949
+ addEvent(window, EVENT_TAB_MOVE, popupCloseProxy);
950
+ onKey(dom, ['Esc', 'Escape'], popupCloseProxy);
951
+
952
+ addEvent(this._domOkay, 'click', onDoneProxy);
953
+ onKey(dom, ['Enter'], onDoneProxy);
954
+ }
955
+
956
+
957
+ }, {
958
+ key: '_setPosition',
959
+ value: function _setPosition() {
960
+ var parent = this.settings.parent,
961
+ elm = this.domElement;
962
+
963
+ if (parent !== elm.parentNode) {
964
+ parent.appendChild(elm);
965
+ }
966
+
967
+ this._ifPopup(function (popup) {
968
+
969
+ if (getComputedStyle(parent).position === 'static') {
970
+ parent.style.position = 'relative';
971
+ }
972
+
973
+ var cssClass = popup === true ? 'popup_right' : 'popup_' + popup;
974
+
975
+ ['popup_top', 'popup_bottom', 'popup_left', 'popup_right'].forEach(function (c) {
976
+ if (c === cssClass) {
977
+ elm.classList.add(c);
978
+ } else {
979
+ elm.classList.remove(c);
980
+ }
981
+ });
982
+
983
+ elm.classList.add(cssClass);
984
+ });
985
+ }
986
+
987
+
988
+ }, {
989
+ key: '_setHSLA',
990
+ value: function _setHSLA(h, s, l, a, flags) {
991
+ flags = flags || {};
992
+
993
+ var col = this.colour,
994
+ hsla = col.hsla;
995
+
996
+ [h, s, l, a].forEach(function (x, i) {
997
+ if (x || x === 0) {
998
+ hsla[i] = x;
999
+ }
1000
+ });
1001
+ col.hsla = hsla;
1002
+ this._updateUI(flags);
1003
+
1004
+ if (this.onChange && !flags.silent) {
1005
+ this.onChange(col);
1006
+ }
1007
+ }
1008
+ }, {
1009
+ key: '_updateUI',
1010
+ value: function _updateUI(flags) {
1011
+ if (!this.domElement) {
1012
+ return;
1013
+ }
1014
+ flags = flags || {};
1015
+
1016
+ var col = this.colour,
1017
+ hsl = col.hsla,
1018
+ cssHue = 'hsl(' + hsl[0] * HUES + ', 100%, 50%)',
1019
+ cssHSL = col.hslString,
1020
+ cssHSLA = col.hslaString;
1021
+
1022
+ var uiH = this._domH,
1023
+ uiSL = this._domSL,
1024
+ uiA = this._domA,
1025
+ thumbH = $('.picker_selector', uiH),
1026
+ thumbSL = $('.picker_selector', uiSL),
1027
+ thumbA = $('.picker_selector', uiA);
1028
+
1029
+ function posX(parent, child, relX) {
1030
+ child.style.left = relX * 100 + '%';
1031
+ }
1032
+ function posY(parent, child, relY) {
1033
+ child.style.top = relY * 100 + '%';
1034
+ }
1035
+
1036
+
1037
+ posX(uiH, thumbH, hsl[0]);
1038
+
1039
+ this._domSL.style.backgroundColor = this._domH.style.color = cssHue;
1040
+
1041
+
1042
+ posX(uiSL, thumbSL, hsl[1]);
1043
+ posY(uiSL, thumbSL, 1 - hsl[2]);
1044
+
1045
+ uiSL.style.color = cssHSL;
1046
+
1047
+
1048
+ posY(uiA, thumbA, 1 - hsl[3]);
1049
+
1050
+ var opaque = cssHSL,
1051
+ transp = opaque.replace('hsl', 'hsla').replace(')', ', 0)'),
1052
+ bg = 'linear-gradient(' + [opaque, transp] + ')';
1053
+
1054
+ this._domA.style.backgroundImage = bg + ', ' + BG_TRANSP;
1055
+
1056
+
1057
+ if (!flags.fromEditor) {
1058
+ var hex = col.hex;
1059
+ /* fix */
1060
+ this._domEdit.value = this.settings.alpha ? hex.substr(0, 7) : hex.substr(0, 7);
1061
+ }
1062
+
1063
+
1064
+ this._domSample.style.color = cssHSLA;
1065
+ }
1066
+ }, {
1067
+ key: '_ifPopup',
1068
+ value: function _ifPopup(actionIf, actionElse) {
1069
+ if (this.settings.parent && this.settings.popup) {
1070
+ actionIf && actionIf(this.settings.popup);
1071
+ } else {
1072
+ actionElse && actionElse();
1073
+ }
1074
+ }
1075
+ }, {
1076
+ key: '_toggleDOM',
1077
+ value: function _toggleDOM(toVisible) {
1078
+ var dom = this.domElement;
1079
+ if (!dom) {
1080
+ return false;
1081
+ }
1082
+
1083
+ var displayStyle = toVisible ? '' : 'none',
1084
+ toggle = dom.style.display !== displayStyle;
1085
+
1086
+ if (toggle) {
1087
+ dom.style.display = displayStyle;
1088
+ }
1089
+ return toggle;
1090
+ }
1091
+
1092
+
1093
+ }]);
1094
+ return Picker;
1095
+ }();
1096
+
1097
+ return Picker;
1098
+
1099
+ })));
app/extensions/fields/asset/vanilla-picker-master/dist/vanilla-picker.min.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * vanilla-picker v2.7.0
3
+ * https://vanilla-picker.js.org
4
+ *
5
+ * Copyright 2017-2018 Andreas Borgen (https://github.com/Sphinxxxx), Adam Brooks (https://github.com/dissimulate)
6
+ * Released under the ISC license.
7
+ */
8
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Picker=e()}(this,function(){"use strict";var n=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),g=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],i=!0,o=!1,n=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);i=!0);}catch(t){o=!0,n=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw n}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(t){return 0===this.indexOf(t)},String.prototype.padStart=String.prototype.padStart||function(t,e){for(var r=this;r.length<t;)r=e+r;return r};var r=void 0;function o(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;return(0<e?t.toFixed(e).replace(/0+$/,"").replace(/\.$/,""):t.toString())||"0"}var a=function(){function f(t,e,r,i){n(this,f);var d=this;if(void 0===t);else if(Array.isArray(t))this.rgba=t;else if(void 0===r){var o=t&&""+t;o&&function(t){if(t.startsWith("hsl")){var e=t.match(/([\-\d\.e]+)/g).map(Number),r=g(e,4),i=r[0],o=r[1],n=r[2],a=r[3];void 0===a&&(a=1),i/=360,o/=100,n/=100,d.hsla=[i,o,n,a]}else if(t.startsWith("rgb")){var s=t.match(/([\-\d\.e]+)/g).map(Number),l=g(s,4),p=l[0],u=l[1],c=l[2],h=l[3];void 0===h&&(h=1),d.rgba=[p,u,c,h]}else t.startsWith("#")?d.rgba=f.hexToRgb(t):d.rgba=f.nameToRgb(t)||f.hexToRgb(t)}(o.toLowerCase())}else this.rgba=[t,e,r,void 0===i?1:i]}return t(f,[{key:"printRGB",value:function(t){var e=(t?this.rgba:this.rgba.slice(0,3)).map(function(t,e){return o(t,3===e?3:0)});return t?"rgba("+e+")":"rgb("+e+")"}},{key:"printHSL",value:function(t){var r=[360,100,100,1],i=["","%","%",""],e=(t?this.hsla:this.hsla.slice(0,3)).map(function(t,e){return o(t*r[e],3===e?3:1)+i[e]});return t?"hsla("+e+")":"hsl("+e+")"}},{key:"printHex",value:function(t){var e=this.hex;return t?e:e.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=f.hslToRgb(this._hsla)},set:function(t){3===t.length&&(t[3]=1),this._rgba=t,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=f.rgbToHsl(this._rgba)},set:function(t){3===t.length&&(t[3]=1),this._hsla=t,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){return"#"+this.rgba.map(function(t,e){return e<3?t.toString(16):Math.round(255*t).toString(16)}).map(function(t){return t.padStart(2,"0")}).join("")},set:function(t){this.rgba=f.hexToRgb(t)}}],[{key:"hexToRgb",value:function(t){var e=(t.startsWith("#")?t.slice(1):t).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!e.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+t);var r=e.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(t){return parseInt(t,16)});return r[3]=r[3]/255,r}},{key:"nameToRgb",value:function(t){r||(r={},"735AACA770//Xub218Pj/mo5+uvX6mdAP//gtpf//Ur258P//q1d9fXcxop/+TEq9zAAAAqfg/+vN6m1AAD/ngoiiviqt6pSoqzyo3riHxvdX56grk1f/8Aax10mkeqts/39QxbtZJXttkb//jcyxm3BQ86rmAP//wl5AACLwqqAIuL3y8uIYLwv1qampniqAGQAns5vbdrmohiwCLw5uVWsvsdd/4wAsegmTLMqagiwAAsqi6ZZ6uz6j7yPxtzSD2Lxk3L09PudbAM7RwsolADT0kz/xSTfuhAL//vfhaWlpyuxHpD/43rsiIiwn9//rw39uIosi9bp/wD/6w73Nzc9s5+Pj/6v8/9cA3b42qUg6vxgICArmaAIAAtdfrf8vf9n8P/wek3/2m0xnczVxc3bvSwCCsdt///wrvp8OaMs5i5ub6iyk//D1e8ifPwAoui//rNpyxrdjmw9c8ICAq4i4P//mx9+vrSq8t09PTx1ukO6Qqlv/7bBuuy/6B690uILKqpfdh876sd9d4iZnehsMTe0dv///g71lAP8A4nmMs0ys9u+vDmg9d/wD/4pmgAAAcurZs2qzllAADN4lkulXT6txk3Db66qPLNxozre2juokuAPqalj3SNHMgdkxxWF60pGRlwxfl9f/6hr5/+Thx6q/+S1m85/96tutd/fXmszxgIAAe4ma44j8rl/6UAmu0/0UA8so2nDWji87uiqumqmPuY9xbr+7u4rs23CTsb8/+/V95a/9q577xzYU/78z/8DL7b53aDdsu1sODmb11gACAy5nZjOZ1so/wAAlvevI+Pn09QWnhm7ui0UT94q+oBy7ei9KRg5aqLotXad5oFItasmwMDAaihh87r9fdalrN9p9cICQ7gz//r6k5uAP9/4qhRoK01te0rSM7cwAICA91x2L/Yclr/2NHcw1QODQd6w7oLuua09d6zudh////t359fX1enn//8Ao0ims0y".match(/.{7}/g).forEach(function(t){return r[t.slice(0,3)]=atob(t.slice(-4)).split("").map(function(t){return t.charCodeAt(0)})}));var e=[].reduce.call(t.replace("ey","ay"),function(t,e){return(t<<2)+e.charCodeAt(0)},0).toString(36).slice(-3);return r[e]}},{key:"rgbToHsl",value:function(t){var e=g(t,4),r=e[0],i=e[1],o=e[2],n=e[3];r/=255,i/=255,o/=255;var a=Math.max(r,i,o),s=Math.min(r,i,o),l=void 0,p=void 0,u=(a+s)/2;if(a===s)l=p=0;else{var c=a-s;switch(p=.5<u?c/(2-a-s):c/(a+s),a){case r:l=(i-o)/c+(i<o?6:0);break;case i:l=(o-r)/c+2;break;case o:l=(r-i)/c+4}l/=6}return[l,p,u,n]}},{key:"hslToRgb",value:function(t){var e=g(t,4),r=e[0],i=e[1],o=e[2],n=e[3],a=void 0,s=void 0,l=void 0;if(0===i)a=s=l=o;else{var p=function(t,e,r){return r<0&&(r+=1),1<r&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t},u=o<.5?o*(1+i):o+i-o*i,c=2*o-u;a=p(c,u,r+1/3),s=p(c,u,r),l=p(c,u,r-1/3)}var h=[255*a,255*s,255*l].map(Math.round);return h[3]=n,h}}]),f}(),A=window;function s(t){var e=Element.prototype;e.matches||(e.matches=e.msMatchesSelector||e.webkitMatchesSelector),e.closest||(e.closest=function(t){var e=this;do{if(e.matches(t))return e;e="svg"===e.tagName?e.parentNode:e.parentElement}while(e);return null});var l=(t=t||{}).container||document.documentElement,o=t.selector,i=t.callback||console.log,n=t.callbackDragStart,a=t.callbackDragEnd,s=t.callbackClick,r=t.propagateEvents,p=!1!==t.roundCoords,u=!1!==t.dragOutside,c=t.handleOffset||!1!==t.handleOffset,h=null;switch(c){case"center":h=!0;break;case"topleft":case"top-left":h=!1}var d=void 0;function f(t,e,r,i){var o=t.clientX,n=t.clientY;function a(t,e,r){return Math.max(e,Math.min(t,r))}if(e){var s=e.getBoundingClientRect();if(o-=s.left,n-=s.top,r&&(o-=r[0],n-=r[1]),i&&(o=a(o,0,s.width),n=a(n,0,s.height)),e!==l)(null!==h?h:"circle"===e.nodeName||"ellipse"===e.nodeName)&&(o-=s.width/2,n-=s.height/2)}return p?[Math.round(o),Math.round(n)]:[o,n]}function g(t){t.preventDefault(),r||t.stopPropagation()}function m(t){var e=void 0;if(e=o?o instanceof Element?o.contains(t.target)?o:null:t.target.closest(o):{}){g(t);var r=o&&c?f(t,e):[0,0],i=f(t,l,r);d={target:e,mouseOffset:r,startPos:i,actuallyDragged:!1},n&&n(e,i)}}function v(t){if(d){g(t);var e=d.startPos,r=f(t,l,d.mouseOffset,!u);d.actuallyDragged=d.actuallyDragged||e[0]!==r[0]||e[1]!==r[1],i(d.target,r,e)}}function _(t,e){if(d){if(a||s){var r=!d.actuallyDragged,i=r?d.startPos:f(t,l,d.mouseOffset,!u);s&&r&&!e&&s(d.target,i),a&&a(d.target,i,d.startPos,e||r&&s)}d=null}}function k(t,e){_(x(t),e)}function b(t,e,r){t.addEventListener(e,r)}function w(t){return void 0!==t.buttons?1===t.buttons:1===t.which}function y(t,e){1===t.touches.length?e(x(t)):_(t,!0)}function x(t){var e=t.targetTouches[0];return e||(e=t.changedTouches[0]),e.preventDefault=t.preventDefault.bind(t),e.stopPropagation=t.stopPropagation.bind(t),e}b(l,"mousedown",function(t){w(t)?m(t):_(t,!0)}),b(l,"touchstart",function(t){return y(t,m)}),b(A,"mousemove",function(t){d&&(w(t)?v(t):_(t))}),b(A,"touchmove",function(t){return y(t,v)}),b(l,"mouseup",function(t){d&&!w(t)&&_(t)}),b(l,"touchend",function(t){return k(t)}),b(l,"touchcancel",function(t){return k(t,!0)})}var l="keydown",p="mousedown",u="focusin";function b(t,e){return(e||document).querySelector(t)}function c(t,e,r){t.addEventListener(e,r,!1)}function h(t){t.preventDefault(),t.stopPropagation()}function d(t,e,r,i){c(t,l,function(t){0<=e.indexOf(t.key)&&(i&&h(t),r(t))})}return document.documentElement.firstElementChild.appendChild(document.createElement("style")).textContent=".picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6rem}.layout_default .picker_editor input{width:calc(100% + 2px);height:calc(100% + 2px)}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{margin:-1px}.picker_selector{position:absolute;z-index:1;display:block;transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{box-sizing:border-box;font-family:monospace;padding:.1em .2em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_done button{box-sizing:border-box;padding:.2em .5em;cursor:pointer}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;transform:skew(45deg);transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}",function(){function r(t){var e=this;n(this,r),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex"},this._openProxy=function(t){return e.openHandler(t)},this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(t)}return t(r,[{key:"setOptions",value:function(t){if(t){var e=this.settings;if(t instanceof HTMLElement)e.parent=t;else{e.parent&&t.parent&&e.parent!==t.parent&&(e.parent.removeEventListener("click",this._openProxy,!1),this._popupInited=!1),function(t,e,r){for(var i in t)r&&0<=r.indexOf(i)||(e[i]=t[i])}(t,e),t.onChange&&(this.onChange=t.onChange),t.onDone&&(this.onDone=t.onDone),t.onOpen&&(this.onOpen=t.onOpen),t.onClose&&(this.onClose=t.onClose);var r=t.color||t.colour;r&&this._setColor(r)}var i=e.parent;i&&e.popup&&!this._popupInited?(c(i,"click",this._openProxy),d(i,[" ","Spacebar","Enter"],this._openProxy),this._popupInited=!0):t.parent&&!e.popup&&this.show()}}},{key:"openHandler",value:function(t){if(this.show()){t&&t.preventDefault(),this.settings.parent.style.pointerEvents="none";var e=t&&t.type===l?this._domEdit:this.domElement;setTimeout(function(){return e.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(t){var e=t&&t.type,r=!1;t?e===p||e===u?this.domElement.contains(t.target)||(r=!0):(h(t),r=!0):r=!0,r&&this.hide()&&(this.settings.parent.style.pointerEvents="",e!==p&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(t,e){this.closeHandler(),this.setOptions(t),e&&this.openHandler()}},{key:"setColor",value:function(t,e){this._setColor(t,{silent:e})}},{key:"_setColor",value:function(t,e){if("string"==typeof t&&(t=t.trim()),t){e=e||{};var r=void 0;try{r=new a(t)}catch(t){if(e.failSilently)return;throw t}if(!this.settings.alpha){var i=r.hsla;i[3]=1,r.hsla=i}this.colour=this.color=r,this._setHSLA(null,null,null,null,e)}}},{key:"setColour",value:function(t,e){this.setColor(t,e)}},{key:"show",value:function(){if(!this.settings.parent)return!1;if(this.domElement){var t=this._toggleDOM(!0);return this._setPosition(),t}var e,r,i=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div></div>',o=(e=i,(r=document.createElement("div")).innerHTML=e,r.firstElementChild);return this.domElement=o,this._domH=b(".picker_hue",o),this._domSL=b(".picker_sl",o),this._domA=b(".picker_alpha",o),this._domEdit=b(".picker_editor input",o),this._domSample=b(".picker_sample",o),this._domOkay=b(".picker_done button",o),o.classList.add("layout_"+this.settings.layout),this.settings.alpha||o.classList.add("no_alpha"),this.settings.editor||o.classList.add("no_editor"),this._ifPopup(function(){return o.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor("#0cf"),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"_bindEvents",value:function(){var e=this,r=this,t=this.domElement;function i(o,n){function t(t,e){var r=e[0]/o.clientWidth,i=e[1]/o.clientHeight;n(r,i)}return{container:o,dragOutside:!1,callback:t,callbackClick:t,callbackDragStart:t,propagateEvents:!0}}c(t,"click",function(t){return t.preventDefault()}),s(i(this._domH,function(t,e){return r._setHSLA(t)})),s(i(this._domSL,function(t,e){return r._setHSLA(null,t,1-e)})),this.settings.alpha&&s(i(this._domA,function(t,e){return r._setHSLA(null,null,null,1-e)}));var o=this._domEdit;c(o,"input",function(t){r._setColor(this.value,{fromEditor:!0,failSilently:!0})}),c(o,"focus",function(t){this.selectionStart===this.selectionEnd&&this.select()});var n=function(t){e._ifPopup(function(){return e.closeHandler(t)})},a=function(t){e._ifPopup(function(){return e.closeHandler(t)}),e.onDone&&e.onDone(e.colour)};c(window,p,n),c(window,u,n),d(t,["Esc","Escape"],n),c(this._domOkay,"click",a),d(t,["Enter"],a)}},{key:"_setPosition",value:function(){var r=this.settings.parent,i=this.domElement;r!==i.parentNode&&r.appendChild(i),this._ifPopup(function(t){"static"===getComputedStyle(r).position&&(r.style.position="relative");var e=!0===t?"popup_right":"popup_"+t;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(t){t===e?i.classList.add(t):i.classList.remove(t)}),i.classList.add(e)})}},{key:"_setHSLA",value:function(t,e,r,i,o){o=o||{};var n=this.colour,a=n.hsla;[t,e,r,i].forEach(function(t,e){(t||0===t)&&(a[e]=t)}),n.hsla=a,this._updateUI(o),this.onChange&&!o.silent&&this.onChange(n)}},{key:"_updateUI",value:function(t){if(this.domElement){t=t||{};var e=this.colour,r=e.hsla,i="hsl("+360*r[0]+", 100%, 50%)",o=e.hslString,n=e.hslaString,a=this._domH,s=this._domSL,l=this._domA,p=b(".picker_selector",a),u=b(".picker_selector",s),c=b(".picker_selector",l);_(0,p,r[0]),this._domSL.style.backgroundColor=this._domH.style.color=i,_(0,u,r[1]),k(0,u,1-r[2]),s.style.color=o,k(0,c,1-r[3]);var h=o,d=h.replace("hsl","hsla").replace(")",", 0)"),f="linear-gradient("+[h,d]+")";if(this._domA.style.backgroundImage=f+", url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\")",!t.fromEditor){var g=this.settings.editorFormat,m=this.settings.alpha,v=void 0;switch(g){case"rgb":v=e.printRGB(m);break;case"hsl":v=e.printHSL(m);break;default:v=e.printHex(m)}this._domEdit.value=v}this._domSample.style.color=n}function _(t,e,r){e.style.left=100*r+"%"}function k(t,e,r){e.style.top=100*r+"%"}}},{key:"_ifPopup",value:function(t,e){this.settings.parent&&this.settings.popup?t&&t(this.settings.popup):e&&e()}},{key:"_toggleDOM",value:function(t){var e=this.domElement;if(!e)return!1;var r=t?"":"none",i=e.style.display!==r;return i&&(e.style.display=r),i}}]),r}()});
app/extensions/fields/asset/vanilla-picker-master/package.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "vanilla-picker",
3
+ "version": "2.6.0",
4
+ "description": "A simple, easy to use vanilla JS color picker with alpha selection.",
5
+ "keywords": [
6
+ "ux",
7
+ "ui",
8
+ "color",
9
+ "colour",
10
+ "picker",
11
+ "vanilla",
12
+ "vanilla-js",
13
+ "color picker",
14
+ "color-picker",
15
+ "colorpicker",
16
+ "rgb",
17
+ "rgba",
18
+ "hsl",
19
+ "hsla",
20
+ "hex",
21
+ "alpha"
22
+ ],
23
+ "author": "Andreas Borgen (https://github.com/Sphinxxxx), Adam Brooks (https://github.com/dissimulate)",
24
+ "homepage": "https://vanilla-picker.js.org",
25
+ "license": "ISC",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/Sphinxxxx/vanilla-picker.git"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/Sphinxxxx/vanilla-picker/issues"
32
+ },
33
+ "main": "dist/vanilla-picker.js",
34
+ "unpkg": "dist/vanilla-picker.min.js",
35
+ "module": "dist/vanilla-picker.mjs",
36
+ "files": [
37
+ "src/",
38
+ "dist/"
39
+ ],
40
+ "scripts": {
41
+ "prepublish": "bash ./scripts/prepub.sh",
42
+ "postpublish": "bash ./scripts/postpub.sh",
43
+ "test": "echo \"Error: no test specified\" && exit 1"
44
+ },
45
+ "devDependencies": {
46
+ "babel-core": "^6.26.3",
47
+ "babel-plugin-external-helpers": "^6.22.0",
48
+ "babel-preset-env": "^1.7.0",
49
+ "babel-register": "^6.26.0",
50
+ "gulp": "^4.0.0",
51
+ "gulp-file": "^0.4.0",
52
+ "gulp-header": "^2.0.5",
53
+ "gulp-jsdoc3": "^2.0.0",
54
+ "gulp-rename": "^1.2.3",
55
+ "gulp-replace": "^1.0.0",
56
+ "gulp-strip-comments": "^2.5.2",
57
+ "gulp-uglify": "^3.0.0",
58
+ "node-sass": "^4.9.0",
59
+ "pug": "^2.0.3",
60
+ "rollup": "^0.59.1",
61
+ "rollup-plugin-babel": "^3.0.4",
62
+ "rollup-plugin-node-resolve": "^3.3.0"
63
+ },
64
+ "dependencies": {
65
+ "@sphinxxxx/color-conversion": "^2.1.1",
66
+ "drag-tracker": "^1.0.0"
67
+ }
68
+ }
app/extensions/fields/asset/vanilla-picker-master/src/css/_components.scss ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .picker_wrapper {
2
+ box-sizing: border-box;
3
+ background: $color-bg;
4
+ @include border-deco();
5
+
6
+ cursor: default;
7
+ font-family: sans-serif;
8
+ color: #444;
9
+
10
+ //Needed for the default popup behavior, where the parent is temporarily disabled via "pointer-events: none"
11
+ pointer-events: auto;
12
+ //The wrapper needs to be focusable (via `tabindex`), or else the popup loses focus
13
+ //if you click anywhere on the picker's background, and closeHandler() closes the popup.
14
+ //However, we don't want all the decoration:
15
+ &:focus { outline: none; }
16
+
17
+ //Align borders with the other elements' border-deco():
18
+ button, input {
19
+ margin: -1px;
20
+ }
21
+ }
22
+
23
+
24
+ .picker_selector {
25
+ position: absolute;
26
+ z-index: 1; //On top of nearby sliders
27
+ display: block;
28
+ transform: translate(-50%, -50%);
29
+
30
+ border: 2px solid white;
31
+ border-radius: 100%;
32
+
33
+ box-shadow: 0 0 3px 1px #67b9ff;
34
+ background: currentColor;
35
+ cursor: pointer;
36
+ }
37
+
38
+ .picker_slider .picker_selector {
39
+ border-radius: 2px;
40
+ }
41
+
42
+
43
+ .picker_hue {
44
+ position: relative;
45
+
46
+ background-image: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
47
+ @include border-deco();
48
+ }
49
+
50
+
51
+ .picker_sl {
52
+ $desat: #808080;
53
+ //https://css-tricks.com/thing-know-gradients-transparent-black/
54
+ $desat0: rgba($desat, 0);
55
+ $white0: rgba( white, 0);
56
+ $black0: rgba( black, 0);
57
+
58
+ position: relative;
59
+
60
+ @include border-deco();
61
+ background-image:
62
+ /*
63
+ Different SL pickers
64
+ https://en.wikipedia.org/wiki/HSL_and_HSV
65
+ */
66
+
67
+ //HSV
68
+ //linear-gradient( 0deg, black, $black0),
69
+ //linear-gradient(90deg, white, $white0);
70
+
71
+ //HSL:
72
+ linear-gradient(180deg, white, $white0 50%),
73
+ linear-gradient( 0deg, black, $black0 50%),
74
+ linear-gradient( 90deg, $desat, $desat0);
75
+
76
+ //Hue, chroma, lightness (almost):
77
+ //linear-gradient( 45deg, #eee 50%, transparent 50%), //Masking the triangle
78
+ //linear-gradient(135deg, white 0%, $white0 50%), //Lightness, white
79
+ //linear-gradient(-45deg, black 0%, $black0 50%), //Lightness, black
80
+ //linear-gradient( 45deg, $desat 50%, $desat0 100%); //Saturation
81
+ }
82
+
83
+
84
+ .picker_alpha, .picker_sample {
85
+ position: relative;
86
+
87
+ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E") left top / contain white;
88
+ @include border-deco();
89
+
90
+ .picker_selector {
91
+ background: none;
92
+ }
93
+ }
94
+
95
+
96
+ .picker_editor {
97
+ input {
98
+ box-sizing: border-box;
99
+ font-family: monospace;
100
+ padding: .1em .2em;
101
+ }
102
+ }
103
+
104
+
105
+ .picker_sample {
106
+
107
+ &::before {
108
+ content: '';
109
+ position: absolute;
110
+ display: block;
111
+ width: 100%;
112
+ height: 100%;
113
+ background: currentColor;
114
+ }
115
+ }
116
+
117
+
118
+ .picker_done button {
119
+ box-sizing: border-box;
120
+ padding: .2em .5em;
121
+ cursor: pointer;
122
+ }
app/extensions/fields/asset/vanilla-picker-master/src/css/_globals.scss ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ $color-bg: #f2f2f2;
2
+
3
+ @mixin border-deco() {
4
+ //Firefox bug: https://github.com/Sphinxxxx/vanilla-picker/issues/1
5
+ // outline: 1px solid silver;
6
+ box-shadow: 0 0 0 1px silver;
7
+ }
app/extensions/fields/asset/vanilla-picker-master/src/css/_layout.scss ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .picker_wrapper.no_alpha .picker_alpha {
2
+ display: none;
3
+ }
4
+ //Always keep the editor on-screen, for screen readers:
5
+ .picker_wrapper.no_editor .picker_editor {
6
+ position: absolute;
7
+ z-index: -1;
8
+ opacity: 0;
9
+ }
10
+
11
+
12
+ .layout_default {
13
+
14
+ $width-gutter: 1em;
15
+ $width-slider: 2em;
16
+
17
+
18
+ &.picker_wrapper {
19
+ display: flex;
20
+ flex-flow: row wrap;
21
+ justify-content: space-between;
22
+ align-items: stretch;
23
+
24
+ font-size: 10px;
25
+ width: 25em;
26
+ //Since we use "em"s for layout here, restore the correct font-size on elements with text:
27
+ input, button {
28
+ font-size: 1rem;
29
+ }
30
+
31
+ padding: $width-gutter/2;
32
+ > * {
33
+ margin: $width-gutter/2;
34
+ }
35
+
36
+ //https://stackoverflow.com/questions/29732575/line-break-in-multi-line-flexbox
37
+ //We use this to insert a line break after .picker_alpha,
38
+ //which lets us set .picker_sl to use all available space to the left of it (via flex-grow: 1),
39
+ //and we don't have to calculate the exact width for .picker_sl.
40
+ &::before {
41
+ content: '';
42
+ display: block;
43
+ width: 100%;
44
+ height: 0;
45
+ order: 1;
46
+ }
47
+ }
48
+
49
+
50
+ .picker_slider, .picker_selector {
51
+ padding: $width-slider/2;
52
+ }
53
+
54
+
55
+ .picker_hue {
56
+ width: 100%;
57
+ }
58
+
59
+
60
+ .picker_sl {
61
+ //width: calc(100% - #{2*$width-gutter} - #{$width-slider});
62
+ flex: 1 1 auto;
63
+
64
+ //With variable width, we need a pseudo-element to make it a square, whatever size:
65
+ &::before {
66
+ content: '';
67
+ display: block;
68
+ padding-bottom: 100%;
69
+ }
70
+ }
71
+
72
+
73
+ .picker_editor {
74
+ order: 1;
75
+ //width: 100%;
76
+ width: 6rem;
77
+
78
+ input {
79
+ width: calc(100% + 2px);
80
+ height: calc(100% + 2px);
81
+ }
82
+ }
83
+
84
+
85
+ .picker_sample {
86
+ order: 1;
87
+ //width: 170px;
88
+ //height: 30px;
89
+ flex: 1 1 auto;
90
+ }
91
+
92
+
93
+ .picker_done {
94
+ order: 1;
95
+ }
96
+
97
+ }
app/extensions/fields/asset/vanilla-picker-master/src/css/_popup.scss ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //The arrow is only used in popup mode
2
+ .picker_arrow {
3
+ position: absolute;
4
+
5
+ //Don't cover the individual picker child elements.
6
+ //We also need to add a z-index to the main .picker_wrapper below, so the arrow stays above/inside the wrapper:
7
+ //https://stackoverflow.com/questions/1806421/how-to-get-a-parent-element-to-appear-above-child
8
+ z-index: -1;
9
+ }
10
+
11
+ .picker_wrapper.popup {
12
+ position: absolute;
13
+ z-index: 2; //On top of non-popup pickers' selectors
14
+ margin: 1.5em;
15
+
16
+ &, .picker_arrow::before, .picker_arrow::after {
17
+ background: $color-bg;
18
+ box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.4);
19
+ }
20
+
21
+ .picker_arrow {
22
+ width: 3em;
23
+ height: 3em;
24
+ margin: 0;
25
+
26
+ &::before, &::after {
27
+ content: "";
28
+ display: block;
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ z-index: -99;
33
+ }
34
+ &::before {
35
+ width: 100%;
36
+ height: 100%;
37
+ transform: skew(45deg);
38
+ transform-origin: 0 100%;
39
+ }
40
+ &::after {
41
+ width: 150%;
42
+ height: 150%;
43
+ box-shadow: none;
44
+ }
45
+ }
46
+ }
47
+
48
+ .popup.popup_top {
49
+ bottom: 100%;
50
+ left: 0;
51
+
52
+ .picker_arrow {
53
+ bottom: 0;
54
+ left: 0;
55
+ transform: rotate(-90deg);
56
+ }
57
+ }
58
+
59
+ .popup.popup_bottom {
60
+ top: 100%;
61
+ left: 0;
62
+
63
+ .picker_arrow {
64
+ top: 0;
65
+ left: 0;
66
+ transform: rotate(90deg) scale(1, -1);
67
+ }
68
+ }
69
+
70
+ .popup.popup_left {
71
+ top: 0;
72
+ right: 100%;
73
+
74
+ .picker_arrow {
75
+ top: 0;
76
+ right: 0;
77
+ transform: scale(-1, 1);
78
+ }
79
+ }
80
+
81
+ .popup.popup_right {
82
+ top: 0;
83
+ left: 100%;
84
+
85
+ .picker_arrow {
86
+ top: 0;
87
+ left: 0;
88
+ }
89
+ }
app/extensions/fields/asset/vanilla-picker-master/src/css/custom.scss ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ .layout_default .picker_editor {
2
+ width: 100%;
3
+ }
app/extensions/fields/asset/vanilla-picker-master/src/picker.css ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.no_alpha .picker_alpha {
2
+ display: none;
3
+ }
4
+
5
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.no_editor .picker_editor {
6
+ position: absolute;
7
+ z-index: -1;
8
+ opacity: 0;
9
+ }
10
+
11
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default.picker_wrapper {
12
+ display: flex;
13
+ flex-flow: row wrap;
14
+ justify-content: space-between;
15
+ align-items: stretch;
16
+ font-size: 10px;
17
+ width: 25em;
18
+ padding: 0.5em;
19
+ }
20
+
21
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default.picker_wrapper input,
22
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default.picker_wrapper button {
23
+ font-size: 1rem;
24
+ }
25
+
26
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default.picker_wrapper>* {
27
+ margin: 0.5em;
28
+ }
29
+
30
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default.picker_wrapper::before {
31
+ content: '';
32
+ display: block;
33
+ width: 100%;
34
+ height: 0;
35
+ order: 1;
36
+ }
37
+
38
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_slider,
39
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_selector {
40
+ padding: 1em;
41
+ }
42
+
43
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_hue {
44
+ width: 100%;
45
+ }
46
+
47
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_sl {
48
+ flex: 1 1 auto;
49
+ }
50
+
51
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_sl::before {
52
+ content: '';
53
+ display: block;
54
+ padding-bottom: 100%;
55
+ }
56
+
57
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_editor {
58
+ order: 1;
59
+ width: 6rem;
60
+ }
61
+
62
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_editor input {
63
+ width: calc(100% + 2px);
64
+ height: calc(100% + 2px);
65
+ line-height: inherit;
66
+ }
67
+
68
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_sample {
69
+ order: 1;
70
+ flex: 1 1 auto;
71
+ }
72
+
73
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_done {
74
+ order: 1;
75
+ }
76
+
77
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper {
78
+ box-sizing: border-box;
79
+ background: #f2f2f2;
80
+ box-shadow: 0 0 0 1px silver;
81
+ cursor: default;
82
+ font-family: sans-serif;
83
+ color: #444;
84
+ pointer-events: auto;
85
+ }
86
+
87
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper:focus {
88
+ outline: none;
89
+ }
90
+
91
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper button,
92
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper input {
93
+ margin: -1px;
94
+ }
95
+
96
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_selector {
97
+ position: absolute;
98
+ z-index: 1;
99
+ display: block;
100
+ transform: translate(-50%, -50%);
101
+ border: 2px solid white;
102
+ border-radius: 100%;
103
+ box-shadow: 0 0 3px 1px #67b9ff;
104
+ background: currentColor;
105
+ cursor: pointer;
106
+ }
107
+
108
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_slider .picker_selector {
109
+ border-radius: 2px;
110
+ }
111
+
112
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_hue {
113
+ position: relative;
114
+ background-image: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
115
+ box-shadow: 0 0 0 1px silver;
116
+ }
117
+
118
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_sl {
119
+ position: relative;
120
+ box-shadow: 0 0 0 1px silver;
121
+ background-image: linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%), linear-gradient(0deg, black, transparent 50%), linear-gradient(90deg, #808080, rgba(128, 128, 128, 0));
122
+ }
123
+
124
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_alpha,
125
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_sample {
126
+ position: relative;
127
+ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E") left top/contain white;
128
+ box-shadow: 0 0 0 1px silver;
129
+ }
130
+
131
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_alpha .picker_selector,
132
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_sample .picker_selector {
133
+ background: none;
134
+ }
135
+
136
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_editor input {
137
+ box-sizing: border-box;
138
+ font-family: monospace;
139
+ padding: .1em .2em;
140
+ }
141
+
142
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_sample::before {
143
+ content: '';
144
+ position: absolute;
145
+ display: block;
146
+ width: 100%;
147
+ height: 100%;
148
+ background: currentColor;
149
+ }
150
+
151
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_done button {
152
+ box-sizing: border-box;
153
+ padding: .2em .5em;
154
+ cursor: pointer;
155
+ padding-top: 6px;
156
+ padding-bottom: 6px;
157
+
158
+ /* padding: inherit;
159
+ border: ;
160
+ border-radius: inherit;
161
+ line-height: inherit; */
162
+ }
163
+
164
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_arrow {
165
+ position: absolute;
166
+ z-index: -1;
167
+ }
168
+
169
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup {
170
+ position: absolute;
171
+ z-index: 2;
172
+ margin: 1.5em;
173
+ }
174
+
175
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup,
176
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::before,
177
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::after {
178
+ background: #f2f2f2;
179
+ box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.4);
180
+ }
181
+
182
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow {
183
+ width: 3em;
184
+ height: 3em;
185
+ margin: 0;
186
+ }
187
+
188
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::before,
189
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::after {
190
+ content: "";
191
+ display: block;
192
+ position: absolute;
193
+ top: 0;
194
+ left: 0;
195
+ z-index: -99;
196
+ }
197
+
198
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::before {
199
+ width: 100%;
200
+ height: 100%;
201
+ transform: skew(45deg);
202
+ transform-origin: 0 100%;
203
+ }
204
+
205
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .picker_wrapper.popup .picker_arrow::after {
206
+ width: 150%;
207
+ height: 150%;
208
+ box-shadow: none;
209
+ }
210
+
211
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_top {
212
+ bottom: 100%;
213
+ left: 0;
214
+ }
215
+
216
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_top .picker_arrow {
217
+ bottom: 0;
218
+ left: 0;
219
+ transform: rotate(-90deg);
220
+ }
221
+
222
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_bottom {
223
+ top: 100%;
224
+ left: 0;
225
+ }
226
+
227
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_bottom .picker_arrow {
228
+ top: 0;
229
+ left: 0;
230
+ transform: rotate(90deg) scale(1, -1);
231
+ }
232
+
233
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_left {
234
+ top: 0;
235
+ right: 100%;
236
+ }
237
+
238
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_left .picker_arrow {
239
+ top: 0;
240
+ right: 0;
241
+ transform: scale(-1, 1);
242
+ }
243
+
244
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_right {
245
+ top: 0;
246
+ left: 100%;
247
+ }
248
+
249
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .popup.popup_right .picker_arrow {
250
+ top: 0;
251
+ left: 0;
252
+ }
253
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div .layout_default .picker_editor {
254
+ width: 100%;
255
+ }
app/extensions/fields/asset/vanilla-picker-master/src/picker.js ADDED
@@ -0,0 +1,676 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*global HTMLElement*/
2
+
3
+ import Color from '@sphinxxxx/color-conversion';
4
+ import dragTracker from 'drag-tracker';
5
+
6
+
7
+ const BG_TRANSP = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E")`;
8
+ const HUES = 360;
9
+ //We need to use keydown instead of keypress to handle Esc from the editor textbox:
10
+ const EVENT_KEY = 'keydown', //'keypress'
11
+ EVENT_CLICK_OUTSIDE = 'mousedown',
12
+ EVENT_TAB_MOVE = 'focusin';
13
+
14
+
15
+ function parseHTML(htmlString) {
16
+ //https://stackoverflow.com/questions/494143/creating-a-new-dom-element-from-an-html-string-using-built-in-dom-methods-or-pro
17
+ const div = document.createElement('div');
18
+ div.innerHTML = htmlString;
19
+ return div.firstElementChild;
20
+ }
21
+
22
+ function $(selector, context) {
23
+ return (context || document).querySelector(selector);
24
+ }
25
+
26
+ function addEvent(target, type, handler) {
27
+ target.addEventListener(type, handler, false);
28
+ }
29
+ function stopEvent(e) {
30
+ //Stop an event from bubbling up to the parent:
31
+ e.preventDefault();
32
+ e.stopPropagation();
33
+ }
34
+ function onKey(target, keys, handler, stop) {
35
+ addEvent(target, EVENT_KEY, function(e) {
36
+ if(keys.indexOf(e.key) >= 0) {
37
+ if(stop) { stopEvent(e); }
38
+ handler(e);
39
+ }
40
+ });
41
+ }
42
+
43
+
44
+ /* Inlined Picker CSS */
45
+ document.documentElement.firstElementChild //<head>, or <body> if there is no <head>
46
+ .appendChild(document.createElement('style')).textContent = `## PLACEHOLDER-CSS ##`;
47
+
48
+
49
+ class Picker {
50
+
51
+ //https://stackoverflow.com/questions/24214962/whats-the-proper-way-to-document-callbacks-with-jsdoc
52
+ /**
53
+ * A callback that gets the picker's current color value.
54
+ *
55
+ * @callback Picker~colorCallback
56
+ * @param {Object} color
57
+ * @param {number[]} color.rgba - RGBA color components.
58
+ * @param {number[]} color.hsla - HSLA color components (all values between 0 and 1, inclusive).
59
+ * @param {string} color.rgbString - RGB CSS value (e.g. `rgb(255,215,0)`).
60
+ * @param {string} color.rgbaString - RGBA CSS value (e.g. `rgba(255,215,0, .5)`).
61
+ * @param {string} color.hslString - HSL CSS value (e.g. `hsl(50.6,100%,50%)`).
62
+ * @param {string} color.hslaString - HSLA CSS value (e.g. `hsla(50.6,100%,50%, .5)`).
63
+ * @param {string} color.hex - 8 digit #RRGGBBAA (not supported in all browsers).
64
+ */
65
+
66
+ /**
67
+ * Create a color picker.
68
+ *
69
+ * @example
70
+ * var picker = new Picker(myParentElement);
71
+ * picker.onDone = function(color) {
72
+ * myParentElement.style.backgroundColor = color.rgbaString;
73
+ * };
74
+ *
75
+ * @example
76
+ * var picker = new Picker({
77
+ * parent: myParentElement,
78
+ * color: 'gold',
79
+ * onChange: function(color) {
80
+ * myParentElement.style.backgroundColor = color.rgbaString;
81
+ * },
82
+ * });
83
+ *
84
+ * @param {Object} options - @see {@linkcode Picker#setOptions|setOptions()}
85
+ */
86
+ constructor(options) {
87
+
88
+ //Default settings
89
+ this.settings = {
90
+ //Allow creating a popup without putting it on screen yet.
91
+ // parent: document.body,
92
+ popup: 'right',
93
+ layout: 'default',
94
+ alpha: true,
95
+ editor: true,
96
+ };
97
+
98
+ //Keep openHandler() pluggable, but call it in the right context:
99
+ //https://stackoverflow.com/questions/46014034/es6-removeeventlistener-from-arrow-function-oop
100
+ this._openProxy = (e) => this.openHandler(e);
101
+
102
+ /**
103
+ * Callback whenever the color changes.
104
+ * @member {Picker~colorCallback}
105
+ */
106
+ this.onChange = null;
107
+ /**
108
+ * Callback when the user clicks "Ok".
109
+ * @member {Picker~colorCallback}
110
+ */
111
+ this.onDone = null;
112
+ /**
113
+ * Callback when the popup opens.
114
+ * @member {Picker~colorCallback}
115
+ */
116
+ this.onOpen = null;
117
+ /**
118
+ * Callback when the popup closes.
119
+ * @member {Picker~colorCallback}
120
+ */
121
+ this.onClose = null;
122
+
123
+ this.setOptions(options);
124
+ }
125
+
126
+
127
+ /**
128
+ * Set the picker options.
129
+ *
130
+ * @param {Object} options
131
+ * @param {HTMLElement} options.parent - Which element the picker should be attached to.
132
+ * @param {('top'|'bottom'|'left'|'right'|false)}
133
+ * [options.popup=right] - If the picker is used as a popup, where to place it relative to the parent. `false` to add the picker as a normal child element of the parent.
134
+ * @param {string} [options.template] - Custom HTML string from which to build the picker. See /src/picker.pug for required elements and class names.
135
+ * @param {string} [options.layout=default] - Suffix of a custom "layout_..." CSS class to handle the overall arrangement of the picker elements.
136
+ * @param {boolean} [options.alpha=true] - Whether to enable adjusting the alpha channel.
137
+ * @param {boolean} [options.editor=true] - Whether to show a text field for color value editing.
138
+ * @param {string} [options.color] - Initial color for the picker.
139
+ * @param {function} [options.onChange] - @see {@linkcode Picker#onChange|onChange}
140
+ * @param {function} [options.onDone] - @see {@linkcode Picker#onDone|onDone}
141
+ * @param {function} [options.onOpen] - @see {@linkcode Picker#onOpen|onOpen}
142
+ * @param {function} [options.onClose] - @see {@linkcode Picker#onClose|onClose}
143
+ */
144
+ setOptions(options) {
145
+ if(!options) { return; }
146
+ const settings = this.settings;
147
+
148
+ function transfer(source, target, skipKeys) {
149
+ for (const key in source) {
150
+ if(skipKeys && (skipKeys.indexOf(key) >= 0)) { continue; }
151
+
152
+ target[key] = source[key];
153
+ }
154
+ }
155
+
156
+ if(options instanceof HTMLElement) {
157
+ settings.parent = options;
158
+ }
159
+ else {
160
+ //const skipKeys = [];
161
+ //
162
+ //if(options.popup instanceof Object) {
163
+ // transfer(options.popup, settings.popup);
164
+ // skipKeys.push('popup');
165
+ //}
166
+
167
+ /* //TODO: options.layout -> Object
168
+ {
169
+ mode: 'hsla', //'hsla', 'hasl', 'hsl'. Deprecate options.alpha
170
+ verticalHue: false,
171
+ verticalAlpha: true,
172
+ alphaOnSL: false,
173
+ editor: true, //Deprecate options.editor
174
+ css: undefined, //Same as old options.layout. Default from mode
175
+ //.template as well?
176
+ }
177
+ //*/
178
+
179
+ //New parent?
180
+ if(settings.parent && options.parent && (settings.parent !== options.parent)) {
181
+ settings.parent.removeEventListener('click', this._openProxy, false);
182
+ this._popupInited = false;
183
+ }
184
+
185
+ transfer(options, settings/*, skipKeys*/);
186
+
187
+ //Event callbacks. Hook these up before setColor() below,
188
+ //because we'll need to fire onChange() if there is a color in the options
189
+ if(options.onChange) { this.onChange = options.onChange; }
190
+ if(options.onDone) { this.onDone = options.onDone; }
191
+ if(options.onOpen) { this.onOpen = options.onOpen; }
192
+ if(options.onClose) { this.onClose = options.onClose; }
193
+
194
+ //Note: Look for color in 'options', as a color value in 'settings' may be an old one we don't want to revert to.
195
+ const col = options.color || options.colour;
196
+ if(col) { this._setColor(col); }
197
+ }
198
+
199
+ //Init popup behavior once we have all the parts we need:
200
+ const parent = settings.parent;
201
+ if(parent && settings.popup && !this._popupInited) {
202
+
203
+ addEvent(parent, 'click', this._openProxy);
204
+
205
+ //Keyboard navigation: Open on [Space] or [Enter] (but stop the event to avoid typing a " " in the editor textbox).
206
+ //No, don't stop the event, as that would disable normal input behavior (typing a " " or clicking the Ok button with [Enter]).
207
+ //Fix: setTimeout() in openHandler()..
208
+ //
209
+ //https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values#Whitespace_keys
210
+ onKey(parent, [' ', 'Spacebar', 'Enter'], this._openProxy/*, true*/);
211
+
212
+ //This must wait until we have created our DOM..
213
+ // addEvent(window, 'mousedown', (e) => this.closeHandler(e));
214
+ // addEvent(this._domOkay, 'click', (e) => this.closeHandler(e));
215
+
216
+ this._popupInited = true;
217
+ }
218
+ else if(options.parent && !settings.popup) {
219
+ this.show();
220
+ }
221
+ }
222
+
223
+
224
+ /**
225
+ * Default behavior for opening the popup
226
+ */
227
+ openHandler(e) {
228
+ if(this.show()) {
229
+ //If the parent is an <a href="#"> element, avoid scrolling to the top:
230
+ e && e.preventDefault();
231
+
232
+ //A trick to avoid re-opening the dialog if you click the parent element while the dialog is open:
233
+ this.settings.parent.style.pointerEvents = 'none';
234
+
235
+ //Recommended popup behavior with keyboard navigation from http://whatsock.com/tsg/Coding%20Arena/Popups/Popup%20(Internal%20Content)/demo.htm
236
+ //Wait a little before focusing the textbox, in case the dialog was just opened with [Space] (would overwrite the color value with a " "):
237
+ const toFocus = (e && (e.type === EVENT_KEY)) ? this._domEdit : this.domElement;
238
+ setTimeout(() => toFocus.focus(), 100);
239
+
240
+ if(this.onOpen) { this.onOpen(this.colour); }
241
+ }
242
+ }
243
+
244
+
245
+ /**
246
+ * Default behavior for closing the popup
247
+ */
248
+ closeHandler(e) {
249
+ const event = e && e.type;
250
+ let doHide = false;
251
+
252
+ //Close programmatically:
253
+ if(!e) {
254
+ doHide = true;
255
+ }
256
+ //Close by clicking/tabbing outside the popup:
257
+ else if((event === EVENT_CLICK_OUTSIDE) || (event === EVENT_TAB_MOVE)) {
258
+
259
+ //Note: Now that we have added the 'focusin' event,
260
+ //this trick requires the picker wrapper to be focusable (via `tabindex` - see /src/picker.pug),
261
+ //or else the popup loses focus if you click anywhere on the picker's background.
262
+ if(!this.domElement.contains(e.target)) {
263
+ doHide = true;
264
+ }
265
+ }
266
+ //Close by clicking "Ok" or pressing "Esc":
267
+ else {
268
+ //Don't bubble the click up to the parent, because that's the trigger to re-open the popup:
269
+ stopEvent(e);
270
+
271
+ doHide = true;
272
+ }
273
+
274
+ if(doHide && this.hide()) {
275
+ this.settings.parent.style.pointerEvents = '';
276
+
277
+ //Recommended popup behavior from http://whatsock.com/tsg/Coding%20Arena/Popups/Popup%20(Internal%20Content)/demo.htm
278
+ //However, we don't re-focus the parent if the user closes the popup by clicking somewhere else on the screen,
279
+ //because they may have scrolled to a different part of the page by then, and focusing would then inadvertently scroll the parent back into view:
280
+ if(event !== EVENT_CLICK_OUTSIDE) {
281
+ this.settings.parent.focus();
282
+ }
283
+
284
+ if(this.onClose) { this.onClose(this.colour); }
285
+ }
286
+ }
287
+
288
+
289
+ /**
290
+ * Move the popup to a different parent, optionally opening it at the same time.
291
+ *
292
+ * @param {Object} options - @see {@linkcode Picker#setOptions|setOptions()} (Usually a new `.parent` and `.color`).
293
+ * @param {boolean} open - Whether to open the popup immediately.
294
+ */
295
+ movePopup(options, open) {
296
+ //Cleanup if the popup is currently open (at least revert the current parent's .pointerEvents);
297
+ this.closeHandler();
298
+
299
+ this.setOptions(options);
300
+ if(open) {
301
+ this.openHandler();
302
+ }
303
+ }
304
+
305
+
306
+ /**
307
+ * Set/initialize the picker's color.
308
+ *
309
+ * @param {string} color - Color name, RGBA/HSLA/HEX string, or RGBA array.
310
+ * @param {boolean} silent - If true, won't trigger onChange.
311
+ */
312
+ setColor(color, silent) {
313
+ this._setColor(color, { silent: silent });
314
+ }
315
+ _setColor(color, flags) {
316
+ if(typeof color === 'string') { color = color.trim(); }
317
+ if (!color) { return; }
318
+
319
+ flags = flags || {};
320
+ let c;
321
+ try {
322
+ //Will throw on unknown colors:
323
+ c = new Color(color);
324
+ }
325
+ catch (ex) {
326
+ if(flags.failSilently) { return; }
327
+ throw ex;
328
+ }
329
+
330
+ if(!this.settings.alpha) {
331
+ const hsla = c.hsla;
332
+ hsla[3] = 1;
333
+ c.hsla = hsla;
334
+ }
335
+ this.colour = this.color = c;
336
+ this._setHSLA(null, null, null, null, flags);
337
+ }
338
+ /**
339
+ * @see {@linkcode Picker#setColor|setColor()}
340
+ */
341
+ setColour(colour, silent) {
342
+ this.setColor(colour, silent);
343
+ }
344
+
345
+
346
+ /**
347
+ * Show/open the picker.
348
+ */
349
+ show() {
350
+ const parent = this.settings.parent;
351
+ if(!parent) { return false; }
352
+
353
+ //Unhide html if it exists
354
+ if(this.domElement) {
355
+ const toggled = this._toggleDOM(true);
356
+
357
+ //Things could have changed through setOptions():
358
+ this._setPosition();
359
+
360
+ return toggled;
361
+ }
362
+
363
+ const html = this.settings.template || `## PLACEHOLDER-HTML ##`;
364
+ const wrapper = parseHTML(html);
365
+
366
+ this.domElement = wrapper;
367
+ this._domH = $('.picker_hue', wrapper);
368
+ this._domSL = $('.picker_sl', wrapper);
369
+ this._domA = $('.picker_alpha', wrapper);
370
+ this._domEdit = $('.picker_editor input', wrapper);
371
+ this._domSample = $('.picker_sample', wrapper);
372
+ this._domOkay = $('.picker_done button', wrapper);
373
+
374
+ wrapper.classList.add('layout_' + this.settings.layout);
375
+ if(!this.settings.alpha) { wrapper.classList.add('no_alpha'); }
376
+ if(!this.settings.editor) { wrapper.classList.add('no_editor'); }
377
+ this._ifPopup(() => wrapper.classList.add('popup'));
378
+
379
+ this._setPosition();
380
+
381
+
382
+ if(this.colour) {
383
+ this._updateUI();
384
+ }
385
+ else {
386
+ this._setColor('#0cf');
387
+ }
388
+ this._bindEvents();
389
+
390
+ return true;
391
+ }
392
+
393
+
394
+ /**
395
+ * Hide the picker.
396
+ */
397
+ hide() {
398
+ return this._toggleDOM(false);
399
+ }
400
+
401
+
402
+ /*
403
+ * Handle user input.
404
+ *
405
+ * @private
406
+ */
407
+ _bindEvents() {
408
+ const that = this,
409
+ dom = this.domElement;
410
+
411
+ //Prevent clicks while dragging from bubbling up to the parent:
412
+ addEvent(dom, 'click', e => e.preventDefault());
413
+
414
+
415
+ /* Draggable color selection */
416
+
417
+ function createDragConfig(container, callbackRelative) {
418
+
419
+ //Convert the px coordinates to relative coordinates (0-1) before invoking the callback:
420
+ function relayDrag(_, pos) {
421
+ const relX = pos[0]/container.clientWidth,
422
+ relY = pos[1]/container.clientHeight;
423
+ callbackRelative(relX, relY);
424
+ }
425
+
426
+ const config = {
427
+ container: container,
428
+ dragOutside: false,
429
+ callback: relayDrag,
430
+ callbackClick: relayDrag,
431
+ //Respond at once (mousedown), don't wait for click or drag:
432
+ callbackDragStart: relayDrag,
433
+ //When interacting with a picker, this allows other open picker popups to close:
434
+ propagateEvents: true,
435
+ };
436
+ return config;
437
+ }
438
+
439
+ //Select hue
440
+ dragTracker(createDragConfig(this._domH, (x, y) => that._setHSLA(x)));
441
+
442
+ //Select saturation/lightness
443
+ dragTracker(createDragConfig(this._domSL, (x, y) => that._setHSLA(null, x, 1 - y)));
444
+
445
+ //Select alpha
446
+ if(this.settings.alpha) {
447
+ dragTracker(createDragConfig(this._domA, (x, y) => that._setHSLA(null, null, null, 1 - y)));
448
+ }
449
+
450
+
451
+ /* Direct color value editing */
452
+
453
+ //Always init the editor, for accessibility and screen readers (we'll hide it with CSS if `!settings.editor`)
454
+ const editInput = this._domEdit;
455
+ /*if(this.settings.editor)*/ {
456
+ addEvent(editInput, 'input', function(e) {
457
+ that._setColor(this.value, { fromEditor: true, failSilently: true });
458
+ });
459
+ //Select all text on focus:
460
+ addEvent(editInput, 'focus', function(e) {
461
+ const input = this;
462
+ //If no current selection:
463
+ if(input.selectionStart === input.selectionEnd) {
464
+ input.select();
465
+ }
466
+ });
467
+ }
468
+
469
+
470
+ /* Close the dialog */
471
+
472
+ const popupCloseProxy = (e) => {
473
+ this._ifPopup(() => this.closeHandler(e));
474
+ };
475
+ const onDoneProxy = (e) => {
476
+ this._ifPopup(() => this.closeHandler(e));
477
+ if(this.onDone) { this.onDone(this.colour); }
478
+ };
479
+
480
+ addEvent(window, EVENT_CLICK_OUTSIDE, popupCloseProxy);
481
+ addEvent(window, EVENT_TAB_MOVE, popupCloseProxy); //Keyboard navigation, closeHandler() will check if focus has moved outside the popup.
482
+ onKey( dom, ['Esc', 'Escape'], popupCloseProxy);
483
+
484
+ addEvent(this._domOkay, 'click', onDoneProxy);
485
+ onKey( dom, ['Enter'], onDoneProxy);
486
+ }
487
+
488
+
489
+ /*
490
+ * Position the picker on screen.
491
+ *
492
+ * @private
493
+ */
494
+ _setPosition() {
495
+ const parent = this.settings.parent,
496
+ elm = this.domElement;
497
+
498
+ if(parent !== elm.parentNode) { parent.appendChild(elm); }
499
+
500
+ this._ifPopup((popup) => {
501
+
502
+ //Allow for absolute positioning of the picker popup:
503
+ if(getComputedStyle(parent).position === 'static') {
504
+ parent.style.position = 'relative';
505
+ }
506
+
507
+ const cssClass = (popup === true) ? 'popup_right' : 'popup_' + popup;
508
+
509
+ ['popup_top', 'popup_bottom', 'popup_left', 'popup_right'].forEach(c => {
510
+ //Because IE doesn't support .classList.toggle()'s second argument...
511
+ if(c === cssClass) {
512
+ elm.classList.add(c);
513
+ }
514
+ else {
515
+ elm.classList.remove(c);
516
+ }
517
+ });
518
+
519
+ //Allow for custom placement via CSS:
520
+ elm.classList.add(cssClass);
521
+ });
522
+ }
523
+
524
+
525
+ /*
526
+ * "Hub" for all color changes
527
+ *
528
+ * @private
529
+ */
530
+ _setHSLA(h, s, l, a, flags) {
531
+ flags = flags || {};
532
+
533
+ const col = this.colour,
534
+ hsla = col.hsla;
535
+
536
+ [h, s, l, a].forEach((x, i) => {
537
+ if(x || (x === 0)) { hsla[i] = x; }
538
+ });
539
+ col.hsla = hsla;
540
+
541
+ this._updateUI(flags);
542
+
543
+ if(this.onChange && !flags.silent) { this.onChange(col); }
544
+ }
545
+
546
+ _updateUI(flags) {
547
+ if(!this.domElement) { return; }
548
+ flags = flags || {};
549
+
550
+ const col = this.colour,
551
+ hsl = col.hsla,
552
+ cssHue = `hsl(${hsl[0] * HUES}, 100%, 50%)`,
553
+ cssHSL = col.hslString,
554
+ cssHSLA = col.hslaString;
555
+
556
+ const uiH = this._domH,
557
+ uiSL = this._domSL,
558
+ uiA = this._domA,
559
+ thumbH = $('.picker_selector', uiH),
560
+ thumbSL = $('.picker_selector', uiSL),
561
+ thumbA = $('.picker_selector', uiA);
562
+
563
+ function posX(parent, child, relX) {
564
+ child.style.left = (relX * 100) + '%'; //(parent.clientWidth * relX) + 'px';
565
+ }
566
+ function posY(parent, child, relY) {
567
+ child.style.top = (relY * 100) + '%'; //(parent.clientHeight * relY) + 'px';
568
+ }
569
+
570
+
571
+ /* Hue */
572
+
573
+ posX(uiH, thumbH, hsl[0]);
574
+
575
+ //Use the fully saturated hue on the SL panel and Hue thumb:
576
+ this._domSL.style.backgroundColor = this._domH.style.color = cssHue;
577
+
578
+
579
+ /* S/L */
580
+
581
+ posX(uiSL, thumbSL, hsl[1]);
582
+ posY(uiSL, thumbSL, 1 - hsl[2]);
583
+
584
+ //Use the opaque HSL on the SL thumb:
585
+ uiSL.style.color = cssHSL;
586
+
587
+
588
+ /* Alpha */
589
+
590
+ posY(uiA, thumbA, 1 - hsl[3]);
591
+
592
+ const opaque = cssHSL,
593
+ transp = opaque.replace('hsl', 'hsla').replace(')', ', 0)'),
594
+ bg = `linear-gradient(${[opaque, transp]})`;
595
+
596
+ //Let the Alpha slider fade from opaque to transparent:
597
+ this._domA.style.backgroundImage = bg + ', ' + BG_TRANSP;
598
+
599
+
600
+ /* Editable value */
601
+
602
+ //Don't update the editor if the user is typing.
603
+ //That creates too much noise because of our auto-expansion of 3/4/6 -> 8 digit hex codes.
604
+ if(!flags.fromEditor) {
605
+ const hex = col.hex;
606
+ this._domEdit.value = this.settings.alpha ? hex : hex.substr(0, 7);
607
+ }
608
+
609
+
610
+ /* Sample swatch */
611
+
612
+ this._domSample.style.color = cssHSLA;
613
+ }
614
+
615
+
616
+ _ifPopup(actionIf, actionElse) {
617
+ if(this.settings.parent && this.settings.popup) {
618
+ actionIf && actionIf(this.settings.popup);
619
+ }
620
+ else {
621
+ actionElse && actionElse();
622
+ }
623
+ }
624
+
625
+
626
+ _toggleDOM(toVisible) {
627
+ const dom = this.domElement;
628
+ if(!dom) { return false; }
629
+
630
+ const displayStyle = toVisible ? '' : 'none',
631
+ toggle = (dom.style.display !== displayStyle);
632
+
633
+ if(toggle) { dom.style.display = displayStyle; }
634
+ return toggle;
635
+ }
636
+
637
+
638
+ /*
639
+ //Feature: settings to flip hue & alpha 90deg (i.e. vertical or horizontal mode)
640
+
641
+
642
+ function createDragConfig(container, callbackRelative) {
643
+ const flipped = true;
644
+
645
+ function capRel(val) {
646
+ return (val < 0) ? 0
647
+ : (val > 1) ? 1 : val;
648
+ }
649
+
650
+ //Convert the px coordinates to relative coordinates (0-1) before invoking the callback:
651
+ function relayDrag(_, pos) {
652
+ const w = container.clientWidth,
653
+ h = container.clientHeight;
654
+
655
+ const relX = pos[0]/(flipped ? h : w),
656
+ relY = pos[1]/(flipped ? w : h);
657
+
658
+ callbackRelative(capRel(relX), capRel(relY));
659
+ }
660
+
661
+ const config = {
662
+ container: container,
663
+ //dragOutside: false,
664
+ callback: relayDrag,
665
+ callbackClick: relayDrag,
666
+ //Respond at once (mousedown), don't wait for click or drag:
667
+ callbackDragStart: relayDrag,
668
+ };
669
+ return config;
670
+ }
671
+ */
672
+
673
+ }
674
+
675
+
676
+ export default Picker;
app/extensions/fields/asset/vanilla-picker-master/src/picker.pug ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //- tabindex: See comment on .picker_wrapper in _components.scss
2
+ .picker_wrapper(tabindex=-1)
3
+
4
+ .picker_arrow
5
+
6
+ .picker_hue.picker_slider
7
+ .picker_selector
8
+
9
+ .picker_sl
10
+ .picker_selector
11
+
12
+ .picker_alpha.picker_slider
13
+ .picker_selector
14
+
15
+ .picker_editor
16
+ input(aria-label='Type a color name or hex value')
17
+
18
+ .picker_sample
19
+
20
+ .picker_done
21
+ button Ok
app/extensions/fields/asset/vanilla-picker-master/src/picker.scss ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+
2
+ body.roboGalleryFields #wpcontent div.roboGalleryFields div {
3
+ @import "css/globals";
4
+ @import "css/layout";
5
+ @import "css/components";
6
+ @import "css/popup";
7
+ @import "css/custom";
8
+ }
app/extensions/fields/config/index.html ADDED
File without changes
app/extensions/fields/config/main.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ return array(
14
+ "prefix"=> ROBO_GALLERY_PREFIX
15
+ );
app/extensions/fields/config/metabox/gallery_type.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ $type = rbsGalleryUtils::getTypeGallery();
14
+ $source = rbsGalleryUtils::getSourceGallery();
15
+
16
+ return array(
17
+ 'active' => true,
18
+ 'order' => 0,
19
+ 'settings' => array(
20
+ 'id' => 'robo-gallery-theme-type',
21
+ 'title' => __('Current Gallery Type', 'robo-gallery'),
22
+ 'screen' => array( ROBO_GALLERY_TYPE_POST ),
23
+ 'context' => 'normal',
24
+ 'priority' => 'high',
25
+ ),
26
+ 'view' => 'default',
27
+ 'state' => 'open',
28
+ 'content' => 'template::content/gallery_type/type' . ( $type ? '_'.$type : '' ),
29
+ 'fields' => array(
30
+ array(
31
+ 'type' => 'hidden',
32
+ 'view' => 'default',
33
+ 'name' => 'gallery_type',
34
+ 'default' => $type,
35
+ ),
36
+ array(
37
+ 'type' => 'hidden',
38
+ 'view' => 'default',
39
+ 'name' => 'gallery_type_source',
40
+ 'default' => $source,
41
+ ),
42
+ ),
43
+ );
44
+
45
+
app/extensions/fields/config/metabox/gallery_youtube.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ return array(
14
+ 'active' => true,
15
+ 'order' => 0,
16
+ 'settings' => array(
17
+ 'id' => 'robo-gallery-youtube',
18
+ 'title' => __('Youtube Gallery Settings', 'robo-gallery'),
19
+ 'screen' => array( ROBO_GALLERY_TYPE_POST ),
20
+ 'context' => 'normal',
21
+ 'for' => array( 'gallery_type' => array( 'youtube', 'youtubepro' ) ),
22
+ 'priority' => 'high',
23
+ ),
24
+ 'view' => 'default',
25
+ 'content' =>
26
+ !get_option(ROBO_GALLERY_PREFIX.'youtubeApiKey', '' ) ?
27
+ sprintf(
28
+ '<div class="youtube-block-overlay"> <div> %s <a href="%s" target="_blank">%s</a> %s </div> </div>',
29
+ __('Please follow', 'robo-gallery'),
30
+ admin_url( 'edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=youtube'),
31
+ __('this link', 'robo-gallery'),
32
+ __('and set youtube API key', 'robo-gallery')
33
+ )
34
+ :
35
+ ''
36
+ ,
37
+ 'state' => 'open',
38
+ 'style' => null,
39
+ 'fields' => array(
40
+ array(
41
+ 'type' => 'select',
42
+ 'view' => 'default',
43
+ 'is_lock' => false,
44
+ 'name' => 'galleryYoutubeType',
45
+ 'default' => 'ids',
46
+ 'label' => 'Youtube Content Mode',
47
+ 'contentAfterBlock' =>
48
+ '<div class="row">
49
+ <div class="content small-12 columns text-center" >'.
50
+ ( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( '+ ' . __('Add Youtube Channel & Playlist add-on', 'robo-gallery') ) )
51
+ .' </div>
52
+ </div>',
53
+ 'contentAfter' =>
54
+ sprintf(
55
+ '<p>%s</p>
56
+ <p><strong>%s</strong> %s</p>
57
+ <p><strong>%s</strong> %s</p>
58
+ <p><strong>%s</strong> %s</p>',
59
+ __('Here you can setup youtube gallery in two simple steps. Select value for youtube content mode and after that youtube content ids for the videos, youtube playlist or youtube channel', 'robo-gallery'),
60
+ __('Channel', 'robo-gallery'),
61
+ __('- mode import videos from youtube channels. You just need to specify id(s) of the required youtube channels in the field below.', 'robo-gallery'),
62
+ __('Playlist', 'robo-gallery'),
63
+ __(' - mode import videos from youtube playlists. You just need to specify id(s) of the required youtube playlists in the field below.', 'robo-gallery'),
64
+ __('Videos by ID', 'robo-gallery'),
65
+ __('- mode import all youtube videos with IDs from the field below.', 'robo-gallery')
66
+ ),
67
+ 'options' => array(
68
+ 'column' => '12 medium-6',
69
+ 'disabled' => ROBO_GALLERY_TYR ? array() : array( 'channel', 'playlist' ),
70
+ 'values' => array(
71
+ 'channel' => __( 'Channel', 'robo-gallery' ),
72
+ //'user' => __( 'User videos', 'robo-gallery' ),
73
+ 'playlist' => __( 'Playlist ', 'robo-gallery' ),
74
+ 'ids' => __( 'Videos by ID', 'robo-gallery' ),
75
+ ),
76
+ ),
77
+ ),
78
+
79
+ array(
80
+ 'type' => 'textarea',
81
+
82
+ 'view' => 'default',
83
+ // 'view' => 'group',
84
+ 'name' => 'galleryYoutubeValue',
85
+ 'label'=> __( 'Youtube Content IDs', 'robo-gallery' ),
86
+ 'description' =>
87
+ sprintf(
88
+ '%s <a href="%s" target="_blank">%s</a> %s',
89
+ __('Please follow', 'robo-gallery'),
90
+ admin_url( 'edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=youtube'),
91
+ __('this link', 'robo-gallery'),
92
+ __('and set youtube API key', 'robo-gallery')
93
+ ),
94
+
95
+ 'default' => "fI3uYOlUbo4, \n m9XIeqMnhYI, \n svr_4Fuq9RM, \n-CuGOo7XRmQ",//'UCy1PU1Tk6zX9Ipz64v-BpKA',
96
+ 'attributes' => array(
97
+ 'rows' => 5,
98
+ 'cols' => 8
99
+ ),
100
+ 'options' => array(
101
+ 'column' => '12 medium-8 large-8',
102
+ 'columnWrap' => '12',
103
+ ),
104
+ ),
105
+
106
+ ),
107
+ );
108
+
app/extensions/fields/config/metabox/image.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ return array(
14
+ 'active' => true,
15
+ 'order' => 1,
16
+ 'settings' => array(
17
+ 'id' => 'robo_gallery_field_images_ver2',
18
+ 'title' => __('Images', 'robo-gallery'),
19
+ 'screen' => array( ROBO_GALLERY_TYPE_POST ),
20
+ 'for' => array( 'gallery_type' => array(
21
+ 'grid',
22
+ 'gridpro',
23
+
24
+ 'masonry',
25
+ 'masonrypro',
26
+
27
+ 'mosaic',
28
+ 'mosaicpro',
29
+
30
+ 'polaroid',
31
+ 'polaroidpro',
32
+
33
+ 'wallstylepro',
34
+
35
+ ''
36
+ )
37
+ ),
38
+ 'context' => 'normal',
39
+ 'priority' => 'high',
40
+ 'callback_args' => null,
41
+ ),
42
+ 'view' => 'default',
43
+ 'state' => 'open',
44
+ 'style' => null,
45
+ 'fields' => array(
46
+ array(
47
+ 'type' => 'text',
48
+ 'view' => 'images',
49
+ 'is_lock' => false,
50
+ 'prefix' => null,
51
+ 'name' => 'galleryImages',
52
+ 'default' => '',
53
+ ),
54
+
55
+ )
56
+ );
app/extensions/fields/config/metabox/index.html ADDED
File without changes
app/extensions/fields/config/metabox/update_notice.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ if( !ROBO_GALLERY_TYR || rbsGalleryUtils::compareVersion('2.0') ) return array();
14
+
15
+ return array(
16
+ 'active' => true,
17
+ 'order' => 1,
18
+ 'settings' => array(
19
+ 'id' => 'robo_gallery_update_notice',
20
+ 'title' => __('Update license key file', 'robo-gallery'),
21
+ 'screen' => array( ROBO_GALLERY_TYPE_POST ),
22
+ 'context' => 'normal',
23
+ 'priority' => 'high',
24
+ ),
25
+ 'view' => 'default',
26
+ 'state' => 'open',
27
+ 'content' => sprintf(
28
+ '<div class="label warning large-12 columns robo-update-key-message">
29
+ <h6>
30
+ <strong>%s</strong><br/>
31
+ %s
32
+ </h6>
33
+ </div>
34
+ %s',
35
+ __('Please update license key to the latest version.', 'robo-gallery'),
36
+ __('With latest version of the license key you get access to the full list of the latest functionality of the plugin.', 'robo-gallery'),
37
+ rbsGalleryUtils::getUpdateButton( __('Update license key', 'robo-gallery') )
38
+ )
39
+ );
app/extensions/fields/include/index.html ADDED
File without changes
app/extensions/fields/include/roboGalleryFields.php ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFields{
14
+
15
+ protected static $instance;
16
+
17
+ protected $config;
18
+
19
+ protected function __construct(){
20
+ $this->config = new roboGalleryFieldsConfig();
21
+ }
22
+
23
+ public static function getInstance(){
24
+ if (!self::$instance) {
25
+ self::$instance = new self();
26
+ }
27
+ return self::$instance;
28
+ }
29
+
30
+ public function init(){
31
+ add_action('init', array($this, 'addMetaBoxes'));
32
+ add_action('admin_enqueue_scripts', array($this, 'enqueueScripts'));
33
+ add_filter('admin_body_class', array($this, 'adminBodyClass'));
34
+ }
35
+
36
+ public function addMetaBoxes(){
37
+ foreach ((array)$this->config->get('metabox') as $name => $metaBoxConfig) {
38
+ new roboGalleryFieldsMetaBoxClass($metaBoxConfig);
39
+ }
40
+ }
41
+
42
+ public function enqueueScripts(){
43
+
44
+ $screen = get_current_screen();
45
+ if ('post' !== $screen->base) {
46
+ return;
47
+ }
48
+
49
+ /* CSS */
50
+ wp_enqueue_style( ROBO_GALLERY_ASSETS_PREFIX.'app-style', ROBO_GALLERY_FIELDS_URL . 'asset/core/css/app-style.css', array(), 1);
51
+
52
+ wp_enqueue_style( ROBO_GALLERY_ASSETS_PREFIX.'app-update-key', ROBO_GALLERY_FIELDS_URL . 'asset/fields/css/update.key.css', array(), 1);
53
+
54
+ wp_enqueue_style( ROBO_GALLERY_ASSETS_PREFIX.'color-pick', ROBO_GALLERY_FIELDS_URL . 'asset/vanilla-picker-master/src/picker.css', array(), 1);
55
+
56
+ wp_enqueue_style( ROBO_GALLERY_ASSETS_PREFIX.'help', ROBO_GALLERY_FIELDS_URL . 'asset/help/help.css', array(), 1);
57
+
58
+ /* JS */
59
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'foundation', ROBO_GALLERY_FIELDS_URL . 'asset/foundation/foundation.min.js', array('jquery'), false, true);
60
+
61
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'tinycolor', ROBO_GALLERY_FIELDS_URL . 'asset/tinycolor/dist/tinycolor-min.js', array(), false, false);
62
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'color-pick', ROBO_GALLERY_FIELDS_URL . 'asset/vanilla-picker-master/dist/vanilla-picker.min.js', array( ROBO_GALLERY_ASSETS_PREFIX.'tinycolor' ), false, false);
63
+
64
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'app', ROBO_GALLERY_FIELDS_URL . 'asset/core/js/app.js', array(ROBO_GALLERY_ASSETS_PREFIX.'foundation'), false, true);
65
+
66
+ /*wp_enqueue_script( 'jquery-ui-dialog' );
67
+ wp_enqueue_style( 'wp-jquery-ui-dialog' );
68
+
69
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'help', ROBO_GALLERY_FIELDS_URL . 'asset/help/help.js', array('jquery', 'jquery-ui-dialog'), false, true);
70
+ $translation_array = array(
71
+ 'close' => __( 'Close', 'robo-gallery' ),
72
+ 'title' => __( 'Robo Gallery :: Help', 'robo-gallery' ),
73
+ );
74
+ wp_localize_script( ROBO_GALLERY_ASSETS_PREFIX.'help', ROBO_GALLERY_PREFIX.'fields_help_i18', $translation_array );
75
+ */
76
+ //fields
77
+ // youtube
78
+ wp_enqueue_script( ROBO_GALLERY_ASSETS_PREFIX.'-field-type-youtube', ROBO_GALLERY_FIELDS_URL.'asset/fields/youtube/script.js', array(), ROBO_GALLERY_VERSION, false);
79
+ wp_enqueue_style ( ROBO_GALLERY_ASSETS_PREFIX.'-field-type-youtube', ROBO_GALLERY_FIELDS_URL.'asset/fields/youtube/style.css', array( ), '' );
80
+
81
+ }
82
+
83
+
84
+ public function adminBodyClass($classes){
85
+ return $classes . ' ' . ROBO_GALLERY_FIELDS_BODY_CLASS;
86
+ }
87
+
88
+ public function getConfig(){
89
+ return $this->config;
90
+ }
91
+ }
app/extensions/fields/include/roboGalleryFieldsAjax.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsAjax{
14
+
15
+ public $pref = 'wp_ajax_robo_gallery_';
16
+
17
+ public function __construct(){
18
+ $this->hook();
19
+ }
20
+
21
+ public function hook(){
22
+
23
+ if( rbsGalleryUtils::isAdminArea( $allowAjax = true ) ){
24
+ add_action( $this->pref.'get_images_from_ids', array($this, 'get_images_tags_from_ids') );
25
+ //add_action( $this->pref.'get_gallery_json', array($this, 'getGalleryListJson') );
26
+ }
27
+ //delete_option( 'yo_gallery_fields_voting1' );
28
+ //delete_option( 'yo_gallery_fields_feedback' );
29
+ //add_action('wp_ajax_yo_gallery_fields_saveoption', array( $this, 'saveOption') );
30
+ }
31
+
32
+ function get_images_tags_from_ids() {
33
+ $idStr = isset($_POST['idstring']) ? trim($_POST['idstring']) : '';
34
+ echo self::getImagesTagsFromIdsStr($idStr);;
35
+ wp_die();
36
+ }
37
+
38
+
39
+ public static function getImagesTagsFromIdsStr( $ids = '' ){
40
+ if( $ids == '' ) return '';
41
+
42
+ $idArray = explode(',', $ids);
43
+ if( is_array($idArray) && count($idArray) ) return self::getImagesTagsFromIds( $idArray );
44
+
45
+ return '';
46
+ }
47
+
48
+ public static function getImagesTagsFromIds( $ids = array() ){
49
+ $returnHtml = '';
50
+ for ($i=0; $i < count($ids); $i++) {
51
+ $returnHtml .= self::getImageTag($ids[$i]);
52
+ }
53
+ return $returnHtml;
54
+ }
55
+
56
+ public static function getImageTag( $id = 0 ){
57
+
58
+ $attachment_id = (int)$id;
59
+ if( $attachment_id == 0 ) return 'Error::empty input id';
60
+
61
+ $url = wp_get_attachment_thumb_url( $attachment_id );
62
+ if( $url ) return '<img src="'.$url.'" />';
63
+ return '';
64
+ }
65
+
66
+ public function saveOption(){
67
+ if(isset($_POST['feedback']) && $_POST['feedback']==1){
68
+ delete_option( 'yo_gallery_fields_feedback' );
69
+ add_option( 'yo_gallery_fields_feedback', '1' );
70
+ } else {
71
+ delete_option( 'yo_gallery_fields_voting1' );
72
+ add_option( 'yo_gallery_fields_voting1', '1' );
73
+ }
74
+ echo 'ok';
75
+ wp_die();
76
+ }
77
+
78
+ }
79
+ $fieldAjax = new roboGalleryFieldsAjax();
app/extensions/fields/include/roboGalleryFieldsConfig.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsConfig{
14
+
15
+ protected $config;
16
+
17
+ protected $reader;
18
+
19
+ public function __construct() {
20
+ $this->reader = new roboGalleryFieldsConfigReader();
21
+
22
+ $this->read();
23
+ }
24
+
25
+ protected function read(){
26
+
27
+ $files = self::getConfigFiles(ROBO_GALLERY_FIELDS_PATH_CONFIG);
28
+
29
+ foreach ($files as $configName => $filePath) {
30
+ preg_match('/\.([a-z0-9]+)$/', $filePath, $match);
31
+ $extension = isset($match[1]) ? $match[1] : null;
32
+ if (!$this->reader->isAllowExtension($extension)) {
33
+ continue;
34
+ }
35
+
36
+ $configData = $this->reader->read($filePath);
37
+
38
+ if (!is_array($configData)) {
39
+ throw new \Exception(sprintf( 'Wrong configuration %s', $filePath));
40
+ }
41
+ $this->set($configName, $configData);
42
+ }
43
+
44
+ if (empty($this->config)) {
45
+ throw new \Exception('Empty configuration');
46
+ }
47
+ }
48
+
49
+ protected function getConfigFiles($dir){
50
+ $files = array();
51
+
52
+ foreach (scandir($dir) as $file) {
53
+ if ('.' === $file || '..' === $file || 'unused'=== $file ) {
54
+ continue;
55
+ }
56
+
57
+ $path = $dir . $file;
58
+
59
+ if (is_file($path)) {
60
+ $configName = preg_replace('/\..*$/', '', $file);
61
+ $files[$configName] = $path;
62
+
63
+ continue;
64
+ }
65
+
66
+ if (is_dir($path)) {
67
+ $subFiles = $this->getConfigFiles("{$path}/");
68
+ foreach ($subFiles as $subConfigName => $subPath) {
69
+ $files["{$file}/{$subConfigName}"] = $subPath;
70
+ }
71
+ }
72
+ }
73
+
74
+ return $files;
75
+ }
76
+
77
+ protected function set($path, $value){
78
+ $pieces = explode('/', $path);
79
+ $lastPiece = array_pop($pieces);
80
+ $config = &$this->config;
81
+
82
+ foreach ($pieces as $piece) {
83
+ if (!isset($config[$piece]) || !is_array($config[$piece])) {
84
+ $config[$piece] = array();
85
+ }
86
+ $config = &$config[$piece];
87
+ }
88
+ $config[$lastPiece] = $value;
89
+ }
90
+
91
+ public function get($path){
92
+ $pieces = explode('/', $path);
93
+ $config = &$this->config;
94
+
95
+ foreach ($pieces as $piece) {
96
+ if (!isset($config[$piece])) {
97
+ return null;
98
+ }
99
+ $config = &$config[$piece];
100
+ }
101
+
102
+ return $config;
103
+ }
104
+ }
app/extensions/fields/include/roboGalleryFieldsConfig/index.html ADDED
File without changes
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsConfigReader implements roboGalleryFieldsConfigReaderInterface{
14
+
15
+ protected $allowedExtensions = array('json', 'php', 'xml', 'yml');
16
+
17
+ public function read($filePath){
18
+ if (!file_exists($filePath)) {
19
+ throw new Exception(sprintf( 'Configuration file is absent. File: %s.', $filePath));
20
+ }
21
+
22
+ preg_match('/\.([a-z0-9]+)$/', $filePath, $match);
23
+ $extension = isset($match[1]) ? $match[1] : null;
24
+ if (!in_array($extension, $this->allowedExtensions)) {
25
+ throw new Exception(sprintf( 'Wrong file extension. File: %s.', $filePath));
26
+ }
27
+
28
+ return $this->createReaderFormat($extension)->read($filePath);
29
+ }
30
+
31
+ protected function createReaderFormat($extension){
32
+ $readerFormatClass = __CLASS__ . ucfirst($extension);
33
+ require_once dirname(__FILE__) . "/{$readerFormatClass}.php";
34
+
35
+ return new $readerFormatClass();
36
+ }
37
+
38
+ public function isAllowExtension($extension){
39
+ return in_array($extension, $this->allowedExtensions);
40
+ }
41
+ }
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ interface roboGalleryFieldsConfigReaderInterface{
14
+ function read($filePath);
15
+ }
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsConfigReaderPhp implements roboGalleryFieldsConfigReaderInterface{
14
+
15
+ public function read($filePath){
16
+ return require $filePath;
17
+ }
18
+ }
app/extensions/fields/include/roboGalleryFieldsField/index.html ADDED
File without changes
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsField{
14
+
15
+ protected $postId;
16
+ protected $type;
17
+ protected $view;
18
+ protected $isLock;
19
+ protected $isNew;
20
+ protected $isHide;
21
+ protected $help;
22
+ protected $prefix;
23
+ protected $id;
24
+ protected $name;
25
+ protected $default;
26
+ protected $attributes;
27
+ protected $label;
28
+ protected $description;
29
+ protected $contentBefore;
30
+ protected $content;
31
+ protected $contentAfter;
32
+ protected $contentAfterBlock;
33
+ protected $cbSanitize;
34
+ protected $options;
35
+ protected $dependents;
36
+ protected $fields;
37
+ protected $isSubField = false;
38
+
39
+
40
+ final public function __construct($postId, array $settings){
41
+ $this->postId = $postId;
42
+ $this->setSettings($settings);
43
+ $this->initSubFields();
44
+ }
45
+
46
+
47
+ private function setSettings(array $settings){
48
+ // fill settings by default values
49
+ $settings = array_merge(
50
+ array(
51
+ 'type' => '',
52
+ 'view' => 'default',
53
+ 'is_lock' => false,
54
+ 'is_new' => false,
55
+ 'is_hide' => false,
56
+ 'is_sub_field' => false,
57
+ 'help' => '',
58
+ 'prefix' => null,
59
+ 'id' => null,
60
+ 'name' => '',
61
+ 'default' => null,
62
+ 'attributes' => array(),
63
+ 'label' => '',
64
+ 'description' => '',
65
+ 'contentBefore' => '',
66
+ 'content' => '',
67
+ 'contentAfter' => '',
68
+ 'contentAfterBlock' => '',
69
+ 'cb_sanitize' => '',
70
+ 'options' => array(),
71
+ 'fields' => array(),
72
+ ),
73
+ $settings
74
+ );
75
+
76
+ $this->type = is_string($settings['type']) ? $settings['type'] : null;
77
+ $this->view = is_string($settings['view']) ? $settings['view'] : null;
78
+ $this->isLock = (bool) $settings['is_lock'];
79
+ $this->isNew = (bool) $settings['is_new'];
80
+ $this->isHide = (bool) $settings['is_hide'];
81
+ $this->help = is_string($settings['help']) ? $settings['help'] : null;
82
+ $this->prefix = null == $settings['prefix']
83
+ ? roboGalleryFields::getInstance()->getConfig()->get('main/prefix')
84
+ : (is_string($settings['prefix']) ? $settings['prefix'] : null);
85
+ $this->id = $settings['id'] ? esc_attr($settings['id']) : self::randId();
86
+ $this->name = is_string($settings['name']) ? $settings['name'] : null;
87
+ $this->default = $settings['default'];
88
+ $this->attributes = is_array($settings['attributes']) ? $settings['attributes'] : array();
89
+ $this->label = is_string($settings['label']) ? $settings['label'] : null;
90
+ $this->description = is_string($settings['description']) ? $settings['description'] : null;
91
+ $this->contentBefore = is_string($settings['contentBefore']) ? $settings['contentBefore'] : null;
92
+ $this->content = is_string($settings['content']) ? $settings['content'] : null;
93
+ $this->contentAfter = is_string($settings['contentAfter']) ? $settings['contentAfter'] : null;
94
+ $this->contentAfterBlock = is_string($settings['contentAfterBlock']) ? $settings['contentAfterBlock'] : null;
95
+ $this->cbSanitize = is_string($settings['cb_sanitize']) ? $settings['cb_sanitize'] : null;
96
+ $this->options = array_merge(
97
+ $this->getDefaultOptions(),
98
+ is_array($settings['options']) ? $settings['options'] : array()
99
+ );
100
+ $this->dependents = isset($settings['dependents']) && is_array($settings['dependents'])
101
+ ? $settings['dependents']
102
+ : array();
103
+ $this->fields = is_array($settings['fields']) && !empty($settings['fields']) ? $settings['fields'] : null;
104
+
105
+ }
106
+
107
+
108
+ private function initSubFields(){
109
+ if ($this->fields) {
110
+ foreach ($this->fields as $key => $subFieldSettings) {
111
+ $subFieldSettings['is_lock'] = $this->isLock;
112
+ $subFieldSettings['prefix'] = $this->prefix . $this->name;
113
+
114
+ $field = roboGalleryFieldsFieldFactory::createField($this->postId, $subFieldSettings);
115
+ $field->isSubField = true;
116
+ $this->fields[$key] = $field;
117
+ }
118
+ }
119
+ }
120
+
121
+
122
+ final public function get($name){
123
+ return isset($this->$name) ? $this->$name : null;
124
+ }
125
+
126
+
127
+ final public function content($value){
128
+ return $this->fields ? $this->contentSubFields($value) : $this->contentField($value);
129
+ }
130
+
131
+
132
+ private function contentElements($data){
133
+ $view = new roboGalleryFieldsView();
134
+ if($data['label']){
135
+ $data['label'] = $view->content("element/label".($data['help']?'.tooltip':''), $data);
136
+ }
137
+ return $data;
138
+ }
139
+
140
+ private function contentField($value){
141
+ $view = new roboGalleryFieldsView();
142
+ $data = $this->getData($value);
143
+
144
+ $data = $this->contentElements($data);
145
+
146
+ return $view->content("field/{$this->type}/{$this->view}", $data );
147
+ }
148
+
149
+ private function contentSubFields($values){
150
+ $view = new roboGalleryFieldsView();
151
+ $data = $this->getData($values);
152
+
153
+ $data = $this->contentElements($data);
154
+
155
+ if ($this->fields) {
156
+ $data['fields'] = array();
157
+ foreach ($this->fields as $key => $subField) {
158
+ /** @var roboGalleryFieldsField $subField */
159
+ $subFieldValue = isset($values[$subField->name]) ? $values[$subField->name] : null;
160
+
161
+ $data['fields'][$key] = $subField->content($subFieldValue);
162
+ }
163
+ $data['fields'] = implode("\n", $data['fields']);
164
+ }
165
+
166
+ return $view->content("field/{$this->type}/{$this->view}", $data);
167
+ }
168
+
169
+ public function getData($value = null){
170
+ $data = array(
171
+ 'type' => $this->type,
172
+ 'view' => $this->view,
173
+ 'is_lock' => $this->isLock,
174
+ 'is_new' => $this->isNew,
175
+ 'is_hide' => $this->isHide,
176
+ 'is_sub_field' => $this->isSubField,
177
+ 'help' => $this->help,
178
+ 'id' => $this->id,
179
+ 'name' => $this->isSubField
180
+ ? "{$this->prefix}[{$this->name}]"
181
+ : "{$this->prefix}{$this->name}",
182
+ 'value' => null === $value ? $this->default : $this->normalize($value),
183
+ 'default' => $this->default,
184
+ 'attributes' => array(),
185
+ 'label' => $this->label,
186
+ 'description' => $this->description,
187
+ 'contentBefore' => $this->contentBefore,
188
+ 'content' => $this->content,
189
+ 'contentAfter' => $this->contentAfter,
190
+ 'contentAfterBlock' => $this->contentAfterBlock,
191
+ 'options' => $this->options,
192
+ 'dependents' => array(),
193
+ 'fields' => null,
194
+ );
195
+
196
+ if ($this->isLock) {
197
+ //$data['name'] = null;
198
+ //$data['value'] = null;
199
+ }
200
+
201
+ foreach ($this->attributes as $attrName => $attrValue) {
202
+ $attrValue = is_array($attrValue)
203
+ ? implode(' ', array_map('esc_attr', $attrValue))
204
+ : esc_attr($attrValue);
205
+
206
+ if($attrValue!=null)
207
+ $data['attributes'][$attrName] = sprintf('%s="%s"', $attrName, $attrValue);
208
+ }
209
+ $data['attributes'] = implode(' ', $data['attributes']);
210
+
211
+ foreach ($this->dependents as $value => $actions) {
212
+ if (!is_array($actions)) {
213
+ $data['dependents'][$value] = array();
214
+ continue;
215
+ }
216
+
217
+ foreach ($actions as $action => $selectors) {
218
+ if (is_array($selectors)) {
219
+ $data['dependents'][$value][$action] = array_map('esc_attr', $selectors);
220
+ } else {
221
+ $data['dependents'][$value][$action] = array();
222
+ }
223
+ }
224
+ }
225
+ $data['dependents'] = json_encode($data['dependents']);
226
+
227
+ return $data;
228
+ }
229
+
230
+
231
+ final public function save($value){
232
+ if (null === $this->name) {
233
+ return;
234
+ }
235
+
236
+ if ($this->fields) {
237
+ $normalizedValue = array();
238
+ foreach( $this->fields as $subField ) {
239
+ $subValue = isset($value[$subField->name]) ? $value[$subField->name] : null;
240
+ $normalizedValue[$subField->name] = $subField->normalize($subValue);
241
+ }
242
+ } else {
243
+ $normalizedValue = $this->normalize($value);
244
+ }
245
+
246
+ update_post_meta($this->postId, "{$this->prefix}{$this->name}", $normalizedValue);
247
+ }
248
+
249
+
250
+ final public static function randId(){
251
+ $codeAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
252
+ $codeAlphabet.= "abcdefghijklmnopqrstuvwxyz";
253
+ $codeAlphabet.= "0123456789";
254
+ $max = strlen($codeAlphabet) - 1;
255
+ $length = 10;
256
+ $token = "";
257
+
258
+ for ($i=0; $i < $length; $i++) {
259
+ $token .= $codeAlphabet[mt_rand(0, $max)];
260
+ }
261
+
262
+ return $token;
263
+ }
264
+
265
+
266
+ protected function getDefaultOptions(){
267
+ return array();
268
+ }
269
+
270
+
271
+ protected function normalize($value){
272
+ if ($this->cbSanitize && is_callable($this->cbSanitize)) {
273
+ $value = call_user_func($this->cbSanitize, $value);
274
+ }
275
+ return $value;
276
+ }
277
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldCheckbox extends roboGalleryFieldsField{
14
+
15
+ protected function normalize($value){
16
+ $value = parent::normalize($value);
17
+ return $value ? 1 : 0;
18
+ }
19
+
20
+ protected function getDefaultOptions(){
21
+ return array(
22
+ 'size' => 'large',
23
+ 'onLabel' => __('On', 'robo-gallery'),
24
+ 'offLabel' => __('Off', 'robo-gallery'),
25
+ );
26
+ }
27
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+
14
+ class roboGalleryFieldsFieldCheckboxGroup extends roboGalleryFieldsField{
15
+
16
+ protected function normalize($values){
17
+ if (!is_array($values)) {
18
+ $values = array();
19
+ }
20
+
21
+ foreach ($values as $name => $value) {
22
+ $value = parent::normalize($value);
23
+ $values[$name] = $value ? 1 : 0;
24
+ }
25
+
26
+ return $values;
27
+ }
28
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldCheckboxGroupButton extends roboGalleryFieldsFieldCheckboxGroup{
14
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldCheckboxGroupSwitch extends roboGalleryFieldsFieldCheckboxGroup{
14
+
15
+ protected function getDefaultOptions(){
16
+ return array(
17
+ 'size' => 'large',
18
+ 'onLabel' => __('On', 'robo-gallery'),
19
+ 'offLabel' => __('Off', 'robo-gallery'),
20
+ );
21
+ }
22
+
23
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldGalleryType extends roboGalleryFieldsField{
14
+
15
+ protected function getDefaultOptions(){
16
+ return array(
17
+ 'content' => '',
18
+ );
19
+ }
20
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldHtml extends roboGalleryFieldsField{
14
+
15
+ protected function getDefaultOptions(){
16
+ return array(
17
+ 'content' => '',
18
+ );
19
+ }
20
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldSelectMultiple extends roboGalleryFieldsField{
14
+
15
+ protected function normalize($values){
16
+ if (!is_array($values)) {
17
+ $values = array();
18
+ }
19
+
20
+ foreach ($values as $key => $value) {
21
+ $values[$key] = parent::normalize($value);
22
+ }
23
+
24
+ return $values;
25
+ }
26
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+
14
+ class roboGalleryFieldsFieldText extends roboGalleryFieldsField{
15
+
16
+ protected function getDefaultOptions(){
17
+ return array(
18
+ 'textBefore' => '',
19
+ 'textAfter' => '',
20
+ );
21
+ }
22
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+
14
+ class roboGalleryFieldsFieldTextColor extends roboGalleryFieldsField{
15
+ const FORMAT_RGB = 'rgb';
16
+ const FORMAT_RGBA = 'rgba';
17
+ const FORMAT_HEX = 'hex';
18
+
19
+ const REGULAR_RGB = '/rgb\( ?[0-9]{1,3} ?, ?[0-9]{1,3} ?, ?[0-9]{1,3} ?\)/i';
20
+ const REGULAR_RGBA = '/rgba\( ?[0-9]{1,3} ?, ?[0-9]{1,3} ?, ?[0-9]{1,3} ?, ?(0|1|1.0|0.0|(0?)\.([0-9]{1,3})) ?\)/i';
21
+ const REGULAR_HEX = '/#[0-9a-f]{6}/i';
22
+
23
+ protected function normalize($value){
24
+
25
+ $format = isset($this->options['color-format']) ? $this->options['color-format'] : self::FORMAT_HEX ;
26
+
27
+ $value = parent::normalize($value);
28
+
29
+ if( isset($this->options['alpha']) && $this->options['alpha'] ) $format = self::FORMAT_RGBA;
30
+
31
+ switch ($format) {
32
+
33
+ case self::FORMAT_RGBA:
34
+ return preg_match( self::REGULAR_RGBA, $value) || preg_match( self::REGULAR_RGB , $value) || preg_match( self::REGULAR_HEX , $value)
35
+ ? $value
36
+ : null;
37
+ case self::FORMAT_HEX:
38
+ case self::FORMAT_RGB:
39
+ return preg_match( self::REGULAR_RGBA , $value) || preg_match( self::REGULAR_RGB , $value) || preg_match( self::REGULAR_HEX , $value)
40
+ ? $value
41
+ : null;
42
+ default:
43
+ return null;
44
+ }
45
+ }
46
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextImages.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class roboGalleryFieldsFieldTextImages extends roboGalleryFieldsField{
4
+ protected function normalize($values){
5
+ $values = parent::normalize($values);
6
+
7
+ if( !is_array($values) ){
8
+ $values = trim($values);
9
+
10
+ if( is_string($values) && $values!='' ){
11
+ $values = explode(',', $values);
12
+ } else {
13
+ $values = array();
14
+ }
15
+
16
+ }
17
+
18
+ return $values;
19
+ }
20
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldTextSlider extends roboGalleryFieldsField{
14
+
15
+ protected function getDefaultOptions(){
16
+ return array(
17
+ 'textBefore' => '',
18
+ 'textAfter' => '',
19
+ 'data-start' => 0,
20
+ 'data-end' => 100,
21
+ 'step' => 1
22
+ );
23
+ }
24
+
25
+ protected function normalize($value){
26
+ $min = isset($this->options['data-start']) ? $this->options['data-start'] : 0;
27
+ $max = isset($this->options['data-end']) ? $this->options['data-end'] : 100;
28
+ $step = isset($this->options['step']) ? absint($this->options['step']) : 1;
29
+
30
+ $value = parent::normalize($value);
31
+
32
+ if ($value < $min) {
33
+ $value = $min;
34
+ }
35
+ if ($value > $max) {
36
+ $value = $max;
37
+ }
38
+ if ($remainder = $value % $step) {
39
+ $value = max($min, $value - $remainder);
40
+ }
41
+
42
+ return $value;
43
+ }
44
+ }
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldThemes extends roboGalleryFieldsField{
14
+
15
+
16
+ public function getData($value = null){
17
+ $data = parent::getData($value);
18
+ $data['themes'] = $this->getThemes( $data );
19
+ return $data;
20
+ }
21
+
22
+ protected function getThemes($values){
23
+
24
+ $args = array(
25
+
26
+ 'posts_per_page' => 99,
27
+ /* 'offset' => 0,
28
+ 'category' => '',
29
+ 'category_name' => '',*/
30
+ 'orderby' => 'title',
31
+ 'order' => 'asc',
32
+ /* 'include' => '',
33
+ 'exclude' => '',
34
+ 'meta_key' => '',
35
+ 'meta_value' => '',*/
36
+ 'post_type' => ROBO_GALLERY_THEME_POST,
37
+ /* 'post_mime_type' => '',
38
+ 'post_parent' => '',
39
+ 'author' => '',
40
+ 'author_name' => '',*/
41
+ 'post_status' => 'publish',
42
+ 'suppress_filters' => true
43
+
44
+ );
45
+ $themes = get_posts($args);
46
+
47
+ if( !count($themes) ) $themes =array();
48
+
49
+ return $themes;
50
+ }
51
+ }
app/extensions/fields/include/roboGalleryFieldsFieldFactory.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsFieldFactory{
14
+
15
+ const DEFAULT_CLASS_FIELD = 'roboGalleryFieldsField';
16
+
17
+ protected function __construct() {}
18
+ protected function __clone() {}
19
+
20
+ public static function createField($postId, array $settings){
21
+
22
+ if (empty($settings['type'])) {
23
+ throw new Exception('Empty field type');
24
+ }
25
+
26
+ /* if($settings['type']=='skip') return ;*/
27
+
28
+ if (empty($settings['view'])) {
29
+ throw new Exception('Empty field view');
30
+ }
31
+
32
+ $type = ucfirst(preg_replace_callback(
33
+ '/(?:-|_)([a-z0-9])/i',
34
+ function($matches) {
35
+ return strtoupper($matches[1]);
36
+ },
37
+ $settings['type']
38
+ ));
39
+ $view = ucfirst(preg_replace_callback(
40
+ '/(?:-|_|\/)([a-z0-9])/i',
41
+ function($matches) {
42
+ return strtoupper($matches[1]);
43
+ },
44
+ $settings['view']
45
+ ));
46
+ $classesChain = array(
47
+ self::DEFAULT_CLASS_FIELD . $type . $view,
48
+ self::DEFAULT_CLASS_FIELD . $type,
49
+ self::DEFAULT_CLASS_FIELD
50
+ );
51
+
52
+ require_once ROBO_GALLERY_FIELDS_PATH_FIELD . 'roboGalleryFieldsField.php';
53
+ require_once ROBO_GALLERY_FIELDS_PATH_FIELD . 'roboGalleryFieldsFieldCheckboxGroup.php';
54
+ foreach ($classesChain as $className) {
55
+ if (file_exists(ROBO_GALLERY_FIELDS_PATH_FIELD . "{$className}.php")) {
56
+ require_once ROBO_GALLERY_FIELDS_PATH_FIELD . "{$className}.php";
57
+ return new $className($postId, $settings);
58
+ }
59
+ }
60
+ throw new Exception("Can't find field class");
61
+ }
62
+ }
app/extensions/fields/include/roboGalleryFieldsHelper.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsHelper{
14
+
15
+ public static function addField( $fileName, $dirName = '' ){
16
+
17
+ if( !$fileName ) return array('type' => 'skip');
18
+
19
+ if( !$dirName ) $dirName = ROBO_GALLERY_FIELDS_SUB_FIELDS;
20
+
21
+ if( !file_exists($dirName.$fileName) ) return array('type' => 'skip');
22
+
23
+ return include $dirName.$fileName;
24
+ }
25
+
26
+
27
+ public static function addFields( $fileName, $dirName = '' ){
28
+ if( !$fileName ) return array();
29
+
30
+ if( !$dirName ) $dirName = ROBO_GALLERY_FIELDS_PATH_CONFIG.'metabox/';
31
+
32
+ if( !file_exists($dirName.$fileName) ) return array();
33
+
34
+ return include $dirName.$fileName;
35
+ }
36
+
37
+
38
+ public static function addExtFields( $fileName, $dirName = '' ){
39
+
40
+ if( !ROBO_GALLERY_TYR ) return array();
41
+
42
+ if( !$dirName ) $dirName = ROBO_GALLERY_KEY_PATH_DIR.'fields/';
43
+
44
+ return self::addFields( $fileName, $dirName );
45
+ }
46
+
47
+ public static function addDependOptions( $fileName, $fileExtName, $dirName = '' , $dirExtName = '' ){
48
+
49
+ if( ROBO_GALLERY_TYR ){
50
+ if(!$dirExtName) $dirExtName = ROBO_GALLERY_KEY_PATH_DIR.'fields/';
51
+ return self::addFields( $fileExtName, $dirExtName );
52
+ }
53
+
54
+ return self::addFields( $fileName, $dirName );
55
+ }
56
+
57
+
58
+ public static function addDependField( $fileName, $fileExtName, $dirName = '' , $dirExtName = '' ){
59
+
60
+ if( ROBO_GALLERY_TYR ){
61
+ if(!$dirExtName) $dirExtName = ROBO_GALLERY_KEY_PATH_DIR.'fields/subfields/';
62
+ return self::addField( $fileExtName, $dirExtName );
63
+ }
64
+
65
+ return self::addField( $fileName, $dirName );
66
+ }
67
+
68
+
69
+
70
+ }
app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsMetaBoxClass{
14
+
15
+ const STATE_OPEN = 'open';
16
+
17
+ const STATE_CLOSE = 'close';
18
+
19
+ protected $settings;
20
+
21
+ protected $postID = null;
22
+
23
+ protected $isNew = null;
24
+
25
+ public function __construct(array $settings) {
26
+
27
+ $this->initPostStatus();
28
+
29
+ $this->settings = array_merge(
30
+ array(
31
+ 'active' => true,
32
+ 'order' => 0,
33
+ 'settings' => array(),
34
+ 'view' => 'default',
35
+ 'fields' => array(),
36
+
37
+ 'content' => '',
38
+ 'contentBefore' => '',
39
+ 'contentAfter' => '',
40
+ ),
41
+ $settings
42
+ );
43
+ // array_merge doesn't merge recursively, that's why merge settings separately
44
+ $this->settings['settings'] = array_merge(
45
+ array(
46
+ 'id' => '',
47
+ 'title' => '',
48
+ 'screen' => array(),
49
+ 'for' => array(),
50
+ 'context' => 'advanced',
51
+ 'priority' => 'default',
52
+ 'callback_args' => null
53
+ ),
54
+ $this->settings['settings']
55
+ );
56
+
57
+ if (!is_array($this->settings['settings']['screen'])) {
58
+ $this->settings['settings']['screen'] = array( $this->settings['settings']['screen'] );
59
+ }
60
+
61
+ $this->deleteSkipFields();
62
+
63
+ /*echo "------------------------------\n";
64
+ print_r( $this->settings );
65
+ echo "==============================\n";*/
66
+
67
+ if ( $this->settings['active'] && $this->calcActiveState() ) {
68
+ add_action('add_meta_boxes', array($this, 'registration'), absint($this->settings['order']));
69
+ add_action('user_register', array($this, 'setDefaultState') );
70
+ add_action('save_post', array($this, 'save') );
71
+ }
72
+ }
73
+
74
+ public function deleteSkipFields(){
75
+ if (is_array($this->settings['fields'])) {
76
+ foreach ($this->settings['fields'] as $key => $fieldSettings) {
77
+ if( isset($fieldSettings['type']) && $fieldSettings['type'] =='skip' ) unset( $this->settings['fields'][$key] );
78
+ }
79
+ }
80
+ }
81
+
82
+ public function initPostStatus(){
83
+
84
+ if( isset($_REQUEST['post']) && (int) $_REQUEST['post'] ){
85
+ $this->postID = (int) $_REQUEST['post'];
86
+ $this->isNew = false;
87
+ }
88
+
89
+ if( !$this->postID && isset($_REQUEST['post_ID']) && (int) $_REQUEST['post_ID'] ){
90
+ $this->postID = (int) $_REQUEST['post_ID'];
91
+ $this->isNew = true;
92
+ }
93
+ }
94
+
95
+ public function calcActiveState( $postId = 0 ){
96
+ $result = true;
97
+
98
+ if ( !is_array($this->settings['settings']['for']) ){
99
+ $this->settings['settings']['for'] = array( $this->settings['settings']['for'] );
100
+ }
101
+
102
+ if( is_array($this->settings['settings']['for']) && count($this->settings['settings']['for']) ){
103
+ $result = false;
104
+
105
+ foreach ( $this->settings['settings']['for'] as $fieldName => $fieldValueList) {
106
+
107
+ if(!is_array($fieldValueList)) {
108
+ $fieldValueList = array( $fieldValueList );
109
+ }
110
+
111
+ //echo
112
+ $fieldValue = $this->getForFieldValue($fieldName);
113
+ if( in_array($fieldValue, $fieldValueList) ) $result = true;
114
+ }
115
+ }
116
+
117
+ return $result;
118
+ }
119
+
120
+ public function getSanitizing($value){
121
+ return preg_replace( '/[^a-z]/i', '', trim( $value ) );
122
+ }
123
+
124
+ public function getForFieldValue($field){
125
+ $value = null;
126
+
127
+ if($this->postID){
128
+
129
+ if( $this->isNew ){
130
+ $value = isset($_REQUEST[ROBO_GALLERY_PREFIX.$field]) ? $this->getSanitizing($_REQUEST[ROBO_GALLERY_PREFIX.$field]) : '';
131
+ } else {
132
+ $value = get_post_meta( $this->postID, ROBO_GALLERY_PREFIX.$field, true );
133
+ }
134
+
135
+ } else {
136
+ $value = isset($_REQUEST[ROBO_GALLERY_PREFIX.$field]) && $_REQUEST[ROBO_GALLERY_PREFIX.$field] ? $this->getSanitizing( $_REQUEST[ROBO_GALLERY_PREFIX.$field] ) : '';
137
+ }
138
+
139
+ return $value;
140
+ }
141
+
142
+ public function registration(){
143
+ add_meta_box(
144
+ $this->settings['settings']['id'],
145
+ $this->settings['settings']['title'],
146
+ array($this, 'render'),
147
+ $this->settings['settings']['screen'],
148
+ $this->settings['settings']['context'],
149
+ $this->settings['settings']['priority'],
150
+ $this->settings['settings']['callback_args']
151
+ );
152
+ }
153
+
154
+ public function setDefaultState($userId){
155
+
156
+ foreach ($this->settings['settings']['screen'] as $screen) {
157
+ $optionName = "closedpostboxes_{$screen}";
158
+ $closedMetaBox = get_user_meta($userId, $optionName, true);
159
+ $closedMetaBox = $closedMetaBox ? $closedMetaBox : array();
160
+
161
+ if (self::STATE_OPEN === $this->settings['state']) {
162
+ $keyMetaBox = array_search($this->settings['settings']['id'], $closedMetaBox);
163
+ if (false !== $keyMetaBox) {
164
+ unset($closedMetaBox[$keyMetaBox]);
165
+ }
166
+ } elseif (self::STATE_CLOSE == $this->settings['state']) {
167
+ $closedMetaBox[] = $this->settings['settings']['id'];
168
+ $closedMetaBox = array_unique($closedMetaBox);
169
+ }
170
+
171
+ update_user_meta($userId, $optionName, $closedMetaBox);
172
+ }
173
+ }
174
+
175
+ public function render(WP_Post $post){
176
+
177
+ $view = new roboGalleryFieldsView();
178
+ $postMeta = get_post_meta($post->ID);
179
+ $settings = $this->settings;
180
+ $templatingFields = array('contentBefore', 'content', 'contentAfter');
181
+ $nonce = '';
182
+
183
+ foreach ($templatingFields as $templatingField) {
184
+ if (!empty($settings[$templatingField])) {
185
+ if (0 === strpos($settings[$templatingField], 'template::')) {
186
+ $template = str_replace('template::', '', $settings[$templatingField]);
187
+ $settings[$templatingField] = $view->content($template);
188
+ }
189
+ }
190
+ }
191
+
192
+ if (is_array($settings['fields'])) {
193
+ foreach ($settings['fields'] as $key => $fieldSettings) {
194
+ $field = roboGalleryFieldsFieldFactory::createField($post->ID, $fieldSettings);
195
+ $fieldName = $field->get('prefix') && $field->get('name')
196
+ ? $field->get('prefix') . $field->get('name')
197
+ : $field->get('name');
198
+ $fieldValue = isset($postMeta[$fieldName])
199
+ ? reset($postMeta[$fieldName]) // get single meta
200
+ : $field->get('default');
201
+ $fieldValue = is_serialized($fieldValue) ? unserialize($fieldValue) : $fieldValue;
202
+
203
+ $settings['fields'][$key] = $this->getFieldData($field, $fieldValue);
204
+ $nonce .= $field->get('name');
205
+ }
206
+ }
207
+
208
+ $nonceField = $this->createNonceField();
209
+ $settings['fields'][] = $this->getFieldData($nonceField, wp_create_nonce($nonce));
210
+
211
+ $view->render("metabox/{$this->settings['view']}", $settings);
212
+ }
213
+
214
+ protected function getFieldData(roboGalleryFieldsField $field, $value){
215
+ return array(
216
+ 'type' => $field->get('type'),
217
+ 'view' => $field->get('view'),
218
+ 'is_lock' => $field->get('isLock'),
219
+ 'is_new' => $field->get('isNew'),
220
+ 'is_hide' => $field->get('isHide'),
221
+ 'is_sub_field' => $field->get('isSubField'),
222
+ 'help' => $field->get('help'),
223
+ 'id' => $field->get('id'),
224
+ 'contentBefore' => $field->get('contentBefore'),
225
+ 'content' => $field->get('content'),
226
+ 'contentAfter' => $field->get('contentAfter'),
227
+ 'contentAfterBlock' => $field->get('contentAfterBlock'),
228
+ 'default' => $field->get('default'),
229
+ 'field' => $field->content($value),
230
+ );
231
+ }
232
+
233
+ protected function createNonceField(){
234
+ return roboGalleryFieldsFieldFactory::createField(
235
+ 0,
236
+ array(
237
+ 'type' => 'hidden',
238
+ 'view' => 'default',
239
+ 'prefix' => "{$this->settings['settings']['id']}_",
240
+ 'name' => 'nonce',
241
+ )
242
+ );
243
+ }
244
+
245
+ public function save($postId) {
246
+ if (defined( 'DOING_AUTOSAVE') && DOING_AUTOSAVE ) {
247
+ return;
248
+ }
249
+
250
+ if ('post' !== strtolower($_SERVER['REQUEST_METHOD'])) {
251
+ return;
252
+ }
253
+
254
+ if(!isset($_POST['post_type'])){
255
+ return ;
256
+ }
257
+
258
+ $postType = $_POST['post_type'];
259
+ if (!in_array($postType, $this->settings['settings']['screen'])) {
260
+ return;
261
+ }
262
+
263
+ if (!current_user_can('edit_post', $postId)) {
264
+ header('HTTP/1.0 403 Forbidden');
265
+ die("Access denied");
266
+ }
267
+
268
+ $nonceField = $this->createNonceField();
269
+ $nonceName = $nonceField->get('prefix') . $nonceField->get('name');
270
+ $nonceValue = isset($_POST[$nonceName]) ? $_POST[$nonceName] : null;
271
+ $nonce = '';
272
+
273
+ foreach ($this->settings['fields'] as $fieldConfig) {
274
+ if( isset($fieldConfig['name']) ) $nonce .= $fieldConfig['name'];
275
+ }
276
+ if(!wp_verify_nonce($nonceValue, $nonce)) {
277
+ wp_nonce_ays(null);
278
+ }
279
+
280
+ foreach ($this->settings['fields'] as $fieldConfig) {
281
+ $field = roboGalleryFieldsFieldFactory::createField($postId, $fieldConfig);
282
+ $fieldName = $field->get('prefix') . $field->get('name');
283
+ $fieldValue = isset($_POST[$fieldName]) ? $_POST[$fieldName] : null;
284
+
285
+ $field->save($fieldValue);
286
+ }
287
+ }
288
+ }
app/extensions/fields/include/roboGalleryFieldsView.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ class roboGalleryFieldsView{
14
+
15
+ public function render($template, array $vars = array()){
16
+
17
+ $templatePath = ROBO_GALLERY_FIELDS_TEMPLATE . $template . '.tpl.php';
18
+
19
+ if (!file_exists($templatePath)) {
20
+ throw new Exception(__("Could not find template. Template: {$template}"));
21
+ }
22
+ extract($vars);
23
+ require $templatePath;
24
+ }
25
+
26
+ public function content($template, array $vars = array()){
27
+ ob_start();
28
+ $this->render($template, $vars);
29
+ $content = ob_get_contents();
30
+ ob_clean();
31
+
32
+ return $content;
33
+ }
34
+ }
app/extensions/fields/index.html ADDED
File without changes
app/extensions/fields/init.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ define('ROBO_GALLERY_FIELDS_PATH', dirname(__FILE__) . '/');
14
+
15
+ define('ROBO_GALLERY_FIELDS_PATH_CONFIG', ROBO_GALLERY_FIELDS_PATH . 'config/');
16
+ define('ROBO_GALLERY_FIELDS_SUB_FIELDS', ROBO_GALLERY_FIELDS_PATH_CONFIG . 'metabox/sub-fields/');
17
+
18
+ define('ROBO_GALLERY_FIELDS_PATH_FIELD', ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsField/');
19
+
20
+ define('ROBO_GALLERY_FIELDS_TEMPLATE', ROBO_GALLERY_FIELDS_PATH . 'template/');
21
+
22
+ define('ROBO_GALLERY_FIELDS_URL', plugin_dir_url(__FILE__));
23
+
24
+ define('ROBO_GALLERY_FIELDS_BODY_CLASS', 'roboGalleryFields');
25
+
26
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFields.php';
27
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsAjax.php';
28
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsHelper.php';
29
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsConfig.php';
30
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php';
31
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php';
32
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsMetaBoxClass.php';
33
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsFieldFactory.php';
34
+ require_once ROBO_GALLERY_FIELDS_PATH . 'include/roboGalleryFieldsView.php';
35
+
36
+ roboGalleryFields::getInstance()->init();
app/extensions/fields/template/content/gallery_type/content.tpl.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 2.8.40 - 95887
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robosoft.co/robogallery/
8
+ * Created: 2015
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ echo $type = rbsGalleryUtils::getTypeGallery();
14
+
15
+ if( $type == false ){
16
+ $url = admin_url('post-new.php?post_type=robo_gallery_table&rsg_gallery_type=grid');
17
+ printf('<script>window.location.replace("%1$s");window.location.href = "%1$s";</script>', $url);
18
+ exit;
19
+ }
app/extensions/fields/template/content/gallery_type/index.html ADDED
File without changes
app/extensions/fields/template/content/gallery_type/type.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ printf(
3
+ '<script>window.location.replace("%1$s");window.location.href = "%1$s";</script>',
4
+ admin_url('post-new.php?post_type=robo_gallery_table&rsg_gallery_type='.ROBO_GALLERY_TYPE_GRID)
5
+ );
6
+
7
+ echo "";
8
+ exit;
app/extensions/fields/template/content/gallery_type/type_grid.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/grid_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Grid", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Grid - basic gallery grid with custom hover effects and customizable layout.", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_gridpro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/grid_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Grid Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Grid Pro- basic gallery grid with custom hover effects and customizable layout.", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_masonry.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/masonry_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Masonry", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Masonry", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_masonrypro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/masonry_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Masonry Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Masonry Pro", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_mosaic.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/mosaic_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Mosaic", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Mosaic", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_mosaicpro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/mosaic_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Mosaic Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Mosaic Pro", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_polaroid.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/polaroid_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Polaroid", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Polaroid", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_polaroidpro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/polaroid_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Polaroid Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Polaroid Pro", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_wallstylepro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/wallstyle_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery WallStyle Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery WallStyle Pro", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_youtube.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/youtube_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Youtube", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Youtube", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/gallery_type/type_youtubepro.tpl.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <div id="roboGalleryThemeTypeDiv">
2
+ <img class="type-logo" src="<?php echo ROBO_GALLERY_URL; ?>app/extensions/galleryType/build/grids/youtube_pro_active.svg" style="width: 100px; height: 100px;" />
3
+ <h4><?php _e( "Gallery Youtube Pro", 'robo-gallery'); ?></h4>
4
+ <p>
5
+ <?php _e( "Gallery Youtube Pro", 'robo-gallery'); ?>
6
+ </p>
7
+ </div>
8
+
app/extensions/fields/template/content/index.html ADDED
File without changes
app/extensions/fields/template/element/index.html ADDED
File without changes
app/extensions/fields/template/element/label.tooltip.tpl.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="robo_gallery_tooltip">
2
+ <h5 class="inline-block robo-gallery-help-label"><?php echo $label; ?></h5>
3
+
4
+ <span
5
+ class="dashicons dashicons-info robo-gallery-help-button"
6
+ data-help="help_content_<?php echo $id; ?>"
7
+ ></span>
8
+ <span class="robo_gallery_tooltiptext">
9
+ <?php _e('Click for information', 'robo-gallery'); ?>
10
+ </span>
11
+
12
+ <?php if($help) : ?>
13
+ <div id="help_content_<?php echo $id; ?>" class="robo-gallery-help-dialog">
14
+ <?php echo $help; ?>
15
+ </div>
16
+ <?php endif; ?>
17
+ </div>
app/extensions/fields/template/element/label.tpl.php ADDED
@@ -0,0 +1 @@
 
1
+ <h5><?php echo $label; ?></h5>
app/extensions/fields/template/field/checkbox/button.tpl.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <div id="field-element-<?php echo $id; ?>" class="button-element">
3
+ <input id="<?php echo $id; ?>"
4
+ type="checkbox" name="<?php echo $name; ?>"
5
+ value="1" <?php echo $value ? 'checked' : '' ?>
6
+ data-dependents='<?php echo $dependents; ?>' >
7
+ <label class="button" for="<?php echo $id; ?>">
8
+ <?php echo $label; ?>
9
+ </label>
10
+ </div>
11
+
12
+ <?php if ($description) : ?>
13
+ <p class="help-text"><?php echo $description; ?></p>
14
+ <?php endif; ?>
15
+ </div>
app/extensions/fields/template/field/checkbox/default.tpl.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <fieldset>
3
+ <?php if ($label) : ?>
4
+ <legend><?php echo $label; ?></legend>
5
+ <?php endif; ?>
6
+
7
+ <input id="<?php echo $id; ?>"
8
+ type="checkbox" name="<?php echo $name; ?>"
9
+ value="1" <?php echo $value ? 'checked' : ''; ?>
10
+ data-dependents='<?php echo $dependents; ?>' >
11
+ <label for="<?php echo $id; ?>"><?php echo $label; ?></label>
12
+
13
+ <?php if ($description) : ?>
14
+ <p class="help-text"><?php echo $description; ?></p>
15
+ <?php endif; ?>
16
+ </fieldset>
17
+ </div>
app/extensions/fields/template/field/checkbox/group-button.tpl.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <div class="field small-12 columns <?php if($is_sub_field) echo 'wrap-field checkbox-group-button'; ?>">
3
+ <fieldset>
4
+ <?php if ($label) : ?>
5
+ <legend><?php echo $label; ?></legend>
6
+ <?php endif; ?>
7
+
8
+ <?php foreach ($options['values'] as $key => $item) :
9
+ $idElement = "{$id}_{$key}"; ?>
10
+ <div id="field-element-<?php echo $idElement; ?>" class="button-element">
11
+ <input id="<?php echo $idElement; ?>"
12
+ type="checkbox" name="<?php echo "{$name}[{$item['name']}]"; ?>"
13
+ value="1" <?php echo isset($value[$item['name']]) && $value[$item['name']] ? 'checked' : '' ?>
14
+ data-dependents='<?php echo $dependents; ?>' >
15
+ <label class="button" for="<?php echo $idElement; ?>">
16
+ <?php echo $item['label']; ?>
17
+ </label>
18
+ </div>
19
+ <?php endforeach; ?>
20
+ </fieldset>
21
+
22
+ <?php if ($description) : ?>
23
+ <p class="help-text"><?php echo $description; ?></p>
24
+ <?php endif; ?>
25
+ </div>
app/extensions/fields/template/field/checkbox/group-switch.tpl.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <fieldset>
3
+ <?php if ($label) : ?>
4
+ <legend><?php echo $label; ?></legend>
5
+ <?php endif; ?>
6
+
7
+ <?php foreach ($options['values'] as $key => $item) : ?>
8
+ <?php $idElement = "{$id}_{$key}"; ?>
9
+ <div id="field-element-<?php echo $idElement; ?>" class="switch-element">
10
+ <div class="switch <?php echo $options['size']; ?>">
11
+ <input id="<?php echo $idElement; ?>" class="switch-input"
12
+ type="checkbox" name="<?php echo "{$name}[{$item['name']}]"; ?>"
13
+ value="1" <?php echo isset($value[$item['name']]) && $value[$item['name']] ? 'checked' : '' ?>
14
+ data-dependents='<?php echo $dependents; ?>' >
15
+ <label class="switch-paddle" for="<?php echo $idElement; ?>">
16
+ <span class="switch-active" aria-hidden="true">
17
+ <?php echo isset($item['onLabel']) ? $item['onLabel'] : ''; ?>
18
+ </span>
19
+ <span class="switch-inactive" aria-hidden="true">
20
+ <?php echo isset($item['offLabel']) ? $item['offLabel'] : ''; ?>
21
+ </span>
22
+ </label>
23
+ </div>
24
+ </div>
25
+ <?php endforeach; ?>
26
+ </fieldset>
27
+
28
+ <?php if ($description) : ?>
29
+ <p class="help-text"><?php echo $description; ?></p>
30
+ <?php endif; ?>
31
+ </div>
app/extensions/fields/template/field/checkbox/group.tpl.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <fieldset>
3
+ <?php if ($label) : ?>
4
+ <legend><?php echo $label; ?></legend>
5
+ <?php endif; ?>
6
+
7
+ <?php foreach ($options['values'] as $key => $item) : ?>
8
+ <?php $idElement = "{$id}_{$key}"; ?>
9
+ <input id="<?php echo $idElement; ?>"
10
+ type="checkbox" name="<?php echo "{$name}[{$item['name']}]"; ?>"
11
+ value="1" <?php echo isset($value[$item['name']]) && $value[$item['name']] ? 'checked' : ''; ?>
12
+ data-dependents='<?php echo $dependents; ?>' >
13
+ <label for="<?php echo $idElement; ?>"><?php echo $item['label']; ?></label>
14
+ <?php endforeach; ?>
15
+ </fieldset>
16
+
17
+ <?php if ($description) : ?>
18
+ <p class="help-text"><?php echo $description; ?></p>
19
+ <?php endif; ?>
20
+ </div>
app/extensions/fields/template/field/checkbox/index.html ADDED
File without changes
app/extensions/fields/template/field/checkbox/switch.tpl.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $colCount = 12;
3
+ if(isset($options['column'])) $colCount = $options['column'];
4
+ ?>
5
+ <div class="field small-<?php echo $colCount; ?> columns">
6
+ <div class="switch-element">
7
+ <?php if ($label) : ?>
8
+ <p><?php echo $label; ?></p>
9
+ <?php endif; ?>
10
+
11
+ <div id="field-element-<?php echo $id; ?>" class="switch <?php echo $options['size']; ?>">
12
+ <input id="<?php echo $id; ?>" class="switch-input"
13
+ type="checkbox" name="<?php echo $name; ?>"
14
+ value="1" <?php echo $value ? 'checked' : '' ?>
15
+ data-dependents='<?php echo $dependents; ?>' >
16
+ <label class="switch-paddle" for="<?php echo $id; ?>">
17
+ <span class="switch-active" aria-hidden="true">
18
+ <?php echo $options['onLabel']; ?>
19
+ </span>
20
+ <span class="switch-inactive" aria-hidden="true">
21
+ <?php echo $options['offLabel']; ?>
22
+ </span>
23
+ </label>
24
+ </div>
25
+
26
+ <?php if ($description) : ?>
27
+ <p class="help-text"><?php echo $description; ?></p>
28
+ <?php endif; ?>
29
+ </div>
30
+ </div>
app/extensions/fields/template/field/checkbox/switch/c2.tpl.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $colCount = 12;
3
+ if(isset($options['column'])) $colCount = $options['column'];
4
+
5
+ $colCountWrap = 12;
6
+ if(isset($options['columnWrap'])) $colCountWrap = $options['columnWrap'];
7
+ ?>
8
+ <div class="field small-<?php echo $colCountWrap; ?> columns">
9
+
10
+ <?php if ($label) : ?>
11
+ <label>
12
+ <?php echo $label; ?>
13
+ </label>
14
+ <?php endif; ?>
15
+
16
+ <div class="switch-element">
17
+ <div id="field-element-<?php echo $id; ?>" class="switch <?php echo $options['size']; ?>">
18
+ <input id="<?php echo $id; ?>" class="switch-input"
19
+ type="checkbox" name="<?php echo $name; ?>"
20
+ value="1" <?php echo $value ? 'checked' : '' ?>
21
+ data-dependents='<?php echo $dependents; ?>' >
22
+ <label class="switch-paddle" for="<?php echo $id; ?>">
23
+ <span class="switch-active" aria-hidden="true">
24
+ <?php echo $options['onLabel']; ?>
25
+ </span>
26
+ <span class="switch-inactive" aria-hidden="true">
27
+ <?php echo $options['offLabel']; ?>
28
+ </span>
29
+ </label>
30
+ </div>
31
+ </div>
32
+
33
+ <?php if ($description) : ?>
34
+ <p class="help-text"><?php echo $description; ?></p>
35
+ <?php endif; ?>
36
+
37
+ </div>
app/extensions/fields/template/field/checkbox/switch/c3.tpl.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-3 columns">
2
+ <div class="switch-element">
3
+ <?php if ($label) : ?>
4
+ <p><?php echo $label; ?></p>
5
+ <?php endif; ?>
6
+
7
+ <div id="field-element-<?php echo $id; ?>" class="switch <?php echo $options['size']; ?>">
8
+ <input id="<?php echo $id; ?>" class="switch-input"
9
+ type="checkbox" name="<?php echo $name; ?>"
10
+ value="1" <?php echo $value ? 'checked' : '' ?>
11
+ data-dependents='<?php echo $dependents; ?>' >
12
+ <label class="switch-paddle" for="<?php echo $id; ?>">
13
+ <span class="switch-active" aria-hidden="true">
14
+ <?php echo $options['onLabel']; ?>
15
+ </span>
16
+ <span class="switch-inactive" aria-hidden="true">
17
+ <?php echo $options['offLabel']; ?>
18
+ </span>
19
+ </label>
20
+ </div>
21
+
22
+ <?php if ($description) : ?>
23
+ <p class="help-text"><?php echo $description; ?></p>
24
+ <?php endif; ?>
25
+ </div>
26
+ </div>
app/extensions/fields/template/field/checkbox/switch/index.html ADDED
File without changes
app/extensions/fields/template/field/composite/columns.tpl.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <?php if ($label) : ?>
3
+ <label>
4
+ <?php echo $label; ?>
5
+ </label>
6
+ <?php endif; ?>
7
+
8
+ <div class="field small-2 columns"><strong>Screen size</strong></div>
9
+ <div class="field small-3 columns"> <strong> Auto size</strong></div>
10
+ <hr />
11
+ <div id="<?php echo $id; ?>" class="field small-12 columns" <?php echo $attributes; ?>>
12
+ <?php echo $fields; ?>
13
+ </div>
14
+
15
+ <?php if ($description) : ?>
16
+ <p class="help-text"><?php echo $description; ?></p>
17
+ <?php endif; ?>
18
+ </div>
app/extensions/fields/template/field/composite/default.tpl.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns" >
2
+ <?php if ($label) : ?>
3
+ <label>
4
+ <?php echo $label; ?>
5
+ </label>
6
+ <?php endif; ?>
7
+
8
+ <div id="<?php echo $id; ?>" class="row" <?php echo $attributes; ?>>
9
+ <?php echo $fields; ?>
10
+ </div>
11
+
12
+ <?php if ($description) : ?>
13
+ <p class="help-text"><?php echo $description; ?></p>
14
+ <?php endif; ?>
15
+ </div>
app/extensions/fields/template/field/composite/index.html ADDED
File without changes
app/extensions/fields/template/field/custom/c2.tpl.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-2 columns">
2
+ <div class="switch-element">
3
+ <?php if ($label) : ?>
4
+ <p><?php echo $label; ?></p>
5
+ <?php endif; ?>
6
+
7
+ <div id="field-element-<?php echo $id; ?>" class="switch <?php echo $options['size']; ?>">
8
+ <input id="<?php echo $id; ?>" class="switch-input"
9
+ type="checkbox" name="<?php echo $name; ?>"
10
+ value="1" <?php echo $value ? 'checked' : '' ?>
11
+ data-dependents='<?php echo $dependents; ?>' >
12
+ <label class="switch-paddle" for="<?php echo $id; ?>">
13
+ <span class="switch-active" aria-hidden="true">
14
+ <?php echo $options['onLabel']; ?>
15
+ </span>
16
+ <span class="switch-inactive" aria-hidden="true">
17
+ <?php echo $options['offLabel']; ?>
18
+ </span>
19
+ </label>
20
+ </div>
21
+
22
+ <?php if ($description) : ?>
23
+ <p class="help-text"><?php echo $description; ?></p>
24
+ <?php endif; ?>
25
+ </div>
26
+ </div>
app/extensions/fields/template/field/hidden/default.tpl.php ADDED
@@ -0,0 +1 @@
 
1
+ <input id="<?php echo $id; ?>" type="hidden" name="<?php echo $name; ?>" value="<?php echo $value; ?>">
app/extensions/fields/template/field/hidden/index.html ADDED
File without changes
app/extensions/fields/template/field/html/default.tpl.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <div id="<?php echo $id; ?>" class="field small-12 columns">
2
+ <?php echo $options['content']; ?>
3
+ </div>
app/extensions/fields/template/field/html/index.html ADDED
File without changes
app/extensions/fields/template/field/html/raw.tpl.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+
2
+ <?php echo $options['content']; ?>
app/extensions/fields/template/field/index.html ADDED
File without changes
app/extensions/fields/template/field/radio/buttons-group.tpl.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <fieldset>
3
+ <?php if ($label) : ?>
4
+ <legend><?php echo $label; ?></legend>
5
+ <?php endif; ?>
6
+
7
+ <div class="button-group ">
8
+ <?php foreach ($options['values'] as $key => $item) : ?>
9
+ <?php $idElement = "{$id}_{$key}"; ?>
10
+ <input id="<?php echo $idElement; ?>"
11
+ type="radio" name="<?php echo $name; ?>"
12
+ value="<?php echo $item['value']; ?>" <?php echo $item['value'] === $value ? 'checked' : ''; ?>
13
+ data-dependents='<?php echo $dependents; ?>' >
14
+ <label for="<?php echo $idElement; ?>" class="button">
15
+ <?php echo $item['label']; ?>
16
+ </label>
17
+ <?php endforeach; ?>
18
+ </div>
19
+ </fieldset>
20
+
21
+ <?php if ($description) : ?>
22
+ <p class="help-text"><?php echo $description; ?></p>
23
+ <?php endif; ?>
24
+ </div>
app/extensions/fields/template/field/radio/default.tpl.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <fieldset>
3
+ <?php if ($label) : ?>
4
+ <legend><?php echo $label; ?></legend>
5
+ <?php endif; ?>
6
+
7
+ <?php foreach ($options['values'] as $key => $item) : ?>
8
+ <?php $idElement = "{$id}_{$key}"; ?>
9
+ <input id="<?php echo $idElement; ?>"
10
+ type="radio" name="<?php echo $name; ?>"
11
+ value="<?php echo $item['value']; ?>" <?php echo $item['value'] === $value ? 'checked' : ''; ?>
12
+ data-dependents='<?php echo $dependents; ?>' >
13
+ <label for="<?php echo $idElement; ?>"><?php echo $item['label']; ?></label>
14
+ <?php endforeach; ?>
15
+ </fieldset>
16
+
17
+ <?php if ($description) : ?>
18
+ <p class="help-text"><?php echo $description; ?></p>
19
+ <?php endif; ?>
20
+ </div>
app/extensions/fields/template/field/radio/index.html ADDED
File without changes
app/extensions/fields/template/field/select/default.tpl.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $colCount = 12;
3
+ if(isset($options['column'])) $colCount = $options['column'];
4
+
5
+ $colCountWrap = 12;
6
+ if(isset($options['columnWrap'])) $colCountWrap = $options['columnWrap'];
7
+ ?>
8
+ <div class="field small-<?php echo $colCountWrap;?> columns">
9
+ <?php if ($label) : ?>
10
+ <label for="field-select-<?php echo $id; ?>">
11
+ <?php echo $label; ?>
12
+ </label>
13
+ <?php endif; ?>
14
+
15
+ <select id="field-select-<?php echo $id; ?>"
16
+ <?php echo $attributes; ?>
17
+ class="input-group small-<?php echo $colCount;?> "
18
+ name="<?php echo $name; ?>"
19
+ data-dependents='<?php echo $dependents; ?>' >
20
+ <?php foreach ($options['values'] as $optionValue => $optionLabel) : ?>
21
+ <option
22
+ value="<?php echo $optionValue; ?>"
23
+ <?php if ($optionValue == $value) { echo 'selected'; } ?>
24
+ <?php if (is_array($options['disabled']) && in_array($optionValue, $options['disabled']) ) { echo 'disabled'; } ?>
25
+ >
26
+ <?php echo $optionLabel; ?>
27
+ </option>
28
+ <?php endforeach; ?>
29
+ </select>
30
+
31
+ <?php if ($description) : ?>
32
+ <p class="help-text"><?php echo $description; ?></p>
33
+ <?php endif; ?>
34
+ </div>
app/extensions/fields/template/field/select/default/c2.tpl.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-2 columns">
2
+ <?php if ($label) : ?>
3
+ <label>
4
+ <?php echo $label; ?>
5
+ <?php endif; ?>
6
+
7
+ <select id="<?php echo $id; ?>" <?php echo $attributes; ?>
8
+ name="<?php echo $name; ?>"
9
+ data-dependents='<?php echo $dependents; ?>' >
10
+ <?php foreach ($options['values'] as $optionValue => $optionLabel) : ?>
11
+ <option value="<?php echo $optionValue; ?>" <?php if ($optionValue == $value) { echo 'selected'; } ?>>
12
+ <?php echo $optionLabel; ?>
13
+ </option>
14
+ <?php endforeach; ?>
15
+ </select>
16
+
17
+ <?php if ($label) : ?>
18
+ </label>
19
+ <?php endif; ?>
20
+
21
+ <?php if ($description) : ?>
22
+ <p class="help-text"><?php echo $description; ?></p>
23
+ <?php endif; ?>
24
+ </div>
app/extensions/fields/template/field/select/default/index.html ADDED
File without changes
app/extensions/fields/template/field/select/index.html ADDED
File without changes
app/extensions/fields/template/field/select/multiple.tpl.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <?php if ($label) : ?>
3
+ <label>
4
+ <?php echo $label; ?>
5
+ </label>
6
+ <?php endif; ?>
7
+
8
+ <select id="<?php echo $id; ?>" <?php echo $attributes; ?> multiple
9
+ name="<?php echo $name; ?>[]" >
10
+ <?php foreach ($options['values'] as $optionValue => $optionLabel) : ?>
11
+ <option value="<?php echo $optionValue; ?>" <?php if (in_array($optionValue, $value)) { echo 'selected'; } ?>>
12
+ <?php echo $optionLabel; ?>
13
+ </option>
14
+ <?php endforeach; ?>
15
+ </select>
16
+
17
+ <?php if ($description) : ?>
18
+ <p class="help-text"><?php echo $description; ?></p>
19
+ <?php endif; ?>
20
+ </div>
app/extensions/fields/template/field/text/color.tpl.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $colCount = 12;
3
+ if(isset($options['column'])) $colCount = $options['column'];
4
+
5
+ $colCountWrap = 12;
6
+ if(isset($options['columnWrap'])) $colCountWrap = $options['columnWrap'];
7
+ ?>
8
+ <div id="field-div-color-<?php echo $id; ?>"
9
+ class="field small-<?php echo $colCountWrap;?> columns">
10
+ <?php if ($label) : ?>
11
+ <label>
12
+ <?php echo $label; ?>
13
+ </label>
14
+ <?php endif; ?>
15
+
16
+ <div class="input-group small-<?php echo $colCount;?>" id="field-color-panel-<?php echo $id; ?>">
17
+ <?php if( isset($options['leftLabel']) ) : ?>
18
+ <span class="input-group-label">
19
+ <?php echo $options['leftLabel']; ?>
20
+ </span>
21
+ <?php endif; ?>
22
+
23
+ <input <?php echo $attributes; ?>
24
+ id="field-color-<?php echo $id; ?>"
25
+ type="text"
26
+ class="input-group-field field-color-picker"
27
+ name="<?php echo $name; ?>"
28
+ value="<?php echo $value; ?>"
29
+ data-alpha="<?php echo isset($options['alpha']) && $options['alpha'] ? '1' : '0'; ?>"
30
+ data-default="<?php echo $default; ?>"
31
+ >
32
+
33
+ <span
34
+ class="input-group-label"
35
+ id="field-color-button-<?php echo $id; ?>"
36
+ style="background-color: <?php echo $value; ?>"
37
+ > &nbsp;
38
+ </span>
39
+
40
+ </div>
41
+
42
+ <?php if ($description) : ?>
43
+ <p class="help-text"><?php echo $description; ?></p>
44
+ <?php endif; ?>
45
+ </div>
46
+
47
+ <script>
48
+ (function(){
49
+ var parentEl = document.querySelector('#field-color-panel-<?php echo $id; ?>'),
50
+ buttonEl = document.querySelector('#field-color-button-<?php echo $id; ?>'),
51
+ inputEl = document.querySelector('#field-color-<?php echo $id; ?>'),
52
+ valueColor = inputEl.value,
53
+ alphaEnable = inputEl.getAttribute('data-alpha') == 1 ? true : false;
54
+
55
+ if( !tinycolor(valueColor).isValid() ) valueColor = inputEl.getAttribute('data-default');
56
+
57
+ var picker = new Picker({
58
+ parent: parentEl,
59
+ popup: 'top',
60
+ editor: true,
61
+ editorFormat: 'rgb',
62
+ color: valueColor,
63
+ alpha: alphaEnable,
64
+ onDone : function(color){
65
+
66
+ var colorVal = color.hex;
67
+
68
+ if( colorVal.length > 7 ) colorVal = colorVal.substring( 0, 7);
69
+
70
+ if( alphaEnable ){
71
+ if(color.rgba[3]==1) colorVal = color.rgbString;
72
+ else colorVal = color.rgbaString;
73
+ }
74
+
75
+ if( ! tinycolor(colorVal).isValid() ) colorVal = inputEl.getAttribute('data-default');
76
+
77
+ inputEl.value = colorVal;
78
+ buttonEl.style.backgroundColor = colorVal;
79
+ }
80
+ });
81
+ })();
82
+ </script>
83
+
app/extensions/fields/template/field/text/default.tpl.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="field small-12 columns">
2
+ <?php if ($label) : ?>
3
+ <label>
4
+ <?php echo $label; ?>
5
+ </label>
6
+ <?php endif; ?>
7
+
8
+ <div class="row">
9
+ <?php
10
+ $leftColumns = empty($options['textBefore']) ? 0 : 3;
11
+ $rightColumns = empty($options['textAfter']) ? 0 : 3;