diff --git a/.travis.yml b/.travis.yml index 5649567dcdd..af450298b6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,29 +2,10 @@ language: python python: - "2.6" - "2.7" -before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq solr-jetty -install: - - "pip install -r pip-requirements.txt --use-mirrors" - - "pip install -r pip-requirements-test.txt --use-mirrors" -before_script: - - psql -c 'CREATE DATABASE ckan_test;' -U postgres - - psql -c 'CREATE DATABASE datastore;' -U postgres - - psql -c 'CREATE USER readonlyuser;' -U postgres - - python setup.py develop - - sed -i -e 's/.*solr_url.*/solr_url = http:\/\/127.0.0.1:8983\/solr/' test-core.ini - - sed -i -e 's/.*ckan\.site_id.*/ckan.site_id = travis_ci/' test-core.ini - - sed -i -e 's/^sqlalchemy.url.*/sqlalchemy.url = postgresql:\/\/postgres@localhost\/ckan_test/' test-core.ini - - sed -i -e 's/.*datastore.write_url.*/ckan.datastore.write_url = postgresql:\/\/postgres@localhost\/datastore/' test-core.ini - - sed -i -e 's/.*datastore.read_url.*/ckan.datastore.read_url = postgresql:\/\/readonlyuser@localhost\/datastore/' test-core.ini - - cat test-core.ini - - echo -e "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty - - sudo cp ckan/config/solr/schema-2.0.xml /etc/solr/conf/schema.xml - - sudo service jetty restart - - paster db init -c test-core.ini - - paster datastore set-permissions postgres -c test-core.ini -script: "nosetests --ckan --with-pylons=test-core.ini --nologcapture ckan ckanext" +env: + - PGVERSION=9.1 + - PGVERSION=8.4 +script: ./bin/travis-build notifications: irc: channels: diff --git a/bin/travis-build b/bin/travis-build new file mode 100755 index 00000000000..a1d09704b95 --- /dev/null +++ b/bin/travis-build @@ -0,0 +1,56 @@ +#!/bin/sh + +# Drop Travis' postgres cluster if we're building using a different pg version +TRAVIS_PGVERSION='9.1' +if [ $PGVERSION != $TRAVIS_PGVERSION ] +then + sudo -u postgres pg_dropcluster --stop $TRAVIS_PGVERSION main + # Make psql use $PGVERSION + export PGCLUSTER=$PGVERSION/main +fi + +# Install postgres and solr +# We need this ppa so we can install postgres-8.4 +sudo add-apt-repository -yy ppa:pitti/postgresql +sudo apt-get update -qq +sudo apt-get install solr-jetty postgresql-$PGVERSION + +# Don't require a password to access DB +sudo sed -i -e 's/ident/trust/g' /etc/postgresql/$PGVERSION/main/pg_hba.conf + +sudo service postgresql reload + +pip install -r pip-requirements.txt --use-mirrors +pip install -r pip-requirements-test.txt --use-mirrors + +psql -c 'CREATE DATABASE ckantest;' -U postgres +psql -c 'CREATE DATABASE datastore;' -U postgres + +python setup.py develop + +# Configure CKAN's configuration file +sed -i -e 's/.*solr_url.*/solr_url = http:\/\/127.0.0.1:8983\/solr/' test-core.ini +sed -i -e 's/.*ckan\.site_id.*/ckan.site_id = travis_ci/' test-core.ini +sed -i -e 's/^sqlalchemy.url.*/sqlalchemy.url = postgresql:\/\/postgres@localhost\/ckantest/' test-core.ini +sed -i -e 's/.*datastore.write_url.*/ckan.datastore.write_url = postgresql:\/\/postgres@localhost\/datastore/' test-core.ini +sed -i -e 's/.*datastore.read_url.*/ckan.datastore.read_url = postgresql:\/\/readonlyuser@localhost\/datastore/' test-core.ini + +# Configure Solr +echo "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty +# FIXME the solr schema cannot be hardcoded as it is dependent on the ckan version +sudo cp ckan/config/solr/schema-2.0.xml /etc/solr/conf/schema.xml +sudo service jetty restart + +paster db init -c test-core.ini + +# If Postgres >= 9.0, we don't need to use datastore's legacy mode. +if [ $PGVERSION != '8.4' ] +then + psql -c 'CREATE USER readonlyuser;' -U postgres + sed -i -e 's/.*datastore.read_url.*/ckan.datastore.read_url = postgresql:\/\/readonlyuser@\/datastore/' development.ini + paster datastore set-permissions postgres +fi + + +# And finally, run the tests +nosetests --ckan --with-pylons=test-core.ini --nologcapture ckan ckanext diff --git a/ckan/common.py b/ckan/common.py new file mode 100644 index 00000000000..9b27a402ac2 --- /dev/null +++ b/ckan/common.py @@ -0,0 +1,17 @@ +# This file contains commonly used parts of external libraries. The idea is +# to help in removing helpers from being used as a dependency by many files +# but at the same time making it easy to change for example the json lib +# used. +# +# NOTE: This file is specificaly created for +# from ckan.common import x, y, z to be allowed + + +from pylons.i18n import _, ungettext +from pylons import g, c, request, session, response +import simplejson as json + +try: + from collections import OrderedDict # from python 2.7 +except ImportError: + from sqlalchemy.util import OrderedDict diff --git a/ckan/config/routing.py b/ckan/config/routing.py index df800128b80..0400512bd60 100644 --- a/ckan/config/routing.py +++ b/ckan/config/routing.py @@ -284,12 +284,15 @@ def make_map(): 'follow', 'unfollow', 'admins', - 'about', 'activity', ])) ) - m.connect('group_activity', '/group/activity/{id}/{offset}', action='activity'), - m.connect('group_read', '/group/{id}', action='read') + m.connect('group_about', '/group/about/{id}', action='about', + ckan_icon='info-sign'), + m.connect('group_activity', '/group/activity/{id}/{offset}', + action='activity', ckan_icon='time'), + m.connect('group_read', '/group/{id}', action='read', + ckan_icon='sitemap') # organizations these basically end up being the same as groups with SubMapper(map, controller='organization') as m: @@ -298,18 +301,26 @@ def make_map(): m.connect('/organization/new', action='new') m.connect('/organization/{action}/{id}', requirements=dict(action='|'.join([ - 'edit', 'delete', 'admins', - 'members', 'member_new', 'member_delete', - 'history', - 'bulk_process', - 'about' + 'history' ])) ) + m.connect('organization_activity', '/organization/activity/{id}', + action='activity', ckan_icon='time') m.connect('organization_read', '/organization/{id}', action='read') + m.connect('organization_about', '/organization/about/{id}', + action='about', ckan_icon='info-sign') + m.connect('organization_read', '/organization/{id}', action='read', + ckan_icon='sitemap') + m.connect('organization_edit', '/organization/edit/{id}', + action='edit', ckan_icon='edit') + m.connect('organization_members', '/organization/members/{id}', + action='members', ckan_icon='group') + m.connect('organization_bulk_process', '/organization/bulk_process/{id}', + action='bulk_process', ckan_icon='sitemap') register_package_plugins(map) register_group_plugins(map) diff --git a/ckan/controllers/api.py b/ckan/controllers/api.py index f13e8eb7e14..09b0c14368e 100644 --- a/ckan/controllers/api.py +++ b/ckan/controllers/api.py @@ -832,8 +832,11 @@ def make_unicode(entity): raise ValueError(msg) cls.log.debug('Retrieved request body: %r' % request.body) if not request_data: - msg = "No request body data" - raise ValueError(msg) + if not try_url_params: + msg = "No request body data" + raise ValueError(msg) + else: + request_data = {} if request_data: try: request_data = h.json.loads(request_data, encoding='utf8') diff --git a/ckan/controllers/feed.py b/ckan/controllers/feed.py index 20efebfa302..2e9af01ed5c 100644 --- a/ckan/controllers/feed.py +++ b/ckan/controllers/feed.py @@ -29,7 +29,7 @@ from ckan import model from ckan.lib.base import BaseController, c, request, response, json, abort, g -from ckan.lib.helpers import date_str_to_datetime, url_for +import ckan.lib.helpers as h from ckan.logic import get_action, NotFound # TODO make the item list configurable @@ -348,18 +348,18 @@ def output_feed(self, results, feed_title, feed_description, for pkg in results: feed.add_item( title=pkg.get('title', ''), - link=self.base_url + url_for(controller='package', + link=self.base_url + h.url_for(controller='package', action='read', id=pkg['id']), description=pkg.get('notes', ''), - updated=date_str_to_datetime(pkg.get('metadata_modified')), - published=date_str_to_datetime(pkg.get('metadata_created')), + updated=h.date_str_to_datetime(pkg.get('metadata_modified')), + published=h.date_str_to_datetime(pkg.get('metadata_created')), unique_id=_create_atom_id(u'/dataset/%s' % pkg['id']), author_name=pkg.get('author', ''), author_email=pkg.get('author_email', ''), categories=[t['name'] for t in pkg.get('tags', [])], enclosure=webhelpers.feedgenerator.Enclosure( - self.base_url + url_for(controller='api', + self.base_url + h.url_for(controller='api', register='package', action='show', id=pkg['name'], @@ -377,7 +377,7 @@ def _feed_url(self, query, controller, action, **kwargs): Constructs the url for the given action. Encoding the query parameters. """ - path = url_for(controller=controller, action=action, **kwargs) + path = h.url_for(controller=controller, action=action, **kwargs) query = [(k, v.encode('utf-8') if isinstance(v, basestring) else str(v)) for k, v in query.items()] diff --git a/ckan/controllers/group.py b/ckan/controllers/group.py index c75d7fcae0a..033748193c5 100644 --- a/ckan/controllers/group.py +++ b/ckan/controllers/group.py @@ -4,11 +4,11 @@ import datetime from urllib import urlencode -from ckan.lib.base import BaseController, c, model, request, render, h, g +from ckan.lib.base import BaseController, c, model, request, render, g from ckan.lib.base import ValidationException, abort, gettext import ckan.lib.base as base from pylons.i18n import get_lang, _ -from ckan.lib.helpers import Page +import ckan.lib.helpers as h import ckan.lib.maintain as maintain from ckan.lib.navl.dictization_functions import DataError, unflatten, validate from ckan.logic import NotFound, NotAuthorized, ValidationError @@ -19,6 +19,12 @@ import ckan.new_authz from ckan.lib.plugins import lookup_group_plugin +import ckan.plugins as plugins + +try: + from collections import OrderedDict # 2.7 +except ImportError: + from sqlalchemy.util import OrderedDict log = logging.getLogger(__name__) @@ -62,6 +68,9 @@ def _history_template(self, group_type): def _edit_template(self, group_type): return lookup_group_plugin(group_type).edit_template() + def _activity_template(self, group_type): + return lookup_group_plugin(group_type).activity_template() + def _admins_template(self, group_type): return lookup_group_plugin(group_type).admins_template() @@ -143,7 +152,7 @@ def index(self): results = self._action('group_list')(context, data_dict) - c.page = Page( + c.page = h.Page( collection=results, page=request.params.get('page', 1), url=h.pager_url, @@ -268,10 +277,37 @@ def pager_url(q=None, page=None): fq = '' context['ignore_capacity_check'] = True + facets = OrderedDict() + + default_facet_titles = {'groups': _('Groups'), + 'tags': _('Tags'), + 'res_format': _('Formats'), + 'license': _('Licence'), } + + for facet in g.facets: + if facet in default_facet_titles: + facets[facet] = default_facet_titles[facet] + else: + facets[facet] = facet + + # Facet titles + for plugin in plugins.PluginImplementations(plugins.IFacets): + if self.group_type == 'organization': + facets = plugin.organization_facets( + facets, self.group_type, None) + else: + facets = plugin.group_facets( + facets, self.group_type, None) + + if 'capacity' in facets and (self.group_type != 'organization' or not user_member_of_orgs): + del facets['capacity'] + + c.facet_titles = facets + data_dict = { 'q': q, 'fq': fq, - 'facet.field': g.facets, + 'facet.field': facets.keys(), 'rows': limit, 'sort': sort_by, 'start': (page - 1) * limit, @@ -294,10 +330,6 @@ def pager_url(q=None, page=None): 'Use `c.search_facets` instead.') c.search_facets = query['search_facets'] - c.facet_titles = {'groups': _('Groups'), - 'tags': _('Tags'), - 'res_format': _('Formats'), - 'license': _('Licence'), } c.search_facets_limits = {} for facet in c.facets.keys(): limit = int(request.params.get('_%s_limit' % facet, 10)) @@ -722,7 +754,8 @@ def activity(self, id, offset=0): c.group_activity_stream = get_action('group_activity_list_html')( context, {'id': c.group_dict['id'], 'offset': offset}) - return render('group/activity_stream.html') + #return render('group/activity_stream.html') + return render(self._activity_template(c.group_dict['type'])) def follow(self, id): '''Start following this group.''' diff --git a/ckan/controllers/organization.py b/ckan/controllers/organization.py index b391d940770..53996819a7b 100644 --- a/ckan/controllers/organization.py +++ b/ckan/controllers/organization.py @@ -52,5 +52,8 @@ def _history_template(self, group_type): def _edit_template(self, group_type): return 'organization/edit.html' + def _activity_template(self, group_type): + return 'organization/activity_stream.html' + def _guess_group_type(self, expecting_name=False): return 'organization' diff --git a/ckan/controllers/package.py b/ckan/controllers/package.py index e755c0594c1..cb7b0c19b77 100644 --- a/ckan/controllers/package.py +++ b/ckan/controllers/package.py @@ -9,17 +9,15 @@ from paste.deploy.converters import asbool from ckan.logic import get_action, check_access -from ckan.lib.helpers import date_str_to_datetime from ckan.lib.base import (request, render, BaseController, model, - abort, h, g, c) + abort, g, c) from ckan.lib.base import response, redirect, gettext import ckan.lib.maintain as maintain from ckan.lib.package_saver import PackageSaver, ValidationException from ckan.lib.navl.dictization_functions import DataError, unflatten, validate -from ckan.lib.helpers import json from ckan.logic import NotFound, NotAuthorized, ValidationError from ckan.logic import (tuplize_dict, clean_dict, @@ -37,6 +35,12 @@ from ckan.lib.plugins import lookup_package_plugin import ckan.plugins as p + +try: + from collections import OrderedDict # 2.7 +except ImportError: + from sqlalchemy.util import OrderedDict + log = logging.getLogger(__name__) @@ -227,10 +231,29 @@ def pager_url(q=None, page=None): if not asbool(config.get('ckan.search.show_all_types', 'False')): fq += ' +dataset_type:dataset' + facets = OrderedDict() + + default_facet_titles = {'groups': _('Groups'), + 'tags': _('Tags'), + 'res_format': _('Formats'), + 'license': _('Licence'), } + + for facet in g.facets: + if facet in default_facet_titles: + facets[facet] = default_facet_titles[facet] + else: + facets[facet] = facet + + # Facet titles + for plugin in plugins.PluginImplementations(plugins.IFacets): + facets = plugin.dataset_facets(facets, package_type) + + c.facet_titles = facets + data_dict = { 'q': q, 'fq': fq.strip(), - 'facet.field': g.facets, + 'facet.field': facets.keys(), 'rows': limit, 'start': (page - 1) * limit, 'sort': sort_by, @@ -260,14 +283,6 @@ def pager_url(q=None, page=None): limit = int(request.params.get('_%s_limit' % facet, 10)) c.search_facets_limits[facet] = limit - # Facet titles - c.facet_titles = {'groups': _('Groups'), - 'tags': _('Tags'), - 'res_format': _('Formats'), - 'license': _('Licence'), } - for plugin in plugins.PluginImplementations(plugins.IPackageController): - c.facet_titles = plugin.update_facet_titles(c.facet_titles) - maintain.deprecate_context_item( 'facets', @@ -322,7 +337,7 @@ def read(self, id, format='html'): context['revision_id'] = revision_ref else: try: - date = date_str_to_datetime(revision_ref) + date = h.date_str_to_datetime(revision_ref) context['revision_date'] = date except TypeError, e: abort(400, _('Invalid revision format: %r') % e.args) @@ -476,7 +491,7 @@ def new(self, data=None, errors=None, error_summary=None): data = data or clean_dict(unflatten(tuplize_dict(parse_params( request.params, ignore_keys=CACHE_PARAMETERS)))) - c.resources_json = json.dumps(data.get('resources', [])) + c.resources_json = h.json.dumps(data.get('resources', [])) # convert tags if not supplied in data if data and not data.get('tag_string'): data['tag_string'] = ', '.join( @@ -500,7 +515,7 @@ def new(self, data=None, errors=None, error_summary=None): vars = {'data': data, 'errors': errors, 'error_summary': error_summary, 'action': 'new', 'stage': stage} - c.errors_json = json.dumps(errors) + c.errors_json = h.json.dumps(errors) self._setup_template_variables(context, {}, package_type=package_type) @@ -668,14 +683,15 @@ def new_resource(self, id, data=None, errors=None, error_summary=None): def new_metadata(self, id, data=None, errors=None, error_summary=None): ''' FIXME: This is a temporary action to allow styling of the forms. ''' + context = {'model': model, 'session': model.Session, + 'user': c.user or c.author} + if request.method == 'POST' and not data: save_action = request.params.get('save') data = data or clean_dict(unflatten(tuplize_dict(parse_params( request.POST)))) # we don't want to include save as it is part of the form del data['save'] - context = {'model': model, 'session': model.Session, - 'user': c.user or c.author} data_dict = get_action('package_show')(context, {'id': id}) @@ -709,8 +725,6 @@ def new_metadata(self, id, data=None, errors=None, error_summary=None): redirect(h.url_for(controller='package', action='read', id=id)) if not data: - context = {'model': model, 'session': model.Session, - 'user': c.user or c.author} data = get_action('package_show')(context, {'id': id}) errors = errors or {} error_summary = error_summary or {} @@ -754,7 +768,7 @@ def edit(self, id, data=None, errors=None, error_summary=None): error_summary=error_summary) c.pkg = context.get("package") - c.resources_json = json.dumps(data.get('resources', [])) + c.resources_json = h.json.dumps(data.get('resources', [])) try: check_access('package_update', context) @@ -767,7 +781,7 @@ def edit(self, id, data=None, errors=None, error_summary=None): errors = errors or {} vars = {'data': data, 'errors': errors, 'error_summary': error_summary, 'action': 'edit'} - c.errors_json = json.dumps(errors) + c.errors_json = h.json.dumps(errors) self._setup_template_variables(context, {'id': id}, package_type=package_type) @@ -814,7 +828,7 @@ def read_ajax(self, id, revision=None): data.pop('tags') data = flatten_to_string_key(data) response.headers['Content-Type'] = 'application/json;charset=utf-8' - return json.dumps(data) + return h.json.dumps(data) def history_ajax(self, id): @@ -845,7 +859,7 @@ def history_ajax(self, id): 'current_approved': current_approved}) response.headers['Content-Type'] = 'application/json;charset=utf-8' - return json.dumps(data) + return h.json.dumps(data) def _get_package_type(self, id): """ @@ -1301,7 +1315,7 @@ def resource_embedded_dataviewer(self, id, resource_id, c.resource = get_action('resource_show')(context, {'id': resource_id}) c.package = get_action('package_show')(context, {'id': id}) - c.resource_json = json.dumps(c.resource) + c.resource_json = h.json.dumps(c.resource) # double check that the resource belongs to the specified package if not c.resource['id'] in [r['id'] @@ -1320,7 +1334,7 @@ def resource_embedded_dataviewer(self, id, resource_id, abort(400, ('"state" parameter must be a valid recline ' 'state (version %d)' % state_version)) - c.recline_state = json.dumps(recline_state) + c.recline_state = h.json.dumps(recline_state) c.width = max(int(request.params.get('width', width)), 100) c.height = max(int(request.params.get('height', height)), 100) @@ -1336,7 +1350,7 @@ def _parse_recline_state(self, params): recline_state = {} for k, v in request.params.items(): try: - v = json.loads(v) + v = h.json.loads(v) except ValueError: pass recline_state[k] = v @@ -1384,6 +1398,10 @@ def resource_datapreview(self, id, resource_id): on_same_domain = datapreview.resource_is_on_same_domain(data_dict) data_dict['resource']['on_same_domain'] = on_same_domain + # FIXME this wants to not use plugins as it is an imported name + # and we already import it an p should really only be in + # extensu=ions in my opinion also just make it look nice and be + # readable grrrrrr plugins = p.PluginImplementations(p.IResourcePreview) plugins_that_can_preview = [plugin for plugin in plugins if plugin.can_preview(data_dict)] @@ -1396,7 +1414,7 @@ def resource_datapreview(self, id, resource_id): plugin = plugins_that_can_preview[0] plugin.setup_template_variables(context, data_dict) - c.resource_json = json.dumps(c.resource) + c.resource_json = h.json.dumps(c.resource) except NotFound: abort(404, _('Resource not found')) diff --git a/ckan/controllers/user.py b/ckan/controllers/user.py index fe75a550147..638bd7a7231 100644 --- a/ckan/controllers/user.py +++ b/ckan/controllers/user.py @@ -416,6 +416,9 @@ def request_reset(self): return render('user/request_reset.html') def perform_reset(self, id): + # FIXME 403 error for invalid key is a non helpful page + # FIXME We should reset the reset key when it is used to prevent + # reuse of the url context = {'model': model, 'session': model.Session, 'user': c.user, 'keep_sensitive_data': True} @@ -473,6 +476,7 @@ def _get_form_password(self): raise ValueError(_('The passwords you entered' ' do not match.')) return password1 + raise ValueError(_('You must provide a password')) def followers(self, id=None): context = {'for_view': True} diff --git a/ckan/lib/app_globals.py b/ckan/lib/app_globals.py index a6928b196b6..6b108d42a04 100644 --- a/ckan/lib/app_globals.py +++ b/ckan/lib/app_globals.py @@ -71,7 +71,7 @@ def set_main_css(css_file): ''' Sets the main_css using debug css if needed. The css_file must be of the form file.css ''' assert css_file.endswith('.css') - if config.debug and css_file == '/base/css/main.css': + if config.get('debug') and css_file == '/base/css/main.css': new_css = '/base/css/main.debug.css' else: new_css = css_file @@ -177,6 +177,10 @@ def _init(self): self.ckan_version = ckan.__version__ self.ckan_base_version = re.sub('[^0-9\.]', '', self.ckan_version) + if self.ckan_base_version == self.ckan_version: + self.ckan_doc_version = 'ckan-{0}'.format(self.ckan_version) + else: + self.ckan_doc_version = 'latest' # process the config_details to set globals for name, options in config_details.items(): diff --git a/ckan/lib/authztool.py b/ckan/lib/authztool.py deleted file mode 100644 index 3139cfac6cf..00000000000 --- a/ckan/lib/authztool.py +++ /dev/null @@ -1,266 +0,0 @@ -import logging - -from sqlalchemy.orm.exc import NoResultFound, ObjectDeletedError - -from cli import CkanCommand -# NB No CKAN imports allowed until in a command, or the logging does not work - -class RightsToolError(Exception): - pass - -class RightsTool(object): - # TODO: Consider moving this to logic layer - @classmethod - def make_or_remove_roles(cls, cmd, subj, role, obj, except_on_error=False, do_commit=True): - '''Tool to make or remove a role using the names of objects, rather - than the actual objects. - cmd - 'make' or 'remove' - subj - name of subject object (e.g. 'dave-admin') - role - name of role (e.g. 'editor') - obj - names of an objects to apply the role to (e.g. 'river-stats' or 'all') - ''' - from ckan import model - log = logging.getLogger(__name__) - - subj = cls.find_subject(unicode(subj)) - role = cls.ensure_role(unicode(role)) - objs = cls.find_objects(unicode(obj)) - for obj in objs: - try: - if cmd == 'make': - if isinstance(subj, model.User): - model.add_user_to_role(subj, role, obj) - log.debug('Role made') - elif cmd == 'remove': - if isinstance(subj, model.User): - model.remove_user_from_role(subj, role, obj) - log.debug('Role removed') - else: - raise NotImplementedError - except NoResultFound, e: - log.error('Cannot find object for role %s: %s', str(e), cmd) - if except_on_error: - raise RightsToolError('Cannot %s right: %s %s %s', cmd, subj, role, obj) - log.debug(cls.get_printable_row(subj, role, obj, - exists=(cmd=='make'))) - if do_commit: - model.repo.commit_and_remove() - - @classmethod - def find_subject(cls, subject): - '''Given a name of a system object that could be the subject - of a role, returns the object.''' - from ckan import model - _type, name = 'user', subject - if ':' in subject and not subject.lower().startswith('http'): - _type, name = subject.split(':', 1) - finder = {'user': model.User.by_name}.get(_type) - assert finder is not None, "No such subject type: %s" % _type - subj = finder(name) - assert subj is not None, "No such %s: %s" % (_type, name) - return subj - - @classmethod - def find_objects(cls, obj): - '''Given a name of a system object, returns the object''' - # NB: There is some overlap here with ckan.logic.action.get_domain_object - from ckan import model - _type, name = 'package', obj - if obj == 'system': - _type = 'system' - elif ':' in obj: - _type, name = obj.split(':', 1) - obj_class = { - 'package': model.Package, - 'group': model.Group, - 'system': model.System, - }.get(_type) - if name == 'all': - objn = model.Session.query(obj_class).all() - return objn - else: - finder = obj_class.by_name - assert finder is not None, "No subject object type: %s" % _type - objn = finder(name) - assert objn is not None, "No such %s: %s" % (_type, name) - return [objn] - - @staticmethod - def ensure_role(role): - from ckan import model - roles = model.Role.get_all() - assert role in roles, "Role %s does not exist: %s" % (role, - ", ".join(roles)) - return role - - @staticmethod - def get_printable_row(subj, role, obj, exists=True): - return "%s %s -> %s %s on -> %s %s" % \ - (type(subj).__name__, subj.name, - 'is' if exists else 'is NOT', role, - type(obj).__name__, obj.name) - -class RightsCommand(CkanCommand): - '''Commands relating to per-object and system-wide access rights.''' - - summary = __doc__.split('\n')[0] - max_args = 4 - min_args = 0 - - @property - def usage(self): - from ckan import model - RIGHTS_HELP = ''' - -Operations (defaults to 'list'): - rights list [[[] ] ... ] - rights make - rights remove - -Subjects (prefix defaults to 'user:'): - user:fluffy87 - A user called 'fluffy87' - agroup:editors - An authorization group called 'editors' - visitor - All web site visitors - logged_in - All users that are logged in - -Roles: - %(roles)s - -Objects (prefix defaults to 'package:'): - package:datablob - A package called 'datablob' - package:all - All packages - group:literature - A package group called 'literature' - agroup:editors - An authorization group called 'editors' - system: - The entire system (relevant to entity creation) -''' % dict(roles=", ".join(model.Role.get_all())) - return RIGHTS_HELP - - - def command(self): - self._load_config() - cmd = self.args[0] if len(self.args) else 'list' - if cmd == 'list': - args = self.args - if 'list' in args: - del args[args.index('list')] - self.list(args) - return - - assert len(self.args) == 4, "Not enough parameters!" + self.usage - cmd, subj, role, obj = self.args - - RightsTool.make_or_remove_roles(cmd, subj, role, obj, except_on_error=False) - - def _filter_query(self, query, args): - from ckan import model - for arg in self.args: - arg = unicode(arg) - for interpret_func, column_name in ((RightsTool.ensure_role, 'role'), - (RightsTool.find_subject, 'user'), - (RightsTool.find_objects, 'object')): - try: - filter_by_obj = interpret_func(arg) - except AssertionError: - continue - assert filter_by_obj, 'Could not interpret parameter: %r' % arg - if column_name == 'user': - if isinstance(filter_by_obj, model.User): - column_name = 'user' - else: - raise NotImplementedError - if column_name == 'object': - if isinstance(filter_by_obj, list): - assert len(filter_by_obj) == 1, 'Can only filter by one object: %r' % arg - filter_by_obj = filter_by_obj[0] - protected_object = model.protected_objects[filter_by_obj.__class__] - column_name = protected_object.name - query = query.join(protected_object) - if column_name: - column = getattr(protected_object, column_name) - else: - # this is the case for SystemRole - # (just joining with the protected object is enough) - column = None - else: - column = getattr(model.UserObjectRole, column_name) - if column: - query = query.filter(column==filter_by_obj) - break - else: - assert False, 'Could not find matching subject/object/role: %r' % arg - return query - - def list(self, args): - from ckan import model - q = model.Session.query(model.UserObjectRole) - q = self._filter_query(q, args) - if q.count() == 0: - print 'No results' - else: - print '%i results' % q.count() - for uor in q: - if uor.name: - try: - obj = getattr(uor, uor.name) - except ObjectDeletedError, e: - print '! ERROR accessing uor id: ', uor.id - continue - else: - obj = model.System() - print RightsTool.get_printable_row( - uor.user if uor.user else '', - uor.role, obj) - - - -class RolesCommand(CkanCommand): - '''Commands relating to roles and actions.''' - - summary = __doc__.split('\n')[0] - max_args = 3 - min_args = 0 - - @property - def usage(self): - from ckan import model - ROLES_HELP = ''' -Operations (defaults to 'list'): - roles list - roles allow [role] [action] - roles deny [role] [action] - -Actions: - %(actions)s -''' % dict(actions=", ".join(model.Action.get_all())) - return ROLES_HELP - - def command(self): - from ckan import model - self._load_config() - cmd = self.args[0] if len(self.args) else 'list' - if cmd == 'list': - role_actions = model.Session.query(model.RoleAction) - roles = {} - for role_action in role_actions: - roles[role_action.role] = \ - roles.get(role_action.role, []) + [role_action.action] - for role, actions in roles.items(): - print "%-20s%s" % (role, ", ".join(actions)) - return - - assert len(self.args) == 3, "Not enough paramters!" + self.usage - cmd, role, action = self.args - q = model.Session.query(model.RoleAction) - q = q.filter(model.RoleAction.role==role) - q = q.filter(model.RoleAction.action==action) - role_action = q.first() - if cmd == 'allow': - assert not role_action, "%s can already %s." % (role, action) - role_action = model.RoleAction(role=role, action=action, context=u'') - model.Session.add(role_action) - elif cmd == 'deny': - assert role_action, "%s can't %s." % (role, action) - model.Session.delete(role_action) - print 'Successful: %s %s %s' % (cmd, role, action) - model.repo.commit_and_remove() - diff --git a/ckan/lib/base.py b/ckan/lib/base.py index 0fd783c0bbf..7f944a3393b 100644 --- a/ckan/lib/base.py +++ b/ckan/lib/base.py @@ -24,8 +24,8 @@ import ckan.lib.helpers as h import ckan.lib.app_globals as app_globals from ckan.plugins import PluginImplementations, IGenshiStreamFilter -from ckan.lib.helpers import json import ckan.model as model +from ckan.common import json log = logging.getLogger(__name__) diff --git a/ckan/lib/cli.py b/ckan/lib/cli.py index 9f6f9c39f90..1fc8de336df 100644 --- a/ckan/lib/cli.py +++ b/ckan/lib/cli.py @@ -1744,13 +1744,16 @@ class MinifyCommand(CkanCommand): Usage: - paster minify [FILE|DIRECTORY] ... + paster minify [--clean] for example: paster minify ckan/public/base paster minify ckan/public/base/css/*.css paster minify ckan/public/base/css/red.css + + if the --clean option is provided any minified files will be removed. + ''' summary = __doc__.split('\n')[0] usage = __doc__ @@ -1758,21 +1761,46 @@ class MinifyCommand(CkanCommand): exclude_dirs = ['vendor'] + def __init__(self, name): + + super(MinifyCommand, self).__init__(name) + + self.parser.add_option('--clean', dest='clean', + action='store_true', default=False, help='remove any minified files in the path') + def command(self): + clean = getattr(self.options, 'clean', False) self._load_config() for base_path in self.args: if os.path.isfile(base_path): - self.minify_file(base_path) + if clean: + self.clear_minifyed(base_path) + else: + self.minify_file(base_path) elif os.path.isdir(base_path): for root, dirs, files in os.walk(base_path): dirs[:] = [d for d in dirs if not d in self.exclude_dirs] for filename in files: path = os.path.join(root, filename) - self.minify_file(path) + if clean: + self.clear_minifyed(path) + else: + self.minify_file(path) else: # Path is neither a file or a dir? continue + def clear_minifyed(self, path): + path_only, extension = os.path.splitext(path) + + if extension not in ('.css', '.js'): + # This is not a js or css file. + return + + if path_only.endswith('.min'): + print 'removing %s' % path + os.remove(path) + def minify_file(self, path): '''Create the minified version of the given file. diff --git a/ckan/lib/create_test_data.py b/ckan/lib/create_test_data.py index 9fb3b8c07cc..e2aba3b242f 100644 --- a/ckan/lib/create_test_data.py +++ b/ckan/lib/create_test_data.py @@ -3,7 +3,6 @@ import datetime import ckan.model as model -import authztool log = logging.getLogger(__name__) @@ -523,19 +522,6 @@ def create_user(cls, name='', **kwargs): cls._create_user_without_commit(name, **kwargs) model.Session.commit() - @classmethod - def create_roles(cls, roles): - '''Each role is a tuple (object_name, role, subject_name). - There is clever searching going on to find the objects of any type, - by name or ID. You can also use the subject_name='system'. - ''' - for role_tuple in roles: - object_name, role, subject_name = role_tuple - authztool.RightsTool.make_or_remove_roles('make', object_name, role, subject_name, - except_on_error=True, - do_commit=False) - model.repo.commit_and_remove() - @classmethod def flag_for_deletion(cls, pkg_names=[], tag_names=[], group_names=[], user_names=[]): diff --git a/ckan/lib/datapreview.py b/ckan/lib/datapreview.py index 8dcaef5b4ee..9d93d794fdd 100644 --- a/ckan/lib/datapreview.py +++ b/ckan/lib/datapreview.py @@ -22,10 +22,14 @@ def compare_domains(urls): for url in urls: # all urls are interpreted as absolute urls, # except for urls that start with a / - if not urlparse.urlparse(url).scheme and not url.startswith('/'): - url = '//' + url - parsed = urlparse.urlparse(url.lower(), 'http') - domain = (parsed.scheme, parsed.hostname, parsed.port) + try: + if not urlparse.urlparse(url).scheme and not url.startswith('/'): + url = '//' + url + parsed = urlparse.urlparse(url.lower(), 'http') + domain = (parsed.scheme, parsed.hostname, parsed.port) + except ValueError: + # URL is so messed up that even urlparse can't stand it + return False if not first_domain: first_domain = domain diff --git a/ckan/lib/dumper.py b/ckan/lib/dumper.py index e463017ae80..553ab67a227 100644 --- a/ckan/lib/dumper.py +++ b/ckan/lib/dumper.py @@ -4,7 +4,7 @@ import ckan.model as model import ckan.model -from helpers import json, OrderedDict +from ckan.common import json, OrderedDict class SimpleDumper(object): '''Dumps just package data but including tags, groups, license text etc''' diff --git a/ckan/lib/field_types.py b/ckan/lib/field_types.py index 9c4772401ed..0862f096a79 100644 --- a/ckan/lib/field_types.py +++ b/ckan/lib/field_types.py @@ -6,7 +6,8 @@ with warnings.catch_warnings(): warnings.filterwarnings('ignore', '.*compile_mappers.*') import formalchemy -from ckan.lib.helpers import OrderedDict + +from ckan.common import OrderedDict months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] diff --git a/ckan/lib/helpers.py b/ckan/lib/helpers.py index c0147f488d7..d842711349f 100644 --- a/ckan/lib/helpers.py +++ b/ckan/lib/helpers.py @@ -30,10 +30,6 @@ from alphabet_paginate import AlphaPage import i18n import ckan.exceptions -from pylons import request -from pylons import session -from pylons import c, g -from pylons.i18n import _, ungettext import ckan.lib.fanstatic_resources as fanstatic_resources import ckan.model as model @@ -41,23 +37,15 @@ import ckan.lib.maintain as maintain import ckan.lib.datapreview as datapreview +from ckan.common import ( + _, ungettext, g, c, request, session, json, OrderedDict +) + get_available_locales = i18n.get_available_locales get_locales_dict = i18n.get_locales_dict log = logging.getLogger(__name__) -try: - from collections import OrderedDict # from python 2.7 -except ImportError: - from sqlalchemy.util import OrderedDict - -try: - import json -except ImportError: - import simplejson as json - -_log = logging.getLogger(__name__) - def redirect_to(*args, **kw): '''A routes.redirect_to wrapper to retain the i18n settings''' @@ -516,8 +504,9 @@ def unselected_facet_items(facet, limit=10): return get_facet_items_dict(facet, limit=limit, exclude_active=True) +@maintain.deprecated('h.get_facet_title is deprecated in 2.0 and will be removed.') def get_facet_title(name): - + '''Deprecated in ckan 2.0 ''' # if this is set in the config use this config_title = config.get('search.facets.%s.title' % name) if config_title: @@ -547,15 +536,28 @@ def _search_url(params): return _url_with_params(url, params) -def sorted_extras(list_): - ''' Used for outputting package extras ''' +def sorted_extras(package_extras, auto_clean=False, subs=None): + ''' Used for outputting package extras + + :param package_extras: the package extras + :type package_extras: dict + :param auto_clean: If true capitalize and replace -_ with spaces + :type auto_clean: bool + :param subs: substitutes to use instead of given keys + :type subs: dict {'key': 'replacement'} + ''' + output = [] - for extra in sorted(list_, key=lambda x: x['key']): + for extra in sorted(package_extras, key=lambda x: x['key']): if extra.get('state') == 'deleted': continue k, v = extra['key'], extra['value'] if k in g.package_hide_extras: continue + if subs and k in subs: + k = subs[k] + elif auto_clean: + k = k.replace('_', ' ').replace('-', ' ').title() if isinstance(v, (list, tuple)): v = ", ".join(map(unicode, v)) output.append((k, v)) @@ -612,7 +614,7 @@ def markdown_extract(text, extract_length=190): return '' plain = re.sub(r'<.*?>', '', markdown(text)) if not extract_length or len(plain) < extract_length: - return plain + return literal(plain) return literal(unicode(truncate(plain, length=extract_length, indicator='...', whole_word=True))) @@ -1390,10 +1392,9 @@ def resource_preview(resource, pkg_id): data_dict = {'resource': resource, 'package': c.package} if not resource['url']: - log.info('No url for resource {0} defined.'.format(resource['id'])) return snippet("dataviewer/snippets/no_preview.html", resource_type=format_lower, - reason='No valid resource url has been defined.') + reason=_(u'The resource url is not specified.')) direct_embed = config.get('ckan.preview.direct', '').split() if not direct_embed: direct_embed = datapreview.DEFAULT_DIRECT_EMBED @@ -1410,10 +1411,15 @@ def resource_preview(resource, pkg_id): elif format_lower in loadable_in_iframe: url = resource['url'] else: - log.info( - 'No preview handler for resource type {0}'.format(format_lower) - ) + reason = None + if format_lower: + log.info( + _(u'No preview handler for resource of type {0}'.format(format_lower)) + ) + else: + reason = _(u'The resource format is not specified.') return snippet("dataviewer/snippets/no_preview.html", + reason=reason, resource_type=format_lower) return snippet("dataviewer/snippets/data_preview.html", @@ -1431,6 +1437,11 @@ def SI_number_span(number): output = literal('') return output + formatters.localised_SI_number(number) + literal('') +# add some formatter functions +localised_number = formatters.localised_number +localised_SI_number = formatters.localised_SI_number +localised_nice_date = formatters.localised_nice_date +localised_filesize = formatters.localised_filesize # these are the functions that will end up in `h` template helpers __allowed_functions__ = [ @@ -1510,6 +1521,10 @@ def SI_number_span(number): 'format_resource_items', 'resource_preview', 'SI_number_span', + 'localised_number', + 'localised_SI_number', + 'localised_nice_date', + 'localised_filesize', # imported into ckan.lib.helpers 'literal', 'link_to', diff --git a/ckan/lib/jinja_extensions.py b/ckan/lib/jinja_extensions.py index 6fa3830c0be..a5a1a4605f4 100644 --- a/ckan/lib/jinja_extensions.py +++ b/ckan/lib/jinja_extensions.py @@ -93,6 +93,8 @@ def parse(self, parser): template_path = parser.filename # find where in the search path this template is from index = 0 + if not hasattr(self, 'searchpath'): + return node for searchpath in self.searchpath: if template_path.startswith(searchpath): break diff --git a/ckan/lib/jsonp.py b/ckan/lib/jsonp.py index 86386dd0bb0..acf6ac2c241 100644 --- a/ckan/lib/jsonp.py +++ b/ckan/lib/jsonp.py @@ -1,8 +1,6 @@ import decorator -from pylons import request, response - -from ckan.lib.helpers import json +from ckan.common import json, request, response def to_jsonp(data): diff --git a/ckan/lib/mailer.py b/ckan/lib/mailer.py index 644f59ee9bd..c83b4d8fa45 100644 --- a/ckan/lib/mailer.py +++ b/ckan/lib/mailer.py @@ -10,7 +10,7 @@ from pylons.i18n.translation import _ from pylons import config, g from ckan import model, __version__ -from ckan.lib.helpers import url_for +import ckan.lib.helpers as h import paste.deploy.converters log = logging.getLogger(__name__) @@ -115,7 +115,7 @@ def create_reset_key(user): def get_reset_link(user): return urljoin(g.site_url, - url_for(controller='user', + h.url_for(controller='user', action='perform_reset', id=user.id, key=user.reset_key)) diff --git a/ckan/lib/plugins.py b/ckan/lib/plugins.py index 23b19bbf333..f71dd75f04d 100644 --- a/ckan/lib/plugins.py +++ b/ckan/lib/plugins.py @@ -370,6 +370,13 @@ def edit_template(self): """ return 'group/edit.html' + def activity_template(self): + """ + Returns a string representing the location of the template to be + rendered for the activity stream page + """ + return 'group/activity_stream.html' + def admins_template(self): """ Returns a string representing the location of the template to be diff --git a/ckan/lib/repoze_patch.py b/ckan/lib/repoze_patch.py index 0efde8f6484..5344ff93ba0 100644 --- a/ckan/lib/repoze_patch.py +++ b/ckan/lib/repoze_patch.py @@ -2,7 +2,7 @@ from openid.consumer import consumer from openid.extensions import sreg, ax -import lib.helpers as h +import ckan.lib.helpers as h # #1659 fix - logged_out_url prefixed with mount point def get_full_path(path, environ): diff --git a/ckan/lib/search/index.py b/ckan/lib/search/index.py index fd89ffd4bb6..f608f14e9d3 100644 --- a/ckan/lib/search/index.py +++ b/ckan/lib/search/index.py @@ -3,6 +3,7 @@ import logging import collections import json +from dateutil.parser import parse import re @@ -156,7 +157,7 @@ def index_package(self, pkg_dict, defer_commit=False): # if there is an owner_org we want to add this to groups for index # purposes - if pkg_dict['owner_org']: + if pkg_dict.get('organization'): pkg_dict['groups'].append(pkg_dict['organization']['name']) @@ -192,7 +193,21 @@ def index_package(self, pkg_dict, defer_commit=False): # Save dataset type pkg_dict['dataset_type'] = pkg_dict['type'] - pkg_dict = dict([(k.encode('ascii', 'ignore'), v) for (k, v) in pkg_dict.items()]) + # clean the dict fixing keys and dates + # FIXME where are we getting these dirty keys from? can we not just + # fix them in the correct place or is this something that always will + # be needed? For my data not changing the keys seems to not cause a + # problem. + new_dict = {} + for key, value in pkg_dict.items(): + key = key.encode('ascii', 'ignore') + if key.endswith('_date'): + try: + value = parse(value).isoformat() + 'Z' + except ValueError: + continue + new_dict[key] = value + pkg_dict = new_dict for k in ('title', 'notes', 'title_string'): if k in pkg_dict and pkg_dict[k]: diff --git a/ckan/lib/search/query.py b/ckan/lib/search/query.py index 14130ffd8f1..e43825f8d1e 100644 --- a/ckan/lib/search/query.py +++ b/ckan/lib/search/query.py @@ -6,10 +6,11 @@ from paste.deploy.converters import asbool from paste.util.multidict import MultiDict +from ckan.common import json +from ckan.lib.search.common import make_connection, SearchError, SearchQueryError import ckan.logic as logic -from ckan import model -from ckan.lib.helpers import json -from common import make_connection, SearchError, SearchQueryError +import ckan.model as model + log = logging.getLogger(__name__) _open_licenses = None diff --git a/ckan/logic/__init__.py b/ckan/logic/__init__.py index 2546fca57b5..e21f222f50e 100644 --- a/ckan/logic/__init__.py +++ b/ckan/logic/__init__.py @@ -381,3 +381,76 @@ def wrapper(context, data_dict): wrapper.side_effect_free = True return wrapper + + +class UnknownValidator(Exception): + pass + + +_validators_cache = {} + +def clear_validators_cache(): + _validators_cache.clear() + + +def get_validator(validator): + '''Return a validator by name or UnknownValidator exception if the + validator is not found. This is mainly so that validators can be made + available to extensions via the plugin toolkit. + + :param validator: name of the validator requested + :type validator: string + ''' + if not _validators_cache: + validators = _import_module_functions('ckan.lib.navl.validators') + _validators_cache.update(validators) + validators = _import_module_functions('ckan.logic.validators') + _validators_cache.update(validators) + try: + return _validators_cache[validator] + except KeyError: + raise UnknownValidator('Validator `%s` does not exist' % validator) + + +class UnknownConverter(Exception): + pass + + +_converters_cache = {} + +def clear_converters_cache(): + _converters_cache.clear() + + +def get_converter(converter): + '''Return a converter by name or UnknownConverter exception if the + converter is not found. This is mainly so that validators can be made + available to extensions via the plugin toolkit. + + :param converter: name of the converter requested + :type converter: string + ''' + if not _converters_cache: + converters = _import_module_functions('ckan.logic.converters') + _converters_cache.update(converters) + try: + return _converters_cache[converter] + except KeyError: + raise UnknownConverter('Converter `%s` does not exist' % converter) + + +def _import_module_functions(module_path): + '''Import a module and get the functions and return them in a dict''' + functions_dict = {} + module = __import__(module_path) + for part in module_path.split('.')[1:]: + module = getattr(module, part) + for k, v in module.__dict__.items(): + + try: + if v.__module__ != module_path: + continue + functions_dict[k] = v + except AttributeError: + pass + return functions_dict diff --git a/ckan/logic/action/create.py b/ckan/logic/action/create.py index a8c85efe89e..c1ece99aa19 100644 --- a/ckan/logic/action/create.py +++ b/ckan/logic/action/create.py @@ -671,11 +671,6 @@ def organization_create(context, data_dict): the dataset) and optionally ``'title'`` (string, the title of the dataset) :type packages: list of dictionaries - ## :param groups: the groups that belong to the group, a list of dictionaries - ## each with key ``'name'`` (string, the id or name of the group) and - ## optionally ``'capacity'`` (string, the capacity in which the group is - ## a member of the group) - ## :type groups: list of dictionaries :param users: the users that belong to the organization, a list of dictionaries each with key ``'name'`` (string, the id or name of the user) and optionally ``'capacity'`` (string, the capacity in which the user is diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index 0c74e08a9aa..c7a9e78669e 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -480,7 +480,7 @@ def organization_list_for_user(context, data_dict): if sysadmin: # Sysadmins can see all organizations - return [{'id':org.id,'name':org.name} for org in orgs_q.all()] + return [{'id':org.id,'name':org.name,'title':org.title} for org in orgs_q.all()] permission = data_dict.get('permission', 'edit_group') @@ -506,7 +506,7 @@ def organization_list_for_user(context, data_dict): q = orgs_q.filter(model.Group.id.in_(group_ids)) - return [{'id':org.id,'name':org.name} for org in q.all()] + return [{'id':org.id,'name':org.name,'title':org.title} for org in q.all()] def group_revision_list(context, data_dict): '''Return a group's revisions. @@ -2583,19 +2583,19 @@ def group_followee_list(context, data_dict): def dashboard_activity_list(context, data_dict): '''Return the authorized user's dashboard activity stream. - Unlike the activity dictionaries returned by other *_activity_list actions, - these activity dictionaries have an extra boolean value with key 'is_new' - that tells you whether the activity happened since the user last viewed her - dashboard ('is_new': True) or not ('is_new': False). + Unlike the activity dictionaries returned by other ``*_activity_list`` + actions, these activity dictionaries have an extra boolean value with key + ``is_new`` that tells you whether the activity happened since the user last + viewed her dashboard (``'is_new': True``) or not (``'is_new': False``). - The user's own activities are always marked 'is_new': False. + The user's own activities are always marked ``'is_new': False``. :param offset: where to start getting activity items from (optional, default: 0) :type offset: int :param limit: the maximum number of activities to return (optional, default: 31, the default value is configurable via the - ckan.activity_list_limit setting) + ``ckan.activity_list_limit`` setting) :rtype: list of activity dictionaries diff --git a/ckan/logic/schema.py b/ckan/logic/schema.py index 9790f7114b3..c79af5bea3a 100644 --- a/ckan/logic/schema.py +++ b/ckan/logic/schema.py @@ -130,6 +130,7 @@ def default_package_schema(): 'state': [ignore_not_package_admin, ignore_missing], 'type': [ignore_missing, unicode], 'owner_org': [owner_org_validator, unicode], + 'private': [ignore_missing, boolean_validator], '__extras': [ignore], '__junk': [empty], 'resources': default_resource_schema(), diff --git a/ckan/logic/validators.py b/ckan/logic/validators.py index dad232a2318..7711e117a60 100644 --- a/ckan/logic/validators.py +++ b/ckan/logic/validators.py @@ -6,7 +6,7 @@ from ckan.lib.navl.dictization_functions import Invalid, StopOnError, Missing, missing, unflatten from ckan.logic import check_access, NotAuthorized, NotFound -from ckan.lib.helpers import date_str_to_datetime +import ckan.lib.helpers as h from ckan.model import (MAX_TAG_LENGTH, MIN_TAG_LENGTH, PACKAGE_NAME_MIN_LENGTH, PACKAGE_NAME_MAX_LENGTH, PACKAGE_VERSION_MAX_LENGTH, @@ -67,7 +67,7 @@ def isodate(value, context): if value == '': return None try: - date = date_str_to_datetime(value) + date = h.date_str_to_datetime(value) except (TypeError, ValueError), e: raise Invalid(_('Date format incorrect')) return date diff --git a/ckan/migration/versions/022_add_group_extras.py b/ckan/migration/versions/022_add_group_extras.py index a36ab117337..3d7da9ba0b0 100644 --- a/ckan/migration/versions/022_add_group_extras.py +++ b/ckan/migration/versions/022_add_group_extras.py @@ -5,7 +5,8 @@ import uuid from sqlalchemy import types -from ckan.lib.helpers import json +from ckan.common import json + class JsonType(types.TypeDecorator): '''Store data as JSON serializing on save and unserializing on use. ''' diff --git a/ckan/migration/versions/029_version_groups.py b/ckan/migration/versions/029_version_groups.py index e279f07841a..6e7bbd90343 100644 --- a/ckan/migration/versions/029_version_groups.py +++ b/ckan/migration/versions/029_version_groups.py @@ -1,14 +1,14 @@ +import uuid + from sqlalchemy import * from sqlalchemy import types from migrate import * from datetime import datetime import migrate.changeset -import uuid from migrate.changeset.constraint import ForeignKeyConstraint +from ckan.common import json - -from ckan.lib.helpers import json class JsonType(types.TypeDecorator): '''Store data as JSON serializing on save and unserializing on use. ''' diff --git a/ckan/migration/versions/067_turn_extras_to_strings.py b/ckan/migration/versions/067_turn_extras_to_strings.py index 5d4b609e01d..e6c0f1a26f0 100644 --- a/ckan/migration/versions/067_turn_extras_to_strings.py +++ b/ckan/migration/versions/067_turn_extras_to_strings.py @@ -7,7 +7,7 @@ def upgrade(migrate_engine): revision_tables = 'package_extra_revision group_extra_revision' for table in tables.split(): - sql = """select id, value from {table} where left(value,1) = '"' """.format(table=table) + sql = """select id, value from {table} where substr(value,0,1) = '"' """.format(table=table) results = connection.execute(sql) for result in results: id, value = result @@ -16,7 +16,7 @@ def upgrade(migrate_engine): json.loads(value), id) for table in revision_tables.split(): - sql = """select id, revision_id, value from {table} where left(value,1) = '"' """.format(table=table) + sql = """select id, revision_id, value from {table} where substr(value,0,1) = '"' """.format(table=table) results = connection.execute(sql) for result in results: diff --git a/ckan/plugins/interfaces.py b/ckan/plugins/interfaces.py index 2f4dd3e445f..ea0a1881c78 100644 --- a/ckan/plugins/interfaces.py +++ b/ckan/plugins/interfaces.py @@ -18,6 +18,7 @@ 'IGroupForm', 'ITagController', 'ITemplateHelpers', + 'IFacets', ] from inspect import isclass @@ -204,7 +205,7 @@ def can_preview(self, data_dict): Return True if the extension can preview the resource. The ``data_dict`` contains the resource and the package. - Make sure you also make sure to ckeck the ``on_same_domain`` value of the + Make sure to ckeck the ``on_same_domain`` value of the resource or the url if your preview requires the resource to be on the same domain because of the same origin policy. ''' @@ -398,18 +399,6 @@ def after_search(self, search_results, search_params): return search_results - def update_facet_titles(self, facet_titles): - ''' - Update the dictionary mapping facet names to facet titles. - - Example: {'facet_name': 'The title of the facet'} - - Called after the search operation was performed and - before the search page will be displayed. - The titles show up on the search page. - ''' - return facet_titles - def before_index(self, pkg_dict): ''' Extensions will receive what will be given to the solr for @@ -775,3 +764,26 @@ def setup_template_variables(self, context, data_dict): """ ##### End of hooks ##### + +class IFacets(Interface): + ''' Allows specify which facets are displayed and also the names used. + + facet_dicts are in the form {'facet_name': 'dispaly name', ...} + to allow translatable dispaly names use _(...) + eg {'facet_name': _('dispaly name'), ...} and ensure that this is + created each time the function is called. + + The dict supplied is actually an ordered dict. + ''' + + def dataset_facets(self, facets_dict, package_type): + ''' Update the facets_dict and return it. ''' + return facets_dict + + def group_facets(self, facets_dict, group_type, package_type): + ''' Update the facets_dict and return it. ''' + return facets_dict + + def organization_facets(self, facets_dict, organization_type, package_type): + ''' Update the facets_dict and return it. ''' + return facets_dict diff --git a/ckan/plugins/toolkit.py b/ckan/plugins/toolkit.py index 46e36a32f3f..7131d8a5442 100644 --- a/ckan/plugins/toolkit.py +++ b/ckan/plugins/toolkit.py @@ -41,10 +41,14 @@ class _Toolkit(object): 'aslist', # converts an object to a list 'literal', # stop tags in a string being escaped 'get_action', # get logic action function + 'get_converter', # get validator function + 'get_validator', # get convertor action function 'check_access', # check logic function authorisation 'ObjectNotFound', # action not found exception # (ckan.logic.NotFound) 'NotAuthorized', # action not authorized exception + 'UnknownConverter', # convertor not found exception + 'UnknownValidator', # validator not found exception 'ValidationError', # model update validation error 'CkanCommand', # class for providing cli interfaces @@ -87,10 +91,14 @@ def _initialize(self): t['literal'] = webhelpers.html.tags.literal t['get_action'] = logic.get_action + t['get_converter'] = logic.get_converter + t['get_validator'] = logic.get_validator t['check_access'] = logic.check_access t['ObjectNotFound'] = logic.NotFound # Name change intentional t['NotAuthorized'] = logic.NotAuthorized t['ValidationError'] = logic.ValidationError + t['UnknownConverter'] = logic.UnknownConverter + t['UnknownValidator'] = logic.UnknownValidator t['CkanCommand'] = cli.CkanCommand diff --git a/ckan/public/base/css/fuchsia.min.css b/ckan/public/base/css/fuchsia.min.css deleted file mode 100644 index 699c5842705..00000000000 --- a/ckan/public/base/css/fuchsia.min.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#4d4d4d;background-color:#efefef}a{color:#b509b5;text-decoration:none}a:hover{color:#6c056c;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,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;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;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:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#ffffff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b55457;border-color:#b55457}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#954143;-webkit-box-shadow:0 0 6px #d49b9d;-moz-box-shadow:0 0 6px #d49b9d;box-shadow:0 0 6px #d49b9d}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b55457;background-color:#f8f0f0;border-color:#b55457}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999999}::-webkit-input-placeholder{color:#999999}.help-block,.help-inline{color:#555555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;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-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#b509b5}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#ffffff,#eaeaea);background-image:-ms-linear-gradient(top,#ffffff,#eaeaea);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#eaeaea));background-image:-webkit-linear-gradient(top,#ffffff,#eaeaea);background-image:-o-linear-gradient(top,#ffffff,#eaeaea);background-image:linear-gradient(top,#ffffff,#eaeaea);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eaeaea',GradientType=0);border-color:#eaeaea #eaeaea #c4c4c4;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#eaeaea;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#eaeaea;*background-color:#dddddd}.btn:active,.btn.active{background-color:#d1d1d1 \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#f654f6;background-image:-moz-linear-gradient(top,#f544f5,#f76bf7);background-image:-ms-linear-gradient(top,#f544f5,#f76bf7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f544f5),to(#f76bf7));background-image:-webkit-linear-gradient(top,#f544f5,#f76bf7);background-image:-o-linear-gradient(top,#f544f5,#f76bf7);background-image:linear-gradient(top,#f544f5,#f76bf7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f544f5',endColorstr='#f76bf7',GradientType=0);border-color:#f76bf7 #f76bf7 #f322f3;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76bf7;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#f76bf7;*background-color:#f653f6}.btn-primary:active,.btn-primary.active{background-color:#f43bf4 \9}.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*zoom:1;*margin-left:.3em}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn-group.open .btn.dropdown-toggle{background-color:#eaeaea}.btn-group.open .btn-primary.dropdown-toggle{background-color:#f76bf7}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-danger,.alert-error{background-color:#f8f0f0;border-color:#c6898b;color:#b55457}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:18px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eeeeee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#b509b5}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#b509b5}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#b509b5;border-bottom-color:#b509b5;margin-top:6px}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#6c056c;border-bottom-color:#6c056c}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333}.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff}.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999999}.navbar .brand:hover{text-decoration:none}.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999999}.navbar .navbar-link:hover{color:#ffffff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#cccccc}.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{margin:0;padding:5px 5px 6px}.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222}.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333}.navbar .nav.pull-right{margin-left:10px;margin-right:0}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px}.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#ffffff;border-bottom-color:#ffffff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#ffffff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{left:auto;right:13px}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#ffffff,#f5f5f5);background-image:-ms-linear-gradient(top,#ffffff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ffffff,#f5f5f5);background-image:-o-linear-gradient(top,#ffffff,#f5f5f5);background-image:linear-gradient(top,#ffffff,#f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff}.breadcrumb .divider{padding:0 5px;color:#999999}.breadcrumb .active a{color:#333333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#b509b5;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b55457}.label-important[href],.badge-important[href]{background-color:#954143}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#ffffff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}@font-face{font-family:'FontAwesome';src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot');src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.woff') format('woff'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:middle;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav-tabs [class^="icon-"],.btn [class*=" icon-"],.nav-tabs [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertical-align:initial}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-user-md:before{content:"\f200"}.pill{background-color:#cccccc;color:#ffffff;padding:1px 5px 1px 8px;margin-right:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pill a{color:#ffffff}.pill a.remove{font-size:11px}.tag{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#b509b5;padding-left:10px;padding-right:5px;margin-right:11px}.tag:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.unstyled{margin:0;list-style:none}.simple-item{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-item:last-of-type{border-bottom:0}.simple-list{*zoom:1;margin:0;list-style:none}.simple-list:before,.simple-list:after{display:table;content:""}.simple-list:after{clear:both}.simple-list>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-list>li:last-of-type{border-bottom:0}.simple-list .ckan-icon{position:relative;top:0px}.module-narrow .simple-list>li{padding-left:15px;padding-right:15px;position:relative}.listing li{text-align:right;margin-bottom:5px}.listing .key{clear:right;font-weight:bold}.js .tab-content{display:none}.js .tab-content.active{display:block}.module{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.3);-moz-box-shadow:0 0 3px rgba(0,0,0,0.3);box-shadow:0 0 3px rgba(0,0,0,0.3);background-color:#ffffff;margin-bottom:20px}.module-heading{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:14px;line-height:1.3;padding:7px 25px;border-bottom:1px solid #d0d0d0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.module-heading-secondary{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-top:1px solid #d0d0d0}.module-heading [class^=icon]:before{font-size:1.2em;line-height:1;position:relative;top:1px;margin-right:0.1em}.module-heading .action{float:right;color:#8c8c8c;font-size:11px;text-decoration:underline}.module-content{padding:0 25px;margin:20px 0}.module-content:first-child{margin-top:0;padding-top:20px}.module-content:last-child{margin-bottom:0;padding-bottom:20px}.module-content>:last-child{margin-bottom:0}.module-border-top{border-top:1px dotted #cccccc}.module-border-bottom{border-bottom:1px dotted #cccccc}.module-footer{padding:7px 25px 7px;border-top:1px dotted #cccccc}.module .read-more{font-weight:bold;color:#000000}.module .pagination{height:34px;margin-bottom:0;border-top:1px solid #d0d0d0}.module .pagination>ul{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0}.module .pagination li a{border-top:none;border-bottom:none}.module .pagination li:first-child a,.module .pagination li:last-child a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.module .pagination li:first-child a{border-left-width:0}.module .pagination li:last-child a{border-right-width:0}.module .pagination li.active a{border-left-width:1px;border-right-width:1px}.module .action{text-align:center}.module-shallow .module-content{padding:10px;margin:0}.module-shallow .module-content:first-child{padding-top:10px}.module-shallow .module-content:last-child{padding-bottom:10px}.module-shallow small{font-size:11px;display:block}.module-narrow .module-heading,.module-narrow .module-content,.module-narrow .module-footer{padding-left:15px;padding-right:15px}.module-grid{margin:0;list-style:none;margin:0;list-style:none;*zoom:1;margin-left:-20px;padding:0}.module-grid:before,.module-grid:after{display:table;content:""}.module-grid:after{clear:both}.module-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left;float:left;margin-left:20px;width:460px;padding-top:10px;padding-bottom:10px;padding-right:50px;overflow:hidden;position:relative}.module-item.first{clear:left}.group .content img{margin:0 -5px 5px;max-width:initial}.group .content h3{font-size:14px;line-height:1.3}.group-listing{margin-left:-20px}.ckanext-datapreview{position:relative}.ckanext-datapreview>iframe{min-height:400px}.ckanext-datapreview>img{max-height:500px;max-width:100%;overflow:hidden}.package-info h4{margin-bottom:10px}.media{position:relative;overflow:hidden}.media-content>:last-child{margin-bottom:0}.media-heading{font-size:14px;line-height:1.3em;margin:5px 0}.media-image,.media .gravatar{position:relative;float:left;margin-right:10px;overflow:hidden}.media-image:after{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);box-shadow:inset 0 0 2px rgba(0,0,0,0.3);content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.media-image img{display:block;margin:0 auto}.media-vertical .media-image,.media-vertical .media-content{float:none;display:block}.media-vertical .media-image{margin-right:0;max-height:125px}.media-grid,ul.media-grid,ol.media-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px}.media-grid:before,ul.media-grid:before,ol.media-grid:before,.media-grid:after,ul.media-grid:after,ol.media-grid:after{display:table;content:""}.media-grid:after,ul.media-grid:after,ol.media-grid:after{clear:both}.media-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left}.media-item.first{clear:left}.media-item .media-content{min-height:63px}.related-item.expanded{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#ffffff;background-color:rgba(255,255,255,0.9);z-index:2}.media-wide{padding:0}.media-wide .media{float:left;margin-left:20px;width:460px}.media-overlay{position:relative;min-height:35px}.media-overlay .media-heading{position:absolute;left:0;right:0;bottom:0;padding:12px 10px;margin:0;background-color:#000;background-color:rgba(0,0,0,0.8);font-size:13px;color:#fff;z-index:1}.media-overlay .media-image{float:none;display:block;margin-right:0}.banner{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;position:absolute;top:15px;right:-35px;width:80px;color:#ffffff;background:#707070;padding:1px 20px;font-size:11px;text-align:center;text-transform:uppercase}.nav-simple{*zoom:1;margin:0;list-style:none;padding-bottom:0}.nav-simple:before,.nav-simple:after{display:table;content:""}.nav-simple:after{clear:both}.nav-simple>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.nav-simple>li:last-of-type{border-bottom:0}.nav-simple .ckan-icon{position:relative;top:0px}.nav-item>a{color:#333333;margin:-7px -25px;padding:7px 25px}.nav-item.active{background-color:#f2f2f2}.nav-item.active>a span{white-space:nowrap;overflow:hidden;display:block}.nav-item.active>a{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#b509b5;padding-left:10px;padding-right:5px;margin-right:11px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:bold;position:relative;left:4px;margin-left:-25px;margin-right:-20px;padding-left:10px;padding-right:0px;padding:1px 22px}.nav-item.active>a:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.nav-item [class^=icon]{font-size:1.2em;margin:-1px 0 -1px -1px}.module-narrow .nav-item>a{padding-left:15px;padding-right:15px;position:relative}.module-narrow .nav-item.active>a{padding-left:12px;padding-right:12px}.module-narrow .nav-item.image{position:relative}.module-narrow .nav-item.image>a{padding-left:42px;padding-right:42px}.module-narrow .nav-item.image>img{position:absolute;top:50%;left:15px;width:20px;height:20px;margin-top:-10px;z-index:2}.nav-facet .nav-item>a:hover:after,.nav-facet .nav-item.active>a:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;content:"";position:absolute;top:50%;right:5px;margin-top:-8px}.nav-facet .nav-item>a:hover:after:last-child,.nav-facet .nav-item.active>a:after:last-child{*margin-left:0}.nav-facet .nav-item>a:hover:after{width:17px;height:17px;background-position:-17px -16px}.nav-facet .nav-item.active>a:after{width:17px;height:17px;background-position:0px -16px;right:3px}.js .js-hide{display:none}.js .js-hide.active{display:block}.btn,label{font-weight:bold}label{cursor:pointer;font-size:14px;line-height:2}label:after{content:":"}label.radio:after,label.checkbox:after{content:""}input,textarea,select,.uneditable-input{font-size:14px;padding:8px 10px}input[type=radio],input[type=checkbox]{position:relative;top:7px;padding:0;margin:0}input[type=radio].checkbox-onown,input[type=checkbox].checkbox-onown{top:0}select{margin-top:6px;padding:4px}textarea{max-width:100%}.input-prepend .add-on{padding:8px 8px;font-size:14px}.control-group .btn{position:relative;top:-2px}.control-full input,.control-full select,.control-full textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:auto;width:100%}.control-medium input,.control-medium select,.control-medium textarea{width:320px}.control-large input,.control-large .control-label{font-size:18px}.form-actions{background:none;margin-left:-25px;margin-right:-25px;margin-bottom:0;padding-bottom:0;text-align:right}.form-actions .action-info{float:left;width:50%;line-height:2;text-align:left;color:#707070;margin:0}.form-actions .action-info.small{font-size:11px;line-height:1.2}.form-horizontal .control-label{width:120px;line-height:1.3;padding-top:9px}.form-horizontal .control-large input,.form-horizontal .control-large .control-label{font-size:18px;line-height:2}.form-horizontal .control-large .control-label{padding-top:10px}.form-horizontal .controls{margin-left:130px}.form-horizontal .info-block{position:relative;display:block;font-size:11px;color:#aeaeae;line-height:1.3;padding:6px 0 6px 25px;margin-top:6px}.form-horizontal .info-inline{float:right;width:265px;margin-top:0}.form-horizontal .control-medium .info-block.info-inline{width:165px}.form-horizontal .info-block:before{font-size:2.2em;position:absolute;left:0;top:2px}.form-horizontal .info-inline:before{top:8px}.info-block .icon-large,.info-inline .icon-large{float:left;font-size:22px;margin-right:15px}.form-horizontal .info-block a{color:#aeaeae;text-decoration:underline}.form-horizontal .form-actions{padding-left:25px;padding-right:25px}.form-inline input{padding-bottom:9px}.form-inline select{margin-top:0}.form-inline .btn{margin-left:5px}.form-narrow label{margin-bottom:0}.form-narrow select{width:100%}.form-narrow .form-actions{margin-left:-15px;margin-right:-15px;padding:10px 15px 0}.form-select label{margin-right:5px}.simple-input label,.simple-input button{display:none}.simple-input .field{position:relative}.simple-input .field-bordered{border-bottom:1px dotted #cccccc}.simple-input .field input{width:100%;height:auto;margin:0 -7px;padding:7px 5px}.simple-input .field .btn-search{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:17px;height:17px;background-position:-51px -16px;position:absolute;display:block;height:17px;width:17px;top:50%;right:0;margin-top:-8px;background-color:transparent;border:none;text-indent:-999em}.simple-input .field .btn-search:last-child{*margin-left:0}.editor textarea{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:none}.editor .editor-info-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;float:none;padding:4px 10px;background:#ebebeb;width:auto;border:1px solid #cccccc;border-top:none;font-size:11px;color:#282828}.editor .editor-info-block a{color:#b509b5;text-decoration:none}.control-custom{font-size:0}.control-custom label{margin-bottom:0}.control-custom input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:140px}.control-custom input:last-of-type{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.control-custom .checkbox{display:inline-block;margin-left:5px}.control-custom .checkbox input{width:auto}.control-custom.disabled label,.control-custom.disabled input{color:#aaaaaa;text-decoration:line-through;text-shadow:none}.control-custom.disabled input{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#f3f3f3}.control-custom.disabled .checkbox{color:#4d4d4d;text-decoration:none}.control-custom .checkbox.btn{-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;position:relative;top:0;left:5px;height:3px;width:8px;padding:3px 8px}.control-custom .checkbox.btn span{display:none;width:30px}.control-custom .checkbox.btn:before{position:relative;top:1px;left:-1px;color:#fff}.control-custom .checkbox.btn input{display:none}.control-custom.disabled .checkbox.btn{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#f654f6;background-image:-moz-linear-gradient(top,#f544f5,#f76bf7);background-image:-ms-linear-gradient(top,#f544f5,#f76bf7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f544f5),to(#f76bf7));background-image:-webkit-linear-gradient(top,#f544f5,#f76bf7);background-image:-o-linear-gradient(top,#f544f5,#f76bf7);background-image:linear-gradient(top,#f544f5,#f76bf7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f544f5',endColorstr='#f76bf7',GradientType=0);border-color:#f76bf7 #f76bf7 #f322f3;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76bf7;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.control-custom.disabled .checkbox.btn:hover,.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active,.control-custom.disabled .checkbox.btn.disabled,.control-custom.disabled .checkbox.btn[disabled]{background-color:#f76bf7;*background-color:#f653f6}.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active{background-color:#f43bf4 \9}.control-custom.disabled .checkbox.btn .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert-danger a,.alert-error a{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea,.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{border-color:#c6898b}.error-inline{color:#b55457}.error-block,.error-inline{font-size:12px}.error-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;padding:6px 8px 3px;background:#c6898b;margin:-3px 0 0;color:#ffffff;width:216px}.control-medium .error-block{width:326px}.control-full .error-block{width:auto}.control-group.error .input-prepend .error-block,.control-custom.error .error-block{margin-left:-1px;width:auto}.control-custom.error .error-block{width:409px}.control-select.error .error-block{width:204px}.stages{margin:0;list-style:none;*zoom:1;color:#aeaeae;counter-reset:stage;margin:-20px -25px 20px;overflow:hidden}.stages:before,.stages:after{display:table;content:""}.stages:after{clear:both}.stages li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:27px;counter-increment:stage;width:33.33%;background-color:#ededed;float:left;padding:10px 20px;position:relative;z-index:0}.stages li:before{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;content:counter(stage);display:inline-block;width:27px;height:27px;margin-right:5px;font-weight:bold;text-align:center;color:#ffffff;background-color:#aeaeae;z-index:1}.stages li:after{left:0;border:solid rgba(237,237,237,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-top-color:#ededed;border-bottom-color:#ededed;border-width:29px;top:50%;margin-top:-29px;margin-left:-30px}.stages li.first,.stages li.first .highlight{-webkit-border-radius:3px 0 0 0;-moz-border-radius:3px 0 0 0;border-radius:3px 0 0 0}.stages li.last{position:relative;right:-1px}.stages li.last,.stages li.last .highlight{-webkit-border-radius:0 3px 0 0;-moz-border-radius:0 3px 0 0;border-radius:0 3px 0 0}.stages li.first:after{content:none;border:none}.stages li.active:after{border-color:rgba(140,198,138,0);border-top-color:#8cc68a;border-bottom-color:#8cc68a}.stages li.complete:after{border-color:rgba(197,226,196,0);border-top-color:#c5e2c4;border-bottom-color:#c5e2c4}.stages.stage-3 li.complete:first-child:after{content:none}.stages li.active,.stages li.complete{background:none}.stages li.active:before{color:#8cc68a;background:#ffffff}.stages li.complete:before{color:#c5e2c4;background:#eef6ed}.stages li .highlight{display:block;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;padding:10px 52px;border:none;text-align:left;text-decoration:none;line-height:27px;z-index:-1}.stages li.active .highlight{color:#ffffff;background:#8cc68a}.stages li.complete .highlight{color:#eef6ed;background:#c5e2c4}.alert>:last-child{margin-bottom:0}.slug-preview{font-size:14px;line-height:1.5;margin-top:5px;margin-left:10px}.slug-preview-value{background-color:#faedcf;margin-right:3px}.slug-preview .btn{padding-top:3px;padding-bottom:3px}.resource-upload-field{position:relative;overflow:hidden;display:inline-block;vertical-align:bottom}.resource-upload-field label{z-index:0}.resource-upload-field input{opacity:0;filter:alpha(opacity=0);position:absolute;top:0;right:0;z-index:1;margin:0;border:solid transparent;border-width:100px 0 0 200px;cursor:pointer;direction:ltr;-moz-transform:translate(-300px,0) scale(4)}.resource-upload-field.loading{display:inline-block;background:url("../../../base/images/loading-spinner.gif") no-repeat center right;padding-right:5px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{font-size:14px}.select2-container-multi .select2-choices .select2-search-field input{height:29px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{padding-left:10px}.select2-container{margin-top:5px}.select2-container-multi{margin-top:0}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 22px}.select2-container-multi.select2-container .select2-choices{padding-top:3px;padding-bottom:3px}.select2-search-choice-close,.select2-container-multi .select2-search-choice-close{top:6px;left:5px}.select2-container-multi .select2-choices{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;background-color:#ffffff;border:1px solid #cccccc}.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.select2-container-multi .select2-drop{margin-top:-2px}.select2-container .select2-results li{line-height:18px;padding-top:4px;padding-bottom:4px}.control-full .select2-container{width:520px!important}.dataset-item{border-bottom:1px dotted #cccccc;padding-bottom:20px;margin-bottom:20px}.dataset-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.dataset-heading{font-size:14px;line-height:1.3}.dataset-heading a{color:#333333}.dataset-heading .label{position:relative;top:-1px}.dataset-content{font-size:12px}.dataset-resources{font-size:10px;line-height:14px;margin-top:5px}.dataset-resources li{display:inline}.dataset-resources li a{background-color:#aaaaaa}.dataset-heading .popular{top:0}.results{margin-bottom:20px;padding-bottom:25px;border-bottom:1px dotted #cccccc}.results strong{display:block;font-size:24px;line-height:1.3;color:#000000;margin-bottom:10px}.results strong:before{float:right;content:" ";width:280px;white-space:pre}.filter-list{color:#4d4d4d;font-weight:bold}.filter-list .extra{margin-top:10px;font-size:18px;font-weight:normal;color:#000000}.dataset-search{position:relative}.search-giant{position:relative}.search-giant input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:16px;padding:14px 10px;width:100%;height:auto}.search-giant button{cursor:pointer;position:absolute;right:15px;top:50%;display:block;border:none;padding:0;margin-top:-17px;width:30px;height:30px;background:transparent url("../../../base/images/icon-search-27x26.png") no-repeat center center;text-indent:-900em}.control-order-by{position:absolute;bottom:-65px;right:0}.control-order-by label,.control-order-by select{display:inline}.control-order-by select{width:160px}.resource-list{margin:0;list-style:none;margin:-10px -10px 10px -10px}.resource-item{position:relative;padding:10px 110px 10px 60px;margin-bottom:0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.resource-item:hover{background-color:#efefef}.resource-item .heading{color:#000000;font-size:14px;font-weight:bold}.resource-item .format-label{position:absolute;top:10px;left:10px}.resource-item .description{font-size:12px;margin-bottom:0}.resource-item .btn-group{position:absolute;top:13px;right:10px}.dataset-resource-form .dataset-form-resource-types{margin-bottom:5px}.dataset-form-resource-types .ckan-icon{position:relative;top:3px}.dataset-form-resource-types .radio{font-weight:normal;padding-left:0;padding-right:18px}.dataset-form-resource-types label{position:relative}.dataset-form-resource-types input[type=radio]:checked+label{font-weight:bold}.dataset-form-resource-types input[type=radio]:checked+label:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:16px;height:16px;background-position:-192px 0;display:block;content:"";position:absolute;top:auto;left:0;bottom:-12px}.dataset-form-resource-types input[type=radio]:checked+label:after:last-child{*margin-left:0}.dataset-form-resource-types input[type=radio]{display:none}.tag-list{margin:0;list-style:none;padding:10px}.tag-list li{display:inline-block;margin-right:5px}.tag-list li:last-child{margin-right:0}.additional-info td,.additional-info th{width:50%}.label[data-format=html],.label[data-format*=html]{background-color:#55a1ce}.label[data-format=json],.label[data-format*=json]{background-color:#ef7100}.label[data-format=xml],.label[data-format*=xml]{background-color:#ef7100}.label[data-format=text],.label[data-format*=text]{background-color:#74cbec}.label[data-format=csv],.label[data-format*=csv]{background-color:#dfb100}.label[data-format=xls],.label[data-format*=xls]{background-color:#2db55d}.label[data-format=zip],.label[data-format*=zip]{background-color:#686868}.label[data-format=api],.label[data-format*=api]{background-color:#ec96be}.label[data-format=pdf],.label[data-format*=pdf]{background-color:#e0051e}.label[data-format=rdf],.label[data-format*=rdf],.label[data-format*=nquad],.label[data-format*=ntriples],.label[data-format*=turtle]{background-color:#0b4498}.group .media-vertical .image{margin:0 -5px 5px}.group-list:nth-child(odd){clear:left}.group-list .module-heading{padding-top:15px;padding-bottom:15px}.group-list .dataset-content{min-height:54px}.group-list .module-heading h3{margin-bottom:2px}.group-list .module-heading h3 a{color:#333333}.toolbar{*zoom:1;margin-top:-10px;margin-bottom:10px;padding:5px 0}.toolbar:before,.toolbar:after{display:table;content:""}.toolbar:after{clear:both}.toolbar .breadcrumb{*zoom:1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;float:left;margin:0;padding:0;border:none;background:none;font-size:20px}.toolbar .breadcrumb:before,.toolbar .breadcrumb:after{display:table;content:""}.toolbar .breadcrumb:after{clear:both}.toolbar li [class^=icon]:before{width:auto}.toolbar .breadcrumb li:after{content:" / "}.toolbar .breadcrumb li.active:after{content:""}.toolbar .breadcrumb li:last-of-type:after{content:""}.toolbar .home a{text-decoration:none}.toolbar .home span{display:none}.toolbar .breadcrumb a{color:#505050;line-height:28px}.toolbar .breadcrumb .active a{font-weight:bold}.toolbar .actions{margin:0;list-style:none}.toolbar .actions li{display:inline-block;margin-right:5px}.toolbar .actions li{*display:inline;*zoom:1}.toolbar .actions li:last-of-type{margin-right:0}.toolbar .btn{padding:0 10px 0 8px;border-color:#b7b7b7;line-height:27px}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#f654f6;background-image:-moz-linear-gradient(top,#f544f5,#f76bf7);background-image:-ms-linear-gradient(top,#f544f5,#f76bf7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f544f5),to(#f76bf7));background-image:-webkit-linear-gradient(top,#f544f5,#f76bf7);background-image:-o-linear-gradient(top,#f544f5,#f76bf7);background-image:linear-gradient(top,#f544f5,#f76bf7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f544f5',endColorstr='#f76bf7',GradientType=0);border-color:#f76bf7 #f76bf7 #f322f3;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76bf7;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-primary:hover,.toolbar .btn-primary:active,.toolbar .btn-primary.active,.toolbar .btn-primary.disabled,.toolbar .btn-primary[disabled]{background-color:#f76bf7;*background-color:#f653f6}.toolbar .btn-primary:active,.toolbar .btn-primary.active{background-color:#f43bf4 \9}.toolbar .btn-primary .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-warning:hover,.toolbar .btn-warning:active,.toolbar .btn-warning.active,.toolbar .btn-warning.disabled,.toolbar .btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.toolbar .btn-warning:active,.toolbar .btn-warning.active{background-color:#c67605 \9}.toolbar .btn-warning .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-danger:hover,.toolbar .btn-danger:active,.toolbar .btn-danger.active,.toolbar .btn-danger.disabled,.toolbar .btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.toolbar .btn-danger:active,.toolbar .btn-danger.active{background-color:#942a25 \9}.toolbar .btn-danger .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-info:hover,.toolbar .btn-info:active,.toolbar .btn-info.active,.toolbar .btn-info.disabled,.toolbar .btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.toolbar .btn-info:active,.toolbar .btn-info.active{background-color:#24748c \9}.toolbar .btn-info .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-inverse:hover,.toolbar .btn-inverse:active,.toolbar .btn-inverse.active,.toolbar .btn-inverse.disabled,.toolbar .btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.toolbar .btn-inverse:active,.toolbar .btn-inverse.active{background-color:#080808 \9}.toolbar .btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.hide-heading{display:none}.page-header{position:relative;border-bottom:1px solid #d0d0d0;height:30px;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.page-header .nav-tabs{position:absolute;left:20px;bottom:-1px;margin-bottom:0}.page-header .nav-tabs i{margin-right:10px;font-size:14px}.page-header .nav-tabs a:hover{background-color:#ffffff}.prose h1,.prose heading-1 h2,.prose heading-2{margin-bottom:15px}.prose h3,.prose heading-3{margin-bottom:10px}.table-chunky td,.table-chunky th{padding:12px 15px;font-size:12px}.table-chunky thead th,.table-chunky thead td{color:#ffffff;background-color:#aaaaaa;padding-top:10px;padding-bottom:10px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:transparent}.table-striped tbody tr:nth-child(even) td,.table-striped tbody tr:nth-child(even) th{background-color:#f2f2f2}.table-chunky.table-bordered{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:first-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:2px;-moz-border-radius-topleft:2px;border-top-left-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:last-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:first-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 2px;-moz-border-radius:0 0 0 2px;border-radius:0 0 0 2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;border-bottom-left-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:last-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;border-bottom-right-radius:2px}.ckan-icon{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px}.ckan-icon:last-child{*margin-left:0}.ckan-icon-fb{width:16px;height:16px;background-position:0px 0}.ckan-icon-gplus{width:16px;height:16px;background-position:-16px 0}.ckan-icon-twitter{width:16px;height:16px;background-position:-32px 0}.ckan-icon-email{width:16px;height:16px;background-position:-48px 0}.ckan-icon-share{width:16px;height:16px;background-position:-64px 0}.ckan-icon-feed{width:16px;height:16px;background-position:-80px 0}.ckan-icon-calendar{width:16px;height:16px;background-position:-96px 0}.ckan-icon-file{width:16px;height:16px;background-position:-112px 0}.ckan-icon-lock{width:16px;height:16px;background-position:-128px 0}.ckan-icon-link-file{width:16px;height:16px;background-position:-144px 0}.ckan-icon-link-plugin{width:16px;height:16px;background-position:-160px 0}.ckan-icon-upload-file{width:16px;height:16px;background-position:-176px 0}.ckan-icon-callout{width:16px;height:16px;background-position:-192px 0}.ckan-icon-circle-cross{width:17px;height:17px;background-position:0px -16px}.ckan-icon-circle-add{width:17px;height:17px;background-position:-17px -16px}.ckan-icon-flame{width:17px;height:17px;background-position:-34px -16px}.ckan-icon-search{width:17px;height:17px;background-position:-51px -16px}.ckan-icon-large-lock{width:20px;height:20px;background-position:0px -33px}.ckan-icon-photo{width:20px;height:20px;background-position:-20px -33px}.ckan-icon-add{width:20px;height:20px;background-position:-40px -33px}.ckan-icon-home{width:20px;height:20px;background-position:-60px -33px}.ckan-icon-rewind{width:20px;height:20px;background-position:-80px -33px}.ckan-icon-tools{width:20px;height:20px;background-position:-100px -33px}.ckan-icon-flag{width:20px;height:20px;background-position:-120px -33px}.ckan-icon-clipboard{width:20px;height:20px;background-position:-140px -33px}.ckan-icon-share{width:20px;height:20px;background-position:-160px -33px}.ckan-icon-info{width:20px;height:20px;background-position:-180px -33px}.ckan-icon-download{width:20px;height:20px;background-position:-200px -33px}.ckan-icon-star{width:20px;height:20px;background-position:-220px -33px}.ckan-icon-info-flat{width:20px;height:20px;background-position:-240px -33px}.ckan-icon-tag{width:20px;height:20px;background-position:-260px -33px}.ckan-icon-plus{width:20px;height:20px;background-position:-280px -33px;width:16px}.ckan-icon-head{width:20px;height:20px;background-position:-300px -33px}.ckan-icon-arrow-e{width:20px;height:20px;background-position:-320px -33px;width:16px}.ckan-icon-bookmark{width:25px;height:25px;background-position:0px -53px}.format-label{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;text-indent:-900em;background:url("../../../base/images/sprite-resource-icons.png") no-repeat 0 0}.format-label:last-child{*margin-left:0}.format-label{width:32px;height:35px;background-position:0px -62px}.format-label[data-format=rdf],.format-label[data-format*=rdf]{width:32px;height:35px;background-position:-32px -62px}.format-label[data-format=pdf],.format-label[data-format*=pdf]{width:32px;height:35px;background-position:-64px -62px}.format-label[data-format=api],.format-label[data-format*=api]{width:32px;height:35px;background-position:-96px -62px}.format-label[data-format=zip],.format-label[data-format*=zip]{width:32px;height:35px;background-position:-128px -62px}.format-label[data-format=xls],.format-label[data-format*=xls]{width:32px;height:35px;background-position:-160px -62px}.format-label[data-format=csv],.format-label[data-format*=csv]{width:32px;height:35px;background-position:-192px -62px}.format-label[data-format=txt],.format-label[data-format*=txt]{width:32px;height:35px;background-position:-224px -62px}.format-label[data-format=xml],.format-label[data-format*=xml]{width:32px;height:35px;background-position:-256px -62px}.format-label[data-format=json],.format-label[data-format*=json]{width:32px;height:35px;background-position:-288px -62px}.format-label[data-format=html],.format-label[data-format*=html]{width:32px;height:35px;background-position:-320px -62px}li [class^="icon-"],li [class*=" icon-"]{width:auto}li .icon-large:before,li .icon-large:before{width:auto}[role=main],.main{position:relative;padding-top:27px;padding-bottom:27px;background-color:#efefef}[role=main]{min-height:350px}.main:after,.main:before,[role=main]:after,[role=main]:before{content:"";position:absolute;left:0;right:0;height:7px;background:#ffffff;border-color:#c9c9c9;border-style:solid;border-width:0}.main:before,[role=main]:before{top:0;border-bottom-width:1px}.main:after,[role=main]:after{bottom:0;border-top-width:1px}[role=main] .primary{float:left;margin-left:20px;width:700px;float:right}[role=main] .secondary{float:left;margin-left:20px;width:220px;margin-left:0;float:left}.primary>:last-child,.secondary>:last-child{margin-bottom:0}.hero{background:url("../../../base/images/background-tile.png")}.hero:after{background-color:rgba(0,0,0,0.09);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-ms-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-repeat:repeat-x;background-color:transparent;top:7px;bottom:auto;height:5px}.hero{padding-bottom:0;min-height:0}.hero>.container{position:relative;padding-bottom:0}.hero-primary,.hero-secondary{float:left;margin-left:20px;width:460px}.hero-primary{margin-left:0}.hero-primary{margin-left:0;margin-bottom:0}.hero-secondary{position:absolute;bottom:0;right:0}.hero-secondary-inner{bottom:0;left:0;right:0}.hero .module-popup{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin-top:50px}.hero .module-popup .module-content{padding-bottom:2px}.hero .page-heading{font-size:18px;margin-bottom:0}.hero .module-dark{padding:5px;margin-bottom:10px;color:#ffffff;background:#ffffff}.hero .module-dark .module-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#dc0bdc}.hero .module-dark .module-content .heading{margin-bottom:7px}.hero .tags{margin-bottom:9px}.hero .tags .tag,.hero .tags .tag-list{display:inline-block}.hero .tags .tag-list{padding:0}.hero .tags .tag{margin-right:15px}header.masthead{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#e512e5;background-image:-moz-linear-gradient(top,#dc0bdc,#f31df3);background-image:-ms-linear-gradient(top,#dc0bdc,#f31df3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dc0bdc),to(#f31df3));background-image:-webkit-linear-gradient(top,#dc0bdc,#f31df3);background-image:-o-linear-gradient(top,#dc0bdc,#f31df3);background-image:linear-gradient(top,#dc0bdc,#f31df3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dc0bdc',endColorstr='#f31df3',GradientType=0)}header.masthead:before,header.masthead:after{display:table;content:""}header.masthead:after{clear:both}header.masthead .container{position:relative}header.masthead a{color:#ffffff}header.masthead hgroup h1,header.masthead hgroup h2{float:left;font-size:34px;line-height:1.5}header.masthead hgroup h1{font-weight:900;letter-spacing:-1px}header.masthead hgroup h2{position:absolute;bottom:-3px;left:0;margin:0;font-size:15px;font-weight:normal;line-height:1.2;white-space:nowrap}header.masthead .content{position:absolute;top:10px;right:0}header.masthead .section{float:left}header.masthead .navigation{margin-right:20px}header.masthead .navigation ul.unstyled{*zoom:1;margin:5px 0}header.masthead .navigation ul.unstyled:before,header.masthead .navigation ul.unstyled:after{display:table;content:""}header.masthead .navigation ul.unstyled:after{clear:both}header.masthead .navigation ul.unstyled li{display:block;float:left}header.masthead .navigation ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}header.masthead .navigation ul.unstyled li a.active{background-color:#de17de;box-shadow:0 -1px 0 #b012b0,0 1px 0 #e130e1}header.masthead .site-search{margin:3px 0}header.masthead .site-search input{width:190px;font-size:11px;padding:4px}header.masthead .account{background:#ea0cea;padding:3px 5px;margin:2px 0 2px 30px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 2px 4px #d20bd2;-moz-box-shadow:inset 0 2px 4px #d20bd2;box-shadow:inset 0 2px 4px #d20bd2}header.masthead .account ul.unstyled{*zoom:1}header.masthead .account ul.unstyled:before,header.masthead .account ul.unstyled:after{display:table;content:""}header.masthead .account ul.unstyled:after{clear:both}header.masthead .account ul.unstyled li{display:block;float:left}header.masthead .account ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px}header.masthead .account ul.unstyled li a.sub{font-weight:300;border-left:1px solid #d20bd2}header.masthead .account .dropdown{float:left}header.masthead .account .button{display:block;text-decoration:none;background-color:#dc0bdc;color:#ee85ee;text-shadow:0 1px 1px #ab09ab;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 #f30ef3;-moz-box-shadow:inset 0 1px 0 #f30ef3;box-shadow:inset 0 1px 0 #f30ef3}header.masthead .account .image{margin:2px 0;padding:0 4px 0 0;overflow:hidden;font-size:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}header.masthead .account .image i{vertical-align:-1px}header.masthead .account .image img{opacity:0.7;border-right:1px solid #f31df3;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}header.masthead .account .notifications{padding:4px 8px 3px 8px;margin:2px 5px 2px 0}header.masthead .account .notifications.notifications-important{color:#ffffff;background-color:#c9403a;text-shadow:0 1px 1px #a3322d;-webkit-box-shadow:inset 0 1px 0 #ce534e;-moz-box-shadow:inset 0 1px 0 #ce534e;box-shadow:inset 0 1px 0 #ce534e}header.masthead .account .dropdown.open .image img,header.masthead .account .dropdown .image:hover img{opacity:1;border-right-color:#f64df6}header.masthead .account .dropdown.open .button,header.masthead .account .dropdown .button:hover{color:#ffffff;background-color:#ea6dea;-webkit-box-shadow:inset 0 1px 0 #ee85ee;-moz-box-shadow:inset 0 1px 0 #ee85ee;box-shadow:inset 0 1px 0 #ee85ee;text-decoration:none}header.masthead .account .dropdown.open .notifications-important,header.masthead .account .dropdown .notifications-important:hover{background-color:#d46762;text-shadow:0 1px 1px #c9403a;-webkit-box-shadow:inset 0 1px 0 #d97a76;-moz-box-shadow:inset 0 1px 0 #d97a76;box-shadow:inset 0 1px 0 #d97a76}header.masthead .account.authed{margin:0 0 0 30px}header.masthead .account.not-authed{padding-top:2px;padding-bottom:2px}header.masthead .dropdown-menu{margin-top:-1px}header.masthead .user-dropdown-menu a{color:#dc0bdc}header.masthead .user-dropdown-menu a:hover{color:#ffffff}header.masthead .debug{position:absolute;bottom:10px;left:10px;font-size:11px;color:rgba(255,255,255,0.5);line-height:1.2}.site-footer{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#e512e5;background-image:-moz-linear-gradient(top,#dc0bdc,#f31df3);background-image:-ms-linear-gradient(top,#dc0bdc,#f31df3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dc0bdc),to(#f31df3));background-image:-webkit-linear-gradient(top,#dc0bdc,#f31df3);background-image:-o-linear-gradient(top,#dc0bdc,#f31df3);background-image:linear-gradient(top,#dc0bdc,#f31df3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dc0bdc',endColorstr='#f31df3',GradientType=0);font-size:12px;padding:20px 0}.site-footer:before,.site-footer:after{display:table;content:""}.site-footer:after{clear:both}.site-footer,.site-footer label,.site-footer small{color:#ccdee3}.site-footer a{color:#ccdee3}.footer-links,.attribution{float:left;margin-left:20px;width:460px}.footer-links{margin-left:0}.footer-links li{display:inline-block;width:40%;margin-right:5%;margin-bottom:5px}.attribution small{color:#ccdee3;font-size:12px}.attribution .ckan-footer-logo{display:block;width:65px;height:21px;margin-top:2px;background:url("../../../base/images/ckan-logo-footer.png") no-repeat top left;text-indent:-900em}.lang-select{*zoom:1}.lang-select:before,.lang-select:after{display:table;content:""}.lang-select:after{clear:both}.lang-select label,.lang-select select,.lang-select .lang-container{float:left;margin-top:0}.lang-dropdown{color:#000000}.lang-dropdown li{width:auto}.lang-dropdown .select2-result-label[data-value]:before{content:"";display:inline-block;background-image:url("../../../base/images/flags.png");background-repeat:no-repeat;background-position:0 11px;width:17px;height:11px;position:relative;top:1px}.lang-dropdown .select2-result-label[data-value*="/en/"]:before{background-position:0 0}.lang-dropdown .select2-result-label[data-value*="/de/"]:before{background-position:0 -11px}.lang-dropdown .select2-result-label[data-value*="/fr/"]:before{background-position:0 -22px}.lang-dropdown .select2-result-label[data-value*="/it/"]:before{background-position:0 -33px}.lang-dropdown .select2-result-label[data-value*="/es/"]:before{background-position:0 -44px}.lang-dropdown .select2-result-label[data-value*="/pl/"]:before{background-position:0 -55px}.lang-dropdown .select2-result-label[data-value*="/ru/"]:before{background-position:0 -66px}.lang-dropdown .select2-result-label[data-value*="/nl/"]:before{background-position:0 -77px}.lang-dropdown .select2-result-label[data-value*="/sv/"]:before{background-position:0 -88px}.lang-dropdown .select2-result-label[data-value*="/no/"]:before{background-position:0 -99px}.lang-dropdown .select2-result-label[data-value*="/cs/"]:before,.lang-dropdown .select2-result-label[data-value*="/cs_CZ/"]:before{background-position:0 -110px}.lang-dropdown .select2-result-label[data-value*="/hu/"]:before{background-position:0 -121px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.lang-dropdown .select2-result-label[data-value*="/fi/"]:before{background-position:0 -143px}.lang-dropdown .select2-result-label[data-value*="/bg/"]:before{background-position:0 -154px}.lang-dropdown .select2-result-label[data-value*="/ca/"]:before{background-position:0 -165px}.lang-dropdown .select2-result-label[data-value*="/sq/"]:before{background-position:0 -176px}.lang-dropdown .select2-result-label[data-value*="/sr/"]:before,.lang-dropdown .select2-result-label[data-value*="/sr_Latn/"]:before{background-position:0 -187px}.lang-dropdown .select2-result-label[data-value*="/zh_TW/"]:before{background-position:0 -198px}.lang-dropdown .select2-result-label[data-value*="/lv/"]:before{background-position:0 -209px}.lang-dropdown .select2-result-label[data-value*="/sk/"]:before{background-position:0 -220px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.profile .empty,.profile .dataset-list{margin-bottom:20px}.profile-info .module-content{padding:15px}.profile-info .avatar{border:1px solid #DDD;padding:5px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.profile-info .avatar img,.profile-info .avatar a{display:block}.profile-info code{font-weight:normal;padding:0;margin:0}.profile-info h1.heading{margin:10px 0 5px 0;font-size:21px}.profile-info .info{margin-top:15px;padding-top:10px;border-top:1px dotted #DDD}.profile-info .info dl dd{margin-top:3px;margin-left:0}.profile-info .nums{*zoom:1;margin-top:15px;padding-top:10px;padding-bottom:0;border-top:1px dotted #DDD}.profile-info .nums:before,.profile-info .nums:after{display:table;content:""}.profile-info .nums:after{clear:both}.profile-info .nums dl{float:left;width:33%;margin:5px 0 0 0;color:#4d4d4d}.profile-info .nums dl dt{display:block;font-weight:300}.profile-info .nums dl dd{display:block;font-size:30px;font-weight:700;line-height:1.2;margin-left:0}.activity{margin:10px 0;padding:0;list-style-type:none;background:transparent url('../../../base/images/dotted.png') 14px 0 repeat-y}.activity .item{position:relative;margin:0 0 15px 0;padding:0;*zoom:1}.activity .item:before,.activity .item:after{display:table;content:""}.activity .item:after{clear:both}.activity .item i{display:block;float:left;width:30px;height:30px;line-height:30px;text-align:center;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,0.2);font-weight:normal;font-size:16px;margin-right:10px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px 2px rgba(0,0,0,0.2)}.activity .item .gravatar{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.activity .item .actor .gravatar{float:left;margin-top:-5px;margin-right:10px}.activity .item p{font-size:14px;line-height:1.5;margin:5px 0 0 0}.activity .item .date{color:#999;font-size:12px;white-space:nowrap;margin-left:5px}.activity .item .new{display:block;position:absolute;overflow:hidden;top:-3px;left:-3px;width:10px;height:10px;background-color:#A35647;border:1px solid #FFF;text-indent:-1000px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.2);box-shadow:0 1px 2px rgba(0,0,0,0.2)}.popover .about{margin-bottom:10px}.popover .popover-close{float:right;text-decoration:none}.activity .item i{background-color:#767dce}.activity .item.added-tag i{background-color:#6995a6}.activity .item.changed-group i{background-color:#767dce}.activity .item.changed-package i{background-color:#8c76ce}.activity .item.changed-package_extra i{background-color:#769ace}.activity .item.changed-resource i{background-color:#aa76ce}.activity .item.changed-user i{background-color:#76b8ce}.activity .item.deleted-group i{background-color:#b95252}.activity .item.deleted-package i{background-color:#b97452}.activity .item.deleted-package_extra i{background-color:#b95274}.activity .item.deleted-resource i{background-color:#b99752}.activity .item.new-group i{background-color:#69a67a}.activity .item.new-package i{background-color:#69a68e}.activity .item.new-package_extra i{background-color:#6ca669}.activity .item.new-resource i{background-color:#81a669}.activity .item.new-user i{background-color:#69a6a3}.activity .item.removed-tag i{background-color:#b95297}.activity .item.deleted-related-item i{background-color:#b9b952}.activity .item.follow-dataset i{background-color:#767dce}.activity .item.follow-user i{background-color:#8c76ce}.activity .item.new-related-item i{background-color:#95a669}.activity .item.follow-group i{background-color:#8ba669}.popover-context-loading .popover-title{display:none}.popover-context-loading .popover-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.popover-context-loading .popover-content img{vertical-align:-3px;margin-right:10px}.follower-list li{margin:0 0 15px 0}.follower-list .gravatar{vertical-align:-4px;margin-right:3px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.module-my-datasets .empty{padding:10px}body{background-color:#f31df3}[hidden]{display:none}table{table-layout:fixed}thead th{vertical-align:top}td,th{word-wrap:break-word}table .metric{width:140px}code{padding:2px 2px;color:#000000;font-weight:bold;border:none;background:none}pre{border:none;background:none;padding-left:0;padding-right:0}mark{background:#fdf7e9}blockquote p{font-size:1em}iframe{border:none}.embedded-content h1{font-size:1.4em}.embedded-content h2{font-size:1.4em}.embedded-content h3{font-size:1.2em}.popular{text-indent:-999em}.empty{color:#aeaeae;font-style:italic}.page-heading{margin-bottom:16px}.m-top{margin-top:15px}.m-left{margin-left:15px}.m-right{margin-right:15px}.m-bottom{margin-bottom:15px}.no-margin{margin:0}.reduced-margin{margin:3px 5px}.p-top{padding-top:15px}.p-left{padding-left:15px}.p-right{padding-right:15px}.p-bottom{padding-bottom:15px}.no-padding{padding:0}.reduced-padding{padding:3px 5px}.ie .lang-dropdown{position:relative;top:-20px}.ie .module,.ie .media-image{border:1px solid #cccccc}.ie .module-popup{border-bottom:none}.ie .banner{top:0;right:0;width:auto}.ie .group-listing{margin-left:-24px}.ie .toolbar .breadcrumb{filter:none}.ie .toolbar .breadcrumb li{float:left}.ie .toolbar .breadcrumb li:after{margin:0 0.2em}.ie9 .control-large input{height:56px}.ie9 .module{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3)}.ie7 .masthead nav ul li a.active,.ie8 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#e60be6;border-top:1px solid #cd0acd;border-bottom:1px solid #f30ef3}.ie8 .masthead .account a.image{display:block;width:25px;padding-right:10px;white-space:nowrap}.ie7 .alert{position:relative}.ie7 .alert .close{position:absolute;top:6px!important;right:20px}.ie7 .media-item{width:30%}.ie7 .tags .tag-list{*zoom:1}.ie7 .tags .tag-list:before,.ie7 .tags .tag-list:after{display:table;content:""}.ie7 .tags .tag-list:after{clear:both}.ie7 .tags .tag-list li{display:block;float:left}.ie7 .tags h3{float:left}.ie7 .tags .tag{display:block;border:1px solid #d0d0d0;background:#f5f5f5}.ie7 .search-giant input{width:95%}.ie7 .control-full input,.ie7 .control-full select,.ie7 .control-full textarea{width:95%}.ie7 .control-full.control-large .controls input{padding-bottom:20px}.ie7 .controls{position:relative}.ie7 .controls .info-block,.ie7 .controls .info-inline{position:absolute;top:0;right:0}.ie7 .form-horizontal .controls{margin-left:0}.ie7 .control-custom .checkbox{*display:inline;*zoom:1}.ie7 .stages{overflow:hidden;background-color:#ededed}.ie7 .stages li{height:30px;width:27.5%}.ie7 .stages li button,.ie7 .stages li span{display:block;height:30px;padding-left:20px}.ie7 .stages li button{height:50px}.ie7 .stages li .highlight{width:auto}.ie7 .masthead{position:relative;z-index:1}.ie7 .masthead .logo img,.ie7 .masthead nav{*display:inline;*zoom:1}.ie7 .masthead nav ul{margin-top:5px}.ie7 .masthead nav ul li{float:left}.ie7 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#e60be6;border-top:1px solid #cd0acd;border-bottom:1px solid #f30ef3}.ie7 .masthead .header-image{display:block}.ie7 .masthead .account .dropdown-menu{z-index:10000}.ie7 .footer-links{*zoom:1}.ie7 .footer-links:before,.ie7 .footer-links:after{display:table;content:""}.ie7 .footer-links:after{clear:both}.ie7 .footer-links li{float:left}.ie7 .module-narrow .nav-item.image{*zoom:1}.ie7 .module-narrow .nav-item.image:before,.ie7 .module-narrow .nav-item.image:after{display:table;content:""}.ie7 .module-narrow .nav-item.image:after{clear:both}.ie7 .nav-facet .nav-item.active a{content:'x'}.ie7 .toolbar .breadcrumb li{padding-right:10px;margin-right:5px;background:transparent url("../../../base/images/breadcrumb-slash-ie7.png") 100% 50% no-repeat}.ie7 .toolbar .breadcrumb li.active{background-image:none}.ie7 .module-heading{*zoom:1}.ie7 .module-heading:before,.ie7 .module-heading:after{display:table;content:""}.ie7 .module-heading:after{clear:both}.ie7 .module-heading .media-content{position:relative}.ie7 .module-heading .action{position:absolute;top:9px;right:10px}.ie7 .module-heading .media-image img{float:left}.ie7 .group-listing{position:relative;zoom:1} \ No newline at end of file diff --git a/ckan/public/base/css/green.min.css b/ckan/public/base/css/green.min.css deleted file mode 100644 index a052ba4efec..00000000000 --- a/ckan/public/base/css/green.min.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#4d4d4d;background-color:#efefef}a{color:#045b04;text-decoration:none}a:hover{color:#011201;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,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;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;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:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#ffffff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b55457;border-color:#b55457}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#954143;-webkit-box-shadow:0 0 6px #d49b9d;-moz-box-shadow:0 0 6px #d49b9d;box-shadow:0 0 6px #d49b9d}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b55457;background-color:#f8f0f0;border-color:#b55457}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999999}::-webkit-input-placeholder{color:#999999}.help-block,.help-inline{color:#555555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;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-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#045b04}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#ffffff,#eaeaea);background-image:-ms-linear-gradient(top,#ffffff,#eaeaea);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#eaeaea));background-image:-webkit-linear-gradient(top,#ffffff,#eaeaea);background-image:-o-linear-gradient(top,#ffffff,#eaeaea);background-image:linear-gradient(top,#ffffff,#eaeaea);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eaeaea',GradientType=0);border-color:#eaeaea #eaeaea #c4c4c4;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#eaeaea;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#eaeaea;*background-color:#dddddd}.btn:active,.btn.active{background-color:#d1d1d1 \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#099f33;background-image:-moz-linear-gradient(top,#0acf0a,#085871);background-image:-ms-linear-gradient(top,#0acf0a,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#0acf0a),to(#085871));background-image:-webkit-linear-gradient(top,#0acf0a,#085871);background-image:-o-linear-gradient(top,#0acf0a,#085871);background-image:linear-gradient(top,#0acf0a,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0acf0a',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#085871;*background-color:#064559}.btn-primary:active,.btn-primary.active{background-color:#053341 \9}.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*zoom:1;*margin-left:.3em}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn-group.open .btn.dropdown-toggle{background-color:#eaeaea}.btn-group.open .btn-primary.dropdown-toggle{background-color:#085871}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-danger,.alert-error{background-color:#f8f0f0;border-color:#c6898b;color:#b55457}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:18px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eeeeee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#045b04}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#045b04}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#045b04;border-bottom-color:#045b04;margin-top:6px}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#011201;border-bottom-color:#011201}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333}.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff}.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999999}.navbar .brand:hover{text-decoration:none}.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999999}.navbar .navbar-link:hover{color:#ffffff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#cccccc}.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{margin:0;padding:5px 5px 6px}.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222}.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333}.navbar .nav.pull-right{margin-left:10px;margin-right:0}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px}.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#ffffff;border-bottom-color:#ffffff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#ffffff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{left:auto;right:13px}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#ffffff,#f5f5f5);background-image:-ms-linear-gradient(top,#ffffff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ffffff,#f5f5f5);background-image:-o-linear-gradient(top,#ffffff,#f5f5f5);background-image:linear-gradient(top,#ffffff,#f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff}.breadcrumb .divider{padding:0 5px;color:#999999}.breadcrumb .active a{color:#333333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#045b04;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b55457}.label-important[href],.badge-important[href]{background-color:#954143}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#ffffff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}@font-face{font-family:'FontAwesome';src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot');src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.woff') format('woff'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:middle;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav-tabs [class^="icon-"],.btn [class*=" icon-"],.nav-tabs [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertical-align:initial}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-user-md:before{content:"\f200"}.pill{background-color:#cccccc;color:#ffffff;padding:1px 5px 1px 8px;margin-right:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pill a{color:#ffffff}.pill a.remove{font-size:11px}.tag{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#045b04;padding-left:10px;padding-right:5px;margin-right:11px}.tag:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.unstyled{margin:0;list-style:none}.simple-item{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-item:last-of-type{border-bottom:0}.simple-list{*zoom:1;margin:0;list-style:none}.simple-list:before,.simple-list:after{display:table;content:""}.simple-list:after{clear:both}.simple-list>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-list>li:last-of-type{border-bottom:0}.simple-list .ckan-icon{position:relative;top:0px}.module-narrow .simple-list>li{padding-left:15px;padding-right:15px;position:relative}.listing li{text-align:right;margin-bottom:5px}.listing .key{clear:right;font-weight:bold}.js .tab-content{display:none}.js .tab-content.active{display:block}.module{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.3);-moz-box-shadow:0 0 3px rgba(0,0,0,0.3);box-shadow:0 0 3px rgba(0,0,0,0.3);background-color:#ffffff;margin-bottom:20px}.module-heading{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:14px;line-height:1.3;padding:7px 25px;border-bottom:1px solid #d0d0d0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.module-heading-secondary{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-top:1px solid #d0d0d0}.module-heading [class^=icon]:before{font-size:1.2em;line-height:1;position:relative;top:1px;margin-right:0.1em}.module-heading .action{float:right;color:#8c8c8c;font-size:11px;text-decoration:underline}.module-content{padding:0 25px;margin:20px 0}.module-content:first-child{margin-top:0;padding-top:20px}.module-content:last-child{margin-bottom:0;padding-bottom:20px}.module-content>:last-child{margin-bottom:0}.module-border-top{border-top:1px dotted #cccccc}.module-border-bottom{border-bottom:1px dotted #cccccc}.module-footer{padding:7px 25px 7px;border-top:1px dotted #cccccc}.module .read-more{font-weight:bold;color:#000000}.module .pagination{height:34px;margin-bottom:0;border-top:1px solid #d0d0d0}.module .pagination>ul{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0}.module .pagination li a{border-top:none;border-bottom:none}.module .pagination li:first-child a,.module .pagination li:last-child a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.module .pagination li:first-child a{border-left-width:0}.module .pagination li:last-child a{border-right-width:0}.module .pagination li.active a{border-left-width:1px;border-right-width:1px}.module .action{text-align:center}.module-shallow .module-content{padding:10px;margin:0}.module-shallow .module-content:first-child{padding-top:10px}.module-shallow .module-content:last-child{padding-bottom:10px}.module-shallow small{font-size:11px;display:block}.module-narrow .module-heading,.module-narrow .module-content,.module-narrow .module-footer{padding-left:15px;padding-right:15px}.module-grid{margin:0;list-style:none;margin:0;list-style:none;*zoom:1;margin-left:-20px;padding:0}.module-grid:before,.module-grid:after{display:table;content:""}.module-grid:after{clear:both}.module-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left;float:left;margin-left:20px;width:460px;padding-top:10px;padding-bottom:10px;padding-right:50px;overflow:hidden;position:relative}.module-item.first{clear:left}.group .content img{margin:0 -5px 5px;max-width:initial}.group .content h3{font-size:14px;line-height:1.3}.group-listing{margin-left:-20px}.ckanext-datapreview{position:relative}.ckanext-datapreview>iframe{min-height:400px}.ckanext-datapreview>img{max-height:500px;max-width:100%;overflow:hidden}.package-info h4{margin-bottom:10px}.media{position:relative;overflow:hidden}.media-content>:last-child{margin-bottom:0}.media-heading{font-size:14px;line-height:1.3em;margin:5px 0}.media-image,.media .gravatar{position:relative;float:left;margin-right:10px;overflow:hidden}.media-image:after{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);box-shadow:inset 0 0 2px rgba(0,0,0,0.3);content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.media-image img{display:block;margin:0 auto}.media-vertical .media-image,.media-vertical .media-content{float:none;display:block}.media-vertical .media-image{margin-right:0;max-height:125px}.media-grid,ul.media-grid,ol.media-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px}.media-grid:before,ul.media-grid:before,ol.media-grid:before,.media-grid:after,ul.media-grid:after,ol.media-grid:after{display:table;content:""}.media-grid:after,ul.media-grid:after,ol.media-grid:after{clear:both}.media-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left}.media-item.first{clear:left}.media-item .media-content{min-height:63px}.related-item.expanded{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#ffffff;background-color:rgba(255,255,255,0.9);z-index:2}.media-wide{padding:0}.media-wide .media{float:left;margin-left:20px;width:460px}.media-overlay{position:relative;min-height:35px}.media-overlay .media-heading{position:absolute;left:0;right:0;bottom:0;padding:12px 10px;margin:0;background-color:#000;background-color:rgba(0,0,0,0.8);font-size:13px;color:#fff;z-index:1}.media-overlay .media-image{float:none;display:block;margin-right:0}.banner{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;position:absolute;top:15px;right:-35px;width:80px;color:#ffffff;background:#707070;padding:1px 20px;font-size:11px;text-align:center;text-transform:uppercase}.nav-simple{*zoom:1;margin:0;list-style:none;padding-bottom:0}.nav-simple:before,.nav-simple:after{display:table;content:""}.nav-simple:after{clear:both}.nav-simple>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.nav-simple>li:last-of-type{border-bottom:0}.nav-simple .ckan-icon{position:relative;top:0px}.nav-item>a{color:#333333;margin:-7px -25px;padding:7px 25px}.nav-item.active{background-color:#f2f2f2}.nav-item.active>a span{white-space:nowrap;overflow:hidden;display:block}.nav-item.active>a{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#045b04;padding-left:10px;padding-right:5px;margin-right:11px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:bold;position:relative;left:4px;margin-left:-25px;margin-right:-20px;padding-left:10px;padding-right:0px;padding:1px 22px}.nav-item.active>a:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.nav-item [class^=icon]{font-size:1.2em;margin:-1px 0 -1px -1px}.module-narrow .nav-item>a{padding-left:15px;padding-right:15px;position:relative}.module-narrow .nav-item.active>a{padding-left:12px;padding-right:12px}.module-narrow .nav-item.image{position:relative}.module-narrow .nav-item.image>a{padding-left:42px;padding-right:42px}.module-narrow .nav-item.image>img{position:absolute;top:50%;left:15px;width:20px;height:20px;margin-top:-10px;z-index:2}.nav-facet .nav-item>a:hover:after,.nav-facet .nav-item.active>a:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;content:"";position:absolute;top:50%;right:5px;margin-top:-8px}.nav-facet .nav-item>a:hover:after:last-child,.nav-facet .nav-item.active>a:after:last-child{*margin-left:0}.nav-facet .nav-item>a:hover:after{width:17px;height:17px;background-position:-17px -16px}.nav-facet .nav-item.active>a:after{width:17px;height:17px;background-position:0px -16px;right:3px}.js .js-hide{display:none}.js .js-hide.active{display:block}.btn,label{font-weight:bold}label{cursor:pointer;font-size:14px;line-height:2}label:after{content:":"}label.radio:after,label.checkbox:after{content:""}input,textarea,select,.uneditable-input{font-size:14px;padding:8px 10px}input[type=radio],input[type=checkbox]{position:relative;top:7px;padding:0;margin:0}input[type=radio].checkbox-onown,input[type=checkbox].checkbox-onown{top:0}select{margin-top:6px;padding:4px}textarea{max-width:100%}.input-prepend .add-on{padding:8px 8px;font-size:14px}.control-group .btn{position:relative;top:-2px}.control-full input,.control-full select,.control-full textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:auto;width:100%}.control-medium input,.control-medium select,.control-medium textarea{width:320px}.control-large input,.control-large .control-label{font-size:18px}.form-actions{background:none;margin-left:-25px;margin-right:-25px;margin-bottom:0;padding-bottom:0;text-align:right}.form-actions .action-info{float:left;width:50%;line-height:2;text-align:left;color:#707070;margin:0}.form-actions .action-info.small{font-size:11px;line-height:1.2}.form-horizontal .control-label{width:120px;line-height:1.3;padding-top:9px}.form-horizontal .control-large input,.form-horizontal .control-large .control-label{font-size:18px;line-height:2}.form-horizontal .control-large .control-label{padding-top:10px}.form-horizontal .controls{margin-left:130px}.form-horizontal .info-block{position:relative;display:block;font-size:11px;color:#aeaeae;line-height:1.3;padding:6px 0 6px 25px;margin-top:6px}.form-horizontal .info-inline{float:right;width:265px;margin-top:0}.form-horizontal .control-medium .info-block.info-inline{width:165px}.form-horizontal .info-block:before{font-size:2.2em;position:absolute;left:0;top:2px}.form-horizontal .info-inline:before{top:8px}.info-block .icon-large,.info-inline .icon-large{float:left;font-size:22px;margin-right:15px}.form-horizontal .info-block a{color:#aeaeae;text-decoration:underline}.form-horizontal .form-actions{padding-left:25px;padding-right:25px}.form-inline input{padding-bottom:9px}.form-inline select{margin-top:0}.form-inline .btn{margin-left:5px}.form-narrow label{margin-bottom:0}.form-narrow select{width:100%}.form-narrow .form-actions{margin-left:-15px;margin-right:-15px;padding:10px 15px 0}.form-select label{margin-right:5px}.simple-input label,.simple-input button{display:none}.simple-input .field{position:relative}.simple-input .field-bordered{border-bottom:1px dotted #cccccc}.simple-input .field input{width:100%;height:auto;margin:0 -7px;padding:7px 5px}.simple-input .field .btn-search{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:17px;height:17px;background-position:-51px -16px;position:absolute;display:block;height:17px;width:17px;top:50%;right:0;margin-top:-8px;background-color:transparent;border:none;text-indent:-999em}.simple-input .field .btn-search:last-child{*margin-left:0}.editor textarea{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:none}.editor .editor-info-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;float:none;padding:4px 10px;background:#ebebeb;width:auto;border:1px solid #cccccc;border-top:none;font-size:11px;color:#282828}.editor .editor-info-block a{color:#045b04;text-decoration:none}.control-custom{font-size:0}.control-custom label{margin-bottom:0}.control-custom input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:140px}.control-custom input:last-of-type{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.control-custom .checkbox{display:inline-block;margin-left:5px}.control-custom .checkbox input{width:auto}.control-custom.disabled label,.control-custom.disabled input{color:#aaaaaa;text-decoration:line-through;text-shadow:none}.control-custom.disabled input{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#f3f3f3}.control-custom.disabled .checkbox{color:#4d4d4d;text-decoration:none}.control-custom .checkbox.btn{-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;position:relative;top:0;left:5px;height:3px;width:8px;padding:3px 8px}.control-custom .checkbox.btn span{display:none;width:30px}.control-custom .checkbox.btn:before{position:relative;top:1px;left:-1px;color:#fff}.control-custom .checkbox.btn input{display:none}.control-custom.disabled .checkbox.btn{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#099f33;background-image:-moz-linear-gradient(top,#0acf0a,#085871);background-image:-ms-linear-gradient(top,#0acf0a,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#0acf0a),to(#085871));background-image:-webkit-linear-gradient(top,#0acf0a,#085871);background-image:-o-linear-gradient(top,#0acf0a,#085871);background-image:linear-gradient(top,#0acf0a,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0acf0a',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.control-custom.disabled .checkbox.btn:hover,.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active,.control-custom.disabled .checkbox.btn.disabled,.control-custom.disabled .checkbox.btn[disabled]{background-color:#085871;*background-color:#064559}.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active{background-color:#053341 \9}.control-custom.disabled .checkbox.btn .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert-danger a,.alert-error a{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea,.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{border-color:#c6898b}.error-inline{color:#b55457}.error-block,.error-inline{font-size:12px}.error-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;padding:6px 8px 3px;background:#c6898b;margin:-3px 0 0;color:#ffffff;width:216px}.control-medium .error-block{width:326px}.control-full .error-block{width:auto}.control-group.error .input-prepend .error-block,.control-custom.error .error-block{margin-left:-1px;width:auto}.control-custom.error .error-block{width:409px}.control-select.error .error-block{width:204px}.stages{margin:0;list-style:none;*zoom:1;color:#aeaeae;counter-reset:stage;margin:-20px -25px 20px;overflow:hidden}.stages:before,.stages:after{display:table;content:""}.stages:after{clear:both}.stages li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:27px;counter-increment:stage;width:33.33%;background-color:#ededed;float:left;padding:10px 20px;position:relative;z-index:0}.stages li:before{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;content:counter(stage);display:inline-block;width:27px;height:27px;margin-right:5px;font-weight:bold;text-align:center;color:#ffffff;background-color:#aeaeae;z-index:1}.stages li:after{left:0;border:solid rgba(237,237,237,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-top-color:#ededed;border-bottom-color:#ededed;border-width:29px;top:50%;margin-top:-29px;margin-left:-30px}.stages li.first,.stages li.first .highlight{-webkit-border-radius:3px 0 0 0;-moz-border-radius:3px 0 0 0;border-radius:3px 0 0 0}.stages li.last{position:relative;right:-1px}.stages li.last,.stages li.last .highlight{-webkit-border-radius:0 3px 0 0;-moz-border-radius:0 3px 0 0;border-radius:0 3px 0 0}.stages li.first:after{content:none;border:none}.stages li.active:after{border-color:rgba(140,198,138,0);border-top-color:#8cc68a;border-bottom-color:#8cc68a}.stages li.complete:after{border-color:rgba(197,226,196,0);border-top-color:#c5e2c4;border-bottom-color:#c5e2c4}.stages.stage-3 li.complete:first-child:after{content:none}.stages li.active,.stages li.complete{background:none}.stages li.active:before{color:#8cc68a;background:#ffffff}.stages li.complete:before{color:#c5e2c4;background:#eef6ed}.stages li .highlight{display:block;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;padding:10px 52px;border:none;text-align:left;text-decoration:none;line-height:27px;z-index:-1}.stages li.active .highlight{color:#ffffff;background:#8cc68a}.stages li.complete .highlight{color:#eef6ed;background:#c5e2c4}.alert>:last-child{margin-bottom:0}.slug-preview{font-size:14px;line-height:1.5;margin-top:5px;margin-left:10px}.slug-preview-value{background-color:#faedcf;margin-right:3px}.slug-preview .btn{padding-top:3px;padding-bottom:3px}.resource-upload-field{position:relative;overflow:hidden;display:inline-block;vertical-align:bottom}.resource-upload-field label{z-index:0}.resource-upload-field input{opacity:0;filter:alpha(opacity=0);position:absolute;top:0;right:0;z-index:1;margin:0;border:solid transparent;border-width:100px 0 0 200px;cursor:pointer;direction:ltr;-moz-transform:translate(-300px,0) scale(4)}.resource-upload-field.loading{display:inline-block;background:url("../../../base/images/loading-spinner.gif") no-repeat center right;padding-right:5px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{font-size:14px}.select2-container-multi .select2-choices .select2-search-field input{height:29px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{padding-left:10px}.select2-container{margin-top:5px}.select2-container-multi{margin-top:0}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 22px}.select2-container-multi.select2-container .select2-choices{padding-top:3px;padding-bottom:3px}.select2-search-choice-close,.select2-container-multi .select2-search-choice-close{top:6px;left:5px}.select2-container-multi .select2-choices{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;background-color:#ffffff;border:1px solid #cccccc}.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.select2-container-multi .select2-drop{margin-top:-2px}.select2-container .select2-results li{line-height:18px;padding-top:4px;padding-bottom:4px}.control-full .select2-container{width:520px!important}.dataset-item{border-bottom:1px dotted #cccccc;padding-bottom:20px;margin-bottom:20px}.dataset-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.dataset-heading{font-size:14px;line-height:1.3}.dataset-heading a{color:#333333}.dataset-heading .label{position:relative;top:-1px}.dataset-content{font-size:12px}.dataset-resources{font-size:10px;line-height:14px;margin-top:5px}.dataset-resources li{display:inline}.dataset-resources li a{background-color:#aaaaaa}.dataset-heading .popular{top:0}.results{margin-bottom:20px;padding-bottom:25px;border-bottom:1px dotted #cccccc}.results strong{display:block;font-size:24px;line-height:1.3;color:#000000;margin-bottom:10px}.results strong:before{float:right;content:" ";width:280px;white-space:pre}.filter-list{color:#4d4d4d;font-weight:bold}.filter-list .extra{margin-top:10px;font-size:18px;font-weight:normal;color:#000000}.dataset-search{position:relative}.search-giant{position:relative}.search-giant input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:16px;padding:14px 10px;width:100%;height:auto}.search-giant button{cursor:pointer;position:absolute;right:15px;top:50%;display:block;border:none;padding:0;margin-top:-17px;width:30px;height:30px;background:transparent url("../../../base/images/icon-search-27x26.png") no-repeat center center;text-indent:-900em}.control-order-by{position:absolute;bottom:-65px;right:0}.control-order-by label,.control-order-by select{display:inline}.control-order-by select{width:160px}.resource-list{margin:0;list-style:none;margin:-10px -10px 10px -10px}.resource-item{position:relative;padding:10px 110px 10px 60px;margin-bottom:0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.resource-item:hover{background-color:#efefef}.resource-item .heading{color:#000000;font-size:14px;font-weight:bold}.resource-item .format-label{position:absolute;top:10px;left:10px}.resource-item .description{font-size:12px;margin-bottom:0}.resource-item .btn-group{position:absolute;top:13px;right:10px}.dataset-resource-form .dataset-form-resource-types{margin-bottom:5px}.dataset-form-resource-types .ckan-icon{position:relative;top:3px}.dataset-form-resource-types .radio{font-weight:normal;padding-left:0;padding-right:18px}.dataset-form-resource-types label{position:relative}.dataset-form-resource-types input[type=radio]:checked+label{font-weight:bold}.dataset-form-resource-types input[type=radio]:checked+label:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:16px;height:16px;background-position:-192px 0;display:block;content:"";position:absolute;top:auto;left:0;bottom:-12px}.dataset-form-resource-types input[type=radio]:checked+label:after:last-child{*margin-left:0}.dataset-form-resource-types input[type=radio]{display:none}.tag-list{margin:0;list-style:none;padding:10px}.tag-list li{display:inline-block;margin-right:5px}.tag-list li:last-child{margin-right:0}.additional-info td,.additional-info th{width:50%}.label[data-format=html],.label[data-format*=html]{background-color:#55a1ce}.label[data-format=json],.label[data-format*=json]{background-color:#ef7100}.label[data-format=xml],.label[data-format*=xml]{background-color:#ef7100}.label[data-format=text],.label[data-format*=text]{background-color:#74cbec}.label[data-format=csv],.label[data-format*=csv]{background-color:#dfb100}.label[data-format=xls],.label[data-format*=xls]{background-color:#2db55d}.label[data-format=zip],.label[data-format*=zip]{background-color:#686868}.label[data-format=api],.label[data-format*=api]{background-color:#ec96be}.label[data-format=pdf],.label[data-format*=pdf]{background-color:#e0051e}.label[data-format=rdf],.label[data-format*=rdf],.label[data-format*=nquad],.label[data-format*=ntriples],.label[data-format*=turtle]{background-color:#0b4498}.group .media-vertical .image{margin:0 -5px 5px}.group-list:nth-child(odd){clear:left}.group-list .module-heading{padding-top:15px;padding-bottom:15px}.group-list .dataset-content{min-height:54px}.group-list .module-heading h3{margin-bottom:2px}.group-list .module-heading h3 a{color:#333333}.toolbar{*zoom:1;margin-top:-10px;margin-bottom:10px;padding:5px 0}.toolbar:before,.toolbar:after{display:table;content:""}.toolbar:after{clear:both}.toolbar .breadcrumb{*zoom:1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;float:left;margin:0;padding:0;border:none;background:none;font-size:20px}.toolbar .breadcrumb:before,.toolbar .breadcrumb:after{display:table;content:""}.toolbar .breadcrumb:after{clear:both}.toolbar li [class^=icon]:before{width:auto}.toolbar .breadcrumb li:after{content:" / "}.toolbar .breadcrumb li.active:after{content:""}.toolbar .breadcrumb li:last-of-type:after{content:""}.toolbar .home a{text-decoration:none}.toolbar .home span{display:none}.toolbar .breadcrumb a{color:#505050;line-height:28px}.toolbar .breadcrumb .active a{font-weight:bold}.toolbar .actions{margin:0;list-style:none}.toolbar .actions li{display:inline-block;margin-right:5px}.toolbar .actions li{*display:inline;*zoom:1}.toolbar .actions li:last-of-type{margin-right:0}.toolbar .btn{padding:0 10px 0 8px;border-color:#b7b7b7;line-height:27px}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#099f33;background-image:-moz-linear-gradient(top,#0acf0a,#085871);background-image:-ms-linear-gradient(top,#0acf0a,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#0acf0a),to(#085871));background-image:-webkit-linear-gradient(top,#0acf0a,#085871);background-image:-o-linear-gradient(top,#0acf0a,#085871);background-image:linear-gradient(top,#0acf0a,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0acf0a',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-primary:hover,.toolbar .btn-primary:active,.toolbar .btn-primary.active,.toolbar .btn-primary.disabled,.toolbar .btn-primary[disabled]{background-color:#085871;*background-color:#064559}.toolbar .btn-primary:active,.toolbar .btn-primary.active{background-color:#053341 \9}.toolbar .btn-primary .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-warning:hover,.toolbar .btn-warning:active,.toolbar .btn-warning.active,.toolbar .btn-warning.disabled,.toolbar .btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.toolbar .btn-warning:active,.toolbar .btn-warning.active{background-color:#c67605 \9}.toolbar .btn-warning .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-danger:hover,.toolbar .btn-danger:active,.toolbar .btn-danger.active,.toolbar .btn-danger.disabled,.toolbar .btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.toolbar .btn-danger:active,.toolbar .btn-danger.active{background-color:#942a25 \9}.toolbar .btn-danger .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-info:hover,.toolbar .btn-info:active,.toolbar .btn-info.active,.toolbar .btn-info.disabled,.toolbar .btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.toolbar .btn-info:active,.toolbar .btn-info.active{background-color:#24748c \9}.toolbar .btn-info .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-inverse:hover,.toolbar .btn-inverse:active,.toolbar .btn-inverse.active,.toolbar .btn-inverse.disabled,.toolbar .btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.toolbar .btn-inverse:active,.toolbar .btn-inverse.active{background-color:#080808 \9}.toolbar .btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.hide-heading{display:none}.page-header{position:relative;border-bottom:1px solid #d0d0d0;height:30px;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.page-header .nav-tabs{position:absolute;left:20px;bottom:-1px;margin-bottom:0}.page-header .nav-tabs i{margin-right:10px;font-size:14px}.page-header .nav-tabs a:hover{background-color:#ffffff}.prose h1,.prose heading-1 h2,.prose heading-2{margin-bottom:15px}.prose h3,.prose heading-3{margin-bottom:10px}.table-chunky td,.table-chunky th{padding:12px 15px;font-size:12px}.table-chunky thead th,.table-chunky thead td{color:#ffffff;background-color:#aaaaaa;padding-top:10px;padding-bottom:10px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:transparent}.table-striped tbody tr:nth-child(even) td,.table-striped tbody tr:nth-child(even) th{background-color:#f2f2f2}.table-chunky.table-bordered{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:first-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:2px;-moz-border-radius-topleft:2px;border-top-left-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:last-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:first-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 2px;-moz-border-radius:0 0 0 2px;border-radius:0 0 0 2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;border-bottom-left-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:last-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;border-bottom-right-radius:2px}.ckan-icon{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px}.ckan-icon:last-child{*margin-left:0}.ckan-icon-fb{width:16px;height:16px;background-position:0px 0}.ckan-icon-gplus{width:16px;height:16px;background-position:-16px 0}.ckan-icon-twitter{width:16px;height:16px;background-position:-32px 0}.ckan-icon-email{width:16px;height:16px;background-position:-48px 0}.ckan-icon-share{width:16px;height:16px;background-position:-64px 0}.ckan-icon-feed{width:16px;height:16px;background-position:-80px 0}.ckan-icon-calendar{width:16px;height:16px;background-position:-96px 0}.ckan-icon-file{width:16px;height:16px;background-position:-112px 0}.ckan-icon-lock{width:16px;height:16px;background-position:-128px 0}.ckan-icon-link-file{width:16px;height:16px;background-position:-144px 0}.ckan-icon-link-plugin{width:16px;height:16px;background-position:-160px 0}.ckan-icon-upload-file{width:16px;height:16px;background-position:-176px 0}.ckan-icon-callout{width:16px;height:16px;background-position:-192px 0}.ckan-icon-circle-cross{width:17px;height:17px;background-position:0px -16px}.ckan-icon-circle-add{width:17px;height:17px;background-position:-17px -16px}.ckan-icon-flame{width:17px;height:17px;background-position:-34px -16px}.ckan-icon-search{width:17px;height:17px;background-position:-51px -16px}.ckan-icon-large-lock{width:20px;height:20px;background-position:0px -33px}.ckan-icon-photo{width:20px;height:20px;background-position:-20px -33px}.ckan-icon-add{width:20px;height:20px;background-position:-40px -33px}.ckan-icon-home{width:20px;height:20px;background-position:-60px -33px}.ckan-icon-rewind{width:20px;height:20px;background-position:-80px -33px}.ckan-icon-tools{width:20px;height:20px;background-position:-100px -33px}.ckan-icon-flag{width:20px;height:20px;background-position:-120px -33px}.ckan-icon-clipboard{width:20px;height:20px;background-position:-140px -33px}.ckan-icon-share{width:20px;height:20px;background-position:-160px -33px}.ckan-icon-info{width:20px;height:20px;background-position:-180px -33px}.ckan-icon-download{width:20px;height:20px;background-position:-200px -33px}.ckan-icon-star{width:20px;height:20px;background-position:-220px -33px}.ckan-icon-info-flat{width:20px;height:20px;background-position:-240px -33px}.ckan-icon-tag{width:20px;height:20px;background-position:-260px -33px}.ckan-icon-plus{width:20px;height:20px;background-position:-280px -33px;width:16px}.ckan-icon-head{width:20px;height:20px;background-position:-300px -33px}.ckan-icon-arrow-e{width:20px;height:20px;background-position:-320px -33px;width:16px}.ckan-icon-bookmark{width:25px;height:25px;background-position:0px -53px}.format-label{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;text-indent:-900em;background:url("../../../base/images/sprite-resource-icons.png") no-repeat 0 0}.format-label:last-child{*margin-left:0}.format-label{width:32px;height:35px;background-position:0px -62px}.format-label[data-format=rdf],.format-label[data-format*=rdf]{width:32px;height:35px;background-position:-32px -62px}.format-label[data-format=pdf],.format-label[data-format*=pdf]{width:32px;height:35px;background-position:-64px -62px}.format-label[data-format=api],.format-label[data-format*=api]{width:32px;height:35px;background-position:-96px -62px}.format-label[data-format=zip],.format-label[data-format*=zip]{width:32px;height:35px;background-position:-128px -62px}.format-label[data-format=xls],.format-label[data-format*=xls]{width:32px;height:35px;background-position:-160px -62px}.format-label[data-format=csv],.format-label[data-format*=csv]{width:32px;height:35px;background-position:-192px -62px}.format-label[data-format=txt],.format-label[data-format*=txt]{width:32px;height:35px;background-position:-224px -62px}.format-label[data-format=xml],.format-label[data-format*=xml]{width:32px;height:35px;background-position:-256px -62px}.format-label[data-format=json],.format-label[data-format*=json]{width:32px;height:35px;background-position:-288px -62px}.format-label[data-format=html],.format-label[data-format*=html]{width:32px;height:35px;background-position:-320px -62px}li [class^="icon-"],li [class*=" icon-"]{width:auto}li .icon-large:before,li .icon-large:before{width:auto}[role=main],.main{position:relative;padding-top:27px;padding-bottom:27px;background-color:#efefef}[role=main]{min-height:350px}.main:after,.main:before,[role=main]:after,[role=main]:before{content:"";position:absolute;left:0;right:0;height:7px;background:#ffffff;border-color:#c9c9c9;border-style:solid;border-width:0}.main:before,[role=main]:before{top:0;border-bottom-width:1px}.main:after,[role=main]:after{bottom:0;border-top-width:1px}[role=main] .primary{float:left;margin-left:20px;width:700px;float:right}[role=main] .secondary{float:left;margin-left:20px;width:220px;margin-left:0;float:left}.primary>:last-child,.secondary>:last-child{margin-bottom:0}.hero{background:url("../../../base/images/background-tile.png")}.hero:after{background-color:rgba(0,0,0,0.09);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-ms-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-repeat:repeat-x;background-color:transparent;top:7px;bottom:auto;height:5px}.hero{padding-bottom:0;min-height:0}.hero>.container{position:relative;padding-bottom:0}.hero-primary,.hero-secondary{float:left;margin-left:20px;width:460px}.hero-primary{margin-left:0}.hero-primary{margin-left:0;margin-bottom:0}.hero-secondary{position:absolute;bottom:0;right:0}.hero-secondary-inner{bottom:0;left:0;right:0}.hero .module-popup{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin-top:50px}.hero .module-popup .module-content{padding-bottom:2px}.hero .page-heading{font-size:18px;margin-bottom:0}.hero .module-dark{padding:5px;margin-bottom:10px;color:#ffffff;background:#ffffff}.hero .module-dark .module-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#068106}.hero .module-dark .module-content .heading{margin-bottom:7px}.hero .tags{margin-bottom:9px}.hero .tags .tag,.hero .tags .tag-list{display:inline-block}.hero .tags .tag-list{padding:0}.hero .tags .tag{margin-right:15px}header.masthead{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#079107;background-image:-moz-linear-gradient(top,#068106,#08a808);background-image:-ms-linear-gradient(top,#068106,#08a808);background-image:-webkit-gradient(linear,0 0,0 100%,from(#068106),to(#08a808));background-image:-webkit-linear-gradient(top,#068106,#08a808);background-image:-o-linear-gradient(top,#068106,#08a808);background-image:linear-gradient(top,#068106,#08a808);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#068106',endColorstr='#08a808',GradientType=0)}header.masthead:before,header.masthead:after{display:table;content:""}header.masthead:after{clear:both}header.masthead .container{position:relative}header.masthead a{color:#ffffff}header.masthead hgroup h1,header.masthead hgroup h2{float:left;font-size:34px;line-height:1.5}header.masthead hgroup h1{font-weight:900;letter-spacing:-1px}header.masthead hgroup h2{position:absolute;bottom:-3px;left:0;margin:0;font-size:15px;font-weight:normal;line-height:1.2;white-space:nowrap}header.masthead .content{position:absolute;top:10px;right:0}header.masthead .section{float:left}header.masthead .navigation{margin-right:20px}header.masthead .navigation ul.unstyled{*zoom:1;margin:5px 0}header.masthead .navigation ul.unstyled:before,header.masthead .navigation ul.unstyled:after{display:table;content:""}header.masthead .navigation ul.unstyled:after{clear:both}header.masthead .navigation ul.unstyled li{display:block;float:left}header.masthead .navigation ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}header.masthead .navigation ul.unstyled li a.active{background-color:#128712;box-shadow:0 -1px 0 #0c5a0c,0 1px 0 #2b942b}header.masthead .site-search{margin:3px 0}header.masthead .site-search input{width:190px;font-size:11px;padding:4px}header.masthead .account{background:#079007;padding:3px 5px;margin:2px 0 2px 30px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 2px 4px #067706;-moz-box-shadow:inset 0 2px 4px #067706;box-shadow:inset 0 2px 4px #067706}header.masthead .account ul.unstyled{*zoom:1}header.masthead .account ul.unstyled:before,header.masthead .account ul.unstyled:after{display:table;content:""}header.masthead .account ul.unstyled:after{clear:both}header.masthead .account ul.unstyled li{display:block;float:left}header.masthead .account ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px}header.masthead .account ul.unstyled li a.sub{font-weight:300;border-left:1px solid #067706}header.masthead .account .dropdown{float:left}header.masthead .account .button{display:block;text-decoration:none;background-color:#068106;color:#83c083;text-shadow:0 1px 1px #045004;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 #079907;-moz-box-shadow:inset 0 1px 0 #079907;box-shadow:inset 0 1px 0 #079907}header.masthead .account .image{margin:2px 0;padding:0 4px 0 0;overflow:hidden;font-size:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}header.masthead .account .image i{vertical-align:-1px}header.masthead .account .image img{opacity:0.7;border-right:1px solid #08a808;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}header.masthead .account .notifications{padding:4px 8px 3px 8px;margin:2px 5px 2px 0}header.masthead .account .notifications.notifications-important{color:#ffffff;background-color:#c9403a;text-shadow:0 1px 1px #a3322d;-webkit-box-shadow:inset 0 1px 0 #ce534e;-moz-box-shadow:inset 0 1px 0 #ce534e;box-shadow:inset 0 1px 0 #ce534e}header.masthead .account .dropdown.open .image img,header.masthead .account .dropdown .image:hover img{opacity:1;border-right-color:#0ad90a}header.masthead .account .dropdown.open .button,header.masthead .account .dropdown .button:hover{color:#ffffff;background-color:#6ab36a;-webkit-box-shadow:inset 0 1px 0 #83c083;-moz-box-shadow:inset 0 1px 0 #83c083;box-shadow:inset 0 1px 0 #83c083;text-decoration:none}header.masthead .account .dropdown.open .notifications-important,header.masthead .account .dropdown .notifications-important:hover{background-color:#d46762;text-shadow:0 1px 1px #c9403a;-webkit-box-shadow:inset 0 1px 0 #d97a76;-moz-box-shadow:inset 0 1px 0 #d97a76;box-shadow:inset 0 1px 0 #d97a76}header.masthead .account.authed{margin:0 0 0 30px}header.masthead .account.not-authed{padding-top:2px;padding-bottom:2px}header.masthead .dropdown-menu{margin-top:-1px}header.masthead .user-dropdown-menu a{color:#068106}header.masthead .user-dropdown-menu a:hover{color:#ffffff}header.masthead .debug{position:absolute;bottom:10px;left:10px;font-size:11px;color:rgba(255,255,255,0.5);line-height:1.2}.site-footer{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#079107;background-image:-moz-linear-gradient(top,#068106,#08a808);background-image:-ms-linear-gradient(top,#068106,#08a808);background-image:-webkit-gradient(linear,0 0,0 100%,from(#068106),to(#08a808));background-image:-webkit-linear-gradient(top,#068106,#08a808);background-image:-o-linear-gradient(top,#068106,#08a808);background-image:linear-gradient(top,#068106,#08a808);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#068106',endColorstr='#08a808',GradientType=0);font-size:12px;padding:20px 0}.site-footer:before,.site-footer:after{display:table;content:""}.site-footer:after{clear:both}.site-footer,.site-footer label,.site-footer small{color:#ccdee3}.site-footer a{color:#ccdee3}.footer-links,.attribution{float:left;margin-left:20px;width:460px}.footer-links{margin-left:0}.footer-links li{display:inline-block;width:40%;margin-right:5%;margin-bottom:5px}.attribution small{color:#ccdee3;font-size:12px}.attribution .ckan-footer-logo{display:block;width:65px;height:21px;margin-top:2px;background:url("../../../base/images/ckan-logo-footer.png") no-repeat top left;text-indent:-900em}.lang-select{*zoom:1}.lang-select:before,.lang-select:after{display:table;content:""}.lang-select:after{clear:both}.lang-select label,.lang-select select,.lang-select .lang-container{float:left;margin-top:0}.lang-dropdown{color:#000000}.lang-dropdown li{width:auto}.lang-dropdown .select2-result-label[data-value]:before{content:"";display:inline-block;background-image:url("../../../base/images/flags.png");background-repeat:no-repeat;background-position:0 11px;width:17px;height:11px;position:relative;top:1px}.lang-dropdown .select2-result-label[data-value*="/en/"]:before{background-position:0 0}.lang-dropdown .select2-result-label[data-value*="/de/"]:before{background-position:0 -11px}.lang-dropdown .select2-result-label[data-value*="/fr/"]:before{background-position:0 -22px}.lang-dropdown .select2-result-label[data-value*="/it/"]:before{background-position:0 -33px}.lang-dropdown .select2-result-label[data-value*="/es/"]:before{background-position:0 -44px}.lang-dropdown .select2-result-label[data-value*="/pl/"]:before{background-position:0 -55px}.lang-dropdown .select2-result-label[data-value*="/ru/"]:before{background-position:0 -66px}.lang-dropdown .select2-result-label[data-value*="/nl/"]:before{background-position:0 -77px}.lang-dropdown .select2-result-label[data-value*="/sv/"]:before{background-position:0 -88px}.lang-dropdown .select2-result-label[data-value*="/no/"]:before{background-position:0 -99px}.lang-dropdown .select2-result-label[data-value*="/cs/"]:before,.lang-dropdown .select2-result-label[data-value*="/cs_CZ/"]:before{background-position:0 -110px}.lang-dropdown .select2-result-label[data-value*="/hu/"]:before{background-position:0 -121px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.lang-dropdown .select2-result-label[data-value*="/fi/"]:before{background-position:0 -143px}.lang-dropdown .select2-result-label[data-value*="/bg/"]:before{background-position:0 -154px}.lang-dropdown .select2-result-label[data-value*="/ca/"]:before{background-position:0 -165px}.lang-dropdown .select2-result-label[data-value*="/sq/"]:before{background-position:0 -176px}.lang-dropdown .select2-result-label[data-value*="/sr/"]:before,.lang-dropdown .select2-result-label[data-value*="/sr_Latn/"]:before{background-position:0 -187px}.lang-dropdown .select2-result-label[data-value*="/zh_TW/"]:before{background-position:0 -198px}.lang-dropdown .select2-result-label[data-value*="/lv/"]:before{background-position:0 -209px}.lang-dropdown .select2-result-label[data-value*="/sk/"]:before{background-position:0 -220px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.profile .empty,.profile .dataset-list{margin-bottom:20px}.profile-info .module-content{padding:15px}.profile-info .avatar{border:1px solid #DDD;padding:5px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.profile-info .avatar img,.profile-info .avatar a{display:block}.profile-info code{font-weight:normal;padding:0;margin:0}.profile-info h1.heading{margin:10px 0 5px 0;font-size:21px}.profile-info .info{margin-top:15px;padding-top:10px;border-top:1px dotted #DDD}.profile-info .info dl dd{margin-top:3px;margin-left:0}.profile-info .nums{*zoom:1;margin-top:15px;padding-top:10px;padding-bottom:0;border-top:1px dotted #DDD}.profile-info .nums:before,.profile-info .nums:after{display:table;content:""}.profile-info .nums:after{clear:both}.profile-info .nums dl{float:left;width:33%;margin:5px 0 0 0;color:#4d4d4d}.profile-info .nums dl dt{display:block;font-weight:300}.profile-info .nums dl dd{display:block;font-size:30px;font-weight:700;line-height:1.2;margin-left:0}.activity{margin:10px 0;padding:0;list-style-type:none;background:transparent url('../../../base/images/dotted.png') 14px 0 repeat-y}.activity .item{position:relative;margin:0 0 15px 0;padding:0;*zoom:1}.activity .item:before,.activity .item:after{display:table;content:""}.activity .item:after{clear:both}.activity .item i{display:block;float:left;width:30px;height:30px;line-height:30px;text-align:center;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,0.2);font-weight:normal;font-size:16px;margin-right:10px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px 2px rgba(0,0,0,0.2)}.activity .item .gravatar{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.activity .item .actor .gravatar{float:left;margin-top:-5px;margin-right:10px}.activity .item p{font-size:14px;line-height:1.5;margin:5px 0 0 0}.activity .item .date{color:#999;font-size:12px;white-space:nowrap;margin-left:5px}.activity .item .new{display:block;position:absolute;overflow:hidden;top:-3px;left:-3px;width:10px;height:10px;background-color:#A35647;border:1px solid #FFF;text-indent:-1000px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.2);box-shadow:0 1px 2px rgba(0,0,0,0.2)}.popover .about{margin-bottom:10px}.popover .popover-close{float:right;text-decoration:none}.activity .item i{background-color:#767dce}.activity .item.added-tag i{background-color:#6995a6}.activity .item.changed-group i{background-color:#767dce}.activity .item.changed-package i{background-color:#8c76ce}.activity .item.changed-package_extra i{background-color:#769ace}.activity .item.changed-resource i{background-color:#aa76ce}.activity .item.changed-user i{background-color:#76b8ce}.activity .item.deleted-group i{background-color:#b95252}.activity .item.deleted-package i{background-color:#b97452}.activity .item.deleted-package_extra i{background-color:#b95274}.activity .item.deleted-resource i{background-color:#b99752}.activity .item.new-group i{background-color:#69a67a}.activity .item.new-package i{background-color:#69a68e}.activity .item.new-package_extra i{background-color:#6ca669}.activity .item.new-resource i{background-color:#81a669}.activity .item.new-user i{background-color:#69a6a3}.activity .item.removed-tag i{background-color:#b95297}.activity .item.deleted-related-item i{background-color:#b9b952}.activity .item.follow-dataset i{background-color:#767dce}.activity .item.follow-user i{background-color:#8c76ce}.activity .item.new-related-item i{background-color:#95a669}.activity .item.follow-group i{background-color:#8ba669}.popover-context-loading .popover-title{display:none}.popover-context-loading .popover-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.popover-context-loading .popover-content img{vertical-align:-3px;margin-right:10px}.follower-list li{margin:0 0 15px 0}.follower-list .gravatar{vertical-align:-4px;margin-right:3px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.module-my-datasets .empty{padding:10px}body{background-color:#08a808}[hidden]{display:none}table{table-layout:fixed}thead th{vertical-align:top}td,th{word-wrap:break-word}table .metric{width:140px}code{padding:2px 2px;color:#000000;font-weight:bold;border:none;background:none}pre{border:none;background:none;padding-left:0;padding-right:0}mark{background:#fdf7e9}blockquote p{font-size:1em}iframe{border:none}.embedded-content h1{font-size:1.4em}.embedded-content h2{font-size:1.4em}.embedded-content h3{font-size:1.2em}.popular{text-indent:-999em}.empty{color:#aeaeae;font-style:italic}.page-heading{margin-bottom:16px}.m-top{margin-top:15px}.m-left{margin-left:15px}.m-right{margin-right:15px}.m-bottom{margin-bottom:15px}.no-margin{margin:0}.reduced-margin{margin:3px 5px}.p-top{padding-top:15px}.p-left{padding-left:15px}.p-right{padding-right:15px}.p-bottom{padding-bottom:15px}.no-padding{padding:0}.reduced-padding{padding:3px 5px}.ie .lang-dropdown{position:relative;top:-20px}.ie .module,.ie .media-image{border:1px solid #cccccc}.ie .module-popup{border-bottom:none}.ie .banner{top:0;right:0;width:auto}.ie .group-listing{margin-left:-24px}.ie .toolbar .breadcrumb{filter:none}.ie .toolbar .breadcrumb li{float:left}.ie .toolbar .breadcrumb li:after{margin:0 0.2em}.ie9 .control-large input{height:56px}.ie9 .module{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3)}.ie7 .masthead nav ul li a.active,.ie8 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#068b06;border-top:1px solid #057205;border-bottom:1px solid #079907}.ie8 .masthead .account a.image{display:block;width:25px;padding-right:10px;white-space:nowrap}.ie7 .alert{position:relative}.ie7 .alert .close{position:absolute;top:6px!important;right:20px}.ie7 .media-item{width:30%}.ie7 .tags .tag-list{*zoom:1}.ie7 .tags .tag-list:before,.ie7 .tags .tag-list:after{display:table;content:""}.ie7 .tags .tag-list:after{clear:both}.ie7 .tags .tag-list li{display:block;float:left}.ie7 .tags h3{float:left}.ie7 .tags .tag{display:block;border:1px solid #d0d0d0;background:#f5f5f5}.ie7 .search-giant input{width:95%}.ie7 .control-full input,.ie7 .control-full select,.ie7 .control-full textarea{width:95%}.ie7 .control-full.control-large .controls input{padding-bottom:20px}.ie7 .controls{position:relative}.ie7 .controls .info-block,.ie7 .controls .info-inline{position:absolute;top:0;right:0}.ie7 .form-horizontal .controls{margin-left:0}.ie7 .control-custom .checkbox{*display:inline;*zoom:1}.ie7 .stages{overflow:hidden;background-color:#ededed}.ie7 .stages li{height:30px;width:27.5%}.ie7 .stages li button,.ie7 .stages li span{display:block;height:30px;padding-left:20px}.ie7 .stages li button{height:50px}.ie7 .stages li .highlight{width:auto}.ie7 .masthead{position:relative;z-index:1}.ie7 .masthead .logo img,.ie7 .masthead nav{*display:inline;*zoom:1}.ie7 .masthead nav ul{margin-top:5px}.ie7 .masthead nav ul li{float:left}.ie7 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#068b06;border-top:1px solid #057205;border-bottom:1px solid #079907}.ie7 .masthead .header-image{display:block}.ie7 .masthead .account .dropdown-menu{z-index:10000}.ie7 .footer-links{*zoom:1}.ie7 .footer-links:before,.ie7 .footer-links:after{display:table;content:""}.ie7 .footer-links:after{clear:both}.ie7 .footer-links li{float:left}.ie7 .module-narrow .nav-item.image{*zoom:1}.ie7 .module-narrow .nav-item.image:before,.ie7 .module-narrow .nav-item.image:after{display:table;content:""}.ie7 .module-narrow .nav-item.image:after{clear:both}.ie7 .nav-facet .nav-item.active a{content:'x'}.ie7 .toolbar .breadcrumb li{padding-right:10px;margin-right:5px;background:transparent url("../../../base/images/breadcrumb-slash-ie7.png") 100% 50% no-repeat}.ie7 .toolbar .breadcrumb li.active{background-image:none}.ie7 .module-heading{*zoom:1}.ie7 .module-heading:before,.ie7 .module-heading:after{display:table;content:""}.ie7 .module-heading:after{clear:both}.ie7 .module-heading .media-content{position:relative}.ie7 .module-heading .action{position:absolute;top:9px;right:10px}.ie7 .module-heading .media-image img{float:left}.ie7 .group-listing{position:relative;zoom:1} \ No newline at end of file diff --git a/ckan/public/base/css/main.css b/ckan/public/base/css/main.css index 0e9b5a7cd59..3da6ddc6218 100644 --- a/ckan/public/base/css/main.css +++ b/ckan/public/base/css/main.css @@ -4783,13 +4783,15 @@ a.tag:hover { box-shadow: inset 0 1px 0 #3d97b3; } .pill { - background-color: #8ca0a6; + display: inline-block; + background-color: #6f8890; color: #ffffff; - padding: 1px 5px 1px 8px; + padding: 2px 10px 1px 10px; margin-right: 5px; - -webkit-border-radius: 7px; - -moz-border-radius: 7px; - border-radius: 7px; + font-weight: normal; + -webkit-border-radius: 100px; + -moz-border-radius: 100px; + border-radius: 100px; } .pill a { color: #ffffff; @@ -4883,9 +4885,13 @@ a.tag:hover { .module-heading .action { float: right; color: #888888; - font-size: 11px; + font-size: 12px; + line-height: 20px; text-decoration: underline; } +.module-heading .action:hover { + color: #444444; +} .module-content { padding: 0 25px; margin: 20px 0; @@ -4928,11 +4934,16 @@ a.tag:hover { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; border: 0; } .module .pagination li a { border-top: none; border-bottom: none; + padding-top: 7px; + padding-bottom: 7px; } .module .pagination li:first-child a, .module .pagination li:last-child a { @@ -5042,10 +5053,17 @@ a.tag:hover { background-color: #ffffff; border-bottom: 1px solid #dddddd; margin-top: 0; + margin-bottom: 0; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; } +.module-resource .actions { + position: relative; + float: right; + top: -10px; + right: -15px; +} .module .module-tags { padding-bottom: 8px; } @@ -5251,10 +5269,6 @@ ol.media-grid:after { overflow: hidden; display: block; } -.nav-item [class^=icon] { - font-size: 1.2em; - margin: -1px 0 -1px -1px; -} .module-narrow .nav-item > a { padding-left: 15px; padding-right: 15px; @@ -5319,6 +5333,67 @@ ol.media-grid:after { -moz-border-radius: 100px; border-radius: 100px; } +.nav-facet-tertiary { + margin: 10px 0; +} +.nav-facet-tertiary .module-heading { + margin-bottom: 5px; + padding: 8px 12px; + border-bottom-width: 0; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.nav-facet-tertiary .module-heading i { + display: none; +} +.nav-facet-tertiary .module-footer { + padding: 8px 12px; + border-top-width: 0; +} +.nav-facet-tertiary .module-footer a { + font-weight: normal; + color: #8C8C8C; +} +.nav-facet-tertiary .nav { + margin-bottom: 0; +} +.nav-facet-tertiary .module-content.empty { + padding: 8px 12px; + margin-top: 0; +} +.nav-facet-tertiary .nav li.active { + position: relative; +} +.nav-facet-tertiary .nav li.active > a:hover:after, +.nav-facet-tertiary .nav li.active > a:after { + *margin-right: .3em; + display: inline-block; + vertical-align: text-bottom; + position: relative; + top: 2px; + width: 16px; + height: 16px; + background-image: url("../../../base/images/sprite-ckan-icons.png"); + background-repeat: no-repeat; + background-position: 16px 16px; + width: 17px; + height: 17px; + background-position: 0px -16px; + content: ""; + position: absolute; + top: 50%; + right: 5px; + margin-top: -8px; +} +.nav-simple > .nav-btn { + padding-left: 0; + padding-right: 0; + text-align: center; +} +.nav-simple > .nav-btn .btn { + display: inline-block; +} .js .js-hide { display: none; } @@ -5995,19 +6070,25 @@ textarea { .dataset-heading .popular { top: 0; } -.results { +.results, +.is-search-title { margin-bottom: 20px; padding-bottom: 25px; border-bottom: 1px dotted #dddddd; } -.results strong { +.results strong, +.is-search-title { display: block; font-size: 24px; line-height: 1.3; color: #000000; margin-bottom: 10px; } -.results strong:before { +.is-search-title { + margin-bottom: 20px; +} +.results strong:before, +.is-search-title:before { float: right; content: " "; width: 280px; @@ -6015,7 +6096,6 @@ textarea { } .filter-list { color: #444444; - font-weight: bold; } .filter-list .extra { margin-top: 10px; @@ -6026,9 +6106,14 @@ textarea { .dataset-search { position: relative; } -.search-giant { +.search-giant, +.search-normal { position: relative; } +.search-normal { + display: block; + margin-bottom: 0; +} .search-giant input { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -6038,6 +6123,29 @@ textarea { width: 100%; height: auto; } +.search-normal input { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + width: 100%; + height: auto; +} +.search-normal button { + cursor: pointer; + position: absolute; + right: 5px; + top: 50%; + background: transparent; + border: none; + color: #999; + margin-top: -17px; +} +.search-normal button span { + display: none; +} +.search-normal button:hover { + color: #000; +} .search-giant button { cursor: pointer; position: absolute; @@ -6054,7 +6162,7 @@ textarea { } .control-order-by { position: absolute; - bottom: -65px; + bottom: -73px; right: 0; } .control-order-by label, @@ -6064,6 +6172,29 @@ textarea { .control-order-by select { width: 160px; } +.search-aside .control-order-by { + clear: both; + overflow: hidden; + display: block; + position: relative; + bottom: 0; +} +.search-aside .control-order-by label { + float: left; + font-weight: normal; + font-size: 12px; + line-height: 20px; +} +.search-aside .control-order-by select { + float: left; + padding: 2px 4px; + margin: 0; + width: inherit; + font-size: 12px; + height: 20px; + line-height: 20px; + width: 120px; +} .resource-list { margin: 0; list-style: none; @@ -7589,8 +7720,36 @@ textarea { .secondary > :last-child { margin-bottom: 0; } -.context-header { - padding: 8px 15px; +.primary .primary { + float: left; + width: 479px; + margin-left: 20px; + margin-bottom: 20px; +} +.primary .primary h1:first-child, +.primary .primary h2:first-child, +.primary .primary h3:first-child, +.primary .primary h4:first-child { + margin-top: 0; +} +.primary .tertiary { + float: left; + width: 180px; + margin-left: 20px; + margin-bottom: 20px; +} +.hero { + background: url("../../../base/images/background-tile.png"); +} +.hero:after { + background-color: rgba(0, 0, 0, 0.09); + background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); + background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.15)), to(rgba(0, 0, 0, 0))); + background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); + background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); + background-image: linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); + background-repeat: repeat-x; background-color: #f6f6f6; border-bottom: 1px solid #d0d0d0; -webkit-border-radius: 3px 3px 0 0; @@ -7600,10 +7759,10 @@ textarea { -moz-box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.03); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.03); } -.context-header .back:hover { +.hero:after .back:hover { text-decoration: none; } -.context-header .back:hover span { +.hero:after .back:hover span { text-decoration: underline; } .context-info .module-content { @@ -7738,15 +7897,16 @@ textarea { .hero .tags:after { clear: both; } +.hero .tags h3, .hero .tags .tag { display: block; float: left; margin: 5px 10px 0 0; } -.hero .tags h3.tag { +.hero .tags h3 { font-size: 14px; line-height: 20px; - margin-bottom: 0; + padding: 2px 8px; } .hero-primary, .hero-secondary { @@ -8161,6 +8321,62 @@ textarea { .lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before { background-position: 0 -132px; } +.table-selected td { + background-color: #f5f5f5; +} +.table-selected td .edit { + display: block; +} +.table-bulk-edit th input { + top: -5px; +} +.table-bulk-edit .table-actions .btn-group { + float: left; + margin: 0 10px 0 0; +} +.table-bulk-edit .context p { + margin-bottom: 0; +} +.table-header thead th { + background-color: #f6f6f6; +} +.table-edit-hover .edit { + display: none; + float: right; +} +.table-edit-hover tr:hover .edit { + display: block; +} +.js .table-toggle-more .toggle-more { + display: none; +} +.js .table-toggle-more .show-more { + display: inline; +} +.js .table-toggle-more .show-less { + display: none; +} +.js .table-toggle-more .toggle-seperator { + display: table-row; +} +.js .table-toggle-more .toggle-seperator td { + height: 11px; + padding: 0; + background-image: url("../../../base/images/table-seperator.png"); +} +.js .table .toggle-show td { + background: none; + text-align: center; +} +.js .table-toggle-less .show-less { + display: inline; +} +.js .table-toggle-less .show-more { + display: none; +} +.js .table-toggle-less .toggle-seperator { + display: none; +} .profile .empty, .profile .dataset-list { margin-bottom: 20px; diff --git a/ckan/public/base/css/main.min.css b/ckan/public/base/css/main.min.css deleted file mode 100644 index c2051196f74..00000000000 --- a/ckan/public/base/css/main.min.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#4d4d4d;background-color:#efefef}a{color:#187794;text-decoration:none}a:hover{color:#0d4252;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,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;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;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:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#ffffff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b55457;border-color:#b55457}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#954143;-webkit-box-shadow:0 0 6px #d49b9d;-moz-box-shadow:0 0 6px #d49b9d;box-shadow:0 0 6px #d49b9d}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b55457;background-color:#f8f0f0;border-color:#b55457}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999999}::-webkit-input-placeholder{color:#999999}.help-block,.help-inline{color:#555555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;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-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#187794}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#ffffff,#eaeaea);background-image:-ms-linear-gradient(top,#ffffff,#eaeaea);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#eaeaea));background-image:-webkit-linear-gradient(top,#ffffff,#eaeaea);background-image:-o-linear-gradient(top,#ffffff,#eaeaea);background-image:linear-gradient(top,#ffffff,#eaeaea);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eaeaea',GradientType=0);border-color:#eaeaea #eaeaea #c4c4c4;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#eaeaea;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#eaeaea;*background-color:#dddddd}.btn:active,.btn.active{background-color:#d1d1d1 \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#206b82;background-image:-moz-linear-gradient(top,#30778d,#085871);background-image:-ms-linear-gradient(top,#30778d,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#30778d),to(#085871));background-image:-webkit-linear-gradient(top,#30778d,#085871);background-image:-o-linear-gradient(top,#30778d,#085871);background-image:linear-gradient(top,#30778d,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#30778d',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#085871;*background-color:#064559}.btn-primary:active,.btn-primary.active{background-color:#053341 \9}.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*zoom:1;*margin-left:.3em}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn-group.open .btn.dropdown-toggle{background-color:#eaeaea}.btn-group.open .btn-primary.dropdown-toggle{background-color:#085871}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-danger,.alert-error{background-color:#f8f0f0;border-color:#c6898b;color:#b55457}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:18px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eeeeee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#187794}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#187794}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#187794;border-bottom-color:#187794;margin-top:6px}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#0d4252;border-bottom-color:#0d4252}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333}.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff}.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999999}.navbar .brand:hover{text-decoration:none}.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999999}.navbar .navbar-link:hover{color:#ffffff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#cccccc}.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{margin:0;padding:5px 5px 6px}.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222}.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333}.navbar .nav.pull-right{margin-left:10px;margin-right:0}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px}.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#ffffff;border-bottom-color:#ffffff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#ffffff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{left:auto;right:13px}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#ffffff,#f5f5f5);background-image:-ms-linear-gradient(top,#ffffff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ffffff,#f5f5f5);background-image:-o-linear-gradient(top,#ffffff,#f5f5f5);background-image:linear-gradient(top,#ffffff,#f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff}.breadcrumb .divider{padding:0 5px;color:#999999}.breadcrumb .active a{color:#333333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#187794;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b55457}.label-important[href],.badge-important[href]{background-color:#954143}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#ffffff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}@font-face{font-family:'FontAwesome';src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot');src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.woff') format('woff'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:middle;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav-tabs [class^="icon-"],.btn [class*=" icon-"],.nav-tabs [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertical-align:initial}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-user-md:before{content:"\f200"}.pill{background-color:#cccccc;color:#ffffff;padding:1px 5px 1px 8px;margin-right:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pill a{color:#ffffff}.pill a.remove{font-size:11px}.tag{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#187794;padding-left:10px;padding-right:5px;margin-right:11px}.tag:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.unstyled{margin:0;list-style:none}.simple-item{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-item:last-of-type{border-bottom:0}.simple-list{*zoom:1;margin:0;list-style:none}.simple-list:before,.simple-list:after{display:table;content:""}.simple-list:after{clear:both}.simple-list>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-list>li:last-of-type{border-bottom:0}.simple-list .ckan-icon{position:relative;top:0px}.module-narrow .simple-list>li{padding-left:15px;padding-right:15px;position:relative}.listing li{text-align:right;margin-bottom:5px}.listing .key{clear:right;font-weight:bold}.js .tab-content{display:none}.js .tab-content.active{display:block}.module{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.3);-moz-box-shadow:0 0 3px rgba(0,0,0,0.3);box-shadow:0 0 3px rgba(0,0,0,0.3);background-color:#ffffff;margin-bottom:20px}.module-heading{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:14px;line-height:1.3;padding:7px 25px;border-bottom:1px solid #d0d0d0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.module-heading-secondary{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-top:1px solid #d0d0d0}.module-heading [class^=icon]:before{font-size:1.2em;line-height:1;position:relative;top:1px;margin-right:0.1em}.module-heading .action{float:right;color:#8c8c8c;font-size:11px;text-decoration:underline}.module-content{padding:0 25px;margin:20px 0}.module-content:first-child{margin-top:0;padding-top:20px}.module-content:last-child{margin-bottom:0;padding-bottom:20px}.module-content>:last-child{margin-bottom:0}.module-border-top{border-top:1px dotted #cccccc}.module-border-bottom{border-bottom:1px dotted #cccccc}.module-footer{padding:7px 25px 7px;border-top:1px dotted #cccccc}.module .read-more{font-weight:bold;color:#000000}.module .pagination{height:34px;margin-bottom:0;border-top:1px solid #d0d0d0}.module .pagination>ul{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0}.module .pagination li a{border-top:none;border-bottom:none}.module .pagination li:first-child a,.module .pagination li:last-child a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.module .pagination li:first-child a{border-left-width:0}.module .pagination li:last-child a{border-right-width:0}.module .pagination li.active a{border-left-width:1px;border-right-width:1px}.module .action{text-align:center}.module-shallow .module-content{padding:10px;margin:0}.module-shallow .module-content:first-child{padding-top:10px}.module-shallow .module-content:last-child{padding-bottom:10px}.module-shallow small{font-size:11px;display:block}.module-narrow .module-heading,.module-narrow .module-content,.module-narrow .module-footer{padding-left:15px;padding-right:15px}.module-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px;padding:0}.module-grid:before,.module-grid:after{display:table;content:""}.module-grid:after{clear:both}.module-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left;margin-left:20px;width:460px;padding-top:10px;padding-bottom:10px;padding-right:50px;overflow:hidden;position:relative}.module-item.first{clear:left}.group .content img{margin:0 -5px 5px;max-width:initial}.group .content h3{font-size:14px;line-height:1.3}.group-listing{margin-left:-20px}.ckanext-datapreview{position:relative}.ckanext-datapreview>iframe{min-height:400px}.ckanext-datapreview>img{max-height:500px;max-width:100%;overflow:hidden}.package-info h4{margin-bottom:10px}.media{position:relative;overflow:hidden}.media-content>:last-child{margin-bottom:0}.media-heading{font-size:14px;line-height:1.3em;margin:5px 0}.media-image,.media .gravatar{position:relative;float:left;margin-right:10px;overflow:hidden}.media-image:after{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);box-shadow:inset 0 0 2px rgba(0,0,0,0.3);content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.media-image img{display:block;margin:0 auto}.media-vertical .media-image,.media-vertical .media-content{float:none;display:block}.media-vertical .media-image{margin-right:0;max-height:125px}.media-grid,ul.media-grid,ol.media-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px}.media-grid:before,ul.media-grid:before,ol.media-grid:before,.media-grid:after,ul.media-grid:after,ol.media-grid:after{display:table;content:""}.media-grid:after,ul.media-grid:after,ol.media-grid:after{clear:both}.media-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left}.media-item.first{clear:left}.media-item .media-content{min-height:63px}.related-item.expanded{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#ffffff;background-color:rgba(255,255,255,0.9);z-index:2}.media-wide{padding:0}.media-wide .media{float:left;margin-left:20px;width:460px}.media-overlay{position:relative;min-height:35px}.media-overlay .media-heading{position:absolute;left:0;right:0;bottom:0;padding:12px 10px;margin:0;background-color:#000;background-color:rgba(0,0,0,0.8);font-size:13px;color:#fff;z-index:1}.media-overlay .media-image{float:none;display:block;margin-right:0}.banner{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;position:absolute;top:15px;right:-35px;width:80px;color:#ffffff;background:#707070;padding:1px 20px;font-size:11px;text-align:center;text-transform:uppercase}.nav-simple{*zoom:1;margin:0;list-style:none;padding-bottom:0}.nav-simple:before,.nav-simple:after{display:table;content:""}.nav-simple:after{clear:both}.nav-simple>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.nav-simple>li:last-of-type{border-bottom:0}.nav-simple .ckan-icon{position:relative;top:0px}.nav-item>a{color:#333333;margin:-7px -25px;padding:7px 25px}.nav-item.active{background-color:#f2f2f2}.nav-item.active>a span{white-space:nowrap;overflow:hidden;display:block}.nav-item.active>a{background:url("../../../base/images/background-tag.png") no-repeat -13px center;display:block;font-size:11px;line-height:27px;color:#187794;padding-right:5px;margin-right:11px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:bold;position:relative;left:4px;margin-left:-25px;margin-right:-20px;padding-left:10px;padding-right:0px;padding:1px 22px}.nav-item.active>a:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.nav-item [class^=icon]{font-size:1.2em;margin:-1px 0 -1px -1px}.module-narrow .nav-item>a{padding-left:15px;padding-right:15px;position:relative}.module-narrow .nav-item.active>a{padding-left:12px;padding-right:12px}.module-narrow .nav-item.image{position:relative}.module-narrow .nav-item.image>a{padding-left:42px;padding-right:42px}.module-narrow .nav-item.image>img{position:absolute;top:50%;left:15px;width:20px;height:20px;margin-top:-10px;z-index:2}.nav-facet .nav-item>a:hover:after,.nav-facet .nav-item.active>a:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;content:"";position:absolute;top:50%;right:5px;margin-top:-8px}.nav-facet .nav-item>a:hover:after:last-child,.nav-facet .nav-item.active>a:after:last-child{*margin-left:0}.nav-facet .nav-item>a:hover:after{width:17px;height:17px;background-position:-17px -16px}.nav-facet .nav-item.active>a:after{width:17px;height:17px;background-position:0px -16px;right:3px}.js .js-hide{display:none}.js .js-hide.active{display:block}.btn,label{font-weight:bold}label{cursor:pointer;font-size:14px;line-height:2}label:after{content:":"}label.radio:after,label.checkbox:after{content:""}input,textarea,select,.uneditable-input{font-size:14px;padding:8px 10px}input[type=radio],input[type=checkbox]{position:relative;top:7px;padding:0;margin:0}input[type=radio].checkbox-onown,input[type=checkbox].checkbox-onown{top:0}select{margin-top:6px;padding:4px}textarea{max-width:100%}.input-prepend .add-on{padding:8px 8px;font-size:14px}.control-group .btn{position:relative;top:-2px}.control-full input,.control-full select,.control-full textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:auto;width:100%}.control-medium input,.control-medium select,.control-medium textarea{width:320px}.control-large input,.control-large .control-label{font-size:18px}.form-actions{background:none;margin-left:-25px;margin-right:-25px;margin-bottom:0;padding-bottom:0;text-align:right}.form-actions .action-info{float:left;width:50%;line-height:2;text-align:left;color:#707070;margin:0}.form-actions .action-info.small{font-size:11px;line-height:1.2}.form-horizontal .control-label{width:120px;line-height:1.3;padding-top:9px}.form-horizontal .control-large input,.form-horizontal .control-large .control-label{font-size:18px;line-height:2}.form-horizontal .control-large .control-label{padding-top:10px}.form-horizontal .controls{margin-left:130px}.form-horizontal .info-block{position:relative;display:block;font-size:11px;color:#aeaeae;line-height:1.3;padding:6px 0 6px 25px;margin-top:6px}.form-horizontal .info-inline{float:right;width:265px;margin-top:0;padding-bottom:0}.form-horizontal .control-medium .info-block.info-inline{width:165px}.form-horizontal .info-block:before{font-size:2.2em;position:absolute;left:0;top:2px}.form-horizontal .info-inline:before{top:8px}.info-block .icon-large,.info-inline .icon-large{float:left;font-size:22px;margin-right:15px}.form-horizontal .info-block a{color:#aeaeae;text-decoration:underline}.form-horizontal .form-actions{padding-left:25px;padding-right:25px}.form-inline input{padding-bottom:9px}.form-inline select{margin-top:0}.form-inline .btn{margin-left:5px}.form-narrow label{margin-bottom:0}.form-narrow select{width:100%}.form-narrow .form-actions{margin-left:-15px;margin-right:-15px;padding:10px 15px 0}.form-select label{margin-right:5px}.simple-input label,.simple-input button{display:none}.simple-input .field{position:relative}.simple-input .field-bordered{border-bottom:1px dotted #cccccc}.simple-input .field input{width:100%;height:auto;margin:0 -7px;padding:7px 5px}.simple-input .field .btn-search{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;background-position:-51px -16px;position:absolute;display:block;height:17px;width:17px;top:50%;right:0;margin-top:-8px;background-color:transparent;border:none;text-indent:-999em}.simple-input .field .btn-search:last-child{*margin-left:0}.editor textarea{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:none}.editor .editor-info-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;float:none;padding:4px 10px;background:#ebebeb;width:auto;border:1px solid #cccccc;border-top:none;font-size:11px;color:#282828}.editor .editor-info-block a{color:#187794;text-decoration:none}.control-custom{font-size:0}.control-custom label{margin-bottom:0}.control-custom input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:140px}.control-custom input:last-of-type{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.control-custom .checkbox{display:inline-block;margin-left:5px}.control-custom .checkbox input{width:auto}.control-custom.disabled label,.control-custom.disabled input{color:#aaaaaa;text-decoration:line-through;text-shadow:none}.control-custom.disabled input{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#f3f3f3}.control-custom.disabled .checkbox{color:#4d4d4d;text-decoration:none}.control-custom .checkbox.btn{-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;position:relative;top:0;left:5px;height:3px;width:8px;padding:3px 8px}.control-custom .checkbox.btn span{display:none;width:30px}.control-custom .checkbox.btn:before{position:relative;top:1px;left:-1px;color:#fff}.control-custom .checkbox.btn input{display:none}.control-custom.disabled .checkbox.btn{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#206b82;background-image:-moz-linear-gradient(top,#30778d,#085871);background-image:-ms-linear-gradient(top,#30778d,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#30778d),to(#085871));background-image:-webkit-linear-gradient(top,#30778d,#085871);background-image:-o-linear-gradient(top,#30778d,#085871);background-image:linear-gradient(top,#30778d,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#30778d',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.control-custom.disabled .checkbox.btn:hover,.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active,.control-custom.disabled .checkbox.btn.disabled,.control-custom.disabled .checkbox.btn[disabled]{background-color:#085871;*background-color:#064559}.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active{background-color:#053341 \9}.control-custom.disabled .checkbox.btn .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert-danger a,.alert-error a{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea,.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{border-color:#c6898b}.error-inline{color:#b55457}.error-block,.error-inline{font-size:12px}.error-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;padding:6px 8px 3px;background:#c6898b;margin:-3px 0 0;color:#ffffff;width:216px}.control-medium .error-block{width:326px}.control-full .error-block{width:auto}.control-group.error .input-prepend .error-block,.control-custom.error .error-block{margin-left:-1px;width:auto}.control-custom.error .error-block{width:409px}.control-select.error .error-block{width:204px}.stages{margin:0;list-style:none;*zoom:1;color:#aeaeae;counter-reset:stage;margin:-20px -25px 20px;overflow:hidden}.stages:before,.stages:after{display:table;content:""}.stages:after{clear:both}.stages li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:27px;counter-increment:stage;width:33.33%;background-color:#ededed;float:left;padding:10px 20px;position:relative;z-index:0}.stages li:before{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;content:counter(stage);display:inline-block;width:27px;height:27px;margin-right:5px;font-weight:bold;text-align:center;color:#ffffff;background-color:#aeaeae;z-index:1}.stages li:after{left:0;border:solid rgba(237,237,237,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-top-color:#ededed;border-bottom-color:#ededed;border-width:29px;top:50%;margin-top:-29px;margin-left:-30px}.stages li.first,.stages li.first .highlight{-webkit-border-radius:3px 0 0 0;-moz-border-radius:3px 0 0 0;border-radius:3px 0 0 0}.stages li.last{position:relative;right:-1px}.stages li.last,.stages li.last .highlight{-webkit-border-radius:0 3px 0 0;-moz-border-radius:0 3px 0 0;border-radius:0 3px 0 0}.stages li.first:after{content:none;border:none}.stages li.active:after{border-color:rgba(140,198,138,0);border-top-color:#8cc68a;border-bottom-color:#8cc68a}.stages li.complete:after{border-color:rgba(197,226,196,0);border-top-color:#c5e2c4;border-bottom-color:#c5e2c4}.stages.stage-3 li.complete:first-child:after{content:none}.stages li.active,.stages li.complete{background:none}.stages li.active:before{color:#8cc68a;background:#ffffff}.stages li.complete:before{color:#c5e2c4;background:#eef6ed}.stages li .highlight{display:block;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;padding:10px 52px;border:none;text-align:left;text-decoration:none;line-height:27px;z-index:-1}.stages li.active .highlight{color:#ffffff;background:#8cc68a}.stages li.complete .highlight{color:#eef6ed;background:#c5e2c4}.alert>:last-child{margin-bottom:0}.slug-preview{font-size:14px;line-height:1.5;margin-top:5px;margin-left:10px}.slug-preview-value{background-color:#faedcf;margin-right:3px}.slug-preview .btn{padding-top:3px;padding-bottom:3px}.resource-upload-field{position:relative;overflow:hidden;display:inline-block;vertical-align:bottom}.resource-upload-field label{z-index:0}.resource-upload-field input{opacity:0;filter:alpha(opacity=0);position:absolute;top:0;right:0;z-index:1;margin:0;border:solid transparent;border-width:100px 0 0 200px;cursor:pointer;direction:ltr;-moz-transform:translate(-300px,0) scale(4)}.resource-upload-field.loading{display:inline-block;background:url("../../../base/images/loading-spinner.gif") no-repeat center right;padding-right:5px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{font-size:14px}.select2-container-multi .select2-choices .select2-search-field input{height:29px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{padding-left:10px}.select2-container{margin-top:5px}.select2-container-multi{margin-top:0}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 22px}.select2-container-multi.select2-container .select2-choices{padding-top:3px;padding-bottom:3px}.select2-search-choice-close,.select2-container-multi .select2-search-choice-close{top:6px;left:5px}.select2-container-multi .select2-choices{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;background-color:#ffffff;border:1px solid #cccccc}.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.select2-container-multi .select2-drop{margin-top:-2px}.select2-container .select2-results li{line-height:18px;padding-top:4px;padding-bottom:4px}.control-full .select2-container{width:520px!important}.dataset-item{border-bottom:1px dotted #cccccc;padding-bottom:20px;margin-bottom:20px}.dataset-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.dataset-heading{font-size:14px;line-height:1.3}.dataset-heading a{color:#333333}.dataset-heading .label{position:relative;top:-1px}.dataset-content{font-size:12px}.dataset-resources{font-size:10px;line-height:14px;margin-top:5px}.dataset-resources li{display:inline}.dataset-resources li a{background-color:#aaaaaa}.dataset-heading .popular{top:0}.results{margin-bottom:20px;padding-bottom:25px;border-bottom:1px dotted #cccccc}.results strong{display:block;font-size:24px;line-height:1.3;color:#000000;margin-bottom:10px}.results strong:before{float:right;content:" ";width:280px;white-space:pre}.filter-list{color:#4d4d4d;font-weight:bold}.filter-list .extra{margin-top:10px;font-size:18px;font-weight:normal;color:#000000}.dataset-search{position:relative}.search-giant{position:relative}.search-giant input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:16px;padding:14px 10px;width:100%;height:auto}.search-giant button{cursor:pointer;position:absolute;right:15px;top:50%;display:block;border:none;padding:0;margin-top:-17px;width:30px;height:30px;background:transparent url("../../../base/images/icon-search-27x26.png") no-repeat center center;text-indent:-900em}.control-order-by{position:absolute;bottom:-65px;right:0}.control-order-by label,.control-order-by select{display:inline}.control-order-by select{width:160px}.resource-list{margin:0;list-style:none;margin:-10px -10px 10px -10px}.resource-item{position:relative;padding:10px 110px 10px 60px;margin-bottom:0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.resource-item:hover{background-color:#efefef}.resource-item .heading{color:#000000;font-size:14px;font-weight:bold}.resource-item .format-label{position:absolute;top:10px;left:10px}.resource-item .description{font-size:12px;margin-bottom:0}.resource-item .btn-group{position:absolute;top:13px;right:10px}.dataset-resource-form .dataset-form-resource-types{margin-bottom:5px}.dataset-form-resource-types .ckan-icon{position:relative;top:3px}.dataset-form-resource-types .radio{font-weight:normal;padding-left:0;padding-right:18px}.dataset-form-resource-types label{position:relative}.dataset-form-resource-types input[type=radio]:checked+label{font-weight:bold}.dataset-form-resource-types input[type=radio]:checked+label:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:16px;height:16px;background-position:-192px 0;display:block;content:"";position:absolute;top:auto;left:0;bottom:-12px}.dataset-form-resource-types input[type=radio]:checked+label:after:last-child{*margin-left:0}.dataset-form-resource-types input[type=radio]{display:none}.tag-list{margin:0;list-style:none;padding:10px}.tag-list li{display:inline-block;margin-right:5px}.tag-list li:last-child{margin-right:0}.additional-info td,.additional-info th{width:50%}.label[data-format=html],.label[data-format*=html]{background-color:#55a1ce}.label[data-format=json],.label[data-format*=json]{background-color:#ef7100}.label[data-format=xml],.label[data-format*=xml]{background-color:#ef7100}.label[data-format=text],.label[data-format*=text]{background-color:#74cbec}.label[data-format=csv],.label[data-format*=csv]{background-color:#dfb100}.label[data-format=xls],.label[data-format*=xls]{background-color:#2db55d}.label[data-format=zip],.label[data-format*=zip]{background-color:#686868}.label[data-format=api],.label[data-format*=api]{background-color:#ec96be}.label[data-format=pdf],.label[data-format*=pdf]{background-color:#e0051e}.label[data-format=rdf],.label[data-format*=rdf],.label[data-format*=nquad],.label[data-format*=ntriples],.label[data-format*=turtle]{background-color:#0b4498}.group .media-vertical .image{margin:0 -5px 5px}.group-list:nth-child(odd){clear:left}.group-list .module-heading{padding-top:15px;padding-bottom:15px}.group-list .dataset-content{min-height:54px}.group-list .module-heading h3{margin-bottom:2px}.group-list .module-heading h3 a{color:#333333}.group-list .module-heading .media-image{overflow:hidden;max-height:60px}.toolbar{*zoom:1;margin-top:-10px;margin-bottom:10px;padding:5px 0}.toolbar:before,.toolbar:after{display:table;content:""}.toolbar:after{clear:both}.toolbar .breadcrumb{*zoom:1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;float:left;margin:0;padding:0;border:none;background:none;font-size:20px}.toolbar .breadcrumb:before,.toolbar .breadcrumb:after{display:table;content:""}.toolbar .breadcrumb:after{clear:both}.toolbar li [class^=icon]:before{width:auto}.toolbar .breadcrumb li:after{content:" / "}.toolbar .breadcrumb li.active:after{content:""}.toolbar .breadcrumb li:last-of-type:after{content:""}.toolbar .home a{text-decoration:none}.toolbar .home span{display:none}.toolbar .breadcrumb a{color:#505050;line-height:28px}.toolbar .breadcrumb .active a{font-weight:bold}.toolbar .actions{margin:0;list-style:none}.toolbar .actions li{display:inline-block;margin-right:5px}.toolbar .actions li{*display:inline;*zoom:1}.toolbar .actions li:last-of-type{margin-right:0}.toolbar .btn{padding:0 10px 0 8px;border-color:#b7b7b7;line-height:27px}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#206b82;background-image:-moz-linear-gradient(top,#30778d,#085871);background-image:-ms-linear-gradient(top,#30778d,#085871);background-image:-webkit-gradient(linear,0 0,0 100%,from(#30778d),to(#085871));background-image:-webkit-linear-gradient(top,#30778d,#085871);background-image:-o-linear-gradient(top,#30778d,#085871);background-image:linear-gradient(top,#30778d,#085871);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#30778d',endColorstr='#085871',GradientType=0);border-color:#085871 #085871 #03202a;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#085871;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-primary:hover,.toolbar .btn-primary:active,.toolbar .btn-primary.active,.toolbar .btn-primary.disabled,.toolbar .btn-primary[disabled]{background-color:#085871;*background-color:#064559}.toolbar .btn-primary:active,.toolbar .btn-primary.active{background-color:#053341 \9}.toolbar .btn-primary .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-warning:hover,.toolbar .btn-warning:active,.toolbar .btn-warning.active,.toolbar .btn-warning.disabled,.toolbar .btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.toolbar .btn-warning:active,.toolbar .btn-warning.active{background-color:#c67605 \9}.toolbar .btn-warning .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-danger:hover,.toolbar .btn-danger:active,.toolbar .btn-danger.active,.toolbar .btn-danger.disabled,.toolbar .btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.toolbar .btn-danger:active,.toolbar .btn-danger.active{background-color:#942a25 \9}.toolbar .btn-danger .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-info:hover,.toolbar .btn-info:active,.toolbar .btn-info.active,.toolbar .btn-info.disabled,.toolbar .btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.toolbar .btn-info:active,.toolbar .btn-info.active{background-color:#24748c \9}.toolbar .btn-info .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-inverse:hover,.toolbar .btn-inverse:active,.toolbar .btn-inverse.active,.toolbar .btn-inverse.disabled,.toolbar .btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.toolbar .btn-inverse:active,.toolbar .btn-inverse.active{background-color:#080808 \9}.toolbar .btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.hide-heading{display:none}.page-header{position:relative;border-bottom:1px solid #d0d0d0;height:30px;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.page-header .nav-tabs{position:absolute;left:20px;bottom:-1px;margin-bottom:0}.page-header .nav-tabs i{margin-right:10px;font-size:14px}.page-header .nav-tabs a:hover{background-color:#ffffff}.prose h1,.prose heading-1 h2,.prose heading-2{margin-bottom:15px}.prose h3,.prose heading-3{margin-bottom:10px}.table-chunky td,.table-chunky th{padding:12px 15px;font-size:12px}.table-chunky thead th,.table-chunky thead td{color:#ffffff;background-color:#aaaaaa;padding-top:10px;padding-bottom:10px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:transparent}.table-striped tbody tr:nth-child(even) td,.table-striped tbody tr:nth-child(even) th{background-color:#f2f2f2}.table-chunky.table-bordered{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:first-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:2px;-moz-border-radius-topleft:2px;border-top-left-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:last-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:first-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 2px;-moz-border-radius:0 0 0 2px;border-radius:0 0 0 2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;border-bottom-left-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:last-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;border-bottom-right-radius:2px}.ckan-icon{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px}.ckan-icon:last-child{*margin-left:0}.ckan-icon-fb{width:16px;height:16px;background-position:0px 0}.ckan-icon-gplus{width:16px;height:16px;background-position:-16px 0}.ckan-icon-twitter{width:16px;height:16px;background-position:-32px 0}.ckan-icon-email{width:16px;height:16px;background-position:-48px 0}.ckan-icon-share{width:16px;height:16px;background-position:-64px 0}.ckan-icon-feed{width:16px;height:16px;background-position:-80px 0}.ckan-icon-calendar{width:16px;height:16px;background-position:-96px 0}.ckan-icon-file{width:16px;height:16px;background-position:-112px 0}.ckan-icon-lock{width:16px;height:16px;background-position:-128px 0}.ckan-icon-link-file{width:16px;height:16px;background-position:-144px 0}.ckan-icon-link-plugin{width:16px;height:16px;background-position:-160px 0}.ckan-icon-upload-file{width:16px;height:16px;background-position:-176px 0}.ckan-icon-callout{width:16px;height:16px;background-position:-192px 0}.ckan-icon-circle-cross{width:17px;height:17px;background-position:0px -16px}.ckan-icon-circle-add{width:17px;height:17px;background-position:-17px -16px}.ckan-icon-flame{width:17px;height:17px;background-position:-34px -16px}.ckan-icon-search{width:17px;height:17px;background-position:-51px -16px}.ckan-icon-large-lock{width:20px;height:20px;background-position:0px -33px}.ckan-icon-photo{width:20px;height:20px;background-position:-20px -33px}.ckan-icon-add{width:20px;height:20px;background-position:-40px -33px}.ckan-icon-home{width:20px;height:20px;background-position:-60px -33px}.ckan-icon-rewind{width:20px;height:20px;background-position:-80px -33px}.ckan-icon-tools{width:20px;height:20px;background-position:-100px -33px}.ckan-icon-flag{width:20px;height:20px;background-position:-120px -33px}.ckan-icon-clipboard{width:20px;height:20px;background-position:-140px -33px}.ckan-icon-share{width:20px;height:20px;background-position:-160px -33px}.ckan-icon-info{width:20px;height:20px;background-position:-180px -33px}.ckan-icon-download{width:20px;height:20px;background-position:-200px -33px}.ckan-icon-star{width:20px;height:20px;background-position:-220px -33px}.ckan-icon-info-flat{width:20px;height:20px;background-position:-240px -33px}.ckan-icon-tag{width:20px;height:20px;background-position:-260px -33px}.ckan-icon-plus{width:20px;height:20px;background-position:-280px -33px;width:16px}.ckan-icon-head{width:20px;height:20px;background-position:-300px -33px}.ckan-icon-arrow-e{width:20px;height:20px;background-position:-320px -33px;width:16px}.ckan-icon-bookmark{width:25px;height:25px;background-position:0px -53px}.format-label{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;text-indent:-900em;background:url("../../../base/images/sprite-resource-icons.png") no-repeat 0 0}.format-label:last-child{*margin-left:0}.format-label{width:32px;height:35px;background-position:0px -62px}.format-label[data-format=rdf],.format-label[data-format*=rdf]{width:32px;height:35px;background-position:-32px -62px}.format-label[data-format=pdf],.format-label[data-format*=pdf]{width:32px;height:35px;background-position:-64px -62px}.format-label[data-format=api],.format-label[data-format*=api]{width:32px;height:35px;background-position:-96px -62px}.format-label[data-format=zip],.format-label[data-format*=zip]{width:32px;height:35px;background-position:-128px -62px}.format-label[data-format=xls],.format-label[data-format*=xls]{width:32px;height:35px;background-position:-160px -62px}.format-label[data-format=csv],.format-label[data-format*=csv]{width:32px;height:35px;background-position:-192px -62px}.format-label[data-format=txt],.format-label[data-format*=txt]{width:32px;height:35px;background-position:-224px -62px}.format-label[data-format=xml],.format-label[data-format*=xml]{width:32px;height:35px;background-position:-256px -62px}.format-label[data-format=json],.format-label[data-format*=json]{width:32px;height:35px;background-position:-288px -62px}.format-label[data-format=html],.format-label[data-format*=html]{width:32px;height:35px;background-position:-320px -62px}li [class^="icon-"],li [class*=" icon-"]{width:auto}li .icon-large:before,li .icon-large:before{width:auto}[role=main],.main{position:relative;padding-top:27px;padding-bottom:27px;background-color:#efefef}[role=main]{min-height:350px}.main:after,.main:before,[role=main]:after,[role=main]:before{content:"";position:absolute;left:0;right:0;height:7px;background:#ffffff;border-color:#c9c9c9;border-style:solid;border-width:0}.main:before,[role=main]:before{top:0;border-bottom-width:1px}.main:after,[role=main]:after{bottom:0;border-top-width:1px}[role=main] .primary{float:left;margin-left:20px;width:700px;float:right}[role=main] .secondary{margin-left:20px;width:220px;margin-left:0;float:left}.primary>:last-child,.secondary>:last-child{margin-bottom:0}.hero{background:url("../../../base/images/background-tile.png")}.hero:after{background-color:rgba(0,0,0,0.09);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-ms-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-repeat:repeat-x;background-color:transparent;top:7px;bottom:auto;height:5px}.hero{padding-bottom:0;min-height:0}.hero>.container{position:relative;padding-bottom:0}.hero-primary,.hero-secondary{float:left;margin-left:20px;width:460px}.hero-primary{margin-left:0}.hero-primary{margin-left:0;margin-bottom:0}.hero-secondary{position:absolute;bottom:0;right:0}.hero-secondary-inner{bottom:0;left:0;right:0}.hero .module-popup{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin-top:50px}.hero .module-popup .module-content{padding-bottom:2px}.hero .page-heading{font-size:18px;margin-bottom:0}.hero .module-dark{padding:5px;margin-bottom:10px;color:#ffffff;background:#ffffff}.hero .module-dark .module-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#005d7a}.hero .module-dark .module-content .heading{margin-bottom:7px}.hero .tags{margin-bottom:9px}.hero .tags .tag,.hero .tags .tag-list{display:inline-block}.hero .tags .tag-list{padding:0}.hero .tags .tag{margin-right:15px}header.masthead{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#005974;background-image:-moz-linear-gradient(top,#005d7a,#00536b);background-image:-ms-linear-gradient(top,#005d7a,#00536b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#005d7a),to(#00536b));background-image:-webkit-linear-gradient(top,#005d7a,#00536b);background-image:-o-linear-gradient(top,#005d7a,#00536b);background-image:linear-gradient(top,#005d7a,#00536b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#005d7a',endColorstr='#00536b',GradientType=0)}header.masthead:before,header.masthead:after{display:table;content:""}header.masthead:after{clear:both}header.masthead .container{position:relative}header.masthead a{color:#ffffff}header.masthead hgroup h1,header.masthead hgroup h2{float:left;font-size:34px;line-height:1.5}header.masthead hgroup h1{font-weight:900;letter-spacing:-1px}header.masthead hgroup h2{position:absolute;bottom:-3px;left:0;margin:0;font-size:15px;font-weight:normal;line-height:1.2;white-space:nowrap}header.masthead .content{position:absolute;top:10px;right:0}header.masthead .section{float:left}header.masthead .navigation{margin-right:20px}header.masthead .navigation ul.unstyled{*zoom:1;margin:5px 0}header.masthead .navigation ul.unstyled:before,header.masthead .navigation ul.unstyled:after{display:table;content:""}header.masthead .navigation ul.unstyled:after{clear:both}header.masthead .navigation ul.unstyled li{display:block;float:left}header.masthead .navigation ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}header.masthead .navigation ul.unstyled li a.active{background-color:#0d6581;box-shadow:0 -1px 0 #084152,0 1px 0 #26758e}header.masthead .site-search{margin:3px 0}header.masthead .site-search input{width:190px;font-size:11px;padding:4px}header.masthead .account{background:#003f52;padding:3px 5px;margin:2px 0 2px 30px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 2px 4px #002b38;-moz-box-shadow:inset 0 2px 4px #002b38;box-shadow:inset 0 2px 4px #002b38}header.masthead .account ul.unstyled{*zoom:1}header.masthead .account ul.unstyled:before,header.masthead .account ul.unstyled:after{display:table;content:""}header.masthead .account ul.unstyled:after{clear:both}header.masthead .account ul.unstyled li{display:block;float:left}header.masthead .account ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px}header.masthead .account ul.unstyled li a.sub{font-weight:300;border-left:1px solid #002b38}header.masthead .account .dropdown{float:left}header.masthead .account .button{display:block;text-decoration:none;background-color:#005d7a;color:#80aebd;text-shadow:0 1px 1px #003647;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 #007094;-moz-box-shadow:inset 0 1px 0 #007094;box-shadow:inset 0 1px 0 #007094}header.masthead .account .image{margin:2px 0;padding:0 4px 0 0;overflow:hidden;font-size:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}header.masthead .account .image i{vertical-align:-1px}header.masthead .account .image img{opacity:0.7;border-right:1px solid #00536b;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}header.masthead .account .notifications{padding:4px 8px 3px 8px;margin:2px 5px 2px 0}header.masthead .account .notifications.notifications-important{color:#ffffff;background-color:#c9403a;text-shadow:0 1px 1px #a3322d;-webkit-box-shadow:inset 0 1px 0 #ce534e;-moz-box-shadow:inset 0 1px 0 #ce534e;box-shadow:inset 0 1px 0 #ce534e}header.masthead .account .dropdown.open .image img,header.masthead .account .dropdown .image:hover img{opacity:1;border-right-color:#007b9e}header.masthead .account .dropdown.open .button,header.masthead .account .dropdown .button:hover{color:#ffffff;background-color:#669eaf;-webkit-box-shadow:inset 0 1px 0 #80aebd;-moz-box-shadow:inset 0 1px 0 #80aebd;box-shadow:inset 0 1px 0 #80aebd;text-decoration:none}header.masthead .account .dropdown.open .notifications-important,header.masthead .account .dropdown .notifications-important:hover{background-color:#d46762;text-shadow:0 1px 1px #c9403a;-webkit-box-shadow:inset 0 1px 0 #d97a76;-moz-box-shadow:inset 0 1px 0 #d97a76;box-shadow:inset 0 1px 0 #d97a76}header.masthead .account.authed{margin:0 0 0 30px}header.masthead .account.not-authed{padding-top:2px;padding-bottom:2px}header.masthead .dropdown-menu{margin-top:-1px}header.masthead .user-dropdown-menu a{color:#005d7a}header.masthead .user-dropdown-menu a:hover{color:#ffffff}header.masthead .debug{position:absolute;top:10px;left:10px;color:rgba(255,255,255,0.5)}.site-footer{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#005974;background-image:-moz-linear-gradient(top,#005d7a,#00536b);background-image:-ms-linear-gradient(top,#005d7a,#00536b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#005d7a),to(#00536b));background-image:-webkit-linear-gradient(top,#005d7a,#00536b);background-image:-o-linear-gradient(top,#005d7a,#00536b);background-image:linear-gradient(top,#005d7a,#00536b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#005d7a',endColorstr='#00536b',GradientType=0);font-size:12px;padding:20px 0}.site-footer:before,.site-footer:after{display:table;content:""}.site-footer:after{clear:both}.site-footer,.site-footer label,.site-footer small{color:#ccdee3}.site-footer a{color:#ccdee3}.footer-links,.attribution{float:left;margin-left:20px;width:460px}.footer-links{margin-left:0}.footer-links li{display:inline-block;width:40%;margin-right:5%;margin-bottom:5px}.attribution small{color:#ccdee3;font-size:12px}.attribution .ckan-footer-logo{display:block;width:65px;height:21px;margin-top:2px;background:url("../../../base/images/ckan-logo-footer.png") no-repeat top left;text-indent:-900em}.lang-select{*zoom:1}.lang-select:before,.lang-select:after{display:table;content:""}.lang-select:after{clear:both}.lang-select label,.lang-select select,.lang-select .lang-container{float:left;margin-top:0}.lang-dropdown{color:#000000}.lang-dropdown li{width:auto}.lang-dropdown .select2-result-label[data-value]:before{content:"";display:inline-block;background-image:url("../../../base/images/flags.png");background-repeat:no-repeat;background-position:0 11px;width:17px;height:11px;position:relative;top:1px}.lang-dropdown .select2-result-label[data-value*="/en/"]:before{background-position:0 0}.lang-dropdown .select2-result-label[data-value*="/de/"]:before{background-position:0 -11px}.lang-dropdown .select2-result-label[data-value*="/fr/"]:before{background-position:0 -22px}.lang-dropdown .select2-result-label[data-value*="/it/"]:before{background-position:0 -33px}.lang-dropdown .select2-result-label[data-value*="/es/"]:before{background-position:0 -44px}.lang-dropdown .select2-result-label[data-value*="/pl/"]:before{background-position:0 -55px}.lang-dropdown .select2-result-label[data-value*="/ru/"]:before{background-position:0 -66px}.lang-dropdown .select2-result-label[data-value*="/nl/"]:before{background-position:0 -77px}.lang-dropdown .select2-result-label[data-value*="/sv/"]:before{background-position:0 -88px}.lang-dropdown .select2-result-label[data-value*="/no/"]:before{background-position:0 -99px}.lang-dropdown .select2-result-label[data-value*="/cs/"]:before,.lang-dropdown .select2-result-label[data-value*="/cs_CZ/"]:before{background-position:0 -110px}.lang-dropdown .select2-result-label[data-value*="/hu/"]:before{background-position:0 -121px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.lang-dropdown .select2-result-label[data-value*="/fi/"]:before{background-position:0 -143px}.lang-dropdown .select2-result-label[data-value*="/bg/"]:before{background-position:0 -154px}.lang-dropdown .select2-result-label[data-value*="/ca/"]:before{background-position:0 -165px}.lang-dropdown .select2-result-label[data-value*="/sq/"]:before{background-position:0 -176px}.lang-dropdown .select2-result-label[data-value*="/sr/"]:before,.lang-dropdown .select2-result-label[data-value*="/sr_Latn/"]:before{background-position:0 -187px}.lang-dropdown .select2-result-label[data-value*="/zh_TW/"]:before{background-position:0 -198px}.lang-dropdown .select2-result-label[data-value*="/lv/"]:before{background-position:0 -209px}.lang-dropdown .select2-result-label[data-value*="/sk/"]:before{background-position:0 -220px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.editing [role="main"],.editing .main{background:#efefef url("../../../base/images/editing.png?2") 0 0 repeat-x}.profile .empty,.profile .dataset-list{margin-bottom:20px}.profile-info .module-content{padding:15px}.profile-info .avatar{border:1px solid #DDD;padding:5px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.profile-info .avatar img,.profile-info .avatar a{display:block}.profile-info p{overflow:auto}.profile-info code{font-weight:normal;padding:0;margin:0}.profile-info h1.heading{margin:10px 0 5px 0;font-size:21px}.profile-info .info{margin-top:15px;padding-top:10px;border-top:1px dotted #DDD}.profile-info .info dl dd{margin-top:3px;margin-left:0}.profile-info .nums{*zoom:1;margin-top:15px;padding-top:10px;padding-bottom:0;border-top:1px dotted #DDD}.profile-info .nums:before,.profile-info .nums:after{display:table;content:""}.profile-info .nums:after{clear:both}.profile-info .nums dl{float:left;width:33%;margin:5px 0 0 0;color:#4d4d4d}.profile-info .nums dl dt{display:block;font-weight:300}.profile-info .nums dl dd{display:block;font-size:30px;font-weight:700;line-height:1.2;margin-left:0}.profile-info.editing .module-content{margin-top:0}.activity{margin:10px 0;padding:0;list-style-type:none;background:transparent url('../../../base/images/dotted.png') 14px 0 repeat-y}.activity .item{position:relative;margin:0 0 15px 0;padding:0;*zoom:1}.activity .item:before,.activity .item:after{display:table;content:""}.activity .item:after{clear:both}.activity .item i{display:block;float:left;width:30px;height:30px;line-height:30px;text-align:center;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,0.2);font-weight:normal;font-size:16px;margin-right:10px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px 2px rgba(0,0,0,0.2)}.activity .item .gravatar{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.activity .item .actor .gravatar{float:left;margin-top:-5px;margin-right:10px}.activity .item p{font-size:14px;line-height:1.5;margin:5px 0 0 0}.activity .item .date{color:#999;font-size:12px;white-space:nowrap;margin-left:5px}.activity .item .new{display:block;position:absolute;overflow:hidden;top:-3px;left:-3px;width:10px;height:10px;background-color:#A35647;border:1px solid #FFF;text-indent:-1000px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.2);box-shadow:0 1px 2px rgba(0,0,0,0.2)}.popover .about{margin-bottom:10px}.popover .popover-close{float:right;text-decoration:none}.activity .item i{background-color:#999999}.activity .item.added-tag i{background-color:#6995a6}.activity .item.changed-group i{background-color:#767dce}.activity .item.changed-package i{background-color:#8c76ce}.activity .item.changed-package_extra i{background-color:#769ace}.activity .item.changed-resource i{background-color:#aa76ce}.activity .item.changed-user i{background-color:#76b8ce}.activity .item.changed-organization i{background-color:#699fa6}.activity .item.deleted-group i{background-color:#b95252}.activity .item.deleted-package i{background-color:#b97452}.activity .item.deleted-package_extra i{background-color:#b95274}.activity .item.deleted-resource i{background-color:#b99752}.activity .item.deleted-organization i{background-color:#b95297}.activity .item.new-group i{background-color:#69a67a}.activity .item.new-package i{background-color:#69a68e}.activity .item.new-package_extra i{background-color:#6ca669}.activity .item.new-resource i{background-color:#81a669}.activity .item.new-user i{background-color:#69a6a3}.activity .item.new-organization i{background-color:#81a669}.activity .item.removed-tag i{background-color:#b95297}.activity .item.deleted-related-item i{background-color:#b9b952}.activity .item.follow-dataset i{background-color:#767dce}.activity .item.follow-user i{background-color:#8c76ce}.activity .item.new-related-item i{background-color:#95a669}.activity .item.follow-group i{background-color:#8ba669}.popover-context-loading .popover-title{display:none}.popover-context-loading .popover-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.popover-context-loading .popover-content img{vertical-align:-3px;margin-right:10px}.follower-list li{margin:0 0 15px 0}.follower-list .gravatar{vertical-align:-4px;margin-right:3px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.module-my-datasets .empty{padding:10px}body{background-color:#00536b}[hidden]{display:none}table{table-layout:fixed}thead th{vertical-align:top}td,th{word-wrap:break-word}table .metric{width:140px}code{padding:2px 2px;color:#000000;font-weight:bold;border:none;background:none}pre{border:none;background:none;padding-left:0;padding-right:0}mark{background:#fdf7e9}blockquote p{font-size:1em}iframe{border:none}.embedded-content h1{font-size:1.4em}.embedded-content h2{font-size:1.4em}.embedded-content h3{font-size:1.2em}.popular{text-indent:-999em}.empty{color:#aeaeae;font-style:italic}.page-heading{margin-bottom:16px}.m-top{margin-top:15px}.m-left{margin-left:15px}.m-right{margin-right:15px}.m-bottom{margin-bottom:15px}.no-margin{margin:0}.reduced-margin{margin:3px 5px}.p-top{padding-top:15px}.p-left{padding-left:15px}.p-right{padding-right:15px}.p-bottom{padding-bottom:15px}.no-padding{padding:0}.reduced-padding{padding:3px 5px}.ie .lang-dropdown{position:relative;top:-20px}.ie .module,.ie .media-image{border:1px solid #cccccc}.ie .module-popup{border-bottom:none}.ie .banner{top:0;right:0;width:auto}.ie .group-listing{margin-left:-24px}.ie .toolbar .breadcrumb{filter:none}.ie .toolbar .breadcrumb li{float:left}.ie .toolbar .breadcrumb li:after{margin:0 0.2em}.ie9 .control-large input{height:56px}.ie9 .module{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3)}.ie7 .masthead nav ul li a.active,.ie8 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#006584;border-top:1px solid #00516b;border-bottom:1px solid #007094}.ie8 .masthead .account a.image{display:block;width:25px;padding-right:10px;white-space:nowrap}.ie7 .alert{position:relative}.ie7 .alert .close{position:absolute;top:6px!important;right:20px}.ie7 .media-item{width:30%}.ie7 .tags .tag-list{*zoom:1}.ie7 .tags .tag-list:before,.ie7 .tags .tag-list:after{display:table;content:""}.ie7 .tags .tag-list:after{clear:both}.ie7 .tags .tag-list li{display:block;float:left}.ie7 .tags h3{float:left}.ie7 .tags .tag{display:block;border:1px solid #d0d0d0;background:#f5f5f5}.ie7 .search-giant input{width:95%}.ie7 .control-full input,.ie7 .control-full select,.ie7 .control-full textarea{width:95%}.ie7 .control-full.control-large .controls input{padding-bottom:20px}.ie7 .controls{position:relative}.ie7 .controls .info-block,.ie7 .controls .info-inline{position:absolute;top:0;right:0}.ie7 .form-horizontal .controls{margin-left:0}.ie7 .control-custom .checkbox{*display:inline;*zoom:1}.ie7 .stages{overflow:hidden;background-color:#ededed}.ie7 .stages li{height:30px;width:27.5%}.ie7 .stages li button,.ie7 .stages li span{display:block;height:30px;padding-left:20px}.ie7 .stages li button{height:50px}.ie7 .stages li .highlight{width:auto}.ie7 .masthead{position:relative;z-index:1}.ie7 .masthead .logo img,.ie7 .masthead nav{*display:inline;*zoom:1}.ie7 .masthead nav ul{margin-top:5px}.ie7 .masthead nav ul li{float:left}.ie7 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#006584;border-top:1px solid #00516b;border-bottom:1px solid #007094}.ie7 .masthead .header-image{display:block}.ie7 .masthead .account .dropdown-menu{z-index:10000}.ie7 .footer-links{*zoom:1}.ie7 .footer-links:before,.ie7 .footer-links:after{display:table;content:""}.ie7 .footer-links:after{clear:both}.ie7 .footer-links li{float:left}.ie7 .module-narrow .nav-item.image{*zoom:1}.ie7 .module-narrow .nav-item.image:before,.ie7 .module-narrow .nav-item.image:after{display:table;content:""}.ie7 .module-narrow .nav-item.image:after{clear:both}.ie7 .nav-facet .nav-item.active a{content:'x'}.ie7 .toolbar .breadcrumb li{padding-right:10px;margin-right:5px;background:transparent url("../../../base/images/breadcrumb-slash-ie7.png") 100% 50% no-repeat}.ie7 .toolbar .breadcrumb li.active{background-image:none}.ie7 .module-heading{*zoom:1}.ie7 .module-heading:before,.ie7 .module-heading:after{display:table;content:""}.ie7 .module-heading:after{clear:both}.ie7 .module-heading .media-content{position:relative}.ie7 .module-heading .action{position:absolute;top:9px;right:10px}.ie7 .module-heading .media-image img{float:left}.ie7 .group-listing{position:relative;zoom:1} \ No newline at end of file diff --git a/ckan/public/base/css/maroon.min.css b/ckan/public/base/css/maroon.min.css deleted file mode 100644 index ec976042ee2..00000000000 --- a/ckan/public/base/css/maroon.min.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#4d4d4d;background-color:#efefef}a{color:#5b0404;text-decoration:none}a:hover{color:#120101;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,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;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;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:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#ffffff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b55457;border-color:#b55457}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#954143;-webkit-box-shadow:0 0 6px #d49b9d;-moz-box-shadow:0 0 6px #d49b9d;box-shadow:0 0 6px #d49b9d}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b55457;background-color:#f8f0f0;border-color:#b55457}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999999}::-webkit-input-placeholder{color:#999999}.help-block,.help-inline{color:#555555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;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-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#5b0404}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#ffffff,#eaeaea);background-image:-ms-linear-gradient(top,#ffffff,#eaeaea);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#eaeaea));background-image:-webkit-linear-gradient(top,#ffffff,#eaeaea);background-image:-o-linear-gradient(top,#ffffff,#eaeaea);background-image:linear-gradient(top,#ffffff,#eaeaea);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eaeaea',GradientType=0);border-color:#eaeaea #eaeaea #c4c4c4;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#eaeaea;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#eaeaea;*background-color:#dddddd}.btn:active,.btn.active{background-color:#d1d1d1 \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#dd0c0c;background-image:-moz-linear-gradient(top,#cf0a0a,#f21010);background-image:-ms-linear-gradient(top,#cf0a0a,#f21010);background-image:-webkit-gradient(linear,0 0,0 100%,from(#cf0a0a),to(#f21010));background-image:-webkit-linear-gradient(top,#cf0a0a,#f21010);background-image:-o-linear-gradient(top,#cf0a0a,#f21010);background-image:linear-gradient(top,#cf0a0a,#f21010);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf0a0a',endColorstr='#f21010',GradientType=0);border-color:#f21010 #f21010 #ac0909;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f21010;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#f21010;*background-color:#dd0c0c}.btn-primary:active,.btn-primary.active{background-color:#c40b0b \9}.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*zoom:1;*margin-left:.3em}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn-group.open .btn.dropdown-toggle{background-color:#eaeaea}.btn-group.open .btn-primary.dropdown-toggle{background-color:#f21010}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-danger,.alert-error{background-color:#f8f0f0;border-color:#c6898b;color:#b55457}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:18px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eeeeee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#5b0404}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#5b0404}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#5b0404;border-bottom-color:#5b0404;margin-top:6px}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#120101;border-bottom-color:#120101}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333}.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff}.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999999}.navbar .brand:hover{text-decoration:none}.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999999}.navbar .navbar-link:hover{color:#ffffff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#cccccc}.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{margin:0;padding:5px 5px 6px}.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222}.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333}.navbar .nav.pull-right{margin-left:10px;margin-right:0}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px}.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#ffffff;border-bottom-color:#ffffff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#ffffff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{left:auto;right:13px}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#ffffff,#f5f5f5);background-image:-ms-linear-gradient(top,#ffffff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ffffff,#f5f5f5);background-image:-o-linear-gradient(top,#ffffff,#f5f5f5);background-image:linear-gradient(top,#ffffff,#f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff}.breadcrumb .divider{padding:0 5px;color:#999999}.breadcrumb .active a{color:#333333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#5b0404;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b55457}.label-important[href],.badge-important[href]{background-color:#954143}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#ffffff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}@font-face{font-family:'FontAwesome';src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot');src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.woff') format('woff'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:middle;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav-tabs [class^="icon-"],.btn [class*=" icon-"],.nav-tabs [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertical-align:initial}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-user-md:before{content:"\f200"}.pill{background-color:#cccccc;color:#ffffff;padding:1px 5px 1px 8px;margin-right:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pill a{color:#ffffff}.pill a.remove{font-size:11px}.tag{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#5b0404;padding-left:10px;padding-right:5px;margin-right:11px}.tag:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.unstyled{margin:0;list-style:none}.simple-item{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-item:last-of-type{border-bottom:0}.simple-list{*zoom:1;margin:0;list-style:none}.simple-list:before,.simple-list:after{display:table;content:""}.simple-list:after{clear:both}.simple-list>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-list>li:last-of-type{border-bottom:0}.simple-list .ckan-icon{position:relative;top:0px}.module-narrow .simple-list>li{padding-left:15px;padding-right:15px;position:relative}.listing li{text-align:right;margin-bottom:5px}.listing .key{clear:right;font-weight:bold}.js .tab-content{display:none}.js .tab-content.active{display:block}.module{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.3);-moz-box-shadow:0 0 3px rgba(0,0,0,0.3);box-shadow:0 0 3px rgba(0,0,0,0.3);background-color:#ffffff;margin-bottom:20px}.module-heading{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:14px;line-height:1.3;padding:7px 25px;border-bottom:1px solid #d0d0d0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.module-heading-secondary{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-top:1px solid #d0d0d0}.module-heading [class^=icon]:before{font-size:1.2em;line-height:1;position:relative;top:1px;margin-right:0.1em}.module-heading .action{float:right;color:#8c8c8c;font-size:11px;text-decoration:underline}.module-content{padding:0 25px;margin:20px 0}.module-content:first-child{margin-top:0;padding-top:20px}.module-content:last-child{margin-bottom:0;padding-bottom:20px}.module-content>:last-child{margin-bottom:0}.module-border-top{border-top:1px dotted #cccccc}.module-border-bottom{border-bottom:1px dotted #cccccc}.module-footer{padding:7px 25px 7px;border-top:1px dotted #cccccc}.module .read-more{font-weight:bold;color:#000000}.module .pagination{height:34px;margin-bottom:0;border-top:1px solid #d0d0d0}.module .pagination>ul{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0}.module .pagination li a{border-top:none;border-bottom:none}.module .pagination li:first-child a,.module .pagination li:last-child a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.module .pagination li:first-child a{border-left-width:0}.module .pagination li:last-child a{border-right-width:0}.module .pagination li.active a{border-left-width:1px;border-right-width:1px}.module .action{text-align:center}.module-shallow .module-content{padding:10px;margin:0}.module-shallow .module-content:first-child{padding-top:10px}.module-shallow .module-content:last-child{padding-bottom:10px}.module-shallow small{font-size:11px;display:block}.module-narrow .module-heading,.module-narrow .module-content,.module-narrow .module-footer{padding-left:15px;padding-right:15px}.module-grid{margin:0;list-style:none;margin:0;list-style:none;*zoom:1;margin-left:-20px;padding:0}.module-grid:before,.module-grid:after{display:table;content:""}.module-grid:after{clear:both}.module-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left;float:left;margin-left:20px;width:460px;padding-top:10px;padding-bottom:10px;padding-right:50px;overflow:hidden;position:relative}.module-item.first{clear:left}.group .content img{margin:0 -5px 5px;max-width:initial}.group .content h3{font-size:14px;line-height:1.3}.group-listing{margin-left:-20px}.ckanext-datapreview{position:relative}.ckanext-datapreview>iframe{min-height:400px}.ckanext-datapreview>img{max-height:500px;max-width:100%;overflow:hidden}.package-info h4{margin-bottom:10px}.media{position:relative;overflow:hidden}.media-content>:last-child{margin-bottom:0}.media-heading{font-size:14px;line-height:1.3em;margin:5px 0}.media-image,.media .gravatar{position:relative;float:left;margin-right:10px;overflow:hidden}.media-image:after{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);box-shadow:inset 0 0 2px rgba(0,0,0,0.3);content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.media-image img{display:block;margin:0 auto}.media-vertical .media-image,.media-vertical .media-content{float:none;display:block}.media-vertical .media-image{margin-right:0;max-height:125px}.media-grid,ul.media-grid,ol.media-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px}.media-grid:before,ul.media-grid:before,ol.media-grid:before,.media-grid:after,ul.media-grid:after,ol.media-grid:after{display:table;content:""}.media-grid:after,ul.media-grid:after,ol.media-grid:after{clear:both}.media-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left}.media-item.first{clear:left}.media-item .media-content{min-height:63px}.related-item.expanded{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#ffffff;background-color:rgba(255,255,255,0.9);z-index:2}.media-wide{padding:0}.media-wide .media{float:left;margin-left:20px;width:460px}.media-overlay{position:relative;min-height:35px}.media-overlay .media-heading{position:absolute;left:0;right:0;bottom:0;padding:12px 10px;margin:0;background-color:#000;background-color:rgba(0,0,0,0.8);font-size:13px;color:#fff;z-index:1}.media-overlay .media-image{float:none;display:block;margin-right:0}.banner{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;position:absolute;top:15px;right:-35px;width:80px;color:#ffffff;background:#707070;padding:1px 20px;font-size:11px;text-align:center;text-transform:uppercase}.nav-simple{*zoom:1;margin:0;list-style:none;padding-bottom:0}.nav-simple:before,.nav-simple:after{display:table;content:""}.nav-simple:after{clear:both}.nav-simple>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.nav-simple>li:last-of-type{border-bottom:0}.nav-simple .ckan-icon{position:relative;top:0px}.nav-item>a{color:#333333;margin:-7px -25px;padding:7px 25px}.nav-item.active{background-color:#f2f2f2}.nav-item.active>a span{white-space:nowrap;overflow:hidden;display:block}.nav-item.active>a{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#5b0404;padding-left:10px;padding-right:5px;margin-right:11px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:bold;position:relative;left:4px;margin-left:-25px;margin-right:-20px;padding-left:10px;padding-right:0px;padding:1px 22px}.nav-item.active>a:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.nav-item [class^=icon]{font-size:1.2em;margin:-1px 0 -1px -1px}.module-narrow .nav-item>a{padding-left:15px;padding-right:15px;position:relative}.module-narrow .nav-item.active>a{padding-left:12px;padding-right:12px}.module-narrow .nav-item.image{position:relative}.module-narrow .nav-item.image>a{padding-left:42px;padding-right:42px}.module-narrow .nav-item.image>img{position:absolute;top:50%;left:15px;width:20px;height:20px;margin-top:-10px;z-index:2}.nav-facet .nav-item>a:hover:after,.nav-facet .nav-item.active>a:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;content:"";position:absolute;top:50%;right:5px;margin-top:-8px}.nav-facet .nav-item>a:hover:after:last-child,.nav-facet .nav-item.active>a:after:last-child{*margin-left:0}.nav-facet .nav-item>a:hover:after{width:17px;height:17px;background-position:-17px -16px}.nav-facet .nav-item.active>a:after{width:17px;height:17px;background-position:0px -16px;right:3px}.js .js-hide{display:none}.js .js-hide.active{display:block}.btn,label{font-weight:bold}label{cursor:pointer;font-size:14px;line-height:2}label:after{content:":"}label.radio:after,label.checkbox:after{content:""}input,textarea,select,.uneditable-input{font-size:14px;padding:8px 10px}input[type=radio],input[type=checkbox]{position:relative;top:7px;padding:0;margin:0}input[type=radio].checkbox-onown,input[type=checkbox].checkbox-onown{top:0}select{margin-top:6px;padding:4px}textarea{max-width:100%}.input-prepend .add-on{padding:8px 8px;font-size:14px}.control-group .btn{position:relative;top:-2px}.control-full input,.control-full select,.control-full textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:auto;width:100%}.control-medium input,.control-medium select,.control-medium textarea{width:320px}.control-large input,.control-large .control-label{font-size:18px}.form-actions{background:none;margin-left:-25px;margin-right:-25px;margin-bottom:0;padding-bottom:0;text-align:right}.form-actions .action-info{float:left;width:50%;line-height:2;text-align:left;color:#707070;margin:0}.form-actions .action-info.small{font-size:11px;line-height:1.2}.form-horizontal .control-label{width:120px;line-height:1.3;padding-top:9px}.form-horizontal .control-large input,.form-horizontal .control-large .control-label{font-size:18px;line-height:2}.form-horizontal .control-large .control-label{padding-top:10px}.form-horizontal .controls{margin-left:130px}.form-horizontal .info-block{position:relative;display:block;font-size:11px;color:#aeaeae;line-height:1.3;padding:6px 0 6px 25px;margin-top:6px}.form-horizontal .info-inline{float:right;width:265px;margin-top:0}.form-horizontal .control-medium .info-block.info-inline{width:165px}.form-horizontal .info-block:before{font-size:2.2em;position:absolute;left:0;top:2px}.form-horizontal .info-inline:before{top:8px}.info-block .icon-large,.info-inline .icon-large{float:left;font-size:22px;margin-right:15px}.form-horizontal .info-block a{color:#aeaeae;text-decoration:underline}.form-horizontal .form-actions{padding-left:25px;padding-right:25px}.form-inline input{padding-bottom:9px}.form-inline select{margin-top:0}.form-inline .btn{margin-left:5px}.form-narrow label{margin-bottom:0}.form-narrow select{width:100%}.form-narrow .form-actions{margin-left:-15px;margin-right:-15px;padding:10px 15px 0}.form-select label{margin-right:5px}.simple-input label,.simple-input button{display:none}.simple-input .field{position:relative}.simple-input .field-bordered{border-bottom:1px dotted #cccccc}.simple-input .field input{width:100%;height:auto;margin:0 -7px;padding:7px 5px}.simple-input .field .btn-search{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:17px;height:17px;background-position:-51px -16px;position:absolute;display:block;height:17px;width:17px;top:50%;right:0;margin-top:-8px;background-color:transparent;border:none;text-indent:-999em}.simple-input .field .btn-search:last-child{*margin-left:0}.editor textarea{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:none}.editor .editor-info-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;float:none;padding:4px 10px;background:#ebebeb;width:auto;border:1px solid #cccccc;border-top:none;font-size:11px;color:#282828}.editor .editor-info-block a{color:#5b0404;text-decoration:none}.control-custom{font-size:0}.control-custom label{margin-bottom:0}.control-custom input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:140px}.control-custom input:last-of-type{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.control-custom .checkbox{display:inline-block;margin-left:5px}.control-custom .checkbox input{width:auto}.control-custom.disabled label,.control-custom.disabled input{color:#aaaaaa;text-decoration:line-through;text-shadow:none}.control-custom.disabled input{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#f3f3f3}.control-custom.disabled .checkbox{color:#4d4d4d;text-decoration:none}.control-custom .checkbox.btn{-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;position:relative;top:0;left:5px;height:3px;width:8px;padding:3px 8px}.control-custom .checkbox.btn span{display:none;width:30px}.control-custom .checkbox.btn:before{position:relative;top:1px;left:-1px;color:#fff}.control-custom .checkbox.btn input{display:none}.control-custom.disabled .checkbox.btn{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#dd0c0c;background-image:-moz-linear-gradient(top,#cf0a0a,#f21010);background-image:-ms-linear-gradient(top,#cf0a0a,#f21010);background-image:-webkit-gradient(linear,0 0,0 100%,from(#cf0a0a),to(#f21010));background-image:-webkit-linear-gradient(top,#cf0a0a,#f21010);background-image:-o-linear-gradient(top,#cf0a0a,#f21010);background-image:linear-gradient(top,#cf0a0a,#f21010);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf0a0a',endColorstr='#f21010',GradientType=0);border-color:#f21010 #f21010 #ac0909;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f21010;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.control-custom.disabled .checkbox.btn:hover,.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active,.control-custom.disabled .checkbox.btn.disabled,.control-custom.disabled .checkbox.btn[disabled]{background-color:#f21010;*background-color:#dd0c0c}.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active{background-color:#c40b0b \9}.control-custom.disabled .checkbox.btn .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert-danger a,.alert-error a{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea,.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{border-color:#c6898b}.error-inline{color:#b55457}.error-block,.error-inline{font-size:12px}.error-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;padding:6px 8px 3px;background:#c6898b;margin:-3px 0 0;color:#ffffff;width:216px}.control-medium .error-block{width:326px}.control-full .error-block{width:auto}.control-group.error .input-prepend .error-block,.control-custom.error .error-block{margin-left:-1px;width:auto}.control-custom.error .error-block{width:409px}.control-select.error .error-block{width:204px}.stages{margin:0;list-style:none;*zoom:1;color:#aeaeae;counter-reset:stage;margin:-20px -25px 20px;overflow:hidden}.stages:before,.stages:after{display:table;content:""}.stages:after{clear:both}.stages li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:27px;counter-increment:stage;width:33.33%;background-color:#ededed;float:left;padding:10px 20px;position:relative;z-index:0}.stages li:before{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;content:counter(stage);display:inline-block;width:27px;height:27px;margin-right:5px;font-weight:bold;text-align:center;color:#ffffff;background-color:#aeaeae;z-index:1}.stages li:after{left:0;border:solid rgba(237,237,237,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-top-color:#ededed;border-bottom-color:#ededed;border-width:29px;top:50%;margin-top:-29px;margin-left:-30px}.stages li.first,.stages li.first .highlight{-webkit-border-radius:3px 0 0 0;-moz-border-radius:3px 0 0 0;border-radius:3px 0 0 0}.stages li.last{position:relative;right:-1px}.stages li.last,.stages li.last .highlight{-webkit-border-radius:0 3px 0 0;-moz-border-radius:0 3px 0 0;border-radius:0 3px 0 0}.stages li.first:after{content:none;border:none}.stages li.active:after{border-color:rgba(140,198,138,0);border-top-color:#8cc68a;border-bottom-color:#8cc68a}.stages li.complete:after{border-color:rgba(197,226,196,0);border-top-color:#c5e2c4;border-bottom-color:#c5e2c4}.stages.stage-3 li.complete:first-child:after{content:none}.stages li.active,.stages li.complete{background:none}.stages li.active:before{color:#8cc68a;background:#ffffff}.stages li.complete:before{color:#c5e2c4;background:#eef6ed}.stages li .highlight{display:block;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;padding:10px 52px;border:none;text-align:left;text-decoration:none;line-height:27px;z-index:-1}.stages li.active .highlight{color:#ffffff;background:#8cc68a}.stages li.complete .highlight{color:#eef6ed;background:#c5e2c4}.alert>:last-child{margin-bottom:0}.slug-preview{font-size:14px;line-height:1.5;margin-top:5px;margin-left:10px}.slug-preview-value{background-color:#faedcf;margin-right:3px}.slug-preview .btn{padding-top:3px;padding-bottom:3px}.resource-upload-field{position:relative;overflow:hidden;display:inline-block;vertical-align:bottom}.resource-upload-field label{z-index:0}.resource-upload-field input{opacity:0;filter:alpha(opacity=0);position:absolute;top:0;right:0;z-index:1;margin:0;border:solid transparent;border-width:100px 0 0 200px;cursor:pointer;direction:ltr;-moz-transform:translate(-300px,0) scale(4)}.resource-upload-field.loading{display:inline-block;background:url("../../../base/images/loading-spinner.gif") no-repeat center right;padding-right:5px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{font-size:14px}.select2-container-multi .select2-choices .select2-search-field input{height:29px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{padding-left:10px}.select2-container{margin-top:5px}.select2-container-multi{margin-top:0}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 22px}.select2-container-multi.select2-container .select2-choices{padding-top:3px;padding-bottom:3px}.select2-search-choice-close,.select2-container-multi .select2-search-choice-close{top:6px;left:5px}.select2-container-multi .select2-choices{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;background-color:#ffffff;border:1px solid #cccccc}.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.select2-container-multi .select2-drop{margin-top:-2px}.select2-container .select2-results li{line-height:18px;padding-top:4px;padding-bottom:4px}.control-full .select2-container{width:520px!important}.dataset-item{border-bottom:1px dotted #cccccc;padding-bottom:20px;margin-bottom:20px}.dataset-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.dataset-heading{font-size:14px;line-height:1.3}.dataset-heading a{color:#333333}.dataset-heading .label{position:relative;top:-1px}.dataset-content{font-size:12px}.dataset-resources{font-size:10px;line-height:14px;margin-top:5px}.dataset-resources li{display:inline}.dataset-resources li a{background-color:#aaaaaa}.dataset-heading .popular{top:0}.results{margin-bottom:20px;padding-bottom:25px;border-bottom:1px dotted #cccccc}.results strong{display:block;font-size:24px;line-height:1.3;color:#000000;margin-bottom:10px}.results strong:before{float:right;content:" ";width:280px;white-space:pre}.filter-list{color:#4d4d4d;font-weight:bold}.filter-list .extra{margin-top:10px;font-size:18px;font-weight:normal;color:#000000}.dataset-search{position:relative}.search-giant{position:relative}.search-giant input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:16px;padding:14px 10px;width:100%;height:auto}.search-giant button{cursor:pointer;position:absolute;right:15px;top:50%;display:block;border:none;padding:0;margin-top:-17px;width:30px;height:30px;background:transparent url("../../../base/images/icon-search-27x26.png") no-repeat center center;text-indent:-900em}.control-order-by{position:absolute;bottom:-65px;right:0}.control-order-by label,.control-order-by select{display:inline}.control-order-by select{width:160px}.resource-list{margin:0;list-style:none;margin:-10px -10px 10px -10px}.resource-item{position:relative;padding:10px 110px 10px 60px;margin-bottom:0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.resource-item:hover{background-color:#efefef}.resource-item .heading{color:#000000;font-size:14px;font-weight:bold}.resource-item .format-label{position:absolute;top:10px;left:10px}.resource-item .description{font-size:12px;margin-bottom:0}.resource-item .btn-group{position:absolute;top:13px;right:10px}.dataset-resource-form .dataset-form-resource-types{margin-bottom:5px}.dataset-form-resource-types .ckan-icon{position:relative;top:3px}.dataset-form-resource-types .radio{font-weight:normal;padding-left:0;padding-right:18px}.dataset-form-resource-types label{position:relative}.dataset-form-resource-types input[type=radio]:checked+label{font-weight:bold}.dataset-form-resource-types input[type=radio]:checked+label:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:16px;height:16px;background-position:-192px 0;display:block;content:"";position:absolute;top:auto;left:0;bottom:-12px}.dataset-form-resource-types input[type=radio]:checked+label:after:last-child{*margin-left:0}.dataset-form-resource-types input[type=radio]{display:none}.tag-list{margin:0;list-style:none;padding:10px}.tag-list li{display:inline-block;margin-right:5px}.tag-list li:last-child{margin-right:0}.additional-info td,.additional-info th{width:50%}.label[data-format=html],.label[data-format*=html]{background-color:#55a1ce}.label[data-format=json],.label[data-format*=json]{background-color:#ef7100}.label[data-format=xml],.label[data-format*=xml]{background-color:#ef7100}.label[data-format=text],.label[data-format*=text]{background-color:#74cbec}.label[data-format=csv],.label[data-format*=csv]{background-color:#dfb100}.label[data-format=xls],.label[data-format*=xls]{background-color:#2db55d}.label[data-format=zip],.label[data-format*=zip]{background-color:#686868}.label[data-format=api],.label[data-format*=api]{background-color:#ec96be}.label[data-format=pdf],.label[data-format*=pdf]{background-color:#e0051e}.label[data-format=rdf],.label[data-format*=rdf],.label[data-format*=nquad],.label[data-format*=ntriples],.label[data-format*=turtle]{background-color:#0b4498}.group .media-vertical .image{margin:0 -5px 5px}.group-list:nth-child(odd){clear:left}.group-list .module-heading{padding-top:15px;padding-bottom:15px}.group-list .dataset-content{min-height:54px}.group-list .module-heading h3{margin-bottom:2px}.group-list .module-heading h3 a{color:#333333}.toolbar{*zoom:1;margin-top:-10px;margin-bottom:10px;padding:5px 0}.toolbar:before,.toolbar:after{display:table;content:""}.toolbar:after{clear:both}.toolbar .breadcrumb{*zoom:1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;float:left;margin:0;padding:0;border:none;background:none;font-size:20px}.toolbar .breadcrumb:before,.toolbar .breadcrumb:after{display:table;content:""}.toolbar .breadcrumb:after{clear:both}.toolbar li [class^=icon]:before{width:auto}.toolbar .breadcrumb li:after{content:" / "}.toolbar .breadcrumb li.active:after{content:""}.toolbar .breadcrumb li:last-of-type:after{content:""}.toolbar .home a{text-decoration:none}.toolbar .home span{display:none}.toolbar .breadcrumb a{color:#505050;line-height:28px}.toolbar .breadcrumb .active a{font-weight:bold}.toolbar .actions{margin:0;list-style:none}.toolbar .actions li{display:inline-block;margin-right:5px}.toolbar .actions li{*display:inline;*zoom:1}.toolbar .actions li:last-of-type{margin-right:0}.toolbar .btn{padding:0 10px 0 8px;border-color:#b7b7b7;line-height:27px}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#dd0c0c;background-image:-moz-linear-gradient(top,#cf0a0a,#f21010);background-image:-ms-linear-gradient(top,#cf0a0a,#f21010);background-image:-webkit-gradient(linear,0 0,0 100%,from(#cf0a0a),to(#f21010));background-image:-webkit-linear-gradient(top,#cf0a0a,#f21010);background-image:-o-linear-gradient(top,#cf0a0a,#f21010);background-image:linear-gradient(top,#cf0a0a,#f21010);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf0a0a',endColorstr='#f21010',GradientType=0);border-color:#f21010 #f21010 #ac0909;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f21010;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-primary:hover,.toolbar .btn-primary:active,.toolbar .btn-primary.active,.toolbar .btn-primary.disabled,.toolbar .btn-primary[disabled]{background-color:#f21010;*background-color:#dd0c0c}.toolbar .btn-primary:active,.toolbar .btn-primary.active{background-color:#c40b0b \9}.toolbar .btn-primary .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-warning:hover,.toolbar .btn-warning:active,.toolbar .btn-warning.active,.toolbar .btn-warning.disabled,.toolbar .btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.toolbar .btn-warning:active,.toolbar .btn-warning.active{background-color:#c67605 \9}.toolbar .btn-warning .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-danger:hover,.toolbar .btn-danger:active,.toolbar .btn-danger.active,.toolbar .btn-danger.disabled,.toolbar .btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.toolbar .btn-danger:active,.toolbar .btn-danger.active{background-color:#942a25 \9}.toolbar .btn-danger .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-info:hover,.toolbar .btn-info:active,.toolbar .btn-info.active,.toolbar .btn-info.disabled,.toolbar .btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.toolbar .btn-info:active,.toolbar .btn-info.active{background-color:#24748c \9}.toolbar .btn-info .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-inverse:hover,.toolbar .btn-inverse:active,.toolbar .btn-inverse.active,.toolbar .btn-inverse.disabled,.toolbar .btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.toolbar .btn-inverse:active,.toolbar .btn-inverse.active{background-color:#080808 \9}.toolbar .btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.hide-heading{display:none}.page-header{position:relative;border-bottom:1px solid #d0d0d0;height:30px;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.page-header .nav-tabs{position:absolute;left:20px;bottom:-1px;margin-bottom:0}.page-header .nav-tabs i{margin-right:10px;font-size:14px}.page-header .nav-tabs a:hover{background-color:#ffffff}.prose h1,.prose heading-1 h2,.prose heading-2{margin-bottom:15px}.prose h3,.prose heading-3{margin-bottom:10px}.table-chunky td,.table-chunky th{padding:12px 15px;font-size:12px}.table-chunky thead th,.table-chunky thead td{color:#ffffff;background-color:#aaaaaa;padding-top:10px;padding-bottom:10px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:transparent}.table-striped tbody tr:nth-child(even) td,.table-striped tbody tr:nth-child(even) th{background-color:#f2f2f2}.table-chunky.table-bordered{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:first-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:2px;-moz-border-radius-topleft:2px;border-top-left-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:last-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:first-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 2px;-moz-border-radius:0 0 0 2px;border-radius:0 0 0 2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;border-bottom-left-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:last-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;border-bottom-right-radius:2px}.ckan-icon{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px}.ckan-icon:last-child{*margin-left:0}.ckan-icon-fb{width:16px;height:16px;background-position:0px 0}.ckan-icon-gplus{width:16px;height:16px;background-position:-16px 0}.ckan-icon-twitter{width:16px;height:16px;background-position:-32px 0}.ckan-icon-email{width:16px;height:16px;background-position:-48px 0}.ckan-icon-share{width:16px;height:16px;background-position:-64px 0}.ckan-icon-feed{width:16px;height:16px;background-position:-80px 0}.ckan-icon-calendar{width:16px;height:16px;background-position:-96px 0}.ckan-icon-file{width:16px;height:16px;background-position:-112px 0}.ckan-icon-lock{width:16px;height:16px;background-position:-128px 0}.ckan-icon-link-file{width:16px;height:16px;background-position:-144px 0}.ckan-icon-link-plugin{width:16px;height:16px;background-position:-160px 0}.ckan-icon-upload-file{width:16px;height:16px;background-position:-176px 0}.ckan-icon-callout{width:16px;height:16px;background-position:-192px 0}.ckan-icon-circle-cross{width:17px;height:17px;background-position:0px -16px}.ckan-icon-circle-add{width:17px;height:17px;background-position:-17px -16px}.ckan-icon-flame{width:17px;height:17px;background-position:-34px -16px}.ckan-icon-search{width:17px;height:17px;background-position:-51px -16px}.ckan-icon-large-lock{width:20px;height:20px;background-position:0px -33px}.ckan-icon-photo{width:20px;height:20px;background-position:-20px -33px}.ckan-icon-add{width:20px;height:20px;background-position:-40px -33px}.ckan-icon-home{width:20px;height:20px;background-position:-60px -33px}.ckan-icon-rewind{width:20px;height:20px;background-position:-80px -33px}.ckan-icon-tools{width:20px;height:20px;background-position:-100px -33px}.ckan-icon-flag{width:20px;height:20px;background-position:-120px -33px}.ckan-icon-clipboard{width:20px;height:20px;background-position:-140px -33px}.ckan-icon-share{width:20px;height:20px;background-position:-160px -33px}.ckan-icon-info{width:20px;height:20px;background-position:-180px -33px}.ckan-icon-download{width:20px;height:20px;background-position:-200px -33px}.ckan-icon-star{width:20px;height:20px;background-position:-220px -33px}.ckan-icon-info-flat{width:20px;height:20px;background-position:-240px -33px}.ckan-icon-tag{width:20px;height:20px;background-position:-260px -33px}.ckan-icon-plus{width:20px;height:20px;background-position:-280px -33px;width:16px}.ckan-icon-head{width:20px;height:20px;background-position:-300px -33px}.ckan-icon-arrow-e{width:20px;height:20px;background-position:-320px -33px;width:16px}.ckan-icon-bookmark{width:25px;height:25px;background-position:0px -53px}.format-label{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;text-indent:-900em;background:url("../../../base/images/sprite-resource-icons.png") no-repeat 0 0}.format-label:last-child{*margin-left:0}.format-label{width:32px;height:35px;background-position:0px -62px}.format-label[data-format=rdf],.format-label[data-format*=rdf]{width:32px;height:35px;background-position:-32px -62px}.format-label[data-format=pdf],.format-label[data-format*=pdf]{width:32px;height:35px;background-position:-64px -62px}.format-label[data-format=api],.format-label[data-format*=api]{width:32px;height:35px;background-position:-96px -62px}.format-label[data-format=zip],.format-label[data-format*=zip]{width:32px;height:35px;background-position:-128px -62px}.format-label[data-format=xls],.format-label[data-format*=xls]{width:32px;height:35px;background-position:-160px -62px}.format-label[data-format=csv],.format-label[data-format*=csv]{width:32px;height:35px;background-position:-192px -62px}.format-label[data-format=txt],.format-label[data-format*=txt]{width:32px;height:35px;background-position:-224px -62px}.format-label[data-format=xml],.format-label[data-format*=xml]{width:32px;height:35px;background-position:-256px -62px}.format-label[data-format=json],.format-label[data-format*=json]{width:32px;height:35px;background-position:-288px -62px}.format-label[data-format=html],.format-label[data-format*=html]{width:32px;height:35px;background-position:-320px -62px}li [class^="icon-"],li [class*=" icon-"]{width:auto}li .icon-large:before,li .icon-large:before{width:auto}[role=main],.main{position:relative;padding-top:27px;padding-bottom:27px;background-color:#efefef}[role=main]{min-height:350px}.main:after,.main:before,[role=main]:after,[role=main]:before{content:"";position:absolute;left:0;right:0;height:7px;background:#ffffff;border-color:#c9c9c9;border-style:solid;border-width:0}.main:before,[role=main]:before{top:0;border-bottom-width:1px}.main:after,[role=main]:after{bottom:0;border-top-width:1px}[role=main] .primary{float:left;margin-left:20px;width:700px;float:right}[role=main] .secondary{float:left;margin-left:20px;width:220px;margin-left:0;float:left}.primary>:last-child,.secondary>:last-child{margin-bottom:0}.hero{background:url("../../../base/images/background-tile.png")}.hero:after{background-color:rgba(0,0,0,0.09);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-ms-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-repeat:repeat-x;background-color:transparent;top:7px;bottom:auto;height:5px}.hero{padding-bottom:0;min-height:0}.hero>.container{position:relative;padding-bottom:0}.hero-primary,.hero-secondary{float:left;margin-left:20px;width:460px}.hero-primary{margin-left:0}.hero-primary{margin-left:0;margin-bottom:0}.hero-secondary{position:absolute;bottom:0;right:0}.hero-secondary-inner{bottom:0;left:0;right:0}.hero .module-popup{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin-top:50px}.hero .module-popup .module-content{padding-bottom:2px}.hero .page-heading{font-size:18px;margin-bottom:0}.hero .module-dark{padding:5px;margin-bottom:10px;color:#ffffff;background:#ffffff}.hero .module-dark .module-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#810606}.hero .module-dark .module-content .heading{margin-bottom:7px}.hero .tags{margin-bottom:9px}.hero .tags .tag,.hero .tags .tag-list{display:inline-block}.hero .tags .tag-list{padding:0}.hero .tags .tag{margin-right:15px}header.masthead{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#910707;background-image:-moz-linear-gradient(top,#810606,#a80808);background-image:-ms-linear-gradient(top,#810606,#a80808);background-image:-webkit-gradient(linear,0 0,0 100%,from(#810606),to(#a80808));background-image:-webkit-linear-gradient(top,#810606,#a80808);background-image:-o-linear-gradient(top,#810606,#a80808);background-image:linear-gradient(top,#810606,#a80808);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#810606',endColorstr='#a80808',GradientType=0)}header.masthead:before,header.masthead:after{display:table;content:""}header.masthead:after{clear:both}header.masthead .container{position:relative}header.masthead a{color:#ffffff}header.masthead hgroup h1,header.masthead hgroup h2{float:left;font-size:34px;line-height:1.5}header.masthead hgroup h1{font-weight:900;letter-spacing:-1px}header.masthead hgroup h2{position:absolute;bottom:-3px;left:0;margin:0;font-size:15px;font-weight:normal;line-height:1.2;white-space:nowrap}header.masthead .content{position:absolute;top:10px;right:0}header.masthead .section{float:left}header.masthead .navigation{margin-right:20px}header.masthead .navigation ul.unstyled{*zoom:1;margin:5px 0}header.masthead .navigation ul.unstyled:before,header.masthead .navigation ul.unstyled:after{display:table;content:""}header.masthead .navigation ul.unstyled:after{clear:both}header.masthead .navigation ul.unstyled li{display:block;float:left}header.masthead .navigation ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}header.masthead .navigation ul.unstyled li a.active{background-color:#871212;box-shadow:0 -1px 0 #5a0c0c,0 1px 0 #942b2b}header.masthead .site-search{margin:3px 0}header.masthead .site-search input{width:190px;font-size:11px;padding:4px}header.masthead .account{background:#900707;padding:3px 5px;margin:2px 0 2px 30px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 2px 4px #770606;-moz-box-shadow:inset 0 2px 4px #770606;box-shadow:inset 0 2px 4px #770606}header.masthead .account ul.unstyled{*zoom:1}header.masthead .account ul.unstyled:before,header.masthead .account ul.unstyled:after{display:table;content:""}header.masthead .account ul.unstyled:after{clear:both}header.masthead .account ul.unstyled li{display:block;float:left}header.masthead .account ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px}header.masthead .account ul.unstyled li a.sub{font-weight:300;border-left:1px solid #770606}header.masthead .account .dropdown{float:left}header.masthead .account .button{display:block;text-decoration:none;background-color:#810606;color:#c08383;text-shadow:0 1px 1px #500404;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 #990707;-moz-box-shadow:inset 0 1px 0 #990707;box-shadow:inset 0 1px 0 #990707}header.masthead .account .image{margin:2px 0;padding:0 4px 0 0;overflow:hidden;font-size:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}header.masthead .account .image i{vertical-align:-1px}header.masthead .account .image img{opacity:0.7;border-right:1px solid #a80808;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}header.masthead .account .notifications{padding:4px 8px 3px 8px;margin:2px 5px 2px 0}header.masthead .account .notifications.notifications-important{color:#ffffff;background-color:#c9403a;text-shadow:0 1px 1px #a3322d;-webkit-box-shadow:inset 0 1px 0 #ce534e;-moz-box-shadow:inset 0 1px 0 #ce534e;box-shadow:inset 0 1px 0 #ce534e}header.masthead .account .dropdown.open .image img,header.masthead .account .dropdown .image:hover img{opacity:1;border-right-color:#d90a0a}header.masthead .account .dropdown.open .button,header.masthead .account .dropdown .button:hover{color:#ffffff;background-color:#b36a6a;-webkit-box-shadow:inset 0 1px 0 #c08383;-moz-box-shadow:inset 0 1px 0 #c08383;box-shadow:inset 0 1px 0 #c08383;text-decoration:none}header.masthead .account .dropdown.open .notifications-important,header.masthead .account .dropdown .notifications-important:hover{background-color:#d46762;text-shadow:0 1px 1px #c9403a;-webkit-box-shadow:inset 0 1px 0 #d97a76;-moz-box-shadow:inset 0 1px 0 #d97a76;box-shadow:inset 0 1px 0 #d97a76}header.masthead .account.authed{margin:0 0 0 30px}header.masthead .account.not-authed{padding-top:2px;padding-bottom:2px}header.masthead .dropdown-menu{margin-top:-1px}header.masthead .user-dropdown-menu a{color:#810606}header.masthead .user-dropdown-menu a:hover{color:#ffffff}header.masthead .debug{position:absolute;bottom:10px;left:10px;font-size:11px;color:rgba(255,255,255,0.5);line-height:1.2}.site-footer{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#910707;background-image:-moz-linear-gradient(top,#810606,#a80808);background-image:-ms-linear-gradient(top,#810606,#a80808);background-image:-webkit-gradient(linear,0 0,0 100%,from(#810606),to(#a80808));background-image:-webkit-linear-gradient(top,#810606,#a80808);background-image:-o-linear-gradient(top,#810606,#a80808);background-image:linear-gradient(top,#810606,#a80808);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#810606',endColorstr='#a80808',GradientType=0);font-size:12px;padding:20px 0}.site-footer:before,.site-footer:after{display:table;content:""}.site-footer:after{clear:both}.site-footer,.site-footer label,.site-footer small{color:#ccdee3}.site-footer a{color:#ccdee3}.footer-links,.attribution{float:left;margin-left:20px;width:460px}.footer-links{margin-left:0}.footer-links li{display:inline-block;width:40%;margin-right:5%;margin-bottom:5px}.attribution small{color:#ccdee3;font-size:12px}.attribution .ckan-footer-logo{display:block;width:65px;height:21px;margin-top:2px;background:url("../../../base/images/ckan-logo-footer.png") no-repeat top left;text-indent:-900em}.lang-select{*zoom:1}.lang-select:before,.lang-select:after{display:table;content:""}.lang-select:after{clear:both}.lang-select label,.lang-select select,.lang-select .lang-container{float:left;margin-top:0}.lang-dropdown{color:#000000}.lang-dropdown li{width:auto}.lang-dropdown .select2-result-label[data-value]:before{content:"";display:inline-block;background-image:url("../../../base/images/flags.png");background-repeat:no-repeat;background-position:0 11px;width:17px;height:11px;position:relative;top:1px}.lang-dropdown .select2-result-label[data-value*="/en/"]:before{background-position:0 0}.lang-dropdown .select2-result-label[data-value*="/de/"]:before{background-position:0 -11px}.lang-dropdown .select2-result-label[data-value*="/fr/"]:before{background-position:0 -22px}.lang-dropdown .select2-result-label[data-value*="/it/"]:before{background-position:0 -33px}.lang-dropdown .select2-result-label[data-value*="/es/"]:before{background-position:0 -44px}.lang-dropdown .select2-result-label[data-value*="/pl/"]:before{background-position:0 -55px}.lang-dropdown .select2-result-label[data-value*="/ru/"]:before{background-position:0 -66px}.lang-dropdown .select2-result-label[data-value*="/nl/"]:before{background-position:0 -77px}.lang-dropdown .select2-result-label[data-value*="/sv/"]:before{background-position:0 -88px}.lang-dropdown .select2-result-label[data-value*="/no/"]:before{background-position:0 -99px}.lang-dropdown .select2-result-label[data-value*="/cs/"]:before,.lang-dropdown .select2-result-label[data-value*="/cs_CZ/"]:before{background-position:0 -110px}.lang-dropdown .select2-result-label[data-value*="/hu/"]:before{background-position:0 -121px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.lang-dropdown .select2-result-label[data-value*="/fi/"]:before{background-position:0 -143px}.lang-dropdown .select2-result-label[data-value*="/bg/"]:before{background-position:0 -154px}.lang-dropdown .select2-result-label[data-value*="/ca/"]:before{background-position:0 -165px}.lang-dropdown .select2-result-label[data-value*="/sq/"]:before{background-position:0 -176px}.lang-dropdown .select2-result-label[data-value*="/sr/"]:before,.lang-dropdown .select2-result-label[data-value*="/sr_Latn/"]:before{background-position:0 -187px}.lang-dropdown .select2-result-label[data-value*="/zh_TW/"]:before{background-position:0 -198px}.lang-dropdown .select2-result-label[data-value*="/lv/"]:before{background-position:0 -209px}.lang-dropdown .select2-result-label[data-value*="/sk/"]:before{background-position:0 -220px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.profile .empty,.profile .dataset-list{margin-bottom:20px}.profile-info .module-content{padding:15px}.profile-info .avatar{border:1px solid #DDD;padding:5px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.profile-info .avatar img,.profile-info .avatar a{display:block}.profile-info code{font-weight:normal;padding:0;margin:0}.profile-info h1.heading{margin:10px 0 5px 0;font-size:21px}.profile-info .info{margin-top:15px;padding-top:10px;border-top:1px dotted #DDD}.profile-info .info dl dd{margin-top:3px;margin-left:0}.profile-info .nums{*zoom:1;margin-top:15px;padding-top:10px;padding-bottom:0;border-top:1px dotted #DDD}.profile-info .nums:before,.profile-info .nums:after{display:table;content:""}.profile-info .nums:after{clear:both}.profile-info .nums dl{float:left;width:33%;margin:5px 0 0 0;color:#4d4d4d}.profile-info .nums dl dt{display:block;font-weight:300}.profile-info .nums dl dd{display:block;font-size:30px;font-weight:700;line-height:1.2;margin-left:0}.activity{margin:10px 0;padding:0;list-style-type:none;background:transparent url('../../../base/images/dotted.png') 14px 0 repeat-y}.activity .item{position:relative;margin:0 0 15px 0;padding:0;*zoom:1}.activity .item:before,.activity .item:after{display:table;content:""}.activity .item:after{clear:both}.activity .item i{display:block;float:left;width:30px;height:30px;line-height:30px;text-align:center;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,0.2);font-weight:normal;font-size:16px;margin-right:10px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px 2px rgba(0,0,0,0.2)}.activity .item .gravatar{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.activity .item .actor .gravatar{float:left;margin-top:-5px;margin-right:10px}.activity .item p{font-size:14px;line-height:1.5;margin:5px 0 0 0}.activity .item .date{color:#999;font-size:12px;white-space:nowrap;margin-left:5px}.activity .item .new{display:block;position:absolute;overflow:hidden;top:-3px;left:-3px;width:10px;height:10px;background-color:#A35647;border:1px solid #FFF;text-indent:-1000px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.2);box-shadow:0 1px 2px rgba(0,0,0,0.2)}.popover .about{margin-bottom:10px}.popover .popover-close{float:right;text-decoration:none}.activity .item i{background-color:#767dce}.activity .item.added-tag i{background-color:#6995a6}.activity .item.changed-group i{background-color:#767dce}.activity .item.changed-package i{background-color:#8c76ce}.activity .item.changed-package_extra i{background-color:#769ace}.activity .item.changed-resource i{background-color:#aa76ce}.activity .item.changed-user i{background-color:#76b8ce}.activity .item.deleted-group i{background-color:#b95252}.activity .item.deleted-package i{background-color:#b97452}.activity .item.deleted-package_extra i{background-color:#b95274}.activity .item.deleted-resource i{background-color:#b99752}.activity .item.new-group i{background-color:#69a67a}.activity .item.new-package i{background-color:#69a68e}.activity .item.new-package_extra i{background-color:#6ca669}.activity .item.new-resource i{background-color:#81a669}.activity .item.new-user i{background-color:#69a6a3}.activity .item.removed-tag i{background-color:#b95297}.activity .item.deleted-related-item i{background-color:#b9b952}.activity .item.follow-dataset i{background-color:#767dce}.activity .item.follow-user i{background-color:#8c76ce}.activity .item.new-related-item i{background-color:#95a669}.activity .item.follow-group i{background-color:#8ba669}.popover-context-loading .popover-title{display:none}.popover-context-loading .popover-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.popover-context-loading .popover-content img{vertical-align:-3px;margin-right:10px}.follower-list li{margin:0 0 15px 0}.follower-list .gravatar{vertical-align:-4px;margin-right:3px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.module-my-datasets .empty{padding:10px}body{background-color:#a80808}[hidden]{display:none}table{table-layout:fixed}thead th{vertical-align:top}td,th{word-wrap:break-word}table .metric{width:140px}code{padding:2px 2px;color:#000000;font-weight:bold;border:none;background:none}pre{border:none;background:none;padding-left:0;padding-right:0}mark{background:#fdf7e9}blockquote p{font-size:1em}iframe{border:none}.embedded-content h1{font-size:1.4em}.embedded-content h2{font-size:1.4em}.embedded-content h3{font-size:1.2em}.popular{text-indent:-999em}.empty{color:#aeaeae;font-style:italic}.page-heading{margin-bottom:16px}.m-top{margin-top:15px}.m-left{margin-left:15px}.m-right{margin-right:15px}.m-bottom{margin-bottom:15px}.no-margin{margin:0}.reduced-margin{margin:3px 5px}.p-top{padding-top:15px}.p-left{padding-left:15px}.p-right{padding-right:15px}.p-bottom{padding-bottom:15px}.no-padding{padding:0}.reduced-padding{padding:3px 5px}.ie .lang-dropdown{position:relative;top:-20px}.ie .module,.ie .media-image{border:1px solid #cccccc}.ie .module-popup{border-bottom:none}.ie .banner{top:0;right:0;width:auto}.ie .group-listing{margin-left:-24px}.ie .toolbar .breadcrumb{filter:none}.ie .toolbar .breadcrumb li{float:left}.ie .toolbar .breadcrumb li:after{margin:0 0.2em}.ie9 .control-large input{height:56px}.ie9 .module{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3)}.ie7 .masthead nav ul li a.active,.ie8 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#8b0606;border-top:1px solid #720505;border-bottom:1px solid #990707}.ie8 .masthead .account a.image{display:block;width:25px;padding-right:10px;white-space:nowrap}.ie7 .alert{position:relative}.ie7 .alert .close{position:absolute;top:6px!important;right:20px}.ie7 .media-item{width:30%}.ie7 .tags .tag-list{*zoom:1}.ie7 .tags .tag-list:before,.ie7 .tags .tag-list:after{display:table;content:""}.ie7 .tags .tag-list:after{clear:both}.ie7 .tags .tag-list li{display:block;float:left}.ie7 .tags h3{float:left}.ie7 .tags .tag{display:block;border:1px solid #d0d0d0;background:#f5f5f5}.ie7 .search-giant input{width:95%}.ie7 .control-full input,.ie7 .control-full select,.ie7 .control-full textarea{width:95%}.ie7 .control-full.control-large .controls input{padding-bottom:20px}.ie7 .controls{position:relative}.ie7 .controls .info-block,.ie7 .controls .info-inline{position:absolute;top:0;right:0}.ie7 .form-horizontal .controls{margin-left:0}.ie7 .control-custom .checkbox{*display:inline;*zoom:1}.ie7 .stages{overflow:hidden;background-color:#ededed}.ie7 .stages li{height:30px;width:27.5%}.ie7 .stages li button,.ie7 .stages li span{display:block;height:30px;padding-left:20px}.ie7 .stages li button{height:50px}.ie7 .stages li .highlight{width:auto}.ie7 .masthead{position:relative;z-index:1}.ie7 .masthead .logo img,.ie7 .masthead nav{*display:inline;*zoom:1}.ie7 .masthead nav ul{margin-top:5px}.ie7 .masthead nav ul li{float:left}.ie7 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#8b0606;border-top:1px solid #720505;border-bottom:1px solid #990707}.ie7 .masthead .header-image{display:block}.ie7 .masthead .account .dropdown-menu{z-index:10000}.ie7 .footer-links{*zoom:1}.ie7 .footer-links:before,.ie7 .footer-links:after{display:table;content:""}.ie7 .footer-links:after{clear:both}.ie7 .footer-links li{float:left}.ie7 .module-narrow .nav-item.image{*zoom:1}.ie7 .module-narrow .nav-item.image:before,.ie7 .module-narrow .nav-item.image:after{display:table;content:""}.ie7 .module-narrow .nav-item.image:after{clear:both}.ie7 .nav-facet .nav-item.active a{content:'x'}.ie7 .toolbar .breadcrumb li{padding-right:10px;margin-right:5px;background:transparent url("../../../base/images/breadcrumb-slash-ie7.png") 100% 50% no-repeat}.ie7 .toolbar .breadcrumb li.active{background-image:none}.ie7 .module-heading{*zoom:1}.ie7 .module-heading:before,.ie7 .module-heading:after{display:table;content:""}.ie7 .module-heading:after{clear:both}.ie7 .module-heading .media-content{position:relative}.ie7 .module-heading .action{position:absolute;top:9px;right:10px}.ie7 .module-heading .media-image img{float:left}.ie7 .group-listing{position:relative;zoom:1} \ No newline at end of file diff --git a/ckan/public/base/css/red.min.css b/ckan/public/base/css/red.min.css deleted file mode 100644 index 87a58cc5560..00000000000 --- a/ckan/public/base/css/red.min.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#4d4d4d;background-color:#efefef}a{color:#b50909;text-decoration:none}a:hover{color:#6c0505;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,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;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;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:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#ffffff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b55457;border-color:#b55457}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#954143;-webkit-box-shadow:0 0 6px #d49b9d;-moz-box-shadow:0 0 6px #d49b9d;box-shadow:0 0 6px #d49b9d}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b55457;background-color:#f8f0f0;border-color:#b55457}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999999}::-webkit-input-placeholder{color:#999999}.help-block,.help-inline{color:#555555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;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-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#b50909}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#ffffff,#eaeaea);background-image:-ms-linear-gradient(top,#ffffff,#eaeaea);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#eaeaea));background-image:-webkit-linear-gradient(top,#ffffff,#eaeaea);background-image:-o-linear-gradient(top,#ffffff,#eaeaea);background-image:linear-gradient(top,#ffffff,#eaeaea);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eaeaea',GradientType=0);border-color:#eaeaea #eaeaea #c4c4c4;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#eaeaea;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#eaeaea;*background-color:#dddddd}.btn:active,.btn.active{background-color:#d1d1d1 \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#f65454;background-image:-moz-linear-gradient(top,#f54444,#f76b6b);background-image:-ms-linear-gradient(top,#f54444,#f76b6b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f54444),to(#f76b6b));background-image:-webkit-linear-gradient(top,#f54444,#f76b6b);background-image:-o-linear-gradient(top,#f54444,#f76b6b);background-image:linear-gradient(top,#f54444,#f76b6b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f54444',endColorstr='#f76b6b',GradientType=0);border-color:#f76b6b #f76b6b #f32222;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76b6b;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#f76b6b;*background-color:#f65353}.btn-primary:active,.btn-primary.active{background-color:#f43b3b \9}.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*zoom:1;*margin-left:.3em}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125),inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn-group.open .btn.dropdown-toggle{background-color:#eaeaea}.btn-group.open .btn-primary.dropdown-toggle{background-color:#f76b6b}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-danger,.alert-error{background-color:#f8f0f0;border-color:#c6898b;color:#b55457}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:18px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eeeeee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#b50909}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#b50909}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#b50909;border-bottom-color:#b50909;margin-top:6px}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#6c0505;border-bottom-color:#6c0505}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333}.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff}.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 -1px 0 rgba(0,0,0,.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999999}.navbar .brand:hover{text-decoration:none}.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999999}.navbar .navbar-link:hover{color:#ffffff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0px rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#cccccc}.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{margin:0;padding:5px 5px 6px}.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222}.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333}.navbar .nav.pull-right{margin-left:10px;margin-right:0}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333333,#222222);background-image:-ms-linear-gradient(top,#333333,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333333),to(#222222));background-image:-webkit-linear-gradient(top,#333333,#222222);background-image:-o-linear-gradient(top,#333333,#222222);background-image:linear-gradient(top,#333333,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px}.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#ffffff;border-bottom-color:#ffffff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#ffffff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{left:auto;right:13px}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#ffffff,#f5f5f5);background-image:-ms-linear-gradient(top,#ffffff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ffffff,#f5f5f5);background-image:-o-linear-gradient(top,#ffffff,#f5f5f5);background-image:linear-gradient(top,#ffffff,#f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff}.breadcrumb .divider{padding:0 5px;color:#999999}.breadcrumb .active a{color:#333333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#b50909;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b55457}.label-important[href],.badge-important[href]{background-color:#954143}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#ffffff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}@font-face{font-family:'FontAwesome';src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot');src:url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.woff') format('woff'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.ttf') format('truetype'),url('../../../base/vendor/font-awesome/fonts/fontawesome-webfont.svg#FontAwesome') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:FontAwesome;font-weight:normal;font-style:normal;display:inline-block;text-decoration:inherit}a [class^="icon-"],a [class*=" icon-"]{display:inline-block;text-decoration:inherit}.icon-large:before{vertical-align:middle;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav-tabs [class^="icon-"],.btn [class*=" icon-"],.nav-tabs [class*=" icon-"]{line-height:.9em}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertical-align:initial}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-user-md:before{content:"\f200"}.pill{background-color:#cccccc;color:#ffffff;padding:1px 5px 1px 8px;margin-right:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pill a{color:#ffffff}.pill a.remove{font-size:11px}.tag{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#b50909;padding-left:10px;padding-right:5px;margin-right:11px}.tag:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.unstyled{margin:0;list-style:none}.simple-item{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-item:last-of-type{border-bottom:0}.simple-list{*zoom:1;margin:0;list-style:none}.simple-list:before,.simple-list:after{display:table;content:""}.simple-list:after{clear:both}.simple-list>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.simple-list>li:last-of-type{border-bottom:0}.simple-list .ckan-icon{position:relative;top:0px}.module-narrow .simple-list>li{padding-left:15px;padding-right:15px;position:relative}.listing li{text-align:right;margin-bottom:5px}.listing .key{clear:right;font-weight:bold}.js .tab-content{display:none}.js .tab-content.active{display:block}.module{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.3);-moz-box-shadow:0 0 3px rgba(0,0,0,0.3);box-shadow:0 0 3px rgba(0,0,0,0.3);background-color:#ffffff;margin-bottom:20px}.module-heading{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-size:14px;line-height:1.3;padding:7px 25px;border-bottom:1px solid #d0d0d0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.module-heading-secondary{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-top:1px solid #d0d0d0}.module-heading [class^=icon]:before{font-size:1.2em;line-height:1;position:relative;top:1px;margin-right:0.1em}.module-heading .action{float:right;color:#8c8c8c;font-size:11px;text-decoration:underline}.module-content{padding:0 25px;margin:20px 0}.module-content:first-child{margin-top:0;padding-top:20px}.module-content:last-child{margin-bottom:0;padding-bottom:20px}.module-content>:last-child{margin-bottom:0}.module-border-top{border-top:1px dotted #cccccc}.module-border-bottom{border-bottom:1px dotted #cccccc}.module-footer{padding:7px 25px 7px;border-top:1px dotted #cccccc}.module .read-more{font-weight:bold;color:#000000}.module .pagination{height:34px;margin-bottom:0;border-top:1px solid #d0d0d0}.module .pagination>ul{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0}.module .pagination li a{border-top:none;border-bottom:none}.module .pagination li:first-child a,.module .pagination li:last-child a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.module .pagination li:first-child a{border-left-width:0}.module .pagination li:last-child a{border-right-width:0}.module .pagination li.active a{border-left-width:1px;border-right-width:1px}.module .action{text-align:center}.module-shallow .module-content{padding:10px;margin:0}.module-shallow .module-content:first-child{padding-top:10px}.module-shallow .module-content:last-child{padding-bottom:10px}.module-shallow small{font-size:11px;display:block}.module-narrow .module-heading,.module-narrow .module-content,.module-narrow .module-footer{padding-left:15px;padding-right:15px}.module-grid{margin:0;list-style:none;margin:0;list-style:none;*zoom:1;margin-left:-20px;padding:0}.module-grid:before,.module-grid:after{display:table;content:""}.module-grid:after{clear:both}.module-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left;float:left;margin-left:20px;width:460px;padding-top:10px;padding-bottom:10px;padding-right:50px;overflow:hidden;position:relative}.module-item.first{clear:left}.group .content img{margin:0 -5px 5px;max-width:initial}.group .content h3{font-size:14px;line-height:1.3}.group-listing{margin-left:-20px}.ckanext-datapreview{position:relative}.ckanext-datapreview>iframe{min-height:400px}.ckanext-datapreview>img{max-height:500px;max-width:100%;overflow:hidden}.package-info h4{margin-bottom:10px}.media{position:relative;overflow:hidden}.media-content>:last-child{margin-bottom:0}.media-heading{font-size:14px;line-height:1.3em;margin:5px 0}.media-image,.media .gravatar{position:relative;float:left;margin-right:10px;overflow:hidden}.media-image:after{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 0 2px rgba(0,0,0,0.3);box-shadow:inset 0 0 2px rgba(0,0,0,0.3);content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.media-image img{display:block;margin:0 auto}.media-vertical .media-image,.media-vertical .media-content{float:none;display:block}.media-vertical .media-image{margin-right:0;max-height:125px}.media-grid,ul.media-grid,ol.media-grid{margin:0;list-style:none;*zoom:1;margin-left:-20px}.media-grid:before,ul.media-grid:before,ol.media-grid:before,.media-grid:after,ul.media-grid:after,ol.media-grid:after{display:table;content:""}.media-grid:after,ul.media-grid:after,ol.media-grid:after{clear:both}.media-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding-left:20px;padding-bottom:25px;float:left}.media-item.first{clear:left}.media-item .media-content{min-height:63px}.related-item.expanded{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#ffffff;background-color:rgba(255,255,255,0.9);z-index:2}.media-wide{padding:0}.media-wide .media{float:left;margin-left:20px;width:460px}.media-overlay{position:relative;min-height:35px}.media-overlay .media-heading{position:absolute;left:0;right:0;bottom:0;padding:12px 10px;margin:0;background-color:#000;background-color:rgba(0,0,0,0.8);font-size:13px;color:#fff;z-index:1}.media-overlay .media-image{float:none;display:block;margin-right:0}.banner{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;position:absolute;top:15px;right:-35px;width:80px;color:#ffffff;background:#707070;padding:1px 20px;font-size:11px;text-align:center;text-transform:uppercase}.nav-simple{*zoom:1;margin:0;list-style:none;padding-bottom:0}.nav-simple:before,.nav-simple:after{display:table;content:""}.nav-simple:after{clear:both}.nav-simple>li{font-size:12px;line-height:1.1666666666666667em;padding:7px 25px;border-bottom:1px dotted #cccccc}.nav-simple>li:last-of-type{border-bottom:0}.nav-simple .ckan-icon{position:relative;top:0px}.nav-item>a{color:#333333;margin:-7px -25px;padding:7px 25px}.nav-item.active{background-color:#f2f2f2}.nav-item.active>a span{white-space:nowrap;overflow:hidden;display:block}.nav-item.active>a{background:url("../../../base/images/background-tag.png") no-repeat -13px center;position:relative;display:block;font-size:11px;line-height:27px;color:#b50909;padding-left:10px;padding-right:5px;margin-right:11px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:bold;position:relative;left:4px;margin-left:-25px;margin-right:-20px;padding-left:10px;padding-right:0px;padding:1px 22px}.nav-item.active>a:before{content:"";background:url("../../../base/images/background-tag.png") no-repeat center left;position:absolute;display:block;top:0;bottom:0;right:-11px;width:11px}.nav-item [class^=icon]{font-size:1.2em;margin:-1px 0 -1px -1px}.module-narrow .nav-item>a{padding-left:15px;padding-right:15px;position:relative}.module-narrow .nav-item.active>a{padding-left:12px;padding-right:12px}.module-narrow .nav-item.image{position:relative}.module-narrow .nav-item.image>a{padding-left:42px;padding-right:42px}.module-narrow .nav-item.image>img{position:absolute;top:50%;left:15px;width:20px;height:20px;margin-top:-10px;z-index:2}.nav-facet .nav-item>a:hover:after,.nav-facet .nav-item.active>a:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;content:"";position:absolute;top:50%;right:5px;margin-top:-8px}.nav-facet .nav-item>a:hover:after:last-child,.nav-facet .nav-item.active>a:after:last-child{*margin-left:0}.nav-facet .nav-item>a:hover:after{width:17px;height:17px;background-position:-17px -16px}.nav-facet .nav-item.active>a:after{width:17px;height:17px;background-position:0px -16px;right:3px}.js .js-hide{display:none}.js .js-hide.active{display:block}.btn,label{font-weight:bold}label{cursor:pointer;font-size:14px;line-height:2}label:after{content:":"}label.radio:after,label.checkbox:after{content:""}input,textarea,select,.uneditable-input{font-size:14px;padding:8px 10px}input[type=radio],input[type=checkbox]{position:relative;top:7px;padding:0;margin:0}input[type=radio].checkbox-onown,input[type=checkbox].checkbox-onown{top:0}select{margin-top:6px;padding:4px}textarea{max-width:100%}.input-prepend .add-on{padding:8px 8px;font-size:14px}.control-group .btn{position:relative;top:-2px}.control-full input,.control-full select,.control-full textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:auto;width:100%}.control-medium input,.control-medium select,.control-medium textarea{width:320px}.control-large input,.control-large .control-label{font-size:18px}.form-actions{background:none;margin-left:-25px;margin-right:-25px;margin-bottom:0;padding-bottom:0;text-align:right}.form-actions .action-info{float:left;width:50%;line-height:2;text-align:left;color:#707070;margin:0}.form-actions .action-info.small{font-size:11px;line-height:1.2}.form-horizontal .control-label{width:120px;line-height:1.3;padding-top:9px}.form-horizontal .control-large input,.form-horizontal .control-large .control-label{font-size:18px;line-height:2}.form-horizontal .control-large .control-label{padding-top:10px}.form-horizontal .controls{margin-left:130px}.form-horizontal .info-block{position:relative;display:block;font-size:11px;color:#aeaeae;line-height:1.3;padding:6px 0 6px 25px;margin-top:6px}.form-horizontal .info-inline{float:right;width:265px;margin-top:0}.form-horizontal .control-medium .info-block.info-inline{width:165px}.form-horizontal .info-block:before{font-size:2.2em;position:absolute;left:0;top:2px}.form-horizontal .info-inline:before{top:8px}.info-block .icon-large,.info-inline .icon-large{float:left;font-size:22px;margin-right:15px}.form-horizontal .info-block a{color:#aeaeae;text-decoration:underline}.form-horizontal .form-actions{padding-left:25px;padding-right:25px}.form-inline input{padding-bottom:9px}.form-inline select{margin-top:0}.form-inline .btn{margin-left:5px}.form-narrow label{margin-bottom:0}.form-narrow select{width:100%}.form-narrow .form-actions{margin-left:-15px;margin-right:-15px;padding:10px 15px 0}.form-select label{margin-right:5px}.simple-input label,.simple-input button{display:none}.simple-input .field{position:relative}.simple-input .field-bordered{border-bottom:1px dotted #cccccc}.simple-input .field input{width:100%;height:auto;margin:0 -7px;padding:7px 5px}.simple-input .field .btn-search{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:17px;height:17px;background-position:-51px -16px;position:absolute;display:block;height:17px;width:17px;top:50%;right:0;margin-top:-8px;background-color:transparent;border:none;text-indent:-999em}.simple-input .field .btn-search:last-child{*margin-left:0}.editor textarea{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:none}.editor .editor-info-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;float:none;padding:4px 10px;background:#ebebeb;width:auto;border:1px solid #cccccc;border-top:none;font-size:11px;color:#282828}.editor .editor-info-block a{color:#b50909;text-decoration:none}.control-custom{font-size:0}.control-custom label{margin-bottom:0}.control-custom input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:140px}.control-custom input:last-of-type{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.control-custom .checkbox{display:inline-block;margin-left:5px}.control-custom .checkbox input{width:auto}.control-custom.disabled label,.control-custom.disabled input{color:#aaaaaa;text-decoration:line-through;text-shadow:none}.control-custom.disabled input{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#f3f3f3}.control-custom.disabled .checkbox{color:#4d4d4d;text-decoration:none}.control-custom .checkbox.btn{-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;position:relative;top:0;left:5px;height:3px;width:8px;padding:3px 8px}.control-custom .checkbox.btn span{display:none;width:30px}.control-custom .checkbox.btn:before{position:relative;top:1px;left:-1px;color:#fff}.control-custom .checkbox.btn input{display:none}.control-custom.disabled .checkbox.btn{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#f65454;background-image:-moz-linear-gradient(top,#f54444,#f76b6b);background-image:-ms-linear-gradient(top,#f54444,#f76b6b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f54444),to(#f76b6b));background-image:-webkit-linear-gradient(top,#f54444,#f76b6b);background-image:-o-linear-gradient(top,#f54444,#f76b6b);background-image:linear-gradient(top,#f54444,#f76b6b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f54444',endColorstr='#f76b6b',GradientType=0);border-color:#f76b6b #f76b6b #f32222;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76b6b;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.control-custom.disabled .checkbox.btn:hover,.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active,.control-custom.disabled .checkbox.btn.disabled,.control-custom.disabled .checkbox.btn[disabled]{background-color:#f76b6b;*background-color:#f65353}.control-custom.disabled .checkbox.btn:active,.control-custom.disabled .checkbox.btn.active{background-color:#f43b3b \9}.control-custom.disabled .checkbox.btn .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.alert-danger a,.alert-error a{color:#b55457}.control-group.error input,.control-group.error select,.control-group.error textarea,.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{border-color:#c6898b}.error-inline{color:#b55457}.error-block,.error-inline{font-size:12px}.error-block{-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;display:block;padding:6px 8px 3px;background:#c6898b;margin:-3px 0 0;color:#ffffff;width:216px}.control-medium .error-block{width:326px}.control-full .error-block{width:auto}.control-group.error .input-prepend .error-block,.control-custom.error .error-block{margin-left:-1px;width:auto}.control-custom.error .error-block{width:409px}.control-select.error .error-block{width:204px}.stages{margin:0;list-style:none;*zoom:1;color:#aeaeae;counter-reset:stage;margin:-20px -25px 20px;overflow:hidden}.stages:before,.stages:after{display:table;content:""}.stages:after{clear:both}.stages li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:27px;counter-increment:stage;width:33.33%;background-color:#ededed;float:left;padding:10px 20px;position:relative;z-index:0}.stages li:before{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;content:counter(stage);display:inline-block;width:27px;height:27px;margin-right:5px;font-weight:bold;text-align:center;color:#ffffff;background-color:#aeaeae;z-index:1}.stages li:after{left:0;border:solid rgba(237,237,237,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-top-color:#ededed;border-bottom-color:#ededed;border-width:29px;top:50%;margin-top:-29px;margin-left:-30px}.stages li.first,.stages li.first .highlight{-webkit-border-radius:3px 0 0 0;-moz-border-radius:3px 0 0 0;border-radius:3px 0 0 0}.stages li.last{position:relative;right:-1px}.stages li.last,.stages li.last .highlight{-webkit-border-radius:0 3px 0 0;-moz-border-radius:0 3px 0 0;border-radius:0 3px 0 0}.stages li.first:after{content:none;border:none}.stages li.active:after{border-color:rgba(140,198,138,0);border-top-color:#8cc68a;border-bottom-color:#8cc68a}.stages li.complete:after{border-color:rgba(197,226,196,0);border-top-color:#c5e2c4;border-bottom-color:#c5e2c4}.stages.stage-3 li.complete:first-child:after{content:none}.stages li.active,.stages li.complete{background:none}.stages li.active:before{color:#8cc68a;background:#ffffff}.stages li.complete:before{color:#c5e2c4;background:#eef6ed}.stages li .highlight{display:block;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;padding:10px 52px;border:none;text-align:left;text-decoration:none;line-height:27px;z-index:-1}.stages li.active .highlight{color:#ffffff;background:#8cc68a}.stages li.complete .highlight{color:#eef6ed;background:#c5e2c4}.alert>:last-child{margin-bottom:0}.slug-preview{font-size:14px;line-height:1.5;margin-top:5px;margin-left:10px}.slug-preview-value{background-color:#faedcf;margin-right:3px}.slug-preview .btn{padding-top:3px;padding-bottom:3px}.resource-upload-field{position:relative;overflow:hidden;display:inline-block;vertical-align:bottom}.resource-upload-field label{z-index:0}.resource-upload-field input{opacity:0;filter:alpha(opacity=0);position:absolute;top:0;right:0;z-index:1;margin:0;border:solid transparent;border-width:100px 0 0 200px;cursor:pointer;direction:ltr;-moz-transform:translate(-300px,0) scale(4)}.resource-upload-field.loading{display:inline-block;background:url("../../../base/images/loading-spinner.gif") no-repeat center right;padding-right:5px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{font-size:14px}.select2-container-multi .select2-choices .select2-search-field input{height:29px}.select2-container .select2-choice input,.select2-container-multi .select2-choices .select2-search-field:first-child input{padding-left:10px}.select2-container{margin-top:5px}.select2-container-multi{margin-top:0}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 22px}.select2-container-multi.select2-container .select2-choices{padding-top:3px;padding-bottom:3px}.select2-search-choice-close,.select2-container-multi .select2-search-choice-close{top:6px;left:5px}.select2-container-multi .select2-choices{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;background-color:#ffffff;border:1px solid #cccccc}.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}.select2-container-multi .select2-drop{margin-top:-2px}.select2-container .select2-results li{line-height:18px;padding-top:4px;padding-bottom:4px}.control-full .select2-container{width:520px!important}.dataset-item{border-bottom:1px dotted #cccccc;padding-bottom:20px;margin-bottom:20px}.dataset-item:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.dataset-heading{font-size:14px;line-height:1.3}.dataset-heading a{color:#333333}.dataset-heading .label{position:relative;top:-1px}.dataset-content{font-size:12px}.dataset-resources{font-size:10px;line-height:14px;margin-top:5px}.dataset-resources li{display:inline}.dataset-resources li a{background-color:#aaaaaa}.dataset-heading .popular{top:0}.results{margin-bottom:20px;padding-bottom:25px;border-bottom:1px dotted #cccccc}.results strong{display:block;font-size:24px;line-height:1.3;color:#000000;margin-bottom:10px}.results strong:before{float:right;content:" ";width:280px;white-space:pre}.filter-list{color:#4d4d4d;font-weight:bold}.filter-list .extra{margin-top:10px;font-size:18px;font-weight:normal;color:#000000}.dataset-search{position:relative}.search-giant{position:relative}.search-giant input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;font-size:16px;padding:14px 10px;width:100%;height:auto}.search-giant button{cursor:pointer;position:absolute;right:15px;top:50%;display:block;border:none;padding:0;margin-top:-17px;width:30px;height:30px;background:transparent url("../../../base/images/icon-search-27x26.png") no-repeat center center;text-indent:-900em}.control-order-by{position:absolute;bottom:-65px;right:0}.control-order-by label,.control-order-by select{display:inline}.control-order-by select{width:160px}.resource-list{margin:0;list-style:none;margin:-10px -10px 10px -10px}.resource-item{position:relative;padding:10px 110px 10px 60px;margin-bottom:0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.resource-item:hover{background-color:#efefef}.resource-item .heading{color:#000000;font-size:14px;font-weight:bold}.resource-item .format-label{position:absolute;top:10px;left:10px}.resource-item .description{font-size:12px;margin-bottom:0}.resource-item .btn-group{position:absolute;top:13px;right:10px}.dataset-resource-form .dataset-form-resource-types{margin-bottom:5px}.dataset-form-resource-types .ckan-icon{position:relative;top:3px}.dataset-form-resource-types .radio{font-weight:normal;padding-left:0;padding-right:18px}.dataset-form-resource-types label{position:relative}.dataset-form-resource-types input[type=radio]:checked+label{font-weight:bold}.dataset-form-resource-types input[type=radio]:checked+label:after{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;width:16px;height:16px;background-position:-192px 0;display:block;content:"";position:absolute;top:auto;left:0;bottom:-12px}.dataset-form-resource-types input[type=radio]:checked+label:after:last-child{*margin-left:0}.dataset-form-resource-types input[type=radio]{display:none}.tag-list{margin:0;list-style:none;padding:10px}.tag-list li{display:inline-block;margin-right:5px}.tag-list li:last-child{margin-right:0}.additional-info td,.additional-info th{width:50%}.label[data-format=html],.label[data-format*=html]{background-color:#55a1ce}.label[data-format=json],.label[data-format*=json]{background-color:#ef7100}.label[data-format=xml],.label[data-format*=xml]{background-color:#ef7100}.label[data-format=text],.label[data-format*=text]{background-color:#74cbec}.label[data-format=csv],.label[data-format*=csv]{background-color:#dfb100}.label[data-format=xls],.label[data-format*=xls]{background-color:#2db55d}.label[data-format=zip],.label[data-format*=zip]{background-color:#686868}.label[data-format=api],.label[data-format*=api]{background-color:#ec96be}.label[data-format=pdf],.label[data-format*=pdf]{background-color:#e0051e}.label[data-format=rdf],.label[data-format*=rdf],.label[data-format*=nquad],.label[data-format*=ntriples],.label[data-format*=turtle]{background-color:#0b4498}.group .media-vertical .image{margin:0 -5px 5px}.group-list:nth-child(odd){clear:left}.group-list .module-heading{padding-top:15px;padding-bottom:15px}.group-list .dataset-content{min-height:54px}.group-list .module-heading h3{margin-bottom:2px}.group-list .module-heading h3 a{color:#333333}.toolbar{*zoom:1;margin-top:-10px;margin-bottom:10px;padding:5px 0}.toolbar:before,.toolbar:after{display:table;content:""}.toolbar:after{clear:both}.toolbar .breadcrumb{*zoom:1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;float:left;margin:0;padding:0;border:none;background:none;font-size:20px}.toolbar .breadcrumb:before,.toolbar .breadcrumb:after{display:table;content:""}.toolbar .breadcrumb:after{clear:both}.toolbar li [class^=icon]:before{width:auto}.toolbar .breadcrumb li:after{content:" / "}.toolbar .breadcrumb li.active:after{content:""}.toolbar .breadcrumb li:last-of-type:after{content:""}.toolbar .home a{text-decoration:none}.toolbar .home span{display:none}.toolbar .breadcrumb a{color:#505050;line-height:28px}.toolbar .breadcrumb .active a{font-weight:bold}.toolbar .actions{margin:0;list-style:none}.toolbar .actions li{display:inline-block;margin-right:5px}.toolbar .actions li{*display:inline;*zoom:1}.toolbar .actions li:last-of-type{margin-right:0}.toolbar .btn{padding:0 10px 0 8px;border-color:#b7b7b7;line-height:27px}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#f65454;background-image:-moz-linear-gradient(top,#f54444,#f76b6b);background-image:-ms-linear-gradient(top,#f54444,#f76b6b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f54444),to(#f76b6b));background-image:-webkit-linear-gradient(top,#f54444,#f76b6b);background-image:-o-linear-gradient(top,#f54444,#f76b6b);background-image:linear-gradient(top,#f54444,#f76b6b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f54444',endColorstr='#f76b6b',GradientType=0);border-color:#f76b6b #f76b6b #f32222;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f76b6b;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-primary:hover,.toolbar .btn-primary:active,.toolbar .btn-primary.active,.toolbar .btn-primary.disabled,.toolbar .btn-primary[disabled]{background-color:#f76b6b;*background-color:#f65353}.toolbar .btn-primary:active,.toolbar .btn-primary.active{background-color:#f43b3b \9}.toolbar .btn-primary .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-warning:hover,.toolbar .btn-warning:active,.toolbar .btn-warning.active,.toolbar .btn-warning.disabled,.toolbar .btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.toolbar .btn-warning:active,.toolbar .btn-warning.active{background-color:#c67605 \9}.toolbar .btn-warning .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-danger:hover,.toolbar .btn-danger:active,.toolbar .btn-danger.active,.toolbar .btn-danger.disabled,.toolbar .btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.toolbar .btn-danger:active,.toolbar .btn-danger.active{background-color:#942a25 \9}.toolbar .btn-danger .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-success:hover,.toolbar .btn-success:active,.toolbar .btn-success.active,.toolbar .btn-success.disabled,.toolbar .btn-success[disabled]{background-color:#51a351;*background-color:#499249}.toolbar .btn-success:active,.toolbar .btn-success.active{background-color:#408140 \9}.toolbar .btn-success .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-info:hover,.toolbar .btn-info:active,.toolbar .btn-info.active,.toolbar .btn-info.disabled,.toolbar .btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.toolbar .btn-info:active,.toolbar .btn-info.active{background-color:#24748c \9}.toolbar .btn-info .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.toolbar .btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#414141;background-image:-moz-linear-gradient(top,#555555,#222222);background-image:-ms-linear-gradient(top,#555555,#222222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555555),to(#222222));background-image:-webkit-linear-gradient(top,#555555,#222222);background-image:-o-linear-gradient(top,#555555,#222222);background-image:linear-gradient(top,#555555,#222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.toolbar .btn-inverse:hover,.toolbar .btn-inverse:active,.toolbar .btn-inverse.active,.toolbar .btn-inverse.disabled,.toolbar .btn-inverse[disabled]{background-color:#222222;*background-color:#151515}.toolbar .btn-inverse:active,.toolbar .btn-inverse.active{background-color:#080808 \9}.toolbar .btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75)}.hide-heading{display:none}.page-header{position:relative;border-bottom:1px solid #d0d0d0;height:30px;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-color:#f3f3f3;background-image:-moz-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-ms-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f0f0f0));background-image:-webkit-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:-o-linear-gradient(top,#f5f5f5,#f0f0f0);background-image:linear-gradient(top,#f5f5f5,#f0f0f0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f0f0f0',GradientType=0)}.page-header .nav-tabs{position:absolute;left:20px;bottom:-1px;margin-bottom:0}.page-header .nav-tabs i{margin-right:10px;font-size:14px}.page-header .nav-tabs a:hover{background-color:#ffffff}.prose h1,.prose heading-1 h2,.prose heading-2{margin-bottom:15px}.prose h3,.prose heading-3{margin-bottom:10px}.table-chunky td,.table-chunky th{padding:12px 15px;font-size:12px}.table-chunky thead th,.table-chunky thead td{color:#ffffff;background-color:#aaaaaa;padding-top:10px;padding-bottom:10px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:transparent}.table-striped tbody tr:nth-child(even) td,.table-striped tbody tr:nth-child(even) th{background-color:#f2f2f2}.table-chunky.table-bordered{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:first-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:2px;-moz-border-radius-topleft:2px;border-top-left-radius:2px}.table-chunky.table-bordered thead:first-child tr:first-child th:last-child,.table-chunky.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:first-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 2px;-moz-border-radius:0 0 0 2px;border-radius:0 0 0 2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;border-bottom-left-radius:2px}.table-chunky.table-bordered thead:last-child tr:last-child th:last-child,.table-chunky.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;border-bottom-right-radius:2px}.ckan-icon{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px}.ckan-icon:last-child{*margin-left:0}.ckan-icon-fb{width:16px;height:16px;background-position:0px 0}.ckan-icon-gplus{width:16px;height:16px;background-position:-16px 0}.ckan-icon-twitter{width:16px;height:16px;background-position:-32px 0}.ckan-icon-email{width:16px;height:16px;background-position:-48px 0}.ckan-icon-share{width:16px;height:16px;background-position:-64px 0}.ckan-icon-feed{width:16px;height:16px;background-position:-80px 0}.ckan-icon-calendar{width:16px;height:16px;background-position:-96px 0}.ckan-icon-file{width:16px;height:16px;background-position:-112px 0}.ckan-icon-lock{width:16px;height:16px;background-position:-128px 0}.ckan-icon-link-file{width:16px;height:16px;background-position:-144px 0}.ckan-icon-link-plugin{width:16px;height:16px;background-position:-160px 0}.ckan-icon-upload-file{width:16px;height:16px;background-position:-176px 0}.ckan-icon-callout{width:16px;height:16px;background-position:-192px 0}.ckan-icon-circle-cross{width:17px;height:17px;background-position:0px -16px}.ckan-icon-circle-add{width:17px;height:17px;background-position:-17px -16px}.ckan-icon-flame{width:17px;height:17px;background-position:-34px -16px}.ckan-icon-search{width:17px;height:17px;background-position:-51px -16px}.ckan-icon-large-lock{width:20px;height:20px;background-position:0px -33px}.ckan-icon-photo{width:20px;height:20px;background-position:-20px -33px}.ckan-icon-add{width:20px;height:20px;background-position:-40px -33px}.ckan-icon-home{width:20px;height:20px;background-position:-60px -33px}.ckan-icon-rewind{width:20px;height:20px;background-position:-80px -33px}.ckan-icon-tools{width:20px;height:20px;background-position:-100px -33px}.ckan-icon-flag{width:20px;height:20px;background-position:-120px -33px}.ckan-icon-clipboard{width:20px;height:20px;background-position:-140px -33px}.ckan-icon-share{width:20px;height:20px;background-position:-160px -33px}.ckan-icon-info{width:20px;height:20px;background-position:-180px -33px}.ckan-icon-download{width:20px;height:20px;background-position:-200px -33px}.ckan-icon-star{width:20px;height:20px;background-position:-220px -33px}.ckan-icon-info-flat{width:20px;height:20px;background-position:-240px -33px}.ckan-icon-tag{width:20px;height:20px;background-position:-260px -33px}.ckan-icon-plus{width:20px;height:20px;background-position:-280px -33px;width:16px}.ckan-icon-head{width:20px;height:20px;background-position:-300px -33px}.ckan-icon-arrow-e{width:20px;height:20px;background-position:-320px -33px;width:16px}.ckan-icon-bookmark{width:25px;height:25px;background-position:0px -53px}.format-label{*margin-right:.3em;display:inline-block;vertical-align:text-bottom;position:relative;top:2px;width:16px;height:16px;background-image:url("../../../base/images/sprite-ckan-icons.png");background-repeat:no-repeat;background-position:16px 16px;text-indent:-900em;background:url("../../../base/images/sprite-resource-icons.png") no-repeat 0 0}.format-label:last-child{*margin-left:0}.format-label{width:32px;height:35px;background-position:0px -62px}.format-label[data-format=rdf],.format-label[data-format*=rdf]{width:32px;height:35px;background-position:-32px -62px}.format-label[data-format=pdf],.format-label[data-format*=pdf]{width:32px;height:35px;background-position:-64px -62px}.format-label[data-format=api],.format-label[data-format*=api]{width:32px;height:35px;background-position:-96px -62px}.format-label[data-format=zip],.format-label[data-format*=zip]{width:32px;height:35px;background-position:-128px -62px}.format-label[data-format=xls],.format-label[data-format*=xls]{width:32px;height:35px;background-position:-160px -62px}.format-label[data-format=csv],.format-label[data-format*=csv]{width:32px;height:35px;background-position:-192px -62px}.format-label[data-format=txt],.format-label[data-format*=txt]{width:32px;height:35px;background-position:-224px -62px}.format-label[data-format=xml],.format-label[data-format*=xml]{width:32px;height:35px;background-position:-256px -62px}.format-label[data-format=json],.format-label[data-format*=json]{width:32px;height:35px;background-position:-288px -62px}.format-label[data-format=html],.format-label[data-format*=html]{width:32px;height:35px;background-position:-320px -62px}li [class^="icon-"],li [class*=" icon-"]{width:auto}li .icon-large:before,li .icon-large:before{width:auto}[role=main],.main{position:relative;padding-top:27px;padding-bottom:27px;background-color:#efefef}[role=main]{min-height:350px}.main:after,.main:before,[role=main]:after,[role=main]:before{content:"";position:absolute;left:0;right:0;height:7px;background:#ffffff;border-color:#c9c9c9;border-style:solid;border-width:0}.main:before,[role=main]:before{top:0;border-bottom-width:1px}.main:after,[role=main]:after{bottom:0;border-top-width:1px}[role=main] .primary{float:left;margin-left:20px;width:700px;float:right}[role=main] .secondary{float:left;margin-left:20px;width:220px;margin-left:0;float:left}.primary>:last-child,.secondary>:last-child{margin-bottom:0}.hero{background:url("../../../base/images/background-tile.png")}.hero:after{background-color:rgba(0,0,0,0.09);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-ms-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-image:linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0));background-repeat:repeat-x;background-color:transparent;top:7px;bottom:auto;height:5px}.hero{padding-bottom:0;min-height:0}.hero>.container{position:relative;padding-bottom:0}.hero-primary,.hero-secondary{float:left;margin-left:20px;width:460px}.hero-primary{margin-left:0}.hero-primary{margin-left:0;margin-bottom:0}.hero-secondary{position:absolute;bottom:0;right:0}.hero-secondary-inner{bottom:0;left:0;right:0}.hero .module-popup{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin-top:50px}.hero .module-popup .module-content{padding-bottom:2px}.hero .page-heading{font-size:18px;margin-bottom:0}.hero .module-dark{padding:5px;margin-bottom:10px;color:#ffffff;background:#ffffff}.hero .module-dark .module-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#dc0b0b}.hero .module-dark .module-content .heading{margin-bottom:7px}.hero .tags{margin-bottom:9px}.hero .tags .tag,.hero .tags .tag-list{display:inline-block}.hero .tags .tag-list{padding:0}.hero .tags .tag{margin-right:15px}header.masthead{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#e51212;background-image:-moz-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-ms-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dc0b0b),to(#f31d1d));background-image:-webkit-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-o-linear-gradient(top,#dc0b0b,#f31d1d);background-image:linear-gradient(top,#dc0b0b,#f31d1d);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dc0b0b',endColorstr='#f31d1d',GradientType=0)}header.masthead:before,header.masthead:after{display:table;content:""}header.masthead:after{clear:both}header.masthead .container{position:relative}header.masthead a{color:#ffffff}header.masthead hgroup h1,header.masthead hgroup h2{float:left;font-size:34px;line-height:1.5}header.masthead hgroup h1{font-weight:900;letter-spacing:-1px}header.masthead hgroup h2{position:absolute;bottom:-3px;left:0;margin:0;font-size:15px;font-weight:normal;line-height:1.2;white-space:nowrap}header.masthead .content{position:absolute;top:10px;right:0}header.masthead .section{float:left}header.masthead .navigation{margin-right:20px}header.masthead .navigation ul.unstyled{*zoom:1;margin:5px 0}header.masthead .navigation ul.unstyled:before,header.masthead .navigation ul.unstyled:after{display:table;content:""}header.masthead .navigation ul.unstyled:after{clear:both}header.masthead .navigation ul.unstyled li{display:block;float:left}header.masthead .navigation ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}header.masthead .navigation ul.unstyled li a.active{background-color:#de1717;box-shadow:0 -1px 0 #b01212,0 1px 0 #e13030}header.masthead .site-search{margin:3px 0}header.masthead .site-search input{width:190px;font-size:11px;padding:4px}header.masthead .account{background:#ea0c0c;padding:3px 5px;margin:2px 0 2px 30px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 2px 4px #d20b0b;-moz-box-shadow:inset 0 2px 4px #d20b0b;box-shadow:inset 0 2px 4px #d20b0b}header.masthead .account ul.unstyled{*zoom:1}header.masthead .account ul.unstyled:before,header.masthead .account ul.unstyled:after{display:table;content:""}header.masthead .account ul.unstyled:after{clear:both}header.masthead .account ul.unstyled li{display:block;float:left}header.masthead .account ul.unstyled li a{display:block;font-size:12px;font-weight:bold;padding:4px 10px}header.masthead .account ul.unstyled li a.sub{font-weight:300;border-left:1px solid #d20b0b}header.masthead .account .dropdown{float:left}header.masthead .account .button{display:block;text-decoration:none;background-color:#dc0b0b;color:#ee8585;text-shadow:0 1px 1px #ab0909;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 #f30e0e;-moz-box-shadow:inset 0 1px 0 #f30e0e;box-shadow:inset 0 1px 0 #f30e0e}header.masthead .account .image{margin:2px 0;padding:0 4px 0 0;overflow:hidden;font-size:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}header.masthead .account .image i{vertical-align:-1px}header.masthead .account .image img{opacity:0.7;border-right:1px solid #f31d1d;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}header.masthead .account .notifications{padding:4px 8px 3px 8px;margin:2px 5px 2px 0}header.masthead .account .notifications.notifications-important{color:#ffffff;background-color:#c9403a;text-shadow:0 1px 1px #a3322d;-webkit-box-shadow:inset 0 1px 0 #ce534e;-moz-box-shadow:inset 0 1px 0 #ce534e;box-shadow:inset 0 1px 0 #ce534e}header.masthead .account .dropdown.open .image img,header.masthead .account .dropdown .image:hover img{opacity:1;border-right-color:#f64d4d}header.masthead .account .dropdown.open .button,header.masthead .account .dropdown .button:hover{color:#ffffff;background-color:#ea6d6d;-webkit-box-shadow:inset 0 1px 0 #ee8585;-moz-box-shadow:inset 0 1px 0 #ee8585;box-shadow:inset 0 1px 0 #ee8585;text-decoration:none}header.masthead .account .dropdown.open .notifications-important,header.masthead .account .dropdown .notifications-important:hover{background-color:#d46762;text-shadow:0 1px 1px #c9403a;-webkit-box-shadow:inset 0 1px 0 #d97a76;-moz-box-shadow:inset 0 1px 0 #d97a76;box-shadow:inset 0 1px 0 #d97a76}header.masthead .account.authed{margin:0 0 0 30px}header.masthead .account.not-authed{padding-top:2px;padding-bottom:2px}header.masthead .dropdown-menu{margin-top:-1px}header.masthead .user-dropdown-menu a{color:#dc0b0b}header.masthead .user-dropdown-menu a:hover{color:#ffffff}header.masthead .debug{position:absolute;bottom:10px;left:10px;font-size:11px;color:rgba(255,255,255,0.5);line-height:1.2}.site-footer{*zoom:1;color:#ffffff;padding:5px 10px 3px;height:55px;background-color:#e51212;background-image:-moz-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-ms-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dc0b0b),to(#f31d1d));background-image:-webkit-linear-gradient(top,#dc0b0b,#f31d1d);background-image:-o-linear-gradient(top,#dc0b0b,#f31d1d);background-image:linear-gradient(top,#dc0b0b,#f31d1d);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dc0b0b',endColorstr='#f31d1d',GradientType=0);font-size:12px;padding:20px 0}.site-footer:before,.site-footer:after{display:table;content:""}.site-footer:after{clear:both}.site-footer,.site-footer label,.site-footer small{color:#ccdee3}.site-footer a{color:#ccdee3}.footer-links,.attribution{float:left;margin-left:20px;width:460px}.footer-links{margin-left:0}.footer-links li{display:inline-block;width:40%;margin-right:5%;margin-bottom:5px}.attribution small{color:#ccdee3;font-size:12px}.attribution .ckan-footer-logo{display:block;width:65px;height:21px;margin-top:2px;background:url("../../../base/images/ckan-logo-footer.png") no-repeat top left;text-indent:-900em}.lang-select{*zoom:1}.lang-select:before,.lang-select:after{display:table;content:""}.lang-select:after{clear:both}.lang-select label,.lang-select select,.lang-select .lang-container{float:left;margin-top:0}.lang-dropdown{color:#000000}.lang-dropdown li{width:auto}.lang-dropdown .select2-result-label[data-value]:before{content:"";display:inline-block;background-image:url("../../../base/images/flags.png");background-repeat:no-repeat;background-position:0 11px;width:17px;height:11px;position:relative;top:1px}.lang-dropdown .select2-result-label[data-value*="/en/"]:before{background-position:0 0}.lang-dropdown .select2-result-label[data-value*="/de/"]:before{background-position:0 -11px}.lang-dropdown .select2-result-label[data-value*="/fr/"]:before{background-position:0 -22px}.lang-dropdown .select2-result-label[data-value*="/it/"]:before{background-position:0 -33px}.lang-dropdown .select2-result-label[data-value*="/es/"]:before{background-position:0 -44px}.lang-dropdown .select2-result-label[data-value*="/pl/"]:before{background-position:0 -55px}.lang-dropdown .select2-result-label[data-value*="/ru/"]:before{background-position:0 -66px}.lang-dropdown .select2-result-label[data-value*="/nl/"]:before{background-position:0 -77px}.lang-dropdown .select2-result-label[data-value*="/sv/"]:before{background-position:0 -88px}.lang-dropdown .select2-result-label[data-value*="/no/"]:before{background-position:0 -99px}.lang-dropdown .select2-result-label[data-value*="/cs/"]:before,.lang-dropdown .select2-result-label[data-value*="/cs_CZ/"]:before{background-position:0 -110px}.lang-dropdown .select2-result-label[data-value*="/hu/"]:before{background-position:0 -121px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.lang-dropdown .select2-result-label[data-value*="/fi/"]:before{background-position:0 -143px}.lang-dropdown .select2-result-label[data-value*="/bg/"]:before{background-position:0 -154px}.lang-dropdown .select2-result-label[data-value*="/ca/"]:before{background-position:0 -165px}.lang-dropdown .select2-result-label[data-value*="/sq/"]:before{background-position:0 -176px}.lang-dropdown .select2-result-label[data-value*="/sr/"]:before,.lang-dropdown .select2-result-label[data-value*="/sr_Latn/"]:before{background-position:0 -187px}.lang-dropdown .select2-result-label[data-value*="/zh_TW/"]:before{background-position:0 -198px}.lang-dropdown .select2-result-label[data-value*="/lv/"]:before{background-position:0 -209px}.lang-dropdown .select2-result-label[data-value*="/sk/"]:before{background-position:0 -220px}.lang-dropdown .select2-result-label[data-value*="/pt_BR/"]:before{background-position:0 -132px}.profile .empty,.profile .dataset-list{margin-bottom:20px}.profile-info .module-content{padding:15px}.profile-info .avatar{border:1px solid #DDD;padding:5px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.profile-info .avatar img,.profile-info .avatar a{display:block}.profile-info code{font-weight:normal;padding:0;margin:0}.profile-info h1.heading{margin:10px 0 5px 0;font-size:21px}.profile-info .info{margin-top:15px;padding-top:10px;border-top:1px dotted #DDD}.profile-info .info dl dd{margin-top:3px;margin-left:0}.profile-info .nums{*zoom:1;margin-top:15px;padding-top:10px;padding-bottom:0;border-top:1px dotted #DDD}.profile-info .nums:before,.profile-info .nums:after{display:table;content:""}.profile-info .nums:after{clear:both}.profile-info .nums dl{float:left;width:33%;margin:5px 0 0 0;color:#4d4d4d}.profile-info .nums dl dt{display:block;font-weight:300}.profile-info .nums dl dd{display:block;font-size:30px;font-weight:700;line-height:1.2;margin-left:0}.activity{margin:10px 0;padding:0;list-style-type:none;background:transparent url('../../../base/images/dotted.png') 14px 0 repeat-y}.activity .item{position:relative;margin:0 0 15px 0;padding:0;*zoom:1}.activity .item:before,.activity .item:after{display:table;content:""}.activity .item:after{clear:both}.activity .item i{display:block;float:left;width:30px;height:30px;line-height:30px;text-align:center;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,0.2);font-weight:normal;font-size:16px;margin-right:10px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px 2px rgba(0,0,0,0.2)}.activity .item .gravatar{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.activity .item .actor .gravatar{float:left;margin-top:-5px;margin-right:10px}.activity .item p{font-size:14px;line-height:1.5;margin:5px 0 0 0}.activity .item .date{color:#999;font-size:12px;white-space:nowrap;margin-left:5px}.activity .item .new{display:block;position:absolute;overflow:hidden;top:-3px;left:-3px;width:10px;height:10px;background-color:#A35647;border:1px solid #FFF;text-indent:-1000px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.2);box-shadow:0 1px 2px rgba(0,0,0,0.2)}.popover .about{margin-bottom:10px}.popover .popover-close{float:right;text-decoration:none}.activity .item i{background-color:#767dce}.activity .item.added-tag i{background-color:#6995a6}.activity .item.changed-group i{background-color:#767dce}.activity .item.changed-package i{background-color:#8c76ce}.activity .item.changed-package_extra i{background-color:#769ace}.activity .item.changed-resource i{background-color:#aa76ce}.activity .item.changed-user i{background-color:#76b8ce}.activity .item.deleted-group i{background-color:#b95252}.activity .item.deleted-package i{background-color:#b97452}.activity .item.deleted-package_extra i{background-color:#b95274}.activity .item.deleted-resource i{background-color:#b99752}.activity .item.new-group i{background-color:#69a67a}.activity .item.new-package i{background-color:#69a68e}.activity .item.new-package_extra i{background-color:#6ca669}.activity .item.new-resource i{background-color:#81a669}.activity .item.new-user i{background-color:#69a6a3}.activity .item.removed-tag i{background-color:#b95297}.activity .item.deleted-related-item i{background-color:#b9b952}.activity .item.follow-dataset i{background-color:#767dce}.activity .item.follow-user i{background-color:#8c76ce}.activity .item.new-related-item i{background-color:#95a669}.activity .item.follow-group i{background-color:#8ba669}.popover-context-loading .popover-title{display:none}.popover-context-loading .popover-content{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.popover-context-loading .popover-content img{vertical-align:-3px;margin-right:10px}.follower-list li{margin:0 0 15px 0}.follower-list .gravatar{vertical-align:-4px;margin-right:3px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.module-my-datasets .empty{padding:10px}body{background-color:#f31d1d}[hidden]{display:none}table{table-layout:fixed}thead th{vertical-align:top}td,th{word-wrap:break-word}table .metric{width:140px}code{padding:2px 2px;color:#000000;font-weight:bold;border:none;background:none}pre{border:none;background:none;padding-left:0;padding-right:0}mark{background:#fdf7e9}blockquote p{font-size:1em}iframe{border:none}.embedded-content h1{font-size:1.4em}.embedded-content h2{font-size:1.4em}.embedded-content h3{font-size:1.2em}.popular{text-indent:-999em}.empty{color:#aeaeae;font-style:italic}.page-heading{margin-bottom:16px}.m-top{margin-top:15px}.m-left{margin-left:15px}.m-right{margin-right:15px}.m-bottom{margin-bottom:15px}.no-margin{margin:0}.reduced-margin{margin:3px 5px}.p-top{padding-top:15px}.p-left{padding-left:15px}.p-right{padding-right:15px}.p-bottom{padding-bottom:15px}.no-padding{padding:0}.reduced-padding{padding:3px 5px}.ie .lang-dropdown{position:relative;top:-20px}.ie .module,.ie .media-image{border:1px solid #cccccc}.ie .module-popup{border-bottom:none}.ie .banner{top:0;right:0;width:auto}.ie .group-listing{margin-left:-24px}.ie .toolbar .breadcrumb{filter:none}.ie .toolbar .breadcrumb li{float:left}.ie .toolbar .breadcrumb li:after{margin:0 0.2em}.ie9 .control-large input{height:56px}.ie9 .module{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3)}.ie7 .masthead nav ul li a.active,.ie8 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#e60b0b;border-top:1px solid #cd0a0a;border-bottom:1px solid #f30e0e}.ie8 .masthead .account a.image{display:block;width:25px;padding-right:10px;white-space:nowrap}.ie7 .alert{position:relative}.ie7 .alert .close{position:absolute;top:6px!important;right:20px}.ie7 .media-item{width:30%}.ie7 .tags .tag-list{*zoom:1}.ie7 .tags .tag-list:before,.ie7 .tags .tag-list:after{display:table;content:""}.ie7 .tags .tag-list:after{clear:both}.ie7 .tags .tag-list li{display:block;float:left}.ie7 .tags h3{float:left}.ie7 .tags .tag{display:block;border:1px solid #d0d0d0;background:#f5f5f5}.ie7 .search-giant input{width:95%}.ie7 .control-full input,.ie7 .control-full select,.ie7 .control-full textarea{width:95%}.ie7 .control-full.control-large .controls input{padding-bottom:20px}.ie7 .controls{position:relative}.ie7 .controls .info-block,.ie7 .controls .info-inline{position:absolute;top:0;right:0}.ie7 .form-horizontal .controls{margin-left:0}.ie7 .control-custom .checkbox{*display:inline;*zoom:1}.ie7 .stages{overflow:hidden;background-color:#ededed}.ie7 .stages li{height:30px;width:27.5%}.ie7 .stages li button,.ie7 .stages li span{display:block;height:30px;padding-left:20px}.ie7 .stages li button{height:50px}.ie7 .stages li .highlight{width:auto}.ie7 .masthead{position:relative;z-index:1}.ie7 .masthead .logo img,.ie7 .masthead nav{*display:inline;*zoom:1}.ie7 .masthead nav ul{margin-top:5px}.ie7 .masthead nav ul li{float:left}.ie7 .masthead nav ul li a.active{position:relative;top:-1px;background-color:#e60b0b;border-top:1px solid #cd0a0a;border-bottom:1px solid #f30e0e}.ie7 .masthead .header-image{display:block}.ie7 .masthead .account .dropdown-menu{z-index:10000}.ie7 .footer-links{*zoom:1}.ie7 .footer-links:before,.ie7 .footer-links:after{display:table;content:""}.ie7 .footer-links:after{clear:both}.ie7 .footer-links li{float:left}.ie7 .module-narrow .nav-item.image{*zoom:1}.ie7 .module-narrow .nav-item.image:before,.ie7 .module-narrow .nav-item.image:after{display:table;content:""}.ie7 .module-narrow .nav-item.image:after{clear:both}.ie7 .nav-facet .nav-item.active a{content:'x'}.ie7 .toolbar .breadcrumb li{padding-right:10px;margin-right:5px;background:transparent url("../../../base/images/breadcrumb-slash-ie7.png") 100% 50% no-repeat}.ie7 .toolbar .breadcrumb li.active{background-image:none}.ie7 .module-heading{*zoom:1}.ie7 .module-heading:before,.ie7 .module-heading:after{display:table;content:""}.ie7 .module-heading:after{clear:both}.ie7 .module-heading .media-content{position:relative}.ie7 .module-heading .action{position:absolute;top:9px;right:10px}.ie7 .module-heading .media-image img{float:left}.ie7 .group-listing{position:relative;zoom:1} \ No newline at end of file diff --git a/ckan/public/base/datapreview/vendor/flot/0.7/excanvas.min.js b/ckan/public/base/datapreview/vendor/flot/0.7/excanvas.min.js deleted file mode 100644 index 6972d6531f1..00000000000 --- a/ckan/public/base/datapreview/vendor/flot/0.7/excanvas.min.js +++ /dev/null @@ -1,82 +0,0 @@ -if(!document.createElement('canvas').getContext){(function(){var m=Math;var mr=m.round;var ms=m.sin;var mc=m.cos;var abs=m.abs;var sqrt=m.sqrt;var Z=10;var Z2=Z/2;function getContext(){return this.context_||(this.context_=new CanvasRenderingContext2D_(this));} -var slice=Array.prototype.slice;function bind(f,obj,var_args){var a=slice.call(arguments,2);return function(){return f.apply(obj,a.concat(slice.call(arguments)));};} -function encodeHtmlAttribute(s){return String(s).replace(/&/g,'&').replace(/"/g,'"');} -function addNamespacesAndStylesheet(doc){if(!doc.namespaces['g_vml_']){doc.namespaces.add('g_vml_','urn:schemas-microsoft-com:vml','#default#VML');} -if(!doc.namespaces['g_o_']){doc.namespaces.add('g_o_','urn:schemas-microsoft-com:office:office','#default#VML');} -if(!doc.styleSheets['ex_canvas_']){var ss=doc.createStyleSheet();ss.owningElement.id='ex_canvas_';ss.cssText='canvas{display:inline-block;overflow:hidden;'+'text-align:left;width:300px;height:150px}';}} -addNamespacesAndStylesheet(document);var G_vmlCanvasManager_={init:function(opt_doc){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var doc=opt_doc||document;doc.createElement('canvas');doc.attachEvent('onreadystatechange',bind(this.init_,this,doc));}},init_:function(doc){var els=doc.getElementsByTagName('canvas');for(var i=0;i1) -h--;if(6*h<1) -return m1+(m2-m1)*6*h;else if(2*h<1) -return m2;else if(3*h<2) -return m1+(m2-m1)*(2/3-h)*6;else -return m1;} -function processStyle(styleString){var str,alpha=1;styleString=String(styleString);if(styleString.charAt(0)=='#'){str=styleString;}else if(/^rgb/.test(styleString)){var parts=getRgbHslContent(styleString);var str='#',n;for(var i=0;i<3;i++){if(parts[i].indexOf('%')!=-1){n=Math.floor(percent(parts[i])*255);}else{n=Number(parts[i]);} -str+=decToHex[clamp(n,0,255)];} -alpha=parts[3];}else if(/^hsl/.test(styleString)){var parts=getRgbHslContent(styleString);str=hslToRgb(parts);alpha=parts[3];}else{str=colorData[styleString]||styleString;} -return{color:str,alpha:alpha};} -var DEFAULT_STYLE={style:'normal',variant:'normal',weight:'normal',size:10,family:'sans-serif'};var fontStyleCache={};function processFontStyle(styleString){if(fontStyleCache[styleString]){return fontStyleCache[styleString];} -var el=document.createElement('div');var style=el.style;try{style.font=styleString;}catch(ex){} -return fontStyleCache[styleString]={style:style.fontStyle||DEFAULT_STYLE.style,variant:style.fontVariant||DEFAULT_STYLE.variant,weight:style.fontWeight||DEFAULT_STYLE.weight,size:style.fontSize||DEFAULT_STYLE.size,family:style.fontFamily||DEFAULT_STYLE.family};} -function getComputedStyle(style,element){var computedStyle={};for(var p in style){computedStyle[p]=style[p];} -var canvasFontSize=parseFloat(element.currentStyle.fontSize),fontSize=parseFloat(style.size);if(typeof style.size=='number'){computedStyle.size=style.size;}else if(style.size.indexOf('px')!=-1){computedStyle.size=fontSize;}else if(style.size.indexOf('em')!=-1){computedStyle.size=canvasFontSize*fontSize;}else if(style.size.indexOf('%')!=-1){computedStyle.size=(canvasFontSize/100)*fontSize;}else if(style.size.indexOf('pt')!=-1){computedStyle.size=fontSize/.75;}else{computedStyle.size=canvasFontSize;} -computedStyle.size*=0.981;return computedStyle;} -function buildStyle(style){return style.style+' '+style.variant+' '+style.weight+' '+ -style.size+'px '+style.family;} -function processLineCap(lineCap){switch(lineCap){case'butt':return'flat';case'round':return'round';case'square':default:return'square';}} -function CanvasRenderingContext2D_(surfaceElement){this.m_=createMatrixIdentity();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle='#000';this.fillStyle='#000';this.lineWidth=1;this.lineJoin='miter';this.lineCap='butt';this.miterLimit=Z*1;this.globalAlpha=1;this.font='10px sans-serif';this.textAlign='left';this.textBaseline='alphabetic';this.canvas=surfaceElement;var el=surfaceElement.ownerDocument.createElement('div');el.style.width=surfaceElement.clientWidth+'px';el.style.height=surfaceElement.clientHeight+'px';el.style.overflow='hidden';el.style.position='absolute';surfaceElement.appendChild(el);this.element_=el;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1;} -var contextPrototype=CanvasRenderingContext2D_.prototype;contextPrototype.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null;} -this.element_.innerHTML='';};contextPrototype.beginPath=function(){this.currentPath_=[];};contextPrototype.moveTo=function(aX,aY){var p=this.getCoords_(aX,aY);this.currentPath_.push({type:'moveTo',x:p.x,y:p.y});this.currentX_=p.x;this.currentY_=p.y;};contextPrototype.lineTo=function(aX,aY){var p=this.getCoords_(aX,aY);this.currentPath_.push({type:'lineTo',x:p.x,y:p.y});this.currentX_=p.x;this.currentY_=p.y;};contextPrototype.bezierCurveTo=function(aCP1x,aCP1y,aCP2x,aCP2y,aX,aY){var p=this.getCoords_(aX,aY);var cp1=this.getCoords_(aCP1x,aCP1y);var cp2=this.getCoords_(aCP2x,aCP2y);bezierCurveTo(this,cp1,cp2,p);};function bezierCurveTo(self,cp1,cp2,p){self.currentPath_.push({type:'bezierCurveTo',cp1x:cp1.x,cp1y:cp1.y,cp2x:cp2.x,cp2y:cp2.y,x:p.x,y:p.y});self.currentX_=p.x;self.currentY_=p.y;} -contextPrototype.quadraticCurveTo=function(aCPx,aCPy,aX,aY){var cp=this.getCoords_(aCPx,aCPy);var p=this.getCoords_(aX,aY);var cp1={x:this.currentX_+2.0/3.0*(cp.x-this.currentX_),y:this.currentY_+2.0/3.0*(cp.y-this.currentY_)};var cp2={x:cp1.x+(p.x-this.currentX_)/3.0,y:cp1.y+(p.y-this.currentY_)/3.0};bezierCurveTo(this,cp1,cp2,p);};contextPrototype.arc=function(aX,aY,aRadius,aStartAngle,aEndAngle,aClockwise){aRadius*=Z;var arcType=aClockwise?'at':'wa';var xStart=aX+mc(aStartAngle)*aRadius-Z2;var yStart=aY+ms(aStartAngle)*aRadius-Z2;var xEnd=aX+mc(aEndAngle)*aRadius-Z2;var yEnd=aY+ms(aEndAngle)*aRadius-Z2;if(xStart==xEnd&&!aClockwise){xStart+=0.125;} -var p=this.getCoords_(aX,aY);var pStart=this.getCoords_(xStart,yStart);var pEnd=this.getCoords_(xEnd,yEnd);this.currentPath_.push({type:arcType,x:p.x,y:p.y,radius:aRadius,xStart:pStart.x,yStart:pStart.y,xEnd:pEnd.x,yEnd:pEnd.y});};contextPrototype.rect=function(aX,aY,aWidth,aHeight){this.moveTo(aX,aY);this.lineTo(aX+aWidth,aY);this.lineTo(aX+aWidth,aY+aHeight);this.lineTo(aX,aY+aHeight);this.closePath();};contextPrototype.strokeRect=function(aX,aY,aWidth,aHeight){var oldPath=this.currentPath_;this.beginPath();this.moveTo(aX,aY);this.lineTo(aX+aWidth,aY);this.lineTo(aX+aWidth,aY+aHeight);this.lineTo(aX,aY+aHeight);this.closePath();this.stroke();this.currentPath_=oldPath;};contextPrototype.fillRect=function(aX,aY,aWidth,aHeight){var oldPath=this.currentPath_;this.beginPath();this.moveTo(aX,aY);this.lineTo(aX+aWidth,aY);this.lineTo(aX+aWidth,aY+aHeight);this.lineTo(aX,aY+aHeight);this.closePath();this.fill();this.currentPath_=oldPath;};contextPrototype.createLinearGradient=function(aX0,aY0,aX1,aY1){var gradient=new CanvasGradient_('gradient');gradient.x0_=aX0;gradient.y0_=aY0;gradient.x1_=aX1;gradient.y1_=aY1;return gradient;};contextPrototype.createRadialGradient=function(aX0,aY0,aR0,aX1,aY1,aR1){var gradient=new CanvasGradient_('gradientradial');gradient.x0_=aX0;gradient.y0_=aY0;gradient.r0_=aR0;gradient.x1_=aX1;gradient.y1_=aY1;gradient.r1_=aR1;return gradient;};contextPrototype.drawImage=function(image,var_args){var dx,dy,dw,dh,sx,sy,sw,sh;var oldRuntimeWidth=image.runtimeStyle.width;var oldRuntimeHeight=image.runtimeStyle.height;image.runtimeStyle.width='auto';image.runtimeStyle.height='auto';var w=image.width;var h=image.height;image.runtimeStyle.width=oldRuntimeWidth;image.runtimeStyle.height=oldRuntimeHeight;if(arguments.length==3){dx=arguments[1];dy=arguments[2];sx=sy=0;sw=dw=w;sh=dh=h;}else if(arguments.length==5){dx=arguments[1];dy=arguments[2];dw=arguments[3];dh=arguments[4];sx=sy=0;sw=w;sh=h;}else if(arguments.length==9){sx=arguments[1];sy=arguments[2];sw=arguments[3];sh=arguments[4];dx=arguments[5];dy=arguments[6];dw=arguments[7];dh=arguments[8];}else{throw Error('Invalid number of arguments');} -var d=this.getCoords_(dx,dy);var w2=sw/2;var h2=sh/2;var vmlStr=[];var W=10;var H=10;vmlStr.push(' ','','');this.element_.insertAdjacentHTML('BeforeEnd',vmlStr.join(''));};contextPrototype.stroke=function(aFill){var W=10;var H=10;var chunkSize=5000;var min={x:null,y:null};var max={x:null,y:null};for(var j=0;j');if(!aFill){appendStroke(this,lineStr);}else{appendFill(this,lineStr,min,max);} -lineStr.push('');this.element_.insertAdjacentHTML('beforeEnd',lineStr.join(''));}};function appendStroke(ctx,lineStr){var a=processStyle(ctx.strokeStyle);var color=a.color;var opacity=a.alpha*ctx.globalAlpha;var lineWidth=ctx.lineScale_*ctx.lineWidth;if(lineWidth<1){opacity*=lineWidth;} -lineStr.push('');} -function appendFill(ctx,lineStr,min,max){var fillStyle=ctx.fillStyle;var arcScaleX=ctx.arcScaleX_;var arcScaleY=ctx.arcScaleY_;var width=max.x-min.x;var height=max.y-min.y;if(fillStyle instanceof CanvasGradient_){var angle=0;var focus={x:0,y:0};var shift=0;var expansion=1;if(fillStyle.type_=='gradient'){var x0=fillStyle.x0_/arcScaleX;var y0=fillStyle.y0_/arcScaleY;var x1=fillStyle.x1_/arcScaleX;var y1=fillStyle.y1_/arcScaleY;var p0=ctx.getCoords_(x0,y0);var p1=ctx.getCoords_(x1,y1);var dx=p1.x-p0.x;var dy=p1.y-p0.y;angle=Math.atan2(dx,dy)*180/Math.PI;if(angle<0){angle+=360;} -if(angle<1e-6){angle=0;}}else{var p0=ctx.getCoords_(fillStyle.x0_,fillStyle.y0_);focus={x:(p0.x-min.x)/width,y:(p0.y-min.y)/height};width/=arcScaleX*Z;height/=arcScaleY*Z;var dimension=m.max(width,height);shift=2*fillStyle.r0_/dimension;expansion=2*fillStyle.r1_/dimension-shift;} -var stops=fillStyle.colors_;stops.sort(function(cs1,cs2){return cs1.offset-cs2.offset;});var length=stops.length;var color1=stops[0].color;var color2=stops[length-1].color;var opacity1=stops[0].alpha*ctx.globalAlpha;var opacity2=stops[length-1].alpha*ctx.globalAlpha;var colors=[];for(var i=0;i');}else if(fillStyle instanceof CanvasPattern_){if(width&&height){var deltaLeft=-min.x;var deltaTop=-min.y;lineStr.push('');}}else{var a=processStyle(ctx.fillStyle);var color=a.color;var opacity=a.alpha*ctx.globalAlpha;lineStr.push('');}} -contextPrototype.fill=function(){this.stroke(true);};contextPrototype.closePath=function(){this.currentPath_.push({type:'close'});};contextPrototype.getCoords_=function(aX,aY){var m=this.m_;return{x:Z*(aX*m[0][0]+aY*m[1][0]+m[2][0])-Z2,y:Z*(aX*m[0][1]+aY*m[1][1]+m[2][1])-Z2};};contextPrototype.save=function(){var o={};copyState(this,o);this.aStack_.push(o);this.mStack_.push(this.m_);this.m_=matrixMultiply(createMatrixIdentity(),this.m_);};contextPrototype.restore=function(){if(this.aStack_.length){copyState(this.aStack_.pop(),this);this.m_=this.mStack_.pop();}};function matrixIsFinite(m){return isFinite(m[0][0])&&isFinite(m[0][1])&&isFinite(m[1][0])&&isFinite(m[1][1])&&isFinite(m[2][0])&&isFinite(m[2][1]);} -function setM(ctx,m,updateLineScale){if(!matrixIsFinite(m)){return;} -ctx.m_=m;if(updateLineScale){var det=m[0][0]*m[1][1]-m[0][1]*m[1][0];ctx.lineScale_=sqrt(abs(det));}} -contextPrototype.translate=function(aX,aY){var m1=[[1,0,0],[0,1,0],[aX,aY,1]];setM(this,matrixMultiply(m1,this.m_),false);};contextPrototype.rotate=function(aRot){var c=mc(aRot);var s=ms(aRot);var m1=[[c,s,0],[-s,c,0],[0,0,1]];setM(this,matrixMultiply(m1,this.m_),false);};contextPrototype.scale=function(aX,aY){this.arcScaleX_*=aX;this.arcScaleY_*=aY;var m1=[[aX,0,0],[0,aY,0],[0,0,1]];setM(this,matrixMultiply(m1,this.m_),true);};contextPrototype.transform=function(m11,m12,m21,m22,dx,dy){var m1=[[m11,m12,0],[m21,m22,0],[dx,dy,1]];setM(this,matrixMultiply(m1,this.m_),true);};contextPrototype.setTransform=function(m11,m12,m21,m22,dx,dy){var m=[[m11,m12,0],[m21,m22,0],[dx,dy,1]];setM(this,m,true);};contextPrototype.drawText_=function(text,x,y,maxWidth,stroke){var m=this.m_,delta=1000,left=0,right=delta,offset={x:0,y:0},lineStr=[];var fontStyle=getComputedStyle(processFontStyle(this.font),this.element_);var fontStyleString=buildStyle(fontStyle);var elementStyle=this.element_.currentStyle;var textAlign=this.textAlign.toLowerCase();switch(textAlign){case'left':case'center':case'right':break;case'end':textAlign=elementStyle.direction=='ltr'?'right':'left';break;case'start':textAlign=elementStyle.direction=='rtl'?'right':'left';break;default:textAlign='left';} -switch(this.textBaseline){case'hanging':case'top':offset.y=fontStyle.size/1.75;break;case'middle':break;default:case null:case'alphabetic':case'ideographic':case'bottom':offset.y=-fontStyle.size/2.25;break;} -switch(textAlign){case'right':left=delta;right=0.05;break;case'center':left=right=delta/2;break;} -var d=this.getCoords_(x+offset.x,y+offset.y);lineStr.push('');if(stroke){appendStroke(this,lineStr);}else{appendFill(this,lineStr,{x:-left,y:0},{x:right,y:fontStyle.size});} -var skewM=m[0][0].toFixed(3)+','+m[1][0].toFixed(3)+','+ -m[0][1].toFixed(3)+','+m[1][1].toFixed(3)+',0,0';var skewOffset=mr(d.x/Z)+','+mr(d.y/Z);lineStr.push('','','');this.element_.insertAdjacentHTML('beforeEnd',lineStr.join(''));};contextPrototype.fillText=function(text,x,y,maxWidth){this.drawText_(text,x,y,maxWidth,false);};contextPrototype.strokeText=function(text,x,y,maxWidth){this.drawText_(text,x,y,maxWidth,true);};contextPrototype.measureText=function(text){if(!this.textMeasureEl_){var s='';this.element_.insertAdjacentHTML('beforeEnd',s);this.textMeasureEl_=this.element_.lastChild;} -var doc=this.element_.ownerDocument;this.textMeasureEl_.innerHTML='';this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(doc.createTextNode(text));return{width:this.textMeasureEl_.offsetWidth};};contextPrototype.clip=function(){};contextPrototype.arcTo=function(){};contextPrototype.createPattern=function(image,repetition){return new CanvasPattern_(image,repetition);};function CanvasGradient_(aType){this.type_=aType;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[];} -CanvasGradient_.prototype.addColorStop=function(aOffset,aColor){aColor=processStyle(aColor);this.colors_.push({offset:aOffset,color:aColor.color,alpha:aColor.alpha});};function CanvasPattern_(image,repetition){assertImageIsValid(image);switch(repetition){case'repeat':case null:case'':this.repetition_='repeat';break -case'repeat-x':case'repeat-y':case'no-repeat':this.repetition_=repetition;break;default:throwException('SYNTAX_ERR');} -this.src_=image.src;this.width_=image.width;this.height_=image.height;} -function throwException(s){throw new DOMException_(s);} -function assertImageIsValid(img){if(!img||img.nodeType!=1||img.tagName!='IMG'){throwException('TYPE_MISMATCH_ERR');} -if(img.readyState!='complete'){throwException('INVALID_STATE_ERR');}} -function DOMException_(s){this.code=this[s];this.message=s+': DOM Exception '+this.code;} -var p=DOMException_.prototype=new Error;p.INDEX_SIZE_ERR=1;p.DOMSTRING_SIZE_ERR=2;p.HIERARCHY_REQUEST_ERR=3;p.WRONG_DOCUMENT_ERR=4;p.INVALID_CHARACTER_ERR=5;p.NO_DATA_ALLOWED_ERR=6;p.NO_MODIFICATION_ALLOWED_ERR=7;p.NOT_FOUND_ERR=8;p.NOT_SUPPORTED_ERR=9;p.INUSE_ATTRIBUTE_ERR=10;p.INVALID_STATE_ERR=11;p.SYNTAX_ERR=12;p.INVALID_MODIFICATION_ERR=13;p.NAMESPACE_ERR=14;p.INVALID_ACCESS_ERR=15;p.VALIDATION_ERR=16;p.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=G_vmlCanvasManager_;CanvasRenderingContext2D=CanvasRenderingContext2D_;CanvasGradient=CanvasGradient_;CanvasPattern=CanvasPattern_;DOMException=DOMException_;})();} \ No newline at end of file diff --git a/ckan/public/base/datapreview/vendor/flot/0.7/jquery.flot.min.js b/ckan/public/base/datapreview/vendor/flot/0.7/jquery.flot.min.js deleted file mode 100644 index a197c53bb4f..00000000000 --- a/ckan/public/base/datapreview/vendor/flot/0.7/jquery.flot.min.js +++ /dev/null @@ -1,452 +0,0 @@ -(function(B){B.color={};B.color.make=function(F,E,C,D){var G={};G.r=F||0;G.g=E||0;G.b=C||0;G.a=D!=null?D:1;G.add=function(J,I){for(var H=0;H=1){return"rgb("+[G.r,G.g,G.b].join(",")+")"}else{return"rgba("+[G.r,G.g,G.b,G.a].join(",")+")"}};G.normalize=function(){function H(J,K,I){return KI?I:K)}G.r=H(0,parseInt(G.r),255);G.g=H(0,parseInt(G.g),255);G.b=H(0,parseInt(G.b),255);G.a=H(0,G.a,1);return G};G.clone=function(){return B.color.make(G.r,G.b,G.g,G.a)};return G.normalize()};B.color.extract=function(D,C){var E;do{E=D.css(C).toLowerCase();if(E!=""&&E!="transparent"){break}D=D.parent()}while(!B.nodeName(D.get(0),"body"));if(E=="rgba(0, 0, 0, 0)"){E="transparent"}return B.color.parse(E)};B.color.parse=function(F){var E,C=B.color.make;if(E=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F)){return C(parseInt(E[1],10),parseInt(E[2],10),parseInt(E[3],10))}if(E=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F)){return C(parseInt(E[1],10),parseInt(E[2],10),parseInt(E[3],10),parseFloat(E[4]))}if(E=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(F)){return C(parseFloat(E[1])*2.55,parseFloat(E[2])*2.55,parseFloat(E[3])*2.55)}if(E=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F)){return C(parseFloat(E[1])*2.55,parseFloat(E[2])*2.55,parseFloat(E[3])*2.55,parseFloat(E[4]))}if(E=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F)){return C(parseInt(E[1],16),parseInt(E[2],16),parseInt(E[3],16))}if(E=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F)){return C(parseInt(E[1]+E[1],16),parseInt(E[2]+E[2],16),parseInt(E[3]+E[3],16))}var D=B.trim(F).toLowerCase();if(D=="transparent"){return C(255,255,255,0)}else{E=A[D]||[0,0,0];return C(E[0],E[1],E[2])}};var A={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function($){function Plot(placeholder,data_,options_,plugins){var series=[],options={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,position:"bottom",mode:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:false},yaxis:{autoscaleMargin:0.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false},shadowSize:3},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},hooks:{}},canvas=null,overlay=null,eventHolder=null,ctx=null,octx=null,xaxes=[],yaxes=[],plotOffset={left:0,right:0,top:0,bottom:0},canvasWidth=0,canvasHeight=0,plotWidth=0,plotHeight=0,hooks={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},plot=this;plot.setData=setData;plot.setupGrid=setupGrid;plot.draw=draw;plot.getPlaceholder=function(){return placeholder;};plot.getCanvas=function(){return canvas;};plot.getPlotOffset=function(){return plotOffset;};plot.width=function(){return plotWidth;};plot.height=function(){return plotHeight;};plot.offset=function(){var o=eventHolder.offset();o.left+=plotOffset.left;o.top+=plotOffset.top;return o;};plot.getData=function(){return series;};plot.getAxes=function(){var res={},i;$.each(xaxes.concat(yaxes),function(_,axis){if(axis) -res[axis.direction+(axis.n!=1?axis.n:"")+"axis"]=axis;});return res;};plot.getXAxes=function(){return xaxes;};plot.getYAxes=function(){return yaxes;};plot.c2p=canvasToAxisCoords;plot.p2c=axisToCanvasCoords;plot.getOptions=function(){return options;};plot.highlight=highlight;plot.unhighlight=unhighlight;plot.triggerRedrawOverlay=triggerRedrawOverlay;plot.pointOffset=function(point){return{left:parseInt(xaxes[axisNumber(point,"x")-1].p2c(+point.x)+plotOffset.left),top:parseInt(yaxes[axisNumber(point,"y")-1].p2c(+point.y)+plotOffset.top)};};plot.shutdown=shutdown;plot.resize=function(){getCanvasDimensions();resizeCanvas(canvas);resizeCanvas(overlay);};plot.hooks=hooks;initPlugins(plot);parseOptions(options_);setupCanvases();setData(data_);setupGrid();draw();bindEvents();function executeHooks(hook,args){args=[plot].concat(args);for(var i=0;i=options.colors.length){i=0;++variation;}} -var colori=0,s;for(i=0;iaxis.datamax&&max!=fakeInfinity) -axis.datamax=max;} -$.each(allAxes(),function(_,axis){axis.datamin=topSentry;axis.datamax=bottomSentry;axis.used=false;});for(i=0;i0&&points[k-ps]!=null&&points[k-ps]!=points[k]&&points[k-ps+1]!=points[k+1]){for(m=0;mxmax) -xmax=val;} -if(f.y){if(valymax) -ymax=val;}}} -if(s.bars.show){var delta=s.bars.align=="left"?0:-s.bars.barWidth/2;if(s.bars.horizontal){ymin+=delta;ymax+=delta+s.bars.barWidth;} -else{xmin+=delta;xmax+=delta+s.bars.barWidth;}} -updateAxis(s.xaxis,xmin,xmax);updateAxis(s.yaxis,ymin,ymax);} -$.each(allAxes(),function(_,axis){if(axis.datamin==topSentry) -axis.datamin=null;if(axis.datamax==bottomSentry) -axis.datamax=null;});} -function makeCanvas(skipPositioning,cls){var c=document.createElement('canvas');c.className=cls;c.width=canvasWidth;c.height=canvasHeight;if(!skipPositioning) -$(c).css({position:'absolute',left:0,top:0});$(c).appendTo(placeholder);if(!c.getContext) -c=window.G_vmlCanvasManager.initElement(c);c.getContext("2d").save();return c;} -function getCanvasDimensions(){canvasWidth=placeholder.width();canvasHeight=placeholder.height();if(canvasWidth<=0||canvasHeight<=0) -throw"Invalid dimensions for plot, width = "+canvasWidth+", height = "+canvasHeight;} -function resizeCanvas(c){if(c.width!=canvasWidth) -c.width=canvasWidth;if(c.height!=canvasHeight) -c.height=canvasHeight;var cctx=c.getContext("2d");cctx.restore();cctx.save();} -function setupCanvases(){var reused,existingCanvas=placeholder.children("canvas.base"),existingOverlay=placeholder.children("canvas.overlay");if(existingCanvas.length==0||existingOverlay==0){placeholder.html("");placeholder.css({padding:0});if(placeholder.css("position")=='static') -placeholder.css("position","relative");getCanvasDimensions();canvas=makeCanvas(true,"base");overlay=makeCanvas(false,"overlay");reused=false;} -else{canvas=existingCanvas.get(0);overlay=existingOverlay.get(0);reused=true;} -ctx=canvas.getContext("2d");octx=overlay.getContext("2d");eventHolder=$([overlay,canvas]);if(reused){placeholder.data("plot").shutdown();plot.resize();octx.clearRect(0,0,canvasWidth,canvasHeight);eventHolder.unbind();placeholder.children().not([canvas,overlay]).remove();} -placeholder.data("plot",plot);} -function bindEvents(){if(options.grid.hoverable){eventHolder.mousemove(onMouseMove);eventHolder.mouseleave(onMouseLeave);} -if(options.grid.clickable) -eventHolder.click(onClick);executeHooks(hooks.bindEvents,[eventHolder]);} -function shutdown(){if(redrawTimeout) -clearTimeout(redrawTimeout);eventHolder.unbind("mousemove",onMouseMove);eventHolder.unbind("mouseleave",onMouseLeave);eventHolder.unbind("click",onClick);executeHooks(hooks.shutdown,[eventHolder]);} -function setTransformationHelpers(axis){function identity(x){return x;} -var s,m,t=axis.options.transform||identity,it=axis.options.inverseTransform;if(axis.direction=="x"){s=axis.scale=plotWidth/Math.abs(t(axis.max)-t(axis.min));m=Math.min(t(axis.max),t(axis.min));} -else{s=axis.scale=plotHeight/Math.abs(t(axis.max)-t(axis.min));s=-s;m=Math.max(t(axis.max),t(axis.min));} -if(t==identity) -axis.p2c=function(p){return(p-m)*s;};else -axis.p2c=function(p){return(t(p)-m)*s;};if(!it) -axis.c2p=function(c){return m+c/s;};else -axis.c2p=function(c){return it(m+c/s);};} -function measureTickLabels(axis){var opts=axis.options,i,ticks=axis.ticks||[],labels=[],l,w=opts.labelWidth,h=opts.labelHeight,dummyDiv;function makeDummyDiv(labels,width){return $('
'+'
' -+labels.join("")+'
').appendTo(placeholder);} -if(axis.direction=="x"){if(w==null) -w=Math.floor(canvasWidth/(ticks.length>0?ticks.length:1));if(h==null){labels=[];for(i=0;i'+l+'');} -if(labels.length>0){labels.push('
');dummyDiv=makeDummyDiv(labels,"width:10000px;");h=dummyDiv.height();dummyDiv.remove();}}} -else if(w==null||h==null){for(i=0;i'+l+'');} -if(labels.length>0){dummyDiv=makeDummyDiv(labels,"");if(w==null) -w=dummyDiv.children().width();if(h==null) -h=dummyDiv.find("div.tickLabel").height();dummyDiv.remove();}} -if(w==null) -w=0;if(h==null) -h=0;axis.labelWidth=w;axis.labelHeight=h;} -function allocateAxisBoxFirstPhase(axis){var lw=axis.labelWidth,lh=axis.labelHeight,pos=axis.options.position,tickLength=axis.options.tickLength,axismargin=options.grid.axisMargin,padding=options.grid.labelMargin,all=axis.direction=="x"?xaxes:yaxes,index;var samePosition=$.grep(all,function(a){return a&&a.options.position==pos&&a.reserveSpace;});if($.inArray(axis,samePosition)==samePosition.length-1) -axismargin=0;if(tickLength==null) -tickLength="full";var sameDirection=$.grep(all,function(a){return a&&a.reserveSpace;});var innermost=$.inArray(axis,sameDirection)==0;if(!innermost&&tickLength=="full") -tickLength=5;if(!isNaN(+tickLength)) -padding+=+tickLength;if(axis.direction=="x"){lh+=padding;if(pos=="bottom"){plotOffset.bottom+=lh+axismargin;axis.box={top:canvasHeight-plotOffset.bottom,height:lh};} -else{axis.box={top:plotOffset.top+axismargin,height:lh};plotOffset.top+=lh+axismargin;}} -else{lw+=padding;if(pos=="left"){axis.box={left:plotOffset.left+axismargin,width:lw};plotOffset.left+=lw+axismargin;} -else{plotOffset.right+=lw+axismargin;axis.box={left:canvasWidth-plotOffset.right,width:lw};}} -axis.position=pos;axis.tickLength=tickLength;axis.box.padding=padding;axis.innermost=innermost;} -function allocateAxisBoxSecondPhase(axis){if(axis.direction=="x"){axis.box.left=plotOffset.left;axis.box.width=plotWidth;} -else{axis.box.top=plotOffset.top;axis.box.height=plotHeight;}} -function setupGrid(){var i,axes=allAxes();$.each(axes,function(_,axis){axis.show=axis.options.show;if(axis.show==null) -axis.show=axis.used;axis.reserveSpace=axis.show||axis.options.reserveSpace;setRange(axis);});allocatedAxes=$.grep(axes,function(axis){return axis.reserveSpace;});plotOffset.left=plotOffset.right=plotOffset.top=plotOffset.bottom=0;if(options.grid.show){$.each(allocatedAxes,function(_,axis){setupTickGeneration(axis);setTicks(axis);snapRangeToTicks(axis,axis.ticks);measureTickLabels(axis);});for(i=allocatedAxes.length-1;i>=0;--i) -allocateAxisBoxFirstPhase(allocatedAxes[i]);var minMargin=options.grid.minBorderMargin;if(minMargin==null){minMargin=0;for(i=0;i=0) -min=0;} -if(opts.max==null){max+=delta*margin;if(max>0&&axis.datamax!=null&&axis.datamax<=0) -max=0;}}} -axis.min=min;axis.max=max;} -function setupTickGeneration(axis){var opts=axis.options;var noTicks;if(typeof opts.ticks=="number"&&opts.ticks>0) -noTicks=opts.ticks;else -noTicks=0.3*Math.sqrt(axis.direction=="x"?canvasWidth:canvasHeight);var delta=(axis.max-axis.min)/noTicks,size,generator,unit,formatter,i,magn,norm;if(opts.mode=="time"){var timeUnitSize={"second":1000,"minute":60*1000,"hour":60*60*1000,"day":24*60*60*1000,"month":30*24*60*60*1000,"year":365.2425*24*60*60*1000};var spec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];var minSize=0;if(opts.minTickSize!=null){if(typeof opts.tickSize=="number") -minSize=opts.tickSize;else -minSize=opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]];} -for(var i=0;i=minSize) -break;size=spec[i][0];unit=spec[i][1];if(unit=="year"){magn=Math.pow(10,Math.floor(Math.log(delta/timeUnitSize.year)/Math.LN10));norm=(delta/timeUnitSize.year)/magn;if(norm<1.5) -size=1;else if(norm<3) -size=2;else if(norm<7.5) -size=5;else -size=10;size*=magn;} -axis.tickSize=opts.tickSize||[size,unit];generator=function(axis){var ticks=[],tickSize=axis.tickSize[0],unit=axis.tickSize[1],d=new Date(axis.min);var step=tickSize*timeUnitSize[unit];if(unit=="second") -d.setUTCSeconds(floorInBase(d.getUTCSeconds(),tickSize));if(unit=="minute") -d.setUTCMinutes(floorInBase(d.getUTCMinutes(),tickSize));if(unit=="hour") -d.setUTCHours(floorInBase(d.getUTCHours(),tickSize));if(unit=="month") -d.setUTCMonth(floorInBase(d.getUTCMonth(),tickSize));if(unit=="year") -d.setUTCFullYear(floorInBase(d.getUTCFullYear(),tickSize));d.setUTCMilliseconds(0);if(step>=timeUnitSize.minute) -d.setUTCSeconds(0);if(step>=timeUnitSize.hour) -d.setUTCMinutes(0);if(step>=timeUnitSize.day) -d.setUTCHours(0);if(step>=timeUnitSize.day*4) -d.setUTCDate(1);if(step>=timeUnitSize.year) -d.setUTCMonth(0);var carry=0,v=Number.NaN,prev;do{prev=v;v=d.getTime();ticks.push(v);if(unit=="month"){if(tickSize<1){d.setUTCDate(1);var start=d.getTime();d.setUTCMonth(d.getUTCMonth()+1);var end=d.getTime();d.setTime(v+carry*timeUnitSize.hour+(end-start)*tickSize);carry=d.getUTCHours();d.setUTCHours(0);} -else -d.setUTCMonth(d.getUTCMonth()+tickSize);} -else if(unit=="year"){d.setUTCFullYear(d.getUTCFullYear()+tickSize);} -else -d.setTime(v+step);}while(vmaxDec) -dec=maxDec;magn=Math.pow(10,-dec);norm=delta/magn;if(norm<1.5) -size=1;else if(norm<3){size=2;if(norm>2.25&&(maxDec==null||dec+1<=maxDec)){size=2.5;++dec;}} -else if(norm<7.5) -size=5;else -size=10;size*=magn;if(opts.minTickSize!=null&&size0){if(opts.min==null) -axis.min=Math.min(axis.min,niceTicks[0]);if(opts.max==null&&niceTicks.length>1) -axis.max=Math.max(axis.max,niceTicks[niceTicks.length-1]);} -generator=function(axis){var ticks=[],v,i;for(i=0;i1&&/\..*0$/.test((ts[1]-ts[0]).toFixed(extraDec)))) -axis.tickDecimals=extraDec;}}} -axis.tickGenerator=generator;if($.isFunction(opts.tickFormatter)) -axis.tickFormatter=function(v,axis){return""+opts.tickFormatter(v,axis);};else -axis.tickFormatter=formatter;} -function setTicks(axis){var oticks=axis.options.ticks,ticks=[];if(oticks==null||(typeof oticks=="number"&&oticks>0)) -ticks=axis.tickGenerator(axis);else if(oticks){if($.isFunction(oticks)) -ticks=oticks({min:axis.min,max:axis.max});else -ticks=oticks;} -var i,v;axis.ticks=[];for(i=0;i1) -label=t[1];} -else -v=+t;if(label==null) -label=axis.tickFormatter(v,axis);if(!isNaN(v)) -axis.ticks.push({v:v,label:label});}} -function snapRangeToTicks(axis,ticks){if(axis.options.autoscaleMargin&&ticks.length>0){if(axis.options.min==null) -axis.min=Math.min(axis.min,ticks[0].v);if(axis.options.max==null&&ticks.length>1) -axis.max=Math.max(axis.max,ticks[ticks.length-1].v);}} -function draw(){ctx.clearRect(0,0,canvasWidth,canvasHeight);var grid=options.grid;if(grid.show&&grid.backgroundColor) -drawBackground();if(grid.show&&!grid.aboveData) -drawGrid();for(var i=0;ito){var tmp=from;from=to;to=tmp;} -return{from:from,to:to,axis:axis};} -function drawBackground(){ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.fillStyle=getColorOrGradient(options.grid.backgroundColor,plotHeight,0,"rgba(255, 255, 255, 0)");ctx.fillRect(0,0,plotWidth,plotHeight);ctx.restore();} -function drawGrid(){var i;ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var markings=options.grid.markings;if(markings){if($.isFunction(markings)){var axes=plot.getAxes();axes.xmin=axes.xaxis.min;axes.xmax=axes.xaxis.max;axes.ymin=axes.yaxis.min;axes.ymax=axes.yaxis.max;markings=markings(axes);} -for(i=0;ixrange.axis.max||yrange.toyrange.axis.max) -continue;xrange.from=Math.max(xrange.from,xrange.axis.min);xrange.to=Math.min(xrange.to,xrange.axis.max);yrange.from=Math.max(yrange.from,yrange.axis.min);yrange.to=Math.min(yrange.to,yrange.axis.max);if(xrange.from==xrange.to&&yrange.from==yrange.to) -continue;xrange.from=xrange.axis.p2c(xrange.from);xrange.to=xrange.axis.p2c(xrange.to);yrange.from=yrange.axis.p2c(yrange.from);yrange.to=yrange.axis.p2c(yrange.to);if(xrange.from==xrange.to||yrange.from==yrange.to){ctx.beginPath();ctx.strokeStyle=m.color||options.grid.markingsColor;ctx.lineWidth=m.lineWidth||options.grid.markingsLineWidth;ctx.moveTo(xrange.from,yrange.from);ctx.lineTo(xrange.to,yrange.to);ctx.stroke();} -else{ctx.fillStyle=m.color||options.grid.markingsColor;ctx.fillRect(xrange.from,yrange.to,xrange.to-xrange.from,yrange.from-yrange.to);}}} -var axes=allAxes(),bw=options.grid.borderWidth;for(var j=0;jaxis.max||(t=="full"&&bw>0&&(v==axis.min||v==axis.max))) -continue;if(axis.direction=="x"){x=axis.p2c(v);yoff=t=="full"?-plotHeight:t;if(axis.position=="top") -yoff=-yoff;} -else{y=axis.p2c(v);xoff=t=="full"?-plotWidth:t;if(axis.position=="left") -xoff=-xoff;} -if(ctx.lineWidth==1){if(axis.direction=="x") -x=Math.floor(x)+0.5;else -y=Math.floor(y)+0.5;} -ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff);} -ctx.stroke();} -if(bw){ctx.lineWidth=bw;ctx.strokeStyle=options.grid.borderColor;ctx.strokeRect(-bw/2,-bw/2,plotWidth+bw,plotHeight+bw);} -ctx.restore();} -function insertAxisLabels(){placeholder.find(".tickLabels").remove();var html=['
'];var axes=allAxes();for(var j=0;j');for(var i=0;iaxis.max) -continue;var pos={},align;if(axis.direction=="x"){align="center";pos.left=Math.round(plotOffset.left+axis.p2c(tick.v)-axis.labelWidth/2);if(axis.position=="bottom") -pos.top=box.top+box.padding;else -pos.bottom=canvasHeight-(box.top+box.height-box.padding);} -else{pos.top=Math.round(plotOffset.top+axis.p2c(tick.v)-axis.labelHeight/2);if(axis.position=="left"){pos.right=canvasWidth-(box.left+box.width-box.padding) -align="right";} -else{pos.left=box.left+box.padding;align="left";}} -pos.width=axis.labelWidth;var style=["position:absolute","text-align:"+align];for(var a in pos) -style.push(a+":"+pos[a]+"px") -html.push('
'+tick.label+'
');} -html.push('
');} -html.push('');placeholder.append(html.join(""));} -function drawSeries(series){if(series.lines.show) -drawSeriesLines(series);if(series.bars.show) -drawSeriesBars(series);if(series.points.show) -drawSeriesPoints(series);} -function drawSeriesLines(series){function plotLine(datapoints,xoffset,yoffset,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,prevx=null,prevy=null;ctx.beginPath();for(var i=ps;i=y2&&y1>axisy.max){if(y2>axisy.max) -continue;x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max;} -else if(y2>=y1&&y2>axisy.max){if(y1>axisy.max) -continue;x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max;} -if(x1<=x2&&x1=x2&&x1>axisx.max){if(x2>axisx.max) -continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max;} -else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max) -continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max;} -if(x1!=prevx||y1!=prevy) -ctx.moveTo(axisx.p2c(x1)+xoffset,axisy.p2c(y1)+yoffset);prevx=x2;prevy=y2;ctx.lineTo(axisx.p2c(x2)+xoffset,axisy.p2c(y2)+yoffset);} -ctx.stroke();} -function plotLineArea(datapoints,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,bottom=Math.min(Math.max(0,axisy.min),axisy.max),i=0,top,areaOpen=false,ypos=1,segmentStart=0,segmentEnd=0;while(true){if(ps>0&&i>points.length+ps) -break;i+=ps;var x1=points[i-ps],y1=points[i-ps+ypos],x2=points[i],y2=points[i+ypos];if(areaOpen){if(ps>0&&x1!=null&&x2==null){segmentEnd=i;ps=-ps;ypos=2;continue;} -if(ps<0&&i==segmentStart+ps){ctx.fill();areaOpen=false;ps=-ps;ypos=1;i=segmentStart=segmentEnd+ps;continue;}} -if(x1==null||x2==null) -continue;if(x1<=x2&&x1=x2&&x1>axisx.max){if(x2>axisx.max) -continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max;} -else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max) -continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max;} -if(!areaOpen){ctx.beginPath();ctx.moveTo(axisx.p2c(x1),axisy.p2c(bottom));areaOpen=true;} -if(y1>=axisy.max&&y2>=axisy.max){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.max));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.max));continue;} -else if(y1<=axisy.min&&y2<=axisy.min){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.min));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.min));continue;} -var x1old=x1,x2old=x2;if(y1<=y2&&y1=axisy.min){x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min;} -else if(y2<=y1&&y2=axisy.min){x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min;} -if(y1>=y2&&y1>axisy.max&&y2<=axisy.max){x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max;} -else if(y2>=y1&&y2>axisy.max&&y1<=axisy.max){x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max;} -if(x1!=x1old){ctx.lineTo(axisx.p2c(x1old),axisy.p2c(y1));} -ctx.lineTo(axisx.p2c(x1),axisy.p2c(y1));ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));if(x2!=x2old){ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));ctx.lineTo(axisx.p2c(x2old),axisy.p2c(y2));}}} -ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineJoin="round";var lw=series.lines.lineWidth,sw=series.shadowSize;if(lw>0&&sw>0){ctx.lineWidth=sw;ctx.strokeStyle="rgba(0,0,0,0.1)";var angle=Math.PI/18;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/2),Math.cos(angle)*(lw/2+sw/2),series.xaxis,series.yaxis);ctx.lineWidth=sw/2;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/4),Math.cos(angle)*(lw/2+sw/4),series.xaxis,series.yaxis);} -ctx.lineWidth=lw;ctx.strokeStyle=series.color;var fillStyle=getFillStyle(series.lines,series.color,0,plotHeight);if(fillStyle){ctx.fillStyle=fillStyle;plotLineArea(series.datapoints,series.xaxis,series.yaxis);} -if(lw>0) -plotLine(series.datapoints,0,0,series.xaxis,series.yaxis);ctx.restore();} -function drawSeriesPoints(series){function plotPoints(datapoints,radius,fillStyle,offset,shadow,axisx,axisy,symbol){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;iaxisx.max||yaxisy.max) -continue;ctx.beginPath();x=axisx.p2c(x);y=axisy.p2c(y)+offset;if(symbol=="circle") -ctx.arc(x,y,radius,0,shadow?Math.PI:Math.PI*2,false);else -symbol(ctx,x,y,radius,shadow);ctx.closePath();if(fillStyle){ctx.fillStyle=fillStyle;ctx.fill();} -ctx.stroke();}} -ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var lw=series.points.lineWidth,sw=series.shadowSize,radius=series.points.radius,symbol=series.points.symbol;if(lw>0&&sw>0){var w=sw/2;ctx.lineWidth=w;ctx.strokeStyle="rgba(0,0,0,0.1)";plotPoints(series.datapoints,radius,null,w+w/2,true,series.xaxis,series.yaxis,symbol);ctx.strokeStyle="rgba(0,0,0,0.2)";plotPoints(series.datapoints,radius,null,w/2,true,series.xaxis,series.yaxis,symbol);} -ctx.lineWidth=lw;ctx.strokeStyle=series.color;plotPoints(series.datapoints,radius,getFillStyle(series.points,series.color),0,false,series.xaxis,series.yaxis,symbol);ctx.restore();} -function drawBar(x,y,b,barLeft,barRight,offset,fillStyleCallback,axisx,axisy,c,horizontal,lineWidth){var left,right,bottom,top,drawLeft,drawRight,drawTop,drawBottom,tmp;if(horizontal){drawBottom=drawRight=drawTop=true;drawLeft=false;left=b;right=x;top=y+barLeft;bottom=y+barRight;if(rightaxisx.max||topaxisy.max) -return;if(leftaxisx.max){right=axisx.max;drawRight=false;} -if(bottomaxisy.max){top=axisy.max;drawTop=false;} -left=axisx.p2c(left);bottom=axisy.p2c(bottom);right=axisx.p2c(right);top=axisy.p2c(top);if(fillStyleCallback){c.beginPath();c.moveTo(left,bottom);c.lineTo(left,top);c.lineTo(right,top);c.lineTo(right,bottom);c.fillStyle=fillStyleCallback(bottom,top);c.fill();} -if(lineWidth>0&&(drawLeft||drawRight||drawTop||drawBottom)){c.beginPath();c.moveTo(left,bottom+offset);if(drawLeft) -c.lineTo(left,top+offset);else -c.moveTo(left,top+offset);if(drawTop) -c.lineTo(right,top+offset);else -c.moveTo(right,top+offset);if(drawRight) -c.lineTo(right,bottom+offset);else -c.moveTo(right,bottom+offset);if(drawBottom) -c.lineTo(left,bottom+offset);else -c.moveTo(left,bottom+offset);c.stroke();}} -function drawSeriesBars(series){function plotBars(datapoints,barLeft,barRight,offset,fillStyleCallback,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i');fragments.push('');rowStarted=true;} -if(lf) -label=lf(label,s);fragments.push('
'+''+label+'');} -if(rowStarted) -fragments.push('');if(fragments.length==0) -return;var table=''+fragments.join("")+'
';if(options.legend.container!=null) -$(options.legend.container).html(table);else{var pos="",p=options.legend.position,m=options.legend.margin;if(m[0]==null) -m=[m,m];if(p.charAt(0)=="n") -pos+='top:'+(m[1]+plotOffset.top)+'px;';else if(p.charAt(0)=="s") -pos+='bottom:'+(m[1]+plotOffset.bottom)+'px;';if(p.charAt(1)=="e") -pos+='right:'+(m[0]+plotOffset.right)+'px;';else if(p.charAt(1)=="w") -pos+='left:'+(m[0]+plotOffset.left)+'px;';var legend=$('
'+table.replace('style="','style="position:absolute;'+pos+';')+'
').appendTo(placeholder);if(options.legend.backgroundOpacity!=0.0){var c=options.legend.backgroundColor;if(c==null){c=options.grid.backgroundColor;if(c&&typeof c=="string") -c=$.color.parse(c);else -c=$.color.extract(legend,'background-color');c.a=1;c=c.toString();} -var div=legend.children();$('
').prependTo(legend).css('opacity',options.legend.backgroundOpacity);}}} -var highlights=[],redrawTimeout=null;function findNearbyItem(mouseX,mouseY,seriesFilter){var maxDistance=options.grid.mouseActiveRadius,smallestDistance=maxDistance*maxDistance+1,item=null,foundPoint=false,i,j;for(i=series.length-1;i>=0;--i){if(!seriesFilter(series[i])) -continue;var s=series[i],axisx=s.xaxis,axisy=s.yaxis,points=s.datapoints.points,ps=s.datapoints.pointsize,mx=axisx.c2p(mouseX),my=axisy.c2p(mouseY),maxx=maxDistance/axisx.scale,maxy=maxDistance/axisy.scale;if(axisx.options.inverseTransform) -maxx=Number.MAX_VALUE;if(axisy.options.inverseTransform) -maxy=Number.MAX_VALUE;if(s.lines.show||s.points.show){for(j=0;jmaxx||x-mx<-maxx||y-my>maxy||y-my<-maxy) -continue;var dx=Math.abs(axisx.p2c(x)-mouseX),dy=Math.abs(axisy.p2c(y)-mouseY),dist=dx*dx+dy*dy;if(dist=Math.min(b,x)&&my>=y+barLeft&&my<=y+barRight):(mx>=x+barLeft&&mx<=x+barRight&&my>=Math.min(b,y)&&my<=Math.max(b,y))) -item=[i,j/ps];}}} -if(item){i=item[0];j=item[1];ps=series[i].datapoints.pointsize;return{datapoint:series[i].datapoints.points.slice(j*ps,(j+1)*ps),dataIndex:j,series:series[i],seriesIndex:i};} -return null;} -function onMouseMove(e){if(options.grid.hoverable) -triggerClickHoverEvent("plothover",e,function(s){return s["hoverable"]!=false;});} -function onMouseLeave(e){if(options.grid.hoverable) -triggerClickHoverEvent("plothover",e,function(s){return false;});} -function onClick(e){triggerClickHoverEvent("plotclick",e,function(s){return s["clickable"]!=false;});} -function triggerClickHoverEvent(eventname,event,seriesFilter){var offset=eventHolder.offset(),canvasX=event.pageX-offset.left-plotOffset.left,canvasY=event.pageY-offset.top-plotOffset.top,pos=canvasToAxisCoords({left:canvasX,top:canvasY});pos.pageX=event.pageX;pos.pageY=event.pageY;var item=findNearbyItem(canvasX,canvasY,seriesFilter);if(item){item.pageX=parseInt(item.series.xaxis.p2c(item.datapoint[0])+offset.left+plotOffset.left);item.pageY=parseInt(item.series.yaxis.p2c(item.datapoint[1])+offset.top+plotOffset.top);} -if(options.grid.autoHighlight){for(var i=0;iaxisx.max||yaxisy.max) -return;var pointRadius=series.points.radius+series.points.lineWidth/2;octx.lineWidth=pointRadius;octx.strokeStyle=$.color.parse(series.color).scale('a',0.5).toString();var radius=1.5*pointRadius,x=axisx.p2c(x),y=axisy.p2c(y);octx.beginPath();if(series.points.symbol=="circle") -octx.arc(x,y,radius,0,2*Math.PI,false);else -series.points.symbol(octx,x,y,radius,false);octx.closePath();octx.stroke();} -function drawBarHighlight(series,point){octx.lineWidth=series.bars.lineWidth;octx.strokeStyle=$.color.parse(series.color).scale('a',0.5).toString();var fillStyle=$.color.parse(series.color).scale('a',0.5).toString();var barLeft=series.bars.align=="left"?0:-series.bars.barWidth/2;drawBar(point[0],point[1],point[2]||0,barLeft,barLeft+series.bars.barWidth,0,function(){return fillStyle;},series.xaxis,series.yaxis,octx,series.bars.horizontal,series.bars.lineWidth);} -function getColorOrGradient(spec,bottom,top,defaultColor){if(typeof spec=="string") -return spec;else{var gradient=ctx.createLinearGradient(0,top,0,bottom);for(var i=0,l=spec.colors.length;i12){hours=hours-12;}else if(hours==0){hours=12;}} -for(var i=0;i=currentZoom){visibleLayer=visibleLayer.__parent;}} -if(this.options.animateAddingMarkers){this._animationAddLayer(layer,visibleLayer);}else{this._animationAddLayerNonAnimated(layer,visibleLayer);} -return this;},removeLayer:function(layer){if(!layer.__parent){return this;} -if(this._unspiderfy){this._unspiderfy();this._unspiderfyLayer(layer);} -this._removeLayer(layer,true);if(layer._icon){L.FeatureGroup.prototype.removeLayer.call(this,layer);} -return this;},clearLayers:function(){if(!this._map){this._needsClustering=[];return this;} -if(this._unspiderfy){this._unspiderfy();} -for(var i in this._layers){if(this._layers.hasOwnProperty(i)){L.FeatureGroup.prototype.removeLayer.call(this,this._layers[i]);}} -this._generateInitialClusters();return this;},hasLayer:function(layer){var res=false;this._topClusterLevel._recursively(new L.LatLngBounds([layer.getLatLng()]),0,this._map.getMaxZoom()+1,function(cluster){for(var i=cluster._markers.length-1;i>=0&&!res;i--){if(cluster._markers[i]===layer){res=true;}}},null);return res;},zoomToShowLayer:function(layer,callback){var showMarker=function(){if((layer._icon||layer.__parent._icon)&&!this._inZoomAnimation){this._map.off('moveend',showMarker,this);this.off('animationend',showMarker,this);if(layer._icon){callback();}else if(layer.__parent._icon){var afterSpiderfy=function(){this.off('spiderfied',afterSpiderfy,this);callback();};this.on('spiderfied',afterSpiderfy,this);layer.__parent.spiderfy();}}};if((layer._icon||layer.__parent._icon)&&this._map.getBounds().contains(layer.__parent._latlng)){showMarker.call(this);}else{this._map.on('moveend',showMarker,this);this.on('animationend',showMarker,this);layer.__parent.zoomToBounds();}},onAdd:function(map){L.FeatureGroup.prototype.onAdd.call(this,map);if(!this._gridClusters){this._generateInitialClusters();} -for(var i=0,l=this._needsClustering.length;i=0;i--){if(anArray[i]===obj){anArray.splice(i,1);return;}}},_removeLayer:function(marker,removeFromDistanceGrid){var gridClusters=this._gridClusters,gridUnclustered=this._gridUnclustered,map=this._map;if(removeFromDistanceGrid){for(var z=this._maxZoom;z>=0;z--){if(!gridUnclustered[z].removeObject(marker,map.project(marker.getLatLng(),z))){break;}}} -var cluster=marker.__parent,markers=cluster._markers,otherMarker;this._arraySplice(markers,marker);while(cluster){cluster._childCount--;if(cluster._zoom<0){break;}else if(removeFromDistanceGrid&&cluster._childCount<=1){otherMarker=cluster._markers[0]===marker?cluster._markers[1]:cluster._markers[0];gridClusters[cluster._zoom].removeObject(cluster,map.project(cluster._cLatLng,cluster._zoom));gridUnclustered[cluster._zoom].addObject(otherMarker,map.project(otherMarker.getLatLng(),cluster._zoom));this._arraySplice(cluster.__parent._childClusters,cluster);cluster.__parent._markers.push(otherMarker);otherMarker.__parent=cluster.__parent;if(cluster._icon){L.FeatureGroup.prototype.removeLayer.call(this,cluster);L.FeatureGroup.prototype.addLayer.call(this,otherMarker);}}else{cluster._recalculateBounds();cluster._updateIcon();} -cluster=cluster.__parent;}},_propagateEvent:function(e){if(e.target instanceof L.MarkerCluster){e.type='cluster'+e.type;} -L.FeatureGroup.prototype._propagateEvent.call(this,e);},_defaultIconCreateFunction:function(cluster){var childCount=cluster.getChildCount();var c=' marker-cluster-';if(childCount<10){c+='small';}else if(childCount<100){c+='medium';}else{c+='large';} -return new L.DivIcon({html:'
'+childCount+'
',className:'marker-cluster'+c,iconSize:new L.Point(40,40)});},_bindEvents:function(){var shownPolygon=null,map=this._map,spiderfyOnMaxZoom=this.options.spiderfyOnMaxZoom,showCoverageOnHover=this.options.showCoverageOnHover,zoomToBoundsOnClick=this.options.zoomToBoundsOnClick;if(spiderfyOnMaxZoom||zoomToBoundsOnClick){this.on('clusterclick',function(a){if(map.getMaxZoom()===map.getZoom()){if(spiderfyOnMaxZoom){a.layer.spiderfy();}}else if(zoomToBoundsOnClick){a.layer.zoomToBounds();}},this);} -if(showCoverageOnHover){this.on('clustermouseover',function(a){if(this._inZoomAnimation){return;} -if(shownPolygon){map.removeLayer(shownPolygon);} -if(a.layer.getChildCount()>2){shownPolygon=new L.Polygon(a.layer.getConvexHull());map.addLayer(shownPolygon);}},this);this.on('clustermouseout',function(){if(shownPolygon){map.removeLayer(shownPolygon);shownPolygon=null;}},this);map.on('zoomend',function(){if(shownPolygon){map.removeLayer(shownPolygon);shownPolygon=null;}},this);map.on('layerremove',function(opt){if(shownPolygon&&opt.layer===this){map.removeLayer(shownPolygon);shownPolygon=null;}},this);}},_zoomEnd:function(){if(!this._map){return;} -this._mergeSplitClusters();this._zoom=this._map._zoom;this._currentShownBounds=this._getExpandedVisibleBounds();},_moveEnd:function(){if(this._inZoomAnimation){return;} -var newBounds=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,this._zoom,newBounds);this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,newBounds);this._currentShownBounds=newBounds;return;},_generateInitialClusters:function(){var maxZoom=this._map.getMaxZoom(),radius=this.options.maxClusterRadius;if(this.options.disableClusteringAtZoom){maxZoom=this.options.disableClusteringAtZoom-1;} -this._maxZoom=maxZoom;this._gridClusters={};this._gridUnclustered={};for(var zoom=maxZoom;zoom>=0;zoom--){this._gridClusters[zoom]=new L.DistanceGrid(radius);this._gridUnclustered[zoom]=new L.DistanceGrid(radius);} -this._topClusterLevel=new L.MarkerCluster(this,-1);},_addLayer:function(layer,zoom){var gridClusters=this._gridClusters,gridUnclustered=this._gridUnclustered,markerPoint,z;for(;zoom>=0;zoom--){markerPoint=this._map.project(layer.getLatLng(),zoom);var closest=gridClusters[zoom].getNearObject(markerPoint);if(closest){closest._addChild(layer);layer.__parent=closest;return;} -closest=gridUnclustered[zoom].getNearObject(markerPoint);if(closest){if(closest.__parent){this._removeLayer(closest,false);} -var parent=closest.__parent||this._topClusterLevel;var newCluster=new L.MarkerCluster(this,zoom,closest,layer);gridClusters[zoom].addObject(newCluster,this._map.project(newCluster._cLatLng,zoom));closest.__parent=newCluster;layer.__parent=newCluster;var lastParent=newCluster;for(z=zoom-1;z>parent._zoom;z--){lastParent=new L.MarkerCluster(this,z,lastParent);gridClusters[z].addObject(lastParent,this._map.project(closest.getLatLng(),z));} -parent._addChild(lastParent);for(z=zoom;z>=0;z--){if(!gridUnclustered[z].removeObject(closest,this._map.project(closest.getLatLng(),z))){break;}} -return;} -gridUnclustered[zoom].addObject(layer,markerPoint);} -return;},_mergeSplitClusters:function(){if(this._zoomthis._map._zoom){this._animationStart();this._animationZoomOut(this._zoom,this._map._zoom);}else{this._moveEnd();}},_getExpandedVisibleBounds:function(){var map=this._map,bounds=map.getPixelBounds(),width=L.Browser.mobile?0:Math.abs(bounds.max.x-bounds.min.x),height=L.Browser.mobile?0:Math.abs(bounds.max.y-bounds.min.y),sw=map.unproject(new L.Point(bounds.min.x-width,bounds.min.y-height)),ne=map.unproject(new L.Point(bounds.max.x+width,bounds.max.y+height));return new L.LatLngBounds(sw,ne);},_animationAddLayerNonAnimated:function(layer,newCluster){if(newCluster===layer){L.FeatureGroup.prototype.addLayer.call(this,layer);}else if(newCluster._childCount===2){newCluster._addToMap();var markers=newCluster.getAllChildMarkers();L.FeatureGroup.prototype.removeLayer.call(this,markers[0]);L.FeatureGroup.prototype.removeLayer.call(this,markers[1]);}else{newCluster._updateIcon();}}});L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION?{_animationStart:function(){},_animationZoomIn:function(previousZoomLevel,newZoomLevel){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,previousZoomLevel);this._topClusterLevel._recursivelyAddChildrenToMap(null,newZoomLevel,this._getExpandedVisibleBounds());},_animationZoomOut:function(previousZoomLevel,newZoomLevel){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,previousZoomLevel);this._topClusterLevel._recursivelyAddChildrenToMap(null,newZoomLevel,this._getExpandedVisibleBounds());},_animationAddLayer:function(layer,newCluster){this._animationAddLayerNonAnimated(layer,newCluster);}}:{_animationStart:function(){this._map._mapPane.className+=' leaflet-cluster-anim';this._inZoomAnimation++;},_animationEnd:function(){if(this._map){this._map._mapPane.className=this._map._mapPane.className.replace(' leaflet-cluster-anim','');} -this._inZoomAnimation--;this.fire('animationend');},_animationZoomIn:function(previousZoomLevel,newZoomLevel){var me=this,bounds=this._getExpandedVisibleBounds(),i;this._topClusterLevel._recursively(bounds,previousZoomLevel,0,function(c){var startPos=c._latlng,markers=c._markers,m;if(c._isSingleParent()&&previousZoomLevel+1===newZoomLevel){L.FeatureGroup.prototype.removeLayer.call(me,c);c._recursivelyAddChildrenToMap(null,newZoomLevel,bounds);}else{c.setOpacity(0);c._recursivelyAddChildrenToMap(startPos,newZoomLevel,bounds);} -for(i=markers.length-1;i>=0;i--){m=markers[i];if(!bounds.contains(m._latlng)){L.FeatureGroup.prototype.removeLayer.call(me,m);}}});this._forceLayout();var j,n;me._topClusterLevel._recursivelyBecomeVisible(bounds,newZoomLevel);for(j in me._layers){if(me._layers.hasOwnProperty(j)){n=me._layers[j];if(!(n instanceof L.MarkerCluster)&&n._icon){n.setOpacity(1);}}} -me._topClusterLevel._recursively(bounds,previousZoomLevel,newZoomLevel,function(c){c._recursivelyRestoreChildPositions(newZoomLevel);});setTimeout(function(){me._topClusterLevel._recursively(bounds,previousZoomLevel,0,function(c){L.FeatureGroup.prototype.removeLayer.call(me,c);});me._animationEnd();},250);},_animationZoomOut:function(previousZoomLevel,newZoomLevel){this._animationZoomOutSingle(this._topClusterLevel,previousZoomLevel,newZoomLevel);this._topClusterLevel._recursivelyAddChildrenToMap(null,newZoomLevel,this._getExpandedVisibleBounds());},_animationZoomOutSingle:function(marker,previousZoomLevel,newZoomLevel){var bounds=this._getExpandedVisibleBounds();marker._recursivelyAnimateChildrenInAndAddSelfToMap(bounds,previousZoomLevel,newZoomLevel);var me=this;this._forceLayout();marker._recursivelyBecomeVisible(bounds,newZoomLevel);setTimeout(function(){marker._recursively(bounds,newZoomLevel,0,function(c){c._recursivelyRemoveChildrenFromMap(bounds,previousZoomLevel);});me._animationEnd();},250);},_animationAddLayer:function(layer,newCluster){var me=this;L.FeatureGroup.prototype.addLayer.call(this,layer);if(newCluster!==layer){if(newCluster._childCount>2){newCluster._updateIcon();this._forceLayout();this._animationStart();layer._setPos(this._map.latLngToLayerPoint(newCluster.getLatLng()));layer.setOpacity(0);setTimeout(function(){L.FeatureGroup.prototype.removeLayer.call(me,layer);layer.setOpacity(1);me._animationEnd();},250);}else{this._forceLayout();me._animationStart();me._animationZoomOutSingle(newCluster,this._map.getMaxZoom(),this._map.getZoom());}}},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth);}});L.MarkerCluster=L.Marker.extend({initialize:function(group,zoom,a,b){L.Marker.prototype.initialize.call(this,a?(a._cLatLng||a.getLatLng()):new L.LatLng(0,0),{icon:this});this._group=group;this._zoom=zoom;this._markers=[];this._childClusters=[];this._childCount=0;this._iconNeedsUpdate=true;this._bounds=new L.LatLngBounds();if(a){this._addChild(a);} -if(b){this._addChild(b);}},getAllChildMarkers:function(storageArray){storageArray=storageArray||[];for(var i=this._childClusters.length-1;i>=0;i--){this._childClusters[i].getAllChildMarkers(storageArray);} -for(var j=this._markers.length-1;j>=0;j--){storageArray.push(this._markers[j]);} -return storageArray;},getChildCount:function(){return this._childCount;},zoomToBounds:function(){this._group._map.fitBounds(this._bounds);},_updateIcon:function(){this._iconNeedsUpdate=true;if(this._icon){this.setIcon(this);}},createIcon:function(){if(this._iconNeedsUpdate){this._iconObj=this._group.options.iconCreateFunction(this);this._iconNeedsUpdate=false;} -return this._iconObj.createIcon();},createShadow:function(){return this._iconObj.createShadow();},_addChild:function(new1,isNotificationFromChild){this._iconNeedsUpdate=true;this._expandBounds(new1);if(new1 instanceof L.MarkerCluster){if(!isNotificationFromChild){this._childClusters.push(new1);new1.__parent=this;} -this._childCount+=new1._childCount;}else{if(!isNotificationFromChild){this._markers.push(new1);} -this._childCount++;} -if(this.__parent){this.__parent._addChild(new1,true);}},_expandBounds:function(marker){var addedCount,addedLatLng=marker._wLatLng||marker._latlng;if(marker instanceof L.MarkerCluster){this._bounds.extend(marker._bounds);addedCount=marker._childCount;}else{this._bounds.extend(addedLatLng);addedCount=1;} -if(!this._cLatLng){this._cLatLng=marker._cLatLng||addedLatLng;} -var totalCount=this._childCount+addedCount;if(!this._wLatLng){this._latlng=this._wLatLng=new L.LatLng(addedLatLng.lat,addedLatLng.lng);}else{this._wLatLng.lat=(addedLatLng.lat*addedCount+this._wLatLng.lat*this._childCount)/totalCount;this._wLatLng.lng=(addedLatLng.lng*addedCount+this._wLatLng.lng*this._childCount)/totalCount;}},_addToMap:function(startPos){if(startPos){this._backupLatlng=this._latlng;this.setLatLng(startPos);} -L.FeatureGroup.prototype.addLayer.call(this._group,this);},_recursivelyAnimateChildrenIn:function(bounds,center,depth){this._recursively(bounds,0,depth-1,function(c){var markers=c._markers,i,m;for(i=markers.length-1;i>=0;i--){m=markers[i];if(m._icon){m._setPos(center);m.setOpacity(0);}}},function(c){var childClusters=c._childClusters,j,cm;for(j=childClusters.length-1;j>=0;j--){cm=childClusters[j];if(cm._icon){cm._setPos(center);cm.setOpacity(0);}}});},_recursivelyAnimateChildrenInAndAddSelfToMap:function(bounds,previousZoomLevel,newZoomLevel){this._recursively(bounds,newZoomLevel,0,function(c){c._recursivelyAnimateChildrenIn(bounds,c._group._map.latLngToLayerPoint(c.getLatLng()).round(),previousZoomLevel);if(c._isSingleParent()&&previousZoomLevel-1===newZoomLevel){c.setOpacity(1);c._recursivelyRemoveChildrenFromMap(bounds,previousZoomLevel);}else{c.setOpacity(0);} -c._addToMap();});},_recursivelyBecomeVisible:function(bounds,zoomLevel){this._recursively(bounds,0,zoomLevel,null,function(c){c.setOpacity(1);});},_recursivelyAddChildrenToMap:function(startPos,zoomLevel,bounds){this._recursively(bounds,0,zoomLevel,function(c){if(zoomLevel===c._zoom){return;} -for(var i=c._markers.length-1;i>=0;i--){var nm=c._markers[i];if(!bounds.contains(nm._latlng)){continue;} -if(startPos){nm._backupLatlng=nm.getLatLng();nm.setLatLng(startPos);nm.setOpacity(0);} -L.FeatureGroup.prototype.addLayer.call(c._group,nm);}},function(c){c._addToMap(startPos);});},_recursivelyRestoreChildPositions:function(zoomLevel){for(var i=this._markers.length-1;i>=0;i--){var nm=this._markers[i];if(nm._backupLatlng){nm.setLatLng(nm._backupLatlng);delete nm._backupLatlng;}} -if(zoomLevel-1===this._zoom){for(var j=this._childClusters.length-1;j>=0;j--){this._childClusters[j]._restorePosition();}}else{for(var k=this._childClusters.length-1;k>=0;k--){this._childClusters[k]._recursivelyRestoreChildPositions(zoomLevel);}}},_restorePosition:function(){if(this._backupLatlng){this.setLatLng(this._backupLatlng);delete this._backupLatlng;}},_recursivelyRemoveChildrenFromMap:function(previousBounds,zoomLevel,exceptBounds){var m,i;this._recursively(previousBounds,-1,zoomLevel-1,function(c){for(i=c._markers.length-1;i>=0;i--){m=c._markers[i];if(!exceptBounds||!exceptBounds.contains(m._latlng)){L.FeatureGroup.prototype.removeLayer.call(c._group,m);m.setOpacity(1);}}},function(c){for(i=c._childClusters.length-1;i>=0;i--){m=c._childClusters[i];if(!exceptBounds||!exceptBounds.contains(m._latlng)){L.FeatureGroup.prototype.removeLayer.call(c._group,m);m.setOpacity(1);}}});},_recursively:function(boundsToApplyTo,zoomLevelToStart,zoomLevelToStop,runAtEveryLevel,runAtBottomLevel){var childClusters=this._childClusters,zoom=this._zoom,i,c;if(zoomLevelToStart>zoom){for(i=childClusters.length-1;i>=0;i--){c=childClusters[i];if(boundsToApplyTo.intersects(c._bounds)){c._recursively(boundsToApplyTo,zoomLevelToStart,zoomLevelToStop,runAtEveryLevel,runAtBottomLevel);}}}else{if(runAtEveryLevel){runAtEveryLevel(this);} -if(runAtBottomLevel&&this._zoom===zoomLevelToStop){runAtBottomLevel(this);} -if(zoomLevelToStop>zoom){for(i=childClusters.length-1;i>=0;i--){c=childClusters[i];if(boundsToApplyTo.intersects(c._bounds)){c._recursively(boundsToApplyTo,zoomLevelToStart,zoomLevelToStop,runAtEveryLevel,runAtBottomLevel);}}}}},_recalculateBounds:function(){var markers=this._markers,childClusters=this._childClusters,i;this._bounds=new L.LatLngBounds();delete this._wLatLng;for(i=markers.length-1;i>=0;i--){this._expandBounds(markers[i]);} -for(i=childClusters.length-1;i>=0;i--){this._expandBounds(childClusters[i]);}},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount;}});L.DistanceGrid=function(cellSize){this._cellSize=cellSize;this._sqCellSize=cellSize*cellSize;this._grid={};this._objectPoint={};};L.DistanceGrid.prototype={addObject:function(obj,point){var x=this._getCoord(point.x),y=this._getCoord(point.y),grid=this._grid,row=grid[y]=grid[y]||{},cell=row[x]=row[x]||[],stamp=L.Util.stamp(obj);this._objectPoint[stamp]=point;cell.push(obj);},updateObject:function(obj,point){this.removeObject(obj);this.addObject(obj,point);},removeObject:function(obj,point){var x=this._getCoord(point.x),y=this._getCoord(point.y),grid=this._grid,row=grid[y]=grid[y]||{},cell=row[x]=row[x]||[],i,len;delete this._objectPoint[L.Util.stamp(obj)];for(i=0,len=cell.length;i=0;i--){pt=latLngs[i];d=this.getDistant(pt,baseLine);if(d>0){newPoints.push(pt);}else{continue;} -if(d>maxD){maxD=d;maxPt=pt;}} -return{'maxPoint':maxPt,'newPoints':newPoints};},buildConvexHull:function(baseLine,latLngs){var convexHullBaseLines=[],t=this.findMostDistantPointFromBaseLine(baseLine,latLngs);if(t.maxPoint){convexHullBaseLines=convexHullBaseLines.concat(this.buildConvexHull([baseLine[0],t.maxPoint],t.newPoints));convexHullBaseLines=convexHullBaseLines.concat(this.buildConvexHull([t.maxPoint,baseLine[1]],t.newPoints));return convexHullBaseLines;}else{return[baseLine];}},getConvexHull:function(latLngs){var maxLat=false,minLat=false,maxPt=null,minPt=null,i;for(i=latLngs.length-1;i>=0;i--){var pt=latLngs[i];if(maxLat===false||pt.lat>maxLat){maxPt=pt;maxLat=pt.lat;} -if(minLat===false||pt.lat=0;i--){p=childMarkers[i].getLatLng();points.push(p);} -hull=L.QuickHull.getConvexHull(points);for(i=hull.length-1;i>=0;i--){hullLatLng.push(hull[i][0]);} -return hullLatLng;}});L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:Math.PI/6,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied===this||this._group._inZoomAnimation){return;} -var childMarkers=this.getAllChildMarkers(),group=this._group,map=group._map,center=map.latLngToLayerPoint(this._latlng),positions;this._group._unspiderfy();this._group._spiderfied=this;if(childMarkers.length>=this._circleSpiralSwitchover){positions=this._generatePointsSpiral(childMarkers.length,center);}else{center.y+=10;positions=this._generatePointsCircle(childMarkers.length,center);} -this._animationSpiderfy(childMarkers,positions);},unspiderfy:function(zoomDetails){if(this._group._inZoomAnimation){return;} -this._animationUnspiderfy(zoomDetails);this._group._spiderfied=null;},_generatePointsCircle:function(count,centerPt){var circumference=this._circleFootSeparation*(2+count),legLength=circumference/this._2PI,angleStep=this._2PI/count,res=[],i,angle;res.length=count;for(i=count-1;i>=0;i--){angle=this._circleStartAngle+i*angleStep;res[i]=new L.Point(centerPt.x+legLength*Math.cos(angle),centerPt.y+legLength*Math.sin(angle))._round();} -return res;},_generatePointsSpiral:function(count,centerPt){var legLength=this._spiralLengthStart,angle=0,res=[],i;res.length=count;for(i=count-1;i>=0;i--){angle+=this._spiralFootSeparation/legLength+i*0.0005;res[i]=new L.Point(centerPt.x+legLength*Math.cos(angle),centerPt.y+legLength*Math.sin(angle))._round();legLength+=this._2PI*this._spiralLengthFactor/angle;} -return res;}});L.MarkerCluster.include(!L.DomUtil.TRANSITION?{_animationSpiderfy:function(childMarkers,positions){var group=this._group,map=group._map,i,m,leg,newPos;for(i=childMarkers.length-1;i>=0;i--){newPos=map.layerPointToLatLng(positions[i]);m=childMarkers[i];m._preSpiderfyLatlng=m._latlng;m.setLatLng(newPos);m.setZIndexOffset(1000000);L.FeatureGroup.prototype.addLayer.call(group,m);leg=new L.Polyline([this._latlng,newPos],{weight:1.5,color:'#222'});map.addLayer(leg);m._spiderLeg=leg;} -this.setOpacity(0.3);group.fire('spiderfied');},_animationUnspiderfy:function(){var group=this._group,map=group._map,childMarkers=this.getAllChildMarkers(),m,i;this.setOpacity(1);for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i];L.FeatureGroup.prototype.removeLayer.call(group,m);m.setLatLng(m._preSpiderfyLatlng);delete m._preSpiderfyLatlng;m.setZIndexOffset(0);map.removeLayer(m._spiderLeg);delete m._spiderLeg;}}}:{_animationSpiderfy:function(childMarkers,positions){var me=this,group=this._group,map=group._map,thisLayerPos=map.latLngToLayerPoint(this._latlng),i,m,leg,newPos;for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i];m.setZIndexOffset(1000000);m.setOpacity(0);L.FeatureGroup.prototype.addLayer.call(group,m);m._setPos(thisLayerPos);} -group._forceLayout();group._animationStart();var initialLegOpacity=L.Browser.svg?0:0.3,xmlns=L.Path.SVG_NS;for(i=childMarkers.length-1;i>=0;i--){newPos=map.layerPointToLatLng(positions[i]);m=childMarkers[i];m._preSpiderfyLatlng=m._latlng;m.setLatLng(newPos);m.setOpacity(1);leg=new L.Polyline([me._latlng,newPos],{weight:1.5,color:'#222',opacity:initialLegOpacity});map.addLayer(leg);m._spiderLeg=leg;if(!L.Browser.svg){continue;} -var length=leg._path.getTotalLength();leg._path.setAttribute("stroke-dasharray",length+","+length);var anim=document.createElementNS(xmlns,"animate");anim.setAttribute("attributeName","stroke-dashoffset");anim.setAttribute("begin","indefinite");anim.setAttribute("from",length);anim.setAttribute("to",0);anim.setAttribute("dur",0.25);leg._path.appendChild(anim);anim.beginElement();anim=document.createElementNS(xmlns,"animate");anim.setAttribute("attributeName","stroke-opacity");anim.setAttribute("attributeName","stroke-opacity");anim.setAttribute("begin","indefinite");anim.setAttribute("from",0);anim.setAttribute("to",0.5);anim.setAttribute("dur",0.25);leg._path.appendChild(anim);anim.beginElement();} -me.setOpacity(0.3);if(L.Browser.svg){this._group._forceLayout();for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i]._spiderLeg;m.options.opacity=0.5;m._path.setAttribute('stroke-opacity',0.5);}} -setTimeout(function(){group._animationEnd();group.fire('spiderfied');},250);},_animationUnspiderfy:function(zoomDetails){var group=this._group,map=group._map,thisLayerPos=zoomDetails?map._latLngToNewLayerPoint(this._latlng,zoomDetails.zoom,zoomDetails.center):map.latLngToLayerPoint(this._latlng),childMarkers=this.getAllChildMarkers(),svg=L.Browser.svg,m,i,a;group._animationStart();this.setOpacity(1);for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i];m.setLatLng(m._preSpiderfyLatlng);delete m._preSpiderfyLatlng;m._setPos(thisLayerPos);m.setOpacity(0);if(svg){a=m._spiderLeg._path.childNodes[0];a.setAttribute('to',a.getAttribute('from'));a.setAttribute('from',0);a.beginElement();a=m._spiderLeg._path.childNodes[1];a.setAttribute('from',0.5);a.setAttribute('to',0);a.setAttribute('stroke-opacity',0);a.beginElement();m._spiderLeg._path.setAttribute('stroke-opacity',0);}} -setTimeout(function(){var stillThereChildCount=0;for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i];if(m._spiderLeg){stillThereChildCount++;}} -for(i=childMarkers.length-1;i>=0;i--){m=childMarkers[i];if(!m._spiderLeg){continue;} -m.setOpacity(1);m.setZIndexOffset(0);if(stillThereChildCount>1){L.FeatureGroup.prototype.removeLayer.call(group,m);} -map.removeLayer(m._spiderLeg);delete m._spiderLeg;} -group._animationEnd();},250);}});L.MarkerClusterGroup.include({_spiderfied:null,_spiderfierOnAdd:function(){this._map.on('click',this._unspiderfyWrapper,this);if(this._map.options.zoomAnimation){this._map.on('zoomstart',this._unspiderfyZoomStart,this);}else{this._map.on('zoomend',this._unspiderfyWrapper,this);} -if(L.Browser.svg&&!L.Browser.touch){this._map._initPathRoot();}},_spiderfierOnRemove:function(){this._map.off('click',this._unspiderfyWrapper,this);this._map.off('zoomstart',this._unspiderfyZoomStart,this);this._map.off('zoomanim',this._unspiderfyZoomAnim,this);this._unspiderfy();},_unspiderfyZoomStart:function(){if(!this._map){return;} -this._map.on('zoomanim',this._unspiderfyZoomAnim,this);},_unspiderfyZoomAnim:function(zoomDetails){if(L.DomUtil.hasClass(this._map._mapPane,'leaflet-touching')){return;} -this._map.off('zoomanim',this._unspiderfyZoomAnim,this);this._unspiderfy(zoomDetails);},_unspiderfyWrapper:function(){this._unspiderfy();},_unspiderfy:function(zoomDetails){if(this._spiderfied){this._spiderfied.unspiderfy(zoomDetails);}},_unspiderfyLayer:function(layer){if(layer._spiderLeg){L.FeatureGroup.prototype.removeLayer.call(this,layer);layer.setOpacity(1);layer.setZIndexOffset(0);this._map.removeLayer(layer._spiderLeg);delete layer._spiderLeg;}}});}(this)); \ No newline at end of file diff --git a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.ie.min.css b/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.ie.min.css deleted file mode 100644 index bd1fae37a08..00000000000 --- a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.ie.min.css +++ /dev/null @@ -1 +0,0 @@ -.leaflet-tile{filter:inherit}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{display:inline}.leaflet-popup-tip{width:21px;_width:27px;margin:0 auto;_margin-top:-3px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"}.leaflet-popup-tip-container{margin-top:-1px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{border:1px solid #bbb}.leaflet-control-zoom{filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#3F000000',EndColorStr='#3F000000')}.leaflet-control-zoom a{background-color:#eee}.leaflet-control-zoom a:hover{background-color:#fff}.leaflet-control-layers-toggle{}.leaflet-control-attribution,.leaflet-control-layers{background:white} \ No newline at end of file diff --git a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.css b/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.css deleted file mode 100644 index 27d6306ce12..00000000000 --- a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.css +++ /dev/null @@ -1 +0,0 @@ -.leaflet-map-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-pane,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-overlay-pane svg,.leaflet-zoom-box,.leaflet-image-layer{position:absolute}.leaflet-container{overflow:hidden}.leaflet-tile-pane,.leaflet-container{-webkit-transform:translate3d(0,0,0)}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-moz-user-select:none;-webkit-user-select:none;user-select:none}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-clickable{cursor:pointer}.leaflet-container img{max-width:none!important}.leaflet-tile-pane{z-index:2}.leaflet-objects-pane{z-index:3}.leaflet-overlay-pane{z-index:4}.leaflet-shadow-pane{z-index:5}.leaflet-marker-pane{z-index:6}.leaflet-popup-pane{z-index:7}.leaflet-zoom-box{width:0;height:0}.leaflet-tile{visibility:hidden}.leaflet-tile-loaded{visibility:inherit}a.leaflet-active{outline:2px solid orange}.leaflet-control{position:relative;z-index:7}.leaflet-top,.leaflet-bottom{position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-control-zoom,.leaflet-control-layers{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}.leaflet-control-zoom{padding:5px;background:rgba(0,0,0,0.25)}.leaflet-control-zoom a{background-color:rgba(255,255,255,0.75)}.leaflet-control-zoom a,.leaflet-control-layers a{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-control-zoom a{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;width:19px;height:19px}.leaflet-control-zoom a:hover{background-color:#fff}.leaflet-big-buttons .leaflet-control-zoom a{width:27px;height:27px}.leaflet-control-zoom-in{background-image:url(images/zoom-in.png);margin-bottom:5px}.leaflet-control-zoom-out{background-image:url(images/zoom-out.png)}.leaflet-control-layers{-moz-box-shadow:0 0 7px #999;-webkit-box-shadow:0 0 7px #999;box-shadow:0 0 7px #999;background:#f8f8f9}.leaflet-control-layers a{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-big-buttons .leaflet-control-layers a{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;font:12px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif;color:#333;background:#fff}.leaflet-control-layers input{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-container .leaflet-control-attribution{margin:0;padding:0 5px;font:11px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif;color:#333;background-color:rgba(255,255,255,0.7);-moz-box-shadow:0 0 7px #ccc;-webkit-box-shadow:0 0 7px #ccc;box-shadow:0 0 7px #ccc}.leaflet-fade-anim .leaflet-tile{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;-o-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.leaflet-fade-anim .leaflet-tile-loaded{opacity:1}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;-o-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.leaflet-zoom-anim .leaflet-objects-pane{visibility:hidden}.leaflet-popup{position:absolute;text-align:center;-webkit-transform:translate3d(0,0,0)}.leaflet-popup-content-wrapper{padding:1px;text-align:left}.leaflet-popup-content{margin:19px}.leaflet-popup-tip-container{margin:0 auto;width:40px;height:16px;position:relative;overflow:hidden}.leaflet-popup-tip{width:15px;height:15px;padding:1px;margin:-8px auto 0;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-close-button{position:absolute;top:9px;right:9px;width:10px;height:10px;overflow:hidden}.leaflet-popup-content p{margin:18px 0}.leaflet-container{background:#ddd}.leaflet-container a{color:#0078A8}.leaflet-zoom-box{border:2px dotted #05f;background:white;opacity:0.5}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;box-shadow:0 1px 10px #888;-moz-box-shadow:0 1px 10px #888;-webkit-box-shadow:0 1px 14px #999}.leaflet-popup-content-wrapper{-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px}.leaflet-popup-content{font:12px/1.4 "Helvetica Neue",Arial,Helvetica,sans-serif}.leaflet-popup-close-button{background:white url(images/popup-close.png)} \ No newline at end of file diff --git a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.js b/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.js deleted file mode 100644 index 6a8e299edfd..00000000000 --- a/ckan/public/base/datapreview/vendor/leaflet/0.3.1/leaflet.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){a.L={VERSION:"0.3",ROOT_URL:a.L_ROOT_URL||function(){var a=document.getElementsByTagName("script"),b=/\/?leaflet[\-\._]?([\w\-\._]*)\.js\??/,c,d,e,f;for(c=0,d=a.length;c0},removeEventListener:function(a,b,c){if(!this.hasEventListeners(a))return this;for(var d=0,e=this._leaflet_events,f=e[a].length;d=this.min.x&&c.x<=this.max.x&&b.y>=this.min.y&&c.y<=this.max.y},intersects:function(a){var b=this.min,c=this.max,d=a.min,e=a.max,f=e.x>=b.x&&d.x<=c.x,g=e.y>=b.y&&d.y<=c.y;return f&&g}}),L.Transformation=L.Class.extend({initialize:function(a,b,c,d){this._a=a,this._b=b,this._c=c,this._d=d},transform:function(a,b){return this._transform(a.clone(),b)},_transform:function(a,b){return b=b||1,a.x=b*(this._a*a.x+this._b),a.y=b*(this._c*a.y+this._d),a},untransform:function(a,b){return b=b||1,new L.Point((a.x/b-this._b)/this._a,(a.y/b-this._d)/this._c)}}),L.DomUtil={get:function(a){return typeof a=="string"?document.getElementById(a):a},getStyle:function(a,b){var c=a.style[b];!c&&a.currentStyle&&(c=a.currentStyle[b]);if(!c||c==="auto"){var d=document.defaultView.getComputedStyle(a,null);c=d?d[b]:null}return c==="auto"?null:c},getViewportOffset:function(a){var b=0,c=0,d=a,e=document.body;do{b+=d.offsetTop||0,c+=d.offsetLeft||0;if(d.offsetParent===e&&L.DomUtil.getStyle(d,"position")==="absolute")break;d=d.offsetParent}while(d);d=a;do{if(d===e)break;b-=d.scrollTop||0,c-=d.scrollLeft||0,d=d.parentNode}while(d);return new L.Point(c,b)},create:function(a,b,c){var d=document.createElement(a);return d.className=b,c&&c.appendChild(d),d},disableTextSelection:function(){document.selection&&document.selection.empty&&document.selection.empty(),this._onselectstart||(this._onselectstart=document.onselectstart,document.onselectstart=L.Util.falseFn)},enableTextSelection:function(){document.onselectstart=this._onselectstart,this._onselectstart=null},hasClass:function(a,b){return a.className.length>0&&RegExp("(^|\\s)"+b+"(\\s|$)").test(a.className)},addClass:function(a,b){L.DomUtil.hasClass(a,b)||(a.className+=(a.className?" ":"")+b)},removeClass:function(a,b){a.className=a.className.replace(/(\S+)\s*/g,function(a,c){return c===b?"":a}).replace(/^\s+/,"")},setOpacity:function(a,b){L.Browser.ie?a.style.filter="alpha(opacity="+Math.round(b*100)+")":a.style.opacity=b},testProp:function(a){var b=document.documentElement.style;for(var c=0;c=b.lat&&e.lat<=c.lat&&d.lng>=b.lng&&e.lng<=c.lng},intersects:function(a){var b=this._southWest,c=this._northEast,d=a.getSouthWest(),e=a.getNorthEast(),f=e.lat>=b.lat&&d.lat<=c.lat,g=e.lng>=b.lng&&d.lng<=c.lng;return f&&g},toBBoxString:function(){var a=this._southWest,b=this._northEast;return[a.lng,a.lat,b.lng,b.lat].join(",")}}),L.Projection={},L.Projection.SphericalMercator={MAX_LATITUDE:85.0511287798,project:function(a){var b=L.LatLng.DEG_TO_RAD,c=this.MAX_LATITUDE,d=Math.max(Math.min(c,a.lat),-c),e=a.lng*b,f=d*b;return f=Math.log(Math.tan(Math.PI/4+f/2)),new L.Point(e,f)},unproject:function(a,b){var c=L.LatLng.RAD_TO_DEG,d=a.x*c,e=(2*Math.atan(Math.exp(a.y))-Math.PI/2)*c;return new L.LatLng(e,d,b)}},L.Projection.LonLat={project:function(a){return new L.Point(a.lng,a.lat)},unproject:function(a,b){return new L.LatLng(a.y,a.x,b)}},L.CRS={latLngToPoint:function(a,b){var c=this.projection.project(a);return this.transformation._transform(c,b)},pointToLatLng:function(a,b,c){var d=this.transformation.untransform(a,b);return this.projection.unproject(d,c)},project:function(a){return this.projection.project(a)}},L.CRS.EPSG3857=L.Util.extend({},L.CRS,{code:"EPSG:3857",projection:L.Projection.SphericalMercator,transformation:new L.Transformation(.5/Math.PI,.5,-0.5/Math.PI,.5),project:function(a){var b=this.projection.project(a),c=6378137;return b.multiplyBy(c)}}),L.CRS.EPSG900913=L.Util.extend({},L.CRS.EPSG3857,{code:"EPSG:900913"}),L.CRS.EPSG4326=L.Util.extend({},L.CRS,{code:"EPSG:4326",projection:L.Projection.LonLat,transformation:new L.Transformation(1/360,.5,-1/360,.5)}),L.Map=L.Class.extend({includes:L.Mixin.Events,options:{crs:L.CRS.EPSG3857||L.CRS.EPSG4326,scale:function(a){return 256*Math.pow(2,a)},center:null,zoom:null,layers:[],dragging:!0,touchZoom:L.Browser.touch&&!L.Browser.android,scrollWheelZoom:!L.Browser.touch,doubleClickZoom:!0,boxZoom:!0,zoomControl:!0,attributionControl:!0,fadeAnimation:L.DomUtil.TRANSITION&&!L.Browser.android,zoomAnimation:L.DomUtil.TRANSITION&&!L.Browser.android&&!L.Browser.mobileOpera,trackResize:!0,closePopupOnClick:!0,worldCopyJump:!0},initialize:function(a,b){L.Util.setOptions(this,b),this._container=L.DomUtil.get(a);if(this._container._leaflet)throw Error("Map container is already initialized.");this._container._leaflet=!0,this._initLayout(),L.DomEvent&&(this._initEvents(),L.Handler&&this._initInteraction(),L.Control&&this._initControls()),this.options.maxBounds&&this.setMaxBounds(this.options.maxBounds);var c=this.options.center,d=this.options.zoom;c!==null&&d!==null&&this.setView(c,d,!0);var e=this.options.layers;e=e instanceof Array?e:[e],this._tileLayersNum=0,this._initLayers(e)},setView:function(a,b){return this._resetView(a,this._limitZoom(b)),this},setZoom:function(a){return this.setView(this.getCenter(),a)},zoomIn:function(){return this.setZoom(this._zoom+1)},zoomOut:function(){return this.setZoom(this._zoom-1)},fitBounds:function(a){var b=this.getBoundsZoom(a);return this.setView(a.getCenter(),b)},fitWorld:function(){var a=new L.LatLng(-60,-170),b=new L.LatLng(85,179);return this.fitBounds(new L.LatLngBounds(a,b))},panTo:function(a){return this.setView(a,this._zoom)},panBy:function(a){return this.fire("movestart"),this._rawPanBy(a),this.fire("move"),this.fire("moveend"),this},setMaxBounds:function(a){this.options.maxBounds=a;if(!a)return this._boundsMinZoom=null,this;var b=this.getBoundsZoom(a,!0);return this._boundsMinZoom=b,this._loaded&&(this._zoomf.x&&(g=f.x-d.x),c.y>e.y&&(h=e.y-c.y),c.xl&&--m>0)o=h*Math.sin(j),n=Math.PI/2-2*Math.atan(i*Math.pow((1-o)/(1+o),.5*h))-j,j+=n;return new L.LatLng(j*c,f,b)}},L.CRS.EPSG3395=L.Util.extend({},L.CRS,{code:"EPSG:3395",projection:L.Projection.Mercator,transformation:function(){var a=L.Projection.Mercator,b=a.R_MAJOR,c=a.R_MINOR;return new L.Transformation(.5/(Math.PI*b),.5,-0.5/(Math.PI*c),.5)}()}),L.TileLayer=L.Class.extend({includes:L.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",opacity:1,scheme:"xyz",continuousWorld:!1,noWrap:!1,zoomOffset:0,zoomReverse:!1,unloadInvisibleTiles:L.Browser.mobile,updateWhenIdle:L.Browser.mobile,reuseTiles:!1},initialize:function(a,b,c){L.Util.setOptions(this,b),this._url=a,this._urlParams=c,typeof this.options.subdomains=="string"&&(this.options.subdomains=this.options.subdomains.split(""))},onAdd:function(a,b){this._map=a,this._insertAtTheBottom=b,this._initContainer(),this._createTileProto(),a.on("viewreset",this._resetCallback,this),this.options.updateWhenIdle?a.on("moveend",this._update,this):(this._limitedUpdate=L.Util.limitExecByInterval(this._update,150,this),a.on("move",this._limitedUpdate,this)),this._reset(),this._update()},onRemove:function(a){this._map.getPanes().tilePane.removeChild(this._container),this._container=null,this._map.off("viewreset",this._resetCallback,this),this.options.updateWhenIdle?this._map.off("moveend",this._update,this):this._map.off("move",this._limitedUpdate,this)},getAttribution:function(){return this.options.attribution},setOpacity:function(a){this.options.opacity=a,this._setOpacity(a);if(L.Browser.webkit)for(var b in this._tiles)this._tiles.hasOwnProperty(b)&&(this._tiles[b].style.webkitTransform+=" translate(0,0)")},_setOpacity:function(a){a<1&&L.DomUtil.setOpacity(this._container,a)},_initContainer:function(){var a=this._map.getPanes().tilePane,b=a.firstChild;if(!this._container||a.empty)this._container=L.DomUtil.create("div","leaflet-layer"),this._insertAtTheBottom&&b?a.insertBefore(this._container,b):a.appendChild(this._container),this._setOpacity(this.options.opacity)},_resetCallback:function(a){this._reset(a.hard)},_reset:function(a){var b;for(b in this._tiles)this._tiles.hasOwnProperty(b)&&this.fire("tileunload",{tile:this._tiles[b]});this._tiles={},this.options.reuseTiles&&(this._unusedTiles=[]),a&&this._container&&(this._container.innerHTML=""),this._initContainer()},_update:function(){var a=this._map.getPixelBounds(),b=this._map.getZoom(),c=this.options.tileSize;if(b>this.options.maxZoom||ba.max.x||da.max.y)f=this._tiles[e],this.fire("tileunload",{tile:f,url:f.src}),f.parentNode===this._container&&this._container.removeChild(f),this.options.reuseTiles&&this._unusedTiles.push(this._tiles[e]),f.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",delete this._tiles[e]}},_addTile:function(a,b){var c=this._getTilePos(a),d=this._map.getZoom(),e=a.x+":"+a.y,f=Math.pow(2,this._getOffsetZoom(d));if(!this.options.continuousWorld){if(!this.options.noWrap)a.x=(a.x%f+f)%f;else if(a.x<0||a.x>=f){this._tilesToLoad--;return}if(a.y<0||a.y>=f){this._tilesToLoad--;return}}var g=this._getTile();L.DomUtil.setPosition(g,c),this._tiles[e]=g,this.options.scheme==="tms"&&(a.y=f-a.y-1),this._loadTile(g,a,d),b.appendChild(g)},_getOffsetZoom:function(a){return a=this.options.zoomReverse?this.options.maxZoom-a:a,a+this.options.zoomOffset},_getTilePos:function(a){var b=this._map.getPixelOrigin(),c=this.options.tileSize;return a.multiplyBy(c).subtract(b)},getTileUrl:function(a,b){var c=this.options.subdomains,d=this.options.subdomains[(a.x+a.y)%c.length];return L.Util.template(this._url,L.Util.extend({s:d,z:this._getOffsetZoom(b),x:a.x,y:a.y},this._urlParams))},_createTileProto:function(){this._tileImg=L.DomUtil.create("img","leaflet-tile"),this._tileImg.galleryimg="no";var a=this.options.tileSize;this._tileImg.style.width=a+"px",this._tileImg.style.height=a+"px"},_getTile:function(){if(this.options.reuseTiles&&this._unusedTiles.length>0){var a=this._unusedTiles.pop();return this._resetTile(a),a}return this._createTile()},_resetTile:function(a){},_createTile:function(){var a=this._tileImg.cloneNode(!1);return a.onselectstart=a.onmousemove=L.Util.falseFn,a},_loadTile:function(a,b,c){a._layer=this,a.onload=this._tileOnLoad,a.onerror=this._tileOnError,a.src=this.getTileUrl(b,c)},_tileOnLoad:function(a){var b=this._layer;this.className+=" leaflet-tile-loaded",b.fire("tileload",{tile:this,url:this.src}),b._tilesToLoad--,b._tilesToLoad||b.fire("load")},_tileOnError:function(a){var b=this._layer;b.fire("tileerror",{tile:this,url:this.src});var c=b.options.errorTileUrl;c&&(this.src=c)}}),L.TileLayer.WMS=L.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",version:"1.1.1",layers:"",styles:"",format:"image/jpeg",transparent:!1},initialize:function(a,b){this._url=a,this.wmsParams=L.Util.extend({},this.defaultWmsParams),this.wmsParams.width=this.wmsParams.height=this.options.tileSize;for(var c in b)this.options.hasOwnProperty(c)||(this.wmsParams[c]=b[c]);L.Util.setOptions(this,b)},onAdd:function(a){var b=parseFloat(this.wmsParams.version)<1.3?"srs":"crs";this.wmsParams[b]=a.options.crs.code,L.TileLayer.prototype.onAdd.call(this,a)},getTileUrl:function(a,b){var c=this.options.tileSize,d=a.multiplyBy(c),e=d.add(new L.Point(c,c)),f=this._map.unproject(d,this._zoom,!0),g=this._map.unproject(e,this._zoom,!0),h=this._map.options.crs.project(f),i=this._map.options.crs.project(g),j=[h.x,i.y,i.x,h.y].join(",");return this._url+L.Util.getParamString(this.wmsParams)+"&bbox="+j}}),L.TileLayer.Canvas=L.TileLayer.extend({options:{async:!1},initialize:function(a){L.Util.setOptions(this,a)},redraw:function(){for(var a in this._tiles){var b=this._tiles[a];this._redrawTile(b)}},_redrawTile:function(a){this.drawTile(a,a._tilePoint,a._zoom)},_createTileProto:function(){this._canvasProto=L.DomUtil.create("canvas","leaflet-tile");var a=this.options.tileSize;this._canvasProto.width=a,this._canvasProto.height=a},_createTile:function(){var a=this._canvasProto.cloneNode(!1);return a.onselectstart=a.onmousemove=L.Util.falseFn,a},_loadTile:function(a,b,c){a._layer=this,a._tilePoint=b,a._zoom=c,this.drawTile(a,b,c),this.options.async||this.tileDrawn(a)},drawTile:function(a,b,c){},tileDrawn:function(a){this._tileOnLoad.call(a)}}),L.ImageOverlay=L.Class.extend({includes:L.Mixin.Events,initialize:function(a,b){this._url=a,this._bounds=b},onAdd:function(a){this._map=a,this._image||this._initImage(),a.getPanes().overlayPane.appendChild(this._image),a.on("viewreset",this._reset,this),this._reset()},onRemove:function(a){a.getPanes().overlayPane.removeChild(this._image),a.off("viewreset",this._reset,this)},_initImage:function(){this._image=L.DomUtil.create("img","leaflet-image-layer"),this._image.style.visibility="hidden",L.Util.extend(this._image,{galleryimg:"no",onselectstart:L.Util.falseFn,onmousemove:L.Util.falseFn,onload:L.Util.bind(this._onImageLoad,this),src:this._url})},_reset:function(){var a=this._map.latLngToLayerPoint(this._bounds.getNorthWest()),b=this._map.latLngToLayerPoint(this._bounds.getSouthEast()),c=b.subtract(a);L.DomUtil.setPosition(this._image,a),this._image.style.width=c.x+"px",this._image.style.height=c.y+"px"},_onImageLoad:function(){this._image.style.visibility="",this.fire("load")}}),L.Icon=L.Class.extend({iconUrl:L.ROOT_URL+"images/marker.png",shadowUrl:L.ROOT_URL+"images/marker-shadow.png",iconSize:new L.Point(25,41),shadowSize:new L.Point(41,41),iconAnchor:new L.Point(13,41),popupAnchor:new L.Point(0,-33),initialize:function(a){a&&(this.iconUrl=a)},createIcon:function(){return this._createIcon("icon")},createShadow:function(){return this._createIcon("shadow")},_createIcon:function(a){var b=this[a+"Size"],c=this[a+"Url"];if(!c&&a==="shadow")return null;var d;return c?d=this._createImg(c):d=this._createDiv(),d.className="leaflet-marker-"+a,d.style.marginLeft=-this.iconAnchor.x+"px",d.style.marginTop=-this.iconAnchor.y+"px",b&&(d.style.width=b.x+"px",d.style.height=b.y+"px"),d},_createImg:function(a){var b;return L.Browser.ie6?(b=document.createElement("div"),b.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+a+'")'):(b=document.createElement("img"),b.src=a),b},_createDiv:function(){return document.createElement("div")}}),L.Marker=L.Class.extend({includes:L.Mixin.Events,options:{icon:new L.Icon,title:"",clickable:!0,draggable:!1,zIndexOffset:0},initialize:function(a,b){L.Util.setOptions(this,b),this._latlng=a},onAdd:function(a){this._map=a,this._initIcon(),a.on("viewreset",this._reset,this),this._reset()},onRemove:function(a){this._removeIcon(),this.closePopup&&this.closePopup(),this._map=null,a.off("viewreset",this._reset,this)},getLatLng:function(){return this._latlng},setLatLng:function(a){this._latlng=a,this._icon&&(this._reset(),this._popup&&this._popup.setLatLng(this._latlng))},setZIndexOffset:function(a){this.options.zIndexOffset=a,this._icon&&this._reset()},setIcon:function(a){this._map&&this._removeIcon(),this.options.icon=a,this._map&&(this._initIcon(),this._reset())},_initIcon:function(){this._icon||(this._icon=this.options.icon.createIcon(),this.options.title&&(this._icon.title=this.options.title),this._initInteraction()),this._shadow||(this._shadow=this.options.icon.createShadow()),this._map._panes.markerPane.appendChild(this._icon),this._shadow&&this._map._panes.shadowPane.appendChild(this._shadow)},_removeIcon:function(){this._map._panes.markerPane.removeChild(this._icon),this._shadow&&this._map._panes.shadowPane.removeChild(this._shadow),this._icon=this._shadow=null},_reset:function(){var a=this._map.latLngToLayerPoint(this._latlng).round();L.DomUtil.setPosition(this._icon,a),this._shadow&&L.DomUtil.setPosition(this._shadow,a),this._icon.style.zIndex=a.y+this.options.zIndexOffset},_initInteraction:function(){if(this.options.clickable){this._icon.className+=" leaflet-clickable",L.DomEvent.addListener(this._icon,"click",this._onMouseClick,this);var a=["dblclick","mousedown","mouseover","mouseout"];for(var b=0;bthis.options.maxWidth?this.options.maxWidth:af.x&&(d.x=c.x+this._containerWidth-f.x+e.x),c.y<0&&(d.y=c.y-e.y),c.y+a>f.y&&(d.y=c.y+a-f.y+e.y),(d.x||d.y)&&this._map.panBy(d)},_onCloseButtonClick:function(a){this._close(),L.DomEvent.stop(a)}}),L.Marker.include({openPopup:function(){return this._popup.setLatLng(this._latlng),this._map&&this._map.openPopup(this._popup),this},closePopup:function(){return this._popup&&this._popup._close(),this},bindPopup:function(a,b){return b=L.Util.extend({offset:this.options.icon.popupAnchor},b),this._popup||this.on("click",this.openPopup,this),this._popup=new L.Popup(b,this),this._popup.setContent(a),this},unbindPopup:function(){return this._popup&&(this._popup=null,this.off("click",this.openPopup)),this}}),L.Map.include({openPopup:function(a){return this.closePopup(),this._popup=a,this.addLayer(a),this.fire("popupopen",{popup:this._popup}),this},closePopup:function(){return this._popup&&(this.removeLayer(this._popup),this.fire("popupclose",{popup:this._popup}),this._popup=null),this}}),L.LayerGroup=L.Class.extend({initialize:function(a){this._layers={};if(a)for(var b=0,c=a.length;b')}}catch(a){return function(a){return document.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}()},_initPath:function(){this._container=L.Path._createElement("shape"),this._container.className+=" leaflet-vml-shape"+(this.options.clickable?" leaflet-clickable":""),this._container.coordsize="1 1",this._path=L.Path._createElement("path"),this._container.appendChild(this._path),this._map._pathRoot.appendChild(this._container)},_initStyle:function(){this.options.stroke?(this._stroke=L.Path._createElement("stroke"),this._stroke.endcap="round",this._container.appendChild(this._stroke)):this._container.stroked=!1,this.options.fill?(this._container.filled=!0,this._fill=L.Path._createElement("fill"),this._container.appendChild(this._fill)):this._container.filled=!1,this._updateStyle()},_updateStyle:function(){this.options.stroke&&(this._stroke.weight=this.options.weight+"px",this._stroke.color=this.options.color,this._stroke.opacity=this.options.opacity),this.options.fill&&(this._fill.color=this.options.fillColor||this.options.color,this._fill.opacity=this.options.fillOpacity)},_updatePath:function(){this._container.style.display="none",this._path.v=this.getPathString()+" ",this._container.style.display=""}}),L.Map.include(L.Browser.svg||!L.Browser.vml?{}:{_initPathRoot:function(){this._pathRoot||(this._pathRoot=document.createElement("div"),this._pathRoot.className="leaflet-vml-container",this._panes.overlayPane.appendChild(this._pathRoot),this.on("moveend",this._updatePathViewport),this._updatePathViewport())}}),L.Browser.canvas=function(){return!!document.createElement("canvas").getContext}(),L.Path=L.Path.SVG&&!window.L_PREFER_CANVAS||!L.Browser.canvas?L.Path:L.Path.extend({statics:{CANVAS:!0,SVG:!1},options:{updateOnMoveEnd:!0},_initElements:function(){this._map._initPathRoot(),this._ctx=this._map._canvasCtx},_updateStyle:function(){this.options.stroke&&(this._ctx.lineWidth=this.options.weight,this._ctx.strokeStyle=this.options.color),this.options.fill&&(this._ctx.fillStyle=this.options.fillColor||this.options.color)},_drawPath:function(){var a,b,c,d,e,f;this._ctx.beginPath();for(a=0,c=this._parts.length;af&&(g=h,f=i);f>c&&(b[g]=1,this._simplifyDPStep(a,b,c,d,g),this._simplifyDPStep(a,b,c,g,e))},_reducePoints:function(a,b){var c=[a[0]];for(var d=1,e=0,f=a.length;db&&(c.push(a[d]),e=d);return eb.max.x&&(c|=2),a.yb.max.y&&(c|=8),c},_sqDist:function(a,b){var c=b.x-a.x,d=b.y-a.y;return c*c+d*d},_sqClosestPointOnSegment:function(a,b,c,d){var e=b.x,f=b.y,g=c.x-e,h=c.y-f,i=g*g+h*h,j;return i>0&&(j=((a.x-e)*g+(a.y-f)*h)/i,j>1?(e=c.x,f=c.y):j>0&&(e+=g*j,f+=h*j)),g=a.x-e,h=a.y-f,d?g*g+h*h:new L.Point(e,f)}},L.Polyline=L.Path.extend({initialize:function(a,b){L.Path.prototype.initialize.call(this,b),this._latlngs=a},options:{smoothFactor:1,noClip:!1,updateOnMoveEnd:!0},projectLatlngs:function(){this._originalPoints=[];for(var a=0,b=this._latlngs.length;aa.max.x||c.y-b>a.max.y||c.x+ba.y!=e.y>a.y&&a.x<(e.x-d.x)*(a.y-d.y)/(e.y-d.y)+d.x&&(b=!b)}return b}}:{}),L.Circle.include(L.Path.CANVAS?{_drawPath:function(){var a=this._point;this._ctx.beginPath(),this._ctx.arc(a.x,a.y,this._radius,0,Math.PI*2)},_containsPoint:function(a){var b=this._point,c=this.options.stroke?this.options.weight/2:0;return a.distanceTo(b)<=this._radius+c}}:{}),L.GeoJSON=L.FeatureGroup.extend({initialize:function(a,b){L.Util.setOptions(this,b),this._geojson=a,this._layers={},a&&this.addGeoJSON(a)},addGeoJSON:function(a){if(a.features){for(var b=0,c=a.features.length;b1)return;var b=a.touches&&a.touches.length===1?a.touches[0]:a,c=b.target;L.DomEvent.preventDefault(a),L.Browser.touch&&c.tagName.toLowerCase()==="a"&&(c.className+=" leaflet-active"),this._moved=!1;if(this._moving)return;L.Browser.touch||(L.DomUtil.disableTextSelection(),this._setMovingCursor()),this._startPos=this._newPos=L.DomUtil.getPosition(this._element),this._startPoint=new L.Point(b.clientX,b.clientY),L.DomEvent.addListener(document,L.Draggable.MOVE,this._onMove,this),L.DomEvent.addListener(document,L.Draggable.END,this._onUp,this)},_onMove:function(a){if(a.touches&&a.touches.length>1)return;L.DomEvent.preventDefault(a);var b=a.touches&&a.touches.length===1?a.touches[0]:a;this._moved||(this.fire("dragstart"),this._moved=!0),this._moving=!0;var c=new L.Point(b.clientX,b.clientY);this._newPos=this._startPos.add(c).subtract(this._startPoint),L.Util.requestAnimFrame(this._updatePosition,this,!0,this._dragStartTarget)},_updatePosition:function(){this.fire("predrag"),L.DomUtil.setPosition(this._element,this._newPos),this.fire("drag")},_onUp:function(a){if(a.changedTouches){var b=a.changedTouches[0],c=b.target,d=this._newPos&&this._newPos.distanceTo(this._startPos)||0;c.tagName.toLowerCase()==="a"&&(c.className=c.className.replace(" leaflet-active","")),d0&&c<=f,d=b}function l(a){e&&(g.type="dblclick",b(g),d=null)}var d,e=!1,f=250,g,h="_leaflet_",i="touchstart",j="touchend";a[h+i+c]=k,a[h+j+c]=l,a.addEventListener(i,k,!1),a.addEventListener(j,l,!1)},removeDoubleTapListener:function(a,b){var c="_leaflet_";a.removeEventListener(a,a[c+"touchstart"+b],!1),a.removeEventListener(a,a[c+"touchend"+b],!1)}}),L.Map.TouchZoom=L.Handler.extend({addHooks:function(){L.DomEvent.addListener(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){L.DomEvent.removeListener(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(a){if(!a.touches||a.touches.length!==2||this._map._animatingZoom)return;var b=this._map.mouseEventToLayerPoint(a.touches[0]),c=this._map.mouseEventToLayerPoint(a.touches[1]),d=this._map.containerPointToLayerPoint(this._map.getSize().divideBy(2));this._startCenter=b.add(c).divideBy(2,!0),this._startDist=b.distanceTo(c),this._moved=!1,this._zooming=!0,this._centerOffset=d.subtract(this._startCenter),L.DomEvent.addListener(document,"touchmove",this._onTouchMove,this),L.DomEvent.addListener(document,"touchend",this._onTouchEnd,this),L.DomEvent.preventDefault(a)},_onTouchMove:function(a){if(!a.touches||a.touches.length!==2)return;this._moved||(this._map._mapPane.className+=" leaflet-zoom-anim",this._map.fire("zoomstart").fire("movestart")._prepareTileBg(),this._moved=!0);var b=this._map.mouseEventToLayerPoint(a.touches[0]),c=this._map.mouseEventToLayerPoint(a.touches[1]);this._scale=b.distanceTo(c)/this._startDist,this._delta=b.add(c).divideBy(2,!0).subtract(this._startCenter),this._map._tileBg.style.webkitTransform=[L.DomUtil.getTranslateString(this._delta),L.DomUtil.getScaleString(this._scale,this._startCenter)].join(" "),L.DomEvent.preventDefault(a)},_onTouchEnd:function(a){if(!this._moved||!this._zooming)return;this._zooming=!1;var b=this._map.getZoom(),c=Math.log(this._scale)/Math.LN2,d=c>0?Math.ceil(c):Math.floor(c),e=this._map._limitZoom(b+d),f=e-b,g=this._centerOffset.subtract(this._delta).divideBy(this._scale),h=this._map.getPixelOrigin().add(this._startCenter).add(g),i=this._map.unproject(h);L.DomEvent.removeListener(document,"touchmove",this._onTouchMove),L.DomEvent.removeListener(document,"touchend",this._onTouchEnd);var j=Math.pow(2,f);this._map._runAnimation(i,e,j/this._scale,this._startCenter.add(g))}}),L.Map.BoxZoom=L.Handler.extend({initialize:function(a){this._map=a,this._container=a._container,this._pane=a._panes.overlayPane},addHooks:function(){L.DomEvent.addListener(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){L.DomEvent.removeListener(this._container,"mousedown",this._onMouseDown)},_onMouseDown:function(a){if(!a.shiftKey||a.which!==1&&a.button!==1)return!1;L.DomUtil.disableTextSelection(),this._startLayerPoint=this._map.mouseEventToLayerPoint(a),this._box=L.DomUtil.create("div","leaflet-zoom-box",this._pane),L.DomUtil.setPosition(this._box,this._startLayerPoint),this._container.style.cursor="crosshair",L.DomEvent.addListener(document,"mousemove",this._onMouseMove,this),L.DomEvent.addListener(document,"mouseup",this._onMouseUp,this),L.DomEvent.preventDefault(a)},_onMouseMove:function(a){var b=this._map.mouseEventToLayerPoint(a),c=b.x-this._startLayerPoint.x,d=b.y-this._startLayerPoint.y,e=Math.min(b.x,this._startLayerPoint.x),f=Math.min(b.y,this._startLayerPoint.y),g=new L.Point(e,f);L.DomUtil.setPosition(this._box,g),this._box.style.width=Math.abs(c)-4+"px",this._box.style.height=Math.abs(d)-4+"px"},_onMouseUp:function(a){this._pane.removeChild(this._box),this._container.style.cursor="",L.DomUtil.enableTextSelection(),L.DomEvent.removeListener(document,"mousemove",this._onMouseMove),L.DomEvent.removeListener(document,"mouseup",this._onMouseUp);var b=this._map.mouseEventToLayerPoint(a),c=new L.LatLngBounds(this._map.layerPointToLatLng(this._startLayerPoint),this._map.layerPointToLatLng(b));this._map.fitBounds(c)}}),L.Handler.MarkerDrag=L.Handler.extend({initialize:function(a){this._marker=a},addHooks:function(){var a=this._marker._icon;this._draggable||(this._draggable=new L.Draggable(a,a),this._draggable.on("dragstart",this._onDragStart,this).on("drag",this._onDrag,this).on("dragend",this._onDragEnd,this)),this._draggable.enable()},removeHooks:function(){this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(a){this._marker.closePopup().fire("movestart").fire("dragstart")},_onDrag:function(a){var b=L.DomUtil.getPosition(this._marker._icon);this._marker._shadow&&L.DomUtil.setPosition(this._marker._shadow,b),this._marker._latlng=this._marker._map.layerPointToLatLng(b),this._marker.fire("move").fire("drag")},_onDragEnd:function(){this._marker.fire("moveend").fire("dragend")}}),L.Control={},L.Control.Position={TOP_LEFT:"topLeft",TOP_RIGHT:"topRight",BOTTOM_LEFT:"bottomLeft",BOTTOM_RIGHT:"bottomRight"},L.Map.include({addControl:function(a){a.onAdd(this);var b=a.getPosition(),c=this._controlCorners[b],d=a.getContainer();return L.DomUtil.addClass(d,"leaflet-control"),b.indexOf("bottom")!==-1?c.insertBefore(d,c.firstChild):c.appendChild(d),this},removeControl:function(a){var b=a.getPosition(),c=this._controlCorners[b],d=a.getContainer();return c.removeChild(d),a.onRemove&&a.onRemove(this),this},_initControlPos:function(){var a=this._controlCorners={},b="leaflet-",c=b+"top",d=b+"bottom",e=b+"left",f=b+"right",g=L.DomUtil.create("div",b+"control-container",this._container);L.Browser.touch&&(g.className+=" "+b+"big-buttons"),a.topLeft=L.DomUtil.create("div",c+" "+e,g),a.topRight=L.DomUtil.create("div",c+" "+f,g),a.bottomLeft=L.DomUtil.create("div",d+" "+e,g),a.bottomRight=L.DomUtil.create("div",d+" "+f,g)}}),L.Control.Zoom=L.Class.extend({onAdd:function(a){this._map=a,this._container=L.DomUtil.create("div","leaflet-control-zoom"),this._zoomInButton=this._createButton("Zoom in","leaflet-control-zoom-in",this._map.zoomIn,this._map),this._zoomOutButton=this._createButton("Zoom out","leaflet-control-zoom-out",this._map.zoomOut,this._map),this._container.appendChild(this._zoomInButton),this._container.appendChild(this._zoomOutButton)},getContainer:function(){return this._container},getPosition:function(){return L.Control.Position.TOP_LEFT},_createButton:function(a,b,c,d){var e=document.createElement("a");return e.href="#",e.title=a,e.className=b,L.Browser.touch||L.DomEvent.disableClickPropagation(e),L.DomEvent.addListener(e,"click",L.DomEvent.preventDefault),L.DomEvent.addListener(e,"click",c,d),e}}),L.Control.Attribution=L.Class.extend({initialize:function(a){this._prefix=a||'Powered by Leaflet',this._attributions={}},onAdd:function(a){this._container=L.DomUtil.create("div","leaflet-control-attribution"),L.DomEvent.disableClickPropagation(this._container),this._map=a,this._update()},getPosition:function(){return L.Control.Position.BOTTOM_RIGHT},getContainer:function(){return this._container},setPrefix:function(a){this._prefix=a,this._update()},addAttribution:function(a){if(!a)return;this._attributions[a]||(this._attributions[a]=0),this._attributions[a]++,this._update()},removeAttribution:function(a){if(!a)return;this._attributions[a]--,this._update()},_update:function(){if(!this._map)return;var a=[];for(var b in this._attributions)this._attributions.hasOwnProperty(b)&&a.push(b);var c=[];this._prefix&&c.push(this._prefix),a.length&&c.push(a.join(", ")),this._container.innerHTML=c.join(" — ")}}),L.Control.Layers=L.Class.extend({options:{collapsed:!0},initialize:function(a,b,c){L.Util.setOptions(this,c),this._layers={};for(var d in a)a.hasOwnProperty(d)&&this._addLayer(a[d],d);for(d in b)b.hasOwnProperty(d)&&this._addLayer(b[d],d,!0)},onAdd:function(a){this._map=a,this._initLayout(),this._update()},getContainer:function(){return this._container},getPosition:function(){return L.Control.Position.TOP_RIGHT},addBaseLayer:function(a,b){return this._addLayer(a,b),this._update(),this},addOverlay:function(a,b){return this._addLayer(a,b,!0),this._update(),this},removeLayer:function(a){var b=L.Util.stamp(a);return delete this._layers[b],this._update(),this},_initLayout:function(){this._container=L.DomUtil.create("div","leaflet-control-layers"),L.Browser.touch||L.DomEvent.disableClickPropagation(this._container),this._form=L.DomUtil.create("form","leaflet-control-layers-list");if(this.options.collapsed){L.DomEvent.addListener(this._container,"mouseover",this._expand,this),L.DomEvent.addListener(this._container,"mouseout",this._collapse,this);var a=this._layersLink=L.DomUtil.create("a","leaflet-control-layers-toggle");a.href="#",a.title="Layers",L.Browser.touch?L.DomEvent.addListener(a,"click",this._expand,this):L.DomEvent.addListener(a,"focus",this._expand,this),this._map.on("movestart",this._collapse,this),this._container.appendChild(a)}else this._expand();this._baseLayersList=L.DomUtil.create("div","leaflet-control-layers-base",this._form),this._separator=L.DomUtil.create("div","leaflet-control-layers-separator",this._form),this._overlaysList=L.DomUtil.create("div","leaflet-control-layers-overlays",this._form),this._container.appendChild(this._form)},_addLayer:function(a,b,c){var d=L.Util.stamp(a);this._layers[d]={layer:a,name:b,overlay:c}},_update:function(){if(!this._container)return;this._baseLayersList.innerHTML="",this._overlaysList.innerHTML="";var a=!1,b=!1;for(var c in this._layers)if(this._layers.hasOwnProperty(c)){var d=this._layers[c];this._addItem(d),b=b||d.overlay,a=a||!d.overlay}this._separator.style.display=b&&a?"":"none"},_addItem:function(a,b){var c=document.createElement("label"),d=document.createElement("input");a.overlay||(d.name="leaflet-base-layers"),d.type=a.overlay?"checkbox":"radio",d.checked=this._map.hasLayer(a.layer),d.layerId=L.Util.stamp(a.layer),L.DomEvent.addListener(d,"click",this._onInputClick,this);var e=document.createTextNode(" "+a.name);c.appendChild(d),c.appendChild(e);var f=a.overlay?this._overlaysList:this._baseLayersList;f.appendChild(c)},_onInputClick:function(){var a,b,c,d=this._form.getElementsByTagName("input"),e=d.length;for(a=0;a2?Array.prototype.slice.call(arguments,2):null;return function(){return fn.apply(obj,args||arguments);};},stamp:(function(){var lastId=0,key='_leaflet_id';return function(obj){obj[key]=obj[key]||++lastId;return obj[key];};}()),limitExecByInterval:function(fn,time,context){var lock,execOnUnlock;return function wrapperFn(){var args=arguments;if(lock){execOnUnlock=true;return;} -lock=true;setTimeout(function(){lock=false;if(execOnUnlock){wrapperFn.apply(context,args);execOnUnlock=false;}},time);fn.apply(context,args);};},falseFn:function(){return false;},formatNum:function(num,digits){var pow=Math.pow(10,digits||5);return Math.round(num*pow)/pow;},splitWords:function(str){return str.replace(/^\s+|\s+$/g,'').split(/\s+/);},setOptions:function(obj,options){obj.options=L.Util.extend({},obj.options,options);return obj.options;},getParamString:function(obj){var params=[];for(var i in obj){if(obj.hasOwnProperty(i)){params.push(i+'='+obj[i]);}} -return'?'+params.join('&');},template:function(str,data){return str.replace(/\{ *([\w_]+) *\}/g,function(str,key){var value=data[key];if(!data.hasOwnProperty(key)){throw new Error('No value provided for variable '+str);} -return value;});},emptyImageUrl:'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='};(function(){function getPrefixed(name){var i,fn,prefixes=['webkit','moz','o','ms'];for(i=0;i0);},removeEventListener:function(types,fn,context){var events=this[key],type,i,len,listeners,j;if(typeof types==='object'){for(type in types){if(types.hasOwnProperty(type)){this.removeEventListener(type,types[type],fn);}} -return this;} -types=L.Util.splitWords(types);for(i=0,len=types.length;i=0;j--){if((!fn||listeners[j].action===fn)&&(!context||(listeners[j].context===context))){listeners.splice(j,1);}}}} -return this;},fireEvent:function(type,data){if(!this.hasEventListeners(type)){return this;} -var event=L.Util.extend({type:type,target:this},data);var listeners=this[key][type].slice();for(var i=0,len=listeners.length;i1)||('matchMedia'in window&&window.matchMedia("(min-resolution:144dpi)").matches));L.Browser={ua:ua,ie:ie,ie6:ie6,webkit:webkit,gecko:gecko,opera:opera,android:android,android23:android23,chrome:chrome,ie3d:ie3d,webkit3d:webkit3d,gecko3d:gecko3d,opera3d:opera3d,any3d:!window.L_DISABLE_3D&&(ie3d||webkit3d||gecko3d||opera3d),mobile:mobile,mobileWebkit:mobile&&webkit,mobileWebkit3d:mobile&&webkit3d,mobileOpera:mobile&&opera,touch:touch,retina:retina};}());L.Point=function(x,y,round){this.x=(round?Math.round(x):x);this.y=(round?Math.round(y):y);};L.Point.prototype={add:function(point){return this.clone()._add(L.point(point));},_add:function(point){this.x+=point.x;this.y+=point.y;return this;},subtract:function(point){return this.clone()._subtract(L.point(point));},_subtract:function(point){this.x-=point.x;this.y-=point.y;return this;},divideBy:function(num,round){return new L.Point(this.x/num,this.y/num,round);},multiplyBy:function(num,round){return new L.Point(this.x*num,this.y*num,round);},distanceTo:function(point){point=L.point(point);var x=point.x-this.x,y=point.y-this.y;return Math.sqrt(x*x+y*y);},round:function(){return this.clone()._round();},_round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this;},floor:function(){return this.clone()._floor();},_floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this;},clone:function(){return new L.Point(this.x,this.y);},toString:function(){return'Point('+ -L.Util.formatNum(this.x)+', '+ -L.Util.formatNum(this.y)+')';}};L.point=function(x,y,round){if(x instanceof L.Point){return x;} -if(x instanceof Array){return new L.Point(x[0],x[1]);} -if(isNaN(x)){return x;} -return new L.Point(x,y,round);};L.Bounds=L.Class.extend({initialize:function(a,b){if(!a){return;} -var points=b?[a,b]:a;for(var i=0,len=points.length;i=this.min.x)&&(max.x<=this.max.x)&&(min.y>=this.min.y)&&(max.y<=this.max.y);},intersects:function(bounds){bounds=L.bounds(bounds);var min=this.min,max=this.max,min2=bounds.min,max2=bounds.max;var xIntersects=(max2.x>=min.x)&&(min2.x<=max.x),yIntersects=(max2.y>=min.y)&&(min2.y<=max.y);return xIntersects&&yIntersects;}});L.bounds=function(a,b){if(!a||a instanceof L.Bounds){return a;} -return new L.Bounds(a,b);};L.Transformation=L.Class.extend({initialize:function(a,b,c,d){this._a=a;this._b=b;this._c=c;this._d=d;},transform:function(point,scale){return this._transform(point.clone(),scale);},_transform:function(point,scale){scale=scale||1;point.x=scale*(this._a*point.x+this._b);point.y=scale*(this._c*point.y+this._d);return point;},untransform:function(point,scale){scale=scale||1;return new L.Point((point.x/scale-this._b)/this._a,(point.y/scale-this._d)/this._c);}});L.DomUtil={get:function(id){return(typeof id==='string'?document.getElementById(id):id);},getStyle:function(el,style){var value=el.style[style];if(!value&&el.currentStyle){value=el.currentStyle[style];} -if(!value||value==='auto'){var css=document.defaultView.getComputedStyle(el,null);value=css?css[style]:null;} -return(value==='auto'?null:value);},getViewportOffset:function(element){var top=0,left=0,el=element,docBody=document.body;do{top+=el.offsetTop||0;left+=el.offsetLeft||0;if(el.offsetParent===docBody&&L.DomUtil.getStyle(el,'position')==='absolute'){break;} -if(L.DomUtil.getStyle(el,'position')==='fixed'){top+=docBody.scrollTop||0;left+=docBody.scrollLeft||0;break;} -el=el.offsetParent;}while(el);el=element;do{if(el===docBody){break;} -top-=el.scrollTop||0;left-=el.scrollLeft||0;el=el.parentNode;}while(el);return new L.Point(left,top);},create:function(tagName,className,container){var el=document.createElement(tagName);el.className=className;if(container){container.appendChild(el);} -return el;},disableTextSelection:function(){if(document.selection&&document.selection.empty){document.selection.empty();} -if(!this._onselectstart){this._onselectstart=document.onselectstart;document.onselectstart=L.Util.falseFn;}},enableTextSelection:function(){document.onselectstart=this._onselectstart;this._onselectstart=null;},hasClass:function(el,name){return(el.className.length>0)&&new RegExp("(^|\\s)"+name+"(\\s|$)").test(el.className);},addClass:function(el,name){if(!L.DomUtil.hasClass(el,name)){el.className+=(el.className?' ':'')+name;}},removeClass:function(el,name){function replaceFn(w,match){if(match===name){return'';} -return w;} -el.className=el.className.replace(/(\S+)\s*/g,replaceFn).replace(/(^\s+|\s+$)/,'');},setOpacity:function(el,value){if('opacity'in el.style){el.style.opacity=value;}else if(L.Browser.ie){var filter=false,filterName='DXImageTransform.Microsoft.Alpha';try{filter=el.filters.item(filterName);}catch(e){} -value=Math.round(value*100);if(filter){filter.Enabled=(value!==100);filter.Opacity=value;}else{el.style.filter+=' progid:'+filterName+'(opacity='+value+')';}}},testProp:function(props){var style=document.documentElement.style;for(var i=0;i=sw.lat)&&(ne2.lat<=ne.lat)&&(sw2.lng>=sw.lng)&&(ne2.lng<=ne.lng);},intersects:function(bounds){bounds=L.latLngBounds(bounds);var sw=this._southWest,ne=this._northEast,sw2=bounds.getSouthWest(),ne2=bounds.getNorthEast();var latIntersects=(ne2.lat>=sw.lat)&&(sw2.lat<=ne.lat),lngIntersects=(ne2.lng>=sw.lng)&&(sw2.lng<=ne.lng);return latIntersects&&lngIntersects;},toBBoxString:function(){var sw=this._southWest,ne=this._northEast;return[sw.lng,sw.lat,ne.lng,ne.lat].join(',');},equals:function(bounds){if(!bounds){return false;} -bounds=L.latLngBounds(bounds);return this._southWest.equals(bounds.getSouthWest())&&this._northEast.equals(bounds.getNorthEast());}});L.latLngBounds=function(a,b){if(!a||a instanceof L.LatLngBounds){return a;} -return new L.LatLngBounds(a,b);};L.Projection={};L.Projection.SphericalMercator={MAX_LATITUDE:85.0511287798,project:function(latlng){var d=L.LatLng.DEG_TO_RAD,max=this.MAX_LATITUDE,lat=Math.max(Math.min(max,latlng.lat),-max),x=latlng.lng*d,y=lat*d;y=Math.log(Math.tan((Math.PI/4)+(y/2)));return new L.Point(x,y);},unproject:function(point){var d=L.LatLng.RAD_TO_DEG,lng=point.x*d,lat=(2*Math.atan(Math.exp(point.y))-(Math.PI/2))*d;return new L.LatLng(lat,lng,true);}};L.Projection.LonLat={project:function(latlng){return new L.Point(latlng.lng,latlng.lat);},unproject:function(point){return new L.LatLng(point.y,point.x,true);}};L.CRS={latLngToPoint:function(latlng,zoom){var projectedPoint=this.projection.project(latlng),scale=this.scale(zoom);return this.transformation._transform(projectedPoint,scale);},pointToLatLng:function(point,zoom){var scale=this.scale(zoom),untransformedPoint=this.transformation.untransform(point,scale);return this.projection.unproject(untransformedPoint);},project:function(latlng){return this.projection.project(latlng);},scale:function(zoom){return 256*Math.pow(2,zoom);}};L.CRS.EPSG3857=L.Util.extend({},L.CRS,{code:'EPSG:3857',projection:L.Projection.SphericalMercator,transformation:new L.Transformation(0.5/Math.PI,0.5,-0.5/Math.PI,0.5),project:function(latlng){var projectedPoint=this.projection.project(latlng),earthRadius=6378137;return projectedPoint.multiplyBy(earthRadius);}});L.CRS.EPSG900913=L.Util.extend({},L.CRS.EPSG3857,{code:'EPSG:900913'});L.CRS.EPSG4326=L.Util.extend({},L.CRS,{code:'EPSG:4326',projection:L.Projection.LonLat,transformation:new L.Transformation(1/360,0.5,-1/360,0.5)});L.Map=L.Class.extend({includes:L.Mixin.Events,options:{crs:L.CRS.EPSG3857,fadeAnimation:L.DomUtil.TRANSITION&&!L.Browser.android23,trackResize:true,markerZoomAnimation:L.DomUtil.TRANSITION&&L.Browser.any3d},initialize:function(id,options){options=L.Util.setOptions(this,options);this._initContainer(id);this._initLayout();this._initHooks();this._initEvents();if(options.maxBounds){this.setMaxBounds(options.maxBounds);} -if(options.center&&options.zoom!==undefined){this.setView(L.latLng(options.center),options.zoom,true);} -this._initLayers(options.layers);},setView:function(center,zoom){this._resetView(L.latLng(center),this._limitZoom(zoom));return this;},setZoom:function(zoom){return this.setView(this.getCenter(),zoom);},zoomIn:function(){return this.setZoom(this._zoom+1);},zoomOut:function(){return this.setZoom(this._zoom-1);},fitBounds:function(bounds){var zoom=this.getBoundsZoom(bounds);return this.setView(L.latLngBounds(bounds).getCenter(),zoom);},fitWorld:function(){var sw=new L.LatLng(-60,-170),ne=new L.LatLng(85,179);return this.fitBounds(new L.LatLngBounds(sw,ne));},panTo:function(center){return this.setView(center,this._zoom);},panBy:function(offset){this.fire('movestart');this._rawPanBy(L.point(offset));this.fire('move');return this.fire('moveend');},setMaxBounds:function(bounds){bounds=L.latLngBounds(bounds);this.options.maxBounds=bounds;if(!bounds){this._boundsMinZoom=null;return this;} -var minZoom=this.getBoundsZoom(bounds,true);this._boundsMinZoom=minZoom;if(this._loaded){if(this._zoomne.x){dx=ne.x-viewNe.x;} -if(viewSw.y>sw.y){dy=sw.y-viewSw.y;} -if(viewSw.xtol)&&(--i>0)){con=eccent*Math.sin(phi);dphi=(Math.PI/2)-2*Math.atan(ts*Math.pow((1.0-con)/(1.0+con),0.5*eccent))-phi;phi+=dphi;} -return new L.LatLng(phi*d,lng,true);}};L.CRS.EPSG3395=L.Util.extend({},L.CRS,{code:'EPSG:3395',projection:L.Projection.Mercator,transformation:(function(){var m=L.Projection.Mercator,r=m.R_MAJOR,r2=m.R_MINOR;return new L.Transformation(0.5/(Math.PI*r),0.5,-0.5/(Math.PI*r2),0.5);}())});L.TileLayer=L.Class.extend({includes:L.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:'abc',errorTileUrl:'',attribution:'',zoomOffset:0,opacity:1,unloadInvisibleTiles:L.Browser.mobile,updateWhenIdle:L.Browser.mobile},initialize:function(url,options){options=L.Util.setOptions(this,options);if(options.detectRetina&&L.Browser.retina&&options.maxZoom>0){options.tileSize=Math.floor(options.tileSize/2);options.zoomOffset++;if(options.minZoom>0){options.minZoom--;} -this.options.maxZoom--;} -this._url=url;var subdomains=this.options.subdomains;if(typeof subdomains==='string'){this.options.subdomains=subdomains.split('');}},onAdd:function(map){this._map=map;this._initContainer();this._createTileProto();map.on({'viewreset':this._resetCallback,'moveend':this._update},this);if(!this.options.updateWhenIdle){this._limitedUpdate=L.Util.limitExecByInterval(this._update,150,this);map.on('move',this._limitedUpdate,this);} -this._reset();this._update();},addTo:function(map){map.addLayer(this);return this;},onRemove:function(map){map._panes.tilePane.removeChild(this._container);map.off({'viewreset':this._resetCallback,'moveend':this._update},this);if(!this.options.updateWhenIdle){map.off('move',this._limitedUpdate,this);} -this._container=null;this._map=null;},bringToFront:function(){var pane=this._map._panes.tilePane;if(this._container){pane.appendChild(this._container);this._setAutoZIndex(pane,Math.max);} -return this;},bringToBack:function(){var pane=this._map._panes.tilePane;if(this._container){pane.insertBefore(this._container,pane.firstChild);this._setAutoZIndex(pane,Math.min);} -return this;},getAttribution:function(){return this.options.attribution;},setOpacity:function(opacity){this.options.opacity=opacity;if(this._map){this._updateOpacity();} -return this;},setZIndex:function(zIndex){this.options.zIndex=zIndex;this._updateZIndex();return this;},setUrl:function(url,noRedraw){this._url=url;if(!noRedraw){this.redraw();} -return this;},redraw:function(){if(this._map){this._map._panes.tilePane.empty=false;this._reset(true);this._update();} -return this;},_updateZIndex:function(){if(this._container&&this.options.zIndex!==undefined){this._container.style.zIndex=this.options.zIndex;}},_setAutoZIndex:function(pane,compare){var layers=pane.getElementsByClassName('leaflet-layer'),edgeZIndex=-compare(Infinity,-Infinity),zIndex;for(var i=0,len=layers.length;ithis.options.maxZoom||zoom=limit)||tilePoint.y<0||tilePoint.y>=limit){return false;}} -return true;},_removeOtherTiles:function(bounds){var kArr,x,y,key;for(key in this._tiles){if(this._tiles.hasOwnProperty(key)){kArr=key.split(':');x=parseInt(kArr[0],10);y=parseInt(kArr[1],10);if(xbounds.max.x||ybounds.max.y){this._removeTile(key);}}}},_removeTile:function(key){var tile=this._tiles[key];this.fire("tileunload",{tile:tile,url:tile.src});if(this.options.reuseTiles){L.DomUtil.removeClass(tile,'leaflet-tile-loaded');this._unusedTiles.push(tile);}else if(tile.parentNode===this._container){this._container.removeChild(tile);} -if(!L.Browser.android){tile.src=L.Util.emptyImageUrl;} -delete this._tiles[key];},_addTile:function(tilePoint,container){var tilePos=this._getTilePos(tilePoint);var tile=this._getTile();L.DomUtil.setPosition(tile,tilePos,L.Browser.chrome||L.Browser.android23);this._tiles[tilePoint.x+':'+tilePoint.y]=tile;this._loadTile(tile,tilePoint);if(tile.parentNode!==this._container){container.appendChild(tile);}},_getZoomForUrl:function(){var options=this.options,zoom=this._map.getZoom();if(options.zoomReverse){zoom=options.maxZoom-zoom;} -return zoom+options.zoomOffset;},_getTilePos:function(tilePoint){var origin=this._map.getPixelOrigin(),tileSize=this.options.tileSize;return tilePoint.multiplyBy(tileSize).subtract(origin);},getTileUrl:function(tilePoint){this._adjustTilePoint(tilePoint);return L.Util.template(this._url,L.Util.extend({s:this._getSubdomain(tilePoint),z:this._getZoomForUrl(),x:tilePoint.x,y:tilePoint.y},this.options));},_getWrapTileNum:function(){return Math.pow(2,this._getZoomForUrl());},_adjustTilePoint:function(tilePoint){var limit=this._getWrapTileNum();if(!this.options.continuousWorld&&!this.options.noWrap){tilePoint.x=((tilePoint.x%limit)+limit)%limit;} -if(this.options.tms){tilePoint.y=limit-tilePoint.y-1;}},_getSubdomain:function(tilePoint){var index=(tilePoint.x+tilePoint.y)%this.options.subdomains.length;return this.options.subdomains[index];},_createTileProto:function(){var img=this._tileImg=L.DomUtil.create('img','leaflet-tile');img.galleryimg='no';var tileSize=this.options.tileSize;img.style.width=tileSize+'px';img.style.height=tileSize+'px';},_getTile:function(){if(this.options.reuseTiles&&this._unusedTiles.length>0){var tile=this._unusedTiles.pop();this._resetTile(tile);return tile;} -return this._createTile();},_resetTile:function(tile){},_createTile:function(){var tile=this._tileImg.cloneNode(false);tile.onselectstart=tile.onmousemove=L.Util.falseFn;return tile;},_loadTile:function(tile,tilePoint){tile._layer=this;tile.onload=this._tileOnLoad;tile.onerror=this._tileOnError;tile.src=this.getTileUrl(tilePoint);},_tileLoaded:function(){this._tilesToLoad--;if(!this._tilesToLoad){this.fire('load');}},_tileOnLoad:function(e){var layer=this._layer;if(this.src!==L.Util.emptyImageUrl){L.DomUtil.addClass(this,'leaflet-tile-loaded');layer.fire('tileload',{tile:this,url:this.src});} -layer._tileLoaded();},_tileOnError:function(e){var layer=this._layer;layer.fire('tileerror',{tile:this,url:this.src});var newUrl=layer.options.errorTileUrl;if(newUrl){this.src=newUrl;} -layer._tileLoaded();}});L.tileLayer=function(url,options){return new L.TileLayer(url,options);};L.TileLayer.WMS=L.TileLayer.extend({defaultWmsParams:{service:'WMS',request:'GetMap',version:'1.1.1',layers:'',styles:'',format:'image/jpeg',transparent:false},initialize:function(url,options){this._url=url;var wmsParams=L.Util.extend({},this.defaultWmsParams);if(options.detectRetina&&L.Browser.retina){wmsParams.width=wmsParams.height=this.options.tileSize*2;}else{wmsParams.width=wmsParams.height=this.options.tileSize;} -for(var i in options){if(!this.options.hasOwnProperty(i)){wmsParams[i]=options[i];}} -this.wmsParams=wmsParams;L.Util.setOptions(this,options);},onAdd:function(map){var projectionKey=parseFloat(this.wmsParams.version)>=1.3?'crs':'srs';this.wmsParams[projectionKey]=map.options.crs.code;L.TileLayer.prototype.onAdd.call(this,map);},getTileUrl:function(tilePoint,zoom){var map=this._map,crs=map.options.crs,tileSize=this.options.tileSize,nwPoint=tilePoint.multiplyBy(tileSize),sePoint=nwPoint.add(new L.Point(tileSize,tileSize)),nw=crs.project(map.unproject(nwPoint,zoom)),se=crs.project(map.unproject(sePoint,zoom)),bbox=[nw.x,se.y,se.x,nw.y].join(','),url=L.Util.template(this._url,{s:this._getSubdomain(tilePoint)});return url+L.Util.getParamString(this.wmsParams)+"&bbox="+bbox;},setParams:function(params,noRedraw){L.Util.extend(this.wmsParams,params);if(!noRedraw){this.redraw();} -return this;}});L.tileLayer.wms=function(url,options){return new L.TileLayer.WMS(url,options);};L.TileLayer.Canvas=L.TileLayer.extend({options:{async:false},initialize:function(options){L.Util.setOptions(this,options);},redraw:function(){var i,tiles=this._tiles;for(i in tiles){if(tiles.hasOwnProperty(i)){this._redrawTile(tiles[i]);}}},_redrawTile:function(tile){this.drawTile(tile,tile._tilePoint,tile._zoom);},_createTileProto:function(){var proto=this._canvasProto=L.DomUtil.create('canvas','leaflet-tile');var tileSize=this.options.tileSize;proto.width=tileSize;proto.height=tileSize;},_createTile:function(){var tile=this._canvasProto.cloneNode(false);tile.onselectstart=tile.onmousemove=L.Util.falseFn;return tile;},_loadTile:function(tile,tilePoint,zoom){tile._layer=this;tile._tilePoint=tilePoint;tile._zoom=zoom;this.drawTile(tile,tilePoint,zoom);if(!this.options.async){this.tileDrawn(tile);}},drawTile:function(tile,tilePoint,zoom){},tileDrawn:function(tile){this._tileOnLoad.call(tile);}});L.tileLayer.canvas=function(options){return new L.TileLayer.Canvas(options);};L.ImageOverlay=L.Class.extend({includes:L.Mixin.Events,options:{opacity:1},initialize:function(url,bounds,options){this._url=url;this._bounds=L.latLngBounds(bounds);L.Util.setOptions(this,options);},onAdd:function(map){this._map=map;if(!this._image){this._initImage();} -map._panes.overlayPane.appendChild(this._image);map.on('viewreset',this._reset,this);if(map.options.zoomAnimation&&L.Browser.any3d){map.on('zoomanim',this._animateZoom,this);} -this._reset();},onRemove:function(map){map.getPanes().overlayPane.removeChild(this._image);map.off('viewreset',this._reset,this);if(map.options.zoomAnimation){map.off('zoomanim',this._animateZoom,this);}},addTo:function(map){map.addLayer(this);return this;},setOpacity:function(opacity){this.options.opacity=opacity;this._updateOpacity();return this;},bringToFront:function(){if(this._image){this._map._panes.overlayPane.appendChild(this._image);} -return this;},bringToBack:function(){var pane=this._map._panes.overlayPane;if(this._image){pane.insertBefore(this._image,pane.firstChild);} -return this;},_initImage:function(){this._image=L.DomUtil.create('img','leaflet-image-layer');if(this._map.options.zoomAnimation&&L.Browser.any3d){L.DomUtil.addClass(this._image,'leaflet-zoom-animated');}else{L.DomUtil.addClass(this._image,'leaflet-zoom-hide');} -this._updateOpacity();L.Util.extend(this._image,{galleryimg:'no',onselectstart:L.Util.falseFn,onmousemove:L.Util.falseFn,onload:L.Util.bind(this._onImageLoad,this),src:this._url});},_animateZoom:function(e){var map=this._map,image=this._image,scale=map.getZoomScale(e.zoom),nw=this._bounds.getNorthWest(),se=this._bounds.getSouthEast(),topLeft=map._latLngToNewLayerPoint(nw,e.zoom,e.center),size=map._latLngToNewLayerPoint(se,e.zoom,e.center).subtract(topLeft),currentSize=map.latLngToLayerPoint(se).subtract(map.latLngToLayerPoint(nw)),origin=topLeft.add(size.subtract(currentSize).divideBy(2));image.style[L.DomUtil.TRANSFORM]=L.DomUtil.getTranslateString(origin)+' scale('+scale+') ';},_reset:function(){var image=this._image,topLeft=this._map.latLngToLayerPoint(this._bounds.getNorthWest()),size=this._map.latLngToLayerPoint(this._bounds.getSouthEast()).subtract(topLeft);L.DomUtil.setPosition(image,topLeft);image.style.width=size.x+'px';image.style.height=size.y+'px';},_onImageLoad:function(){this.fire('load');},_updateOpacity:function(){L.DomUtil.setOpacity(this._image,this.options.opacity);}});L.imageOverlay=function(url,bounds,options){return new L.ImageOverlay(url,bounds,options);};L.Icon=L.Class.extend({options:{className:''},initialize:function(options){L.Util.setOptions(this,options);},createIcon:function(){return this._createIcon('icon');},createShadow:function(){return this._createIcon('shadow');},_createIcon:function(name){var src=this._getIconUrl(name);if(!src){if(name==='icon'){throw new Error("iconUrl not set in Icon options (see the docs).");} -return null;} -var img=this._createImg(src);this._setIconStyles(img,name);return img;},_setIconStyles:function(img,name){var options=this.options,size=L.point(options[name+'Size']),anchor;if(name==='shadow'){anchor=L.point(options.shadowAnchor||options.iconAnchor);}else{anchor=L.point(options.iconAnchor);} -if(!anchor&&size){anchor=size.divideBy(2,true);} -img.className='leaflet-marker-'+name+' '+options.className;if(anchor){img.style.marginLeft=(-anchor.x)+'px';img.style.marginTop=(-anchor.y)+'px';} -if(size){img.style.width=size.x+'px';img.style.height=size.y+'px';}},_createImg:function(src){var el;if(!L.Browser.ie6){el=document.createElement('img');el.src=src;}else{el=document.createElement('div');el.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+src+'")';} -return el;},_getIconUrl:function(name){return this.options[name+'Url'];}});L.icon=function(options){return new L.Icon(options);};L.Icon.Default=L.Icon.extend({options:{iconSize:new L.Point(25,41),iconAnchor:new L.Point(13,41),popupAnchor:new L.Point(1,-34),shadowSize:new L.Point(41,41)},_getIconUrl:function(name){var key=name+'Url';if(this.options[key]){return this.options[key];} -var path=L.Icon.Default.imagePath;if(!path){throw new Error("Couldn't autodetect L.Icon.Default.imagePath, set it manually.");} -return path+'/marker-'+name+'.png';}});L.Icon.Default.imagePath=(function(){var scripts=document.getElementsByTagName('script'),leafletRe=/\/?leaflet[\-\._]?([\w\-\._]*)\.js\??/;var i,len,src,matches;for(i=0,len=scripts.length;imaxHeight){style.height=maxHeight+'px';L.DomUtil.addClass(container,scrolledClass);}else{L.DomUtil.removeClass(container,scrolledClass);} -this._containerWidth=this._container.offsetWidth;},_updatePosition:function(){var pos=this._map.latLngToLayerPoint(this._latlng),is3d=L.Browser.any3d,offset=this.options.offset;if(is3d){L.DomUtil.setPosition(this._container,pos);} -this._containerBottom=-offset.y-(is3d?0:pos.y);this._containerLeft=-Math.round(this._containerWidth/2)+offset.x+(is3d?0:pos.x);this._container.style.bottom=this._containerBottom+'px';this._container.style.left=this._containerLeft+'px';},_zoomAnimation:function(opt){var pos=this._map._latLngToNewLayerPoint(this._latlng,opt.zoom,opt.center);L.DomUtil.setPosition(this._container,pos);},_adjustPan:function(){if(!this.options.autoPan){return;} -var map=this._map,containerHeight=this._container.offsetHeight,containerWidth=this._containerWidth,layerPos=new L.Point(this._containerLeft,-containerHeight-this._containerBottom);if(L.Browser.any3d){layerPos._add(L.DomUtil.getPosition(this._container));} -var containerPos=map.layerPointToContainerPoint(layerPos),padding=this.options.autoPanPadding,size=map.getSize(),dx=0,dy=0;if(containerPos.x<0){dx=containerPos.x-padding.x;} -if(containerPos.x+containerWidth>size.x){dx=containerPos.x+containerWidth-size.x+padding.x;} -if(containerPos.y<0){dy=containerPos.y-padding.y;} -if(containerPos.y+containerHeight>size.y){dy=containerPos.y+containerHeight-size.y+padding.y;} -if(dx||dy){map.panBy(new L.Point(dx,dy));}},_onCloseButtonClick:function(e){this._close();L.DomEvent.stop(e);}});L.popup=function(options,source){return new L.Popup(options,source);};L.Marker.include({openPopup:function(){if(this._popup&&this._map){this._popup.setLatLng(this._latlng);this._map.openPopup(this._popup);} -return this;},closePopup:function(){if(this._popup){this._popup._close();} -return this;},bindPopup:function(content,options){var anchor=L.point(this.options.icon.options.popupAnchor)||new L.Point(0,0);anchor=anchor.add(L.Popup.prototype.options.offset);if(options&&options.offset){anchor=anchor.add(options.offset);} -options=L.Util.extend({offset:anchor},options);if(!this._popup){this.on('click',this.openPopup,this);} -this._popup=new L.Popup(options,this).setContent(content);return this;},unbindPopup:function(){if(this._popup){this._popup=null;this.off('click',this.openPopup);} -return this;}});L.Map.include({openPopup:function(popup){this.closePopup();this._popup=popup;return this.addLayer(popup).fire('popupopen',{popup:this._popup});},closePopup:function(){if(this._popup){this._popup._close();} -return this;}});L.LayerGroup=L.Class.extend({initialize:function(layers){this._layers={};var i,len;if(layers){for(i=0,len=layers.length;i';var shape=div.firstChild;shape.style.behavior='url(#default#VML)';return shape&&(typeof shape.adj==='object');}catch(e){return false;}}());L.Path=L.Browser.svg||!L.Browser.vml?L.Path:L.Path.extend({statics:{VML:true,CLIP_PADDING:0.02},_createElement:(function(){try{document.namespaces.add('lvml','urn:schemas-microsoft-com:vml');return function(name){return document.createElement('');};}catch(e){return function(name){return document.createElement('<'+name+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');};}}()),_initPath:function(){var container=this._container=this._createElement('shape');L.DomUtil.addClass(container,'leaflet-vml-shape');if(this.options.clickable){L.DomUtil.addClass(container,'leaflet-clickable');} -container.coordsize='1 1';this._path=this._createElement('path');container.appendChild(this._path);this._map._pathRoot.appendChild(container);},_initStyle:function(){this._updateStyle();},_updateStyle:function(){var stroke=this._stroke,fill=this._fill,options=this.options,container=this._container;container.stroked=options.stroke;container.filled=options.fill;if(options.stroke){if(!stroke){stroke=this._stroke=this._createElement('stroke');stroke.endcap='round';container.appendChild(stroke);} -stroke.weight=options.weight+'px';stroke.color=options.color;stroke.opacity=options.opacity;if(options.dashArray){stroke.dashStyle=options.dashArray.replace(/ *, */g,' ');}else{stroke.dashStyle='';}}else if(stroke){container.removeChild(stroke);this._stroke=null;} -if(options.fill){if(!fill){fill=this._fill=this._createElement('fill');container.appendChild(fill);} -fill.color=options.fillColor||options.color;fill.opacity=options.fillOpacity;}else if(fill){container.removeChild(fill);this._fill=null;}},_updatePath:function(){var style=this._container.style;style.display='none';this._path.v=this.getPathString()+' ';style.display='';}});L.Map.include(L.Browser.svg||!L.Browser.vml?{}:{_initPathRoot:function(){if(this._pathRoot){return;} -var root=this._pathRoot=document.createElement('div');root.className='leaflet-vml-container';this._panes.overlayPane.appendChild(root);this.on('moveend',this._updatePathViewport);this._updatePathViewport();}});L.Browser.canvas=(function(){return!!document.createElement('canvas').getContext;}());L.Path=(L.Path.SVG&&!window.L_PREFER_CANVAS)||!L.Browser.canvas?L.Path:L.Path.extend({statics:{CANVAS:true,SVG:false},redraw:function(){if(this._map){this.projectLatlngs();this._requestUpdate();} -return this;},setStyle:function(style){L.Util.setOptions(this,style);if(this._map){this._updateStyle();this._requestUpdate();} -return this;},onRemove:function(map){map.off('viewreset',this.projectLatlngs,this).off('moveend',this._updatePath,this);this._requestUpdate();this._map=null;},_requestUpdate:function(){if(this._map){L.Util.cancelAnimFrame(this._fireMapMoveEnd);this._updateRequest=L.Util.requestAnimFrame(this._fireMapMoveEnd,this._map);}},_fireMapMoveEnd:function(){this.fire('moveend');},_initElements:function(){this._map._initPathRoot();this._ctx=this._map._canvasCtx;},_updateStyle:function(){var options=this.options;if(options.stroke){this._ctx.lineWidth=options.weight;this._ctx.strokeStyle=options.color;} -if(options.fill){this._ctx.fillStyle=options.fillColor||options.color;}},_drawPath:function(){var i,j,len,len2,point,drawMethod;this._ctx.beginPath();for(i=0,len=this._parts.length;imaxSqDist){index=i;maxSqDist=sqDist;}} -if(maxSqDist>sqTolerance){markers[index]=1;this._simplifyDPStep(points,markers,sqTolerance,first,index);this._simplifyDPStep(points,markers,sqTolerance,index,last);}},_reducePoints:function(points,sqTolerance){var reducedPoints=[points[0]];for(var i=1,prev=0,len=points.length;isqTolerance){reducedPoints.push(points[i]);prev=i;}} -if(prevbounds.max.x){code|=2;} -if(p.ybounds.max.y){code|=8;} -return code;},_sqDist:function(p1,p2){var dx=p2.x-p1.x,dy=p2.y-p1.y;return dx*dx+dy*dy;},_sqClosestPointOnSegment:function(p,p1,p2,sqDist){var x=p1.x,y=p1.y,dx=p2.x-x,dy=p2.y-y,dot=dx*dx+dy*dy,t;if(dot>0){t=((p.x-x)*dx+(p.y-y)*dy)/dot;if(t>1){x=p2.x;y=p2.y;}else if(t>0){x+=dx*t;y+=dy*t;}} -dx=p.x-x;dy=p.y-y;return sqDist?dx*dx+dy*dy:new L.Point(x,y);}};L.Polyline=L.Path.extend({initialize:function(latlngs,options){L.Path.prototype.initialize.call(this,options);this._latlngs=this._convertLatLngs(latlngs);if(L.Handler.PolyEdit){this.editing=new L.Handler.PolyEdit(this);if(this.options.editable){this.editing.enable();}}},options:{smoothFactor:1.0,noClip:false},projectLatlngs:function(){this._originalPoints=[];for(var i=0,len=this._latlngs.length;ivp.max.x||p.y-r>vp.max.y||p.x+rp.y)!==(p2.y>p.y))&&(p.x<(p2.x-p1.x)*(p.y-p1.y)/(p2.y-p1.y)+p1.x)){inside=!inside;}}} -return inside;}});L.Circle.include(!L.Path.CANVAS?{}:{_drawPath:function(){var p=this._point;this._ctx.beginPath();this._ctx.arc(p.x,p.y,this._radius,0,Math.PI*2,false);},_containsPoint:function(p){var center=this._point,w2=this.options.stroke?this.options.weight/2:0;return(p.distanceTo(center)<=this._radius+w2);}});L.GeoJSON=L.FeatureGroup.extend({initialize:function(geojson,options){L.Util.setOptions(this,options);this._layers={};if(geojson){this.addData(geojson);}},addData:function(geojson){var features=geojson instanceof Array?geojson:geojson.features,i,len;if(features){for(i=0,len=features.length;i1){this._simulateClick=false;return;} -var first=(e.touches&&e.touches.length===1?e.touches[0]:e),el=first.target;L.DomEvent.preventDefault(e);if(L.Browser.touch&&el.tagName.toLowerCase()==='a'){L.DomUtil.addClass(el,'leaflet-active');} -this._moved=false;if(this._moving){return;} -this._startPos=this._newPos=L.DomUtil.getPosition(this._element);this._startPoint=new L.Point(first.clientX,first.clientY);L.DomEvent.on(document,L.Draggable.MOVE,this._onMove,this);L.DomEvent.on(document,L.Draggable.END,this._onUp,this);},_onMove:function(e){if(e.touches&&e.touches.length>1){return;} -var first=(e.touches&&e.touches.length===1?e.touches[0]:e),newPoint=new L.Point(first.clientX,first.clientY),diffVec=newPoint.subtract(this._startPoint);if(!diffVec.x&&!diffVec.y){return;} -L.DomEvent.preventDefault(e);if(!this._moved){this.fire('dragstart');this._moved=true;if(!L.Browser.touch){L.DomUtil.disableTextSelection();this._setMovingCursor();}} -this._newPos=this._startPos.add(diffVec);this._moving=true;L.Util.cancelAnimFrame(this._animRequest);this._animRequest=L.Util.requestAnimFrame(this._updatePosition,this,true,this._dragStartTarget);},_updatePosition:function(){this.fire('predrag');L.DomUtil.setPosition(this._element,this._newPos);this.fire('drag');},_onUp:function(e){if(this._simulateClick&&e.changedTouches){var first=e.changedTouches[0],el=first.target,dist=(this._newPos&&this._newPos.distanceTo(this._startPos))||0;if(el.tagName.toLowerCase()==='a'){L.DomUtil.removeClass(el,'leaflet-active');} -if(dist200){this._positions.shift();this._times.shift();}} -this._map.fire('move').fire('drag');},_onViewReset:function(){var pxCenter=this._map.getSize().divideBy(2),pxWorldCenter=this._map.latLngToLayerPoint(new L.LatLng(0,0));this._initialWorldOffset=pxWorldCenter.subtract(pxCenter).x;this._worldWidth=this._map.project(new L.LatLng(0,180)).x;},_onPreDrag:function(){var map=this._map,worldWidth=this._worldWidth,halfWidth=Math.round(worldWidth/2),dx=this._initialWorldOffset,x=this._draggable._newPos.x,newX1=(x-halfWidth+dx)%worldWidth+halfWidth-dx,newX2=(x+halfWidth+dx)%worldWidth-halfWidth-dx,newX=Math.abs(newX1+dx)options.inertiaThreshold||this._positions[0]===undefined;if(noInertia){map.fire('moveend');}else{var direction=this._lastPos.subtract(this._positions[0]),duration=(this._lastTime+delay-this._times[0])/1000,speedVector=direction.multiplyBy(0.58/duration),speed=speedVector.distanceTo(new L.Point(0,0)),limitedSpeed=Math.min(options.inertiaMaxSpeed,speed),limitedSpeedVector=speedVector.multiplyBy(limitedSpeed/speed),decelerationDuration=limitedSpeed/options.inertiaDeceleration,offset=limitedSpeedVector.multiplyBy(-decelerationDuration/2).round();var panOptions={duration:decelerationDuration,easing:'ease-out'};L.Util.requestAnimFrame(L.Util.bind(function(){this._map.panBy(offset,panOptions);},this));} -map.fire('dragend');if(options.maxBounds){L.Util.requestAnimFrame(this._panInsideMaxBounds,map,true,map._container);}},_panInsideMaxBounds:function(){this.panInsideBounds(this.options.maxBounds);}});L.Map.addInitHook('addHandler','dragging',L.Map.Drag);L.Map.mergeOptions({doubleClickZoom:true});L.Map.DoubleClickZoom=L.Handler.extend({addHooks:function(){this._map.on('dblclick',this._onDoubleClick);},removeHooks:function(){this._map.off('dblclick',this._onDoubleClick);},_onDoubleClick:function(e){this.setView(e.latlng,this._zoom+1);}});L.Map.addInitHook('addHandler','doubleClickZoom',L.Map.DoubleClickZoom);L.Map.mergeOptions({scrollWheelZoom:!L.Browser.touch});L.Map.ScrollWheelZoom=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,'mousewheel',this._onWheelScroll,this);this._delta=0;},removeHooks:function(){L.DomEvent.off(this._map._container,'mousewheel',this._onWheelScroll);},_onWheelScroll:function(e){var delta=L.DomEvent.getWheelDelta(e);this._delta+=delta;this._lastMousePos=this._map.mouseEventToContainerPoint(e);clearTimeout(this._timer);this._timer=setTimeout(L.Util.bind(this._performZoom,this),40);L.DomEvent.preventDefault(e);},_performZoom:function(){var map=this._map,delta=Math.round(this._delta),zoom=map.getZoom();delta=Math.max(Math.min(delta,4),-4);delta=map._limitZoom(zoom+delta)-zoom;this._delta=0;if(!delta){return;} -var newZoom=zoom+delta,newCenter=this._getCenterForScrollWheelZoom(this._lastMousePos,newZoom);map.setView(newCenter,newZoom);},_getCenterForScrollWheelZoom:function(mousePos,newZoom){var map=this._map,scale=map.getZoomScale(newZoom),viewHalf=map.getSize().divideBy(2),centerOffset=mousePos.subtract(viewHalf).multiplyBy(1-1/scale),newCenterPoint=map._getTopLeftPoint().add(viewHalf).add(centerOffset);return map.unproject(newCenterPoint);}});L.Map.addInitHook('addHandler','scrollWheelZoom',L.Map.ScrollWheelZoom);L.Util.extend(L.DomEvent,{addDoubleTapListener:function(obj,handler,id){var last,doubleTap=false,delay=250,touch,pre='_leaflet_',touchstart='touchstart',touchend='touchend';function onTouchStart(e){if(e.touches.length!==1){return;} -var now=Date.now(),delta=now-(last||now);touch=e.touches[0];doubleTap=(delta>0&&delta<=delay);last=now;} -function onTouchEnd(e){if(doubleTap){touch.type='dblclick';handler(touch);last=null;}} -obj[pre+touchstart+id]=onTouchStart;obj[pre+touchend+id]=onTouchEnd;obj.addEventListener(touchstart,onTouchStart,false);obj.addEventListener(touchend,onTouchEnd,false);return this;},removeDoubleTapListener:function(obj,id){var pre='_leaflet_';obj.removeEventListener(obj,obj[pre+'touchstart'+id],false);obj.removeEventListener(obj,obj[pre+'touchend'+id],false);return this;}});L.Map.mergeOptions({touchZoom:L.Browser.touch&&!L.Browser.android23});L.Map.TouchZoom=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,'touchstart',this._onTouchStart,this);},removeHooks:function(){L.DomEvent.off(this._map._container,'touchstart',this._onTouchStart,this);},_onTouchStart:function(e){var map=this._map;if(!e.touches||e.touches.length!==2||map._animatingZoom||this._zooming){return;} -var p1=map.mouseEventToLayerPoint(e.touches[0]),p2=map.mouseEventToLayerPoint(e.touches[1]),viewCenter=map._getCenterLayerPoint();this._startCenter=p1.add(p2).divideBy(2,true);this._startDist=p1.distanceTo(p2);this._moved=false;this._zooming=true;this._centerOffset=viewCenter.subtract(this._startCenter);L.DomEvent.on(document,'touchmove',this._onTouchMove,this).on(document,'touchend',this._onTouchEnd,this);L.DomEvent.preventDefault(e);},_onTouchMove:function(e){if(!e.touches||e.touches.length!==2){return;} -var map=this._map;var p1=map.mouseEventToLayerPoint(e.touches[0]),p2=map.mouseEventToLayerPoint(e.touches[1]);this._scale=p1.distanceTo(p2)/this._startDist;this._delta=p1.add(p2).divideBy(2,true).subtract(this._startCenter);if(this._scale===1){return;} -if(!this._moved){L.DomUtil.addClass(map._mapPane,'leaflet-zoom-anim leaflet-touching');map.fire('movestart').fire('zoomstart')._prepareTileBg();this._moved=true;} -L.Util.cancelAnimFrame(this._animRequest);this._animRequest=L.Util.requestAnimFrame(this._updateOnMove,this,true,this._map._container);L.DomEvent.preventDefault(e);},_updateOnMove:function(){var map=this._map,origin=this._getScaleOrigin(),center=map.layerPointToLatLng(origin);map.fire('zoomanim',{center:center,zoom:map.getScaleZoom(this._scale)});map._tileBg.style[L.DomUtil.TRANSFORM]=L.DomUtil.getTranslateString(this._delta)+' '+ -L.DomUtil.getScaleString(this._scale,this._startCenter);},_onTouchEnd:function(e){if(!this._moved||!this._zooming){return;} -var map=this._map;this._zooming=false;L.DomUtil.removeClass(map._mapPane,'leaflet-touching');L.DomEvent.off(document,'touchmove',this._onTouchMove).off(document,'touchend',this._onTouchEnd);var origin=this._getScaleOrigin(),center=map.layerPointToLatLng(origin),oldZoom=map.getZoom(),floatZoomDelta=map.getScaleZoom(this._scale)-oldZoom,roundZoomDelta=(floatZoomDelta>0?Math.ceil(floatZoomDelta):Math.floor(floatZoomDelta)),zoom=map._limitZoom(oldZoom+roundZoomDelta);map.fire('zoomanim',{center:center,zoom:zoom});map._runAnimation(center,zoom,map.getZoomScale(zoom)/this._scale,origin,true);},_getScaleOrigin:function(){var centerOffset=this._centerOffset.subtract(this._delta).divideBy(this._scale);return this._startCenter.add(centerOffset);}});L.Map.addInitHook('addHandler','touchZoom',L.Map.TouchZoom);L.Map.mergeOptions({boxZoom:true});L.Map.BoxZoom=L.Handler.extend({initialize:function(map){this._map=map;this._container=map._container;this._pane=map._panes.overlayPane;},addHooks:function(){L.DomEvent.on(this._container,'mousedown',this._onMouseDown,this);},removeHooks:function(){L.DomEvent.off(this._container,'mousedown',this._onMouseDown);},_onMouseDown:function(e){if(!e.shiftKey||((e.which!==1)&&(e.button!==1))){return false;} -L.DomUtil.disableTextSelection();this._startLayerPoint=this._map.mouseEventToLayerPoint(e);this._box=L.DomUtil.create('div','leaflet-zoom-box',this._pane);L.DomUtil.setPosition(this._box,this._startLayerPoint);this._container.style.cursor='crosshair';L.DomEvent.on(document,'mousemove',this._onMouseMove,this).on(document,'mouseup',this._onMouseUp,this).preventDefault(e);this._map.fire("boxzoomstart");},_onMouseMove:function(e){var startPoint=this._startLayerPoint,box=this._box,layerPoint=this._map.mouseEventToLayerPoint(e),offset=layerPoint.subtract(startPoint),newPos=new L.Point(Math.min(layerPoint.x,startPoint.x),Math.min(layerPoint.y,startPoint.y));L.DomUtil.setPosition(box,newPos);box.style.width=(Math.abs(offset.x)-4)+'px';box.style.height=(Math.abs(offset.y)-4)+'px';},_onMouseUp:function(e){this._pane.removeChild(this._box);this._container.style.cursor='';L.DomUtil.enableTextSelection();L.DomEvent.off(document,'mousemove',this._onMouseMove).off(document,'mouseup',this._onMouseUp);var map=this._map,layerPoint=map.mouseEventToLayerPoint(e);var bounds=new L.LatLngBounds(map.layerPointToLatLng(this._startLayerPoint),map.layerPointToLatLng(layerPoint));map.fitBounds(bounds);map.fire("boxzoomend",{boxZoomBounds:bounds});}});L.Map.addInitHook('addHandler','boxZoom',L.Map.BoxZoom);L.Map.mergeOptions({keyboard:true,keyboardPanOffset:80,keyboardZoomOffset:1});L.Map.Keyboard=L.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61],zoomOut:[189,109]},initialize:function(map){this._map=map;this._setPanOffset(map.options.keyboardPanOffset);this._setZoomOffset(map.options.keyboardZoomOffset);},addHooks:function(){var container=this._map._container;if(container.tabIndex===-1){container.tabIndex="0";} -L.DomEvent.addListener(container,'focus',this._onFocus,this).addListener(container,'blur',this._onBlur,this).addListener(container,'mousedown',this._onMouseDown,this);this._map.on('focus',this._addHooks,this).on('blur',this._removeHooks,this);},removeHooks:function(){this._removeHooks();var container=this._map._container;L.DomEvent.removeListener(container,'focus',this._onFocus,this).removeListener(container,'blur',this._onBlur,this).removeListener(container,'mousedown',this._onMouseDown,this);this._map.off('focus',this._addHooks,this).off('blur',this._removeHooks,this);},_onMouseDown:function(){if(!this._focused){this._map._container.focus();}},_onFocus:function(){this._focused=true;this._map.fire('focus');},_onBlur:function(){this._focused=false;this._map.fire('blur');},_setPanOffset:function(pan){var keys=this._panKeys={},codes=this.keyCodes,i,len;for(i=0,len=codes.left.length;iindex){marker._index+=delta;}});},_createMiddleMarker:function(marker1,marker2){var latlng=this._getMiddleLatLng(marker1,marker2),marker=this._createMarker(latlng),onClick,onDragStart,onDragEnd;marker.setOpacity(0.6);marker1._middleRight=marker2._middleLeft=marker;onDragStart=function(){var i=marker2._index;marker._index=i;marker.off('click',onClick).on('click',this._onMarkerClick,this);latlng.lat=marker.getLatLng().lat;latlng.lng=marker.getLatLng().lng;this._poly.spliceLatLngs(i,0,latlng);this._markers.splice(i,0,marker);marker.setOpacity(1);this._updateIndexes(i,1);marker2._index++;this._updatePrevNext(marker1,marker);this._updatePrevNext(marker,marker2);};onDragEnd=function(){marker.off('dragstart',onDragStart,this);marker.off('dragend',onDragEnd,this);this._createMiddleMarker(marker1,marker);this._createMiddleMarker(marker,marker2);};onClick=function(){onDragStart.call(this);onDragEnd.call(this);this._poly.fire('edit');};marker.on('click',onClick,this).on('dragstart',onDragStart,this).on('dragend',onDragEnd,this);this._markerGroup.addLayer(marker);},_updatePrevNext:function(marker1,marker2){marker1._next=marker2;marker2._prev=marker1;},_getMiddleLatLng:function(marker1,marker2){var map=this._poly._map,p1=map.latLngToLayerPoint(marker1.getLatLng()),p2=map.latLngToLayerPoint(marker2.getLatLng());return map.layerPointToLatLng(p1._add(p2).divideBy(2));}});L.Control=L.Class.extend({options:{position:'topright'},initialize:function(options){L.Util.setOptions(this,options);},getPosition:function(){return this.options.position;},setPosition:function(position){var map=this._map;if(map){map.removeControl(this);} -this.options.position=position;if(map){map.addControl(this);} -return this;},addTo:function(map){this._map=map;var container=this._container=this.onAdd(map),pos=this.getPosition(),corner=map._controlCorners[pos];L.DomUtil.addClass(container,'leaflet-control');if(pos.indexOf('bottom')!==-1){corner.insertBefore(container,corner.firstChild);}else{corner.appendChild(container);} -return this;},removeFrom:function(map){var pos=this.getPosition(),corner=map._controlCorners[pos];corner.removeChild(this._container);this._map=null;if(this.onRemove){this.onRemove(map);} -return this;}});L.control=function(options){return new L.Control(options);};L.Map.include({addControl:function(control){control.addTo(this);return this;},removeControl:function(control){control.removeFrom(this);return this;},_initControlPos:function(){var corners=this._controlCorners={},l='leaflet-',container=this._controlContainer=L.DomUtil.create('div',l+'control-container',this._container);function createCorner(vSide,hSide){var className=l+vSide+' '+l+hSide;corners[vSide+hSide]=L.DomUtil.create('div',className,container);} -createCorner('top','left');createCorner('top','right');createCorner('bottom','left');createCorner('bottom','right');}});L.Control.Zoom=L.Control.extend({options:{position:'topleft'},onAdd:function(map){var className='leaflet-control-zoom',container=L.DomUtil.create('div',className);this._createButton('Zoom in',className+'-in',container,map.zoomIn,map);this._createButton('Zoom out',className+'-out',container,map.zoomOut,map);return container;},_createButton:function(title,className,container,fn,context){var link=L.DomUtil.create('a',className,container);link.href='#';link.title=title;L.DomEvent.on(link,'click',L.DomEvent.stopPropagation).on(link,'click',L.DomEvent.preventDefault).on(link,'click',fn,context).on(link,'dblclick',L.DomEvent.stopPropagation);return link;}});L.Map.mergeOptions({zoomControl:true});L.Map.addInitHook(function(){if(this.options.zoomControl){this.zoomControl=new L.Control.Zoom();this.addControl(this.zoomControl);}});L.control.zoom=function(options){return new L.Control.Zoom(options);};L.Control.Attribution=L.Control.extend({options:{position:'bottomright',prefix:'Powered by Leaflet'},initialize:function(options){L.Util.setOptions(this,options);this._attributions={};},onAdd:function(map){this._container=L.DomUtil.create('div','leaflet-control-attribution');L.DomEvent.disableClickPropagation(this._container);map.on('layeradd',this._onLayerAdd,this).on('layerremove',this._onLayerRemove,this);this._update();return this._container;},onRemove:function(map){map.off('layeradd',this._onLayerAdd).off('layerremove',this._onLayerRemove);},setPrefix:function(prefix){this.options.prefix=prefix;this._update();return this;},addAttribution:function(text){if(!text){return;} -if(!this._attributions[text]){this._attributions[text]=0;} -this._attributions[text]++;this._update();return this;},removeAttribution:function(text){if(!text){return;} -this._attributions[text]--;this._update();return this;},_update:function(){if(!this._map){return;} -var attribs=[];for(var i in this._attributions){if(this._attributions.hasOwnProperty(i)&&this._attributions[i]){attribs.push(i);}} -var prefixAndAttribs=[];if(this.options.prefix){prefixAndAttribs.push(this.options.prefix);} -if(attribs.length){prefixAndAttribs.push(attribs.join(', '));} -this._container.innerHTML=prefixAndAttribs.join(' — ');},_onLayerAdd:function(e){if(e.layer.getAttribution){this.addAttribution(e.layer.getAttribution());}},_onLayerRemove:function(e){if(e.layer.getAttribution){this.removeAttribution(e.layer.getAttribution());}}});L.Map.mergeOptions({attributionControl:true});L.Map.addInitHook(function(){if(this.options.attributionControl){this.attributionControl=(new L.Control.Attribution()).addTo(this);}});L.control.attribution=function(options){return new L.Control.Attribution(options);};L.Control.Scale=L.Control.extend({options:{position:'bottomleft',maxWidth:100,metric:true,imperial:true,updateWhenIdle:false},onAdd:function(map){this._map=map;var className='leaflet-control-scale',container=L.DomUtil.create('div',className),options=this.options;this._addScales(options,className,container);map.on(options.updateWhenIdle?'moveend':'move',this._update,this);this._update();return container;},onRemove:function(map){map.off(this.options.updateWhenIdle?'moveend':'move',this._update,this);},_addScales:function(options,className,container){if(options.metric){this._mScale=L.DomUtil.create('div',className+'-line',container);} -if(options.imperial){this._iScale=L.DomUtil.create('div',className+'-line',container);}},_update:function(){var bounds=this._map.getBounds(),centerLat=bounds.getCenter().lat,halfWorldMeters=6378137*Math.PI*Math.cos(centerLat*Math.PI/180),dist=halfWorldMeters*(bounds.getNorthEast().lng-bounds.getSouthWest().lng)/180,size=this._map.getSize(),options=this.options,maxMeters=0;if(size.x>0){maxMeters=dist*(options.maxWidth/size.x);} -this._updateScales(options,maxMeters);},_updateScales:function(options,maxMeters){if(options.metric&&maxMeters){this._updateMetric(maxMeters);} -if(options.imperial&&maxMeters){this._updateImperial(maxMeters);}},_updateMetric:function(maxMeters){var meters=this._getRoundNum(maxMeters);this._mScale.style.width=this._getScaleWidth(meters/maxMeters)+'px';this._mScale.innerHTML=meters<1000?meters+' m':(meters/1000)+' km';},_updateImperial:function(maxMeters){var maxFeet=maxMeters*3.2808399,scale=this._iScale,maxMiles,miles,feet;if(maxFeet>5280){maxMiles=maxFeet/5280;miles=this._getRoundNum(maxMiles);scale.style.width=this._getScaleWidth(miles/maxMiles)+'px';scale.innerHTML=miles+' mi';}else{feet=this._getRoundNum(maxFeet);scale.style.width=this._getScaleWidth(feet/maxFeet)+'px';scale.innerHTML=feet+' ft';}},_getScaleWidth:function(ratio){return Math.round(this.options.maxWidth*ratio)-10;},_getRoundNum:function(num){var pow10=Math.pow(10,(Math.floor(num)+'').length-1),d=num/pow10;d=d>=10?10:d>=5?5:d>=3?3:d>=2?2:1;return pow10*d;}});L.control.scale=function(options){return new L.Control.Scale(options);};L.Control.Layers=L.Control.extend({options:{collapsed:true,position:'topright',autoZIndex:true},initialize:function(baseLayers,overlays,options){L.Util.setOptions(this,options);this._layers={};this._lastZIndex=0;for(var i in baseLayers){if(baseLayers.hasOwnProperty(i)){this._addLayer(baseLayers[i],i);}} -for(i in overlays){if(overlays.hasOwnProperty(i)){this._addLayer(overlays[i],i,true);}}},onAdd:function(map){this._initLayout();this._update();return this._container;},addBaseLayer:function(layer,name){this._addLayer(layer,name);this._update();return this;},addOverlay:function(layer,name){this._addLayer(layer,name,true);this._update();return this;},removeLayer:function(layer){var id=L.Util.stamp(layer);delete this._layers[id];this._update();return this;},_initLayout:function(){var className='leaflet-control-layers',container=this._container=L.DomUtil.create('div',className);if(!L.Browser.touch){L.DomEvent.disableClickPropagation(container);}else{L.DomEvent.on(container,'click',L.DomEvent.stopPropagation);} -var form=this._form=L.DomUtil.create('form',className+'-list');if(this.options.collapsed){L.DomEvent.on(container,'mouseover',this._expand,this).on(container,'mouseout',this._collapse,this);var link=this._layersLink=L.DomUtil.create('a',className+'-toggle',container);link.href='#';link.title='Layers';if(L.Browser.touch){L.DomEvent.on(link,'click',L.DomEvent.stopPropagation).on(link,'click',L.DomEvent.preventDefault).on(link,'click',this._expand,this);} -else{L.DomEvent.on(link,'focus',this._expand,this);} -this._map.on('movestart',this._collapse,this);}else{this._expand();} -this._baseLayersList=L.DomUtil.create('div',className+'-base',form);this._separator=L.DomUtil.create('div',className+'-separator',form);this._overlaysList=L.DomUtil.create('div',className+'-overlays',form);container.appendChild(form);},_addLayer:function(layer,name,overlay){var id=L.Util.stamp(layer);this._layers[id]={layer:layer,name:name,overlay:overlay};if(this.options.autoZIndex&&layer.setZIndex){this._lastZIndex++;layer.setZIndex(this._lastZIndex);}},_update:function(){if(!this._container){return;} -this._baseLayersList.innerHTML='';this._overlaysList.innerHTML='';var baseLayersPresent=false,overlaysPresent=false;for(var i in this._layers){if(this._layers.hasOwnProperty(i)){var obj=this._layers[i];this._addItem(obj);overlaysPresent=overlaysPresent||obj.overlay;baseLayersPresent=baseLayersPresent||!obj.overlay;}} -this._separator.style.display=(overlaysPresent&&baseLayersPresent?'':'none');},_createRadioElement:function(name,checked){var radioHtml='0.5&&this._getLoadedTilesPercentage(tilePane)<0.5){tilePane.style.visibility='hidden';tilePane.empty=true;this._stopLoadingImages(tilePane);return;} -if(!tileBg){tileBg=this._tileBg=this._createPane('leaflet-tile-pane',this._mapPane);tileBg.style.zIndex=1;} -tileBg.style[L.DomUtil.TRANSFORM]='';tileBg.style.visibility='hidden';tileBg.empty=true;tilePane.empty=false;this._tilePane=this._panes.tilePane=tileBg;var newTileBg=this._tileBg=tilePane;L.DomUtil.addClass(newTileBg,'leaflet-zoom-animated');this._stopLoadingImages(newTileBg);},_getLoadedTilesPercentage:function(container){var tiles=container.getElementsByTagName('img'),i,len,count=0;for(i=0,len=tiles.length;i=2 && n<=4) ? 1 : 2"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/de.min.js b/ckan/public/base/i18n/de.min.js deleted file mode 100644 index 51087b9270c..00000000000 --- a/ckan/public/base/i18n/de.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"de","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/el.min.js b/ckan/public/base/i18n/el.min.js deleted file mode 100644 index ea433aded6c..00000000000 --- a/ckan/public/base/i18n/el.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"el","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/es.min.js b/ckan/public/base/i18n/es.min.js deleted file mode 100644 index 5b7592b6805..00000000000 --- a/ckan/public/base/i18n/es.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"es","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/fi.min.js b/ckan/public/base/i18n/fi.min.js deleted file mode 100644 index 2ef505f2e67..00000000000 --- a/ckan/public/base/i18n/fi.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"fi","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/fr.min.js b/ckan/public/base/i18n/fr.min.js deleted file mode 100644 index 3e4055992ba..00000000000 --- a/ckan/public/base/i18n/fr.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"fr","plural-forms":"nplurals=2; plural=(n > 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/hu.min.js b/ckan/public/base/i18n/hu.min.js deleted file mode 100644 index 69b462b4f2e..00000000000 --- a/ckan/public/base/i18n/hu.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"hu","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/it.min.js b/ckan/public/base/i18n/it.min.js deleted file mode 100644 index 1619b822742..00000000000 --- a/ckan/public/base/i18n/it.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"it","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/lt.min.js b/ckan/public/base/i18n/lt.min.js deleted file mode 100644 index 011d4d9ce70..00000000000 --- a/ckan/public/base/i18n/lt.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"lt","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/lv.min.js b/ckan/public/base/i18n/lv.min.js deleted file mode 100644 index d61a005767e..00000000000 --- a/ckan/public/base/i18n/lv.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"lv","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/nl.min.js b/ckan/public/base/i18n/nl.min.js deleted file mode 100644 index ad8b1c465a5..00000000000 --- a/ckan/public/base/i18n/nl.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"nl","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/no.min.js b/ckan/public/base/i18n/no.min.js deleted file mode 100644 index bba55b1c1e6..00000000000 --- a/ckan/public/base/i18n/no.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"no","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/pl.min.js b/ckan/public/base/i18n/pl.min.js deleted file mode 100644 index fb3927569b8..00000000000 --- a/ckan/public/base/i18n/pl.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"pl","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/pt_BR.min.js b/ckan/public/base/i18n/pt_BR.min.js deleted file mode 100644 index bede38b1f85..00000000000 --- a/ckan/public/base/i18n/pt_BR.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"pt_BR","plural-forms":"nplurals=2; plural=(n > 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/ro.min.js b/ckan/public/base/i18n/ro.min.js deleted file mode 100644 index d85864a2a59..00000000000 --- a/ckan/public/base/i18n/ro.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"ro","plural-forms":"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1))"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/ru.min.js b/ckan/public/base/i18n/ru.min.js deleted file mode 100644 index 12e04a0eb79..00000000000 --- a/ckan/public/base/i18n/ru.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"ru","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sk.min.js b/ckan/public/base/i18n/sk.min.js deleted file mode 100644 index 8c0ddaf4968..00000000000 --- a/ckan/public/base/i18n/sk.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sk","plural-forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sl.min.js b/ckan/public/base/i18n/sl.min.js deleted file mode 100644 index a9b793687aa..00000000000 --- a/ckan/public/base/i18n/sl.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sl","plural-forms":"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sq.min.js b/ckan/public/base/i18n/sq.min.js deleted file mode 100644 index 350ad09607b..00000000000 --- a/ckan/public/base/i18n/sq.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sq","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sr.min.js b/ckan/public/base/i18n/sr.min.js deleted file mode 100644 index ce807d3dbb0..00000000000 --- a/ckan/public/base/i18n/sr.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sr","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sr_Latn.min.js b/ckan/public/base/i18n/sr_Latn.min.js deleted file mode 100644 index 7a1e7d7aa97..00000000000 --- a/ckan/public/base/i18n/sr_Latn.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sr_Latn","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/sv.min.js b/ckan/public/base/i18n/sv.min.js deleted file mode 100644 index 52b81c08542..00000000000 --- a/ckan/public/base/i18n/sv.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"sv","plural-forms":"nplurals=2; plural=(n != 1)"}} \ No newline at end of file diff --git a/ckan/public/base/i18n/zh_TW.min.js b/ckan/public/base/i18n/zh_TW.min.js deleted file mode 100644 index da1f2def2a3..00000000000 --- a/ckan/public/base/i18n/zh_TW.min.js +++ /dev/null @@ -1 +0,0 @@ -{"":{"domain":"ckan","lang":"zh_TW","plural-forms":"nplurals=1; plural=0\n"},"An Error Occurred":[null,"-----------------"],"Are you sure you want to delete this item?":[null,"------------------------------------------"],"Cancel":[null,"------"],"Confirm":[null,"-------"],"Edit":[null,"----"],"Failed to load data API information":[null,"-----------------------------------"],"Input is too short, must be at least one character":[null,"--------------------------------------------------"],"No matches found":[null,"----------------"],"Please Confirm Action":[null,"---------------------"],"Resource uploaded":[null,"-----------------"],"Start typing…":[null,"---------------"],"There are unsaved modifications to this form":[null,"--------------------------------------------"],"There is no API data to load for this resource":[null,"----------------------------------------------"],"Unable to authenticate upload":[null,"-----------------------------"],"Unable to get data for uploaded file":[null,"------------------------------------"],"Unable to upload file":[null,"---------------------"],"Upload a file":[null,"-------------"]} \ No newline at end of file diff --git a/ckan/public/base/images/table-seperator.png b/ckan/public/base/images/table-seperator.png new file mode 100644 index 00000000000..24aa652944d Binary files /dev/null and b/ckan/public/base/images/table-seperator.png differ diff --git a/ckan/public/base/javascript/client.min.js b/ckan/public/base/javascript/client.min.js deleted file mode 100644 index 61e4ee8bfa2..00000000000 --- a/ckan/public/base/javascript/client.min.js +++ /dev/null @@ -1,12 +0,0 @@ -(function(ckan,jQuery){function Client(options){this.endpoint=options&&options.endpoint||'';jQuery.proxyAll(this,/parse/);} -jQuery.extend(Client.prototype,{url:function(path){if(!(/^https?:\/\//i).test(path)){path=this.endpoint+'/'+encodeURI(path).replace(/^\//,'');} -return path;},call:function(type,path,data,fn,error){var url=this.url('/api/action/'+path);var error=(error=='undefined')?function(){}:error;var options={contentType:'application/json',url:url,dataType:'json',processData:false,success:fn,error:error};if(type=='POST'){options.type='POST';options.data=JSON.stringify(data);}else{options.type='GET';options.url+=data;} -jQuery.ajax(options);},getTemplate:function(filename,params,success,error){var url=this.url('/api/1/util/snippet/'+encodeURIComponent(filename));if(typeof params==='function'){error=success;success=params;params={};} -return jQuery.get(url,params||{}).then(success,error);},getLocaleData:function(locale,success,error){var url=this.url('/api/i18n/'+(locale||''));return jQuery.getJSON(url).then(success,error);},getCompletions:function(url,options,success,error){if(typeof options==='function'){error=success;success=options;options={};} -var formatter=options&&options.format||this.parseCompletions;var request=jQuery.ajax({url:this.url(url)});return request.pipe(formatter).promise(request).then(success,error);},parseCompletions:function(data,options){if(typeof data==='string'){return this.parsePackageCompletions(data,options);} -var map={};var raw=jQuery.isArray(data)?data:data.ResultSet&&data.ResultSet.Result||{};var items=jQuery.map(raw,function(item){item=typeof item==='string'?item:item.name||item.Name||item.Format||'';item=jQuery.trim(item);var lowercased=item.toLowerCase();var returnObject=options&&options.objects===true;if(lowercased&&!map[lowercased]){map[lowercased]=1;return returnObject?{id:item,text:item}:item;} -return null;});items=jQuery.grep(items,function(item){return item!==null;});return items;},parseCompletionsForPlugin:function(data){return{results:this.parseCompletions(data,{objects:true})};},parsePackageCompletions:function(string,options){var packages=jQuery.trim(string).split('\n');var parsed=[];return jQuery.map(packages,function(pkg){var parts=pkg.split('|');var id=jQuery.trim(parts.pop()||'');var text=jQuery.trim(parts.join('|')||'');return options&&options.objects===true?{id:id,text:text}:id;});},getStorageAuth:function(key,success,error){if(!key){throw new Error('Client#getStorageAuth() must be called with a key');} -return jQuery.ajax({url:this.url('/api/storage/auth/form/'+key),success:success,error:error});},getStorageMetadata:function(key,success,error){if(!key){throw new Error('Client#getStorageMetadata() must be called with a key');} -return jQuery.ajax({url:this.url('/api/storage/metadata/'+key),success:success,error:error});},convertStorageMetadataToResource:function(meta){var modified=new Date(this.normalizeTimestamp(meta._last_modified));var created=new Date(this.normalizeTimestamp(meta._creation_date));var createdISO=jQuery.date.toCKANString(created);var modifiedISO=jQuery.date.toCKANString(modified);var filename=meta['filename-original']||meta.key;var format=meta._format||filename.split('.').pop();var url=meta._location;if(url.indexOf('://')===-1){url=ckan.url(url);} -return{url:url,key:meta.key,name:filename,size:meta._content_length,created:createdISO,last_modified:modifiedISO,format:format,mimetype:meta._format||null,resource_type:'file.upload',owner:meta['uploaded-by'],hash:meta._checksum,cache_url:meta._location,cache_url_updated:modifiedISO};},normalizeTimestamp:function(string){var tz=/[+\-]\d{4}|Z/;if(!tz.test(string)){string+='Z';} -return string;}});ckan.sandbox.setup(function(instance){instance.client=new Client({endpoint:ckan.API_ROOT});});ckan.Client=Client;})(this.ckan,this.jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/i18n.min.js b/ckan/public/base/javascript/i18n.min.js deleted file mode 100644 index 09be3fb8dcd..00000000000 --- a/ckan/public/base/javascript/i18n.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan=this.ckan||{};(function(ckan,jQuery,Jed){var domain={"":{"domain":"ckan","lang":"en","plural_forms":"nplurals=2; plural=(n != 1);"}};ckan.i18n=new Jed({domain:'ckan',locale_data:{ckan:domain}});ckan.i18n.translate=jQuery.proxy(ckan.i18n.translate,ckan.i18n);ckan.i18n.load=function(data){if(data&&data['']){jQuery.extend(domain,data);;}};ckan.sandbox.extend({i18n:ckan.i18n,translate:ckan.i18n.translate});})(this.ckan,this.jQuery,this.Jed); \ No newline at end of file diff --git a/ckan/public/base/javascript/main.min.js b/ckan/public/base/javascript/main.min.js deleted file mode 100644 index bb00cc489d0..00000000000 --- a/ckan/public/base/javascript/main.min.js +++ /dev/null @@ -1,5 +0,0 @@ -this.ckan=this.ckan||{};(function(ckan,jQuery){ckan.PRODUCTION='production';ckan.DEVELOPMENT='development';ckan.TESTING='testing';ckan.initialize=function(){var body=jQuery('body');var locale=jQuery('html').attr('lang');var location=window.location;var root=location.protocol+'//'+location.host;function getRootFromData(key){return(body.data(key)||root).replace(/\/$/,'');} -ckan.SITE_ROOT=getRootFromData('siteRoot');ckan.LOCALE_ROOT=getRootFromData('localeRoot');ckan.API_ROOT=getRootFromData('apiRoot');ckan.sandbox().client.getLocaleData(locale).done(function(data){ckan.i18n.load(data);ckan.module.initialize();});};ckan.url=function(path,includeLocale){if(typeof path==='boolean'){includeLocale=path;path=null;} -path=(path||'').replace(/^\//,'');var root=includeLocale?ckan.LOCALE_ROOT:ckan.SITE_ROOT;return path?root+'/'+path:root;};ckan.sandbox.extend({url:ckan.url});if(ckan.ENV!==ckan.TESTING){jQuery(function(){ckan.initialize();});}})(this.ckan,this.jQuery);this.jQuery.fn.ie7redraw=function(){if(jQuery.browser.msie&&jQuery.browser.version=='7.0'){jQuery(this).css('zoom',1);}};(function showIEBanner(){function prepend(parent,child){var element=parent.firstChild;while(element&&element.nodeType>1){element=element.nextSibling;} -parent.insertBefore(child,element);} -if(document.documentElement.className.indexOf('ie7')>-1){var banner=document.createElement('div');var content=document.getElementById('content');banner.className='alert';banner.innerHTML='Notice: ';banner.innerHTML+='This site is currently in development. ';banner.innerHTML+='Internet Explorer 7 may not display as expected';if(content){prepend(content,banner);}}})(); \ No newline at end of file diff --git a/ckan/public/base/javascript/module.min.js b/ckan/public/base/javascript/module.min.js deleted file mode 100644 index 76c0a8a8e17..00000000000 --- a/ckan/public/base/javascript/module.min.js +++ /dev/null @@ -1,9 +0,0 @@ -this.ckan=this.ckan||{};(function(ckan,jQuery,window){var MODULE_PREFIX='data-module';var MODULE_OPTION_PREFIX='data-module-';function BaseModule(el,options,sandbox){this.el=el instanceof jQuery?el:jQuery(el);this.options=jQuery.extend(true,{},this.options,options);this.sandbox=sandbox;} -jQuery.extend(BaseModule.prototype,{el:null,options:null,$:function(selector){return this.el.find(selector);},i18n:function(key){var args=[].slice.call(arguments,1);var i18n=this.options.i18n;var trans=(i18n&&i18n[key])||key;if(typeof trans==='function'){trans=trans.apply(null,args);} -return typeof trans.fetch==='function'?trans.fetch.apply(trans,args):trans;},initialize:function(){},teardown:function(){},remove:function(){this.teardown();this.el.remove();}});function module(name,properties){if(module.registry[name]){throw new Error('There is already a module registered as "'+name+'"');} -if(typeof properties==='function'){properties=properties(jQuery,ckan.i18n.translate,ckan.i18n);} -properties=jQuery.extend({constructor:function Module(){BaseModule.apply(this,arguments);}},properties);module.registry[name]=jQuery.inherit(BaseModule,properties,{namespace:name});return ckan;} -module.registry={};module.instances={};module.initialize=function(){ckan.pubsub.enqueue();jQuery('[data-module]',document.body).each(function(index,element){module.initializeElement(this);});ckan.pubsub.dequeue();return module;};module.initializeElement=function(element){var registry=module.registry;var names=jQuery.trim(element.getAttribute(MODULE_PREFIX)).split(' ');jQuery.each(names,function(index,name){var Module=registry[name];if(Module&&typeof Module==='function'){module.createInstance(Module,element);}});};module.createInstance=function(Module,element){var options=module.extractOptions(element);var sandbox=ckan.sandbox(element,options);var instance=new Module(element,options,sandbox);if(typeof instance.initialize==='function'){instance.initialize();} -var instances=module.instances[Module.namespace]||[];instances.push(instance);module.instances[Module.namespace]=instances;};module.extractOptions=function(element){var attrs=element.attributes;var index=0;var length=attrs.length;var options={};var prop;var attr;var value;for(;index×');module.modal.modal().appendTo(sandbox.body);});},hide:function(){if(this.modal){this.modal.modal('hide');}},loadTemplate:function(){if(!this.options.template){this.sandbox.notify(this.i18n('noTemplate'));return jQuery.Deferred().reject().promise();} -if(!this.promise){this.loading();this.promise=jQuery.get(this.options.template);this.promise.then(this._onTemplateSuccess,this._onTemplateError);} -return this.promise;},_onClick:function(event){event.preventDefault();this.show();},_onTemplateSuccess:function(){this.loading(false);},_onTemplateError:function(){this.loading(false);this.sandbox.notify(this.i18n('loadError'));}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/autocomplete.min.js b/ckan/public/base/javascript/modules/autocomplete.min.js deleted file mode 100644 index e3489570389..00000000000 --- a/ckan/public/base/javascript/modules/autocomplete.min.js +++ /dev/null @@ -1,7 +0,0 @@ -this.ckan.module('autocomplete',function(jQuery,_){return{options:{tags:false,items:10,source:null,interval:1000,dropdownClass:'',containerClass:'',i18n:{noMatches:_('No matches found'),emptySearch:_('Start typing…'),inputTooShort:function(data){return _('Input is too short, must be at least one character').ifPlural(data.min,'Input is too short, must be at least %(min)d characters');}}},initialize:function(){jQuery.proxyAll(this,/_on/,/format/);this.setupAutoComplete();},setupAutoComplete:function(){var settings={width:'resolve',formatResult:this.formatResult,formatNoMatches:this.formatNoMatches,formatInputTooShort:this.formatInputTooShort,dropdownCssClass:this.options.dropdownClass,containerCssClass:this.options.containerClass};if(!this.el.is('select')){if(this.options.tags){settings.tags=this._onQuery;}else{settings.query=this._onQuery;settings.createSearchChoice=this.formatTerm;} -settings.initSelection=this.formatInitialValue;} -var select2=this.el.select2(settings).data('select2');if(this.options.tags&&select2&&select2.search){select2.search.on('keydown',this._onKeydown);}},getCompletions:function(string,fn){var parts=this.options.source.split('?');var end=parts.pop();var source=parts.join('?')+encodeURIComponent(string)+end;var client=this.sandbox.client;var options={format:client.parseCompletionsForPlugin};return client.getCompletions(source,options,fn);},lookup:function(string,fn){var module=this;this._lastTerm=string;if(string){if(!this._debounced){this._debounced=setTimeout(function(){var term=module._lastTerm;delete module._debounced;if(module._last){module._last.abort();} -module._last=module.getCompletions(term,function(terms){fn(module._lastResults=terms);});},this.options.interval);}else{fn(this._lastResults||{results:[]});}}else{fn({results:[]});}},formatResult:function(state,container,query){var term=this._lastTerm||null;if(container){container.attr('data-value',state.id);} -return state.text.split(term).join(term&&term.bold());},formatNoMatches:function(term){return!term?this.i18n('emptySearch'):this.i18n('noMatches');},formatInputTooShort:function(term,min){return this.i18n('inputTooShort',{min:min});},formatTerm:function(term){term=jQuery.trim(term||'');return{id:term.replace(/,/g,'\u002C'),text:term};},formatInitialValue:function(element,callback){var value=jQuery.trim(element.val()||'');var formatted;if(this.options.tags){formatted=jQuery.map(value.split(","),this.formatTerm);}else{formatted=this.formatTerm(value);} -if(typeof callback==='function'){callback(formatted);} -return formatted;},_onQuery:function(options){if(options){this.lookup(options.term,options.callback);}},_onKeydown:function(event){if(event.which===188){event.preventDefault();setTimeout(function(){var e=jQuery.Event("keydown",{which:13});jQuery(event.target).trigger(e);},10);}}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/basic-form.min.js b/ckan/public/base/javascript/modules/basic-form.min.js deleted file mode 100644 index a5cc8a945d7..00000000000 --- a/ckan/public/base/javascript/modules/basic-form.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('basic-form',function(jQuery,_){return{initialize:function(){var message=_('There are unsaved modifications to this form').fetch();this.el.incompleteFormWarning(message);}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/confirm-action.min.js b/ckan/public/base/javascript/modules/confirm-action.min.js deleted file mode 100644 index 92d7fcdc679..00000000000 --- a/ckan/public/base/javascript/modules/confirm-action.min.js +++ /dev/null @@ -1,2 +0,0 @@ -this.ckan.module('confirm-action',function(jQuery,_){return{options:{i18n:{heading:_('Please Confirm Action'),content:_('Are you sure you want to perform this action?'),confirm:_('Confirm'),cancel:_('Cancel')},template:[''].join('\n')},initialize:function(){jQuery.proxyAll(this,/_on/);this.el.on('click',this._onClick);},confirm:function(){this.sandbox.body.append(this.createModal());this.modal.modal('show');this.modal.css('margin-top',this.modal.height()*-0.5);},performAction:function(){var form=jQuery('
',{action:this.el.attr('href'),method:'POST'});form.appendTo('body').submit();},createModal:function(){if(!this.modal){var element=this.modal=jQuery(this.options.template);element.on('click','.btn-primary',this._onConfirmSuccess);element.on('click','.btn-cancel',this._onConfirmCancel);element.modal({show:false});element.find('h3').text(this.i18n('heading'));element.find('.modal-body').text(this.i18n('content'));element.find('.btn-primary').text(this.i18n('confirm'));element.find('.btn-cancel').text(this.i18n('cancel'));} -return this.modal;},_onClick:function(event){event.preventDefault();this.confirm();},_onConfirmSuccess:function(event){this.performAction();},_onConfirmCancel:function(event){this.modal.modal('hide');}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/custom-fields.min.js b/ckan/public/base/javascript/modules/custom-fields.min.js deleted file mode 100644 index 179cc2b4b28..00000000000 --- a/ckan/public/base/javascript/modules/custom-fields.min.js +++ /dev/null @@ -1,2 +0,0 @@ -this.ckan.module('custom-fields',function(jQuery,_){return{options:{fieldSelector:'.control-custom'},initialize:function(){if(!jQuery.browser.msie||!jQuery.browser.version=='7.0'){jQuery.proxyAll(this,/_on/);var delegated=this.options.fieldSelector+':last input:first';this.el.on('change',delegated,this._onChange);this.el.on('change',':checkbox',this._onRemove);this.$('.checkbox').addClass("btn btn-danger icon-remove");}},newField:function(element){this.el.append(this.cloneField(element));},cloneField:function(current){return this.resetField(jQuery(current).clone());},resetField:function(field){function increment(index,string){return(string||'').replace(/\d+/,function(int){return 1+parseInt(int,10);});} -var input=field.find(':input');input.val('').attr('id',increment).attr('name',increment);var label=field.find('label');label.text(increment).attr('for',increment);return field;},disableField:function(field,disable){field.toggleClass('disabled',disable!==false);field.find(':input:not(:checkbox)').prop('disabled',disable!==false);},_onChange:function(event){if(event.target.value!==''){var parent=jQuery(event.target).parents('.control-custom');this.newField(parent);}},_onRemove:function(event){var parent=jQuery(event.target).parents('.control-custom');this.disableField(parent,event.target.checked);}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/dashboard.min.js b/ckan/public/base/javascript/modules/dashboard.min.js deleted file mode 100644 index b1d9ef9b36d..00000000000 --- a/ckan/public/base/javascript/modules/dashboard.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('dashboard',function($,_){return{initialize:function(){if($('.new',this.el)){setTimeout(function(){$('.masthead .notifications').removeClass('notifications-important').html('0');},1000);}}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/data-viewer.min.js b/ckan/public/base/javascript/modules/data-viewer.min.js deleted file mode 100644 index ea6d189c068..00000000000 --- a/ckan/public/base/javascript/modules/data-viewer.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('data-viewer',function(jQuery){return{options:{timeout:200,minHeight:400,padding:30},initialize:function(){jQuery.proxyAll(this,/_on/);this.el.on('load',this._onLoad);this._FirefoxFix();},_onLoad:function(){var self=this;var loc=$('body').data('site-root');if(this.el.attr('src').substring(0,loc.length)===loc){this._recalibrate();setInterval(function(){self._recalibrate();},this.options.timeout);}else{this.el.css('height',600);}},_recalibrate:function(){var height=this.el.contents().find('body').outerHeight(true);height=Math.max(height,this.options.minHeight);this.el.css('height',height+this.options.padding);},_FirefoxFix:function(){if(/#$/.test(this.el.src)){this.el.src=this.el.src.substr(0,this.src.length-1);}else{this.el.src=this.el.src+'#';}}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/follow.min.js b/ckan/public/base/javascript/modules/follow.min.js deleted file mode 100644 index 6f9dc490cc5..00000000000 --- a/ckan/public/base/javascript/modules/follow.min.js +++ /dev/null @@ -1,2 +0,0 @@ -this.ckan.module('follow',function($,_){return{options:{action:null,type:null,id:null,loading:false,i18n:{follow:_('Follow'),unfollow:_('Unfollow')}},initialize:function(){$.proxyAll(this,/_on/);this.el.on('click',this._onClick);},_onClick:function(event){var options=this.options;if(options.action&&options.type&&options.id&&!options.loading){event.preventDefault();var client=this.sandbox.client;var path=options.action+'_'+options.type;options.loading=true;this.el.addClass('disabled');client.call('POST',path,{id:options.id},this._onClickLoaded);}},_onClickLoaded:function(json){var options=this.options;var sandbox=this.sandbox;options.loading=false;this.el.removeClass('disabled');if(options.action=='follow'){options.action='unfollow';this.el.html(' '+this.i18n('unfollow')).removeClass('btn-success').addClass('btn-danger');}else{options.action='follow';this.el.html(' '+this.i18n('follow')).removeClass('btn-danger').addClass('btn-success');} -sandbox.publish('follow-'+options.action+'-'+options.id);}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/related-item.min.js b/ckan/public/base/javascript/modules/related-item.min.js deleted file mode 100644 index 71653228927..00000000000 --- a/ckan/public/base/javascript/modules/related-item.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('related-item',function(jQuery,_){return{options:{truncate:55,truncateMore:null,truncateLess:null,truncatePrefix:' (',truncateSuffix:')',truncateSelector:'.prose',expandedClass:'expanded',i18n:{more:_('show more'),less:_('show less')}},initialize:function(){jQuery.proxyAll(this,/_on/);var options=this.options;this.description=this.$(options.truncateSelector);this.truncated=this.description.truncate({max_length:options.truncate,more:options.truncateMore||this.i18n('more'),less:options.truncateLess||this.i18n('less'),link_prefix:options.truncatePrefix,link_suffix:options.truncateSuffix});this.collapsedHeight=this.el.height();this.truncated.on('expand.truncate',this._onExpand);this.truncated.on('collapse.truncate',this._onCollapse);},_onExpand:function(){var diff=this.el.height()-this.collapsedHeight;this.el.addClass(this.options.expandedClass);this.el.css('margin-bottom',diff*-1);},_onCollapse:function(){this.el.removeClass(this.options.expandedClass);this.el.css('margin-bottom','');}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/resource-form.min.js b/ckan/public/base/javascript/modules/resource-form.min.js deleted file mode 100644 index e92e4d0e5fb..00000000000 --- a/ckan/public/base/javascript/modules/resource-form.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('resource-form',function(jQuery,_){return{initialize:function(){jQuery.proxyAll(this,/_on/);this.sandbox.subscribe('resource:uploaded',this._onResourceUploaded);},teardown:function(){this.sandbox.unsubscribe('resource:uploaded',this._onResourceUploaded);},_onResourceUploaded:function(resource){var key;var field;for(key in resource){if(resource.hasOwnProperty(key)){field=this.$('[name="'+key+'"]');if(field.is(':checkbox, :radio')){this.$('[value="'+resource[key]+'"]').prop('checked',true);}else if(field.is('select')){field.prop('selected',resource[key]);}else{field.val(resource[key]);}}}}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/resource-upload-field.min.js b/ckan/public/base/javascript/modules/resource-upload-field.min.js deleted file mode 100644 index 30c4d70b7c7..00000000000 --- a/ckan/public/base/javascript/modules/resource-upload-field.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('resource-upload-field',function(jQuery,_,i18n){return{options:{form:{method:'POST',file:'file',params:[]},i18n:{label:_('Upload a file'),errorTitle:_('An Error Occurred'),uploadSuccess:_('Resource uploaded'),uploadError:_('Unable to upload file'),authError:_('Unable to authenticate upload'),metadataError:_('Unable to get data for uploaded file')},template:['','','','','',''].join('\n')},initialize:function(){jQuery.proxyAll(this,/_on/);this.upload=jQuery(this.options.template);this.setupFileUpload();this.el.append(this.upload);},setupFileUpload:function(){var options=this.options;this.upload.find('label').text(this.i18n('label'));this.upload.find('input[type=file]').fileupload({type:options.form.method,paramName:options.form.file,forceIframeTransport:true,replaceFileInput:true,autoUpload:false,add:this._onUploadAdd,send:this._onUploadSend,done:this._onUploadDone,fail:this._onUploadFail,always:this._onUploadComplete});},loading:function(show){this.upload.toggleClass('loading',show);},authenticate:function(key,data){data.key=key;var request=this.sandbox.client.getStorageAuth(key);var onSuccess=jQuery.proxy(this._onAuthSuccess,this,data);return request.then(onSuccess,this._onAuthError);},lookupMetadata:function(key,data){var request=this.sandbox.client.getStorageMetadata(key);var onSuccess=jQuery.proxy(this._onMetadataSuccess,this,data);return request.then(onSuccess,this._onMetadataError);},notify:function(message,type){var title=this.i18n('errorTitle');this.sandbox.notify(title,message,type);},generateKey:function(filename){var parts=filename.split('.');var extension=jQuery.url.slugify(parts.pop());filename=jQuery.url.slugify(parts.join('.'))+'.'+extension;return jQuery.date.toISOString()+'/'+filename;},_onUploadAdd:function(event,data){if(data.files&&data.files.length){var key=this.generateKey(data.files[0].name);this.authenticate(key,data);}},_onUploadFail:function(){this.sandbox.notify(this.i18n('uploadError'));},_onUploadSend:function(){this.loading();},_onUploadDone:function(event,data){var result=data.result;if(result&&!(jQuery.isPlainObject(result)&&result.error)){this.lookupMetadata(data.key,data);}else{this._onUploadFail(event,data);}},_onUploadComplete:function(){this.loading(false);},_onAuthSuccess:function(data,response){data.url=response.action;data.formData=this.options.form.params.concat(response.fields);data.submit();},_onAuthError:function(event,data){this.sandbox.notify(this.i18n('authError'));this._onUploadComplete();},_onMetadataSuccess:function(data,response){var resource=this.sandbox.client.convertStorageMetadataToResource(response);this.sandbox.notify(this.i18n('uploadSuccess'),'','success');this.sandbox.publish('resource:uploaded',resource);},_onMetadataError:function(){this.sandbox.notify(this.i18n('metadataError'));this._onUploadComplete();}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/select-switch.min.js b/ckan/public/base/javascript/modules/select-switch.min.js deleted file mode 100644 index b0247c1f558..00000000000 --- a/ckan/public/base/javascript/modules/select-switch.min.js +++ /dev/null @@ -1 +0,0 @@ -this.ckan.module('select-switch',{options:{target:'select'},initialize:function(){var _this=this;this.el.on('change',this.options.target,function(){_this.el.submit();});}}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/slug-preview.min.js b/ckan/public/base/javascript/modules/slug-preview.min.js deleted file mode 100644 index beca969ceee..00000000000 --- a/ckan/public/base/javascript/modules/slug-preview.min.js +++ /dev/null @@ -1,3 +0,0 @@ -this.ckan.module('slug-preview-target',{initialize:function(){var sandbox=this.sandbox;var options=this.options;var el=this.el;sandbox.subscribe('slug-preview-created',function(preview){el.after(preview);});sandbox.subscribe('slug-preview-modified',function(){el.off('.slug-preview');});el.on('keyup.slug-preview',function(event){sandbox.publish('slug-target-changed',this.value);});}});this.ckan.module('slug-preview-slug',function(jQuery,_){return{options:{prefix:'',placeholder:'',i18n:{url:_('URL'),edit:_('Edit')}},initialize:function(){var sandbox=this.sandbox;var options=this.options;var el=this.el;var _=sandbox.translate;var slug=el.slug();var parent=slug.parents('.control-group');var preview;if(!(parent.length)){return;} -if(!parent.hasClass('error')){preview=parent.slugPreview({prefix:options.prefix,placeholder:options.placeholder,i18n:{'URL':this.i18n('url'),'Edit':this.i18n('edit')}});slug.keypress(function(){if(event.charCode){sandbox.publish('slug-preview-modified',preview[0]);}});sandbox.publish('slug-preview-created',preview[0]);if(jQuery.browser.msie&&jQuery.browser.version=='7.0'){jQuery('.btn').on('click',preview,function(){jQuery('.controls').ie7redraw();});preview.hide();setTimeout(function(){preview.show();jQuery('.controls').ie7redraw();},10);}} -sandbox.subscribe('slug-target-changed',function(value){slug.val(value).trigger('change');});}};}); \ No newline at end of file diff --git a/ckan/public/base/javascript/modules/table-toggle-more.js b/ckan/public/base/javascript/modules/table-toggle-more.js new file mode 100644 index 00000000000..dde01d88230 --- /dev/null +++ b/ckan/public/base/javascript/modules/table-toggle-more.js @@ -0,0 +1,66 @@ +/* Table toggle more + * When a table has more things to it that need to be hidden and then shown more + */ +this.ckan.module('table-toggle-more', function($, _) { + return { + /* options object can be extended using data-module-* attributes */ + options: { + i18n: { + show_more: _('Show more'), + show_less: _('Hide') + } + }, + + /* Initialises the module setting up elements and event listeners. + * + * Returns nothing. + */ + initialize: function () { + $.proxyAll(this, /_on/); + this.el.addClass('table-toggle-more'); + // Do we actually want this table to expand? + var rows = $('.toggle-more', this.el).length; + if (rows) { + // How much is the colspan? + var cols = $('thead tr th', this.el).length; + var template_more = [ + '', + '', + '', + ''+this.i18n('show_more')+'', + ''+this.i18n('show_less')+'', + '', + '', + '' + ].join('\n'); + var template_seperator = [ + '', + '', + '', + '' + ].join('\n'); + + var seperator = $(template_seperator).insertAfter($('.toggle-more:last-child', this.el)); + $(template_more).insertAfter(seperator); + + $('.show-more', this.el).on('click', this._onShowMore); + $('.show-less', this.el).on('click', this._onShowLess); + } + }, + + _onShowMore: function($e) { + $e.preventDefault(); + this.el + .removeClass('table-toggle-more') + .addClass('table-toggle-less'); + }, + + _onShowLess: function($e) { + $e.preventDefault(); + this.el + .removeClass('table-toggle-less') + .addClass('table-toggle-more'); + } + + } +}); diff --git a/ckan/public/base/javascript/notify.min.js b/ckan/public/base/javascript/notify.min.js deleted file mode 100644 index 9a3f00c7a09..00000000000 --- a/ckan/public/base/javascript/notify.min.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(ckan,jQuery){function notify(title,message,type){var alert=notify.initialize(notify.create(title,message,type));notify.el.append(alert);} -notify.el=jQuery('.flash-messages',document.body);notify.create=function(title,message,type){var alert=jQuery('
');alert.addClass('alert-'+(type||'error'));alert.find('strong').text(title);alert.find('span').text(message);return alert;};notify.initialize=function(element){element=element instanceof jQuery?element:jQuery(element);return element.append(jQuery('×')).alert();};notify.el.find('.alert').each(function(){notify.initialize(this);});notify.el.on('click','.close',function(){jQuery(this).parent().alert('close');});ckan.notify=notify;ckan.sandbox.extend({notify:notify});})(this.ckan,this.jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.date-helpers.min.js b/ckan/public/base/javascript/plugins/jquery.date-helpers.min.js deleted file mode 100644 index aede7abe1da..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.date-helpers.min.js +++ /dev/null @@ -1,4 +0,0 @@ -this.jQuery.date={METHODS:{"yyyy":"getUTCFullYear","MM":"getUTCMonth","dd":"getUTCDate","HH":"getUTCHours","mm":"getUTCMinutes","ss":"getUTCSeconds","fff":"getUTCMilliseconds"},ISO8601:"yyyy-MM-ddTHH:mm:ss.fffZ",CKAN8601:"yyyy-MM-ddTHH:mm:ss",format:function(format,date){var map=this.METHODS;date=date||new Date();function pad(str,exp){str=""+str;exp=exp.replace(/[a-z]/ig,'0');return str.length!==exp.length?exp.slice(str.length)+str:str;} -return format.replace(/([a-zA-Z])\1+/g,function(_,$1){if(map[_]){var value=date[map[_]]();if(_==='MM'){value+=1;} -return pad(value,_);} -return _;});},toCKANString:function(date){return this.format(this.CKAN8601,date);},toISOString:function(date){date=date||new Date();if(date.toISOString){return date.toISOString();}else{return this.format(this.ISO8601,date);}}}; \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.form-warning.min.js b/ckan/public/base/javascript/plugins/jquery.form-warning.min.js deleted file mode 100644 index 13d95e273c8..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.form-warning.min.js +++ /dev/null @@ -1,3 +0,0 @@ -(function(jQuery){jQuery.fn.incompleteFormWarning=function(message){return this.each(function(){var form=jQuery(this);var state=form.serialize();function onWindowUnload(event){if(event.originalEvent.returnValue){event.originalEvent.returnValue=message;} -return message;} -form.on({change:function(){var method=form.serialize()===state?'off':'on';jQuery(window)[method]('beforeunload',onWindowUnload);},submit:function(){jQuery(window).off('beforeunload',onWindowUnload);}});});};})(this.jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.inherit.min.js b/ckan/public/base/javascript/plugins/jquery.inherit.min.js deleted file mode 100644 index 756c1bd4677..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.inherit.min.js +++ /dev/null @@ -1,6 +0,0 @@ -(function(jQuery){function DummyObject(){} -function create(proto){if(typeof proto!=='object'){return{};} -else if(Object.create){return Object.create(proto);} -DummyObject.prototype=proto;return new DummyObject();} -jQuery.inherit=function(parent,methods,properties){methods=methods||{};function Object(){parent.apply(this,arguments);} -var Child=methods.hasOwnProperty('constructor')?methods.constructor:Object;Child.prototype=create(parent.prototype);Child.prototype.constructor=Child;jQuery.extend(Child.prototype,methods);return jQuery.extend(Child,parent,properties,{__super__:parent.prototype});};})(this.jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.proxy-all.min.js b/ckan/public/base/javascript/plugins/jquery.proxy-all.min.js deleted file mode 100644 index f5e77e2ebeb..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.proxy-all.min.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(jQuery){jQuery.proxyAll=function(obj){var methods=[].slice.call(arguments,1);var index=0;var length=methods.length;var property;var method;for(;index','','','',''].join('\n')};$.fn.slugPreview=slugPreview;})(this.jQuery,this); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.slug.min.js b/ckan/public/base/javascript/plugins/jquery.slug.min.js deleted file mode 100644 index 67b767d0ce5..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.slug.min.js +++ /dev/null @@ -1,5 +0,0 @@ -(function($){function onChange(event){var value=this.value;var updated=$.url.slugify(value,true);if(value!==updated){this.value=updated;$(this).trigger('slugify',[this.value,value]);}} -function onKeypress(event){if(!event.charCode){return;} -event.preventDefault();var value=this.value;var start=this.selectionStart;var end=this.selectionEnd;var char=String.fromCharCode(event.charCode);var updated;var range;if(this.setSelectionRange){updated=value.substring(0,start)+char+value.substring(end,value.length);this.value=$.url.slugify(updated,false);this.setSelectionRange(start+1,start+1);}else if(document.selection&&document.selection.createRange){range=document.selection.createRange();range.text=char+range.text;} -$(this).trigger('slugify',[this.value,value]);} -$.fn.slug=function(){return this.each(function(){$(this).on({'blur.slug':onChange,'change.slug':onChange,'keypress.slug':onKeypress});});};$.extend($.fn.slug,{onChange:onChange,onKeypress:onKeypress});})(this.jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.truncator.min.js b/ckan/public/base/javascript/plugins/jquery.truncator.min.js deleted file mode 100644 index be47cdf7da1..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.truncator.min.js +++ /dev/null @@ -1,8 +0,0 @@ -(function($){var trailing_whitespace=true;$.fn.truncate=function(options){var opts=$.extend({},$.fn.truncate.defaults,options);var collected=this.map(function(){var content_length=$.trim(squeeze($(this).text())).length;if(content_length<=opts.max_length) -return;var actual_max_length=opts.max_length-opts.more.length-opts.link_prefix.length-opts.link_suffix.length;var truncated_node=recursivelyTruncate(this,actual_max_length);var full_node=$(this).hide();truncated_node.insertAfter(full_node);findNodeForMore(truncated_node).append(opts.ellipses+opts.link_prefix+''+opts.more+''+opts.link_suffix);findNodeForLess(full_node).append(opts.link_prefix+''+opts.less+''+opts.link_suffix);truncated_node.find('a:last').click(function(event){event.preventDefault();truncated_node.hide();full_node.show();truncated_node.trigger({type:'expand.truncate',relatedTarget:full_node[0]});});full_node.find('a:last').click(function(event){event.preventDefault();truncated_node.show();full_node.hide();truncated_node.trigger({type:'collapse.truncate',relatedTarget:full_node[0]});});return truncated_node[0];});return this.pushStack(collected);} -$.fn.truncate.defaults={max_length:100,more:'more',less:'less',ellipses:'…',css_more_class:'truncator-link truncator-more',css_less_class:'truncator-link truncator-less',link_prefix:' (',link_suffix:')'};function recursivelyTruncate(node,max_length){return(node.nodeType==3)?truncateText(node,max_length):truncateNode(node,max_length);} -function truncateNode(node,max_length){var node=$(node);var new_node=node.clone().empty();var truncatedChild;node.contents().each(function(){var remaining_length=max_length-new_node.text().length;if(remaining_length==0)return;truncatedChild=recursivelyTruncate(this,remaining_length);if(truncatedChild)new_node.append(truncatedChild);});return new_node;} -function truncateText(node,max_length){var text=squeeze(node.data);if(trailing_whitespace) -text=text.replace(/^ /,'');trailing_whitespace=!!text.match(/ $/);var text=text.slice(0,max_length);text=$('
').text(text).html();return text;} -function squeeze(string){return string.replace(/\s+/g,' ');} -function findNodeForMore(node){var $node=$(node);var last_child=$node.children(":last");if(!last_child)return node;var display=last_child.css('display');if(!display||display=='inline')return $node;return findNodeForMore(last_child);};function findNodeForLess(node){var $node=$(node);var last_child=$node.children(":last");if(last_child&&last_child.is('p'))return last_child;return node;};})(jQuery); \ No newline at end of file diff --git a/ckan/public/base/javascript/plugins/jquery.url-helpers.min.js b/ckan/public/base/javascript/plugins/jquery.url-helpers.min.js deleted file mode 100644 index bb194ff1d71..00000000000 --- a/ckan/public/base/javascript/plugins/jquery.url-helpers.min.js +++ /dev/null @@ -1,3 +0,0 @@ -(function($,window){$.url={escape:function(string){return window.encodeURIComponent(string||'').replace(/%20/g,'+');},slugify:function(string,trim){var str='';var index=0;var length=string.length;var map=this.map;for(;index ul { .border-radius(0); + .box-shadow(none); border: 0; } .module .pagination li a { border-top: none; border-bottom: none; + padding-top: 7px; + padding-bottom: 7px; } .module .pagination li:first-child a, @@ -196,7 +203,14 @@ background-color: @layoutTrimBackgroundColor; border-bottom: 1px solid @genericBorderColor; margin-top: 0; + margin-bottom: 0; .border-radius(3px 3px 0 0); + .actions { + position: relative; + float: right; + top: -10px; + right: -15px; + } } .module .module-tags { diff --git a/ckan/public/base/less/nav.less b/ckan/public/base/less/nav.less index c799313e2a5..f49b8101c29 100644 --- a/ckan/public/base/less/nav.less +++ b/ckan/public/base/less/nav.less @@ -40,11 +40,6 @@ display:block; } -.nav-item [class^=icon] { - font-size: 1.2em; - margin: -1px 0 -1px -1px; -} - .module-narrow .nav-item > a { padding-left: @gutterSmallX; padding-right: @gutterSmallX; @@ -143,3 +138,12 @@ margin-top: -8px; } } + +.nav-simple > .nav-btn { + padding-left: 0; + padding-right: 0; + text-align: center; + .btn { + display: inline-block; + } +} diff --git a/ckan/public/base/less/tables.less b/ckan/public/base/less/tables.less index bc15aa75047..bc80be194f0 100644 --- a/ckan/public/base/less/tables.less +++ b/ckan/public/base/less/tables.less @@ -31,3 +31,40 @@ display: block; } } + +.js { + .table-toggle-more { + .toggle-more { + display: none; + } + .show-more { + display: inline; + } + .show-less { + display: none; + } + .toggle-seperator { + display: table-row; + td { + height: 11px; + padding: 0; + background-image: url("@{imagePath}/table-seperator.png"); + } + } + } + .table .toggle-show td { + background: none; + text-align: center; + } + .table-toggle-less { + .show-less { + display: inline; + } + .show-more { + display: none; + } + .toggle-seperator { + display: none; + } + } +} diff --git a/ckan/public/base/less/variables.less b/ckan/public/base/less/variables.less index 786601de549..19420bb644c 100644 --- a/ckan/public/base/less/variables.less +++ b/ckan/public/base/less/variables.less @@ -46,7 +46,7 @@ @navItemActiveBackgroundColor: #8CA0A6; @pillTextColor: @navItemActiveTextColor; -@pillBackgroundColor: @navItemActiveBackgroundColor; +@pillBackgroundColor: darken(@navItemActiveBackgroundColor, 10%); @bannerTextColor: @mastheadTextColor; @bannerBackgroundColor: @mastheadBackgroundColor; diff --git a/ckan/public/base/test/spec/ckan.spec.min.js b/ckan/public/base/test/spec/ckan.spec.min.js deleted file mode 100644 index b88bb1a9e3f..00000000000 --- a/ckan/public/base/test/spec/ckan.spec.min.js +++ /dev/null @@ -1,2 +0,0 @@ -describe('ckan.initialize()',function(){beforeEach(function(){this.promise=jQuery.Deferred();this.target=sinon.stub(ckan.Client.prototype,'getLocaleData').returns(this.promise);});afterEach(function(){this.target.restore();});it('should load the localisations for the current page',function(){ckan.initialize() -assert.called(this.target);});it('should load the localisations into the i18n library',function(){var target=sinon.stub(ckan.i18n,'load');var data={lang:{}};ckan.initialize();this.promise.resolve(data);assert.called(target);assert.calledWith(target,data);target.restore();});it('should initialize the module on the page',function(){var target=sinon.stub(ckan.module,'initialize');ckan.initialize();this.promise.resolve();assert.called(target);target.restore();});});describe('ckan.url()',function(){beforeEach(function(){ckan.SITE_ROOT='http://example.com';ckan.LOCALE_ROOT=ckan.SITE_ROOT+'/en';});it('should return the ckan.SITE_ROOT',function(){var target=ckan.url();assert.equal(target,ckan.SITE_ROOT);});it('should return the ckan.LOCALE_ROOT if true is passed',function(){var target=ckan.url(true);assert.equal(target,ckan.LOCALE_ROOT);});it('should append the path provided',function(){var target=ckan.url('/test.html');assert.equal(target,ckan.SITE_ROOT+'/test.html');});it('should append the path to the locale provided',function(){var target=ckan.url('/test.html',true);assert.equal(target,ckan.LOCALE_ROOT+'/test.html');});it('should handle missing preceding slashes',function(){var target=ckan.url('test.html');assert.equal(target,ckan.SITE_ROOT+'/test.html');});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/client.spec.min.js b/ckan/public/base/test/spec/client.spec.min.js deleted file mode 100644 index ac4cda6f624..00000000000 --- a/ckan/public/base/test/spec/client.spec.min.js +++ /dev/null @@ -1,8 +0,0 @@ -describe('ckan.Client()',function(){var Client=ckan.Client;beforeEach(function(){this.client=new Client();});it('should add a new instance to each client',function(){var target=ckan.sandbox().client;assert.instanceOf(target,Client);});it('should set the .endpoint property to options.endpoint',function(){var client=new Client({endpoint:'http://example.com'});assert.equal(client.endpoint,'http://example.com');});it('should default the endpoint to a blank string',function(){assert.equal(this.client.endpoint,'');});describe('.url(path)',function(){beforeEach(function(){this.client.endpoint='http://api.example.com';});it('should return the path with the enpoint prepended',function(){assert.equal(this.client.url('/api/endpoint'),'http://api.example.com/api/endpoint');});it('should normalise preceding slashes in the path',function(){assert.equal(this.client.url('api/endpoint'),'http://api.example.com/api/endpoint');});it('should return the string if it already has a protocol',function(){assert.equal(this.client.url('http://example.com/my/endpoint'),'http://example.com/my/endpoint');});});describe('.getTemplate(filename, params, success, error)',function(){beforeEach(function(){this.fakePromise=sinon.stub(jQuery.Deferred());this.fakePromise.then.returns(this.fakePromise);sinon.stub(jQuery,'get').returns(this.fakePromise);});afterEach(function(){jQuery.get.restore();});it('should return a jQuery promise',function(){var target=this.client.getTemplate('test.html');assert.ok(target===this.fakePromise,'target === this.fakePromise');});it('should request the template file',function(){var target=this.client.getTemplate('test.html');assert.called(jQuery.get);assert.calledWith(jQuery.get,'/api/1/util/snippet/test.html',{});});it('should request the template file with any provided params',function(){var options={limit:5,page:2};var target=this.client.getTemplate('test.html',options);assert.called(jQuery.get);assert.calledWith(jQuery.get,'/api/1/util/snippet/test.html',options);});});describe('.getLocaleData(locale, success, error)',function(){beforeEach(function(){this.fakePromise=sinon.stub(jQuery.Deferred());this.fakePromise.then.returns(this.fakePromise);sinon.stub(jQuery,'getJSON').returns(this.fakePromise);});afterEach(function(){jQuery.getJSON.restore();});it('should return a jQuery promise',function(){var target=this.client.getLocaleData('en');assert.ok(target===this.fakePromise,'target === this.fakePromise');});it('should request the locale provided',function(){var target=this.client.getLocaleData('en');assert.called(jQuery.getJSON);assert.calledWith(jQuery.getJSON,'/api/i18n/en');});});describe('.getCompletions(url, options, success, error)',function(){beforeEach(function(){this.fakePiped=sinon.stub(jQuery.Deferred());this.fakePiped.then.returns(this.fakePiped);this.fakePiped.promise.returns(this.fakePiped);this.fakePromise=sinon.stub(jQuery.Deferred());this.fakePromise.pipe.returns(this.fakePiped);sinon.stub(jQuery,'ajax').returns(this.fakePromise);});afterEach(function(){jQuery.ajax.restore();});it('should return a jQuery promise',function(){var target=this.client.getCompletions('url');assert.ok(target===this.fakePiped,'target === this.fakePiped');});it('should make an ajax request for the url provided',function(){function success(){} -function error(){} -var target=this.client.getCompletions('url',success,error);assert.called(jQuery.ajax);assert.calledWith(jQuery.ajax,{url:'/url'});assert.called(this.fakePiped.then);assert.calledWith(this.fakePiped.then,success,error);});it('should pipe the result through .parseCompletions()',function(){var target=this.client.getCompletions('url');assert.called(this.fakePromise.pipe);assert.calledWith(this.fakePromise.pipe,this.client.parseCompletions);});it('should allow a custom format option to be provided',function(){function format(){} -var target=this.client.getCompletions('url',{format:format});assert.called(this.fakePromise.pipe);assert.calledWith(this.fakePromise.pipe,format);});});describe('.parseCompletions(data, options)',function(){it('should return a string of tags for a ResultSet collection',function(){var data={ResultSet:{Result:[{"Name":"1 percent"},{"Name":"18thc"},{"Name":"19thcentury"}]}};var target=this.client.parseCompletions(data);assert.deepEqual(target,["1 percent","18thc","19thcentury"]);});it('should return a string of formats for a ResultSet collection',function(){var data={ResultSet:{Result:[{"Format":"json"},{"Format":"csv"},{"Format":"text"}]}};var target=this.client.parseCompletions(data);assert.deepEqual(target,["json","csv","text"]);});it('should strip out duplicates with a case insensitive comparison',function(){var data={ResultSet:{Result:[{"Name":" Test"},{"Name":"test"},{"Name":"TEST"}]}};var target=this.client.parseCompletions(data);assert.deepEqual(target,["Test"]);});it('should return an array of objects if options.objects is true',function(){var data={ResultSet:{Result:[{"Format":"json"},{"Format":"csv"},{"Format":"text"}]}};var target=this.client.parseCompletions(data,{objects:true});assert.deepEqual(target,[{id:"json",text:"json"},{id:"csv",text:"csv"},{id:"text",text:"text"}]);});it('should call .parsePackageCompletions() id data is a string',function(){var data='Name|id';var target=sinon.stub(this.client,'parsePackageCompletions');this.client.parseCompletions(data,{objects:true});assert.called(target);assert.calledWith(target,data);});});describe('.parseCompletionsForPlugin(data)',function(){it('should return a string of tags for a ResultSet collection',function(){var data={ResultSet:{Result:[{"Name":"1 percent"},{"Name":"18thc"},{"Name":"19thcentury"}]}};var target=this.client.parseCompletionsForPlugin(data);assert.deepEqual(target,{results:[{id:"1 percent",text:"1 percent"},{id:"18thc",text:"18thc"},{id:"19thcentury",text:"19thcentury"}]});});});describe('.parsePackageCompletions(string, options)',function(){it('should parse the package completions string',function(){var data='Package 1|package-1\nPackage 2|package-2\nPackage 3|package-3\n';var target=this.client.parsePackageCompletions(data);assert.deepEqual(target,['package-1','package-2','package-3']);});it('should return an object if options.object is true',function(){var data='Package 1|package-1\nPackage 2|package-2\nPackage 3|package-3\n';var target=this.client.parsePackageCompletions(data,{objects:true});assert.deepEqual(target,[{id:'package-1',text:'Package 1'},{id:'package-2',text:'Package 2'},{id:'package-3',text:'Package 3'}]);});});describe('.getStorageAuth()',function(){beforeEach(function(){this.fakePromise=sinon.mock(jQuery.Deferred());sinon.stub(jQuery,'ajax').returns(this.fakePromise);});afterEach(function(){jQuery.ajax.restore();});it('should return a jQuery promise',function(){var target=this.client.getStorageAuth('filename');assert.equal(target,this.fakePromise);});it('should call request a new auth token',function(){function success(){} -function error(){} -var target=this.client.getStorageAuth('filename',success,error);assert.called(jQuery.ajax);assert.calledWith(jQuery.ajax,{url:'/api/storage/auth/form/filename',success:success,error:error});});});describe('.getStorageMetadata()',function(){beforeEach(function(){this.fakePromise=sinon.mock(jQuery.Deferred());sinon.stub(jQuery,'ajax').returns(this.fakePromise);});afterEach(function(){jQuery.ajax.restore();});it('should return a jQuery promise',function(){var target=this.client.getStorageMetadata('filename');assert.equal(target,this.fakePromise);});it('should call request a new auth token',function(){function success(){} -function error(){} -var target=this.client.getStorageMetadata('filename',success,error);assert.called(jQuery.ajax);assert.calledWith(jQuery.ajax,{url:'/api/storage/metadata/filename',success:success,error:error});});it('should throw an error if no filename is provided',function(){var client=this.client;assert.throws(function(){client.getStorageMetadata();});});});describe('.convertStorageMetadataToResource(meta)',function(){beforeEach(function(){this.meta={"_checksum":"md5:527c97d2aa3ed1b40aea4b7ddf98692e","_content_length":122632,"_creation_date":"2012-07-17T14:35:35","_label":"2012-07-17T13:35:35.540Z/cat.jpg","_last_modified":"2012-07-17T14:35:35","_location":"http://example.com/storage/f/2012-07-17T13%3A35%3A35.540Z/cat.jpg","filename-original":"cat.jpg","key":"2012-07-17T13:35:35.540Z/cat.jpg","uploaded-by":"user"};});it('should return a representation for a resource',function(){var target=this.client.convertStorageMetadataToResource(this.meta);assert.deepEqual(target,{url:'http://example.com/storage/f/2012-07-17T13%3A35%3A35.540Z/cat.jpg',key:'2012-07-17T13:35:35.540Z/cat.jpg',name:'cat.jpg',size:122632,created:"2012-07-17T14:35:35",last_modified:"2012-07-17T14:35:35",format:'jpg',mimetype:null,resource_type:'file.upload',owner:'user',hash:'md5:527c97d2aa3ed1b40aea4b7ddf98692e',cache_url:'http://example.com/storage/f/2012-07-17T13%3A35%3A35.540Z/cat.jpg',cache_url_updated:'2012-07-17T14:35:35'});});it('should provide a full url',function(){ckan.SITE_ROOT='http://example.com';this.meta._location="/storage/f/2012-07-17T13%3A35%3A35.540Z/cat.jpg";var target=this.client.convertStorageMetadataToResource(this.meta);assert.equal(target.url,'http://example.com/storage/f/2012-07-17T13%3A35%3A35.540Z/cat.jpg');});it('should not include microseconds or timezone in timestamps',function(){ckan.SITE_ROOT='http://example.com';var target=this.client.convertStorageMetadataToResource(this.meta);assert.ok(!(/\.\d\d\d/).test(target.last_modified),'no microseconds');assert.ok(!(/((\+|\-)\d{4}|Z)$/).test(target.last_modified),'no timezone');});it('should use the mime type for the format if found',function(){this.meta._format='image/jpeg';var target=this.client.convertStorageMetadataToResource(this.meta);assert.equal(target.format,'image/jpeg','format');assert.equal(target.mimetype,'image/jpeg','mimetype');});});describe('.normalizeTimestamp(timestamp)',function(){it('should add a timezone to a timestamp without one',function(){var target=this.client.normalizeTimestamp("2012-07-17T14:35:35");assert.equal(target,"2012-07-17T14:35:35Z");});it('should not add a timezone to a timestamp with one already',function(){var target=this.client.normalizeTimestamp("2012-07-17T14:35:35Z");assert.equal(target,"2012-07-17T14:35:35Z",'timestamp with Z');target=this.client.normalizeTimestamp("2012-07-17T14:35:35+0100");assert.equal(target,"2012-07-17T14:35:35+0100",'timestamp with +0100');target=this.client.normalizeTimestamp("2012-07-17T14:35:35-0400");assert.equal(target,"2012-07-17T14:35:35-0400",'timestamp with -0400');});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/module.spec.min.js b/ckan/public/base/test/spec/module.spec.min.js deleted file mode 100644 index 772f06a9459..00000000000 --- a/ckan/public/base/test/spec/module.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.module(id, properties|callback)',function(){beforeEach(function(){ckan.module.registry={};ckan.module.instances={};this.factory={};});it('should add a new item to the registry',function(){ckan.module('test',this.factory);assert.instanceOf(new ckan.module.registry.test(),ckan.module.BaseModule);});it('should allow a function to be provided',function(){var target=sinon.stub().returns({});ckan.module('test',target);assert.called(target);});it('should pass jQuery, i18n.translate() and i18n into the function',function(){var target=sinon.stub().returns({});ckan.module('test',target);assert.calledWith(target,jQuery,ckan.i18n.translate,ckan.i18n);});it('should throw an exception if the module is already defined',function(){ckan.module('name',this.factory);assert.throws(function(){ckan.module('name',this.factory);});});it('should return the ckan object',function(){assert.equal(ckan.module('name',this.factory),ckan);});describe('.initialize()',function(){beforeEach(function(){this.element1=jQuery('
').appendTo(this.fixture);this.element2=jQuery('
').appendTo(this.fixture);this.element3=jQuery('
').appendTo(this.fixture);this.test1=sinon.spy();ckan.module.registry={test1:this.test1};this.target=sinon.stub(ckan.module,'createInstance');});afterEach(function(){this.target.restore();});it('should find all elements with the "data-module" attribute',function(){ckan.module.initialize();assert.called(this.target);});it('should skip modules that are not functions',function(){ckan.module.initialize();assert.calledTwice(this.target);});it('should call module.createInstance() with the element and factory',function(){ckan.module.initialize();assert.calledWith(this.target,this.test1,this.element1[0]);assert.calledWith(this.target,this.test1,this.element2[0]);});it('should return the module object',function(){assert.equal(ckan.module.initialize(),ckan.module);});it('should initialize more than one module sepearted by a space',function(){this.fixture.empty();this.element4=jQuery('
').appendTo(this.fixture);this.test2=ckan.module.registry.test2=sinon.spy();ckan.module.initialize();assert.calledWith(this.target,this.test1,this.element4[0]);assert.calledWith(this.target,this.test2,this.element4[0]);});it('should defer all published events untill all modules have loaded',function(){var pubsub=ckan.pubsub;var callbacks=[];ckan.module.registry={test1:function(){},test2:function(){}};this.target.restore();this.target=sinon.stub(ckan.module,'createInstance',function(){var callback=sinon.spy();pubsub.publish('test');pubsub.subscribe('test',callback);callbacks.push(callback);});ckan.module.initialize();assert.ok(callbacks.length,'no callbacks were created');jQuery.each(callbacks,function(){assert.calledThrice(this);});});});describe('.createInstance(Module, element)',function(){beforeEach(function(){this.element=document.createElement('div');this.factory=ckan.module.BaseModule;this.factory.options=this.defaults={test1:'a',test2:'b',test3:'c'};this.sandbox={i18n:{translate:sinon.spy()}};sinon.stub(ckan,'sandbox').returns(this.sandbox);this.extractedOptions={test1:1,test2:2};sinon.stub(ckan.module,'extractOptions').returns(this.extractedOptions);});afterEach(function(){ckan.sandbox.restore();ckan.module.extractOptions.restore();});it('should extract the options from the element',function(){ckan.module.createInstance(this.factory,this.element);assert.called(ckan.module.extractOptions);assert.calledWith(ckan.module.extractOptions,this.element);});it('should not modify the defaults object',function(){var clone=jQuery.extend({},this.defaults);ckan.module.createInstance(this.factory,this.element);assert.deepEqual(this.defaults,clone);});it('should create a sandbox object',function(){ckan.module.createInstance(this.factory,this.element);assert.called(ckan.sandbox);assert.calledWith(ckan.sandbox,this.element);});it('should initialize the module factory with the sandbox, options and translate function',function(){var target=sinon.spy();ckan.module.createInstance(target,this.element);assert.called(target);assert.calledWith(target,this.element,this.extractedOptions,this.sandbox);});it('should initialize the module as a constructor',function(){var target=sinon.spy();ckan.module.createInstance(target,this.element);assert.calledWithNew(target);});it('should call the .initialize() method if one exists',function(){var init=sinon.spy();var target=sinon.stub().returns({initialize:init});ckan.module.createInstance(target,this.element);assert.called(init);});it('should push the new instance into an array under ckan.module.instances',function(){var target=function MyModule(){return{'mock':'instance'};};target.namespace='test';ckan.module.createInstance(target,this.element);assert.deepEqual(ckan.module.instances.test,[{'mock':'instance'}]);});it('should push further instances into the existing array under ckan.module.instances',function(){var target=function MyModule(){return{'mock':'instance3'};};target.namespace='test';ckan.module.instances.test=[{'mock':'instance1'},{'mock':'instance2'}];ckan.module.createInstance(target,this.element);assert.deepEqual(ckan.module.instances.test,[{'mock':'instance1'},{'mock':'instance2'},{'mock':'instance3'}]);});});describe('.extractOptions(element)',function(){it('should extract the data keys from the element',function(){var element=jQuery('
',{'data-not-module':'skip','data-module':'skip','data-module-a':'capture','data-module-b':'capture','data-module-c':'capture'})[0];var target=ckan.module.extractOptions(element);assert.deepEqual(target,{a:'capture',b:'capture',c:'capture'});});it('should convert JSON contents of keys into JS primitives',function(){var element=jQuery('
',{'data-module-null':'null','data-module-int':'100','data-module-arr':'[1, 2, 3]','data-module-obj':'{"a": 1, "b":2, "c": 3}','data-module-str':'hello'})[0];var target=ckan.module.extractOptions(element);assert.deepEqual(target,{'null':null,'int':100,'arr':[1,2,3],'obj':{"a":1,"b":2,"c":3},'str':'hello'});});it('should simply use strings for content that it cannot parse as JSON',function(){var element=jQuery('
',{'data-module-url':'http://example.com/path/to.html','data-module-bad':'{oh: 1, no'})[0];var target=ckan.module.extractOptions(element);assert.deepEqual(target,{'url':'http://example.com/path/to.html','bad':'{oh: 1, no'});});it('should convert keys with hyphens into camelCase',function(){var element=jQuery('
',{'data-module-long-property':'long','data-module-really-very-long-property':'longer'})[0];var target=ckan.module.extractOptions(element);assert.deepEqual(target,{'longProperty':'long','reallyVeryLongProperty':'longer'});});it('should set boolean attributes to true',function(){var element=jQuery('
',{'data-module-long-property':''})[0];var target=ckan.module.extractOptions(element);assert.deepEqual(target,{'longProperty':true});});});describe('BaseModule(element, options, sandbox)',function(){var BaseModule=ckan.module.BaseModule;beforeEach(function(){this.el=jQuery('
');this.options={};this.sandbox=ckan.sandbox();this.module=new BaseModule(this.el,this.options,this.sandbox);});it('should assign .el as the element option',function(){assert.ok(this.module.el===this.el);});it('should wrap .el in jQuery if not already wrapped',function(){var element=document.createElement('div');var target=new BaseModule(element,this.options,this.sandbox);assert.ok(target.el instanceof jQuery);});it('should deep extend the options object',function(){var target=sinon.stub(jQuery,'extend');new BaseModule(this.el,this.options,this.sandbox);assert.called(target);assert.calledWith(target,true,{},BaseModule.prototype.options,this.options);target.restore();});it('should assign the sandbox property',function(){assert.equal(this.module.sandbox,this.sandbox);});describe('.$(selector)',function(){it('should find children within the module element',function(){this.module.el.append(jQuery(''));assert.equal(this.module.$('input').length,2);});});describe('.i18n()',function(){beforeEach(function(){this.i18n={first:'first string',second:{fetch:sinon.stub().returns('second string')},third:sinon.stub().returns('third string')};this.module.options.i18n=this.i18n;});it('should return the translation string',function(){var target=this.module.i18n('first');assert.equal(target,'first string');});it('should call fetch on the translation string if it exists',function(){var target=this.module.i18n('second');assert.equal(target,'second string');});it('should return just the key if no translation exists',function(){var target=this.module.i18n('missing');assert.equal(target,'missing');});it('should call the translation function if one is provided',function(){var target=this.module.i18n('third');assert.equal(target,'third string');});it('should pass the argments after the key into trans.fetch()',function(){var target=this.module.options.i18n.second.fetch;this.module.i18n('second',1,2,3);assert.called(target);assert.calledWith(target,1,2,3);});it('should pass the argments after the key into the translation function',function(){var target=this.module.options.i18n.third;this.module.i18n('third',1,2,3);assert.called(target);assert.calledWith(target,1,2,3);});});describe('.remove()',function(){it('should teardown the module',function(){var target=sinon.stub(this.module,'teardown');this.module.remove();assert.called(target);});it('should remove the element from the page',function(){this.fixture.append(this.module.el);this.module.remove();assert.equal(this.fixture.children().length,0);});});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/autocomplete.spec.min.js b/ckan/public/base/test/spec/modules/autocomplete.spec.min.js deleted file mode 100644 index 434a3531be8..00000000000 --- a/ckan/public/base/test/spec/modules/autocomplete.spec.min.js +++ /dev/null @@ -1,2 +0,0 @@ -describe('ckan.modules.AutocompleteModule()',function(){var Autocomplete=ckan.module.registry['autocomplete'];beforeEach(function(){if(jQuery.fn.select2){this.select2=sinon.stub(jQuery.fn,'select2');}else{this.select2=jQuery.fn.select2=sinon.stub().returns({data:sinon.stub().returns({on:sinon.stub()})});} -this.el=document.createElement('input');this.sandbox=ckan.sandbox();this.sandbox.body=this.fixture;this.module=new Autocomplete(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();if(this.select2.restore){this.select2.restore();}else{delete jQuery.fn.select2;}});describe('.initialize()',function(){it('should bind callback methods to the module',function(){var target=sinon.stub(jQuery,'proxyAll');this.module.initialize();assert.called(target);assert.calledWith(target,this.module,/_on/,/format/);target.restore();});it('should setup the autocomplete plugin',function(){var target=sinon.stub(this.module,'setupAutoComplete');this.module.initialize();assert.called(target);});});describe('.setupAutoComplete()',function(){it('should initialize the autocomplete plugin',function(){this.module.setupAutoComplete();assert.called(this.select2);assert.calledWith(this.select2,{width:'resolve',query:this.module._onQuery,dropdownCssClass:'',containerCssClass:'',formatResult:this.module.formatResult,formatNoMatches:this.module.formatNoMatches,formatInputTooShort:this.module.formatInputTooShort,createSearchChoice:this.module.formatTerm,initSelection:this.module.formatInitialValue});});it('should initialize the autocomplete plugin with a tags callback if options.tags is true',function(){this.module.options.tags=true;this.module.setupAutoComplete();assert.called(this.select2);assert.calledWith(this.select2,{width:'resolve',tags:this.module._onQuery,dropdownCssClass:'',containerCssClass:'',formatResult:this.module.formatResult,formatNoMatches:this.module.formatNoMatches,formatInputTooShort:this.module.formatInputTooShort,initSelection:this.module.formatInitialValue});it('should watch the keydown event on the select2 input');it('should allow a custom css class to be added to the dropdown',function(){this.module.options.dropdownClass='tags';this.module.setupAutoComplete();assert.called(this.select2);assert.calledWith(this.select2,{width:'resolve',tags:this.module._onQuery,dropdownCssClass:'tags',containerCssClass:'',formatResult:this.module.formatResult,formatNoMatches:this.module.formatNoMatches,formatInputTooShort:this.module.formatInputTooShort,initSelection:this.module.formatInitialValue});});it('should allow a custom css class to be added to the container',function(){this.module.options.containerClass='tags';this.module.setupAutoComplete();assert.called(this.select2);assert.calledWith(this.select2,{width:'resolve',tags:this.module._onQuery,dropdownCssClass:'',containerCssClass:'tags',formatResult:this.module.formatResult,formatNoMatches:this.module.formatNoMatches,formatInputTooShort:this.module.formatInputTooShort,initSelection:this.module.formatInitialValue});});});});describe('.getCompletions(term, fn)',function(){beforeEach(function(){this.term='term';this.module.options.source='http://example.com?term=?';this.target=sinon.stub(this.sandbox.client,'getCompletions');});it('should get the completions from the client',function(){this.module.getCompletions(this.term);assert.called(this.target);});it('should replace the last ? in the source url with the term',function(){this.module.getCompletions(this.term);assert.calledWith(this.target,'http://example.com?term=term');});it('should escape special characters in the term',function(){this.module.getCompletions('term with spaces');assert.calledWith(this.target,'http://example.com?term=term%20with%20spaces');});it('should set the formatter to work with the plugin',function(){this.module.getCompletions(this.term);assert.calledWith(this.target,'http://example.com?term=term',{format:this.sandbox.client.parseCompletionsForPlugin});});});describe('.lookup(term, fn)',function(){beforeEach(function(){sinon.stub(this.module,'getCompletions');this.target=sinon.spy();});it('should set the _lastTerm property',function(){this.module.lookup('term');assert.equal(this.module._lastTerm,'term');});it('should call the fn immediately if there is no term',function(){this.module.lookup('',this.target);assert.called(this.target);assert.calledWith(this.target,{results:[]});});it('should debounce the request if there is a term');it('should cancel the last request');});describe('.formatResult(state)',function(){beforeEach(function(){this.module._lastTerm='term';});it('should return the string with the last term wrapped in bold tags',function(){var target=this.module.formatResult({id:'we have termites',text:'we have termites'});assert.equal(target,'we have termites');});it('should return the string with each instance of the term wrapped in bold tags',function(){var target=this.module.formatResult({id:'we have a termite terminology',text:'we have a termite terminology'});assert.equal(target,'we have a termite terminology');});it('should return the term if there is no last term saved',function(){delete this.module._lastTerm;var target=this.module.formatResult({id:'we have a termite terminology',text:'we have a termite terminology'});assert.equal(target,'we have a termite terminology');});});describe('.formatNoMatches(term)',function(){it('should return the no matches string if there is a term',function(){var target=this.module.formatNoMatches('term');assert.equal(target,'No matches found');});it('should return the empty string if there is no term',function(){var target=this.module.formatNoMatches('');assert.equal(target,'Start typing…');});});describe('.formatInputTooShort(term, min)',function(){it('should return the plural input too short string',function(){var target=this.module.formatInputTooShort('term',2);assert.equal(target,'Input is too short, must be at least 2 characters');});it('should return the singular input too short string',function(){var target=this.module.formatInputTooShort('term',1);assert.equal(target,'Input is too short, must be at least one character');});});describe('.formatTerm()',function(){it('should return an item object with id and text properties',function(){assert.deepEqual(this.module.formatTerm('test'),{id:'test',text:'test'});});it('should trim whitespace from the value',function(){assert.deepEqual(this.module.formatTerm(' test '),{id:'test',text:'test'});});it('should convert commas in ids into unicode characters',function(){assert.deepEqual(this.module.formatTerm('test, test'),{id:'test\u002C test',text:'test, test'});});});describe('.formatInitialValue(element, callback)',function(){beforeEach(function(){this.callback=sinon.spy();});it('should pass an item object with id and text properties into the callback',function(){var target=jQuery('');this.module.formatInitialValue(target,this.callback);assert.calledWith(this.callback,{id:'test',text:'test'});});it('should pass an array of properties into the callback if options.tags is true',function(){this.module.options.tags=true;var target=jQuery('',{value:"test, test"});this.module.formatInitialValue(target,this.callback);assert.calledWith(this.callback,[{id:'test',text:'test'},{id:'test',text:'test'}]);});it('should return the value if no callback is provided (to support select2 v2.1)',function(){var target=jQuery('');assert.deepEqual(this.module.formatInitialValue(target),{id:'test',text:'test'});});});describe('._onQuery(options)',function(){it('should lookup the current term with the callback',function(){var target=sinon.stub(this.module,'lookup');this.module._onQuery({term:'term',callback:'callback'});assert.called(target);assert.calledWith(target,'term','callback');});it('should do nothing if there is no options object',function(){var target=sinon.stub(this.module,'lookup');this.module._onQuery();assert.notCalled(target);});});describe('._onKeydown(event)',function(){beforeEach(function(){this.keyDownEvent=jQuery.Event("keydown",{which:188});this.fakeEvent={};this.clock=sinon.useFakeTimers();this.jQuery=sinon.stub(jQuery.fn,'init',jQuery.fn.init);this.Event=sinon.stub(jQuery,'Event').returns(this.fakeEvent);this.trigger=sinon.stub(jQuery.fn,'trigger');});afterEach(function(){this.clock.restore();this.jQuery.restore();this.Event.restore();this.trigger.restore();});it('should trigger fake "return" keypress if a comma is pressed',function(){this.module._onKeydown(this.keyDownEvent);this.clock.tick(100);assert.called(this.jQuery);assert.called(this.Event);assert.called(this.trigger);assert.calledWith(this.trigger,this.fakeEvent);});it('should do nothing if another key is pressed',function(){this.keyDownEvent.which=200;this.module._onKeydown(this.keyDownEvent);this.clock.tick(100);assert.notCalled(this.Event);});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/basic-form.spec.min.js b/ckan/public/base/test/spec/modules/basic-form.spec.min.js deleted file mode 100644 index a3786ba6b96..00000000000 --- a/ckan/public/base/test/spec/modules/basic-form.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.module.BasicFormModule()',function(){var BasicFormModule=ckan.module.registry['basic-form'];beforeEach(function(){sinon.stub(jQuery.fn,'incompleteFormWarning');this.el=document.createElement('button');this.sandbox=ckan.sandbox();this.sandbox.body=this.fixture;this.module=new BasicFormModule(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();jQuery.fn.incompleteFormWarning.restore();});describe('.initialize()',function(){it('should attach the jQuery.fn.incompleteFormWarning() to the form',function(){this.module.initialize();assert.called(jQuery.fn.incompleteFormWarning);});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/confirm-action.spec.min.js b/ckan/public/base/test/spec/modules/confirm-action.spec.min.js deleted file mode 100644 index c0cf670655a..00000000000 --- a/ckan/public/base/test/spec/modules/confirm-action.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.module.ConfirmActionModule()',function(){var ConfirmActionModule=ckan.module.registry['confirm-action'];beforeEach(function(){jQuery.fn.modal=sinon.spy();this.el=document.createElement('button');this.sandbox=ckan.sandbox();this.sandbox.body=this.fixture;this.module=new ConfirmActionModule(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();});describe('.initialize()',function(){it('should watch for clicks on the module element',function(){var target=sinon.stub(this.module.el,'on');this.module.initialize();assert.called(target);assert.calledWith(target,'click',this.module._onClick);});});describe('.confirm()',function(){it('should append the modal to the document body',function(){this.module.confirm();assert.equal(this.fixture.children().length,1);assert.equal(this.fixture.find('.modal').length,1);});it('should show the modal dialog',function(){this.module.confirm();assert.called(jQuery.fn.modal);assert.calledWith(jQuery.fn.modal,'show');});});describe('.performAction()',function(){it('should submit the action');});describe('.createModal()',function(){it('should create the modal element',function(){var target=this.module.createModal();assert.ok(target.hasClass('modal'));});it('should set the module.modal property',function(){var target=this.module.createModal();assert.ok(target===this.module.modal);});it('should bind the success/cancel listeners',function(){var target=sinon.stub(jQuery.fn,'on');this.module.createModal();assert.calledTwice(target);assert.calledWith(target,'click','.btn-primary',this.module._onConfirmSuccess);assert.calledWith(target,'click','.btn-cancel',this.module._onConfirmCancel);target.restore();});it('should initialise the modal plugin',function(){this.module.createModal();assert.called(jQuery.fn.modal);assert.calledWith(jQuery.fn.modal,{show:false});});it('should insert the localized strings',function(){var target=this.module.createModal();var i18n=this.module.options.i18n;assert.equal(target.find('h3').text(),i18n.heading.fetch());assert.equal(target.find('.modal-body').text(),i18n.content.fetch());assert.equal(target.find('.btn-primary').text(),i18n.confirm.fetch());assert.equal(target.find('.btn-cancel').text(),i18n.cancel.fetch());});});describe('._onClick()',function(){it('should prevent the default action',function(){var target={preventDefault:sinon.spy()};this.module._onClick(target);assert.called(target.preventDefault);});it('should display the confirmation dialog',function(){var target=sinon.stub(this.module,'confirm');this.module._onClick({preventDefault:sinon.spy()});assert.called(target);});});describe('._onConfirmSuccess()',function(){it('should perform the action',function(){var target=sinon.stub(this.module,'performAction');this.module._onConfirmSuccess(jQuery.Event('click'));assert.called(target);});});describe('._onConfirmCancel()',function(){it('should hide the modal',function(){this.module.modal=jQuery('
');this.module._onConfirmCancel(jQuery.Event('click'));assert.called(jQuery.fn.modal);assert.calledWith(jQuery.fn.modal,'hide');});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/custom-fields.spec.min.js b/ckan/public/base/test/spec/modules/custom-fields.spec.min.js deleted file mode 100644 index dbe9ccaa245..00000000000 --- a/ckan/public/base/test/spec/modules/custom-fields.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.module.CustomFieldsModule()',function(){var CustomFieldsModule=ckan.module.registry['custom-fields'];before(function(done){this.loadFixture('custom_fields.html',function(template){this.template=template;done();});});beforeEach(function(){this.fixture.html(this.template);this.el=this.fixture.find('[data-module]');this.sandbox=ckan.sandbox();this.sandbox.body=this.fixture;this.module=new CustomFieldsModule(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();});describe('.initialize()',function(){it('should bind all functions beginning with _on to the module scope',function(){var target=sinon.stub(jQuery,'proxyAll');this.module.initialize();assert.called(target);assert.calledWith(target,this.module,/_on/);target.restore();});it('should listen for changes to the last "key" input',function(){var target=sinon.stub(this.module,'_onChange');this.module.initialize();this.module.$('input[name*=key]').change();assert.calledOnce(target);});it('should listen for changes to all checkboxes',function(){var target=sinon.stub(this.module,'_onRemove');this.module.initialize();this.module.$(':checkbox').trigger('change');assert.calledOnce(target);});it('should add "button" classes to the remove input',function(){this.module.initialize();assert.equal(this.module.$('.checkbox.btn').length,1,'each item should have the .btn class');assert.equal(this.module.$('.checkbox.icon-remove').length,1,'each item shoud have the .icon-remove class');});});describe('.newField(element)',function(){it('should append a new field to the element',function(){var element=document.createElement('div');sinon.stub(this.module,'cloneField').returns(element);this.module.newField();assert.ok(jQuery.contains(this.module.el,element));});});describe('.cloneField(element)',function(){it('should clone the provided field',function(){var element=document.createElement('div');var init=sinon.stub(jQuery.fn,'init',jQuery.fn.init);var clone=sinon.stub(jQuery.fn,'clone',jQuery.fn.clone);this.module.cloneField(element);assert.called(init);assert.calledWith(init,element);assert.called(clone);init.restore();clone.restore();});it('should return the cloned element',function(){var element=document.createElement('div');var cloned=document.createElement('div');var init=sinon.stub(jQuery.fn,'init',jQuery.fn.init);var clone=sinon.stub(jQuery.fn,'clone').returns(jQuery(cloned));assert.ok(this.module.cloneField(element)[0]===cloned);init.restore();clone.restore();});});describe('.resetField(element)',function(){beforeEach(function(){this.field=jQuery('
');});it('should empty all input values',function(){var target=this.module.resetField(this.field);assert.equal(target.find(':input').val(),'');});it('should increment any integers in the input names by one',function(){var target=this.module.resetField(this.field);assert.equal(target.find(':input').attr('name'),'field-2');});it('should increment any numbers in the label text by one',function(){var target=this.module.resetField(this.field);assert.equal(target.find('label').text(),'Field 2');});it('should increment any numbers in the label for by one',function(){var target=this.module.resetField(this.field);assert.equal(target.find('label').attr('for'),'field-2');});});describe('.disableField(field, disable)',function(){beforeEach(function(){this.target=this.module.$('.control-custom:first');});it('should add a .disable class to the element',function(){this.module.disableField(this.target);assert.isTrue(this.target.hasClass('disabled'));});it('should set the disabled property on the input elements',function(){this.module.disableField(this.target);this.target.find(':input').each(function(){if(jQuery(this).is(':checkbox')){assert.isFalse(this.disabled,'checkbox should not be disabled');}else{assert.isTrue(this.disabled,'input should be disabled');}});});it('should remove a .disable class to the element if disable is false',function(){this.target.addClass('disable');this.module.disableField(this.target,false);assert.isFalse(this.target.hasClass('disabled'));});it('should unset the disabled property on the input elements if disable is false',function(){this.target.find(':input:not(:checkbox)').prop('disabled',true);this.module.disableField(this.target,false);this.target.find(':input').each(function(){if(jQuery(this).is(':checkbox')){assert.isFalse(this.disabled,'checkbox should not be disabled');}else{assert.isFalse(this.disabled,'input should not be disabled');}});});});describe('._onChange(event)',function(){it('should call .newField() with the custom control',function(){var target=sinon.stub(this.module,'newField');var field=this.module.$('[name*=key]:last').val('test');this.module._onChange(jQuery.Event('change',{target:field[0]}));assert.called(target);});it('should not call .newField() if the target field is empty',function(){var target=sinon.stub(this.module,'newField');var field=this.module.$('[name*=key]:last').val('');this.module._onChange(jQuery.Event('change',{target:field[0]}));assert.notCalled(target);});});describe('._onRemove(event)',function(){it('should call .disableField() with the custom control',function(){var target=sinon.stub(this.module,'disableField');this.module._onRemove(jQuery.Event('change',{target:this.module.$(':checkbox')[0]}));assert.called(target);});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/related-item.spec.min.js b/ckan/public/base/test/spec/modules/related-item.spec.min.js deleted file mode 100644 index 494d7c3bf40..00000000000 --- a/ckan/public/base/test/spec/modules/related-item.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.module.RelatedItemModule()',function(){var RelatedItemModule=ckan.module.registry['related-item'];before(function(done){this.loadFixture('related-item.html',function(html){this.template=html;done();});});beforeEach(function(){this.truncated=jQuery('
');jQuery.fn.truncate=sinon.stub().returns(this.truncated);this.el=this.fixture.html(this.template).children();this.sandbox=ckan.sandbox();this.sandbox.body=this.fixture;this.module=new RelatedItemModule(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();delete jQuery.fn.truncate;});describe('.initialize()',function(){it('should truncate the .prose element',function(){this.module.initialize();assert.called(jQuery.fn.truncate);});it('should pass the various options into the truncate plugin');it('should cache the collapsed height of the plugin',function(){this.module.initialize();assert.ok(this.module.collapsedHeight);});it('should listen for the "truncate" events',function(){var target=sinon.stub(this.truncated,'on');this.module.initialize();assert.called(target);assert.calledWith(target,'expand.truncate',this.module._onExpand);assert.calledWith(target,'collapse.truncate',this.module._onCollapse);});});describe('._onExpand(event)',function(){it('should add the "expanded" class to the element',function(){this.module._onExpand(jQuery.Event());assert.isTrue(this.el.hasClass(this.module.options.expandedClass));});it('should add a bottom margin to the element',function(){this.module._onExpand(jQuery.Event());assert.ok(this.el.css('margin-bottom'));});it('should calcualte the difference between the current and cached height',function(){var target=sinon.stub(this.el,'css');sinon.stub(this.el,'height').returns(30);this.module.collapsedHeight=10;this.module._onExpand(jQuery.Event());assert.called(target);assert.calledWith(target,'margin-bottom',-20);});});describe('._onCollapse(event)',function(){it('should remove the "expanded" class from the element',function(){this.el.addClass(this.module.options.expandedClass);this.module._onCollapse(jQuery.Event());assert.isFalse(this.el.hasClass(this.module.options.expandedClass));});it('should remove the bottom margin from the element',function(){this.el.css('margin-bottom',-90);this.module._onCollapse(jQuery.Event());assert.equal(this.el.css('margin-bottom'),'0px');});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/resource-form.spec.min.js b/ckan/public/base/test/spec/modules/resource-form.spec.min.js deleted file mode 100644 index 39c34e32938..00000000000 --- a/ckan/public/base/test/spec/modules/resource-form.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.modules.ResourceFormModule()',function(){var ResourceFormModule=ckan.module.registry['resource-form'];beforeEach(function(){this.el=document.createElement('form');this.sandbox=ckan.sandbox();this.module=new ResourceFormModule(this.el,{},this.sandbox);});afterEach(function(){this.module.teardown();});describe('.initialize()',function(){it('should subscribe to the "resource:uploaded" event',function(){var target=sinon.stub(this.sandbox,'subscribe');this.module.initialize();assert.called(target);assert.calledWith(target,'resource:uploaded',this.module._onResourceUploaded);target.restore();});});describe('.teardown()',function(){it('should unsubscribe from the "resource:uploaded" event',function(){var target=sinon.stub(this.sandbox,'unsubscribe');this.module.teardown();assert.called(target);assert.calledWith(target,'resource:uploaded',this.module._onResourceUploaded);target.restore();});});describe('._onResourceUploaded()',function(){beforeEach(function(){this.module.el.html(['','','','','',''].join(''));this.resource={text:'text',checkbox:"check",radio:"radio2",hidden:"hidden",select:"option1"};});it('should set the values on appropriate fields',function(){var res=this.resource;this.module._onResourceUploaded(res);jQuery.each(this.module.el.serializeArray(),function(idx,field){assert.equal(field.value,res[field.name]);});});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/modules/resource-upload-field.spec.min.js b/ckan/public/base/test/spec/modules/resource-upload-field.spec.min.js deleted file mode 100644 index b5c996fa5cb..00000000000 --- a/ckan/public/base/test/spec/modules/resource-upload-field.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.modules.ResourceUploadFieldModule()',function(){var ResourceFileUploadModule=ckan.module.registry['resource-upload-field'];beforeEach(function(){jQuery.fn.fileupload=sinon.spy();this.el=jQuery('');this.sandbox=ckan.sandbox();this.module=new ResourceFileUploadModule(this.el,{},this.sandbox);this.module.initialize();});afterEach(function(){this.module.teardown();});describe('.initialize()',function(){beforeEach(function(){this.module.teardown();this.module=new ResourceFileUploadModule(this.el,{},this.sandbox);});it('should create the #upload field',function(){this.module.initialize();assert.ok(typeof this.module.upload==='object');});it('should append the upload field to the module element',function(){this.module.initialize();assert.ok(jQuery.contains(this.el,this.module.upload));});it('should call .setupFileUpload()',function(){var target=sinon.stub(this.module,'setupFileUpload');this.module.initialize();assert.called(target);});});describe('.setupFileUpload()',function(){it('should set the label text on the form input',function(){this.module.initialize();this.module.setupFileUpload();assert.equal(this.module.upload.find('label').text(),'Upload a file');});it('should setup the file upload with relevant options',function(){this.module.initialize();this.module.setupFileUpload();assert.called(jQuery.fn.fileupload);assert.calledWith(jQuery.fn.fileupload,{type:'POST',paramName:'file',forceIframeTransport:true,replaceFileInput:true,autoUpload:false,add:this.module._onUploadAdd,send:this.module._onUploadSend,done:this.module._onUploadDone,fail:this.module._onUploadFail,always:this.module._onUploadComplete});});});describe('.loading(show)',function(){it('should add a loading class to the upload element',function(){this.module.loading();assert.ok(this.module.upload.hasClass('loading'));});it('should remove the loading class if false is passed as an argument',function(){this.module.upload.addClass('loading');this.module.loading();assert.ok(!this.module.upload.hasClass('loading'));});});describe('.authenticate(key, data)',function(){beforeEach(function(){this.fakeThen=sinon.spy();this.fakeProxy=sinon.stub(jQuery,'proxy').returns('onsuccess');this.target=sinon.stub(this.sandbox.client,'getStorageAuth');this.target.returns({then:this.fakeThen});});afterEach(function(){jQuery.proxy.restore();});it('should request authentication for the upload',function(){this.module.authenticate('test',{});assert.called(this.target);assert.calledWith(this.target,'test');});it('should register success and error callbacks',function(){this.module.authenticate('test',{});assert.called(this.fakeThen);assert.calledWith(this.fakeThen,'onsuccess',this.module._onAuthError);});it('should save the key on the data object',function(){var data={};this.module.authenticate('test',data);assert.equal(data.key,'test');});});describe('.lookupMetadata(key, data)',function(){beforeEach(function(){this.fakeThen=sinon.spy();this.fakeProxy=sinon.stub(jQuery,'proxy').returns('onsuccess');this.target=sinon.stub(this.sandbox.client,'getStorageMetadata');this.target.returns({then:this.fakeThen});});afterEach(function(){jQuery.proxy.restore();});it('should request metadata for the upload key',function(){this.module.lookupMetadata('test',{});assert.called(this.target);assert.calledWith(this.target,'test');});it('should register success and error callbacks',function(){this.module.lookupMetadata('test',{});assert.called(this.fakeThen);assert.calledWith(this.fakeThen,'onsuccess',this.module._onMetadataError);});});describe('.notify(message, type)',function(){it('should call the sandbox.notify() method',function(){var target=sinon.stub(this.sandbox,'notify');this.module.notify('this is an example message','info');assert.called(target);assert.calledWith(target,'An Error Occurred','this is an example message','info');});});describe('.generateKey(file)',function(){it('should generate a unique filename prefixed with a timestamp',function(){var now=new Date();var date=jQuery.date.toISOString(now);var clock=sinon.useFakeTimers(now.getTime());var target=this.module.generateKey('this is my file.png');assert.equal(target,date+'/this-is-my-file.png');clock.restore();});});describe('._onUploadAdd(event, data)',function(){beforeEach(function(){this.target=sinon.stub(this.module,'authenticate');sinon.stub(this.module,'generateKey').returns('stubbed');});it('should authenticate the upload if a file is provided',function(){var data={files:[{name:'my_file.jpg'}]};this.module._onUploadAdd({},data);assert.called(this.target);assert.calledWith(this.target,'stubbed',data);});it('should not authenticate the upload if no file is provided',function(){var data={files:[]};this.module._onUploadAdd({},data);assert.notCalled(this.target);});});describe('._onUploadSend()',function(){it('should display the loading spinner',function(){var target=sinon.stub(this.module,'loading');this.module._onUploadSend({},{});assert.called(target);});});describe('._onUploadDone()',function(){it('should request the metadata for the file',function(){var target=sinon.stub(this.module,'lookupMetadata');this.module._onUploadDone({},{result:{}});assert.called(target);});it('should call the fail handler if the "result" key in the data is undefined',function(){var target=sinon.stub(this.module,'_onUploadFail');this.module._onUploadDone({},{result:undefined});assert.called(target);});it('should call the fail handler if the "result" object has an "error" key',function(){var target=sinon.stub(this.module,'_onUploadFail');this.module._onUploadDone({},{result:{error:'failed'}});assert.called(target);});});describe('._onUploadComplete()',function(){it('should hide the loading spinner',function(){var target=sinon.stub(this.module,'loading');this.module._onUploadComplete({},{});assert.called(target);assert.calledWith(target,false);});});describe('._onAuthSuccess()',function(){beforeEach(function(){this.target={submit:sinon.spy()};this.response={action:'action',fields:[{name:'name',value:'value'}]};});it('should set the data url',function(){this.module._onAuthSuccess(this.target,this.response);assert.equal(this.target.url,this.response.action);});it('should set the additional form data',function(){this.module._onAuthSuccess(this.target,this.response);assert.deepEqual(this.target.formData,this.response.fields);});it('should merge the form data with the options',function(){this.module.options.form.params=[{name:'option',value:'option'}];this.module._onAuthSuccess(this.target,this.response);assert.deepEqual(this.target.formData,[{name:'option',value:'option'},{name:'name',value:'value'}]);});it('should call data.submit()',function(){this.module._onAuthSuccess(this.target,this.response);assert.called(this.target.submit);});});describe('._onMetadataSuccess()',function(){it('should publish the "resource:uploaded" event',function(){var resource={url:'http://',name:'My File'};var target=sinon.stub(this.sandbox,'publish');sinon.stub(this.sandbox.client,'convertStorageMetadataToResource').returns(resource);this.module._onMetadataSuccess();assert.called(target);assert.calledWith(target,"resource:uploaded",resource);});});}); \ No newline at end of file diff --git a/ckan/public/base/test/spec/notify.spec.min.js b/ckan/public/base/test/spec/notify.spec.min.js deleted file mode 100644 index 577a30751c3..00000000000 --- a/ckan/public/base/test/spec/notify.spec.min.js +++ /dev/null @@ -1 +0,0 @@ -describe('ckan.notify()',function(){beforeEach(function(){this.element=jQuery('
');this.fixture.append(this.element);ckan.notify.el=this.element;});it('should append a notification to the element',function(){ckan.notify('test');assert.equal(this.element.children().length,1,'should be one child');ckan.notify('test');assert.equal(this.element.children().length,2,'should be two children');});it('should append a notification title',function(){ckan.notify('test');assert.equal(this.element.find('strong').text(),'test');});it('should append a notification body',function(){ckan.notify('test','this is a message');assert.equal(this.element.find('span').text(),'this is a message');});it('should escape all content',function(){ckan.notify('