diff options
author | Nick Rance <nick_rance89@hotmail.com> | 2013-05-31 04:37:59 +0100 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2013-06-03 17:56:25 -0700 |
commit | 28e4ad3299958fd8e377d6969ba016610ed75544 (patch) | |
tree | 24cc0bea1d6c6d90134538003374407f81c1745c /gum | |
parent | 458f7fb64065103fac2ff1af0a076154fa553b40 (diff) | |
download | pelican-themes-28e4ad3299958fd8e377d6969ba016610ed75544.zip pelican-themes-28e4ad3299958fd8e377d6969ba016610ed75544.tar.gz pelican-themes-28e4ad3299958fd8e377d6969ba016610ed75544.tar.bz2 |
Add new theme: Gum
Diffstat (limited to 'gum')
29 files changed, 7970 insertions, 0 deletions
diff --git a/gum/LICENSE b/gum/LICENSE new file mode 100644 index 0000000..316394b --- /dev/null +++ b/gum/LICENSE @@ -0,0 +1,7 @@ +MIT Open Source License + +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: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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.
\ No newline at end of file diff --git a/gum/README.md b/gum/README.md new file mode 100644 index 0000000..0e3ede0 --- /dev/null +++ b/gum/README.md @@ -0,0 +1,40 @@ +### What is Gum? + +Gum is a clean and responsive theme for [Pelican](https://github.com/getpelican/pelican), based on the [Gumby Framework](http://gumbyframework.com/docs). + +### Requirements + +* [Pelican](https://github.com/getpelican/pelican) + +### Configuration + +* Edit your settings file to include the following if desired (any values left blank won't show up in the theme): + +``` +GITHUB_URL = '' +TWITTER_URL = '' +FACEBOOK_URL = '' +GOOGLEPLUS_URL = '' +``` + +This theme uses the latest Google Analytics code, which will be included when the following values are filled out appropriately. + +``` +GOOGLE_ANALYTICS_ID = '' +GOOGLE_ANALYTICS_SITENAME = '' +``` + +### Credits / Thanks + + * Alexis Metaireau / Pelican + * Digital Surgeons / Gumby Framework + * Twitter Bootstrap + * traeblain for his [makefile](https://gist.github.com/traeblain/4252511) gist for building Pelican on Windows + +**MIT Open Source License** + +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: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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. diff --git a/gum/screenshot.png b/gum/screenshot.png Binary files differnew file mode 100644 index 0000000..ce635a8 --- /dev/null +++ b/gum/screenshot.png diff --git a/gum/static/fonts/icons/entypo.eot b/gum/static/fonts/icons/entypo.eot Binary files differnew file mode 100644 index 0000000..41f223e --- /dev/null +++ b/gum/static/fonts/icons/entypo.eot diff --git a/gum/static/fonts/icons/entypo.ttf b/gum/static/fonts/icons/entypo.ttf Binary files differnew file mode 100644 index 0000000..331ea3a --- /dev/null +++ b/gum/static/fonts/icons/entypo.ttf diff --git a/gum/static/fonts/icons/entypo.woff b/gum/static/fonts/icons/entypo.woff Binary files differnew file mode 100644 index 0000000..b0771de --- /dev/null +++ b/gum/static/fonts/icons/entypo.woff diff --git a/gum/static/gumby.css b/gum/static/gumby.css new file mode 100644 index 0000000..de10d5e --- /dev/null +++ b/gum/static/gumby.css @@ -0,0 +1,7097 @@ +@charset "UTF-8"; +@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700); +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font: inherit; + font-size: 100%; + vertical-align: baseline; +} + +html { + line-height: 1; +} + +ol, ul { + list-style: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +caption, th, td { + text-align: left; + font-weight: normal; + vertical-align: middle; +} + +q, blockquote { + quotes: none; +} +q:before, q:after, blockquote:before, blockquote:after { + content: ""; + content: none; +} + +a img { + border: none; +} + +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { + display: block; +} + +* html { + font-size: 100%; +} + +html { + font-size: 16px; + line-height: 1.625em; +} + +html * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +body { + background: white; + font-family: "Open Sans"; + font-weight: 400; + color: #555555; + position: relative; + -webkit-font-smoothing: antialiased; + -webkit-backface-visibility: hidden; +} +@media only screen and (max-width: 767px) { + body { + -webkit-text-size-adjust: none; + -ms-text-size-adjust: none; + width: 100%; + min-width: 0; + } +} + +html, body { + height: 100%; +} + +.ie9 { + font-family: "Open Sans"; +} +.ie9 * { + font-family: "Open Sans"; +} + +.hide { + display: none; +} + +.hide.active, .show { + display: block; +} + +.fixed { + position: fixed; +} +@media only screen and (max-width: 768px) { + .fixed { + position: relative !important; + } +} + +.center-text { + text-align: center; +} + + +/* Fonts */ +@font-face { + font-family: "entypo"; + font-style: normal; + font-weight: 400; + src: url(fonts/icons/entypo.eot); + src: url("fonts/icons/entypo.eot?#iefix") format("ie9-skip-eot"), url("fonts/icons/entypo.woff") format("woff"), url("fonts/icons/entypo.ttf") format("truetype"); +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Open Sans"; + font-weight: 300; + color: #444444; + text-rendering: optimizeLegibility; + padding-top: 0.273em; + line-height: 1.15538em; + padding-bottom: 0.273em; +} +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + color: #d04526; +} + +@media only screen and (max-width: 767px) { + h1, h2, h3, h4, h5, h6 { + word-wrap: break-word; + } +} +h1 { + font-size: 68px; + font-size: 4.25rem; +} +h1.xlarge { + font-size: 110px; + font-size: 6.875rem; +} +h1.xxlarge { + font-size: 126px; + font-size: 7.875rem; +} +h1.absurd { + font-size: 177px; + font-size: 11.0625rem; +} + +h2 { + font-size: 42px; + font-size: 2.625rem; +} + +h3 { + font-size: 30px; + font-size: 1.875rem; +} + +h4 { + font-size: 26px; + font-size: 1.625rem; +} + +h5 { + font-size: 18px; + font-size: 1.125rem; +} + +h6 { + font-size: 16px; + font-size: 1rem; +} + +@media only screen and (max-width: 767px) { + h1 { + font-size: 42px; + font-size: 2.625rem; + } + + h2 { + font-size: 36px; + font-size: 2.25rem; + } +} +.subhead { + color: #777; + font-weight: normal; + margin-bottom: 20px; +} + +/*===================================================== + + Links & Paragraph styles + + ======================================================*/ +p { + font-family: "Open Sans"; + font-weight: 400; + font-size: 16px; + font-size: 1rem; + margin-bottom: 13px; + line-height: 1.625em; +} +p.lead { + font-size: 20px; + font-size: 1.25rem; + margin-bottom: 18px; +} +@media only screen and (max-width: 768px) { + p { + font-size: 17.6px; + font-size: 1.1rem; + line-height: 1.625em; + } +} + +a { + color: #d04526; + text-decoration: none; + outline: 0; + line-height: inherit; +} +a:hover { + color: #c03d20; +} + +/*===================================================== + + Lists + + ======================================================*/ +ul, ol { + margin-bottom: 0.273em; +} + +ul { + list-style: none outside; +} + +ol { + list-style: decimal; + margin-left: 30px; +} + +ul.square, ul.circle, ul.disc { + margin-left: 25px; +} +ul.square { + list-style: square outside; +} +ul.circle { + list-style: circle outside; +} +ul.disc { + list-style: disc outside; +} +ul ul { + margin: 4px 0 5px 25px; +} + +ol ol { + margin: 4px 0 5px 30px; +} + +li { + padding-bottom: 0.273em; +} + +ul.large li { + line-height: 21px; +} + +dl dt { + font-weight: bold; + font-size: 16px; + font-size: 1rem; +} + +@media only screen and (max-width: 768px) { + ul, ol, dl, p { + text-align: left; + } +} +/* Mobile */ +em { + font-style: italic; + line-height: inherit; +} + +strong { + font-weight: 700; + line-height: inherit; +} + +small { + font-size: 56.4%; + line-height: inherit; +} + +h1 small, h2 small, h3 small, h4 small, h5 small { + color: #777; +} + +/* Blockquotes */ +blockquote { + line-height: 20px; + color: #777; + margin: 0 0 18px; + padding: 9px 20px 0 19px; + border-left: 5px solid #cccccc; +} +blockquote p { + line-height: 20px; + color: #777; +} +blockquote cite { + display: block; + font-size: 12px; + font-size: 1.2rem; + color: #555555; +} +blockquote cite:before { + content: "\2014 \0020"; +} +blockquote cite a { + color: #555555; +} +blockquote cite a:visited { + color: #555555; +} + +hr { + border: 1px solid #cccccc; + clear: both; + margin: 16px 0 18px; + height: 0; +} + +abbr, acronym { + text-transform: uppercase; + font-size: 90%; + color: #222; + border-bottom: 1px solid #cccccc; + cursor: help; +} + +abbr { + text-transform: none; +} + +/** + * Print styles. + * + * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/ + * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com) + */ +@media print { + * { + background: transparent !important; + color: black !important; + text-shadow: none !important; + filter: none !important; + -ms-filter: none !important; + } + + /* Black prints faster: sanbeiji.com/archives/953 */ + p a { + color: #555555 !important; + text-decoration: underline; + } + p a:visited { + color: #555555 !important; + text-decoration: underline; + } + p a[href]:after { + content: " (" attr(href) ")"; + } + + abbr[title]:after { + content: " (" attr(title) ")"; + } + + .ir a:after { + content: ""; + } + + a[href^="javascript:"]:after, a[href^="#"]:after { + content: ""; + } + + /* Don't show links for images, or javascript/internal links */ + pre, blockquote { + border: 1px solid #999999; + page-break-inside: avoid; + } + + thead { + display: table-header-group; + } + + /* css-discuss.incutio.com/wiki/Printing_Tables */ + tr, img { + page-break-inside: avoid; + } + + @page { + margin: 0.5cm; +} + + p, h2, h3 { + orphans: 3; + widows: 3; + } + + h2, h3 { + page-break-after: avoid; + } +} +/*================================================= + + +++ LE GRID +++ + A Responsive Grid -- Gumby defaults to a standard 960 grid, + but you can change it to whatever you'd like. + + ==================================================*/ +/*.container { + padding: 0px $gutter-in-px; +}*/ +.row { + width: 100%; + max-width: 1100px; + min-width: 320px; + margin: 0 auto; +} +@media only screen and (max-width: 1120px) { + .row { + padding: 0 20px; + } +} +.row .row { + min-width: 0px; +} +@media only screen and (max-width: 1120px) { + .row .row { + padding: 0; + } +} + +/* To fix the grid into a different size, set max-width to your desired width */ +.column, .columns { + margin-left: 1.81818%; + float: left; + min-height: 1px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.column:first-child, .columns:first-child, .alpha { + margin-left: 0px; +} + +.column.omega, .columns.omega { + float: right; +} + +/* Column Classes */ +.row .one.column, .row .one.columns, .sixteen.colgrid .row .one.columns { + width: 5.45455%; +} +.row .two.columns { + width: 12.72727%; +} +.row .three.columns { + width: 20%; +} +.row .four.columns { + width: 27.27273%; +} +.row .five.columns { + width: 34.54545%; +} +.row .six.columns { + width: 41.81818%; +} +.row .seven.columns { + width: 49.09091%; +} +.row .eight.columns { + width: 56.36364%; +} +.row .nine.columns { + width: 63.63636%; +} +.row .ten.columns { + width: 70.90909%; +} +.row .eleven.columns { + width: 78.18182%; +} +.row .twelve.columns { + width: 85.45455%; +} +.row .thirteen.columns { + width: 92.72727%; +} +.row .fourteen.columns { + width: 100%; +} + +/* Push Classes */ +.row .push_one { + margin-left: 9.09091%; +} +.row .push_one:first-child { + margin-left: 7.27273%; +} +.row .push_two { + margin-left: 16.36364%; +} +.row .push_two:first-child { + margin-left: 14.54545%; +} +.row .push_three { + margin-left: 23.63636%; +} +.row .push_three:first-child { + margin-left: 21.81818%; +} +.row .push_four { + margin-left: 30.90909%; +} +.row .push_four:first-child { + margin-left: 29.09091%; +} +.row .push_five { + margin-left: 38.18182%; +} +.row .push_five:first-child { + margin-left: 36.36364%; +} +.row .push_six { + margin-left: 45.45455%; +} +.row .push_six:first-child { + margin-left: 43.63636%; +} +.row .push_seven { + margin-left: 52.72727%; +} +.row .push_seven:first-child { + margin-left: 50.90909%; +} +.row .push_eight { + margin-left: 60.0%; +} +.row .push_eight:first-child { + margin-left: 58.18182%; +} +.row .push_nine { + margin-left: 67.27273%; +} +.row .push_nine:first-child { + margin-left: 65.45455%; +} +.row .push_ten { + margin-left: 74.54545%; +} +.row .push_ten:first-child { + margin-left: 72.72727%; +} +.row .push_eleven { + margin-left: 81.81818%; +} +.row .push_eleven:first-child { + margin-left: 80.0%; +} +.row .push_twelve { + margin-left: 89.09091%; +} +.row .push_twelve:first-child { + margin-left: 87.27273%; +} +.row .push_thirteen { + margin-left: 96.36364%; +} +.row .push_thirteen:first-child { + margin-left: 94.54545%; +} + +/* Centered Classes */ +.row .one.centered { + margin-left: 47.27273%; +} +.row .two.centered { + margin-left: 43.63636%; +} +.row .three.centered { + margin-left: 40%; +} +.row .four.centered { + margin-left: 36.36364%; +} +.row .five.centered { + margin-left: 32.72727%; +} +.row .six.centered { + margin-left: 29.09091%; +} +.row .seven.centered { + margin-left: 25.45455%; +} +.row .eight.centered { + margin-left: 21.81818%; +} +.row .nine.centered { + margin-left: 18.18182%; +} +.row .ten.centered { + margin-left: 14.54545%; +} +.row .eleven.centered { + margin-left: 10.90909%; +} +.row .twelve.centered { + margin-left: 7.27273%; +} +.row .thirteen.centered { + margin-left: 3.63636%; +} + +/* Hybrid Grid Columns */ +.sixteen.colgrid .row .one.column, .sixteen.colgrid .row .one.columns { + width: 4.54545%; +} +.sixteen.colgrid .row .two.columns { + width: 10.90909%; +} +.sixteen.colgrid .row .three.columns { + width: 17.27273%; +} +.sixteen.colgrid .row .four.columns { + width: 23.63636%; +} +.sixteen.colgrid .row .five.columns { + width: 30%; +} +.sixteen.colgrid .row .six.columns { + width: 36.36364%; +} +.sixteen.colgrid .row .seven.columns { + width: 42.72727%; +} +.sixteen.colgrid .row .eight.columns { + width: 49.09091%; +} +.sixteen.colgrid .row .nine.columns { + width: 55.45455%; +} +.sixteen.colgrid .row .ten.columns { + width: 61.81818%; +} +.sixteen.colgrid .row .eleven.columns { + width: 68.18182%; +} +.sixteen.colgrid .row .twelve.columns { + width: 74.54545%; +} +.sixteen.colgrid .row .thirteen.columns { + width: 80.90909%; +} +.sixteen.colgrid .row .fourteen.columns { + width: 87.27273%; +} +.sixteen.colgrid .row .fifteen.columns { + width: 93.63636%; +} +.sixteen.colgrid .row .sixteen.columns { + width: 100%; +} + +/* Hybrid Push Classes */ +.sixteen.colgrid .row .push_one { + margin-left: 8.18182%; +} +.sixteen.colgrid .row .push_one:first-child { + margin-left: 6.36364%; +} +.sixteen.colgrid .row .push_two { + margin-left: 14.54545%; +} +.sixteen.colgrid .row .push_two:first-child { + margin-left: 12.72727%; +} +.sixteen.colgrid .row .push_three { + margin-left: 20.90909%; +} +.sixteen.colgrid .row .push_three:first-child { + margin-left: 19.09091%; +} +.sixteen.colgrid .row .push_four { + margin-left: 27.27273%; +} +.sixteen.colgrid .row .push_four:first-child { + margin-left: 25.45455%; +} +.sixteen.colgrid .row .push_five { + margin-left: 33.63636%; +} +.sixteen.colgrid .row .push_five:first-child { + margin-left: 31.81818%; +} +.sixteen.colgrid .row .push_six { + margin-left: 40.0%; +} +.sixteen.colgrid .row .push_six:first-child { + margin-left: 38.18182%; +} +.sixteen.colgrid .row .push_seven { + margin-left: 46.36364%; +} +.sixteen.colgrid .row .push_seven:first-child { + margin-left: 44.54545%; +} +.sixteen.colgrid .row .push_eight { + margin-left: 52.72727%; +} +.sixteen.colgrid .row .push_eight:first-child { + margin-left: 50.90909%; +} +.sixteen.colgrid .row .push_nine { + margin-left: 59.09091%; +} +.sixteen.colgrid .row .push_nine:first-child { + margin-left: 57.27273%; +} +.sixteen.colgrid .row .push_ten { + margin-left: 65.45455%; +} +.sixteen.colgrid .row .push_ten:first-child { + margin-left: 63.63636%; +} +.sixteen.colgrid .row .push_eleven { + margin-left: 71.81818%; +} +.sixteen.colgrid .row .push_eleven:first-child { + margin-left: 70.0%; +} +.sixteen.colgrid .row .push_twelve { + margin-left: 78.18182%; +} +.sixteen.colgrid .row .push_twelve:first-child { + margin-left: 76.36364%; +} +.sixteen.colgrid .row .push_thirteen { + margin-left: 84.54545%; +} +.sixteen.colgrid .row .push_thirteen:first-child { + margin-left: 82.72727%; +} +.sixteen.colgrid .row .push_fourteen { + margin-left: 90.90909%; +} +.sixteen.colgrid .row .push_fourteen:first-child { + margin-left: 89.09091%; +} +.sixteen.colgrid .row .push_fifteen { + margin-left: 97.27273%; +} +.sixteen.colgrid .row .push_fifteen:first-child { + margin-left: 95.45455%; +} + +/* Hybrid Centered Classes */ +.sixteen.colgrid .row .one.centered { + margin-left: 47.72727%; +} +.sixteen.colgrid .row .two.centered { + margin-left: 44.54545%; +} +.sixteen.colgrid .row .three.centered { + margin-left: 41.36364%; +} +.sixteen.colgrid .row .four.centered { + margin-left: 38.18182%; +} +.sixteen.colgrid .row .five.centered { + margin-left: 35%; +} +.sixteen.colgrid .row .six.centered { + margin-left: 31.81818%; +} +.sixteen.colgrid .row .seven.centered { + margin-left: 28.63636%; +} +.sixteen.colgrid .row .eight.centered { + margin-left: 25.45455%; +} +.sixteen.colgrid .row .nine.centered { + margin-left: 22.27273%; +} +.sixteen.colgrid .row .ten.centered { + margin-left: 19.09091%; +} +.sixteen.colgrid .row .eleven.centered { + margin-left: 15.90909%; +} +.sixteen.colgrid .row .twelve.centered { + margin-left: 12.72727%; +} +.sixteen.colgrid .row .thirteen.centered { + margin-left: 9.54545%; +} +.sixteen.colgrid .row .fourteen.centered { + margin-left: 6.36364%; +} +.sixteen.colgrid .row .fifteen.centered { + margin-left: 3.18182%; +} + +.pull_right { + float: right; +} + +.pull_left { + float: left; +} + +img, object, embed { + max-width: 100%; + height: auto; +} + +img { + -ms-interpolation-mode: bicubic; +} + +#map_canvas img, .map_canvas img { + max-width: none !important; +} + +/* Tile Grid */ +.tiles { + display: block; + overflow: hidden; +} +.tiles > li { + display: block; + height: auto; + float: left; + padding-bottom: 0; +} +.tiles.two_up { + margin-left: -4%; +} +.tiles.two_up > li { + margin-left: 4%; + width: 46%; +} +.tiles.three_up, .tiles.four_up { + margin-left: -2%; +} +.tiles.three_up > li { + margin-left: 2%; + width: 31.3%; +} +.tiles.four_up > li { + margin-left: 2%; + width: 23%; +} +.tiles.five_up { + margin-left: -1.5%; +} +.tiles.five_up > li { + margin-left: 1.5%; + width: 18.5%; +} + +/* Nicolas Gallagher's micro clearfix */ +.clearfix { + *zoom: 1; +} +.clearfix:before, .clearfix:after { + content: ""; + display: table; +} +.clearfix:after { + clear: both; +} + +.row { + *zoom: 1; +} +.row:before, .row:after { + content: ""; + display: table; +} +.row:after { + clear: both; +} + +.valign { + display: table; + width: 100%; +} +.valign > div { + display: table-cell; + vertical-align: middle; +} +.valign ​ +> article { + display: table-cell; + vertical-align: middle; +} + +/* Mobile */ +@media only screen and (max-width: 767px) { + body { + -webkit-text-size-adjust: none; + -ms-text-size-adjust: none; + width: 100%; + min-width: 0; + } + + .container { + min-width: 0; + margin-left: 0; + margin-right: 0; + } + + .row { + width: 100%; + min-width: 0; + margin-left: 0; + margin-right: 0; + } + .row .row .column, .row .row .columns { + padding: 0; + } + .row .centered { + margin: 0 !important; + } + + .column, .columns { + width: auto !important; + float: none; + margin-left: 0; + margin-right: 0; + } + + .column:last-child, .columns:last-child { + margin-right: 0; + float: none; + } + + [class*="column"] + [class*="column"]:last-child { + float: none; + } + [class*="column"]:before { + display: table; + } + [class*="column"]:after { + display: table; + clear: both; + } + + [class^="push_"], + [class*="push_"] { + margin-left: 0 !important; + } +} +/*===================================================== + + Navigation (with dropdowns) + + ======================================================*/ +.navbar { + width: 100%; + min-height: 60px; + display: block; + margin-bottom: 20px; + background: #4a4d50; +} +@media only screen and (max-width: 767px) { + .navbar { + position: relative; + border: none; + } + .navbar .column, .navbar .columns { + min-height: 0; + } +} +.navbar.fixed { + top: 0; + left: 0; + z-index: 99999; +} +.navbar a.toggle { + display: none; +} +@media only screen and (max-width: 767px) { + .navbar a.toggle { + top: 18%; + right: 4%; + width: 46px; + position: absolute; + text-align: center; + display: inline-block; + color: white; + background: #4a4d50; + height: 40px; + line-height: 38px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; + font-size: 30px; + font-size: 1.875rem; + } + .navbar a.toggle:hover { + background: #565a5d; + } + .navbar a.toggle:active, .navbar a.toggle.active { + background: #3e4043; + } +} +.navbar .logo { + display: inline-block; + margin: 0 1.81818% 0 0; + padding: 0; + height: 60px; + line-height: 58px; +} +.navbar .logo a { + display: block; + padding: 0 0 0 16px; + overflow: hidden; + height: 60px; + line-height: 58px; +} +@media only screen and (max-width: 767px) { + .navbar .logo { + float: left; + display: inline; + } + .navbar .logo a { + padding: 0; + } + .navbar .logo a img { + width: auto; + height: auto; + max-width: 100%; + } +} +.navbar ul { + display: table; + vertical-align: middle; + margin: 0; + float: none; +} +@media only screen and (max-width: 767px) { + .navbar ul { + position: absolute; + display: block; + width: 100% !important; + height: 0; + max-height: 0; + top: 60px; + left: 0; + overflow: hidden; + text-align: center; + background: #3e4043; + } + .navbar ul.active { + height: auto; + max-height: 600px; + z-index: 999999; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + -webkit-box-shadow: 0 2px 2px #252728; + -moz-box-shadow: 0 2px 2px #252728; + box-shadow: 0 2px 2px #252728; + } +} +.navbar ul li { + display: table-cell; + text-align: center; + padding-bottom: 0; + margin: 0; + height: 60px; + line-height: 58px; +} +@media only screen and (max-width: 767px) { + .navbar ul li { + display: block; + position: relative; + min-height: 50px; + max-height: 320px; + height: auto; + width: 100%; + border-right: 0 !important; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + } +} +.navbar ul li > a { + display: block; + padding: 0 16px; + white-space: nowrap; + color: white; + text-shadow: 0 1px 2px #191a1b, 0 1px 0 #191a1b; + height: 60px; + line-height: 58px; + font-size: 16px; + font-size: 1rem; +} +.navbar ul li .btn { + border-color: #000101 !important; +} +.navbar ul li.field { + margin-bottom: 0 !important; + margin-right: 0; +} +@media only screen and (max-width: 767px) { + .navbar ul li.field { + padding: 0 20px; + } +} +.navbar ul li.field input.search { + background: #191a1b; + border: none; + color: #f2f2f2; +} +.navbar ul li .dropdown { + width: auto; + min-width: 0px; + max-width: 320px; + height: 0; + position: absolute; + background: #fafafa; + overflow: hidden; + z-index: 999; +} +@media only screen and (max-width: 767px) { + .navbar ul li .dropdown { + width: 100%; + max-width: 100%; + position: relative; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + } + .navbar ul li.active .dropdown { + border-bottom: 1px solid #313436; + } + .navbar ul li.active .dropdown ul { + position: relative; + top: 0; + background: #36393b; + min-height: 50px; + max-height: 250px; + height: auto; + overflow: auto; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + } + .navbar ul li.active .dropdown ul li { + min-height: 50px; + border-bottom: #3e4043; + } + .navbar ul li.active .dropdown ul li a { + color: white; + border-bottom: 1px solid #313436; + } + .navbar ul li.active .dropdown ul li a:hover { + color: #d04526; + } +} +@media only screen and (min-width: 768px) and (max-width: 1099px) { + .navbar > ul > li > .btn a { + padding: 0 10px 0 10px !important; + } + .navbar ul > li .dropdown ul li.active .dropdown { + left: -320px; + } +} + +/**** Navbar positioning for Microsoft's browser who deserves not to be mentioned ****/ +.ie7 .navbar > ul { + width: auto; +} + +.ie7 .navbar, .ie7 .navbar > ul > li > a { + display: block; +} + +.ie7 .navbar .logo, .ie7 .navbar ul, .ie7 .navbar ul li { + float: left; + display: inline-block; +} + +.ie7 .navbar .logo a { + display: block; + overflow: hidden; +} + +.ie7 .navbar > ul > li .field { + display: block; + padding: 12px 18px 0; + width: 80%; +} + +.pretty.navbar { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7b8085), color-stop(100%, #313436)); + background-image: -webkit-linear-gradient(#7b8085, #313436); + background-image: -moz-linear-gradient(#7b8085, #313436); + background-image: -o-linear-gradient(#7b8085, #313436); + background-image: linear-gradient(#7b8085, #313436); + -webkit-box-shadow: inset 0 1px 1px #7b8085, 0 1px 2px rgba(0, 0, 0, 0.8) !important; + /* Remove this line if you dont want a dropshadow on your navigation*/ + box-shadow: inset 0 1px 1px #7b8085, 0 1px 2px rgba(0, 0, 0, 0.8) !important; + /* Remove this line if you dont want a dropshadow on your navigation*/ +} +@media only screen and (max-width: 767px) { + .pretty.navbar a.toggle { + border: 1px solid #3e4043; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7b8085), color-stop(100%, #4a4d50)); + background-image: -webkit-linear-gradient(#7b8085, #4a4d50); + background-image: -moz-linear-gradient(#7b8085, #4a4d50); + background-image: -o-linear-gradient(#7b8085, #4a4d50); + background-image: linear-gradient(#7b8085, #4a4d50); + -webkit-box-shadow: inset 0 1px 2px #888d91, inset 0 -1px 1px #565a5d, inset 1px 0 1px #565a5d, inset -1px 0 1px #565a5d, 0 1px 1px #63676a; + -moz-box-shadow: inset 0 1px 2px #888d91, inset 0 -1px 1px #565a5d, inset 1px 0 1px #565a5d, inset -1px 0 1px #565a5d, 0 1px 1px #63676a; + box-shadow: inset 0 1px 2px #888d91, inset 0 -1px 1px #565a5d, inset 1px 0 1px #565a5d, inset -1px 0 1px #565a5d, 0 1px 1px #63676a; + } + .pretty.navbar a.toggle i { + text-shadow: 0 1px 1px #191a1b; + } + .pretty.navbar a.toggle:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #888d91), color-stop(100%, #565a5d)); + background-image: -webkit-linear-gradient(#888d91, #565a5d); + background-image: -moz-linear-gradient(#888d91, #565a5d); + background-image: -o-linear-gradient(#888d91, #565a5d); + background-image: linear-gradient(#888d91, #565a5d); + } + .pretty.navbar a.toggle:active, .pretty.navbar a.toggle.active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3e4043), color-stop(100%, #4a4d50)); + background-image: -webkit-linear-gradient(#3e4043, #4a4d50); + background-image: -moz-linear-gradient(#3e4043, #4a4d50); + background-image: -o-linear-gradient(#3e4043, #4a4d50); + background-image: linear-gradient(#3e4043, #4a4d50); + -webkit-box-shadow: 0 1px 1px #63676a; + -moz-box-shadow: 0 1px 1px #63676a; + box-shadow: 0 1px 1px #63676a; + } +} +.pretty.navbar.row { + border-radius: 4px; +} +@media only screen and (max-width: 767px) { + .pretty.navbar.row { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + } +} +.pretty.navbar ul li.field input.search { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #191a1b), color-stop(100%, #4f5255)); + background-image: -webkit-linear-gradient(#191a1b, #4f5255); + background-image: -moz-linear-gradient(#191a1b, #4f5255); + background-image: -o-linear-gradient(#191a1b, #4f5255); + background-image: linear-gradient(#191a1b, #4f5255); + border: none; + box-shadow: 0 1px 2px #888d91 !important; + /* Remove this line if you dont want a dropshadow on your navigation*/ +} +.pretty.navbar > ul > li:first-child, .pretty.navbar .pretty.navbar > ul > li:first-child a:hover { + box-shadow: none; +} + +.navbar li .dropdown ul { + margin: 0; + display: block; +} +.navbar li .dropdown ul > li { + position: relative; + display: block; + width: 100%; + float: left; + text-align: left; + height: auto; + border-radius: none; +} +@media only screen and (min-width: 768px) and (max-width: 1099px) { + .navbar li .dropdown ul > li { + max-width: 320px; + word-wrap: break-word; + } +} +.navbar li .dropdown ul > li a { + display: block; + padding: 0 20px; + color: #d04526; + border-bottom: 1px solid #cccccc; + text-shadow: none; + height: 51px; + line-height: 49px; +} +@media only screen and (max-width: 767px) { + .navbar li .dropdown ul > li a { + padding: 0 20px; + } +} +.navbar li .dropdown ul > li .dropdown { + display: none; + background: white; +} +.navbar li .dropdown ul li:first-child a { + border-radius: 0; +} + +.no-touch .navbar ul li:hover > a { + position: relative; + background: #868d92; + z-index: 1000; +} + +.no-touch .navbar ul li:hover .dropdown, +.touch .navbar ul li.active .dropdown { + min-height: 50px; + max-height: 561px; + overflow: visible; + height: auto; + width: 100%; + padding: 0; + border-top: 1px solid #3e4043; + -webkit-box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); + box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); +} + +.no-touch .navbar ul li:hover .dropdown ul { + position: relative; + top: 0; + min-height: 50px; + max-height: 250px; + height: auto; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; +} +@media only screen and (max-width: 767px) { + .no-touch .navbar ul li:hover .dropdown ul { + overflow: auto; + background: #36393b; + } + .no-touch .navbar ul li:hover .dropdown ul li { + border-bottom: #3e4043; + } + .no-touch .navbar ul li:hover .dropdown ul li a { + color: white; + border-bottom: 1px solid #313436; + } + .no-touch .navbar ul li:hover .dropdown ul li a:hover { + color: #d04526; + } +} +.no-touch .navbar ul li:hover .dropdown ul li { + min-height: 50px; +} + +.no-touch .navbar li .dropdown ul > li:hover .dropdown, +.touch .navbar li .dropdown ul > li.active .dropdown { + border-top: none; + display: block; + position: absolute; + z-index: 9999; + left: 100%; + top: 0px; + margin-top: 0; +} +@media only screen and (max-width: 767px) { + .no-touch .navbar li .dropdown ul > li:hover .dropdown, + .touch .navbar li .dropdown ul > li.active .dropdown { + position: relative; + left: 0; + } + .no-touch .navbar li .dropdown ul > li:hover .dropdown ul, + .touch .navbar li .dropdown ul > li.active .dropdown ul { + background: #252728 !important; + } +} + +.no-touch .navbar li .dropdown ul li a:hover { + background: #f2f2f2; +} + +.touch .navbar a:hover { + color: white !important; +} + +.subnav { + display: block; + width: auto; + overflow: hidden; + margin: 0 0 18px 0; + padding-top: 4px; +} +.subnav li, .subnav dt, .subnav dd { + float: left; + display: inline; + margin-left: 9px; + margin-bottom: 4px; +} +.subnav li:first-child, .subnav dt:first-child, .subnav dd:first-child { + margin-left: 0; +} +.subnav dt { + color: #999; + font-weight: normal; +} +.subnav li a, .subnav dd a { + color: #05390a; + font-size: 15px; + text-decoration: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.subnav li.active a, .subnav dd.active a { + background: #5dbb73; + padding: 5px 9px; + text-shadow: 0 1px 1px #77d58e; +} + +/* Buttons */ +.btn, .skiplink { + display: inline-block; + width: auto; + background: #f2f2f2; + -webkit-appearance: none; + font-family: "Open Sans"; + font-weight: 600; + padding: 0 !important; + text-align: center; +} +.btn > a, .btn input, .btn button, .skiplink > a, .skiplink input, .skiplink button { + display: block; + padding: 0 18px; + color: white; + height: 100%; +} +.btn input, .btn button, .skiplink input, .skiplink button { + background: none; + border: none; + width: 100%; + font-size: 100%; + cursor: pointer; + font-weight: 400; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.btn.xlarge, .skiplink.xlarge { + font-size: 30px; + font-size: 1.875rem; + height: 66px; + line-height: 64px; +} +.btn.xlarge a, .skiplink.xlarge a { + position: relative; + padding: 0 30px; +} +.btn.xlarge.icon-left a, .skiplink.xlarge.icon-left a { + padding-left: 66px; +} +.btn.xlarge.icon-left a:before, .skiplink.xlarge.icon-left a:before { + left: 20px; +} +.btn.xlarge.icon-right a, .skiplink.xlarge.icon-right a { + padding-right: 66px; +} +.btn.xlarge.icon-right a:after, .skiplink.xlarge.icon-right a:after { + right: 20px; +} +.btn.large, .skiplink.large { + font-size: 26px; + font-size: 1.625rem; + height: 58px; + line-height: 56px; +} +.btn.large a, .skiplink.large a { + position: relative; + padding: 0 26px; +} +.btn.large.icon-left a, .skiplink.large.icon-left a { + padding-left: 58px; +} +.btn.large.icon-left a:before, .skiplink.large.icon-left a:before { + left: 17.33333px; +} +.btn.large.icon-right a, .skiplink.large.icon-right a { + padding-right: 58px; +} +.btn.large.icon-right a:after, .skiplink.large.icon-right a:after { + right: 17.33333px; +} +.btn.medium, .skiplink.medium { + font-size: 16px; + font-size: 1rem; + height: 36px; + line-height: 34px; +} +.btn.medium a, .skiplink.medium a { + position: relative; + padding: 0 16px; +} +.btn.medium.icon-left a, .skiplink.medium.icon-left a { + padding-left: 36px; +} +.btn.medium.icon-left a:before, .skiplink.medium.icon-left a:before { + left: 10.66667px; +} +.btn.medium.icon-right a, .skiplink.medium.icon-right a { + padding-right: 36px; +} +.btn.medium.icon-right a:after, .skiplink.medium.icon-right a:after { + right: 10.66667px; +} +.btn.medium a, .skiplink.medium a { + padding: 0 18px; +} +.btn.small, .skiplink.small { + font-size: 10px; + font-size: 0.625rem; + height: 23px; + line-height: 21px; +} +.btn.small a, .skiplink.small a { + position: relative; + padding: 0 10px; +} +.btn.small.icon-left a, .skiplink.small.icon-left a { + padding-left: 23px; +} +.btn.small.icon-left a:before, .skiplink.small.icon-left a:before { + left: 6.66667px; +} +.btn.small.icon-right a, .skiplink.small.icon-right a { + padding-right: 23px; +} +.btn.small.icon-right a:after, .skiplink.small.icon-right a:after { + right: 6.66667px; +} +.btn.small a, .skiplink.small a { + padding: 0 10px; +} +.btn.oval, .skiplink.oval { + -webkit-border-radius: 1000px; + -moz-border-radius: 1000px; + -ms-border-radius: 1000px; + -o-border-radius: 1000px; + border-radius: 1000px; +} +.btn.pill-left, .skiplink.pill-left { + -webkit-border-radius: 500px 0 0 500px; + -moz-border-radius: 500px 0 0 500px; + -ms-border-radius: 500px 0 0 500px; + -o-border-radius: 500px 0 0 500px; + border-radius: 500px 0 0 500px; +} +.btn.pill-right, .skiplink.pill-right { + -webkit-border-radius: 0 500px 500px 0; + -moz-border-radius: 0 500px 500px 0; + -ms-border-radius: 0 500px 500px 0; + -o-border-radius: 0 500px 500px 0; + border-radius: 0 500px 500px 0; +} +.btn.primary, .skiplink.primary { + background: #3085d6; + border: 1px solid #3085d6; +} +.btn.primary:hover, .skiplink.primary:hover { + background: #5b9ede; +} +.btn.primary:active, .skiplink.primary:active { + background: #236bb0; +} +.btn.secondary, .skiplink.secondary { + background: #42a35a; + border: 1px solid #42a35a; +} +.btn.secondary:hover, .skiplink.secondary:hover { + background: #5bbd73; +} +.btn.secondary:active, .skiplink.secondary:active { + background: #337f46; +} +.btn.default, .skiplink.default { + background: #f2f2f2; + border: 1px solid #f2f2f2; + color: #555555; + border: 1px solid #f2f2f2; +} +.btn.default:hover, .skiplink.default:hover { + background: white; +} +.btn.default:active, .skiplink.default:active { + background: #d8d8d8; +} +.btn.default:hover, .skiplink.default:hover { + border: 1px solid #e5e5e5; +} +.btn.default a, .btn.default input, .btn.default button, .skiplink.default a, .skiplink.default input, .skiplink.default button { + color: #555555; +} +.btn.info, .skiplink.info { + background: #4a4d50; + border: 1px solid #4a4d50; +} +.btn.info:hover, .skiplink.info:hover { + background: #63676a; +} +.btn.info:active, .skiplink.info:active { + background: #313436; +} +.btn.danger, .skiplink.danger { + background: #ca3838; + border: 1px solid #ca3838; +} +.btn.danger:hover, .skiplink.danger:hover { + background: #d56060; +} +.btn.danger:active, .skiplink.danger:active { + background: #a32c2c; +} +.btn.warning, .skiplink.warning { + background: #f6b83f; + border: 1px solid #f6b83f; + color: #644405; +} +.btn.warning:hover, .skiplink.warning:hover { + background: #f8ca70; +} +.btn.warning:active, .skiplink.warning:active { + background: #f4a60e; +} +.btn.warning a, .btn.warning input, .btn.warning button, .skiplink.warning a, .skiplink.warning input, .skiplink.warning button { + color: #644405; +} +.btn.success, .skiplink.success { + background: #58c026; + border: 1px solid #58c026; +} +.btn.success:hover, .skiplink.success:hover { + background: #72d940; +} +.btn.success:active, .skiplink.success:active { + background: #44951e; +} +.btn.twitter, .skiplink.twitter { + background: #00aced; + border: 1px solid #00aced; +} +.btn.twitter:hover, .skiplink.twitter:hover { + background: #21c2ff; +} +.btn.twitter:active, .skiplink.twitter:active { + background: #0087ba; +} +.btn.facebook, .skiplink.facebook { + background: #3b5998; + border: 1px solid #3b5998; +} +.btn.facebook:hover, .skiplink.facebook:hover { + background: #4c70ba; +} +.btn.facebook:active, .skiplink.facebook:active { + background: #2d4373; +} +.btn.metro, .metro .btn, .metro .skiplink, .btn.metro:hover, .metro .btn:hover, .metro .skiplink:hover, .skiplink.metro:hover, .btn.metro:active, .metro .btn:active, .metro .skiplink:active, .skiplink.metro:active, .skiplink.metro { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; +} +.btn.metro.rounded, .metro .rounded.btn, .metro .rounded.skiplink, .metro .rounded.btn:hover, .metro .rounded.skiplink:hover, .rounded.skiplink.metro:hover, .metro .rounded.btn:active, .metro .rounded.skiplink:active, .rounded.skiplink.metro:active, .skiplink.metro.rounded { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +.btn.pretty, .pretty .btn, .pretty .skiplink, .btn.pretty:hover, .pretty .btn:hover, .pretty .skiplink:hover, .skiplink.pretty:hover, .btn.pretty:active, .pretty .btn:active, .pretty .skiplink:active, .skiplink.pretty:active, .skiplink.pretty { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +.btn.pretty.squared, .pretty .squared.btn, .pretty .squared.skiplink, .pretty .squared.btn:hover, .pretty .squared.skiplink:hover, .squared.skiplink.pretty:hover, .pretty .squared.btn:active, .pretty .squared.skiplink:active, .squared.skiplink.pretty:active, .skiplink.pretty.squared { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; +} +.btn.pretty.primary, .pretty .primary.btn, .pretty .primary.skiplink, .pretty .primary.btn:hover, .pretty .primary.skiplink:hover, .primary.skiplink.pretty:hover, .pretty .primary.btn:active, .pretty .primary.skiplink:active, .primary.skiplink.pretty:active, .skiplink.pretty.primary { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #85b7e7), color-stop(100%, #2a85dc)); + background-image: -webkit-linear-gradient(#85b7e7, #2a85dc); + background-image: -moz-linear-gradient(#85b7e7, #2a85dc); + background-image: -o-linear-gradient(#85b7e7, #2a85dc); + background-image: linear-gradient(#85b7e7, #2a85dc); + box-shadow: inset 0 0 3px #f0f6fc; + border: 1px solid #1f5e9b; +} +.pretty .primary.btn:hover, .pretty .primary.skiplink:hover, .primary.btn.pretty:hover, .primary.skiplink.pretty:hover, .pretty .primary.btn:hover:active, .pretty .primary.skiplink:hover:active, .skiplink.pretty.primary:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #a2d4fc), color-stop(100%, #54b2fe)); + background-image: -webkit-linear-gradient(#a2d4fc, #54b2fe); + background-image: -moz-linear-gradient(#a2d4fc, #54b2fe); + background-image: -o-linear-gradient(#a2d4fc, #54b2fe); + background-image: linear-gradient(#a2d4fc, #54b2fe); + box-shadow: inset 0 0 3px white; + border: 1px solid #0e90f8; +} +.pretty .primary.btn:active, .pretty .primary.skiplink:active, .pretty .primary.btn:active:hover, .pretty .primary.skiplink:active:hover, .primary.btn.pretty:active, .primary.skiplink.pretty:active, .skiplink.pretty.primary:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2a85dc), color-stop(100%, #85b7e7)); + background-image: -webkit-linear-gradient(#2a85dc, #85b7e7); + background-image: -moz-linear-gradient(#2a85dc, #85b7e7); + background-image: -o-linear-gradient(#2a85dc, #85b7e7); + background-image: linear-gradient(#2a85dc, #85b7e7); + box-shadow: inset 0 0 3px white; +} +.btn.pretty.primary a, .pretty .primary.btn a, .pretty .primary.skiplink a, .pretty .primary.btn:hover a, .pretty .primary.skiplink:hover a, .primary.skiplink.pretty:hover a, .pretty .primary.btn:active a, .pretty .primary.skiplink:active a, .primary.skiplink.pretty:active a, .btn.pretty.primary input, .pretty .primary.btn input, .pretty .primary.skiplink input, .pretty .primary.btn:hover input, .pretty .primary.skiplink:hover input, .primary.skiplink.pretty:hover input, .pretty .primary.btn:active input, .pretty .primary.skiplink:active input, .primary.skiplink.pretty:active input, .btn.pretty.primary button, .pretty .primary.btn button, .pretty .primary.skiplink button, .pretty .primary.btn:hover button, .pretty .primary.skiplink:hover button, .primary.skiplink.pretty:hover button, .pretty .primary.btn:active button, .pretty .primary.skiplink:active button, .primary.skiplink.pretty:active button, .skiplink.pretty.primary a, .skiplink.pretty.primary input, .skiplink.pretty.primary button { + text-shadow: 0 1px 1px #1a5186; +} +.btn.pretty.secondary, .pretty .secondary.btn, .pretty .secondary.skiplink, .pretty .secondary.btn:hover, .pretty .secondary.skiplink:hover, .secondary.skiplink.pretty:hover, .pretty .secondary.btn:active, .pretty .secondary.skiplink:active, .secondary.skiplink.pretty:active, .skiplink.pretty.secondary { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #80cb92), color-stop(100%, #3ca957)); + background-image: -webkit-linear-gradient(#80cb92, #3ca957); + background-image: -moz-linear-gradient(#80cb92, #3ca957); + background-image: -o-linear-gradient(#80cb92, #3ca957); + background-image: linear-gradient(#80cb92, #3ca957); + box-shadow: inset 0 0 3px #daf0e0; + border: 1px solid #2c6d3c; +} +.pretty .secondary.btn:hover, .pretty .secondary.skiplink:hover, .secondary.btn.pretty:hover, .secondary.skiplink.pretty:hover, .pretty .secondary.btn:hover:active, .pretty .secondary.skiplink:hover:active, .skiplink.pretty.secondary:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #a1d3ad), color-stop(100%, #68c07d)); + background-image: -webkit-linear-gradient(#a1d3ad, #68c07d); + background-image: -moz-linear-gradient(#a1d3ad, #68c07d); + background-image: -o-linear-gradient(#a1d3ad, #68c07d); + background-image: linear-gradient(#a1d3ad, #68c07d); + box-shadow: inset 0 0 3px #f8fcf9; + border: 1px solid #469659; +} +.pretty .secondary.btn:active, .pretty .secondary.skiplink:active, .pretty .secondary.btn:active:hover, .pretty .secondary.skiplink:active:hover, .secondary.btn.pretty:active, .secondary.skiplink.pretty:active, .skiplink.pretty.secondary:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3ca957), color-stop(100%, #80cb92)); + background-image: -webkit-linear-gradient(#3ca957, #80cb92); + background-image: -moz-linear-gradient(#3ca957, #80cb92); + background-image: -o-linear-gradient(#3ca957, #80cb92); + background-image: linear-gradient(#3ca957, #80cb92); + box-shadow: inset 0 0 3px #ecf8ef; +} +.btn.pretty.secondary a, .pretty .secondary.btn a, .pretty .secondary.skiplink a, .pretty .secondary.btn:hover a, .pretty .secondary.skiplink:hover a, .secondary.skiplink.pretty:hover a, .pretty .secondary.btn:active a, .pretty .secondary.skiplink:active a, .secondary.skiplink.pretty:active a, .btn.pretty.secondary input, .pretty .secondary.btn input, .pretty .secondary.skiplink input, .pretty .secondary.btn:hover input, .pretty .secondary.skiplink:hover input, .secondary.skiplink.pretty:hover input, .pretty .secondary.btn:active input, .pretty .secondary.skiplink:active input, .secondary.skiplink.pretty:active input, .btn.pretty.secondary button, .pretty .secondary.btn button, .pretty .secondary.skiplink button, .pretty .secondary.btn:hover button, .pretty .secondary.skiplink:hover button, .secondary.skiplink.pretty:hover button, .pretty .secondary.btn:active button, .pretty .secondary.skiplink:active button, .secondary.skiplink.pretty:active button, .skiplink.pretty.secondary a, .skiplink.pretty.secondary input, .skiplink.pretty.secondary button { + text-shadow: 0 1px 1px #255a32; +} +.btn.pretty.default, .pretty .default.btn, .pretty .default.skiplink, .pretty .default.btn:hover, .pretty .default.skiplink:hover, .default.skiplink.pretty:hover, .pretty .default.btn:active, .pretty .default.skiplink:active, .default.skiplink.pretty:active, .skiplink.pretty.default { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f3f1f1)); + background-image: -webkit-linear-gradient(#ffffff, #f3f1f1); + background-image: -moz-linear-gradient(#ffffff, #f3f1f1); + background-image: -o-linear-gradient(#ffffff, #f3f1f1); + background-image: linear-gradient(#ffffff, #f3f1f1); + box-shadow: inset 0 0 3px white; + border: 1px solid #cccccc; +} +.pretty .default.btn:hover, .pretty .default.skiplink:hover, .default.btn.pretty:hover, .default.skiplink.pretty:hover, .pretty .default.btn:hover:active, .pretty .default.skiplink:hover:active, .skiplink.pretty.default:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #ffffff)); + background-image: -webkit-linear-gradient(#ffffff, #ffffff); + background-image: -moz-linear-gradient(#ffffff, #ffffff); + background-image: -o-linear-gradient(#ffffff, #ffffff); + background-image: linear-gradient(#ffffff, #ffffff); + box-shadow: inset 0 0 3px white; + border: 1px solid #d9d9d9; +} +.pretty .default.btn:active, .pretty .default.skiplink:active, .pretty .default.btn:active:hover, .pretty .default.skiplink:active:hover, .default.btn.pretty:active, .default.skiplink.pretty:active, .skiplink.pretty.default:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f3f1f1), color-stop(100%, #ffffff)); + background-image: -webkit-linear-gradient(#f3f1f1, #ffffff); + background-image: -moz-linear-gradient(#f3f1f1, #ffffff); + background-image: -o-linear-gradient(#f3f1f1, #ffffff); + background-image: linear-gradient(#f3f1f1, #ffffff); + box-shadow: inset 0 0 3px white; +} +.btn.pretty.default a, .pretty .default.btn a, .pretty .default.skiplink a, .pretty .default.btn:hover a, .pretty .default.skiplink:hover a, .default.skiplink.pretty:hover a, .pretty .default.btn:active a, .pretty .default.skiplink:active a, .default.skiplink.pretty:active a, .btn.pretty.default input, .pretty .default.btn input, .pretty .default.skiplink input, .pretty .default.btn:hover input, .pretty .default.skiplink:hover input, .default.skiplink.pretty:hover input, .pretty .default.btn:active input, .pretty .default.skiplink:active input, .default.skiplink.pretty:active input, .btn.pretty.default button, .pretty .default.btn button, .pretty .default.skiplink button, .pretty .default.btn:hover button, .pretty .default.skiplink:hover button, .default.skiplink.pretty:hover button, .pretty .default.btn:active button, .pretty .default.skiplink:active button, .default.skiplink.pretty:active button, .skiplink.pretty.default a, .skiplink.pretty.default input, .skiplink.pretty.default button { + text-shadow: 0 1px 1px white; +} +.btn.pretty.info, .pretty .info.btn, .pretty .info.skiplink, .pretty .info.btn:hover, .pretty .info.skiplink:hover, .info.skiplink.pretty:hover, .pretty .info.btn:active, .pretty .info.skiplink:active, .info.skiplink.pretty:active, .skiplink.pretty.info { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7b8085), color-stop(100%, #464d54)); + background-image: -webkit-linear-gradient(#7b8085, #464d54); + background-image: -moz-linear-gradient(#7b8085, #464d54); + background-image: -o-linear-gradient(#7b8085, #464d54); + background-image: linear-gradient(#7b8085, #464d54); + box-shadow: inset 0 0 3px #bdc0c2; + border: 1px solid #252728; +} +.pretty .info.btn:hover, .pretty .info.skiplink:hover, .info.btn.pretty:hover, .info.skiplink.pretty:hover, .pretty .info.btn:hover:active, .pretty .info.skiplink:hover:active, .skiplink.pretty.info:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #aeb3b6), color-stop(100%, #808e98)); + background-image: -webkit-linear-gradient(#aeb3b6, #808e98); + background-image: -moz-linear-gradient(#aeb3b6, #808e98); + background-image: -o-linear-gradient(#aeb3b6, #808e98); + background-image: linear-gradient(#aeb3b6, #808e98); + box-shadow: inset 0 0 3px #f1f2f3; + border: 1px solid #60676b; +} +.pretty .info.btn:active, .pretty .info.skiplink:active, .pretty .info.btn:active:hover, .pretty .info.skiplink:active:hover, .info.btn.pretty:active, .info.skiplink.pretty:active, .skiplink.pretty.info:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #464d54), color-stop(100%, #7b8085)); + background-image: -webkit-linear-gradient(#464d54, #7b8085); + background-image: -moz-linear-gradient(#464d54, #7b8085); + background-image: -o-linear-gradient(#464d54, #7b8085); + background-image: linear-gradient(#464d54, #7b8085); + box-shadow: inset 0 0 3px #cbcdce; +} +.btn.pretty.info a, .pretty .info.btn a, .pretty .info.skiplink a, .pretty .info.btn:hover a, .pretty .info.skiplink:hover a, .info.skiplink.pretty:hover a, .pretty .info.btn:active a, .pretty .info.skiplink:active a, .info.skiplink.pretty:active a, .btn.pretty.info input, .pretty .info.btn input, .pretty .info.skiplink input, .pretty .info.btn:hover input, .pretty .info.skiplink:hover input, .info.skiplink.pretty:hover input, .pretty .info.btn:active input, .pretty .info.skiplink:active input, .info.skiplink.pretty:active input, .btn.pretty.info button, .pretty .info.btn button, .pretty .info.skiplink button, .pretty .info.btn:hover button, .pretty .info.skiplink:hover button, .info.skiplink.pretty:hover button, .pretty .info.btn:active button, .pretty .info.skiplink:active button, .info.skiplink.pretty:active button, .skiplink.pretty.info a, .skiplink.pretty.info input, .skiplink.pretty.info button { + text-shadow: 0 1px 1px #191a1b; +} +.btn.pretty.danger, .pretty .danger.btn, .pretty .danger.skiplink, .pretty .danger.btn:hover, .pretty .danger.skiplink:hover, .danger.skiplink.pretty:hover, .pretty .danger.btn:active, .pretty .danger.skiplink:active, .danger.skiplink.pretty:active, .skiplink.pretty.danger { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #df8989), color-stop(100%, #d03232)); + background-image: -webkit-linear-gradient(#df8989, #d03232); + background-image: -moz-linear-gradient(#df8989, #d03232); + background-image: -o-linear-gradient(#df8989, #d03232); + background-image: linear-gradient(#df8989, #d03232); + box-shadow: inset 0 0 3px #faeded; + border: 1px solid #8f2626; +} +.pretty .danger.btn:hover, .pretty .danger.skiplink:hover, .danger.btn.pretty:hover, .danger.skiplink.pretty:hover, .pretty .danger.btn:hover:active, .pretty .danger.skiplink:hover:active, .skiplink.pretty.danger:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f79696), color-stop(100%, #f64a4a)); + background-image: -webkit-linear-gradient(#f79696, #f64a4a); + background-image: -moz-linear-gradient(#f79696, #f64a4a); + background-image: -o-linear-gradient(#f79696, #f64a4a); + background-image: linear-gradient(#f79696, #f64a4a); + box-shadow: inset 0 0 3px white; + border: 1px solid #e21212; +} +.pretty .danger.btn:active, .pretty .danger.skiplink:active, .pretty .danger.btn:active:hover, .pretty .danger.skiplink:active:hover, .danger.btn.pretty:active, .danger.skiplink.pretty:active, .skiplink.pretty.danger:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d03232), color-stop(100%, #df8989)); + background-image: -webkit-linear-gradient(#d03232, #df8989); + background-image: -moz-linear-gradient(#d03232, #df8989); + background-image: -o-linear-gradient(#d03232, #df8989); + background-image: linear-gradient(#d03232, #df8989); + box-shadow: inset 0 0 3px white; +} +.btn.pretty.danger a, .pretty .danger.btn a, .pretty .danger.skiplink a, .pretty .danger.btn:hover a, .pretty .danger.skiplink:hover a, .danger.skiplink.pretty:hover a, .pretty .danger.btn:active a, .pretty .danger.skiplink:active a, .danger.skiplink.pretty:active a, .btn.pretty.danger input, .pretty .danger.btn input, .pretty .danger.skiplink input, .pretty .danger.btn:hover input, .pretty .danger.skiplink:hover input, .danger.skiplink.pretty:hover input, .pretty .danger.btn:active input, .pretty .danger.skiplink:active input, .danger.skiplink.pretty:active input, .btn.pretty.danger button, .pretty .danger.btn button, .pretty .danger.skiplink button, .pretty .danger.btn:hover button, .pretty .danger.skiplink:hover button, .danger.skiplink.pretty:hover button, .pretty .danger.btn:active button, .pretty .danger.skiplink:active button, .danger.skiplink.pretty:active button, .skiplink.pretty.danger a, .skiplink.pretty.danger input, .skiplink.pretty.danger button { + text-shadow: 0 1px 1px #7b2121; +} +.btn.pretty.warning, .pretty .warning.btn, .pretty .warning.skiplink, .pretty .warning.btn:hover, .pretty .warning.skiplink:hover, .warning.skiplink.pretty:hover, .pretty .warning.btn:active, .pretty .warning.skiplink:active, .warning.skiplink.pretty:active, .skiplink.pretty.warning { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fbdca0), color-stop(100%, #fbba3a)); + background-image: -webkit-linear-gradient(#fbdca0, #fbba3a); + background-image: -moz-linear-gradient(#fbdca0, #fbba3a); + background-image: -o-linear-gradient(#fbdca0, #fbba3a); + background-image: linear-gradient(#fbdca0, #fbba3a); + box-shadow: inset 0 0 3px white; + border: 1px solid #de960a; + color: #644405; +} +.pretty .warning.btn:hover, .pretty .warning.skiplink:hover, .warning.btn.pretty:hover, .warning.skiplink.pretty:hover, .pretty .warning.btn:hover:active, .pretty .warning.skiplink:hover:active, .skiplink.pretty.warning:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #feecca), color-stop(100%, #ffd37d)); + background-image: -webkit-linear-gradient(#feecca, #ffd37d); + background-image: -moz-linear-gradient(#feecca, #ffd37d); + background-image: -o-linear-gradient(#feecca, #ffd37d); + background-image: linear-gradient(#feecca, #ffd37d); + box-shadow: inset 0 0 3px white; + border: 1px solid #fcb834; +} +.pretty .warning.btn:active, .pretty .warning.skiplink:active, .pretty .warning.btn:active:hover, .pretty .warning.skiplink:active:hover, .warning.btn.pretty:active, .warning.skiplink.pretty:active, .skiplink.pretty.warning:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fbba3a), color-stop(100%, #fbdca0)); + background-image: -webkit-linear-gradient(#fbba3a, #fbdca0); + background-image: -moz-linear-gradient(#fbba3a, #fbdca0); + background-image: -o-linear-gradient(#fbba3a, #fbdca0); + background-image: linear-gradient(#fbba3a, #fbdca0); + box-shadow: inset 0 0 3px white; +} +.btn.pretty.warning a, .pretty .warning.btn a, .pretty .warning.skiplink a, .pretty .warning.btn:hover a, .pretty .warning.skiplink:hover a, .warning.skiplink.pretty:hover a, .pretty .warning.btn:active a, .pretty .warning.skiplink:active a, .warning.skiplink.pretty:active a, .btn.pretty.warning input, .pretty .warning.btn input, .pretty .warning.skiplink input, .pretty .warning.btn:hover input, .pretty .warning.skiplink:hover input, .warning.skiplink.pretty:hover input, .pretty .warning.btn:active input, .pretty .warning.skiplink:active input, .warning.skiplink.pretty:active input, .btn.pretty.warning button, .pretty .warning.btn button, .pretty .warning.skiplink button, .pretty .warning.btn:hover button, .pretty .warning.skiplink:hover button, .warning.skiplink.pretty:hover button, .pretty .warning.btn:active button, .pretty .warning.skiplink:active button, .warning.skiplink.pretty:active button, .skiplink.pretty.warning a, .skiplink.pretty.warning input, .skiplink.pretty.warning button { + text-shadow: 0 1px 1px #fbdca0; +} +.btn.pretty.success, .pretty .success.btn, .pretty .success.skiplink, .pretty .success.btn:hover, .pretty .success.skiplink:hover, .success.skiplink.pretty:hover, .pretty .success.btn:active, .pretty .success.skiplink:active, .success.skiplink.pretty:active, .skiplink.pretty.success { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #91e26a), color-stop(100%, #56c620)); + background-image: -webkit-linear-gradient(#91e26a, #56c620); + background-image: -moz-linear-gradient(#91e26a, #56c620); + background-image: -o-linear-gradient(#91e26a, #56c620); + background-image: linear-gradient(#91e26a, #56c620); + box-shadow: inset 0 0 3px #e0f7d5; + border: 1px solid #3b8019; +} +.pretty .success.btn:hover, .pretty .success.skiplink:hover, .success.btn.pretty:hover, .success.skiplink.pretty:hover, .pretty .success.btn:hover:active, .pretty .success.skiplink:hover:active, .skiplink.pretty.success:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #96e570), color-stop(100%, #64df29)); + background-image: -webkit-linear-gradient(#96e570, #64df29); + background-image: -moz-linear-gradient(#96e570, #64df29); + background-image: -o-linear-gradient(#96e570, #64df29); + background-image: linear-gradient(#96e570, #64df29); + box-shadow: inset 0 0 3px #e5f9db; + border: 1px solid #479f1d; +} +.pretty .success.btn:active, .pretty .success.skiplink:active, .pretty .success.btn:active:hover, .pretty .success.skiplink:active:hover, .success.btn.pretty:active, .success.skiplink.pretty:active, .skiplink.pretty.success:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #56c620), color-stop(100%, #91e26a)); + background-image: -webkit-linear-gradient(#56c620, #91e26a); + background-image: -moz-linear-gradient(#56c620, #91e26a); + background-image: -o-linear-gradient(#56c620, #91e26a); + background-image: linear-gradient(#56c620, #91e26a); + box-shadow: inset 0 0 3px #f0fbea; +} +.btn.pretty.success a, .pretty .success.btn a, .pretty .success.skiplink a, .pretty .success.btn:hover a, .pretty .success.skiplink:hover a, .success.skiplink.pretty:hover a, .pretty .success.btn:active a, .pretty .success.skiplink:active a, .success.skiplink.pretty:active a, .btn.pretty.success input, .pretty .success.btn input, .pretty .success.skiplink input, .pretty .success.btn:hover input, .pretty .success.skiplink:hover input, .success.skiplink.pretty:hover input, .pretty .success.btn:active input, .pretty .success.skiplink:active input, .success.skiplink.pretty:active input, .btn.pretty.success button, .pretty .success.btn button, .pretty .success.skiplink button, .pretty .success.btn:hover button, .pretty .success.skiplink:hover button, .success.skiplink.pretty:hover button, .pretty .success.btn:active button, .pretty .success.skiplink:active button, .success.skiplink.pretty:active button, .skiplink.pretty.success a, .skiplink.pretty.success input, .skiplink.pretty.success button { + text-shadow: 0 1px 1px #316b15; +} +.btn.pretty.twitter, .pretty .twitter.btn, .pretty .twitter.skiplink, .pretty .twitter.btn:hover, .pretty .twitter.skiplink:hover, .twitter.skiplink.pretty:hover, .pretty .twitter.btn:active, .pretty .twitter.skiplink:active, .twitter.skiplink.pretty:active, .skiplink.pretty.twitter { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #54d0ff), color-stop(100%, #00aced)); + background-image: -webkit-linear-gradient(#54d0ff, #00aced); + background-image: -moz-linear-gradient(#54d0ff, #00aced); + background-image: -o-linear-gradient(#54d0ff, #00aced); + background-image: linear-gradient(#54d0ff, #00aced); + box-shadow: inset 0 0 3px #d4f3ff; + border: 1px solid #0074a1; +} +.pretty .twitter.btn:hover, .pretty .twitter.skiplink:hover, .twitter.btn.pretty:hover, .twitter.skiplink.pretty:hover, .pretty .twitter.btn:hover:active, .pretty .twitter.skiplink:hover:active, .skiplink.pretty.twitter:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #70d6fc), color-stop(100%, #21c2ff)); + background-image: -webkit-linear-gradient(#70d6fc, #21c2ff); + background-image: -moz-linear-gradient(#70d6fc, #21c2ff); + background-image: -o-linear-gradient(#70d6fc, #21c2ff); + background-image: linear-gradient(#70d6fc, #21c2ff); + box-shadow: inset 0 0 3px #edfaff; + border: 1px solid #0497d0; +} +.pretty .twitter.btn:active, .pretty .twitter.skiplink:active, .pretty .twitter.btn:active:hover, .pretty .twitter.skiplink:active:hover, .twitter.btn.pretty:active, .twitter.skiplink.pretty:active, .skiplink.pretty.twitter:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #00aced), color-stop(100%, #54d0ff)); + background-image: -webkit-linear-gradient(#00aced, #54d0ff); + background-image: -moz-linear-gradient(#00aced, #54d0ff); + background-image: -o-linear-gradient(#00aced, #54d0ff); + background-image: linear-gradient(#00aced, #54d0ff); + box-shadow: inset 0 0 3px #edfaff; +} +.btn.pretty.twitter a, .pretty .twitter.btn a, .pretty .twitter.skiplink a, .pretty .twitter.btn:hover a, .pretty .twitter.skiplink:hover a, .twitter.skiplink.pretty:hover a, .pretty .twitter.btn:active a, .pretty .twitter.skiplink:active a, .twitter.skiplink.pretty:active a, .btn.pretty.twitter input, .pretty .twitter.btn input, .pretty .twitter.skiplink input, .pretty .twitter.btn:hover input, .pretty .twitter.skiplink:hover input, .twitter.skiplink.pretty:hover input, .pretty .twitter.btn:active input, .pretty .twitter.skiplink:active input, .twitter.skiplink.pretty:active input, .btn.pretty.twitter button, .pretty .twitter.btn button, .pretty .twitter.skiplink button, .pretty .twitter.btn:hover button, .pretty .twitter.skiplink:hover button, .twitter.skiplink.pretty:hover button, .pretty .twitter.btn:active button, .pretty .twitter.skiplink:active button, .twitter.skiplink.pretty:active button, .skiplink.pretty.twitter a, .skiplink.pretty.twitter input, .skiplink.pretty.twitter button { + text-shadow: 0 1px 1px #006287; +} +.btn.pretty.facebook, .pretty .facebook.btn, .pretty .facebook.skiplink, .pretty .facebook.btn:hover, .pretty .facebook.skiplink:hover, .facebook.skiplink.pretty:hover, .pretty .facebook.btn:active, .pretty .facebook.skiplink:active, .facebook.skiplink.pretty:active, .skiplink.pretty.facebook { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #718dc8), color-stop(100%, #36579d)); + background-image: -webkit-linear-gradient(#718dc8, #36579d); + background-image: -moz-linear-gradient(#718dc8, #36579d); + background-image: -o-linear-gradient(#718dc8, #36579d); + background-image: linear-gradient(#718dc8, #36579d); + box-shadow: inset 0 0 3px #cdd7ec; + border: 1px solid #263961; +} +.pretty .facebook.btn:hover, .pretty .facebook.skiplink:hover, .facebook.btn.pretty:hover, .facebook.skiplink.pretty:hover, .pretty .facebook.btn:hover:active, .pretty .facebook.skiplink:hover:active, .skiplink.pretty.facebook:hover { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #92a9d8), color-stop(100%, #547aca)); + background-image: -webkit-linear-gradient(#92a9d8, #547aca); + background-image: -moz-linear-gradient(#92a9d8, #547aca); + background-image: -o-linear-gradient(#92a9d8, #547aca); + background-image: linear-gradient(#92a9d8, #547aca); + box-shadow: inset 0 0 3px #f0f3fa; + border: 1px solid #37579a; +} +.pretty .facebook.btn:active, .pretty .facebook.skiplink:active, .pretty .facebook.btn:active:hover, .pretty .facebook.skiplink:active:hover, .facebook.btn.pretty:active, .facebook.skiplink.pretty:active, .skiplink.pretty.facebook:active { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #36579d), color-stop(100%, #718dc8)); + background-image: -webkit-linear-gradient(#36579d, #718dc8); + background-image: -moz-linear-gradient(#36579d, #718dc8); + background-image: -o-linear-gradient(#36579d, #718dc8); + background-image: linear-gradient(#36579d, #718dc8); + box-shadow: inset 0 0 3px #dfe6f3; +} +.btn.pretty.facebook a, .pretty .facebook.btn a, .pretty .facebook.skiplink a, .pretty .facebook.btn:hover a, .pretty .facebook.skiplink:hover a, .facebook.skiplink.pretty:hover a, .pretty .facebook.btn:active a, .pretty .facebook.skiplink:active a, .facebook.skiplink.pretty:active a, .btn.pretty.facebook input, .pretty .facebook.btn input, .pretty .facebook.skiplink input, .pretty .facebook.btn:hover input, .pretty .facebook.skiplink:hover input, .facebook.skiplink.pretty:hover input, .pretty .facebook.btn:active input, .pretty .facebook.skiplink:active input, .facebook.skiplink.pretty:active input, .btn.pretty.facebook button, .pretty .facebook.btn button, .pretty .facebook.skiplink button, .pretty .facebook.btn:hover button, .pretty .facebook.skiplink:hover button, .facebook.skiplink.pretty:hover button, .pretty .facebook.btn:active button, .pretty .facebook.skiplink:active button, .facebook.skiplink.pretty:active button, .skiplink.pretty.facebook a, .skiplink.pretty.facebook input, .skiplink.pretty.facebook button { + text-shadow: 0 1px 1px #1e2e4f; +} + +/* Icons */ +[class^="icon-"] a:before, +[class*=" icon-"] a:before, +[class^="icon-"] a:after, +[class*=" icon-"] a:after, +i[class^="icon-"], +i[class*=" icon-"] { + font-family: "entypo"; + position: absolute; + text-decoration: none; + zoom: 1; +} + +i[class^="icon-"], +i[class*=" icon-"] { + display: inline-block; + position: static; + min-width: 20px; + margin: 0 5px; + text-align: center; +} + +.icon-note.icon-left a:before, .icon-note.icon-right a:after { + content: "\266a"; + height: inherit; +} + +i.icon-note:before { + content: "\266a"; + height: inherit; +} + +.icon-note-beamed.icon-left a:before, .icon-note-beamed.icon-right a:after { + content: "\266b"; + height: inherit; +} + +i.icon-note-beamed:before { + content: "\266b"; + height: inherit; +} + +.icon-music.icon-left a:before, .icon-music.icon-right a:after { + content: "🎵"; + height: inherit; +} + +i.icon-music:before { + content: "🎵"; + height: inherit; +} + +.icon-search.icon-left a:before, .icon-search.icon-right a:after { + content: "ðŸ”"; + height: inherit; +} + +i.icon-search:before { + content: "ðŸ”"; + height: inherit; +} + +.icon-flashlight.icon-left a:before, .icon-flashlight.icon-right a:after { + content: "🔦"; + height: inherit; +} + +i.icon-flashlight:before { + content: "🔦"; + height: inherit; +} + +.icon-mail.icon-left a:before, .icon-mail.icon-right a:after { + content: "\2709"; + height: inherit; +} + +i.icon-mail:before { + content: "\2709"; + height: inherit; +} + +.icon-heart.icon-left a:before, .icon-heart.icon-right a:after { + content: "\2665"; + height: inherit; +} + +i.icon-heart:before { + content: "\2665"; + height: inherit; +} + +.icon-heart-empty.icon-left a:before, .icon-heart-empty.icon-right a:after { + content: "\2661"; + height: inherit; +} + +i.icon-heart-empty:before { + content: "\2661"; + height: inherit; +} + +.icon-star.icon-left a:before, .icon-star.icon-right a:after { + content: "\2605"; + height: inherit; +} + +i.icon-star:before { + content: "\2605"; + height: inherit; +} + +.icon-star-empty.icon-left a:before, .icon-star-empty.icon-right a:after { + content: "\2606"; + height: inherit; +} + +i.icon-star-empty:before { + content: "\2606"; + height: inherit; +} + +.icon-user.icon-left a:before, .icon-user.icon-right a:after { + content: "👤"; + height: inherit; +} + +i.icon-user:before { + content: "👤"; + height: inherit; +} + +.icon-users.icon-left a:before, .icon-users.icon-right a:after { + content: "👥"; + height: inherit; +} + +i.icon-users:before { + content: "👥"; + height: inherit; +} + +.icon-user-add.icon-left a:before, .icon-user-add.icon-right a:after { + content: "\e700"; + height: inherit; +} + +i.icon-user-add:before { + content: "\e700"; + height: inherit; +} + +.icon-video.icon-left a:before, .icon-video.icon-right a:after { + content: "🎬"; + height: inherit; +} + +i.icon-video:before { + content: "🎬"; + height: inherit; +} + +.icon-picture.icon-left a:before, .icon-picture.icon-right a:after { + content: "🌄"; + height: inherit; +} + +i.icon-picture:before { + content: "🌄"; + height: inherit; +} + +.icon-camera.icon-left a:before, .icon-camera.icon-right a:after { + content: "📷"; + height: inherit; +} + +i.icon-camera:before { + content: "📷"; + height: inherit; +} + +.icon-layout.icon-left a:before, .icon-layout.icon-right a:after { + content: "\268f"; + height: inherit; +} + +i.icon-layout:before { + content: "\268f"; + height: inherit; +} + +.icon-menu.icon-left a:before, .icon-menu.icon-right a:after { + content: "\2630"; + height: inherit; +} + +i.icon-menu:before { + content: "\2630"; + height: inherit; +} + +.icon-check.icon-left a:before, .icon-check.icon-right a:after { + content: "\2713"; + height: inherit; +} + +i.icon-check:before { + content: "\2713"; + height: inherit; +} + +.icon-cancel.icon-left a:before, .icon-cancel.icon-right a:after { + content: "\2715"; + height: inherit; +} + +i.icon-cancel:before { + content: "\2715"; + height: inherit; +} + +.icon-cancel-circled.icon-left a:before, .icon-cancel-circled.icon-right a:after { + content: "\2716"; + height: inherit; +} + +i.icon-cancel-circled:before { + content: "\2716"; + height: inherit; +} + +.icon-cancel-squared.icon-left a:before, .icon-cancel-squared.icon-right a:after { + content: "\274e"; + height: inherit; +} + +i.icon-cancel-squared:before { + content: "\274e"; + height: inherit; +} + +.icon-plus.icon-left a:before, .icon-plus.icon-right a:after { + content: "\2b"; + height: inherit; +} + +i.icon-plus:before { + content: "\2b"; + height: inherit; +} + +.icon-plus-circled.icon-left a:before, .icon-plus-circled.icon-right a:after { + content: "\2795"; + height: inherit; +} + +i.icon-plus-circled:before { + content: "\2795"; + height: inherit; +} + +.icon-plus-squared.icon-left a:before, .icon-plus-squared.icon-right a:after { + content: "\229e"; + height: inherit; +} + +i.icon-plus-squared:before { + content: "\229e"; + height: inherit; +} + +.icon-minus.icon-left a:before, .icon-minus.icon-right a:after { + content: "\2d"; + height: inherit; +} + +i.icon-minus:before { + content: "\2d"; + height: inherit; +} + +.icon-minus-circled.icon-left a:before, .icon-minus-circled.icon-right a:after { + content: "\2796"; + height: inherit; +} + +i.icon-minus-circled:before { + content: "\2796"; + height: inherit; +} + +.icon-minus-squared.icon-left a:before, .icon-minus-squared.icon-right a:after { + content: "\229f"; + height: inherit; +} + +i.icon-minus-squared:before { + content: "\229f"; + height: inherit; +} + +.icon-help.icon-left a:before, .icon-help.icon-right a:after { + content: "\2753"; + height: inherit; +} + +i.icon-help:before { + content: "\2753"; + height: inherit; +} + +.icon-help-circled.icon-left a:before, .icon-help-circled.icon-right a:after { + content: "\e704"; + height: inherit; +} + +i.icon-help-circled:before { + content: "\e704"; + height: inherit; +} + +.icon-info.icon-left a:before, .icon-info.icon-right a:after { + content: "\2139"; + height: inherit; +} + +i.icon-info:before { + content: "\2139"; + height: inherit; +} + +.icon-info-circled.icon-left a:before, .icon-info-circled.icon-right a:after { + content: "\e705"; + height: inherit; +} + +i.icon-info-circled:before { + content: "\e705"; + height: inherit; +} + +.icon-back.icon-left a:before, .icon-back.icon-right a:after { + content: "🔙"; + height: inherit; +} + +i.icon-back:before { + content: "🔙"; + height: inherit; +} + +.icon-home.icon-left a:before, .icon-home.icon-right a:after { + content: "\2302"; + height: inherit; +} + +i.icon-home:before { + content: "\2302"; + height: inherit; +} + +.icon-link.icon-left a:before, .icon-link.icon-right a:after { + content: "🔗"; + height: inherit; +} + +i.icon-link:before { + content: "🔗"; + height: inherit; +} + +.icon-attach.icon-left a:before, .icon-attach.icon-right a:after { + content: "📎"; + height: inherit; +} + +i.icon-attach:before { + content: "📎"; + height: inherit; +} + +.icon-lock.icon-left a:before, .icon-lock.icon-right a:after { + content: "🔒"; + height: inherit; +} + +i.icon-lock:before { + content: "🔒"; + height: inherit; +} + +.icon-lock-open.icon-left a:before, .icon-lock-open.icon-right a:after { + content: "🔓"; + height: inherit; +} + +i.icon-lock-open:before { + content: "🔓"; + height: inherit; +} + +.icon-eye.icon-left a:before, .icon-eye.icon-right a:after { + content: "\e70a"; + height: inherit; +} + +i.icon-eye:before { + content: "\e70a"; + height: inherit; +} + +.icon-tag.icon-left a:before, .icon-tag.icon-right a:after { + content: "\e70c"; + height: inherit; +} + +i.icon-tag:before { + content: "\e70c"; + height: inherit; +} + +.icon-bookmark.icon-left a:before, .icon-bookmark.icon-right a:after { + content: "🔖"; + height: inherit; +} + +i.icon-bookmark:before { + content: "🔖"; + height: inherit; +} + +.icon-bookmarks.icon-left a:before, .icon-bookmarks.icon-right a:after { + content: "📑"; + height: inherit; +} + +i.icon-bookmarks:before { + content: "📑"; + height: inherit; +} + +.icon-flag.icon-left a:before, .icon-flag.icon-right a:after { + content: "\2691"; + height: inherit; +} + +i.icon-flag:before { + content: "\2691"; + height: inherit; +} + +.icon-thumbs-up.icon-left a:before, .icon-thumbs-up.icon-right a:after { + content: "ðŸ‘"; + height: inherit; +} + +i.icon-thumbs-up:before { + content: "ðŸ‘"; + height: inherit; +} + +.icon-thumbs-down.icon-left a:before, .icon-thumbs-down.icon-right a:after { + content: "👎"; + height: inherit; +} + +i.icon-thumbs-down:before { + content: "👎"; + height: inherit; +} + +.icon-download.icon-left a:before, .icon-download.icon-right a:after { + content: "📥"; + height: inherit; +} + +i.icon-download:before { + content: "📥"; + height: inherit; +} + +.icon-upload.icon-left a:before, .icon-upload.icon-right a:after { + content: "📤"; + height: inherit; +} + +i.icon-upload:before { + content: "📤"; + height: inherit; +} + +.icon-upload-cloud.icon-left a:before, .icon-upload-cloud.icon-right a:after { + content: "\e711"; + height: inherit; +} + +i.icon-upload-cloud:before { + content: "\e711"; + height: inherit; +} + +.icon-reply.icon-left a:before, .icon-reply.icon-right a:after { + content: "\e712"; + height: inherit; +} + +i.icon-reply:before { + content: "\e712"; + height: inherit; +} + +.icon-reply-all.icon-left a:before, .icon-reply-all.icon-right a:after { + content: "\e713"; + height: inherit; +} + +i.icon-reply-all:before { + content: "\e713"; + height: inherit; +} + +.icon-forward.icon-left a:before, .icon-forward.icon-right a:after { + content: "\27a6"; + height: inherit; +} + +i.icon-forward:before { + content: "\27a6"; + height: inherit; +} + +.icon-quote.icon-left a:before, .icon-quote.icon-right a:after { + content: "\275e"; + height: inherit; +} + +i.icon-quote:before { + content: "\275e"; + height: inherit; +} + +.icon-code.icon-left a:before, .icon-code.icon-right a:after { + content: "\e714"; + height: inherit; +} + +i.icon-code:before { + content: "\e714"; + height: inherit; +} + +.icon-export.icon-left a:before, .icon-export.icon-right a:after { + content: "\e715"; + height: inherit; +} + +i.icon-export:before { + content: "\e715"; + height: inherit; +} + +.icon-pencil.icon-left a:before, .icon-pencil.icon-right a:after { + content: "\270e"; + height: inherit; +} + +i.icon-pencil:before { + content: "\270e"; + height: inherit; +} + +.icon-feather.icon-left a:before, .icon-feather.icon-right a:after { + content: "\2712"; + height: inherit; +} + +i.icon-feather:before { + content: "\2712"; + height: inherit; +} + +.icon-print.icon-left a:before, .icon-print.icon-right a:after { + content: "\e716"; + height: inherit; +} + +i.icon-print:before { + content: "\e716"; + height: inherit; +} + +.icon-retweet.icon-left a:before, .icon-retweet.icon-right a:after { + content: "\e717"; + height: inherit; +} + +i.icon-retweet:before { + content: "\e717"; + height: inherit; +} + +.icon-keyboard.icon-left a:before, .icon-keyboard.icon-right a:after { + content: "\2328"; + height: inherit; +} + +i.icon-keyboard:before { + content: "\2328"; + height: inherit; +} + +.icon-comment.icon-left a:before, .icon-comment.icon-right a:after { + content: "\e718"; + height: inherit; +} + +i.icon-comment:before { + content: "\e718"; + height: inherit; +} + +.icon-chat.icon-left a:before, .icon-chat.icon-right a:after { + content: "\e720"; + height: inherit; +} + +i.icon-chat:before { + content: "\e720"; + height: inherit; +} + +.icon-bell.icon-left a:before, .icon-bell.icon-right a:after { + content: "🔔"; + height: inherit; +} + +i.icon-bell:before { + content: "🔔"; + height: inherit; +} + +.icon-attention.icon-left a:before, .icon-attention.icon-right a:after { + content: "\26a0"; + height: inherit; +} + +i.icon-attention:before { + content: "\26a0"; + height: inherit; +} + +.icon-alert.icon-left a:before, .icon-alert.icon-right a:after { + content: "💥"; + height: inherit; +} + +i.icon-alert:before { + content: "💥"; + height: inherit; +} + +.icon-vcard.icon-left a:before, .icon-vcard.icon-right a:after { + content: "\e722"; + height: inherit; +} + +i.icon-vcard:before { + content: "\e722"; + height: inherit; +} + +.icon-address.icon-left a:before, .icon-address.icon-right a:after { + content: "\e723"; + height: inherit; +} + +i.icon-address:before { + content: "\e723"; + height: inherit; +} + +.icon-location.icon-left a:before, .icon-location.icon-right a:after { + content: "\e724"; + height: inherit; +} + +i.icon-location:before { + content: "\e724"; + height: inherit; +} + +.icon-map.icon-left a:before, .icon-map.icon-right a:after { + content: "\e727"; + height: inherit; +} + +i.icon-map:before { + content: "\e727"; + height: inherit; +} + +.icon-direction.icon-left a:before, .icon-direction.icon-right a:after { + content: "\27a2"; + height: inherit; +} + +i.icon-direction:before { + content: "\27a2"; + height: inherit; +} + +.icon-compass.icon-left a:before, .icon-compass.icon-right a:after { + content: "\e728"; + height: inherit; +} + +i.icon-compass:before { + content: "\e728"; + height: inherit; +} + +.icon-cup.icon-left a:before, .icon-cup.icon-right a:after { + content: "\2615"; + height: inherit; +} + +i.icon-cup:before { + content: "\2615"; + height: inherit; +} + +.icon-trash.icon-left a:before, .icon-trash.icon-right a:after { + content: "\e729"; + height: inherit; +} + +i.icon-trash:before { + content: "\e729"; + height: inherit; +} + +.icon-doc.icon-left a:before, .icon-doc.icon-right a:after { + content: "\e730"; + height: inherit; +} + +i.icon-doc:before { + content: "\e730"; + height: inherit; +} + +.icon-docs.icon-left a:before, .icon-docs.icon-right a:after { + content: "\e736"; + height: inherit; +} + +i.icon-docs:before { + content: "\e736"; + height: inherit; +} + +.icon-doc-landscape.icon-left a:before, .icon-doc-landscape.icon-right a:after { + content: "\e737"; + height: inherit; +} + +i.icon-doc-landscape:before { + content: "\e737"; + height: inherit; +} + +.icon-doc-text.icon-left a:before, .icon-doc-text.icon-right a:after { + content: "📄"; + height: inherit; +} + +i.icon-doc-text:before { + content: "📄"; + height: inherit; +} + +.icon-doc-text-inv.icon-left a:before, .icon-doc-text-inv.icon-right a:after { + content: "\e731"; + height: inherit; +} + +i.icon-doc-text-inv:before { + content: "\e731"; + height: inherit; +} + +.icon-newspaper.icon-left a:before, .icon-newspaper.icon-right a:after { + content: "📰"; + height: inherit; +} + +i.icon-newspaper:before { + content: "📰"; + height: inherit; +} + +.icon-book-open.icon-left a:before, .icon-book-open.icon-right a:after { + content: "📖"; + height: inherit; +} + +i.icon-book-open:before { + content: "📖"; + height: inherit; +} + +.icon-book.icon-left a:before, .icon-book.icon-right a:after { + content: "📕"; + height: inherit; +} + +i.icon-book:before { + content: "📕"; + height: inherit; +} + +.icon-folder.icon-left a:before, .icon-folder.icon-right a:after { + content: "ðŸ“"; + height: inherit; +} + +i.icon-folder:before { + content: "ðŸ“"; + height: inherit; +} + +.icon-archive.icon-left a:before, .icon-archive.icon-right a:after { + content: "\e738"; + height: inherit; +} + +i.icon-archive:before { + content: "\e738"; + height: inherit; +} + +.icon-box.icon-left a:before, .icon-box.icon-right a:after { + content: "📦"; + height: inherit; +} + +i.icon-box:before { + content: "📦"; + height: inherit; +} + +.icon-rss.icon-left a:before, .icon-rss.icon-right a:after { + content: "\e73a"; + height: inherit; +} + +i.icon-rss:before { + content: "\e73a"; + height: inherit; +} + +.icon-phone.icon-left a:before, .icon-phone.icon-right a:after { + content: "📞"; + height: inherit; +} + +i.icon-phone:before { + content: "📞"; + height: inherit; +} + +.icon-cog.icon-left a:before, .icon-cog.icon-right a:after { + content: "\2699"; + height: inherit; +} + +i.icon-cog:before { + content: "\2699"; + height: inherit; +} + +.icon-tools.icon-left a:before, .icon-tools.icon-right a:after { + content: "\2692"; + height: inherit; +} + +i.icon-tools:before { + content: "\2692"; + height: inherit; +} + +.icon-share.icon-left a:before, .icon-share.icon-right a:after { + content: "\e73c"; + height: inherit; +} + +i.icon-share:before { + content: "\e73c"; + height: inherit; +} + +.icon-shareable.icon-left a:before, .icon-shareable.icon-right a:after { + content: "\e73e"; + height: inherit; +} + +i.icon-shareable:before { + content: "\e73e"; + height: inherit; +} + +.icon-basket.icon-left a:before, .icon-basket.icon-right a:after { + content: "\e73d"; + height: inherit; +} + +i.icon-basket:before { + content: "\e73d"; + height: inherit; +} + +.icon-bag.icon-left a:before, .icon-bag.icon-right a:after { + content: "👜"; + height: inherit; +} + +i.icon-bag:before { + content: "👜"; + height: inherit; +} + +.icon-calendar.icon-left a:before, .icon-calendar.icon-right a:after { + content: "📅"; + height: inherit; +} + +i.icon-calendar:before { + content: "📅"; + height: inherit; +} + +.icon-login.icon-left a:before, .icon-login.icon-right a:after { + content: "\e740"; + height: inherit; +} + +i.icon-login:before { + content: "\e740"; + height: inherit; +} + +.icon-logout.icon-left a:before, .icon-logout.icon-right a:after { + content: "\e741"; + height: inherit; +} + +i.icon-logout:before { + content: "\e741"; + height: inherit; +} + +.icon-mic.icon-left a:before, .icon-mic.icon-right a:after { + content: "🎤"; + height: inherit; +} + +i.icon-mic:before { + content: "🎤"; + height: inherit; +} + +.icon-mute.icon-left a:before, .icon-mute.icon-right a:after { + content: "🔇"; + height: inherit; +} + +i.icon-mute:before { + content: "🔇"; + height: inherit; +} + +.icon-sound.icon-left a:before, .icon-sound.icon-right a:after { + content: "🔊"; + height: inherit; +} + +i.icon-sound:before { + content: "🔊"; + height: inherit; +} + +.icon-volume.icon-left a:before, .icon-volume.icon-right a:after { + content: "\e742"; + height: inherit; +} + +i.icon-volume:before { + content: "\e742"; + height: inherit; +} + +.icon-clock.icon-left a:before, .icon-clock.icon-right a:after { + content: "🕔"; + height: inherit; +} + +i.icon-clock:before { + content: "🕔"; + height: inherit; +} + +.icon-hourglass.icon-left a:before, .icon-hourglass.icon-right a:after { + content: "\23f3"; + height: inherit; +} + +i.icon-hourglass:before { + content: "\23f3"; + height: inherit; +} + +.icon-lamp.icon-left a:before, .icon-lamp.icon-right a:after { + content: "💡"; + height: inherit; +} + +i.icon-lamp:before { + content: "💡"; + height: inherit; +} + +.icon-light-down.icon-left a:before, .icon-light-down.icon-right a:after { + content: "🔅"; + height: inherit; +} + +i.icon-light-down:before { + content: "🔅"; + height: inherit; +} + +.icon-light-up.icon-left a:before, .icon-light-up.icon-right a:after { + content: "🔆"; + height: inherit; +} + +i.icon-light-up:before { + content: "🔆"; + height: inherit; +} + +.icon-adjust.icon-left a:before, .icon-adjust.icon-right a:after { + content: "\25d1"; + height: inherit; +} + +i.icon-adjust:before { + content: "\25d1"; + height: inherit; +} + +.icon-block.icon-left a:before, .icon-block.icon-right a:after { + content: "🚫"; + height: inherit; +} + +i.icon-block:before { + content: "🚫"; + height: inherit; +} + +.icon-resize-full.icon-left a:before, .icon-resize-full.icon-right a:after { + content: "\e744"; + height: inherit; +} + +i.icon-resize-full:before { + content: "\e744"; + height: inherit; +} + +.icon-resize-small.icon-left a:before, .icon-resize-small.icon-right a:after { + content: "\e746"; + height: inherit; +} + +i.icon-resize-small:before { + content: "\e746"; + height: inherit; +} + +.icon-popup.icon-left a:before, .icon-popup.icon-right a:after { + content: "\e74c"; + height: inherit; +} + +i.icon-popup:before { + content: "\e74c"; + height: inherit; +} + +.icon-publish.icon-left a:before, .icon-publish.icon-right a:after { + content: "\e74d"; + height: inherit; +} + +i.icon-publish:before { + content: "\e74d"; + height: inherit; +} + +.icon-window.icon-left a:before, .icon-window.icon-right a:after { + content: "\e74e"; + height: inherit; +} + +i.icon-window:before { + content: "\e74e"; + height: inherit; +} + +.icon-arrow-combo.icon-left a:before, .icon-arrow-combo.icon-right a:after { + content: "\e74f"; + height: inherit; +} + +i.icon-arrow-combo:before { + content: "\e74f"; + height: inherit; +} + +.icon-down-circled.icon-left a:before, .icon-down-circled.icon-right a:after { + content: "\e758"; + height: inherit; +} + +i.icon-down-circled:before { + content: "\e758"; + height: inherit; +} + +.icon-left-circled.icon-left a:before, .icon-left-circled.icon-right a:after { + content: "\e759"; + height: inherit; +} + +i.icon-left-circled:before { + content: "\e759"; + height: inherit; +} + +.icon-right-circled.icon-left a:before, .icon-right-circled.icon-right a:after { + content: "\e75a"; + height: inherit; +} + +i.icon-right-circled:before { + content: "\e75a"; + height: inherit; +} + +.icon-up-circled.icon-left a:before, .icon-up-circled.icon-right a:after { + content: "\e75b"; + height: inherit; +} + +i.icon-up-circled:before { + content: "\e75b"; + height: inherit; +} + +.icon-down-open.icon-left a:before, .icon-down-open.icon-right a:after { + content: "\e75c"; + height: inherit; +} + +i.icon-down-open:before { + content: "\e75c"; + height: inherit; +} + +.icon-left-open.icon-left a:before, .icon-left-open.icon-right a:after { + content: "\e75d"; + height: inherit; +} + +i.icon-left-open:before { + content: "\e75d"; + height: inherit; +} + +.icon-right-open.icon-left a:before, .icon-right-open.icon-right a:after { + content: "\e75e"; + height: inherit; +} + +i.icon-right-open:before { + content: "\e75e"; + height: inherit; +} + +.icon-up-open.icon-left a:before, .icon-up-open.icon-right a:after { + content: "\e75f"; + height: inherit; +} + +i.icon-up-open:before { + content: "\e75f"; + height: inherit; +} + +.icon-down-open-mini.icon-left a:before, .icon-down-open-mini.icon-right a:after { + content: "\e760"; + height: inherit; +} + +i.icon-down-open-mini:before { + content: "\e760"; + height: inherit; +} + +.icon-left-open-mini.icon-left a:before, .icon-left-open-mini.icon-right a:after { + content: "\e761"; + height: inherit; +} + +i.icon-left-open-mini:before { + content: "\e761"; + height: inherit; +} + +.icon-right-open-mini.icon-left a:before, .icon-right-open-mini.icon-right a:after { + content: "\e762"; + height: inherit; +} + +i.icon-right-open-mini:before { + content: "\e762"; + height: inherit; +} + +.icon-up-open-mini.icon-left a:before, .icon-up-open-mini.icon-right a:after { + content: "\e763"; + height: inherit; +} + +i.icon-up-open-mini:before { + content: "\e763"; + height: inherit; +} + +.icon-down-open-big.icon-left a:before, .icon-down-open-big.icon-right a:after { + content: "\e764"; + height: inherit; +} + +i.icon-down-open-big:before { + content: "\e764"; + height: inherit; +} + +.icon-left-open-big.icon-left a:before, .icon-left-open-big.icon-right a:after { + content: "\e765"; + height: inherit; +} + +i.icon-left-open-big:before { + content: "\e765"; + height: inherit; +} + +.icon-right-open-big.icon-left a:before, .icon-right-open-big.icon-right a:after { + content: "\e766"; + height: inherit; +} + +i.icon-right-open-big:before { + content: "\e766"; + height: inherit; +} + +.icon-up-open-big.icon-left a:before, .icon-up-open-big.icon-right a:after { + content: "\e767"; + height: inherit; +} + +i.icon-up-open-big:before { + content: "\e767"; + height: inherit; +} + +.icon-down.icon-left a:before, .icon-down.icon-right a:after { + content: "\2b07"; + height: inherit; +} + +i.icon-down:before { + content: "\2b07"; + height: inherit; +} + +.icon-arrow-left.icon-left a:before, .icon-arrow-left.icon-right a:after { + content: "\2b05"; + height: inherit; +} + +i.icon-arrow-left:before { + content: "\2b05"; + height: inherit; +} + +.icon-arrow-right.icon-left a:before, .icon-arrow-right.icon-right a:after { + content: "\27a1"; + height: inherit; +} + +i.icon-arrow-right:before { + content: "\27a1"; + height: inherit; +} + +.icon-up.icon-left a:before, .icon-up.icon-right a:after { + content: "\2b06"; + height: inherit; +} + +i.icon-up:before { + content: "\2b06"; + height: inherit; +} + +.icon-down-dir.icon-left a:before, .icon-down-dir.icon-right a:after { + content: "\25be"; + height: inherit; +} + +i.icon-down-dir:before { + content: "\25be"; + height: inherit; +} + +.icon-left-dir.icon-left a:before, .icon-left-dir.icon-right a:after { + content: "\25c2"; + height: inherit; +} + +i.icon-left-dir:before { + content: "\25c2"; + height: inherit; +} + +.icon-right-dir.icon-left a:before, .icon-right-dir.icon-right a:after { + content: "\25b8"; + height: inherit; +} + +i.icon-right-dir:before { + content: "\25b8"; + height: inherit; +} + +.icon-up-dir.icon-left a:before, .icon-up-dir.icon-right a:after { + content: "\25b4"; + height: inherit; +} + +i.icon-up-dir:before { + content: "\25b4"; + height: inherit; +} + +.icon-down-bold.icon-left a:before, .icon-down-bold.icon-right a:after { + content: "\e4b0"; + height: inherit; +} + +i.icon-down-bold:before { + content: "\e4b0"; + height: inherit; +} + +.icon-left-bold.icon-left a:before, .icon-left-bold.icon-right a:after { + content: "\e4ad"; + height: inherit; +} + +i.icon-left-bold:before { + content: "\e4ad"; + height: inherit; +} + +.icon-right-bold.icon-left a:before, .icon-right-bold.icon-right a:after { + content: "\e4ae"; + height: inherit; +} + +i.icon-right-bold:before { + content: "\e4ae"; + height: inherit; +} + +.icon-up-bold.icon-left a:before, .icon-up-bold.icon-right a:after { + content: "\e4af"; + height: inherit; +} + +i.icon-up-bold:before { + content: "\e4af"; + height: inherit; +} + +.icon-down-thin.icon-left a:before, .icon-down-thin.icon-right a:after { + content: "\2193"; + height: inherit; +} + +i.icon-down-thin:before { + content: "\2193"; + height: inherit; +} + +.icon-left-thin.icon-left a:before, .icon-left-thin.icon-right a:after { + content: "\2190"; + height: inherit; +} + +i.icon-left-thin:before { + content: "\2190"; + height: inherit; +} + +.icon-right-thin.icon-left a:before, .icon-right-thin.icon-right a:after { + content: "\2192"; + height: inherit; +} + +i.icon-right-thin:before { + content: "\2192"; + height: inherit; +} + +.icon-up-thin.icon-left a:before, .icon-up-thin.icon-right a:after { + content: "\2191"; + height: inherit; +} + +i.icon-up-thin:before { + content: "\2191"; + height: inherit; +} + +.icon-ccw.icon-left a:before, .icon-ccw.icon-right a:after { + content: "\27f2"; + height: inherit; +} + +i.icon-ccw:before { + content: "\27f2"; + height: inherit; +} + +.icon-cw.icon-left a:before, .icon-cw.icon-right a:after { + content: "\27f3"; + height: inherit; +} + +i.icon-cw:before { + content: "\27f3"; + height: inherit; +} + +.icon-arrows-ccw.icon-left a:before, .icon-arrows-ccw.icon-right a:after { + content: "🔄"; + height: inherit; +} + +i.icon-arrows-ccw:before { + content: "🔄"; + height: inherit; +} + +.icon-level-down.icon-left a:before, .icon-level-down.icon-right a:after { + content: "\21b3"; + height: inherit; +} + +i.icon-level-down:before { + content: "\21b3"; + height: inherit; +} + +.icon-level-up.icon-left a:before, .icon-level-up.icon-right a:after { + content: "\21b0"; + height: inherit; +} + +i.icon-level-up:before { + content: "\21b0"; + height: inherit; +} + +.icon-shuffle.icon-left a:before, .icon-shuffle.icon-right a:after { + content: "🔀"; + height: inherit; +} + +i.icon-shuffle:before { + content: "🔀"; + height: inherit; +} + +.icon-loop.icon-left a:before, .icon-loop.icon-right a:after { + content: "ðŸ”"; + height: inherit; +} + +i.icon-loop:before { + content: "ðŸ”"; + height: inherit; +} + +.icon-switch.icon-left a:before, .icon-switch.icon-right a:after { + content: "\21c6"; + height: inherit; +} + +i.icon-switch:before { + content: "\21c6"; + height: inherit; +} + +.icon-play.icon-left a:before, .icon-play.icon-right a:after { + content: "\25b6"; + height: inherit; +} + +i.icon-play:before { + content: "\25b6"; + height: inherit; +} + +.icon-stop.icon-left a:before, .icon-stop.icon-right a:after { + content: "\25a0"; + height: inherit; +} + +i.icon-stop:before { + content: "\25a0"; + height: inherit; +} + +.icon-pause.icon-left a:before, .icon-pause.icon-right a:after { + content: "\2389"; + height: inherit; +} + +i.icon-pause:before { + content: "\2389"; + height: inherit; +} + +.icon-record.icon-left a:before, .icon-record.icon-right a:after { + content: "\26ab"; + height: inherit; +} + +i.icon-record:before { + content: "\26ab"; + height: inherit; +} + +.icon-to-end.icon-left a:before, .icon-to-end.icon-right a:after { + content: "\23ed"; + height: inherit; +} + +i.icon-to-end:before { + content: "\23ed"; + height: inherit; +} + +.icon-to-start.icon-left a:before, .icon-to-start.icon-right a:after { + content: "\23ee"; + height: inherit; +} + +i.icon-to-start:before { + content: "\23ee"; + height: inherit; +} + +.icon-fast-forward.icon-left a:before, .icon-fast-forward.icon-right a:after { + content: "\23e9"; + height: inherit; +} + +i.icon-fast-forward:before { + content: "\23e9"; + height: inherit; +} + +.icon-fast-backward.icon-left a:before, .icon-fast-backward.icon-right a:after { + content: "\23ea"; + height: inherit; +} + +i.icon-fast-backward:before { + content: "\23ea"; + height: inherit; +} + +.icon-progress-0.icon-left a:before, .icon-progress-0.icon-right a:after { + content: "\e768"; + height: inherit; +} + +i.icon-progress-0:before { + content: "\e768"; + height: inherit; +} + +.icon-progress-1.icon-left a:before, .icon-progress-1.icon-right a:after { + content: "\e769"; + height: inherit; +} + +i.icon-progress-1:before { + content: "\e769"; + height: inherit; +} + +.icon-progress-2.icon-left a:before, .icon-progress-2.icon-right a:after { + content: "\e76a"; + height: inherit; +} + +i.icon-progress-2:before { + content: "\e76a"; + height: inherit; +} + +.icon-progress-3.icon-left a:before, .icon-progress-3.icon-right a:after { + content: "\e76b"; + height: inherit; +} + +i.icon-progress-3:before { + content: "\e76b"; + height: inherit; +} + +.icon-target.icon-left a:before, .icon-target.icon-right a:after { + content: "🎯"; + height: inherit; +} + +i.icon-target:before { + content: "🎯"; + height: inherit; +} + +.icon-palette.icon-left a:before, .icon-palette.icon-right a:after { + content: "🎨"; + height: inherit; +} + +i.icon-palette:before { + content: "🎨"; + height: inherit; +} + +.icon-list.icon-left a:before, .icon-list.icon-right a:after { + content: "\e005"; + height: inherit; +} + +i.icon-list:before { + content: "\e005"; + height: inherit; +} + +.icon-list-add.icon-left a:before, .icon-list-add.icon-right a:after { + content: "\e003"; + height: inherit; +} + +i.icon-list-add:before { + content: "\e003"; + height: inherit; +} + +.icon-signal.icon-left a:before, .icon-signal.icon-right a:after { + content: "📶"; + height: inherit; +} + +i.icon-signal:before { + content: "📶"; + height: inherit; +} + +.icon-trophy.icon-left a:before, .icon-trophy.icon-right a:after { + content: "ðŸ†"; + height: inherit; +} + +i.icon-trophy:before { + content: "ðŸ†"; + height: inherit; +} + +.icon-battery.icon-left a:before, .icon-battery.icon-right a:after { + content: "🔋"; + height: inherit; +} + +i.icon-battery:before { + content: "🔋"; + height: inherit; +} + +.icon-back-in-time.icon-left a:before, .icon-back-in-time.icon-right a:after { + content: "\e771"; + height: inherit; +} + +i.icon-back-in-time:before { + content: "\e771"; + height: inherit; +} + +.icon-monitor.icon-left a:before, .icon-monitor.icon-right a:after { + content: "💻"; + height: inherit; +} + +i.icon-monitor:before { + content: "💻"; + height: inherit; +} + +.icon-mobile.icon-left a:before, .icon-mobile.icon-right a:after { + content: "📱"; + height: inherit; +} + +i.icon-mobile:before { + content: "📱"; + height: inherit; +} + +.icon-network.icon-left a:before, .icon-network.icon-right a:after { + content: "\e776"; + height: inherit; +} + +i.icon-network:before { + content: "\e776"; + height: inherit; +} + +.icon-cd.icon-left a:before, .icon-cd.icon-right a:after { + content: "💿"; + height: inherit; +} + +i.icon-cd:before { + content: "💿"; + height: inherit; +} + +.icon-inbox.icon-left a:before, .icon-inbox.icon-right a:after { + content: "\e777"; + height: inherit; +} + +i.icon-inbox:before { + content: "\e777"; + height: inherit; +} + +.icon-install.icon-left a:before, .icon-install.icon-right a:after { + content: "\e778"; + height: inherit; +} + +i.icon-install:before { + content: "\e778"; + height: inherit; +} + +.icon-globe.icon-left a:before, .icon-globe.icon-right a:after { + content: "🌎"; + height: inherit; +} + +i.icon-globe:before { + content: "🌎"; + height: inherit; +} + +.icon-cloud.icon-left a:before, .icon-cloud.icon-right a:after { + content: "\2601"; + height: inherit; +} + +i.icon-cloud:before { + content: "\2601"; + height: inherit; +} + +.icon-cloud-thunder.icon-left a:before, .icon-cloud-thunder.icon-right a:after { + content: "\26c8"; + height: inherit; +} + +i.icon-cloud-thunder:before { + content: "\26c8"; + height: inherit; +} + +.icon-flash.icon-left a:before, .icon-flash.icon-right a:after { + content: "\26a1"; + height: inherit; +} + +i.icon-flash:before { + content: "\26a1"; + height: inherit; +} + +.icon-moon.icon-left a:before, .icon-moon.icon-right a:after { + content: "\263d"; + height: inherit; +} + +i.icon-moon:before { + content: "\263d"; + height: inherit; +} + +.icon-flight.icon-left a:before, .icon-flight.icon-right a:after { + content: "\2708"; + height: inherit; +} + +i.icon-flight:before { + content: "\2708"; + height: inherit; +} + +.icon-paper-plane.icon-left a:before, .icon-paper-plane.icon-right a:after { + content: "\e79b"; + height: inherit; +} + +i.icon-paper-plane:before { + content: "\e79b"; + height: inherit; +} + +.icon-leaf.icon-left a:before, .icon-leaf.icon-right a:after { + content: "ðŸ‚"; + height: inherit; +} + +i.icon-leaf:before { + content: "ðŸ‚"; + height: inherit; +} + +.icon-lifebuoy.icon-left a:before, .icon-lifebuoy.icon-right a:after { + content: "\e788"; + height: inherit; +} + +i.icon-lifebuoy:before { + content: "\e788"; + height: inherit; +} + +.icon-mouse.icon-left a:before, .icon-mouse.icon-right a:after { + content: "\e789"; + height: inherit; +} + +i.icon-mouse:before { + content: "\e789"; + height: inherit; +} + +.icon-briefcase.icon-left a:before, .icon-briefcase.icon-right a:after { + content: "💼"; + height: inherit; +} + +i.icon-briefcase:before { + content: "💼"; + height: inherit; +} + +.icon-suitcase.icon-left a:before, .icon-suitcase.icon-right a:after { + content: "\e78e"; + height: inherit; +} + +i.icon-suitcase:before { + content: "\e78e"; + height: inherit; +} + +.icon-dot.icon-left a:before, .icon-dot.icon-right a:after { + content: "\e78b"; + height: inherit; +} + +i.icon-dot:before { + content: "\e78b"; + height: inherit; +} + +.icon-dot-2.icon-left a:before, .icon-dot-2.icon-right a:after { + content: "\e78c"; + height: inherit; +} + +i.icon-dot-2:before { + content: "\e78c"; + height: inherit; +} + +.icon-dot-3.icon-left a:before, .icon-dot-3.icon-right a:after { + content: "\e78d"; + height: inherit; +} + +i.icon-dot-3:before { + content: "\e78d"; + height: inherit; +} + +.icon-brush.icon-left a:before, .icon-brush.icon-right a:after { + content: "\e79a"; + height: inherit; +} + +i.icon-brush:before { + content: "\e79a"; + height: inherit; +} + +.icon-magnet.icon-left a:before, .icon-magnet.icon-right a:after { + content: "\e7a1"; + height: inherit; +} + +i.icon-magnet:before { + content: "\e7a1"; + height: inherit; +} + +.icon-infinity.icon-left a:before, .icon-infinity.icon-right a:after { + content: "\221e"; + height: inherit; +} + +i.icon-infinity:before { + content: "\221e"; + height: inherit; +} + +.icon-erase.icon-left a:before, .icon-erase.icon-right a:after { + content: "\232b"; + height: inherit; +} + +i.icon-erase:before { + content: "\232b"; + height: inherit; +} + +.icon-chart-pie.icon-left a:before, .icon-chart-pie.icon-right a:after { + content: "\e751"; + height: inherit; +} + +i.icon-chart-pie:before { + content: "\e751"; + height: inherit; +} + +.icon-chart-line.icon-left a:before, .icon-chart-line.icon-right a:after { + content: "📈"; + height: inherit; +} + +i.icon-chart-line:before { + content: "📈"; + height: inherit; +} + +.icon-chart-bar.icon-left a:before, .icon-chart-bar.icon-right a:after { + content: "📊"; + height: inherit; +} + +i.icon-chart-bar:before { + content: "📊"; + height: inherit; +} + +.icon-chart-area.icon-left a:before, .icon-chart-area.icon-right a:after { + content: "🔾"; + height: inherit; +} + +i.icon-chart-area:before { + content: "🔾"; + height: inherit; +} + +.icon-tape.icon-left a:before, .icon-tape.icon-right a:after { + content: "\2707"; + height: inherit; +} + +i.icon-tape:before { + content: "\2707"; + height: inherit; +} + +.icon-graduation-cap.icon-left a:before, .icon-graduation-cap.icon-right a:after { + content: "🎓"; + height: inherit; +} + +i.icon-graduation-cap:before { + content: "🎓"; + height: inherit; +} + +.icon-language.icon-left a:before, .icon-language.icon-right a:after { + content: "\e752"; + height: inherit; +} + +i.icon-language:before { + content: "\e752"; + height: inherit; +} + +.icon-ticket.icon-left a:before, .icon-ticket.icon-right a:after { + content: "🎫"; + height: inherit; +} + +i.icon-ticket:before { + content: "🎫"; + height: inherit; +} + +.icon-water.icon-left a:before, .icon-water.icon-right a:after { + content: "💦"; + height: inherit; +} + +i.icon-water:before { + content: "💦"; + height: inherit; +} + +.icon-droplet.icon-left a:before, .icon-droplet.icon-right a:after { + content: "💧"; + height: inherit; +} + +i.icon-droplet:before { + content: "💧"; + height: inherit; +} + +.icon-air.icon-left a:before, .icon-air.icon-right a:after { + content: "\e753"; + height: inherit; +} + +i.icon-air:before { + content: "\e753"; + height: inherit; +} + +.icon-credit-card.icon-left a:before, .icon-credit-card.icon-right a:after { + content: "💳"; + height: inherit; +} + +i.icon-credit-card:before { + content: "💳"; + height: inherit; +} + +.icon-floppy.icon-left a:before, .icon-floppy.icon-right a:after { + content: "💾"; + height: inherit; +} + +i.icon-floppy:before { + content: "💾"; + height: inherit; +} + +.icon-clipboard.icon-left a:before, .icon-clipboard.icon-right a:after { + content: "📋"; + height: inherit; +} + +i.icon-clipboard:before { + content: "📋"; + height: inherit; +} + +.icon-megaphone.icon-left a:before, .icon-megaphone.icon-right a:after { + content: "📣"; + height: inherit; +} + +i.icon-megaphone:before { + content: "📣"; + height: inherit; +} + +.icon-database.icon-left a:before, .icon-database.icon-right a:after { + content: "\e754"; + height: inherit; +} + +i.icon-database:before { + content: "\e754"; + height: inherit; +} + +.icon-drive.icon-left a:before, .icon-drive.icon-right a:after { + content: "\e755"; + height: inherit; +} + +i.icon-drive:before { + content: "\e755"; + height: inherit; +} + +.icon-bucket.icon-left a:before, .icon-bucket.icon-right a:after { + content: "\e756"; + height: inherit; +} + +i.icon-bucket:before { + content: "\e756"; + height: inherit; +} + +.icon-thermometer.icon-left a:before, .icon-thermometer.icon-right a:after { + content: "\e757"; + height: inherit; +} + +i.icon-thermometer:before { + content: "\e757"; + height: inherit; +} + +.icon-key.icon-left a:before, .icon-key.icon-right a:after { + content: "🔑"; + height: inherit; +} + +i.icon-key:before { + content: "🔑"; + height: inherit; +} + +.icon-flow-cascade.icon-left a:before, .icon-flow-cascade.icon-right a:after { + content: "\e790"; + height: inherit; +} + +i.icon-flow-cascade:before { + content: "\e790"; + height: inherit; +} + +.icon-flow-branch.icon-left a:before, .icon-flow-branch.icon-right a:after { + content: "\e791"; + height: inherit; +} + +i.icon-flow-branch:before { + content: "\e791"; + height: inherit; +} + +.icon-flow-tree.icon-left a:before, .icon-flow-tree.icon-right a:after { + content: "\e792"; + height: inherit; +} + +i.icon-flow-tree:before { + content: "\e792"; + height: inherit; +} + +.icon-flow-line.icon-left a:before, .icon-flow-line.icon-right a:after { + content: "\e793"; + height: inherit; +} + +i.icon-flow-line:before { + content: "\e793"; + height: inherit; +} + +.icon-flow-parallel.icon-left a:before, .icon-flow-parallel.icon-right a:after { + content: "\e794"; + height: inherit; +} + +i.icon-flow-parallel:before { + content: "\e794"; + height: inherit; +} + +.icon-rocket.icon-left a:before, .icon-rocket.icon-right a:after { + content: "🚀"; + height: inherit; +} + +i.icon-rocket:before { + content: "🚀"; + height: inherit; +} + +.icon-gauge.icon-left a:before, .icon-gauge.icon-right a:after { + content: "\e7a2"; + height: inherit; +} + +i.icon-gauge:before { + content: "\e7a2"; + height: inherit; +} + +.icon-traffic-cone.icon-left a:before, .icon-traffic-cone.icon-right a:after { + content: "\e7a3"; + height: inherit; +} + +i.icon-traffic-cone:before { + content: "\e7a3"; + height: inherit; +} + +.icon-cc.icon-left a:before, .icon-cc.icon-right a:after { + content: "\e7a5"; + height: inherit; +} + +i.icon-cc:before { + content: "\e7a5"; + height: inherit; +} + +.icon-cc-by.icon-left a:before, .icon-cc-by.icon-right a:after { + content: "\e7a6"; + height: inherit; +} + +i.icon-cc-by:before { + content: "\e7a6"; + height: inherit; +} + +.icon-cc-nc.icon-left a:before, .icon-cc-nc.icon-right a:after { + content: "\e7a7"; + height: inherit; +} + +i.icon-cc-nc:before { + content: "\e7a7"; + height: inherit; +} + +.icon-cc-nc-eu.icon-left a:before, .icon-cc-nc-eu.icon-right a:after { + content: "\e7a8"; + height: inherit; +} + +i.icon-cc-nc-eu:before { + content: "\e7a8"; + height: inherit; +} + +.icon-cc-nc-jp.icon-left a:before, .icon-cc-nc-jp.icon-right a:after { + content: "\e7a9"; + height: inherit; +} + +i.icon-cc-nc-jp:before { + content: "\e7a9"; + height: inherit; +} + +.icon-cc-sa.icon-left a:before, .icon-cc-sa.icon-right a:after { + content: "\e7aa"; + height: inherit; +} + +i.icon-cc-sa:before { + content: "\e7aa"; + height: inherit; +} + +.icon-cc-nd.icon-left a:before, .icon-cc-nd.icon-right a:after { + content: "\e7ab"; + height: inherit; +} + +i.icon-cc-nd:before { + content: "\e7ab"; + height: inherit; +} + +.icon-cc-pd.icon-left a:before, .icon-cc-pd.icon-right a:after { + content: "\e7ac"; + height: inherit; +} + +i.icon-cc-pd:before { + content: "\e7ac"; + height: inherit; +} + +.icon-cc-zero.icon-left a:before, .icon-cc-zero.icon-right a:after { + content: "\e7ad"; + height: inherit; +} + +i.icon-cc-zero:before { + content: "\e7ad"; + height: inherit; +} + +.icon-cc-share.icon-left a:before, .icon-cc-share.icon-right a:after { + content: "\e7ae"; + height: inherit; +} + +i.icon-cc-share:before { + content: "\e7ae"; + height: inherit; +} + +.icon-cc-remix.icon-left a:before, .icon-cc-remix.icon-right a:after { + content: "\e7af"; + height: inherit; +} + +i.icon-cc-remix:before { + content: "\e7af"; + height: inherit; +} + +.icon-github.icon-left a:before, .icon-github.icon-right a:after { + content: "\f300"; + height: inherit; +} + +i.icon-github:before { + content: "\f300"; + height: inherit; +} + +.icon-github-circled.icon-left a:before, .icon-github-circled.icon-right a:after { + content: "\f301"; + height: inherit; +} + +i.icon-github-circled:before { + content: "\f301"; + height: inherit; +} + +.icon-flickr.icon-left a:before, .icon-flickr.icon-right a:after { + content: "\f303"; + height: inherit; +} + +i.icon-flickr:before { + content: "\f303"; + height: inherit; +} + +.icon-flickr-circled.icon-left a:before, .icon-flickr-circled.icon-right a:after { + content: "\f304"; + height: inherit; +} + +i.icon-flickr-circled:before { + content: "\f304"; + height: inherit; +} + +.icon-vimeo.icon-left a:before, .icon-vimeo.icon-right a:after { + content: "\f306"; + height: inherit; +} + +i.icon-vimeo:before { + content: "\f306"; + height: inherit; +} + +.icon-vimeo-circled.icon-left a:before, .icon-vimeo-circled.icon-right a:after { + content: "\f307"; + height: inherit; +} + +i.icon-vimeo-circled:before { + content: "\f307"; + height: inherit; +} + +.icon-twitter.icon-left a:before, .icon-twitter.icon-right a:after { + content: "\f309"; + height: inherit; +} + +i.icon-twitter:before { + content: "\f309"; + height: inherit; +} + +.icon-twitter-circled.icon-left a:before, .icon-twitter-circled.icon-right a:after { + content: "\f30a"; + height: inherit; +} + +i.icon-twitter-circled:before { + content: "\f30a"; + height: inherit; +} + +.icon-facebook.icon-left a:before, .icon-facebook.icon-right a:after { + content: "\f30c"; + height: inherit; +} + +i.icon-facebook:before { + content: "\f30c"; + height: inherit; +} + +.icon-facebook-circled.icon-left a:before, .icon-facebook-circled.icon-right a:after { + content: "\f30d"; + height: inherit; +} + +i.icon-facebook-circled:before { + content: "\f30d"; + height: inherit; +} + +.icon-facebook-squared.icon-left a:before, .icon-facebook-squared.icon-right a:after { + content: "\f30e"; + height: inherit; +} + +i.icon-facebook-squared:before { + content: "\f30e"; + height: inherit; +} + +.icon-gplus.icon-left a:before, .icon-gplus.icon-right a:after { + content: "\f30f"; + height: inherit; +} + +i.icon-gplus:before { + content: "\f30f"; + height: inherit; +} + +.icon-gplus-circled.icon-left a:before, .icon-gplus-circled.icon-right a:after { + content: "\f310"; + height: inherit; +} + +i.icon-gplus-circled:before { + content: "\f310"; + height: inherit; +} + +.icon-pinterest.icon-left a:before, .icon-pinterest.icon-right a:after { + content: "\f312"; + height: inherit; +} + +i.icon-pinterest:before { + content: "\f312"; + height: inherit; +} + +.icon-pinterest-circled.icon-left a:before, .icon-pinterest-circled.icon-right a:after { + content: "\f313"; + height: inherit; +} + +i.icon-pinterest-circled:before { + content: "\f313"; + height: inherit; +} + +.icon-tumblr.icon-left a:before, .icon-tumblr.icon-right a:after { + content: "\f315"; + height: inherit; +} + +i.icon-tumblr:before { + content: "\f315"; + height: inherit; +} + +.icon-tumblr-circled.icon-left a:before, .icon-tumblr-circled.icon-right a:after { + content: "\f316"; + height: inherit; +} + +i.icon-tumblr-circled:before { + content: "\f316"; + height: inherit; +} + +.icon-linkedin.icon-left a:before, .icon-linkedin.icon-right a:after { + content: "\f318"; + height: inherit; +} + +i.icon-linkedin:before { + content: "\f318"; + height: inherit; +} + +.icon-linkedin-circled.icon-left a:before, .icon-linkedin-circled.icon-right a:after { + content: "\f319"; + height: inherit; +} + +i.icon-linkedin-circled:before { + content: "\f319"; + height: inherit; +} + +.icon-dribbble.icon-left a:before, .icon-dribbble.icon-right a:after { + content: "\f31b"; + height: inherit; +} + +i.icon-dribbble:before { + content: "\f31b"; + height: inherit; +} + +.icon-dribbble-circled.icon-left a:before, .icon-dribbble-circled.icon-right a:after { + content: "\f31c"; + height: inherit; +} + +i.icon-dribbble-circled:before { + content: "\f31c"; + height: inherit; +} + +.icon-stumbleupon.icon-left a:before, .icon-stumbleupon.icon-right a:after { + content: "\f31e"; + height: inherit; +} + +i.icon-stumbleupon:before { + content: "\f31e"; + height: inherit; +} + +.icon-stumbleupon-circled.icon-left a:before, .icon-stumbleupon-circled.icon-right a:after { + content: "\f31f"; + height: inherit; +} + +i.icon-stumbleupon-circled:before { + content: "\f31f"; + height: inherit; +} + +.icon-lastfm.icon-left a:before, .icon-lastfm.icon-right a:after { + content: "\f321"; + height: inherit; +} + +i.icon-lastfm:before { + content: "\f321"; + height: inherit; +} + +.icon-lastfm-circled.icon-left a:before, .icon-lastfm-circled.icon-right a:after { + content: "\f322"; + height: inherit; +} + +i.icon-lastfm-circled:before { + content: "\f322"; + height: inherit; +} + +.icon-rdio.icon-left a:before, .icon-rdio.icon-right a:after { + content: "\f324"; + height: inherit; +} + +i.icon-rdio:before { + content: "\f324"; + height: inherit; +} + +.icon-rdio-circled.icon-left a:before, .icon-rdio-circled.icon-right a:after { + content: "\f325"; + height: inherit; +} + +i.icon-rdio-circled:before { + content: "\f325"; + height: inherit; +} + +.icon-spotify.icon-left a:before, .icon-spotify.icon-right a:after { + content: "\f327"; + height: inherit; +} + +i.icon-spotify:before { + content: "\f327"; + height: inherit; +} + +.icon-spotify-circled.icon-left a:before, .icon-spotify-circled.icon-right a:after { + content: "\f328"; + height: inherit; +} + +i.icon-spotify-circled:before { + content: "\f328"; + height: inherit; +} + +.icon-qq.icon-left a:before, .icon-qq.icon-right a:after { + content: "\f32a"; + height: inherit; +} + +i.icon-qq:before { + content: "\f32a"; + height: inherit; +} + +.icon-instagram.icon-left a:before, .icon-instagram.icon-right a:after { + content: "\f32d"; + height: inherit; +} + +i.icon-instagram:before { + content: "\f32d"; + height: inherit; +} + +.icon-dropbox.icon-left a:before, .icon-dropbox.icon-right a:after { + content: "\f330"; + height: inherit; +} + +i.icon-dropbox:before { + content: "\f330"; + height: inherit; +} + +.icon-evernote.icon-left a:before, .icon-evernote.icon-right a:after { + content: "\f333"; + height: inherit; +} + +i.icon-evernote:before { + content: "\f333"; + height: inherit; +} + +.icon-flattr.icon-left a:before, .icon-flattr.icon-right a:after { + content: "\f336"; + height: inherit; +} + +i.icon-flattr:before { + content: "\f336"; + height: inherit; +} + +.icon-skype.icon-left a:before, .icon-skype.icon-right a:after { + content: "\f339"; + height: inherit; +} + +i.icon-skype:before { + content: "\f339"; + height: inherit; +} + +.icon-skype-circled.icon-left a:before, .icon-skype-circled.icon-right a:after { + content: "\f33a"; + height: inherit; +} + +i.icon-skype-circled:before { + content: "\f33a"; + height: inherit; +} + +.icon-renren.icon-left a:before, .icon-renren.icon-right a:after { + content: "\f33c"; + height: inherit; +} + +i.icon-renren:before { + content: "\f33c"; + height: inherit; +} + +.icon-sina-weibo.icon-left a:before, .icon-sina-weibo.icon-right a:after { + content: "\f33f"; + height: inherit; +} + +i.icon-sina-weibo:before { + content: "\f33f"; + height: inherit; +} + +.icon-paypal.icon-left a:before, .icon-paypal.icon-right a:after { + content: "\f342"; + height: inherit; +} + +i.icon-paypal:before { + content: "\f342"; + height: inherit; +} + +.icon-picasa.icon-left a:before, .icon-picasa.icon-right a:after { + content: "\f345"; + height: inherit; +} + +i.icon-picasa:before { + content: "\f345"; + height: inherit; +} + +.icon-soundcloud.icon-left a:before, .icon-soundcloud.icon-right a:after { + content: "\f348"; + height: inherit; +} + +i.icon-soundcloud:before { + content: "\f348"; + height: inherit; +} + +.icon-mixi.icon-left a:before, .icon-mixi.icon-right a:after { + content: "\f34b"; + height: inherit; +} + +i.icon-mixi:before { + content: "\f34b"; + height: inherit; +} + +.icon-behance.icon-left a:before, .icon-behance.icon-right a:after { + content: "\f34e"; + height: inherit; +} + +i.icon-behance:before { + content: "\f34e"; + height: inherit; +} + +.icon-google-circles.icon-left a:before, .icon-google-circles.icon-right a:after { + content: "\f351"; + height: inherit; +} + +i.icon-google-circles:before { + content: "\f351"; + height: inherit; +} + +.icon-vkontakte.icon-left a:before, .icon-vkontakte.icon-right a:after { + content: "\f354"; + height: inherit; +} + +i.icon-vkontakte:before { + content: "\f354"; + height: inherit; +} + +.icon-smashing.icon-left a:before, .icon-smashing.icon-right a:after { + content: "\f357"; + height: inherit; +} + +i.icon-smashing:before { + content: "\f357"; + height: inherit; +} + +.icon-sweden.icon-left a:before, .icon-sweden.icon-right a:after { + content: "\f601"; + height: inherit; +} + +i.icon-sweden:before { + content: "\f601"; + height: inherit; +} + +.icon-db-shape.icon-left a:before, .icon-db-shape.icon-right a:after { + content: "\f600"; + height: inherit; +} + +i.icon-db-shape:before { + content: "\f600"; + height: inherit; +} + +.icon-logo-db.icon-left a:before, .icon-logo-db.icon-right a:after { + content: "\f603"; + height: inherit; +} + +i.icon-logo-db:before { + content: "\f603"; + height: inherit; +} + +/* Form Styles */ +form { + margin: 0 0 18px; +} +form label { + display: block; + font-size: 16px; + font-size: 1rem; + line-height: 1.625em; + cursor: pointer; + margin-bottom: 9px; +} +form label.inline { + display: inline-block; + padding-right: 20px; +} +form dt { + margin: 0; +} +form textarea { + height: 150px; +} +form ul, form ul li { + margin-left: 0; + list-style-type: none; +} +form fieldset { + border-style: solid; + border-width: 0.0625em; + padding: 1.5625em; + border-color: #d8d8d8; + margin: 18px 0; +} +form fieldset legend { + padding: 5px 10px; +} + +.field { + position: relative; + max-width: 100%; + margin-bottom: 10px; + vertical-align: middle; + /* remove inline-block white-space — A 0px font-size = 0px of white space */ +} +.field.metro, .field .metro { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; +} +.field input, .field input[type="*"], .field textarea { + max-width: 100%; + width: 100%; + padding: 0; + margin: 0; + border: none; + outline: none; + resize: none; + -webkit-appearance: none; + font-family: "Open Sans"; + font-weight: 300; + font-size: 16px; + font-size: 1rem; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.field .radio, .field .checkbox { + position: relative; +} +.field .radio input[type="radio"], .field .checkbox input[type="checkbox"] { + display: none; +} +.field .input { + position: relative; + padding: 0 10px; + background: #fff; + border: 1px solid #d8d8d8; + height: 36px; + line-height: 34px; + font-size: 16px; + font-size: 1rem; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +.field .input.search { + height: 36px; + line-height: 34px; + -webkit-border-radius: 1000px; + -moz-border-radius: 1000px; + -ms-border-radius: 1000px; + -o-border-radius: 1000px; + border-radius: 1000px; +} +.field .input.textarea { + height: auto; +} +.field .xnarrow { + width: 13.33333%; +} +.field .narrow { + width: 30.66667%; +} +.field .normal { + width: 48%; +} +.field .wide { + width: 65.33333%; +} +.field .xwide { + width: 82.66667%; +} +.field .xxwide { + width: 100%; +} +.field .xnarrow, .field .narrow, .field .normal, .field .wide, .field .xwide, .field .xxwide { + margin: 0; +} +.field .xnarrow:last-child, .field .narrow:last-child, .field .normal:last-child, .field .wide:last-child, .field .xwide:last-child, .field .xxwide:last-child { + margin-left: -4px; +} +.field .xnarrow:first-child, .field .narrow:first-child, .field .normal:first-child, .field .wide:first-child, .field .xwide:first-child, .field .xxwide:first-child { + margin-right: 3.94%; + margin-left: 0; +} +.field .xnarrow:first-child:last-child, .field .narrow:first-child:last-child, .field .normal:first-child:last-child, .field .wide:first-child:last-child, .field .xwide:first-child:last-child, .field .xxwide:first-child:last-child { + margin: 0; +} +.field label + .xnarrow:last-child, .field label + .narrow:last-child, .field label + .normal:last-child, .field label + .wide:last-child, .field label + .xwide:last-child, .field label + .xxwide:last-child { + margin-left: 0; +} +@media only screen and (max-width: 1120px) { + .field .xxwide:first-child, .field .xxwide:last-child { + margin-right: 0%; + } +} +.field.prepend, .field.append { + font-size: 0; + white-space: nowrap; + padding-bottom: 3.5px; +} +.field.prepend input, .field.prepend .input, .field.append input, .field.append .input { + display: inline-block; + max-width: 100%; +} +.field.prepend input, .field.prepend .input { + -webkit-border-radius: 0px 4px 4px 0; + -moz-border-radius: 0px 4px 4px 0; + -ms-border-radius: 0px 4px 4px 0; + -o-border-radius: 0px 4px 4px 0; + border-radius: 0px 4px 4px 0; +} +.field.append input, .field.append .input { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + -ms-border-radius: 4px 0 0 4px; + -o-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.field.prepend.append input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; +} +.field.prepend.append input:first-child { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + -ms-border-radius: 4px 0 0 4px; + -o-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.field.prepend.append input:last-child { + margin-left: -1px; + -webkit-border-radius: 0px 4px 4px 0; + -moz-border-radius: 0px 4px 4px 0; + -ms-border-radius: 0px 4px 4px 0; + -o-border-radius: 0px 4px 4px 0; + border-radius: 0px 4px 4px 0; +} +.field.prepend .adjoined, .field.append .adjoined, .field.prepend .btn, .field.append .btn { + position: relative; + display: inline-block; + margin-bottom: 0; + z-index: 99; +} +.field.prepend .btn a, .field.append .btn a { + padding: 0 12px; +} +.field.prepend .adjoined, .field.append .adjoined { + padding: 0 10px 0 10px; + background: #f2f2f2; + border: 1px solid #d8d8d8; + font-family: "Open Sans"; + font-weight: 600; + color: #555555; + font-size: 16px; + font-size: 1rem; + height: 36px; + line-height: 34px; +} +.field.prepend *:first-child { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + -ms-border-radius: 4px 0 0 4px; + -o-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.field.prepend input:first-child { + margin-right: 0; +} +.field.prepend .adjoined, .field.prepend .btn { + margin-right: -1px; +} +.field .adjoined:first-child { + margin-left: 0 !important; +} +.field.append .adjoined, .field.append .btn { + margin-left: -1px; +} +.field.append *:last-child { + -webkit-border-radius: 0px 4px 4px 0; + -moz-border-radius: 0px 4px 4px 0; + -ms-border-radius: 0px 4px 4px 0; + -o-border-radius: 0px 4px 4px 0; + border-radius: 0px 4px 4px 0; +} +.field.append input:first-child { + margin-right: 0; +} +.field.double input, .field.double .input { + width: 50% !important; +} +.field.double input:last-child, .field.double .input:last-child { + margin-left: -1px; +} +.field.danger:after { + font-family: "entypo"; + content: "\2716"; + font-size: 16px; + position: absolute; + top: 5px; + right: 15px; + z-index: 999; + color: #ca3838; +} +.field.danger.append:after, .field.danger.prepend:after { + content: ""; +} +.field.danger input, .field.danger .input, .field.danger textarea, .field.danger .textarea, .field.danger .radio span, .field.danger .checkbox span, .field.danger .picker { + border-color: #ca3838; + color: #ca3838; + background: #f0c5c5; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field.danger textarea { + color: #ca3838; +} +.field.danger input::-webkit-input-placeholder, .field.danger textarea::-webkit-input-placeholder { + color: #ca3838; +} +.field.danger input:-moz-placeholder, .field.danger textarea:-moz-placeholder { + color: #ca3838; +} +.field.warning:after { + font-family: "entypo"; + content: "\26a0"; + font-size: 16px; + position: absolute; + top: 5px; + right: 15px; + z-index: 999; + color: #f6b83f; +} +.field.warning.append:after, .field.warning.prepend:after { + content: ""; +} +.field.warning input, .field.warning .input, .field.warning textarea, .field.warning .textarea, .field.warning .radio span, .field.warning .checkbox span, .field.warning .picker { + border-color: #f6b83f; + color: #f6b83f; + background: #fef7ea; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field.warning textarea { + color: #f6b83f; +} +.field.warning input::-webkit-input-placeholder, .field.warning textarea::-webkit-input-placeholder { + color: #f6b83f; +} +.field.warning input:-moz-placeholder, .field.warning textarea:-moz-placeholder { + color: #f6b83f; +} +.field.success:after { + font-family: "entypo"; + content: "\2713"; + font-size: 16px; + position: absolute; + top: 5px; + right: 15px; + z-index: 999; + color: #58c026; +} +.field.success.append:after, .field.success.prepend:after { + content: ""; +} +.field.success input, .field.success .input, .field.success textarea, .field.success .textarea, .field.success .radio span, .field.success .checkbox span, .field.success .picker { + border-color: #58c026; + color: #58c026; + background: #c0eeaa; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field.success textarea { + color: #58c026; +} +.field.success input::-webkit-input-placeholder, .field.success textarea::-webkit-input-placeholder { + color: #58c026; +} +.field.success input:-moz-placeholder, .field.success textarea:-moz-placeholder { + color: #58c026; +} +.field .picker.danger { + border-color: #ca3838; + color: #ca3838; + background: #f0c5c5; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .picker.danger select, .field .picker.danger:after { + color: #ca3838; +} +.field .picker.warning { + border-color: #f6b83f; + color: #f6b83f; + background: #fef7ea; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .picker.warning select, .field .picker.warning:after { + color: #f6b83f; +} +.field .picker.success { + border-color: #58c026; + color: #58c026; + background: #c0eeaa; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .picker.success select, .field .picker.success:after { + color: #58c026; +} +.field .radio.danger, .field .checkbox.danger { + color: #ca3838; +} +.field .radio.danger span, .field .checkbox.danger span { + border-color: #ca3838; + color: #ca3838; + background: #f0c5c5; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .radio.warning, .field .checkbox.warning { + color: #f6b83f; +} +.field .radio.warning span, .field .checkbox.warning span { + border-color: #f6b83f; + color: #f6b83f; + background: #fef7ea; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .radio.success, .field .checkbox.success { + color: #58c026; + color: #555555; +} +.field .radio.success i, .field .checkbox.success i { + color: #58c026; +} +.field .radio.success span, .field .checkbox.success span { + border-color: #58c026; + color: #58c026; + background: #c0eeaa; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +.field .radio span, .field .checkbox span { + display: inline-block; + width: 16px; + height: 16px; + position: relative; + top: 2px; + border: solid 1px #cccccc; + background: #fefefe; +} +.field .radio span { + border-radius: 8px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; +} +.field .checkbox span { + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; +} +.field .radio.checked i, .field .checkbox.checked i { + position: absolute; + top: 0; + left: -7px; +} + +.field .text input[type="search"] { + -webkit-appearance: textfield; +} + +/* Form Picker Element (<select>) */ +.picker { + position: relative; + width: auto; + display: inline-block; + margin: 0 0 2px 1.2%; + overflow: hidden; + border: 1px solid #e5e5e5; + border-radius: 4px; + font-family: "Open Sans"; + font-weight: 600; + height: 36px; + line-height: 34px; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2)); + background-image: -webkit-linear-gradient(#ffffff, #f2f2f2); + background-image: -moz-linear-gradient(#ffffff, #f2f2f2); + background-image: -o-linear-gradient(#ffffff, #f2f2f2); + background-image: linear-gradient(#ffffff, #f2f2f2); +} +.picker:after { + content: "\25BE"; + z-index: 0; + position: absolute; + right: 8%; + top: 0%; + color: #555555; +} +.picker:first-child { + margin-left: 0; +} +.picker select { + position: relative; + display: block; + min-width: 100%; + width: 135%; + height: 34px; + padding: 6px 45px 6px 15px; + color: #555555; + border: none; + background: transparent; + outline: none; + -webkit-appearance: none; + z-index: 99; + cursor: pointer; + font-size: 16px; + font-size: 1rem; +} + +/* Labels */ +.badge, .label { + height: 20px; + display: inline-block; + font-family: Helvetica, arial, verdana, sans-serif; + font-weight: bold; + line-height: 20px; + text-align: center; + color: #fff; +} +.badge a, .label a { + color: #fff; +} +.badge.primary, .label.primary { + background: #3085d6; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.secondary, .label.secondary { + background: #42a35a; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.default, .label.default { + background: #f2f2f2; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.default:hover, .label.default:hover { + border: 1px solid #e5e5e5; +} +.badge.default a, .label.default a { + color: #555555; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.info, .label.info { + background: #4a4d50; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.danger, .label.danger { + background: #ca3838; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.warning, .label.warning { + background: #f6b83f; + color: #644405; +} +.badge.warning a, .label.warning a { + color: #644405; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.success, .label.success { + background: #58c026; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.twitter, .label.twitter { + background: #00aced; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} +.badge.facebook, .label.facebook { + background: #3b5998; +} +.badge.light, .label.light { + background: #fff; + color: #555555; + border: 1px solid #f2f2f2; +} +.badge.light a, .label.light a { + color: #d04526; +} +.badge.dark, .label.dark { + background: #212121; +} + +.badge { + padding: 0 10px; + font-size: 14px; + font-size: 0.875rem; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + -ms-border-radius: 10px; + -o-border-radius: 10px; + border-radius: 10px; +} + +.label { + padding: 0 10px; + font-size: 12px; + font-size: 0.75rem; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + -ms-border-radius: 2px; + -o-border-radius: 2px; + border-radius: 2px; +} + +.alert { + padding: 0 10px; + font-family: "Open Sans"; + font-weight: 600; + list-style-type: none; + word-wrap: break-word; + margin-bottom: 8px; + font-size: 14px; + font-size: 0.875rem; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +.alert.primary { + background: #85b7e7; + border: 1px solid #3085d6; + color: #1a5186; +} +.alert.secondary { + background: #80cb92; + border: 1px solid #42a35a; + color: #255a32; +} +.alert.default { + background: white; + border: 1px solid #f2f2f2; + color: #bfbfbf; + color: #555555; + border: 1px solid #f2f2f2; +} +.alert.info { + background: #7b8085; + border: 1px solid #4a4d50; + color: #191a1b; + color: #f2f2f2; +} +.alert.danger { + background: #df8989; + border: 1px solid #ca3838; + color: #7b2121; +} +.alert.warning { + background: #fbdca0; + border: 1px solid #f6b83f; + color: #c68609; + color: #644405; +} +.alert.success { + background: #91e26a; + border: 1px solid #58c026; + color: #316b15; +} +.alert.twitter { + background: #54d0ff; + border: 1px solid #00aced; + color: #006287; +} +.alert.facebook { + background: #718dc8; + border: 1px solid #3b5998; + color: #1e2e4f; +} + +/* Tabs */ +.tabs { + display: block; +} +.tabs .tab-nav { + margin: 0; + padding: 0; + border-bottom: 1px solid #e5e5e5; +} +.tabs .tab-nav > li { + display: inline-block; + width: auto; + padding: 0; + margin: 0 1.81818% 0 0; + cursor: default; + top: 1px; + -webkit-box-shadow: 0 1px 0 white; + -moz-box-shadow: 0 1px 0 white; + box-shadow: 0 1px 0 white; +} +.tabs .tab-nav > li > a { + display: block; + width: auto; + padding: 0 16px; + margin: 0; + color: #555555; + font-family: "Open Sans"; + font-weight: 600; + border: 1px solid #e5e5e5; + border-width: 1px 1px 0 1px; + text-shadow: 0 1px 1px white; + background: #f2f2f2; + cursor: pointer; + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + -ms-border-radius: 4px 4px 0 0; + -o-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; + height: 42px; + line-height: 40px; +} +.tabs .tab-nav > li > a:hover { + text-decoration: none; + background: whitesmoke; +} +.tabs .tab-nav > li > a:active { + background: #ededed; +} +.tabs .tab-nav > li.active > a { + height: 43px; + line-height: 41px; + background: white; +} +.tabs .tab-nav > li:last-child { + margin-right: 0; +} +.tabs .tab-content { + display: none; + padding: 20px 10px; +} +.tabs .tab-content.active { + display: block; +} +.tabs.pill .tab-nav { + width: 100%; + /* remove if you dont want the tabs to span the full container width */ + display: table; + overflow: hidden; + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; +} +.tabs.pill .tab-nav > li { + display: table-cell; + margin: 0; + margin-left: -4px; + text-align: center; + top: 0; +} +.tabs.pill .tab-nav > li:first-child { + margin-left: 0; +} +.tabs.pill .tab-nav > li > a { + border: none; + border-right: 1px solid #e5e5e5; + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + height: 42px; + line-height: 40px; +} +.tabs.pill .tab-nav > li:last-child > a { + border-right: none; +} +.tabs.vertical .tab-nav { + border: none; +} +.tabs.vertical .tab-nav > li { + display: block; + margin: 0; + margin-bottom: 5px; +} +.tabs.vertical .tab-nav > li.active { + position: relative; + z-index: 99; +} +.tabs.vertical .tab-nav > li.active > a { + border-right: 1px solid white; +} +.tabs.vertical .tab-nav > li > a { + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + -ms-border-radius: 4px 0 0 4px; + -o-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.tabs.vertical .tab-content { + padding: 10px 0 30px 20px; + margin-left: -1px; + border-left: 1px solid #e5e5e5; +} + +.image { + line-height: 0; + margin-bottom: 20px; +} +.image.circle { + border-radius: 50% !important; + overflow: hidden; + width: auto; +} +.image.rounded { + overflow: hidden; + -webkit-border-radius: 4px 4px; + -moz-border-radius: 4px 4px; + -ms-border-radius: 4px 4px; + -o-border-radius: 4px 4px; + border-radius: 4px 4px; +} +.image.photo { + border: 5px solid white; + box-shadow: 0 0 1px #555555; +} +.image.photo.polaroid { + padding-bottom: 50px; + background: #fff; +} + +body .video { + width: 100%; + position: relative; + height: 0; + padding-bottom: 56.25%; +} +body .video.twitch, body .video.youtube.show_controls { + padding-top: 30px; +} + +.video > video, .video > iframe, .video > object, .video > embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.drawer { + position: relative; + width: 100%; + max-height: 0; + background: #3e4144; + -webkit-box-shadow: inset 0 -2px 5px #313436, inset 0 2px 5px #313436; + -moz-box-shadow: inset 0 -2px 5px #313436, inset 0 2px 5px #313436; + box-shadow: inset 0 -2px 5px #313436, inset 0 2px 5px #313436; + overflow: hidden; + -webkit-transition-duration: .3s; + /* Saf3.2+, Chrome */ + -moz-transition-duration: .3s; + /* FF4+ */ + -ms-transition-duration: .3s; + /* IE10 */ + -o-transition-duration: .3s; + /* Opera 10.5+ */ + transition-duration: .3s; +} +.drawer.active { + height: auto; + max-height: 800px; + -webkit-transition-duration: .5s; + /* Saf3.2+, Chrome */ + -moz-transition-duration: .5s; + /* FF4+ */ + -ms-transition-duration: .5s; + /* IE10 */ + -o-transition-duration: .5s; + /* Opera 10.5+ */ + transition-duration: .5s; +} + +.modal { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + z-index: -999999; + background: black; + background: rgba(0, 0, 0, 0.8); +} +.modal > .content { + width: 50%; + min-height: 50%; + max-height: 65%; + position: relative; + top: 25%; + margin: 0 auto; + padding: 20px; + background: white; + z-index: 2; + overflow: auto; +} +@media only screen and (max-width: 768px) { + .modal > .content { + width: 80%; + min-height: 80%; + max-height: 80%; + top: 10%; + } +} +@media only screen and (max-width: 767px) { + .modal > .content { + width: 92.5%; + min-height: 92.5%; + max-height: 92.5%; + top: 3.75%; + } +} +.modal > .content > .close { + position: absolute; + top: 10px; + right: 10px; + cursor: pointer; +} +.modal, .modal > .content { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); + opacity: 0; + -webkit-transition-duration: 0.3s; + -moz-transition-duration: 0.3s; + -o-transition-duration: 0.3s; + transition-duration: 0.3s; +} +.modal.active { + z-index: 999999; +} +.modal.active, .modal.active > .content { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +.colorpicker { + width: 356px; + height: 176px; + overflow: hidden; + position: absolute; + background: url(../img/colorpicker/colorpicker_background.png); + font-family: Arial, Helvetica, sans-serif; + display: none; + z-index: 9999; +} + +.colorpicker_color { + width: 150px; + height: 150px; + left: 14px; + top: 13px; + position: absolute; + background: #f00; + overflow: hidden; + cursor: crosshair; +} + +.colorpicker_color div { + position: absolute; + top: 0; + left: 0; + width: 150px; + height: 150px; + background: url(../img/colorpicker/colorpicker_overlay.png); +} + +.colorpicker_color div div { + position: absolute; + top: 0; + left: 0; + width: 11px; + height: 11px; + overflow: hidden; + background: url(../img/colorpicker/colorpicker_select.gif); + margin: -5px 0 0 -5px; +} + +.colorpicker_hue { + position: absolute; + top: 13px; + left: 171px; + width: 35px; + height: 150px; + cursor: n-resize; +} + +.colorpicker_hue div { + position: absolute; + width: 35px; + height: 9px; + overflow: hidden; + background: url(../img/colorpicker/colorpicker_indic.gif) left top; + margin: -4px 0 0 0; + left: 0px; +} + +.colorpicker_new_color { + position: absolute; + width: 60px; + height: 30px; + left: 213px; + top: 13px; + background: #f00; +} + +.colorpicker_current_color { + position: absolute; + width: 60px; + height: 30px; + left: 283px; + top: 13px; + background: #f00; +} + +.colorpicker input { + background-color: transparent; + border: 1px solid transparent; + position: absolute; + font-size: 10px; + font-family: Arial, Helvetica, sans-serif; + color: #898989; + top: 4px; + right: 11px; + text-align: right; + margin: 0; + padding: 0; + height: 11px; +} + +.colorpicker_hex { + position: absolute; + width: 72px; + height: 22px; + background: url(../img/colorpicker/colorpicker_hex.png) top; + left: 212px; + top: 142px; +} + +.colorpicker_hex input { + right: 6px; +} + +.colorpicker_field { + height: 22px; + width: 62px; + background-position: top; + position: absolute; +} + +.colorpicker_field span { + position: absolute; + width: 12px; + height: 22px; + overflow: hidden; + top: 0; + right: 0; + cursor: n-resize; +} + +.colorpicker_rgb_r { + background-image: url(../img/colorpicker/colorpicker_rgb_r.png); + top: 52px; + left: 212px; +} + +.colorpicker_rgb_g { + background-image: url(../img/colorpicker/colorpicker_rgb_g.png); + top: 82px; + left: 212px; +} + +.colorpicker_rgb_b { + background-image: url(../img/colorpicker/colorpicker_rgb_b.png); + top: 112px; + left: 212px; +} + +.colorpicker_hsb_h { + background-image: url(../img/colorpicker/colorpicker_hsb_h.png); + top: 52px; + left: 282px; +} + +.colorpicker_hsb_s { + background-image: url(../img/colorpicker/colorpicker_hsb_s.png); + top: 82px; + left: 282px; +} + +.colorpicker_hsb_b { + background-image: url(../img/colorpicker/colorpicker_hsb_b.png); + top: 112px; + left: 282px; +} + +.colorpicker_submit { + position: absolute; + width: 22px; + height: 22px; + background: url(../img/colorpicker/colorpicker_submit.png) top; + left: 322px; + top: 142px; + overflow: hidden; +} + +.colorpicker_focus { + background-position: center; +} + +.colorpicker_hex.colorpicker_focus { + background-position: bottom; +} + +.colorpicker_submit.colorpicker_focus { + background-position: bottom; +} + +.colorpicker_slider { + background-position: bottom; +} + +/* site specific jams */ +body#home { + text-align: center; +} + +body#inner-doc { + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; +} +body#inner-doc.active { + background: #eee; +} + +b { + font-weight: bold; +} + +dl dt { + margin: 10px 0; +} + +dl dd { + margin-bottom: 20px; +} + +.prettyprinted, em.highlighted { + font-family: 'Inconsolata'; +} + +.prettyprinted { + font-size: 14px; + font-size: 0.875rem; + margin-bottom: 60px; + overflow: auto !important; +} + +.navbar { + margin-bottom: 0; +} + +/* +Is this needed? It makes the ul slide in on hover :/ +.navbar ul { + float: right; +}*/ +.left-center, .left-center p { + text-align: left; +} + +.right-center { + text-align: right; +} +@media only screen and (max-width: 768px) { + .right-center { + text-align: center; + } +} + +.container + .container { + padding: 75px 20px 70px 20px; +} + +.container + .container.nopad { + padding-top: 0; + padding-bottom: 0; +} + +.container.shaded { + background-color: #e9e9e9 !important; + /*background-size: cover;*/ +} + +#home header h1 { + padding: 0.5em 0 0.125em 0; +} + +#home h2 { + padding-bottom: .5em; +} + +.navbar .logo { + margin: 0; +} +.navbar .logo a { + float: left; + padding-left: 0; +} + +#main-nav { + width: 620px; + float: right; +} + +#main-nav > li:last-child p { + margin-left: 1.81818%; +} +@media only screen and (max-width: 1120px) { + #main-nav > li:last-child p { + padding-left: 0; + } +} + +.socbtns { + display: inline-block; + padding: 15px 0; + overflow: hidden; +} + +.socbtns li { + float: left; +} + +.socbtns li + li { + border-left: 1px solid white; +} + +.socbtns .btn a { + font-size: 13px; +} + +#masthead { + position: relative; + width: 100%; + min-height: 183px; + max-height: 480px; + height: 480px; + background: url(../img/mast_screens.jpg) top center no-repeat; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} +@media only screen and (max-width: 768px) { + #masthead { + max-height: 367px; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; + -webkit-background-size: 2200px; + -moz-background-size: 2200px; + -o-background-size: 2200px; + background-size: 2200px; + } +} +@media only screen and (min-width: 321px) and (max-width: 767px) { + #masthead { + max-height: 250px; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; + -webkit-background-size: 1500px; + -moz-background-size: 1500px; + -o-background-size: 1500px; + background-size: 1500px; + } +} +@media only screen and (max-width: 320px) { + #masthead { + max-height: 200px; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; + -webkit-background-size: 1200px; + -moz-background-size: 1200px; + -o-background-size: 1200px; + background-size: 1200px; + } +} + +#download { + padding: 40px 20px 60px 20px; +} +#download h3 { + text-align: center; +} + +@media only screen and (max-width: 1108px) { + #download .six.columns, #subfoot .six.columns { + text-align: center; + width: 100% !important; + } +} + +.action .btn { + position: relative; + top: -4px; +} + +.action .btn a { + font-size: 20px; + font-size: 1.25rem; +} + +#jumptable { + padding: 0 20px; +} + +.jumplinks ul { + border: 1px solid #ececec; + display: table; + width: 100%; +} + +.jumplinks li { + display: table-cell; + margin: 0; + padding: 0; +} +@media only screen and (max-width: 768px) { + .jumplinks li { + text-align: center; + } +} + +.jumplinks a { + display: block; + color: #4A4D50; + background: #fff; + padding: 1em 0; +} +.jumplinks a:hover { + color: #333; +} +@media only screen and (max-width: 768px) { + .jumplinks a { + font-size: 14px; + font-size: 0.875rem; + } +} + +.jumplinks li + li a { + border-left: 1px solid #ececec; +} + +.btn.download a { + padding-left: 48px; + background: url(../img/icon_clouddl.png) no-repeat 15px 58%; +} + +.btn.dark { + background-color: #4A4D50; + border: 1px solid #4a4d50; +} +.btn.dark:hover { + background-color: #777; +} + +.btn.generic a { + color: #555555; +} + +article figure:first-child { + padding-bottom: 1.125em; +} + +#home #awesome p { + margin-bottom: 35px; +} + +#flexible { + background: url(../img/bg_phone.png) no-repeat right bottom; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; +} +@media only screen and (gumby-break) { + #flexible { + background-position: 120% bottom; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + } +} +@media only screen and (max-width: 768px) { + #flexible { + background-position: 135% bottom; + } +} +@media only screen and (max-width: 767px) { + #flexible { + background: transparent; + } +} + +#simple { + background: url(../img/bg_ipad.png) no-repeat left bottom; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; +} +@media only screen and (gumby-break) { + #simple { + background-position: -30% bottom; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + } +} +@media only screen and (max-width: 768px) { + #simple { + background-position: -40% bottom; + } +} +@media only screen and (max-width: 767px) { + #simple { + background: transparent; + } +} + +#home #showcase { + text-align: left; + padding-top: 20px; +} + +#home #showcase .site { + border: 3px solid #e9e9e9; + display: inline-block; + line-height: 0; +} + +#showcase .showcase { + margin-bottom: 10px; +} + +.right { + padding-top: .75em; + text-align: right; +} + +div.buttons { + padding-top: 20px; +} +div.buttons .primary { + margin-left: 20px; +} +@media only screen and (max-width: 875px) { + div.buttons .primary { + margin-left: 0; + } +} +@media only screen and (max-width: 875px) { + div.buttons div:first-child { + margin-bottom: 20px; + } +} + +#subForm .success { + font-size: 13px; +} + +#showcase_shodown { + margin-bottom: 20px; +} + +#showcaselink { + padding-top: 25px; +} + +#infocolumns h3 { + font-size: 26px; + font-size: 1.625rem; +} + +@media only screen and (max-width: 768px) { + #infocolumns .four.columns { + width: 50%; + padding: 0 15px; + margin-bottom: 30px; + margin-left: 0; + } + #infocolumns .four.columns:first-child { + padding-left: 0; + } + + #infocolumns .six.columns { + width: 80%; + margin-left: 0; + } +} +/************ + * Features + ************/ +#inner-nav { + padding: 10px 0; +} + +#inner-nav > ul { + padding-top: 20px; + display: block; + width: 470px; +} +@media only screen and (max-width: 768px) { + #inner-nav > ul { + display: block; + } +} + +.ie8 #inner-nav > ul { + width: 500px; +} + +#inner-nav li { + text-align: center; + display: inline-block; + height: 50px; +} + +#inner-nav h2 { + white-space: nowrap; +} + +#inner-nav a { + color: #555555; + white-space: nowrap; +} + +#inner-nav .btn { + background: none; + -o-transition: .4s; + -ms-transition: .4s; + -moz-transition: .4s; + -webkit-transition: .4s; + transition: .4s; +} + +#inner-nav .btn:hover { + background: #f2f2f2; +} + +#inner-nav .btn.active, #inner-nav #submit-link .btn { + background: #3085d6; +} +#inner-nav .btn.active a, #inner-nav #submit-link .btn a { + color: #fff; +} + +#inner-nav #submit-link { + padding-top: 20px; +} +@media only screen and (max-width: 768px) { + #inner-nav #submit-link { + text-align: center; + } + #inner-nav #submit-link .btn { + float: none; + } +} + +@media only screen and (max-width: 768px) { + #features #inner-nav ul, #inner-nav ul.pull_right { + width: 100%; + float: left; + margin-left: 0; + } + #features #inner-nav ul li, #inner-nav ul.pull_right li { + margin-left: 4px; + } + #features #inner-nav ul li:first-child, #inner-nav ul.pull_right li:first-child { + margin-left: 0; + } +} +#features #panel-one { + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + height: 455px; + margin-bottom: 50px; + background-repeat: no-repeat; + background-position: right bottom; +} +@media only screen and (gumby-break) { + #features #panel-one { + background-position: 140% bottom; + margin-bottom: 50px; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; + } +} +@media only screen and (max-width: 768px) { + #features #panel-one { + background-image: none; + height: 100%; + margin-bottom: 0; + padding-top: 0; + } +} + +@media only screen and (max-width: 767px) { + .grid-feature#features #panel-one { + background: transparent; + } +} + +.mobile-feature#features #panel-one { + background-position: right -40px; +} +@media only screen and (max-width: 767px) { + .mobile-feature#features #panel-one { + background: transparent; + } +} + +.sass-feature#features #panel-one { + background-position: 130% top; +} +@media only screen and (max-width: 767px) { + .sass-feature#features #panel-one { + background: transparent; + } +} + +.prototype-feature#features #panel-one { + background-position: 130% 20px; +} +@media only screen and (max-width: 767px) { + .prototype-feature#features #panel-one h2 { + font-size: 48px; + font-size: 3rem; + } +} +@media only screen and (max-width: 767px) { + .prototype-feature#features #panel-one { + background: transparent; + } +} + +.compliment-image { + text-align: center; +} + +#features #panel-one #pg-title { + padding-top: 75px; +} + +#features #panel-one h2 { + display: inline-block; + font-size: 68px; + font-size: 4.25rem; + padding: 0 4px; +} + +#features #panel-two { + margin-bottom: 75px; +} + +#features #panel-two img { + position: relative; + top: 2px; + margin-right: 15px; +} + +#features #panel-three { + margin-bottom: 125px; +} + +.grid-feature#features #panel-three figure img { + -webkit-box-shadow: 0px 10px 30px rgba(50, 50, 50, 0.76); + -moz-box-shadow: 0px 10px 30px rgba(50, 50, 50, 0.76); + box-shadow: 0px 10px 30px rgba(50, 50, 50, 0.76); +} + +#features #panel-four { + margin-bottom: 75px; +} + +#features #panel-four figure { + margin-left: -165px; + margin-bottom: 20px; +} +@media only screen and (max-width: 768px) { + #features #panel-four figure { + margin: 0; + } +} + +/**************** + * Documentation + ***************/ +#docs-content { + margin-bottom: 120px; +} + +#docs-content h3 { + font-size: 26px; + font-size: 1.625rem; +} + +#docs #panel-one { + padding-top: 95px; + padding-bottom: 120px; +} +@media only screen and (max-width: 768px) { + #docs #panel-one { + padding-top: 25px; + padding-bottom: 50px; + } +} + +#docs #panel-one h2 { + font-size: 68px; +} +@media only screen and (max-width: 768px) { + #docs #panel-one h2 { + font-size: 50px; + } +} + +#docs #panel-one h3 { + padding-top: 50px; +} +@media only screen and (max-width: 768px) { + #docs #panel-one h3 { + padding-top: 15px; + } +} + +#docs #panel-two { + padding-top: 20px; + padding-bottom: 20px; + margin-bottom: 50px; +} +@media only screen and (max-width: 768px) { + #docs #panel-two { + margin-bottom: 0; + } +} + +#docs #quick-start { + border-top: solid 1px #eeeeee; + margin-top: 0; + margin-bottom: 70px; + padding-top: 70px; +} +#docs #quick-start h3.custom { + margin-top: 40px; +} +@media only screen and (max-width: 768px) { + #docs #quick-start > div:first-child { + margin-bottom: 30px; + } +} + +#docs #getting-started { + padding-top: 30px; + padding-bottom: 0; +} +@media only screen and (max-width: 768px) { + #docs #getting-started { + padding-top: 0; + } +} + +#docs #panel-three { + margin-bottom: 50px; +} +@media only screen and (max-width: 768px) { + #docs #panel-three { + padding-top: 20px; + } +} + +#docs #panel-three section { + margin-bottom: 75px; +} +@media only screen and (max-width: 768px) { + #docs #panel-three section { + margin-bottom: 30px; + clear: both; + } +} + +#docs #panel-three section:last-child { + margin-bottom: 0; +} + +#docs #panel-three.docs-links { + margin-bottom: 125px; + margin-top: 10px; +} +@media only screen and (max-width: 768px) { + #docs #panel-three.docs-links { + margin-bottom: 50px; + } +} +@media only screen and (max-width: 768px) { + #docs #panel-three.docs-links .row { + margin: 0; + } +} +#docs #panel-three.docs-links .columns { + text-align: left; +} +#docs #panel-three.docs-links .columns h4, #docs #panel-three.docs-links .columns p { + text-align: left; +} +@media only screen and (max-width: 768px) { + #docs #panel-three.docs-links .columns h4, #docs #panel-three.docs-links .columns p { + text-align: center !important; + } +} +@media only screen and (max-width: 768px) { + #docs #panel-three.docs-links .columns { + width: 50% !important; + float: left !important; + margin-top: 30px; + } +} +@media only screen and (max-width: 600px) { + #docs #panel-three.docs-links .columns { + width: 100% !important; + float: none !important; + margin-top: 50px; + } +} + +#docs .docs-links a { + color: #d04526; +} + +#docs .docs-links h4 a { + color: #444444; +} + +#docs #panel-three h4 img { + margin-right: 10px; +} +@media only screen and (max-width: 768px) { + #docs #panel-three h4 img { + position: relative; + top: -3px; + } +} + +#docs #panel-four { + margin-bottom: 50px; +} + +/********************************* + * Inner Documentation + *********************************/ +#inner-doc #inner-nav { + margin-bottom: 40px; +} + +#inner-doc #sidebar-nav-holder.fixed { + top: 10px; +} +@media only screen and (max-width: 768px) { + #inner-doc #sidebar-nav-holder.fixed { + width: 100%; + } +} + +#inner-doc #sidebar-nav-holder.end { + position: absolute; +} + +#inner-doc #sidebar-nav { + text-align: left; +} +@media only screen and (max-width: 767px) { + #inner-doc #sidebar-nav { + margin-bottom: 30px; + } +} + +#inner-doc #sidebar-nav li a { + background: none; + -o-transition: .4s; + -ms-transition: .4s; + -moz-transition: .4s; + -webkit-transition: .4s; + transition: .4s; +} + +#inner-doc #sidebar-nav li.active a { + color: #fff; + background: #3085d6; +} +#inner-doc #sidebar-nav li.active a:hover { + background: #3085d6; +} + +#inner-doc #sidebar-nav a { + color: #555555; + display: block; + padding: 8px 14px; +} +#inner-doc #sidebar-nav a:hover { + background: #E9E9E9; +} + +#inner-doc .example-grid { + margin-bottom: 30px; + padding-top: 20px; +} + +#inner-doc .example-grid .btn { + text-align: center; +} + +#inner-doc .example-grid.grid .columns, +#inner-doc .example-grid.grid .tiles > li { + background: #e9e9e9; + height: 38px; + border: 1px solid #c9c9c9; + margin-bottom: 10px; + text-align: center; + cursor: pointer; +} +#inner-doc .example-grid.grid .columns:hover p, #inner-doc .example-grid.grid .columns:hover, +#inner-doc .example-grid.grid .tiles > li:hover p, +#inner-doc .example-grid.grid .tiles > li:hover { + font-size: 20px; +} + +#inner-doc .example-grid.grid .columns p, +#inner-doc .example-grid.grid .tiles > li { + line-height: 38px; + text-align: center; + -webkit-transition-duration: 0.2s; + -moz-transition-duration: 0.2s; + -o-transition-duration: 0.2s; + transition-duration: 0.2s; +} + +#inner-doc .example-grid .drawer { + margin-bottom: 10px; + text-align: center; +} + +#inner-doc #example-retina div.row { + background: #4a4d50; + text-align: center; + padding: 10px 0; +} + +#inner-doc pre { + text-align: left; + margin-bottom: 35px; +} + +#inner-doc .btnmarg .btn { + margin: 5px; +} + +#inner-doc h4 { + margin-top: 10px; +} + +#inner-doc #docs-content h2 { + margin-top: 20px; +} +#inner-doc #docs-content h2:first-child { + margin-top: -10px; +} + +#inner-doc .code-snippet { + margin-top: 40px; + overflow: auto; +} + +#blocklabel { + margin-left: 1.2%; +} + +.helperlist { + margin-bottom: 30px; +} + +#inner-doc .example-grid .navbar { + margin-bottom: 20px; +} + +#inner-doc #nav1.end { + position: relative; +} + +/************ + * Showcase + ************/ +#showcase #inner-nav { + margin-bottom: 33px; +} + +#showcase figure img { + border: 3px solid #e9e9e9; +} + +#showcase #featured { + margin-bottom: 15px; +} + +#showcase #view-more { + margin-top: 20px; + margin-bottom: 50px; +} + +#showcase #submit { + height: 0; + overflow: hidden; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); + opacity: 0; + -webkit-transition-duration: 0.5s; + -moz-transition-duration: 0.5s; + -o-transition-duration: 0.5s; + transition-duration: 0.5s; +} +#showcase #submit h3 { + padding-top: 0; +} +@media only screen and (max-width: 768px) { + #showcase #submit h3 { + padding: 0 3% 3%; + } +} +@media only screen and (max-width: 768px) { + #showcase #submit form { + margin-top: 25px; + } +} +#showcase #submit.active { + height: auto; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +/********** + * Customize + **********/ +#customize label { + text-align: left; +} +#customize .alert.how-it-works { + margin-top: 30px; +} +#customize #customizeForm > .shaded { + padding: 20px 0; +} +#customize #customizeForm > .shaded > .row:first-child { + border-bottom: solid 1px gainsboro; + padding-bottom: 20px; + margin-bottom: 20px; +} +@media only screen and (max-width: 768px) { + #customize .tiles_wrap { + padding-left: 5% !important; + } +} +#customize .xtrapad { + padding-right: 2.5%; +} +@media only screen and (max-width: 768px) { + #customize .field .xwide { + width: 91%; + } +} +@media only screen and (max-width: 768px) { + #customize .picker { + width: 100% !important; + } +} +#customize h2.xtramarg { + margin-top: 25px; +} +#customize .colors { + margin-bottom: 25px; +} +#customize .colors .label { + margin-bottom: 5px; +} +#customize #body-link { + color: #d04526; +} +#customize .custom-download { + margin-top: 70px; +} +#customize .custom { + background-color: #ccc; +} +#customize .custom-download i { + margin-right: 20px; +} +#customize .finished { + background-color: #44A34F; +} +#customize .error { + background-color: #CA3A33; +} + +/********** + * Footer + **********/ +#subfoot { + padding: 20px; +} + +.dl_and_docs { + padding-top: 8px; +} +@media only screen and (max-width: 1108px) { + .dl_and_docs { + width: 100% !important; + margin-left: 0; + text-align: center; + } +} +.dl_and_docs .dark { + margin-left: 20px; +} +@media only screen and (max-width: 768px) { + .dl_and_docs .dark { + margin-left: 0; + } +} +@media only screen and (max-width: 1108px) { + .dl_and_docs .primary { + margin-bottom: 20px; + } +} + +footer#credits .socbtns { + float: right; +} + +.disclaimer { + font-size: 10px; + color: #cccccc; +} + +/* text */ +#home header h4 { + color: #999; +} + +#templates { + padding-bottom: 200px; +} diff --git a/gum/static/js/libs/gumby.init.js b/gum/static/js/libs/gumby.init.js new file mode 100644 index 0000000..e14f7e2 --- /dev/null +++ b/gum/static/js/libs/gumby.init.js @@ -0,0 +1,27 @@ +/** +* Gumby Init +*/ + +// test for touch event support +Modernizr.load({ + test: Modernizr.touch, + + // if present load custom jQuery mobile build and update Gumby.click + yep: 'js/libs/jquery.mobile.custom.min.js', + callback: function(url, result, key) { + // check jQuery mobile has successfully loaded before using tap events + if($.mobile) { + window.Gumby.click = 'tap'; + } + }, + + // either way initialize Gumby + complete: function() { + window.Gumby.init(); + + // if AMD return Gumby object to define + if(typeof define == "function" && define.amd) { + define(window.Gumby); + } + } +}); diff --git a/gum/static/js/libs/gumby.js b/gum/static/js/libs/gumby.js new file mode 100644 index 0000000..49b08ac --- /dev/null +++ b/gum/static/js/libs/gumby.js @@ -0,0 +1,145 @@ +/** +* Gumby Framework +* --------------- +* +* Follow @gumbycss on twitter and spread the love. +* We worked super hard on making this awesome and released it to the web. +* All we ask is you leave this intact. #gumbyisawesome +* +* Gumby Framework +* http://gumbyframework.com +* +* Built with love by your friends @digitalsurgeons +* http://www.digitalsurgeons.com +* +* Free to use under the MIT license. +* http://www.opensource.org/licenses/mit-license.php +*/ +!function() { + + 'use strict'; + + function Gumby() { + this.$dom = $(document); + this.isOldie = !!this.$dom.find('html').hasClass('oldie'); + this.click = 'click'; + this.onReady = this.onOldie = this.onTouch = false; + this.uiModules = {}; + this.inits = {}; + } + + // initialize Gumby + Gumby.prototype.init = function() { + // init UI modules + this.initUIModules(); + + var scope = this; + + // call ready() code when dom is ready + this.$dom.ready(function() { + if(scope.onReady) { + scope.onReady(); + } + + // call oldie() callback if applicable + if(scope.isOldie && scope.onOldie) { + scope.onOldie(); + } + + // call touch() callback if applicable + if(Modernizr.touch && scope.onTouch) { + scope.onTouch(); + } + }); + }; + + // public helper - set Gumby ready callback + Gumby.prototype.ready = function(code) { + if(code && typeof code === 'function') { + this.onReady = code; + } + }; + + // public helper - set oldie callback + Gumby.prototype.oldie = function(code) { + if(code && typeof code === 'function') { + this.onOldie = code; + } + }; + + // public helper - set touch callback + Gumby.prototype.touch = function(code) { + if(code && typeof code === 'function') { + this.onTouch = code; + } + }; + + // public helper - return debuggin object including uiModules object + Gumby.prototype.debug = function() { + return { + $dom: this.$dom, + isOldie: this.isOldie, + uiModules: this.uiModules, + click: this.click + }; + }; + + + // grab attribute value, testing data- gumby- and no prefix + Gumby.prototype.selectAttr = function() { + var i = 0; + + // any number of attributes can be passed + for(; i < arguments.length; i++) { + // various formats + var attr = arguments[i], + dataAttr = 'data-'+arguments[i], + gumbyAttr = 'gumby-'+arguments[i]; + + // first test for data-attr + if(this.attr(dataAttr)) { + return this.attr(dataAttr); + + // next test for gumby-attr + } else if(this.attr(gumbyAttr)) { + return this.attr(gumbyAttr); + + // finally no prefix + } else if(this.attr(attr)) { + return this.attr(attr); + } + } + + // none found + return false; + }; + + // add an initialisation method + Gumby.prototype.addInitalisation = function(ref, code) { + this.inits[ref] = code; + }; + + // initialize a uiModule + Gumby.prototype.initialize = function(ref) { + if(this.inits[ref] && typeof this.inits[ref] === 'function') { + this.inits[ref](); + } + }; + + // store a UI module + Gumby.prototype.UIModule = function(data) { + var module = data.module; + this.uiModules[module] = data; + }; + + // loop round and init all UI modules + Gumby.prototype.initUIModules = function() { + var x; + for(x in this.uiModules) { + this.uiModules[x].init(); + } + }; + + window.Gumby = new Gumby(); + +}(); diff --git a/gum/static/js/libs/gumby.min.js b/gum/static/js/libs/gumby.min.js new file mode 100644 index 0000000..da25e72 --- /dev/null +++ b/gum/static/js/libs/gumby.min.js @@ -0,0 +1 @@ +!function(){"use strict";function Gumby(){this.$dom=$(document);this.isOldie=!!this.$dom.find("html").hasClass("oldie");this.click="click";this.onReady=this.onOldie=this.onTouch=false;this.uiModules={};this.inits={}}Gumby.prototype.init=function(){this.initUIModules();var scope=this;this.$dom.ready(function(){if(scope.onReady){scope.onReady()}if(scope.isOldie&&scope.onOldie){scope.onOldie()}if(Modernizr.touch&&scope.onTouch){scope.onTouch()}})};Gumby.prototype.ready=function(code){if(code&&typeof code==="function"){this.onReady=code}};Gumby.prototype.oldie=function(code){if(code&&typeof code==="function"){this.onOldie=code}};Gumby.prototype.touch=function(code){if(code&&typeof code==="function"){this.onTouch=code}};Gumby.prototype.debug=function(){return{$dom:this.$dom,isOldie:this.isOldie,uiModules:this.uiModules,click:this.click}};Gumby.prototype.selectAttr=function(){var i=0;for(;i<arguments.length;i++){var attr=arguments[i],dataAttr="data-"+arguments[i],gumbyAttr="gumby-"+arguments[i];if(this.attr(dataAttr)){return this.attr(dataAttr)}else if(this.attr(gumbyAttr)){return this.attr(gumbyAttr)}else if(this.attr(attr)){return this.attr(attr)}}return false};Gumby.prototype.addInitalisation=function(ref,code){this.inits[ref]=code};Gumby.prototype.initialize=function(ref){if(this.inits[ref]&&typeof this.inits[ref]==="function"){this.inits[ref]()}};Gumby.prototype.UIModule=function(data){var module=data.module;this.uiModules[module]=data};Gumby.prototype.initUIModules=function(){var x;for(x in this.uiModules){this.uiModules[x].init()}};window.Gumby=new Gumby}();!function(){"use strict";function Checkbox($el){this.$el=$el;var scope=this;this.$el.on(Gumby.click,function(e){scope.click(e)}).on("gumby.check",function(){scope.update(true)}).on("gumby.uncheck",function(){scope.update(false)});if(scope.$el.hasClass("checked")){scope.update(true)}}Checkbox.prototype.click=function(e){var $target=$(e.target);e.stopPropagation();e.preventDefault();if(this.$el.hasClass("checked")){this.update(false)}else{this.update(true)}};Checkbox.prototype.update=function(check){if(check){this.$el.find("input").prop("checked",true).end().addClass("checked").append('<i class="icon-check" />').trigger("gumby.onCheck").trigger("gumby.onChange")}else{this.$el.find("input").prop("checked",false).end().find("i").remove().end().removeClass("checked").trigger("gumby.onUncheck").trigger("gumby.onChange")}};Gumby.addInitalisation("checkboxes",function(){$(".checkbox").each(function(){var $this=$(this);if($this.data("isCheckbox")){return true}$this.data("isCheckbox",true);new Checkbox($this)})});Gumby.UIModule({module:"checkbox",events:["onCheck","onUncheck","onChange","check","uncheck"],init:function(){Gumby.initialize("checkboxes")}})}();!function(){"use strict";function Fixed($el){this.$el=$el;this.$holder=Gumby.selectAttr.apply(this.$el,["holder"]);this.fixedPoint=Gumby.selectAttr.apply(this.$el,["fixed"]);this.unfixPoint=false;if(this.$holder){this.$holder=$(this.$holder)}else{this.$holder=$(window)}if(this.fixedPoint.indexOf("|")>-1){var points=this.fixedPoint.split("|");this.fixedPoint=points[0];this.unfixPoint=points[1]}this.fixedPoint=this.parseAttrValue(this.fixedPoint);if(this.unfixPoint){this.unfixPoint=this.parseAttrValue(this.unfixPoint)}var scope=this;this.$holder.scroll(function(){scope.scroll()})}Fixed.prototype.scroll=function(){var offset=this.$holder.scrollTop(),fixedPoint=this.fixedPoint,unfixPoint=this.unfixPoint,endPoint=this.endPoint;fixedPoint=fixedPoint instanceof jQuery?this.fixedPoint.offset().top:this.fixedPoint;unfixPoint=unfixPoint instanceof jQuery?this.unfixPoint.offset().top:this.unfixPoint;if(!unfixPoint){unfixPoint=offset*2}if(offset>=fixedPoint&&offset<unfixPoint&&!this.$el.hasClass("fixed")){this.$el.addClass("fixed").trigger("gumby.onFixed")}else if(offset<=fixedPoint&&this.$el.hasClass("fixed")){this.$el.removeClass("fixed").trigger("gumby.onUnfixed",0)}if(unfixPoint&&offset>=unfixPoint&&this.$el.hasClass("fixed")){this.$el.removeClass("fixed").trigger("gumby.onUnfixed",1)}};Fixed.prototype.parseAttrValue=function(attr){if($.isNumeric(attr)){return Number(attr)}else if(attr==="top"){return this.$el.offset().top}else{var $el=$(attr);return $el.length?$el:false}};Gumby.addInitalisation("fixed",function(){$("[data-fixed],[gumby-fixed],[fixed]").each(function(){var $this=$(this);if($this.data("isFixed")){return true}$this.data("isFixed",true);new Fixed($this)})});Gumby.UIModule({module:"fixed",events:["onFixed","onUnfixed"],init:function(){Gumby.initialize("fixed")}})}();!function(){"use strict";if(!Modernizr.touch){return}function Navbar($el){this.$el=$el;var scope=this;this.$el.find("li").on(Gumby.click,function(e){var $this=$(this);e.stopPropagation();if(this.href==="#"){e.preventDefault()}scope.dropdown($this)})}Navbar.prototype.dropdown=function($this){if($this.children(".dropdown").length){if($this.hasClass("active")){$this.removeClass("active")}else{$this.addClass("active")}}else{this.$items.removeClass("active")}};Gumby.addInitalisation("navbars",function(){$(".navbar").each(function(){var $this=$(this);if($this.data("isNavbar")){return true}$this.data("isNavbar",true);new Navbar($this)})});Gumby.UIModule({module:"navbar",events:[],init:function(){Gumby.initialize("navbars")}})}();!function(){"use strict";function RadioBtn($el){this.$el=$el;var scope=this;this.$el.on(Gumby.click,function(e){scope.click(e)}).on("gumby.check",function(){scope.update()});if(scope.$el.hasClass("checked")){scope.update()}}RadioBtn.prototype.click=function(e){var $target=$(e.target);e.stopPropagation();e.preventDefault();this.update()};RadioBtn.prototype.update=function(){var $input=this.$el.find("input[type=radio]"),group='input[name="'+$input.attr("name")+'"]';$(".radio").has(group).removeClass("checked").find("input").prop("checked",false).end().find("i").remove();$input.prop("checked",true);this.$el.append('<i class="icon-dot" />').addClass("checked").trigger("gumby.onChange")};Gumby.addInitalisation("radiobtns",function(){$(".radio").each(function(){var $this=$(this);if($this.data("isRadioBtn")){return true}$this.data("isRadioBtn",true);new RadioBtn($this)})});Gumby.UIModule({module:"radiobtn",events:["onChange","check"],init:function(){Gumby.initialize("radiobtns")}})}();!function(){"use strict";function Retina($el){this.$el=$el;this.imageSrc=this.$el.attr("src");this.retinaSrc=this.fetchRetinaImage();this.$retinaImg=$(new Image);var scope=this;if(!this.retinaSrc){return false}this.$retinaImg.attr("src",this.retinaSrc).load(function(){scope.retinaImageLoaded()})}Retina.prototype.fetchRetinaImage=function(){var imgSrc=this.imageSrc,index=this.imageSrc.search(/(\.|\/)(gif|jpe?g|png)$/i);if(index<0){return false}return imgSrc.substr(0,index)+"@2x"+imgSrc.substr(index,imgSrc.length)};Retina.prototype.retinaImageLoaded=function(){this.$el.attr("src",this.$retinaImg.attr("src")).trigger("gumby.onRetina")};Gumby.addInitalisation("retina",function(){if(!window.devicePixelRatio||window.devicePixelRatio<=1){return}$("img[data-retina],img[gumby-retina],img[retina]").each(function(){var $this=$(this);if($this.data("isRetina")){return true}$this.data("isRetina",true);new Retina($this)})});Gumby.UIModule({module:"retina",events:["onRetina"],init:function(){Gumby.initialize("retina")}})}();!function(){"use strict";function SkipLink($el){this.$el=$el;this.targetPos=0;this.duration=Number(Gumby.selectAttr.apply(this.$el,["duration"]))||200;this.offset=Gumby.selectAttr.apply(this.$el,["offset"])||false;this.easing=Gumby.selectAttr.apply(this.$el,["easing"])||"swing";var scope=this;this.$el.on(Gumby.click+" gumby.skip",function(e){e.preventDefault();scope.calculateTarget()})}SkipLink.prototype.calculateTarget=function(){var scope=this,target=Gumby.selectAttr.apply(this.$el,["goto"]),$target;if(target=="top"){this.targetPos=0}else if($.isNumeric(target)){this.targetPos=Number(target)}else{$target=$(target);if(!$target){return false}this.targetPos=$target.offset().top}this.skipTo()};SkipLink.prototype.skipTo=function(){var scope=this;$("html,body").animate({scrollTop:this.calculateOffset()},this.duration,this.easing).promise().done(function(){scope.$el.trigger("gumby.onComplete")})};SkipLink.prototype.calculateOffset=function(){if(!this.offset){return this.targetPos}var op=this.offset.substr(0,1),off=Number(this.offset.substr(1,this.offset.length));if(op==="-"){return this.targetPos-off}else if(op==="+"){return this.targetPos+off}};Gumby.addInitalisation("skiplinks",function(){$(".skiplink > a, .skip").each(function(){var $this=$(this);if($this.data("isSkipLink")){return true}$this.data("isSkipLink",true);new SkipLink($this)})});Gumby.UIModule({module:"skiplink",events:["onComplete","skip"],init:function(){Gumby.initialize("skiplinks")}})}();!function(){"use strict";function Tabs($el){this.$el=$el;this.$nav=this.$el.find("ul.tab-nav > li");this.$content=this.$el.find(".tab-content");var scope=this;this.$nav.children("a").on(Gumby.click,function(e){e.preventDefault();scope.click($(this))});this.$el.on("gumby.set",function(e,index){scope.set(e,index)})}Tabs.prototype.click=function($this){var index=$this.parent().index();this.$nav.add(this.$content).removeClass("active");this.$nav.eq(index).add(this.$content.eq(index)).addClass("active");this.$el.trigger("gumby.onChange",index)};Tabs.prototype.set=function(e,index){this.$nav.eq(index).find("a").trigger(Gumby.click)};Gumby.addInitalisation("tabs",function(){$(".tabs").each(function(){var $this=$(this);if($this.data("isTabs")){return true}$this.data("isTabs",true);new Tabs($this)})});Gumby.UIModule({module:"tabs",events:["onChange","set"],init:function(){Gumby.initialize("tabs")}})}();!function(){"use strict";function Toggle($el){this.$el=$($el);this.targets=[];this.on="";if(this.$el.length){this.init()}}function Switch($el){this.$el=$($el);this.targets=[];this.on="";if(this.$el.length){this.init()}}Toggle.prototype.init=function(){this.targets=this.parseTargets();this.on=Gumby.selectAttr.apply(this.$el,["on"])||Gumby.click;var scope=this;this.$el.on(this.on,function(e){if($(this).prop("tagName")==="A"){e.preventDefault()}e.stopPropagation();scope.trigger(scope.triggered)}).on("gumby.trigger",function(){scope.trigger(scope.triggered)})};Toggle.prototype.parseTargets=function(){var targetStr=Gumby.selectAttr.apply(this.$el,["trigger"]),secondaryTargets=0,targets=[];if(!targetStr){return false}secondaryTargets=targetStr.indexOf("|");if(secondaryTargets===-1){return[$(targetStr)]}targets=targetStr.split("|");return targets.length>1?[$(targets[0]),$(targets[1])]:[$(targets[0])]};Toggle.prototype.triggered=function(){this.$el.trigger("gumby.onTrigger",[this.$el.hasClass("active")])};Switch.prototype=new Toggle;Toggle.prototype.trigger=function(cb){if(!this.targets){this.$el.toggleClass("active")}else if(this.targets.length==1){this.$el.add(this.targets[0]).toggleClass("active")}else if(this.targets.length>1){if(this.targets[0].hasClass("active")){this.$el.add(this.targets[0]).removeClass("active");this.targets[1].addClass("active")}else{this.targets[1].removeClass("active");this.$el.add(this.targets[0]).addClass("active")}}if(cb&&typeof cb==="function"){cb.apply(this)}};Switch.prototype.trigger=function(cb){if(!this.targets){this.$el.addClass("active")}else if(this.targets.length==1){this.$el.add(this.targets[0]).addClass("active")}else if(this.targets.length>1){this.$el.add(this.targets[0]).addClass("active");this.targets[1].removeClass("active")}if(cb&&typeof cb==="function"){cb.apply(this)}};Gumby.addInitalisation("toggles",function(){$(".toggle").each(function(){var $this=$(this);if($this.data("isToggle")){return true}$this.data("isToggle",true);new Toggle($this)})});Gumby.addInitalisation("switches",function(){$(".switch").each(function(){var $this=$(this);if($this.data("isSwitch")){return true}$this.data("isSwitch",true);new Switch($this)})});Gumby.UIModule({module:"toggleswitch",events:["trigger","onTrigger"],init:function(){Gumby.initialize("switches");Gumby.initialize("toggles")}})}();!function($){"use strict";function Validation($this,req){this.$this=$this;this.$field=this.$this.parents(".field");this.req=req||function(){return!!this.$this.val().length};var scope=this;if(this.$this.is("[type=checkbox], [type=radio]")){this.$field=this.$this.parent("label");this.$field.on("gumby.onChange",function(){scope.validate()})}else if(this.$this.is("select")){this.$field=this.$this.parents(".picker");this.$field.on("change",function(){scope.validate()})}else{this.$this.on("blur",function(e){if(e.which!==9){scope.validate()}})}}Validation.prototype.validate=function(){var result=this.req(this.$this);if(!result){this.$field.removeClass("success").addClass("danger")}else{this.$field.removeClass("danger").addClass("success")}return result};$.fn.validation=function(options){var settings=$.extend({submit:false,fail:false,required:[]},options),validations=[];return this.each(function(){if(!settings.required.length){return false}var $this=$(this),reqLength=settings.required.length,i;for(i=0;i<reqLength;i++){validations.push(new Validation($this.find('[name="'+settings.required[i].name+'"]'),settings.required[i].validate||false))}$this.on("submit",function(e){var failed=false;if(!$this.data("passed")){e.preventDefault();var reqLength=validations.length,i;for(i=0;i<reqLength;i++){if(!validations[i].validate()){failed=true}}if(!failed){if(settings.submit&&typeof settings.submit==="function"){settings.submit($this.serializeArray());return}$this.data("passed",true).submit()}else{if(settings.fail&&typeof settings.fail==="function"){settings.fail();return}}}})})}}(jQuery);Modernizr.load({test:Modernizr.touch,yep:"js/libs/jquery.mobile.custom.min.js",callback:function(url,result,key){if($.mobile){window.Gumby.click="tap"}},complete:function(){window.Gumby.init();if(typeof define=="function"&&define.amd){define(window.Gumby)}}});
\ No newline at end of file diff --git a/gum/static/js/libs/jquery-1.9.1.min.js b/gum/static/js/libs/jquery-1.9.1.min.js new file mode 100644 index 0000000..32d50cb --- /dev/null +++ b/gum/static/js/libs/jquery-1.9.1.min.js @@ -0,0 +1,5 @@ +/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license +//@ sourceMappingURL=jquery.min.map +*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj; +return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&>(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l) +}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window); diff --git a/gum/static/js/libs/jquery.mobile.custom.min.js b/gum/static/js/libs/jquery.mobile.custom.min.js new file mode 100644 index 0000000..68528d7 --- /dev/null +++ b/gum/static/js/libs/jquery.mobile.custom.min.js @@ -0,0 +1,3 @@ +/*! jQuery Mobile v1.3.1 | Copyright 2010, 2013 jQuery Foundation, Inc. | jquery.org/license */ + +(function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,n,r){function x(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function T(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=x(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;d<v;d++)l=u[d],t[l]=h[l]}return t}function N(t){var n={},r,s;while(t){r=e.data(t,i);for(s in r)r[s]&&(n[s]=n.hasVirtualBinding=!0);t=t.parentNode}return n}function C(t,n){var r;while(t){r=e.data(t,i);if(r&&(!n||r[n]))return t;t=t.parentNode}return null}function k(){g=!1}function L(){g=!0}function A(){E=0,v.length=0,m=!1,L()}function O(){k()}function M(){_(),c=setTimeout(function(){c=0,A()},e.vmouse.resetTimerDuration)}function _(){c&&(clearTimeout(c),c=0)}function D(t,n,r){var i;if(r&&r[t]||!r&&C(n.target,t))i=T(n,t),e(n.target).trigger(i);return i}function P(t){var n=e.data(t.target,s);if(!m&&(!E||E!==n)){var r=D("v"+t.type,t);r&&(r.isDefaultPrevented()&&t.preventDefault(),r.isPropagationStopped()&&t.stopPropagation(),r.isImmediatePropagationStopped()&&t.stopImmediatePropagation())}}function H(t){var n=x(t).touches,r,i;if(n&&n.length===1){r=t.target,i=N(r);if(i.hasVirtualBinding){E=w++,e.data(r,s,E),_(),O(),d=!1;var o=x(t).touches[0];h=o.pageX,p=o.pageY,D("vmouseover",t,i),D("vmousedown",t,i)}}}function B(e){if(g)return;d||D("vmousecancel",e,N(e.target)),d=!0,M()}function j(t){if(g)return;var n=x(t).touches[0],r=d,i=e.vmouse.moveDistanceThreshold,s=N(t.target);d=d||Math.abs(n.pageX-h)>i||Math.abs(n.pageY-p)>i,d&&!r&&D("vmousecancel",t,s),D("vmousemove",t,s),M()}function F(e){if(g)return;L();var t=N(e.target),n;D("vmouseup",e,t);if(!d){var r=D("vclick",e,t);r&&r.isDefaultPrevented()&&(n=x(e).changedTouches[0],v.push({touchID:E,x:n.clientX,y:n.clientY}),m=!0)}D("vmouseout",e,t),d=!1,M()}function I(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function q(){}function R(t){var n=t.substr(1);return{setup:function(r,s){I(this)||e.data(this,i,{});var o=e.data(this,i);o[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,P),e(this).bind(n,q),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",H).bind("touchend",F).bind("touchmove",j).bind("scroll",B))},teardown:function(r,s){--l[t],l[t]||b.unbind(n,P),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",H).unbind("touchmove",j).unbind("touchend",F).unbind("scroll",B));var o=e(this),u=e.data(this,i);u&&(u[t]=!1),o.unbind(n,q),I(this)||o.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var U=0;U<o.length;U++)e.event.special[o[U]]=R(o[U]);y&&n.addEventListener("click",function(t){var n=v.length,r=t.target,i,o,u,a,f,l;if(n){i=t.clientX,o=t.clientY,S=e.vmouse.clickDistanceThreshold,u=r;while(u){for(a=0;a<n;a++){f=v[a],l=0;if(u===r&&Math.abs(f.x-i)<S&&Math.abs(f.y-o)<S||e.data(u,s)===f.touchID){t.preventDefault(),t.stopPropagation();return}}u=u.parentNode}}},!0)})(e,t,n),function(e){e.mobile={}}(e),function(e,t){var r={touch:"ontouchend"in n};e.mobile.support=e.mobile.support||{},e.extend(e.support,r),e.extend(e.mobile.support,r)}(e),function(e,t,r){function l(t,n,r){var i=r.type;r.type=n,e.event.dispatch.call(t,r),r.type=i}var i=e(n);e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)});var s=e.mobile.support.touch,o="touchmove scroll",u=s?"touchstart":"mousedown",a=s?"touchend":"mouseup",f=s?"touchmove":"mousemove";e.event.special.scrollstart={enabled:!0,setup:function(){function s(e,n){r=n,l(t,r?"scrollstart":"scrollstop",e)}var t=this,n=e(t),r,i;n.bind(o,function(t){if(!e.event.special.scrollstart.enabled)return;r||s(t,!0),clearTimeout(i),i=setTimeout(function(){s(t,!1)},50)})}},e.event.special.tap={tapholdThreshold:750,setup:function(){var t=this,n=e(t);n.bind("vmousedown",function(r){function a(){clearTimeout(u)}function f(){a(),n.unbind("vclick",c).unbind("vmouseup",a),i.unbind("vmousecancel",f)}function c(e){f(),s===e.target&&l(t,"tap",e)}if(r.which&&r.which!==1)return!1;var s=r.target,o=r.originalEvent,u;n.bind("vmouseup",a).bind("vclick",c),i.bind("vmousecancel",f),u=setTimeout(function(){l(t,"taphold",e.Event("taphold",{target:s}))},e.event.special.tap.tapholdThreshold)})}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:e(t.target)}},stop:function(e){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;return{time:(new Date).getTime(),coords:[t.pageX,t.pageY]}},handleSwipe:function(t,n){n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold&&t.origin.trigger("swipe").trigger(t.coords[0]>n.coords[0]?"swipeleft":"swiperight")},setup:function(){var t=this,n=e(t);n.bind(u,function(t){function o(t){if(!i)return;s=e.event.special.swipe.stop(t),Math.abs(i.coords[0]-s.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()}var i=e.event.special.swipe.start(t),s;n.bind(f,o).one(a,function(){n.unbind(f,o),i&&s&&e.event.special.swipe.handleSwipe(i,s),i=s=r})})}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)}}})}(e,this)});
\ No newline at end of file diff --git a/gum/static/js/libs/modernizr-2.6.2.min.js b/gum/static/js/libs/modernizr-2.6.2.min.js new file mode 100644 index 0000000..b8d5154 --- /dev/null +++ b/gum/static/js/libs/modernizr-2.6.2.min.js @@ -0,0 +1,4 @@ +/* Modernizr 2.0.6 | MIT & BSD + * Contains: All core tests, html5shiv, yepnope, respond.js. Get your own custom build at www.modernizr.com/download/ + */ +;window.Modernizr=function(a,b,c){function I(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)t[a[b]]=a[b]in l;return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function G(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return F(d,b)}function F(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function E(a,b){return!!~(""+a).indexOf(b)}function D(a,b){return typeof a===b}function C(a,b){return B(o.join(a+";")+(b||""))}function B(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["­","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},w=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;v("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=D(e[d],"function"),D(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y,z={}.hasOwnProperty,A;!D(z,c)&&!D(z.call,c)?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],c)};var H=function(c,d){var f=c.join(""),g=d.length;v(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9,e.csstransforms3d=j.csstransforms3d.offsetLeft===9,e.generatedcontent=j.generatedcontent.offsetHeight>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",o.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",o.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',m,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&&!!D(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return e.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b].toLowerCase()+"IndexedDB"])return!0;return!!a.indexedDB},r.hashchange=function(){return x("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},r.rgba=function(){B("background-color:rgba(150,255,150,.5)");return E(k.backgroundColor,"rgba")},r.hsla=function(){B("background-color:hsla(120,40%,100%,.5)");return E(k.backgroundColor,"rgba")||E(k.backgroundColor,"hsla")},r.multiplebgs=function(){B("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(k.background)},r.backgroundsize=function(){return G("backgroundSize")},r.borderimage=function(){return G("borderImage")},r.borderradius=function(){return G("borderRadius")},r.boxshadow=function(){return G("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){C("opacity:.55");return/^0.55$/.test(k.opacity)},r.cssanimations=function(){return G("animationName")},r.csscolumns=function(){return G("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";B((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return E(k.backgroundImage,"gradient")},r.cssreflections=function(){return G("boxReflect")},r.csstransforms=function(){return!!F(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var a=!!F(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d);return a},r.csstransitions=function(){return G("transitionProperty")},r.fontface=function(){return e.fontface},r.generatedcontent=function(){return e.generatedcontent},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(e){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(d){}return c},r.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},r.webworkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache},r.svg=function(){return!!b.createElementNS&&!!b.createElementNS(q.svg,"svg").createSVGRect},r.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var J in r)A(r,J)&&(y=J.toLowerCase(),e[y]=r[J](),u.push((e[y]?"":"no-")+y));e.input||I(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return;b=typeof b=="boolean"?b:!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},B(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=o,e._domPrefixes=p,e.mq=w,e.hasEvent=x,e.testProp=function(a){return F([a])},e.testAllProps=G,e.testStyles=v,e.prefixed=function(a){return G(a,"pfx")},g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+u.join(" "):"");return e}(this,this.document),function(a,b){function u(){r(!0)}a.respond={},respond.update=function(){},respond.mediaQueriesSupported=b;if(!b){var c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=j.getElementsByTagName("link"),l=[],m=function(){var b=k,c=b.length,d=0,e,f,g,i;for(;d<c;d++)e=b[d],f=e.href,g=e.media,i=e.rel&&e.rel.toLowerCase()==="stylesheet",!!f&&i&&!h[f]&&(!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(f)||f.replace(RegExp.$1,"").split("/")[0]===a.location.host?l.push({href:f,media:g}):h[f]=!0);n()},n=function(){if(l.length){var a=l.shift();s(a.href,function(b){o(b,a.href,a.media),h[a.href]=!0,n()})}},o=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),g=d&&d.length||0,b=b.substring(0,b.lastIndexOf("/")),h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c,j=0,k,l,m,n,o;b.length&&(b+="/"),i&&(g=1);for(;j<g;j++){k=0,i?(l=c,f.push(h(a))):(l=d[j].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),n=l.split(","),o=n.length;for(;k<o;k++)m=n[k],e.push({media:m.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:f.length-1,minw:m.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:m.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}r()},p,q,r=function(a){var b="clientWidth",h=d[b],l=c.compatMode==="CSS1Compat"&&h||c.body[b]||h,m={},n=c.createDocumentFragment(),o=k[k.length-1],s=(new Date).getTime();if(a&&p&&s-p<i)clearTimeout(q),q=setTimeout(r,i);else{p=s;for(var t in e){var u=e[t];if(!u.minw&&!u.maxw||(!u.minw||u.minw&&l>=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.styleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; diff --git a/gum/static/js/libs/ui/gumby.navbar.js b/gum/static/js/libs/ui/gumby.navbar.js new file mode 100644 index 0000000..a29090b --- /dev/null +++ b/gum/static/js/libs/ui/gumby.navbar.js @@ -0,0 +1,69 @@ +/** +* Gumby Navbar +*/ +!function() { + + 'use strict'; + + // define module class and init only if we're on touch devices + if(!Modernizr.touch) { + return; + } + + function Navbar($el) { + this.$el = $el; + var scope = this; + + // when navbar items are tapped hide/show dropdowns + this.$el.find('li').on(Gumby.click, function(e) { + var $this = $(this); + + e.stopPropagation(); + + // prevent jump to top of page + if(this.href === '#') { + e.preventDefault(); + } + + scope.dropdown($this); + }); + } + + // hide/show dropdowns + Navbar.prototype.dropdown = function($this) { + // we have dropdowns so open/cose + if($this.children('.dropdown').length) { + if($this.hasClass('active')) { + $this.removeClass('active'); + } else { + $this.addClass('active'); + } + // no dropdown so close others + } else { + this.$items.removeClass('active'); + } + }; + + // add initialisation + Gumby.addInitalisation('navbars', function() { + $('.navbar').each(function() { + var $this = $(this); + // this element has already been initialized + if($this.data('isNavbar')) { + return true; + } + // mark element as initialized + $this.data('isNavbar', true); + new Navbar($this); + }); + }); + + // register UI module + Gumby.UIModule({ + module: 'navbar', + events: [], + init: function() { + Gumby.initialize('navbars'); + } + }); +}(); diff --git a/gum/static/js/plugins.js b/gum/static/js/plugins.js new file mode 100644 index 0000000..9a8a1ec --- /dev/null +++ b/gum/static/js/plugins.js @@ -0,0 +1,8 @@ +window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}}; +(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try +{console.log();return window.console;}catch(err){return window.console={};}})()); + +/*! http://mths.be/placeholder v2.0.7 by @mathias */ +;(function(f,h,$){var a='placeholder' in h.createElement('input'),d='placeholder' in h.createElement('textarea'),i=$.fn,c=$.valHooks,k,j;if(a&&d){j=i.placeholder=function(){return this};j.input=j.textarea=true}else{j=i.placeholder=function(){var l=this;l.filter((a?'textarea':':input')+'[placeholder]').not('.placeholder').bind({'focus.placeholder':b,'blur.placeholder':e}).data('placeholder-enabled',true).trigger('blur.placeholder');return l};j.input=a;j.textarea=d;k={get:function(m){var l=$(m);return l.data('placeholder-enabled')&&l.hasClass('placeholder')?'':m.value},set:function(m,n){var l=$(m);if(!l.data('placeholder-enabled')){return m.value=n}if(n==''){m.value=n;if(m!=h.activeElement){e.call(m)}}else{if(l.hasClass('placeholder')){b.call(m,true,n)||(m.value=n)}else{m.value=n}}return l}};a||(c.input=k);d||(c.textarea=k);$(function(){$(h).delegate('form','submit.placeholder',function(){var l=$('.placeholder',this).each(b);setTimeout(function(){l.each(e)},10)})});$(f).bind('beforeunload.placeholder',function(){$('.placeholder').each(function(){this.value=''})})}function g(m){var l={},n=/^jQuery\d+$/;$.each(m.attributes,function(p,o){if(o.specified&&!n.test(o.name)){l[o.name]=o.value}});return l}function b(m,n){var l=this,o=$(l);if(l.value==o.attr('placeholder')&&o.hasClass('placeholder')){if(o.data('placeholder-password')){o=o.hide().next().show().attr('id',o.removeAttr('id').data('placeholder-id'));if(m===true){return o[0].value=n}o.focus()}else{l.value='';o.removeClass('placeholder');l==h.activeElement&&l.select()}}}function e(){var q,l=this,p=$(l),m=p,o=this.id;if(l.value==''){if(l.type=='password'){if(!p.data('placeholder-textinput')){try{q=p.clone().attr({type:'text'})}catch(n){q=$('<input>').attr($.extend(g(this),{type:'text'}))}q.removeAttr('name').data({'placeholder-password':true,'placeholder-id':o}).bind('focus.placeholder',b);p.data({'placeholder-textinput':q,'placeholder-id':o}).before(q)}p=p.removeAttr('id').hide().prev().attr('id',o).show()}p.addClass('placeholder');p[0].value=p.attr('placeholder')}else{p.removeClass('placeholder')}}}(this,document,jQuery)); + +// place any jQuery/helper plugins in here, instead of separate, slower script files. diff --git a/gum/static/style.css b/gum/static/style.css new file mode 100644 index 0000000..32d2fec --- /dev/null +++ b/gum/static/style.css @@ -0,0 +1,201 @@ +/* + Author : Nick Rance + + - Credits + - Main CSS from Gumby framework + - Some CSS from Twitter Bootstrap - http://twitter.github.io/bootstrap/ + +*/ + + +/* Code Highlighting */ +code, +pre { + padding: 0 3px 2px; + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +code { + padding: 2px 4px; + color: #d14; + white-space: nowrap; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 20px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +pre.prettyprint { + margin-bottom: 20px; +} + +pre code { + padding: 0; + color: inherit; + white-space: pre; + white-space: pre-wrap; + background-color: transparent; + border: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + + + + + +/* Table +--------------------------------------------------------- */ + +table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table th, +.table td { + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table th { + font-weight: bold; +} + +.table thead th { + vertical-align: bottom; +} + +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} + +.table tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed th, +.table-condensed td { + padding: 4px 5px; +} + +.table-bordered { + border: 1px solid #dddddd; + border-collapse: separate; + *border-collapse: collapse; + border-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.table-striped tbody > tr:nth-child(odd) > td, +.table-striped tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover tbody tr:hover > td, +.table-hover tbody tr:hover > th { + background-color: #f5f5f5; +} + +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { + display: table-cell; + float: none; + margin-left: 0; +} + + +/* Navigation +--------------------------------------------------------- */ +#banner strong {display:block;} +#banner h1 { font-size:3.25rem } + +.no-touch .navbar ul li.active > a { + + background: #868d92; + +} +/* Posts +--------------------------------------------------------- */ + +#post-list { margin-left:0; } +#post-list > li {list-style:none; border-bottom: 2px solid #ccc; margin-bottom: 20px; padding-bottom: 15px;} + +.tag-row {margin-top:20px;} + +address { font-size:14px; margin-bottom:10px;} + +/* Typography +--------------------------------------------------------- */ + +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + color: #3498DB; +} + +a, a:hover { color: #3498DB; } +a:focus { color: #34495E; } + +.btn a:hover, +.btn a:focus {color:#eee; } + +.label:hover, +.label:focus {color:#eee; } + +/* Footer +--------------------------------------------------------- */ +.bg { background:#eee; margin-top:35px; padding-top:25px; border-top:5px solid #3498DB; } + + + +/* Responsive fixes +--------------------------------------------------------- */ +@media only screen and (max-width: 600px) { + #banner h1 a {font-size:22px!important; line-height:24px;} +} diff --git a/gum/templates/archives.html b/gum/templates/archives.html new file mode 100644 index 0000000..050f268 --- /dev/null +++ b/gum/templates/archives.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block content %} +<h1>Archives for {{ SITENAME }}</h1> + +<dl> +{% for article in dates %} + <dt>{{ article.locale_date }}</dt> + <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> +{% endfor %} +</dl> +{% endblock %} diff --git a/gum/templates/article.html b/gum/templates/article.html new file mode 100644 index 0000000..e43e48e --- /dev/null +++ b/gum/templates/article.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} +{% block content %} +<section id="content" class="body"> + + <div class="row"> + <div class="eleven columns"> + + + <header> + <h2 class="entry-title"> + <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" + title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} + </header> + <footer class="post-info"> + <abbr class="published" title="{{ article.date.isoformat() }}"> + {{ article.locale_date }} + </abbr> + {% if article.author %} + <address class="vcard author"> + By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> + </address> + {% endif %} + </footer><!-- /.post-info --> + <div class="entry-content"> + {{ article.content }} + </div><!-- /.entry-content --> + + + </div><!-- /.eleven.columns --> + + {% include 'sidebar.html' %} + </div><!-- /.row --> + + +</section> +{% endblock %} diff --git a/gum/templates/author.html b/gum/templates/author.html new file mode 100644 index 0000000..e9f7870 --- /dev/null +++ b/gum/templates/author.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} +{% block content_title %} +<h2>Articles by {{ author }}</h2> +{% endblock %} + diff --git a/gum/templates/base.html b/gum/templates/base.html new file mode 100644 index 0000000..e3f89db --- /dev/null +++ b/gum/templates/base.html @@ -0,0 +1,153 @@ +<!DOCTYPE html> +<html lang="{{ DEFAULT_LANG }}"> +<head> + {% block head %} + + <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> + <meta charset="utf-8" /> + {% if FEED_ALL_ATOM %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> + {% endif %} + {% if FEED_ALL_RSS %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> + {% endif %} + {% if FEED_ATOM %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> + {% endif %} + {% if FEED_RSS %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" /> + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" /> + {% endif %} + {% if TAG_FEED_ATOM and tag %} + <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" /> + {% endif %} + {% if TAG_FEED_RSS and tag %} + <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> + {% endif %} + + + <!-- Mobile viewport optimized: j.mp/bplateviewport --> + <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1"> + + <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/gumby.css" /> + <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/style.css" /> + + <script src="{{ SITEURL }}/theme/js/libs/modernizr-2.6.2.min.js"></script> + + + {% if GOOGLE_ANALYTICS_ID %} + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', '{{ GOOGLE_ANALYTICS_ID }}', '{{ GOOGLE_ANALYTICS_SITENAME }}'); + ga('send', 'pageview'); + + </script> + {% endif %} + + + + + {% endblock head %} +</head> + +<body id="index" class="home"> + + + <div class="container"> + + <div class="row"> + + <header id="banner" class="body"> + <h1><a href="{{ SITEURL }}">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> + </header><!-- /#banner --> + + <div id="navigation" class="navbar row"> + <a href="#" gumby-trigger="#navigation > ul" class="toggle"><i class="icon-menu"></i></a> + + <ul class="columns"> + <li><a href="{{ SITEURL }}">Home</a></li> + + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} + {% if DISPLAY_PAGES_ON_MENU %} + {% for p in PAGES %} + <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> + {% endfor %} + {% else %} + {% if DISPLAY_CATEGORIES_ON_MENU %} + {% for cat, null in categories %} + <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> + {% endfor %} + {% endif %} + {% endif %} + + </ul> + </div> + + {% block content %} + + {% endblock %} + + </div><!-- /.row --> + </div><!-- /.container --> + + + <div class="container.nopad bg"> + + + <footer id="credits" class="row"> + <div class="seven columns left-center"> + + <address id="about" class="vcard body"> + Proudly powered by <a href="http://getpelican.com/">Pelican</a>, + which takes great advantage of <a href="http://python.org">Python</a>. + <br /> + Based on the <a target="_blank" href="http://gumbyframework.com">Gumby Framework</a> + </address> + </div> + + + <div class="seven columns"> + <div class="row"> + <ul class="socbtns"> + + {% if GITHUB_URL %} + <li><div class="btn primary"><a href="{{ GITHUB_URL }}" target="_blank">Github</a></div></li> + {% endif %} + + {% if TWITTER_URL %} + <li><div class="btn twitter"><a href="{{ TWITTER_URL }}" target="_blank">Twitter</a></div></li> + {% endif %} + + {% if FACEBOOK_URL %} + <li><div class="btn facebook"><a href="{{ FACEBOOK_URL }}" target="_blank">Facebook</a></div></li> + {% endif %} + + {% if GOOGLEPLUS_URL %} + <li><div class="btn danger"><a href="{{ GOOGLEPLUS_URL }}" target="_blank">Google+</a></div></li> + {% endif %} + + </ul> + </div> + </div> + </footer> + + </div> + + + <script src="{{ SITEURL }}/theme/js/libs/jquery-1.9.1.min.js"></script> + <script src="{{ SITEURL }}/theme/js/libs/gumby.min.js"></script> + <script src="{{ SITEURL }}/theme/js/plugins.js"></script> + +</body> +</html> diff --git a/gum/templates/categories.html b/gum/templates/categories.html new file mode 100644 index 0000000..e29be0c --- /dev/null +++ b/gum/templates/categories.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block content %} +<ul> +{% for category, articles in categories %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> +{% endfor %} +</ul> +{% endblock %} diff --git a/gum/templates/category.html b/gum/templates/category.html new file mode 100644 index 0000000..4e6fd24 --- /dev/null +++ b/gum/templates/category.html @@ -0,0 +1,5 @@ +{% extends "index.html" %} +{% block content_title %} +<h2>Articles in the {{ category }} category</h2> +{% endblock %} + diff --git a/gum/templates/index.html b/gum/templates/index.html new file mode 100644 index 0000000..83abf70 --- /dev/null +++ b/gum/templates/index.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} +{% block content %} +<section id="content"> +{% block content_title %} + +{% endblock %} + + + <div class="row"> + + + <div class="eleven columns"> + <ol id="post-list"> + {% for article in articles_page.object_list %} + <li><article class="hentry"> + <header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header> + <footer class="post-info"> + <abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} </abbr> + {% if article.author %}<address class="vcard author">By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a></address>{% endif %} + </footer><!-- /.post-info --> + <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content --> + + <div class="medium primary btn"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">Read more <i class="icon-arrow-right"></i></a></div> + + + + <div class="row tag-row"> + {% if article.tags %} + <span>Tagged as : </span> + {% for tag in article.tags %} + <a class="danger label" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> + {% endfor %} + {% endif %} + </div> + + + + </article></li> + {% endfor %} + </ol><!-- /#posts-list --> + + </div><!-- /.eleven.columns --> + + {% include 'sidebar.html' %} + </div><!-- /.row --> + +{% include 'pagination.html' %} +</section><!-- /#content --> +{% endblock content %} diff --git a/gum/templates/page.html b/gum/templates/page.html new file mode 100644 index 0000000..3a0dc4a --- /dev/null +++ b/gum/templates/page.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block title %}{{ page.title }}{%endblock%} +{% block content %} + <h1>{{ page.title }}</h1> + {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} +{% endblock %} diff --git a/gum/templates/pagination.html b/gum/templates/pagination.html new file mode 100644 index 0000000..7b4afb5 --- /dev/null +++ b/gum/templates/pagination.html @@ -0,0 +1,15 @@ +{% if DEFAULT_PAGINATION %} +<p class="paginator"> + {% if articles_page.has_previous() %} + {% if articles_page.previous_page_number() == 1 %} + <a href="{{ SITEURL }}/{{ page_name }}.html"><i class="icon-arrow-left"></i></a> + {% else %} + <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html"><i class="icon-arrow-left"></i></a> + {% endif %} + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html"><i class="icon-arrow-right"></i></a> + {% endif %} +</p> +{% endif %} diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html new file mode 100644 index 0000000..43ed62a --- /dev/null +++ b/gum/templates/sidebar.html @@ -0,0 +1,53 @@ +<div class="three columns"> + +<h4>Pages</h4> + + <ul> + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} + {% if DISPLAY_PAGES_ON_MENU %} + {% for p in PAGES %} + <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> + {% endfor %} + {% else %} + {% if DISPLAY_CATEGORIES_ON_MENU %} + {% for cat, null in categories %} + <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> + {% endfor %} + {% endif %} + {% endif %} + </ul> + +<h4>Categories</h4> +{% if categories %} +<ul> + {% for cat, null in categories %} + <li><a href="{{ SITEURL }}/{{ cat.url|e }}">{{ cat }}</a></li> + {% endfor %} +</ul> +{% endif %} + + +<h4>Tags</h4> +{% if tags %} + <ul> + {% for tag in tag_cloud %} + <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0|string|replace(" ", "-" )|lower }}.html">{{ tag.0 }}</a></li> + {% endfor %} +</ul> +{% endif %} + + +{% if SOCIAL %} +<nav class="widget"> + <h4>Social</h4> + <ul> + {% for url, name in SOCIAL %} + <li><a href="{{ url|e }}">{{ name }}</a></li> + {% endfor %} + </ul> +</nav> +{% endif %} + +</div>
\ No newline at end of file diff --git a/gum/templates/tag.html b/gum/templates/tag.html new file mode 100644 index 0000000..68cdcba --- /dev/null +++ b/gum/templates/tag.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} diff --git a/gum/templates/tags.html b/gum/templates/tags.html new file mode 100644 index 0000000..862eff6 --- /dev/null +++ b/gum/templates/tags.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} +{% block content %} +<ul> +<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li> +{% for tag in tag_cloud %} +<li class="tag-{{ tag.1 }}"> + <a href="{{ SITEURL }}/{{ tag.0.url }}"> + <i class="icon-tag icon-large"></i>{{ tag.0 }} + </a> +</li> +{% endfor %} +</ul> +{% endblock %} diff --git a/gum/typography.png b/gum/typography.png Binary files differnew file mode 100644 index 0000000..a74647e --- /dev/null +++ b/gum/typography.png |