/*
Lavaca 1.0.1
Copyright (c) 2012 Mutual Mobile

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.

Contains components from or inspired by:

Simple Reset
(c) 2011 Eric Meyer
Released to public domain

jQuery v1.7.1
(c) 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.

Sizzle.js
(c) 2011, The Dojo Foundation
Released under the MIT, BSD, and GPL licenses.

Backbone.js 0.9.1 and Underscore.js 1.3.1
(c) 2012, Jeremy Ashkenas, DocumentCloud Inc
Released under the MIT license.

Dust.js v0.3.0
(c) 2010, Aleksander Williams
Released under the MIT license.

Zepto.js 0.8.0
(c) 2011 Thomas Fuchs
Released under the MIT license

jMiny 0.5.0
(c) 2012 Dan Nichols
Released under the MIT license

ChildBrowser
(c) 2012 Jesse MacFadyen, Nitobi
Released under the MIT license

lz77.js
(c) 2009 Olle Törnström
Released under the MIT license

iScroll 4.1.9
(c) 2011 Matteo Spinelli
Released under the MIT license
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:800);@import url(http://fonts.googleapis.com/css?family=Arvo:400,700);a,a:link,a:visited,a:active,a:hover{color:#00a3de}body{background:#f5f5f5 url('/img/pixel-pattern.png') repeat left top;display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;-o-box-orient:vertical;font-family:arvo,Helvetica,Arial,sans-serif;width:761px;height:700px;margin:20px auto;box-shadow:0 3px 5px rgba(2,2,2,0.25);border-image:url('/img/border-pattern.png') 5 0 5 0 repeat;border-width:3px 0 0 0}body,#view-root,.view,.view-interior{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.unauth .auth-required{display:none}#nav-header,#view-root{-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;-o-box-flex:1}#view-root{overflow:hidden;position:relative}#nav-header{position:relative;z-index:100;background:#fff;max-height:48px;border-bottom:solid 4px #ccd4db;padding:5px 10px}#nav-header:after{content:' ';position:absolute;bottom:-8px;left:0;right:0;height:4px;border-bottom:1px dotted #ccd4db}#nav-header .logo{background:rgba(0,163,222,.6) url(../../img/glasses-logo.png) no-repeat center center;width:352px;height:38px;text-indent:-999px;float:left;margin:8px 0 0 -10px;z-index:5000;position:relative;display:block;border-top-right-radius:6px}#nav-header .logo:afterer{content:'';background-color:#00a3de;position:absolute;display:block;top:0;left:-21px;right:0;bottom:0;z-index:0}#nav-header .header-container{position:relative;height:53px}#nav-header .user-ready-indicator{height:5px;position:relative;margin:-1px -17px 0 -17px;background-color:#005c7f;z-index:2;opacity:0;transition:all .3s ease-out;-webkit-transition:all .8s ease-out;background-image:-webkit-gradient(linear,left top,left bottom,from(#005c7f),to(#0098d5));background-image:-webkit-linear-gradient(top,#005c7f,#0098d5);background-image:-moz-linear-gradient(top,#005c7f,#0098d5);background-image:-o-linear-gradient(top,#005c7f,#0098d5);background-image:-ms-linear-gradient(top,#005c7f,#0098d5);background-image:linear-gradient(top,#005c7f,#0098d5)}#nav-header .user-ready-indicator.ready{opacity:.8}#nav-header .user-ready-indicator.notready{opacity:0}#nav-header .user-ready-indicator .bar{position:absolute;background:rgba(255,255,255,1);width:200px;margin-left:-100px;left:0;top:2px;bottom:2px;border-radius:3px;z-index:10;-webkit-box-shadow:rgba(255,255,255,.75) 0 0 6px;-moz-box-shadow:rgba(0,0,0,.25) 0 0 3px;-ms-box-shadow:rgba(0,0,0,.25) 0 0 3px;-o-box-shadow:rgba(0,0,0,.25) 0 0 3px;box-shadow:rgba(255,255,255,.75) 0 0 7px;-webkit-animation-name:animate-bar;-webkit-animation-duration:10s;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;-webkit-animation-play-state:running;-webkit-transform:translateZ(0)}#nav-header .user-ready-indicator.ready .bar{-webkit-animation-play-state:running}#nav-header .user-ready-indicator.notready .bar{-webkit-animation-play-state:paused}@-webkit-keyframes animate-bar{0%{left:0;width:200px;margin-left:-100px;opacity:.5}25%{left:50%;width:400px;margin-left:-200px;opacity:1}50%{left:100%;width:200px;margin-left:-100px;opacity:.5}75%{left:50%;width:400px;margin-left:-200px;opacity:1}100%{left:0;width:200px;margin-left:-100px;opacity:.5}}#nav-header.not-ready .user-ready-indicator{display:none}#nav-header .links{float:right;margin:20px 20px 0 0}#nav-header .links a{margin-left:15px}.ui-blocker{background:rgba(107,23,59,0.25);width:100%;height:100%;position:absolute;top:0;left:0}.view{background:#fff;position:absolute;top:0;left:0;min-width:100%;min-height:100%;padding-top:4px}.view,.view.popover,.dialog{background:#fff;background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));background:-webkit-linear-gradient(#fff,#eee);background:-moz-linear-gradient(#fff,#eee);background:-ms-linear-gradient(#fff,#eee);background:-o-linear-gradient(#fff,#eee);background:linear-gradient(#fff,#eee);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}.view-interior{min-width:100%;min-height:100%;background:rgba(255,255,255,.1)}.view-interior>*:last-child:after{content:' ';display:block;height:10px}.view h1{font-size:2em;margin:20px 20px .5em;color:#5d798f;font-weight:bold}.view p{margin:1em 20px;line-height:1.4em}.button{background:0;text-align:center;color:#00a3de;margin:5px 5px;padding:8px 20px;height:12px;cursor:pointer;background:-webkit-linear-gradient(#f7f4f0,#e9e6df);background:-moz-linear-gradient(#00aceb,#0099d1);background:-ms-linear-gradient(#00aceb,#0099d1);background:-o-linear-gradient(#00aceb,#0099d1);background:linear-gradient(#00aceb,#0099d1);border-radius:5px;border-top:solid 1px #999;border-bottom:solid 1px #666;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 3px;-moz-box-shadow:rgba(0,0,0,.25) 0 0 3px;-ms-box-shadow:rgba(0,0,0,.25) 0 0 3px;-o-box-shadow:rgba(0,0,0,.25) 0 0 3px;box-shadow:rgba(0,0,0,.25) 0 0 3px}.button.disabled{color:#bbb}.button a{width:100%;height:100%}.table{margin:20px}.table .label{font-size:1.3em;font-weight:400;color:#444}.table .data{border:1px solid #eee;display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;-o-box-orient:vertical;border-radius:5px}.table .data .item{display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;-o-box-orient:horizontal;color:#fff;font-size:1.2em;border-bottom:1px solid #888;background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,163,222,0.78)),to(rgba(0,163,222,1.00)));background-image:-webkit-linear-gradient(top,rgba(0,163,222,0.78),rgba(0,163,222,1.00));background-image:-moz-linear-gradient(top,rgba(0,163,222,0.78),rgba(0,163,222,1.00));background-image:-o-linear-gradient(top,rgba(0,163,222,0.78),rgba(0,163,222,1.00));background-image:-ms-linear-gradient(top,rgba(0,163,222,0.78),rgba(0,163,222,1.00));background-image:linear-gradient(top,rgba(0,163,222,0.78),rgba(0,163,222,1.00));-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.table .data .item:hover{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);-o-transform:scale(1.01);transform:scale(1.01);-ms-transform:scale(1.01)}.table .data .item:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.table .data .item:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.table .data .item .column{padding:.5em;display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box}.leader-board .rank{width:50px;font-size:1.2em}.leader-board .rank .pound{font-weight:400;font-size:.8em}.leader-board .name{-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;-o-box-pack:center;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;-o-box-orient:vertical;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;-o-box-flex:1}.leader-board .metric-value{font-size:1.2em;font-family:'Open Sans',sans-serif;font-weight:800;-webkit-box-pack:end;-moz-box-pack:end;-ms-box-pack:end;-o-box-pack:end}@font-face{font-family:'fontello';src:url("../../fonts/fontello.eot");src:url("../../fonts/fontello.eot?#iefix") format('embedded-opentype'),url("../../fonts/fontello.ttf") format('truetype'),url("../../fonts/fontello.svg#fontello") format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:'fontello';font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;opacity:.7;line-height:1em}.icon-home:before{content:'\2302'}.icon-cog:before{content:'\2699'}.icon-ok:before{content:'\2713'}.icon-cancel:before{content:'\2715'}.icon-user-1:before{content:'\e802'}.icon-lock:before{content:'\1f512'}.icon-lock-open:before{content:'\1f513'}.icon-pause:before{content:'\2389'}.icon-play:before{content:'\25b6'}.icon-ccw:before{content:'\27f2'}.icon-cw:before{content:'\27f3'}.icon-eye:before{content:'\e70a'}.icon-upload-cloud:before{content:'\e711'}.icon-retweet:before{content:'\e717'}@media screen and (-webkit-min-device-pixel-ratio:2),screen and (min--moz-device-pixel-ratio:2),screen and (-ms-min-device-pixel-ratio:2),screen and (-o-min-device-pixel-ratio:2/1),screen and (-ms-min-device-pixel-ratio:2),screen and (min-device-pixel-ratio:2){#nav-header .logo{background-image:url(../../img/glasses-logo-2x.png);background-size:100% 100%}}@media screen and (min--moz-device-pixel-ratio:1){#nav-header{max-height:63px}}.tmpl-home h1{margin:1.2em 0 .6em 1.1em}.tmpl-home .leader-board{margin:0 2.2em}.tmpl-home p{margin:0 0 1.3em 2.2em}.tmpl-welcome h1{margin:1.2em 0 1.2em 3.5em}.tmpl-welcome .stats{margin:0 7em;padding:2em;background:#f5f5f5}.tmpl-welcome .stat{display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;-o-box-orient:horizontal;border-bottom:1px dotted #ccc;margin:1em 20px}.tmpl-welcome .stat>div{display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box}.tmpl-welcome .stat .label{-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;-o-box-flex:1;font-size:1.3em;line-height:1.3em;color:#5f7387;-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;-o-box-pack:center;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;-o-box-orient:vertical}.tmpl-welcome .stat .data{font-family:'Open Sans',sans-serif;font-weight:800;font-size:2em;line-height:1.3em;color:#5f7387;-webkit-box-pack:end;-moz-box-pack:end;-ms-box-pack:end;-o-box-pack:end}.tmpl-welcome .user-ready{margin:40px 10em;cursor:pointer;display:block;color:#00a3de}.tmpl-sign-in h1{margin:1em 0 .5em 1.7em}.tmpl-sign-in fieldset,.tmpl-sign-in .buttons{padding:10px;position:relative}.tmpl-sign-in .buttons{margin:1em 1.1em}.tmpl-sign-in fieldset{background:#fff;border:solid 1px #ccd4db;border-bottom-width:0;margin:0 2.2em}.tmpl-sign-in fieldset:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.tmpl-sign-in fieldset:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-bottom-width:1px}.tmpl-sign-in .buttons{text-align:right}.tmpl-sign-in label{color:transparent;display:block;position:absolute;top:0;left:0;width:1px;height:1px}.tmpl-sign-in input{background:0;width:100%;box-sizing:border-box;padding:5px}.tmpl-sign-in input::-webkit-input-placeholder,.tmpl-sign-in input::-moz-input-placeholder,.tmpl-sign-in input::-ms-input-placeholder,.tmpl-sign-in input::-o-input-placeholder,.tmpl-sign-in input::input-placeholder{color:#ccd4db}.tmpl-sign-in button,.tmpl-sign-in .button{background:0;color:#00a3de;margin:-5px 5px;padding:10px 20px;cursor:pointer}.tmpl-sign-in button[type=submit]{background:#00a3de;background:-webkit-gradient(linear,left top,left bottom,from(#00aceb),to(#0099d1));background:-webkit-linear-gradient(#00aceb,#0099d1);background:-moz-linear-gradient(#00aceb,#0099d1);background:-ms-linear-gradient(#00aceb,#0099d1);background:-o-linear-gradient(#00aceb,#0099d1);background:linear-gradient(#00aceb,#0099d1);color:#fff;border-radius:5px;border-top:solid 1px #0099d1;border-bottom:solid 1px #0090c4;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 3px;-moz-box-shadow:rgba(0,0,0,.25) 0 0 3px;-ms-box-shadow:rgba(0,0,0,.25) 0 0 3px;-o-box-shadow:rgba(0,0,0,.25) 0 0 3px;box-shadow:rgba(0,0,0,.25) 0 0 3px;text-shadow:rgba(0,0,0,.25) 0 0 3px}.view.tmpl-errors,.view.tmpl-errors .view-interior{background:transparent}.view.tmpl-errors .dialog{margin:50px 10px 0;padding:15px 10px;border-radius:5px;border:solid 1px #b31c45;overflow:hidden}.view.tmpl-errors h1{margin-top:0;margin-left:0;margin-right:0}.view.tmpl-errors li{margin:1em 0}.view.tmpl-errors a{display:inline-block;margin:10px 5px -5px;padding:10px 20px;cursor:pointer;float:right;background:#00a3de;background:-webkit-gradient(linear,left top,left bottom,from(#00aceb),to(#0099d1));background:-webkit-linear-gradient(#00aceb,#0099d1);background:-moz-linear-gradient(#00aceb,#0099d1);background:-ms-linear-gradient(#00aceb,#0099d1);background:-o-linear-gradient(#00aceb,#0099d1);background:linear-gradient(#00aceb,#0099d1);color:#fff;border-radius:5px;border-top:solid 1px #0099d1;border-bottom:solid 1px #0090c4;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 3px;-moz-box-shadow:rgba(0,0,0,.25) 0 0 3px;-ms-box-shadow:rgba(0,0,0,.25) 0 0 3px;-o-box-shadow:rgba(0,0,0,.25) 0 0 3px;box-shadow:rgba(0,0,0,.25) 0 0 3px;text-shadow:rgba(0,0,0,.25) 0 0 3px}.tmpl-annotate{height:100%}.tmpl-annotate .annotate{width:761px;height:640px;margin:auto;position:relative;background:#f5f5f5 url('../../img/ios-linen.jpg') repeat left top}.nav-radial{z-index:1000;position:absolute;display:block;width:150px;height:150px;margin:-75px 0 0 -75px;top:100px;left:380px;border-radius:100px;background-color:rgba(255,255,255,.1);display:none}.nav-radial:after{content:'';z-index:10001;position:absolute;width:180px;height:180px;top:-14px;left:-14px;border-radius:120px;background-color:rgba(255,255,255,.2)}.nav-radial .controls{content:'';z-index:10002;position:absolute;width:120px;height:120px;top:14px;left:14px;border-radius:120px;background:transparent url('../../img/ios-linen.jpg') repeat left top;box-shadow:inset 0 0 35px #000}.nav-radial .controls .center{z-index:10004;position:absolute;width:30px;height:30px;top:0;left:0;border-width:45px;border-style:solid;border-color:transparent rgba(182,84,79,.6) rgba(160,182,118,.6) rgba(103,125,182,.6);border-radius:120px}.nav-radial .controls .left,.nav-radial .controls .right,.nav-radial .controls .bottom{color:#fff;z-index:10007;position:absolute;top:54px;left:4px;font-size:.85em}.nav-radial .controls .right{left:84px}.nav-radial .controls .bottom{top:90px;left:46px}.tmpl-annotate .annotate .nav-annotate{position:absolute;bottom:0;left:0;right:0;height:45px;background:rgba(255,255,255,0.5);display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;-o-box-orient:horizontal}.tmpl-annotate .annotate .nav-annotate li{display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;-o-box-orient:horizontal;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;-o-box-flex:1;-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;-o-box-pack:center}.tmpl-annotate .annotate .nav-annotate li a{display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;-o-box-flex:1;-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;-o-box-pack:center}*{-webkit-user-select:none}.tmpl-annotate .annotate-photo,.tmpl-annotate .annotate-example{float:left}.tmpl-annotate .annotate-example{margin:0;width:280px!important;background-position-x:-100px!important;overflow:hidden}.tmpl-annotate .annotate-example svg{margin-left:-100px}.tmpl-annotate circle{fill:#00beff;stroke:#00beff;stroke-width:2}.tmpl-annotate path{stroke:#277bb2;stroke-width:2;fill:none}.tmpl-annotate circle.primary{fill:#f00;stroke:#f00;stroke-width:3}.tmpl-annotate path.assist,.tmpl-annotate circle.assist{display:none;fill:#fff;stroke:#fff;stroke-width:2}.tmpl-annotate path.assist{opacity:.6}.tmpl-annotate .timer{position:absolute;top:0;right:12px;color:#fff;text-shadow:0 0 5px #00a3de;font-family:'Open Sans',sans-serif;font-weight:800;font-size:2.4em;display:-webkit-box;display:-moz-box;display:-ms-box;display:-o-box;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;-o-box-orient:horizontal;padding:4px 10px;border-bottom-left-radius:7px;border-bottom-right-radius:7px;background-color:#595959;background-image:-webkit-gradient(linear,left top,left bottom,from(#595959),to(#000));background-image:-webkit-linear-gradient(top,#595959,#000);background-image:-moz-linear-gradient(top,#595959,#000);background-image:-o-linear-gradient(top,#595959,#000);background-image:-ms-linear-gradient(top,#595959,#000);background-image:linear-gradient(top,#595959,#000)}.tmpl-annotate .timer .divider{-webkit-animation:blink 1s ease infinite;padding:0 2px}@-webkit-keyframes blink{0%{opacity:1.0;text-shadow:0 0 20px #00a3de}50%{opacity:0;text-shadow:none}100%{opacity:1.0;text-shadow:0 0 20px #00a3de}}.tmpl-annotate .annotate-photo{position:relative;z-index:0}.tmpl-annotate .annotate-photo .zoom{position:absolute;top:10px;left:10px;z-index:2000;display:block;width:100px;height:100px;opacity:0;border:2px solid rgba(255,255,255,.4);box-shadow:0 3px 5px #333;border-radius:100px;transition:opacity .3s ease-out;-webkit-transition:opacity .3s ease-out}.tmpl-annotate .annotate-photo .zoom:before,.tmpl-annotate .annotate-photo .zoom:after{content:"";display:block;z-index:2002;position:absolute;top:0;left:0}.tmpl-annotate .annotate-photo .zoom:before{width:100%;height:50%;border-bottom:1px solid #fff}.tmpl-annotate .annotate-photo .zoom:after{width:50%;height:100%;border-right:1px solid #fff}.tmpl-annotate .annotate-example .zoom{display:none}