@@ -8,5 +8,5 POSTGRES_PASSWORD=docker | |||
|
8 | 8 | PGDATA=/var/lib/postgresql/data |
|
9 | 9 | LC_ALL=C.UTF-8 |
|
10 | 10 | TZ=America/Lima |
|
11 |
DOCKER_DATA=/ |
|
|
11 | DOCKER_DATA=/Volumes/dockers/radarsys/ | |
|
12 | 12 | LOCAL_IP=192.168.1.128 |
@@ -10,7 +10,9 class ABSConfigurationForm(forms.ModelForm): | |||
|
10 | 10 | |
|
11 | 11 | class Meta: |
|
12 | 12 | model = ABSConfiguration |
|
13 |
exclude = ('type', 'status', 'parameters', 'active_beam', |
|
|
13 | exclude = ('type', 'status', 'parameters', 'active_beam', | |
|
14 | 'module_status', 'module_messages', 'module_mode', | |
|
15 | 'author', 'hash') | |
|
14 | 16 | |
|
15 | 17 | |
|
16 | 18 | class ABSBeamAddForm(forms.Form): |
@@ -227,7 +227,7 class ABSConfiguration(Configuration): | |||
|
227 | 227 | parameters = {} |
|
228 | 228 | |
|
229 | 229 | parameters['device_id'] = self.device.id |
|
230 |
parameters[' |
|
|
230 | parameters['label'] = self.label | |
|
231 | 231 | parameters['device_type'] = self.device.device_type.name |
|
232 | 232 | parameters['beams'] = {} |
|
233 | 233 | |
@@ -243,7 +243,7 class ABSConfiguration(Configuration): | |||
|
243 | 243 | |
|
244 | 244 | def dict_to_parms(self, parameters): |
|
245 | 245 | |
|
246 |
self. |
|
|
246 | self.label = parameters['label'] | |
|
247 | 247 | |
|
248 | 248 | absbeams = ABSBeam.objects.filter(abs_conf=self) |
|
249 | 249 | beams = parameters['beams'] |
@@ -1,36 +1,31 | |||
|
1 |
{% extends "dev_conf.html" %} {% load static %} {% load bootstrap3 %} {% load main_tags %} |
|
|
1 | {% extends "dev_conf.html" %} {% load static %} {% load bootstrap3 %} {% load main_tags %} | |
|
2 | 2 | {% block extra-head %} |
|
3 | 3 | <style> |
|
4 | 4 | .abs { |
|
5 | border: 2px solid #00334d; | |
|
6 | vertical-align: center; | |
|
5 | width: auto; | |
|
7 | 6 | display: inline-block; |
|
8 | } | |
|
9 | ||
|
10 | .abs tr:nth-child(1) { | |
|
11 | border-bottom: 1px dashed #00334d; | |
|
12 | } | |
|
13 | ||
|
14 | .abs tr { | |
|
15 | border-bottom: 0px solid #00334d; | |
|
7 | text-align: center; | |
|
16 | 8 | } |
|
17 | 9 | |
|
18 | 10 | .abs td { |
|
19 | border-right: 1px dashed #00334d; | |
|
20 | text-align: center; | |
|
21 | padding: 5px; | |
|
11 | padding: 4px; | |
|
22 | 12 | } |
|
23 | 13 | |
|
14 | .module td { | |
|
15 | padding: 4px 15px 4px 15px; | |
|
16 | font-weight: bold; | |
|
17 | border: 1px solid | |
|
18 | } | |
|
24 | 19 | |
|
25 | 20 | .legend { |
|
26 | 21 | margin-left: 15px; |
|
27 | 22 | display: inline-block; |
|
28 |
border: 2px solid |
|
|
23 | border: 2px solid; | |
|
29 | 24 | vertical-align: top; |
|
30 | 25 | } |
|
31 | 26 | |
|
32 | 27 | .legend th { |
|
33 |
border-bottom: 1px dashed |
|
|
28 | border-bottom: 1px dashed; | |
|
34 | 29 | font-weight: bold; |
|
35 | 30 | vertical-align: center; |
|
36 | 31 | text-align: center; |
@@ -41,135 +36,6 | |||
|
41 | 36 | text-align: center; |
|
42 | 37 | } |
|
43 | 38 | |
|
44 | ||
|
45 | .north { | |
|
46 | border: 2px solid #00334d; | |
|
47 | vertical-align: center; | |
|
48 | font-weight: bold; | |
|
49 | } | |
|
50 | ||
|
51 | .north tr { | |
|
52 | border: 1px solid #ffffff; | |
|
53 | ||
|
54 | } | |
|
55 | ||
|
56 | .north td { | |
|
57 | border: 2px solid #e2e2e7; | |
|
58 | text-align: center; | |
|
59 | padding: 1px 15px 1px 15px; | |
|
60 | } | |
|
61 | ||
|
62 | .north tr:nth-child(even) td:nth-child(n) { | |
|
63 | border-bottom: 12px solid #e2e2e7; | |
|
64 | } | |
|
65 | ||
|
66 | .north td:nth-child(n) { | |
|
67 | border-right: 12px solid #e2e2e7; | |
|
68 | } | |
|
69 | ||
|
70 | .north td:nth-last-child(4n+1) { | |
|
71 | border-right: 2px solid #e2e2e7; | |
|
72 | } | |
|
73 | ||
|
74 | .north tr:nth-last-child(1) td:nth-child(n) { | |
|
75 | border-bottom: 3px solid #e2e2e7; | |
|
76 | } | |
|
77 | ||
|
78 | .east { | |
|
79 | border: 2px solid #00334d; | |
|
80 | vertical-align: center; | |
|
81 | font-weight: bold; | |
|
82 | } | |
|
83 | ||
|
84 | .east tr { | |
|
85 | border: 1px solid #ffffff; | |
|
86 | } | |
|
87 | ||
|
88 | .east td { | |
|
89 | border: 2px solid #e2e2e7; | |
|
90 | text-align: center; | |
|
91 | padding: 1px 15px 1px 15px; | |
|
92 | } | |
|
93 | ||
|
94 | .east tr:nth-child(even) td:nth-child(n) { | |
|
95 | border-bottom: 12px solid #e2e2e7; | |
|
96 | } | |
|
97 | ||
|
98 | .east td:nth-child(n) { | |
|
99 | border-right: 12px solid #e2e2e7; | |
|
100 | } | |
|
101 | ||
|
102 | .east td:nth-last-child(4n+1) { | |
|
103 | border-right: 2px solid #e2e2e7; | |
|
104 | } | |
|
105 | ||
|
106 | .east tr:nth-last-child(1) td:nth-child(n) { | |
|
107 | border-bottom: 3px solid #e2e2e7; | |
|
108 | } | |
|
109 | ||
|
110 | .west { | |
|
111 | border: 2px solid #00334d; | |
|
112 | vertical-align: center; | |
|
113 | font-weight: bold; | |
|
114 | } | |
|
115 | ||
|
116 | .west tr { | |
|
117 | border: 1px solid #ffffff; | |
|
118 | } | |
|
119 | ||
|
120 | .west td { | |
|
121 | border: 2px solid #e2e2e7; | |
|
122 | text-align: center; | |
|
123 | padding: 1px 15px 1px 15px; | |
|
124 | } | |
|
125 | ||
|
126 | .west tr:nth-child(even) td:nth-child(n) { | |
|
127 | border-bottom: 12px solid #e2e2e7; | |
|
128 | } | |
|
129 | ||
|
130 | .west td:nth-child(n) { | |
|
131 | border-right: 12px solid #e2e2e7; | |
|
132 | } | |
|
133 | ||
|
134 | .west td:nth-last-child(4n+1) { | |
|
135 | border-right: 2px solid #e2e2e7; | |
|
136 | } | |
|
137 | ||
|
138 | .west tr:nth-last-child(1) td:nth-child(n) { | |
|
139 | border-bottom: 3px solid #e2e2e7; | |
|
140 | } | |
|
141 | ||
|
142 | .south { | |
|
143 | border: 2px solid #00334d; | |
|
144 | vertical-align: center; | |
|
145 | font-weight: bold; | |
|
146 | } | |
|
147 | ||
|
148 | .south tr { | |
|
149 | border: 1px solid #ffffff; | |
|
150 | } | |
|
151 | ||
|
152 | .south td { | |
|
153 | border: 2px solid #e2e2e7; | |
|
154 | text-align: center; | |
|
155 | padding: 1px 15px 1px 15px; | |
|
156 | } | |
|
157 | ||
|
158 | .south tr:nth-child(even) td:nth-child(n) { | |
|
159 | border-bottom: 12px solid #e2e2e7; | |
|
160 | } | |
|
161 | ||
|
162 | .south td:nth-child(n) { | |
|
163 | border-right: 12px solid #e2e2e7; | |
|
164 | } | |
|
165 | ||
|
166 | .south td:nth-last-child(4n+1) { | |
|
167 | border-right: 2px solid #e2e2e7; | |
|
168 | } | |
|
169 | ||
|
170 | .south tr:nth-last-child(1) td:nth-child(n) { | |
|
171 | border-bottom: 3px solid #e2e2e7; | |
|
172 | } | |
|
173 | 39 | </style> |
|
174 | 40 | {% endblock %} |
|
175 | 41 | {% block extra-menu-actions %} |
@@ -177,7 +43,7 | |||
|
177 | 43 | <a href="{{ dev_conf.get_absolute_url_plot }}" target="_blank"> |
|
178 | 44 | <span class="glyphicon glyphicon-picture" aria-hidden="true"></span> View Patterns </a> |
|
179 | 45 | </li> |
|
180 |
{% endblock %} |
|
|
46 | {% endblock %} | |
|
181 | 47 | {% block extra-content %} |
|
182 | 48 | {% if beams %} |
|
183 | 49 | <h4>Beams:</h4> |
@@ -198,7 +64,7 | |||
|
198 | 64 | <tr> |
|
199 | 65 | <td> |
|
200 | 66 | <b>North Quarter</b> |
|
201 |
<table class=" |
|
|
67 | <table class="module"> | |
|
202 | 68 | <tr> |
|
203 | 69 | <td {%if beam.pk == active_beam %} {{color_status.1}} t{%endif%} itle='{{module_messages.1}}'>{{beam.get_upvalues.0}}</td> |
|
204 | 70 | <td {%if beam.pk == active_beam %} {{color_status.2}} t{%endif%} itle='{{module_messages.2}}'>{{beam.get_upvalues.1}}</td> |
@@ -251,7 +117,7 | |||
|
251 | 117 | </td> |
|
252 | 118 | <td> |
|
253 | 119 | <b>East Quarter</b> |
|
254 |
<table class="e |
|
|
120 | <table class="module"> | |
|
255 | 121 | <tr> |
|
256 | 122 | <td {%if beam.pk == active_beam %} {{color_status.5}} t{%endif%} itle='{{module_messages.5}}'>{{beam.get_upvalues.4}}</td> |
|
257 | 123 | <td {%if beam.pk == active_beam %} {{color_status.6}} t{%endif%} itle='{{module_messages.6}}'>{{beam.get_upvalues.5}}</td> |
@@ -306,7 +172,7 | |||
|
306 | 172 | <tr> |
|
307 | 173 | <td> |
|
308 | 174 | <b>West Quarter</b> |
|
309 |
<table class=" |
|
|
175 | <table class="module"> | |
|
310 | 176 | <tr> |
|
311 | 177 | <td {%if beam.pk == active_beam %} {{color_status.33}} {%endif%} title='{{module_messages.33}}'>{{beam.get_upvalues.32}}</td> |
|
312 | 178 | <td {%if beam.pk == active_beam %} {{color_status.34}} {%endif%} title='{{module_messages.34}}'>{{beam.get_upvalues.33}}</td> |
@@ -359,7 +225,7 | |||
|
359 | 225 | </td> |
|
360 | 226 | <td> |
|
361 | 227 | <b>South Quarter</b> |
|
362 |
<table class=" |
|
|
228 | <table class="module"> | |
|
363 | 229 | <tr> |
|
364 | 230 | <td {%if beam.pk == active_beam %} {{color_status.37}} {%endif%} title='{{module_messages.37}}'>{{beam.get_upvalues.36}}</td> |
|
365 | 231 | <td {%if beam.pk == active_beam %} {{color_status.38}} {%endif%} title='{{module_messages.38}}'>{{beam.get_upvalues.37}}</td> |
@@ -146,9 +146,9 def abs_conf(request, id_conf): | |||
|
146 | 146 | kwargs['dev_conf'] = conf |
|
147 | 147 | |
|
148 | 148 | if conf.operation_mode == 0: |
|
149 |
kwargs['dev_conf_keys'] = [' |
|
|
149 | kwargs['dev_conf_keys'] = ['label', 'operation_mode'] | |
|
150 | 150 | else: |
|
151 |
kwargs['dev_conf_keys'] = [' |
|
|
151 | kwargs['dev_conf_keys'] = ['label', 'operation_mode', 'operation_value'] | |
|
152 | 152 | |
|
153 | 153 | kwargs['title'] = 'ABS Configuration' |
|
154 | 154 | kwargs['suptitle'] = 'Details' |
@@ -24,8 +24,7 class CGSConfigurationForm(forms.ModelForm): | |||
|
24 | 24 | |
|
25 | 25 | class Meta: |
|
26 | 26 | model = CGSConfiguration |
|
27 | exclude = ('type', 'parameters', 'status') | |
|
28 | #fields = ('experiment', 'device', 'freq0', 'freq1', 'freq2', 'freq3') | |
|
27 | exclude = ('type', 'parameters', 'status', 'author', 'hash') | |
|
29 | 28 | |
|
30 | 29 | |
|
31 | 30 | class UploadFileForm(forms.Form): |
@@ -24,4 +24,4 class DDSConfigurationForm(forms.ModelForm): | |||
|
24 | 24 | |
|
25 | 25 | class Meta: |
|
26 | 26 | model = DDSConfiguration |
|
27 | exclude = ('type', 'parameters', 'status') No newline at end of file | |
|
27 | exclude = ('type', 'parameters', 'status', 'author', 'hash') No newline at end of file |
@@ -20,7 +20,7 def dds_conf(request, id_conf): | |||
|
20 | 20 | # messages.error(request, message=answer) |
|
21 | 21 | |
|
22 | 22 | kwargs['dev_conf'] = conf |
|
23 |
kwargs['dev_conf_keys'] = [ |
|
|
23 | kwargs['dev_conf_keys'] = [ | |
|
24 | 24 | 'clock', |
|
25 | 25 | 'multiplier', |
|
26 | 26 | 'frequencyA_Mhz', |
@@ -1,7 +1,7 | |||
|
1 | 1 | from django.contrib import admin |
|
2 |
from .models import JARSConfiguration, JARS |
|
|
2 | from .models import JARSConfiguration, JARSFilter | |
|
3 | 3 | |
|
4 | 4 | # Register your models here. |
|
5 | 5 | |
|
6 | 6 | admin.site.register(JARSConfiguration) |
|
7 |
admin.site.register(JARS |
|
|
7 | admin.site.register(JARSFilter) |
@@ -1,3 +1,30 | |||
|
1 | [{"fields": {"name": "49_92MHz_clock60MHz_F1KHz_12_25_2", "clock": 60, "mult": 5, "fch": 49.92, "fch_decimal": 721554506, "filter_fir": 2, "filter_2": 12, "filter_5": 25}, "model": "jars.jarsfilter", "pk": 1}, | |
|
2 | {"fields": {"name": "49_920MHz_clock60MHz_F1MHz_10_1_6", "clock": 60, "mult": 5, "fch": 49.92, "fch_decimal": 721554506, "filter_fir": 6, "filter_2": 10, "filter_5": 1}, "model": "jars.jarsfilter", "pk": 2} | |
|
3 | ] | |
|
1 | [ | |
|
2 | { | |
|
3 | "fields": { | |
|
4 | "name": "49_92MHz_clock60MHz_F1KHz_12_25_2", | |
|
5 | "clock": 60, | |
|
6 | "multiplier": 5, | |
|
7 | "frequency": 49.92, | |
|
8 | "f_decimal": 721554506, | |
|
9 | "fir": 2, | |
|
10 | "cic_2": 12, | |
|
11 | "cic_5": 25 | |
|
12 | }, | |
|
13 | "model": "jars.jarsfilter", | |
|
14 | "pk": 1 | |
|
15 | }, | |
|
16 | { | |
|
17 | "fields": { | |
|
18 | "name": "49_920MHz_clock60MHz_F1MHz_10_1_6", | |
|
19 | "clock": 60, | |
|
20 | "multiplier": 5, | |
|
21 | "frequency": 49.92, | |
|
22 | "f_decimal": 721554506, | |
|
23 | "fir": 6, | |
|
24 | "cic_2": 10, | |
|
25 | "cic_5": 1 | |
|
26 | }, | |
|
27 | "model": "jars.jarsfilter", | |
|
28 | "pk": 2 | |
|
29 | } | |
|
30 | ] No newline at end of file |
@@ -2,7 +2,7 import os | |||
|
2 | 2 | |
|
3 | 3 | from django import forms |
|
4 | 4 | from apps.main.models import Device, Experiment |
|
5 |
from .models import JARSConfiguration, JARS |
|
|
5 | from .models import JARSConfiguration, JARSFilter | |
|
6 | 6 | from .widgets import SpectralWidget |
|
7 | 7 | from apps.main.forms import add_empty_choice |
|
8 | 8 | |
@@ -20,63 +20,50 class JARSConfigurationForm(forms.ModelForm): | |||
|
20 | 20 | |
|
21 | 21 | if instance and instance.pk: |
|
22 | 22 | devices = Device.objects.filter(device_type__name='jars') |
|
23 | ||
|
24 | #if instance.experiment: | |
|
25 | # experiments = Experiment.objects.filter(pk=instance.experiment.id) | |
|
26 | # self.fields['experiment'].widget.choices = [(experiment.id, experiment) for experiment in experiments] | |
|
27 | ||
|
28 | 23 | self.fields['device'].widget.choices = [(device.id, device) for device in devices] |
|
29 | #self.fields['spectral'].widget = SpectralWidget() | |
|
30 | 24 | self.fields['spectral_number'].widget.attrs['readonly'] = True |
|
31 | 25 | self.fields['spectral'].widget = SpectralWidget() |
|
32 | 26 | |
|
33 | #-------------JARS Configuration needs an Experiment----------------- | |
|
34 | #def clean(self): | |
|
35 | # cleaned_data = super(JARSConfigurationForm, self).clean() | |
|
36 | # experiment = cleaned_data.get('experiment') | |
|
37 | # if not experiment: | |
|
38 | # msg = "Error: Jars Configuration needs an Experiment" | |
|
39 | # self.add_error('experiment', msg) | |
|
40 | ||
|
41 | 27 | class Meta: |
|
42 | 28 | model = JARSConfiguration |
|
43 | exclude = ('type', 'parameters', 'status', 'filter_parms') | |
|
44 | ||
|
29 | exclude = ('type', 'parameters', 'status', 'filter_parms', 'author', 'hash', 'filter') | |
|
45 | 30 | |
|
46 |
class JARS |
|
|
31 | class JARSFilterForm(forms.ModelForm): | |
|
47 | 32 | def __init__(self, *args, **kwargs): |
|
48 |
super(JARS |
|
|
33 | super(JARSFilterForm, self).__init__(*args, **kwargs) | |
|
49 | 34 | instance = getattr(self, 'instance', None) |
|
50 | 35 | |
|
51 |
self.fields['f |
|
|
36 | self.fields['f_decimal'].widget.attrs['readonly'] = True | |
|
52 | 37 | |
|
53 | 38 | if 'initial' in kwargs: |
|
54 | if 'filter_id' not in kwargs['initial']: | |
|
55 | self.fields.pop('name') | |
|
56 | else: | |
|
57 | self.fields['name'] = forms.ChoiceField(choices=create_choices_from_model(JARSfilter)) | |
|
58 |
|
|
|
59 | ||
|
60 |
|
|
|
61 | for value in self.fields: | |
|
62 |
|
|
|
63 |
|
|
|
64 | self.fields['name'].label = "Filter Template Name" | |
|
65 | else: | |
|
66 | self.fields['name'] = forms.ChoiceField(choices=create_choices_from_model(JARSfilter, kwargs['initial']['filter_id'])) | |
|
67 | jars_filter = JARSfilter.objects.get(pk=kwargs['initial']['filter_id']) | |
|
68 | labels = [f.name for f in jars_filter._meta.get_fields()] | |
|
69 | ||
|
70 | for label in ['id']: | |
|
71 | labels.remove(label) | |
|
72 |
for label in |
|
|
73 | self.fields['name'].initial = kwargs['initial']['filter_id'] | |
|
74 | self.fields[label].initial = getattr(jars_filter,label) | |
|
75 |
self.fields['name']. |
|
|
39 | self.fields['filter_template'] = forms.ChoiceField( | |
|
40 | choices=create_choices_from_model(JARSFilter), | |
|
41 | initial = kwargs['initial']['id'] | |
|
42 | ) | |
|
43 | # self.fields['name'].initial = kwargs['initial']['id'] | |
|
44 | ||
|
45 | # filter_id = kwargs['initial']['filter_id'] | |
|
46 | ||
|
47 | # if filter_id == 0: | |
|
48 | # for value in self.fields: | |
|
49 | # if value != 'name': | |
|
50 | # self.fields.pop(value) | |
|
51 | # self.fields['name'].label = "Filter Template Name" | |
|
52 | # else: | |
|
53 | # self.fields['name'] = forms.ChoiceField(choices=create_choices_from_model(JARSFilter, kwargs['initial']['filter_id'])) | |
|
54 | # jars_filter = JARSFilter.objects.get(pk=kwargs['initial']['filter_id']) | |
|
55 | # labels = [f.name for f in jars_filter._meta.get_fields()] | |
|
56 | ||
|
57 | # for label in ['id']: | |
|
58 | # labels.remove(label) | |
|
59 | # for label in labels: | |
|
60 | # self.fields['name'].initial = kwargs['initial']['filter_id'] | |
|
61 | # self.fields[label].initial = getattr(jars_filter,label) | |
|
62 | # self.fields['name'].label = "Filter Template Name" | |
|
76 | 63 | |
|
77 | 64 | class Meta: |
|
78 |
model = JARS |
|
|
79 |
exclude = (' |
|
|
65 | model = JARSFilter | |
|
66 | exclude = ('name', ) | |
|
80 | 67 | |
|
81 | 68 | |
|
82 | 69 | class ExtFileField(forms.FileField): |
@@ -12,34 +12,52 from .utils import create_jarsfiles | |||
|
12 | 12 | # Create your models here. |
|
13 | 13 | |
|
14 | 14 | EXPERIMENT_TYPE = ( |
|
15 |
|
|
|
16 |
|
|
|
17 | ) | |
|
15 | (0, 'RAW_DATA'), | |
|
16 | (1, 'PDATA'), | |
|
17 | ) | |
|
18 | 18 | |
|
19 | 19 | DATA_TYPE = ( |
|
20 |
|
|
|
21 |
|
|
|
22 | ) | |
|
20 | (0, 'SHORT'), | |
|
21 | (1, 'FLOAT'), | |
|
22 | ) | |
|
23 | 23 | |
|
24 | 24 | DECODE_TYPE = ( |
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 | ) | |
|
25 | (0, 'None'), | |
|
26 | (1, 'TimeDomain'), | |
|
27 | (2, 'FreqDomain'), | |
|
28 | (3, 'InvFreqDomain'), | |
|
29 | ) | |
|
30 | 30 | |
|
31 | class JARSfilter(models.Model): | |
|
31 | FILTER = '{"id":1, "clock": 60, "multiplier": 5, "frequency": 49.92, "f_decimal": 721554506, "fir": 2, "cic_2": 12, "cic_5": 25}' | |
|
32 | ||
|
33 | class JARSFilter(models.Model): | |
|
32 | 34 | |
|
33 | 35 | JARS_NBITS = 32 |
|
34 | 36 | |
|
35 |
name |
|
|
36 |
clock |
|
|
37 | mult = models.PositiveIntegerField(verbose_name='Multiplier',validators=[MinValueValidator(1), MaxValueValidator(20)], default=5) | |
|
38 | fch = models.FloatField(verbose_name='Frequency (MHz)', validators=[MaxValueValidator(150)], null=True, default=49.9200) | |
|
39 | fch_decimal = models.BigIntegerField(verbose_name='Frequency (Decimal)',validators=[MinValueValidator(-9223372036854775808), MaxValueValidator(2**JARS_NBITS-1)], null=True, default=721554505) | |
|
40 | filter_2 = models.PositiveIntegerField(verbose_name='Filter 2',validators=[MinValueValidator(2), MaxValueValidator(100)], default = 10) | |
|
41 | filter_5 = models.PositiveIntegerField(verbose_name='Filter 5',validators=[MinValueValidator(1), MaxValueValidator(100)], default = 1) | |
|
42 | filter_fir = models.PositiveIntegerField(verbose_name='FIR Filter',validators=[MinValueValidator(1), MaxValueValidator(100)], default = 6) | |
|
37 | name = models.CharField(verbose_name='Name', max_length=60, unique=True, default='') | |
|
38 | clock = models.FloatField(verbose_name='Clock In (MHz)', validators=[ | |
|
39 | MinValueValidator(5), MaxValueValidator(75)], null=True, default=60) | |
|
40 | multiplier = models.PositiveIntegerField(verbose_name='Multiplier', validators=[ | |
|
41 | MinValueValidator(1), MaxValueValidator(20)], default=5) | |
|
42 | frequency = models.FloatField(verbose_name='Frequency (MHz)', validators=[ | |
|
43 | MaxValueValidator(150)], null=True, default=49.9200) | |
|
44 | f_decimal = models.BigIntegerField(verbose_name='Frequency (Decimal)', validators=[ | |
|
45 | MinValueValidator(-9223372036854775808), MaxValueValidator(2**JARS_NBITS-1)], null=True, default=721554505) | |
|
46 | cic_2 = models.PositiveIntegerField(verbose_name='CIC2', validators=[ | |
|
47 | MinValueValidator(2), MaxValueValidator(100)], default=10) | |
|
48 | scale_cic_2 = models.PositiveIntegerField(verbose_name='Scale CIC2', validators=[ | |
|
49 | MinValueValidator(0), MaxValueValidator(6)], default=1) | |
|
50 | cic_5 = models.PositiveIntegerField(verbose_name='CIC5', validators=[ | |
|
51 | MinValueValidator(1), MaxValueValidator(100)], default=1) | |
|
52 | scale_cic_5 = models.PositiveIntegerField(verbose_name='Scale CIC5', validators=[ | |
|
53 | MinValueValidator(0), MaxValueValidator(20)], default=5) | |
|
54 | fir = models.PositiveIntegerField(verbose_name='FIR', validators=[ | |
|
55 | MinValueValidator(1), MaxValueValidator(100)], default=6) | |
|
56 | scale_fir = models.PositiveIntegerField(verbose_name='Scale FIR', validators=[ | |
|
57 | MinValueValidator(0), MaxValueValidator(7)], default=3) | |
|
58 | number_taps = models.PositiveIntegerField(verbose_name='Number of taps', validators=[ | |
|
59 | MinValueValidator(1), MaxValueValidator(256)], default=4) | |
|
60 | taps = models.CharField(verbose_name='Taps', max_length=256, default='') | |
|
43 | 61 | |
|
44 | 62 | class Meta: |
|
45 | 63 | db_table = 'jars_filters' |
@@ -47,119 +65,150 class JARSfilter(models.Model): | |||
|
47 | 65 | def __unicode__(self): |
|
48 | 66 | return u'%s' % (self.name) |
|
49 | 67 | |
|
68 | def jsonify(self): | |
|
69 | ||
|
70 | data = {} | |
|
71 | ignored = () | |
|
72 | ||
|
73 | for field in self._meta.fields: | |
|
74 | if field.name in ignored: | |
|
75 | continue | |
|
76 | data[field.name] = field.value_from_object(self) | |
|
77 | ||
|
78 | return data | |
|
79 | ||
|
50 | 80 | def parms_to_dict(self): |
|
51 | 81 | |
|
52 | 82 | parameters = {} |
|
53 | 83 | |
|
54 |
|
|
|
55 |
parameters['clock'] |
|
|
56 |
parameters['mult'] |
|
|
57 |
parameters['f |
|
|
58 |
parameters['f |
|
|
59 |
parameters[' |
|
|
60 |
parameters[' |
|
|
61 |
parameters[' |
|
|
84 | parameters['name'] = self.name | |
|
85 | parameters['clock'] = float(self.clock) | |
|
86 | parameters['multiplier'] = int(self.multiplier) | |
|
87 | parameters['frequency'] = float(self.frequency) | |
|
88 | parameters['f_decimal'] = int(self.frequency) | |
|
89 | parameters['fir'] = int(self.fir) | |
|
90 | parameters['cic_2'] = int(self.cic_2) | |
|
91 | parameters['cic_5'] = int(self.cic_5) | |
|
62 | 92 | |
|
63 | 93 | return parameters |
|
64 | 94 | |
|
65 | 95 | def dict_to_parms(self, parameters): |
|
66 | 96 | |
|
67 |
|
|
|
68 |
self.clock |
|
|
69 |
self.mult |
|
|
70 |
self.f |
|
|
71 |
self.f |
|
|
72 |
self.fi |
|
|
73 |
self. |
|
|
74 |
self. |
|
|
97 | self.name = parameters['name'] | |
|
98 | self.clock = parameters['clock'] | |
|
99 | self.multiplier = parameters['multiplier'] | |
|
100 | self.frequency = parameters['frequency'] | |
|
101 | self.f_decimal = parameters['f_decimal'] | |
|
102 | self.fir = parameters['fir'] | |
|
103 | self.cic_2 = parameters['cic_2'] | |
|
104 | self.cic_5 = parameters['cic_5'] | |
|
75 | 105 | |
|
76 | 106 | |
|
77 | 107 | class JARSConfiguration(Configuration): |
|
78 | 108 | |
|
79 |
ADC_RESOLUTION |
|
|
109 | ADC_RESOLUTION = 8 | |
|
80 | 110 | PCI_DIO_BUSWIDTH = 32 |
|
81 |
HEADER_VERSION |
|
|
82 |
BEGIN_ON_START |
|
|
83 |
REFRESH_RATE |
|
|
84 | ||
|
85 | exp_type = models.PositiveIntegerField(verbose_name='Experiment Type', choices=EXPERIMENT_TYPE, default=0) | |
|
86 | cards_number = models.PositiveIntegerField(verbose_name='Number of Cards', validators=[MinValueValidator(1), MaxValueValidator(4)], default = 1) | |
|
87 |
c |
|
|
88 | channels = models.CharField(verbose_name='Channels', max_length=15, default = '1,2,3,4,5') | |
|
89 | data_type = models.PositiveIntegerField(verbose_name='Data Type', choices=DATA_TYPE, default=0) | |
|
90 | raw_data_blocks = models.PositiveIntegerField(verbose_name='Raw Data Blocks', validators=[MaxValueValidator(5000)], default=60) | |
|
91 | profiles_block = models.PositiveIntegerField(verbose_name='Profiles Per Block', default=400) | |
|
92 | acq_profiles = models.PositiveIntegerField(verbose_name='Acquired Profiles', default=400) | |
|
93 | ftp_interval = models.PositiveIntegerField(verbose_name='FTP Interval', default=60) | |
|
94 | fftpoints = models.PositiveIntegerField(verbose_name='FFT Points',default=16) | |
|
95 | cohe_integr_str = models.PositiveIntegerField(verbose_name='Coh. Int. Stride',validators=[MinValueValidator(1)], default=30) | |
|
96 |
|
|
|
97 | incohe_integr = models.PositiveIntegerField(verbose_name='Incoherent Integrations',validators=[MinValueValidator(1)], default=30) | |
|
98 | decode_data = models.PositiveIntegerField(verbose_name='Decode Data', choices=DECODE_TYPE, default=0) | |
|
99 | post_coh_int = models.BooleanField(verbose_name='Post Coherent Integration', default=False) | |
|
100 | spectral_number = models.PositiveIntegerField(verbose_name='# Spectral Combinations',validators=[MinValueValidator(1)], default=1) | |
|
101 | spectral = models.CharField(verbose_name='Combinations', max_length=5000, default = '[0, 0],') | |
|
102 | create_directory = models.BooleanField(verbose_name='Create Directory Per Day', default=True) | |
|
103 | include_expname = models.BooleanField(verbose_name='Experiment Name in Directory', default=False) | |
|
111 | HEADER_VERSION = 1103 | |
|
112 | BEGIN_ON_START = True | |
|
113 | REFRESH_RATE = 1 | |
|
114 | ||
|
115 | exp_type = models.PositiveIntegerField( | |
|
116 | verbose_name='Experiment Type', choices=EXPERIMENT_TYPE, default=0) | |
|
117 | cards_number = models.PositiveIntegerField(verbose_name='Number of Cards', validators=[ | |
|
118 | MinValueValidator(1), MaxValueValidator(4)], default=1) | |
|
119 | channels_number = models.PositiveIntegerField(verbose_name='Number of Channels', validators=[ | |
|
120 | MinValueValidator(1), MaxValueValidator(8)], default=5) | |
|
121 | channels = models.CharField( | |
|
122 | verbose_name='Channels', max_length=15, default='1,2,3,4,5') | |
|
123 | data_type = models.PositiveIntegerField( | |
|
124 | verbose_name='Data Type', choices=DATA_TYPE, default=0) | |
|
125 | raw_data_blocks = models.PositiveIntegerField( | |
|
126 | verbose_name='Raw Data Blocks', validators=[MaxValueValidator(5000)], default=60) | |
|
127 | profiles_block = models.PositiveIntegerField( | |
|
128 | verbose_name='Profiles Per Block', default=400) | |
|
129 | acq_profiles = models.PositiveIntegerField( | |
|
130 | verbose_name='Acquired Profiles', default=400) | |
|
131 | ftp_interval = models.PositiveIntegerField( | |
|
132 | verbose_name='FTP Interval', default=60) | |
|
133 | fftpoints = models.PositiveIntegerField( | |
|
134 | verbose_name='FFT Points', default=16) | |
|
135 | cohe_integr_str = models.PositiveIntegerField( | |
|
136 | verbose_name='Coh. Int. Stride', validators=[MinValueValidator(1)], default=30) | |
|
137 | cohe_integr = models.PositiveIntegerField( | |
|
138 | verbose_name='Coherent Integrations', validators=[MinValueValidator(1)], default=30) | |
|
139 | incohe_integr = models.PositiveIntegerField( | |
|
140 | verbose_name='Incoherent Integrations', validators=[MinValueValidator(1)], default=30) | |
|
141 | decode_data = models.PositiveIntegerField( | |
|
142 | verbose_name='Decode Data', choices=DECODE_TYPE, default=0) | |
|
143 | post_coh_int = models.BooleanField( | |
|
144 | verbose_name='Post Coherent Integration', default=False) | |
|
145 | spectral_number = models.PositiveIntegerField( | |
|
146 | verbose_name='# Spectral Combinations', validators=[MinValueValidator(1)], default=1) | |
|
147 | spectral = models.CharField( | |
|
148 | verbose_name='Combinations', max_length=5000, default='[0, 0],') | |
|
149 | create_directory = models.BooleanField( | |
|
150 | verbose_name='Create Directory Per Day', default=True) | |
|
151 | include_expname = models.BooleanField( | |
|
152 | verbose_name='Experiment Name in Directory', default=False) | |
|
104 | 153 | #view_raw_data = models.BooleanField(verbose_name='View Raw Data', default=True) |
|
105 | save_ch_dc = models.BooleanField(verbose_name='Save Channels DC', default=True) | |
|
106 |
|
|
|
107 | filter_parms = models.CharField(max_length=10000, default='{"clock": 60, "mult": 5, "fch": 49.92, "fch_decimal": 721554506, "filter_fir": 2, "filter_2": 12, "filter_5": 25}') | |
|
154 | save_ch_dc = models.BooleanField( | |
|
155 | verbose_name='Save Channels DC', default=True) | |
|
156 | save_data = models.BooleanField(verbose_name='Save Data', default=True) | |
|
157 | filter_parms = models.CharField( | |
|
158 | max_length=10000, default=FILTER) | |
|
159 | filter = models.ForeignKey( | |
|
160 | 'JARSFilter', verbose_name='Filter', null=True, blank=True, on_delete=models.CASCADE) | |
|
108 | 161 | |
|
109 | 162 | class Meta: |
|
110 | 163 | db_table = 'jars_configurations' |
|
111 | 164 | |
|
112 | 165 | def filter_resolution(self): |
|
113 |
filter_parms = |
|
|
114 | if filter_parms.__class__.__name__=='str': | |
|
115 | filter_parms = eval(filter_parms) | |
|
116 | ||
|
117 |
fi |
|
|
118 | filter_2 = filter_parms['filter_2'] | |
|
119 | filter_5 = filter_parms['filter_5'] | |
|
120 | filter_fir = filter_parms['filter_fir'] | |
|
121 | ||
|
122 | resolution = round((filter_clock/(filter_2*filter_5*filter_fir)),2) | |
|
166 | filter_parms = json.loads(self.filter_parms) | |
|
167 | clock = float(filter_parms['clock']) | |
|
168 | cic_2 = filter_parms['cic_2'] | |
|
169 | cic_5 = filter_parms['cic_5'] | |
|
170 | fir = filter_parms['fir'] | |
|
171 | resolution = round((clock/(cic_2*cic_5*fir)), 2) | |
|
123 | 172 | return resolution |
|
124 | 173 | |
|
125 | 174 | def dict_to_parms(self, params, id=None): |
|
126 | ||
|
175 | ||
|
127 | 176 | if id is not None: |
|
128 | 177 | data = Params(params).get_conf(id_conf=id) |
|
129 | 178 | else: |
|
130 | 179 | data = Params(params).get_conf(dtype='jars') |
|
131 | 180 | data['filter_parms'] = params['filter_parms'] |
|
132 | ||
|
133 |
self.name |
|
|
134 |
self.exp_type |
|
|
181 | ||
|
182 | # self.name = data['name'] | |
|
183 | self.exp_type = data['exp_type'] | |
|
135 | 184 | #----PDATA---- |
|
136 | 185 | if self.exp_type == 1: |
|
137 |
self.incohe_integr |
|
|
186 | self.incohe_integr = data['incohe_integr'] | |
|
138 | 187 | self.spectral_number = data['spectral_number'] |
|
139 |
self.spectral |
|
|
140 |
self.fftpoints |
|
|
141 |
self.save_ch_dc |
|
|
188 | self.spectral = data['spectral'] | |
|
189 | self.fftpoints = data['fftpoints'] | |
|
190 | self.save_ch_dc = data['save_ch_dc'] | |
|
142 | 191 | else: |
|
143 | 192 | self.raw_data_blocks = data['raw_data_blocks'] |
|
144 |
#----PDATA---- |
|
|
145 |
self.cards_number |
|
|
193 | #----PDATA---- | |
|
194 | self.cards_number = data['cards_number'] | |
|
146 | 195 | self.channels_number = data['channels_number'] |
|
147 |
self.channels |
|
|
148 |
self.data_type |
|
|
149 |
self.profiles_block |
|
|
150 |
self.acq_profiles |
|
|
151 |
self.ftp_interval |
|
|
196 | self.channels = data['channels'] | |
|
197 | self.data_type = data['data_type'] | |
|
198 | self.profiles_block = data['profiles_block'] | |
|
199 | self.acq_profiles = data['acq_profiles'] | |
|
200 | self.ftp_interval = data['ftp_interval'] | |
|
152 | 201 | self.cohe_integr_str = data['cohe_integr_str'] |
|
153 |
self.cohe_integr |
|
|
202 | self.cohe_integr = data['cohe_integr'] | |
|
154 | 203 | #----DECODE---- |
|
155 |
self.decode_data |
|
|
156 |
self.post_coh_int |
|
|
204 | self.decode_data = data['decode_data'] | |
|
205 | self.post_coh_int = data['post_coh_int'] | |
|
157 | 206 | #----DECODE---- |
|
158 | 207 | self.create_directory = data['create_directory'] |
|
159 |
self.include_expname |
|
|
160 |
self.save_data |
|
|
161 |
self.filter_parms |
|
|
162 | ||
|
208 | self.include_expname = data['include_expname'] | |
|
209 | self.save_data = data['save_data'] | |
|
210 | self.filter_parms = json.dumps(data['filter_parms']) | |
|
211 | ||
|
163 | 212 | self.save() |
|
164 | 213 | |
|
165 | 214 | def parms_to_text(self, file_format='jars'): |
@@ -171,25 +220,29 class JARSConfiguration(Configuration): | |||
|
171 | 220 | data['configurations']['allIds'].remove(key) |
|
172 | 221 | data['configurations']['byId'].pop(key) |
|
173 | 222 | elif data['configurations']['byId'][key]['device_type'] == 'jars': |
|
174 |
data['configurations']['byId'][key] = self.parms_to_dict( |
|
|
223 | data['configurations']['byId'][key] = self.parms_to_dict( | |
|
224 | )['configurations']['byId'][str(self.pk)] | |
|
175 | 225 | elif data['configurations']['byId'][key]['device_type'] == 'rc': |
|
176 | 226 | data['configurations']['byId'][key]['pulses'] = '' |
|
177 | 227 | data['configurations']['byId'][key]['delays'] = '' |
|
178 |
rc_ids = [pk for pk in data['configurations']['allIds'] |
|
|
179 |
|
|
|
180 | ||
|
228 | rc_ids = [pk for pk in data['configurations']['allIds'] | |
|
229 | if data['configurations']['byId'][pk]['device_type'] == 'rc'] | |
|
230 | mix_ids = [pk for pk in rc_ids if data['configurations'] | |
|
231 | ['byId'][pk]['mix']] | |
|
232 | ||
|
181 | 233 | if mix_ids: |
|
182 | 234 | params = data['configurations']['byId'][mix_ids[0]]['parameters'] |
|
183 |
rc = data['configurations']['byId'][params.split( |
|
|
235 | rc = data['configurations']['byId'][params.split( | |
|
236 | '-')[0].split('|')[0]] | |
|
184 | 237 | rc['mix'] = True |
|
185 | 238 | data['configurations']['byId'][rc['id']] = rc |
|
186 | elif len(rc_ids)==0: | |
|
239 | elif len(rc_ids) == 0: | |
|
187 | 240 | self.message = 'File needs RC configuration' |
|
188 | 241 | return '' |
|
189 | 242 | |
|
190 | 243 | json_data = json.dumps(data) |
|
191 | 244 | racp_file, filter_file = create_jarsfiles(json_data) |
|
192 | if file_format=='racp': | |
|
245 | if file_format == 'racp': | |
|
193 | 246 | return racp_file |
|
194 | 247 | |
|
195 | 248 | return filter_file |
@@ -234,7 +287,8 class JARSConfiguration(Configuration): | |||
|
234 | 287 | def read_device(self): |
|
235 | 288 | |
|
236 | 289 | try: |
|
237 |
payload = self.request( |
|
|
290 | payload = self.request( | |
|
291 | 'read', params={'name': self.experiment.name}) | |
|
238 | 292 | self.message = 'Configuration loaded' |
|
239 | 293 | except: |
|
240 | 294 | self.device.status = 0 |
@@ -259,13 +313,14 class JARSConfiguration(Configuration): | |||
|
259 | 313 | elif data['configurations']['byId'][key]['device_type'] == 'rc': |
|
260 | 314 | data['configurations']['byId'][key]['pulses'] = '' |
|
261 | 315 | data['configurations']['byId'][key]['delays'] = '' |
|
262 |
rc_ids = [pk for pk in data['configurations']['allIds'] |
|
|
263 | if len(rc_ids)==0: | |
|
316 | rc_ids = [pk for pk in data['configurations']['allIds'] | |
|
317 | if data['configurations']['byId'][pk]['device_type'] == 'rc'] | |
|
318 | if len(rc_ids) == 0: | |
|
264 | 319 | self.message = 'Missing RC configuration' |
|
265 | 320 | return False |
|
266 | 321 | |
|
267 | 322 | json_data = json.dumps(data) |
|
268 | ||
|
323 | ||
|
269 | 324 | try: |
|
270 | 325 | payload = self.request('write', 'post', json=json_data) |
|
271 | 326 | self.device.status = payload['status'] |
@@ -301,24 +356,23 class JARSConfiguration(Configuration): | |||
|
301 | 356 | |
|
302 | 357 | return True |
|
303 | 358 | |
|
304 | ||
|
305 | 359 | def get_log(self): |
|
306 | 360 | |
|
307 | 361 | payload = None |
|
308 | 362 | |
|
309 | 363 | try: |
|
310 |
payload = requests.get(self.device.url('get_log'), params={ |
|
|
364 | payload = requests.get(self.device.url('get_log'), params={ | |
|
365 | 'name': self.experiment.name}) | |
|
311 | 366 | except: |
|
312 | 367 | self.device.status = 0 |
|
313 | 368 | self.device.save() |
|
314 | 369 | self.message = 'Jars API is not running.' |
|
315 | 370 | return False |
|
316 | ||
|
371 | ||
|
317 | 372 | self.message = 'Jars API is running' |
|
318 | 373 | |
|
319 | 374 | return payload |
|
320 | 375 | |
|
321 | ||
|
322 | 376 | def update_from_file(self, filename): |
|
323 | 377 | |
|
324 | 378 | f = JARSFile(filename) |
@@ -1,4 +1,4 | |||
|
1 |
$("#id_f |
|
|
1 | $("#id_frequency").change(function() { | |
|
2 | 2 | updateParameters() |
|
3 | 3 | }); |
|
4 | 4 | |
@@ -6,25 +6,24 $("#id_clock").change(function() { | |||
|
6 | 6 | updateParameters() |
|
7 | 7 | }); |
|
8 | 8 | |
|
9 | $("#id_mult").change(function() { | |
|
9 | $("#id_multiplier").change(function() { | |
|
10 | 10 | updateParameters() |
|
11 | 11 | }); |
|
12 | 12 | |
|
13 | 13 | function updateParameters(){ |
|
14 |
var |
|
|
15 |
var fch = $("#id_f |
|
|
16 |
var m_dds = $("#id_mult").val(); |
|
|
14 | var clock = $("#id_clock").val(); // clock frequency (MHz) | |
|
15 | var fch = $("#id_frequency").val(); // RF frequency (MHz) | |
|
16 | var m_dds = $("#id_multiplier").val(); // DDS multiplier | |
|
17 | 17 | |
|
18 |
if (Math.abs(fch) < |
|
|
19 |
var nco = Math.pow(2,32)*((fch/ |
|
|
18 | if (Math.abs(fch) < clock/2){ // Si se cumple nyquist | |
|
19 | var nco = Math.pow(2,32)*((fch/clock)%1); | |
|
20 | 20 | //var nco_i = Math.round(nco/m_dds)*m_dds; |
|
21 | 21 | var nco_i = Math.round(nco) |
|
22 | 22 | } |
|
23 | 23 | else { |
|
24 |
nco = Math.pow(2,32)*( |
|
|
24 | nco = Math.pow(2,32)*(clock-fch)/(clock); | |
|
25 | 25 | //nco_i = Math.round(nco/m_dds)*m_dds; |
|
26 | 26 | var nco_i = Math.round(nco) |
|
27 | 27 | } |
|
28 | fch_decimal = $("#id_fch_decimal") | |
|
29 | $(fch_decimal).val(nco_i) | |
|
28 | $("#id_f_decimal").val(nco_i) | |
|
30 | 29 | } |
@@ -4,16 +4,22 | |||
|
4 | 4 | {% load main_tags %} |
|
5 | 5 | |
|
6 | 6 | {% block extra-menu-actions %} |
|
7 |
<li><a href="{{ dev_conf.get_absolute_url_log }}"><span class="glyphicon glyphicon-save-file" aria-hidden="true"></span> |
|
|
7 | <li><a href="{{ dev_conf.get_absolute_url_log }}"><span class="glyphicon glyphicon-save-file" aria-hidden="true"></span> | |
|
8 | Get Log File</a></li> | |
|
8 | 9 | {% endblock %} |
|
9 | 10 | |
|
10 | 11 | {% block extra-content %} |
|
11 | 12 | |
|
12 | 13 | <div class="clearfix"></div> |
|
13 |
<h2> |
|
|
14 |
< |
|
|
15 | <div class="panel-group" id="div_lines" role="tablist" aria-multiselectable="true"> | |
|
16 | {% include "jars_filter.html" %} | |
|
17 | </div> | |
|
14 | <h2>Filter: {{resolution}}</h2> | |
|
15 | <br> | |
|
16 | <table class="table table-bordered"> | |
|
17 | {% for key in filter_keys %} | |
|
18 | <tr> | |
|
19 | <th>{% get_verbose_field_name filter_obj key %}</th> | |
|
20 | <td>{{filter|attr:key}}</td> | |
|
21 | </tr> | |
|
22 | {% endfor %} | |
|
23 | </table> | |
|
18 | 24 | |
|
19 | {% endblock extra-content%} | |
|
25 | {% endblock extra-content%} No newline at end of file |
@@ -8,25 +8,33 | |||
|
8 | 8 | {% csrf_token %} |
|
9 | 9 | {% bootstrap_form form layout='horizontal' size='medium' %} |
|
10 | 10 | <div style="clear: both;"></div> |
|
11 | <h2>JARS filter</h2> | |
|
12 |
< |
|
|
13 | <div class="panel-group" id="div_lines" role="tablist" aria-multiselectable="true"> | |
|
14 | {% include "jars_filter_edit.html" %} | |
|
11 | <h2>Filter <small>{{filter_name}}</small></h2> | |
|
12 | <br> | |
|
13 | {% bootstrap_form filter_form layout='horizontal' size='medium' %} | |
|
14 | <div style="clear: both;"></div> | |
|
15 | <br> | |
|
16 | <div class="pull-right"> | |
|
17 | <button type="button" class="btn btn-primary" onclick="{% if previous %}window.location.replace('{{ previous }}');{% else %}history.go(-1);{% endif %}">Cancel</button> | |
|
18 | <button type="submit" class="btn btn-primary">{{button}}</button> | |
|
15 | 19 | </div> |
|
20 | ||
|
16 | 21 | <div style="clear: both;"></div> |
|
17 | 22 | <br> |
|
18 | 23 | </form> |
|
19 | 24 | {% endblock %} |
|
20 | 25 | |
|
21 | ||
|
22 | 26 | {% block extra-js%} |
|
23 | 27 | <script src="{% static 'js/jars.js' %}"></script> |
|
24 | ||
|
28 | <script src="{% static 'js/filters.js' %}"></script> | |
|
25 | 29 | <script type="text/javascript"> |
|
26 | 30 | |
|
27 | $("#bt_cancel").click(function() { | |
|
31 | $("#bt_cancel").click(function () { | |
|
28 | 32 | document.location = "{% url 'url_jars_conf' id_dev %}"; |
|
29 | }); | |
|
33 | }); | |
|
34 | ||
|
35 | $("#id_filter_template").change(function () { | |
|
36 | document.location = "{% url 'url_change_jars_filter' id_dev %}" + $("#id_filter_template").val(); | |
|
37 | }); | |
|
30 | 38 | |
|
31 | 39 | </script> |
|
32 | {% endblock %} | |
|
40 | {% endblock %} No newline at end of file |
@@ -7,8 +7,8 from django.http import HttpResponse | |||
|
7 | 7 | from apps.main.models import Device |
|
8 | 8 | from apps.main.views import sidebar |
|
9 | 9 | |
|
10 |
from .models import JARSConfiguration, JARS |
|
|
11 |
from .forms import JARSConfigurationForm, JARS |
|
|
10 | from .models import JARSConfiguration, JARSFilter | |
|
11 | from .forms import JARSConfigurationForm, JARSFilterForm, JARSImportForm | |
|
12 | 12 | |
|
13 | 13 | import json |
|
14 | 14 | # Create your views here. |
@@ -17,26 +17,23 def jars_conf(request, id_conf): | |||
|
17 | 17 | |
|
18 | 18 | conf = get_object_or_404(JARSConfiguration, pk=id_conf) |
|
19 | 19 | |
|
20 |
filter_parms = |
|
|
21 | if filter_parms.__class__.__name__=='str': | |
|
22 | filter_parms = eval(filter_parms) | |
|
20 | filter_parms = json.loads(conf.filter_parms) | |
|
23 | 21 | |
|
24 | 22 | kwargs = {} |
|
25 | 23 | kwargs['filter'] = filter_parms |
|
26 | kwargs['filter_keys'] = ['clock', 'mult', 'fch', 'fch_decimal', | |
|
27 | 'filter_fir', 'filter_2', 'filter_5'] | |
|
24 | kwargs['filter_obj'] = JARSFilter.objects.get(pk=1) | |
|
25 | kwargs['filter_keys'] = ['clock', 'multiplier', 'frequency', 'f_decimal', | |
|
26 | 'cic_2', 'scale_cic_2', 'cic_5', 'scale_cic_5', 'fir', | |
|
27 | 'scale_fir', 'number_taps', 'taps'] | |
|
28 | 28 | |
|
29 | filter_resolution=conf.filter_resolution() | |
|
29 | filter_resolution = conf.filter_resolution() | |
|
30 | 30 | kwargs['resolution'] = '{} (MHz)'.format(filter_resolution) |
|
31 | 31 | if filter_resolution < 1: |
|
32 | 32 | kwargs['resolution'] = '{} (kHz)'.format(filter_resolution*1000) |
|
33 | 33 | |
|
34 | 34 | kwargs['status'] = conf.device.get_status_display() |
|
35 | ||
|
36 | ||
|
37 | 35 | kwargs['dev_conf'] = conf |
|
38 | kwargs['dev_conf_keys'] = ['name', | |
|
39 | 'cards_number', 'channels_number', 'channels', | |
|
36 | kwargs['dev_conf_keys'] = ['cards_number', 'channels_number', 'channels', | |
|
40 | 37 | 'ftp_interval', 'data_type','acq_profiles', |
|
41 | 38 | 'profiles_block', 'raw_data_blocks', 'ftp_interval', |
|
42 | 39 | 'cohe_integr_str', 'cohe_integr', 'decode_data', 'post_coh_int', |
@@ -55,12 +52,6 def jars_conf(request, id_conf): | |||
|
55 | 52 | kwargs['title'] = 'JARS Configuration' |
|
56 | 53 | kwargs['suptitle'] = 'Details' |
|
57 | 54 | |
|
58 | kwargs['button'] = 'Edit Configuration' | |
|
59 | ||
|
60 | #kwargs['no_play'] = True | |
|
61 | ||
|
62 | #kwargs['only_stop'] = True | |
|
63 | ||
|
64 | 55 | ###### SIDEBAR ###### |
|
65 | 56 | kwargs.update(sidebar(conf=conf)) |
|
66 | 57 | |
@@ -70,24 +61,21 def jars_conf_edit(request, id_conf): | |||
|
70 | 61 | |
|
71 | 62 | conf = get_object_or_404(JARSConfiguration, pk=id_conf) |
|
72 | 63 | |
|
73 |
filter_parms = |
|
|
74 | if filter_parms.__class__.__name__=='str': | |
|
75 | filter_parms = eval(filter_parms) | |
|
76 | ||
|
64 | filter_parms = json.loads(conf.filter_parms) | |
|
65 | ||
|
77 | 66 | if request.method=='GET': |
|
78 | 67 | form = JARSConfigurationForm(instance=conf) |
|
79 |
filter_form = JARS |
|
|
68 | filter_form = JARSFilterForm(initial=filter_parms) | |
|
80 | 69 | |
|
81 | 70 | if request.method=='POST': |
|
82 | 71 | form = JARSConfigurationForm(request.POST, instance=conf) |
|
83 |
filter_form = JARS |
|
|
72 | filter_form = JARSFilterForm(request.POST) | |
|
84 | 73 | |
|
85 | 74 | if filter_form.is_valid(): |
|
86 |
|
|
|
87 | try: | |
|
88 | jars_filter.pop('name') | |
|
89 | except: | |
|
90 | pass | |
|
75 | jars_filter = filter_form.cleaned_data | |
|
76 | jars_filter['id'] = request.POST['filter_template'] | |
|
77 | else: | |
|
78 | messages.error(request, filter_form.errors) | |
|
91 | 79 | |
|
92 | 80 | if form.is_valid(): |
|
93 | 81 | conf = form.save(commit=False) |
@@ -100,6 +88,7 def jars_conf_edit(request, id_conf): | |||
|
100 | 88 | kwargs['id_dev'] = conf.id |
|
101 | 89 | kwargs['form'] = form |
|
102 | 90 | kwargs['filter_form'] = filter_form |
|
91 | kwargs['filter_name'] = JARSFilter.objects.get(pk=filter_parms['id']).name | |
|
103 | 92 | kwargs['title'] = 'Device Configuration' |
|
104 | 93 | kwargs['suptitle'] = 'Edit' |
|
105 | 94 | kwargs['button'] = 'Save' |
@@ -171,49 +160,14 def read_conf(request, conf_id): | |||
|
171 | 160 | |
|
172 | 161 | return render(request, 'jars_conf_edit.html', kwargs) |
|
173 | 162 | |
|
174 | ||
|
175 | ||
|
176 | def change_filter(request, conf_id, filter_id=None): | |
|
163 | def change_filter(request, conf_id, filter_id): | |
|
177 | 164 | |
|
178 | 165 | conf = get_object_or_404(JARSConfiguration, pk=conf_id) |
|
166 | filter = get_object_or_404(JARSFilter, pk=filter_id) | |
|
167 | conf.filter_parms = json.dumps(filter.jsonify()) | |
|
168 | conf.save() | |
|
179 | 169 | |
|
180 | if filter_id: | |
|
181 | if filter_id.__class__.__name__ not in ['int', 'float']: | |
|
182 | filter_id = eval(filter_id) | |
|
183 | ||
|
184 | if filter_id == 0: | |
|
185 | return redirect('url_change_jars_filter', conf_id=conf.id) | |
|
186 | ||
|
187 | if request.method=='GET': | |
|
188 | if not filter_id: | |
|
189 | form = JARSfilterForm(initial={'filter_id': 0}) | |
|
190 | else: | |
|
191 | form = JARSfilterForm(initial={'filter_id': filter_id}) | |
|
192 | ||
|
193 | if request.method=='POST': | |
|
194 | form = JARSfilterForm(request.POST) | |
|
195 | if form.is_valid(): | |
|
196 | jars_filter = form.cleaned_data | |
|
197 | try: | |
|
198 | jars_filter.pop('name') | |
|
199 | except: | |
|
200 | pass | |
|
201 | conf.filter_parms = json.dumps(jars_filter) | |
|
202 | conf.save() | |
|
203 | return redirect('url_edit_jars_conf', id_conf=conf.id) | |
|
204 | else: | |
|
205 | messages.error(request, "Select a Filter Template") | |
|
206 | return redirect('url_change_jars_filter', conf_id=conf.id) | |
|
207 | ||
|
208 | kwargs = {} | |
|
209 | kwargs['title'] = 'JARS Configuration' | |
|
210 | kwargs['suptitle'] = 'Change Filter' | |
|
211 | kwargs['form'] = form | |
|
212 | kwargs['button'] = 'Change' | |
|
213 | kwargs['conf_id'] = conf.id | |
|
214 | kwargs['filter_id'] = filter_id | |
|
215 | return render(request, 'change_jars_filter.html', kwargs) | |
|
216 | ||
|
170 | return redirect('url_edit_jars_conf', id_conf=conf.id) | |
|
217 | 171 | |
|
218 | 172 | def get_log(request, conf_id): |
|
219 | 173 |
@@ -14,11 +14,8 class SpectralWidget(forms.widgets.TextInput): | |||
|
14 | 14 | |
|
15 | 15 | readonly = 'readonly' if attrs.get('readonly', False) else '' |
|
16 | 16 | name = attrs.get('name', label) |
|
17 | print 'ESTO!' | |
|
18 | print value | |
|
19 | 17 | if value == None: |
|
20 | 18 | value = '[0, 0],' |
|
21 | print readonly | |
|
22 | 19 | if '[' in value: |
|
23 | 20 | if value[len(value)-1] == ",": |
|
24 | 21 | value = ast.literal_eval(value) |
@@ -1,13 +1,122 | |||
|
1 | 1 | [ |
|
2 | {"fields": {"name": "JRO", "description": ""}, "model": "main.location", "pk": 1}, | |
|
3 | {"fields": {"name": "JASMET", "description": ""}, "model": "main.location", "pk": 2}, | |
|
4 | {"fields": {"name": "SOUSY", "description": ""}, "model": "main.location", "pk": 3}, | |
|
5 | {"fields": {"name": "JULIA", "description": ""}, "model": "main.location", "pk": 4}, | |
|
6 | {"fields": {"name": "CLAIRE", "description": ""}, "model": "main.location", "pk": 4}, | |
|
7 | {"fields": {"name": "rc", "description": ""}, "model": "main.devicetype", "pk": 1}, | |
|
8 | {"fields": {"name": "dds", "description": ""}, "model": "main.devicetype", "pk": 2}, | |
|
9 | {"fields": {"name": "cgs", "description": ""}, "model": "main.devicetype", "pk": 3}, | |
|
10 | {"fields": {"name": "jars", "description": ""}, "model": "main.devicetype", "pk": 4}, | |
|
11 | {"fields": {"name": "abs", "description": ""}, "model": "main.devicetype", "pk": 5}, | |
|
12 | {"fields": {"password": "pbkdf2_sha256$24000$6RRL7xETgdgN$ORRPhrITZKzTTZHCm8T+Er6ght415kYKeU7QP3rry5M=", "last_login": null, "is_superuser": true, "username": "admin", "first_name": "", "last_name": "", "email": "admin@admin.com", "is_staff": true, "is_active": true, "date_joined": "2017-01-12T16:10:24.383", "groups": [], "user_permissions": []}, "model": "auth.user", "pk": 1} | |
|
13 | ] | |
|
2 | { | |
|
3 | "fields": { | |
|
4 | "name": "JRO", | |
|
5 | "description": "" | |
|
6 | }, | |
|
7 | "model": "main.location", | |
|
8 | "pk": 1 | |
|
9 | }, | |
|
10 | { | |
|
11 | "fields": { | |
|
12 | "name": "JASMET", | |
|
13 | "description": "" | |
|
14 | }, | |
|
15 | "model": "main.location", | |
|
16 | "pk": 2 | |
|
17 | }, | |
|
18 | { | |
|
19 | "fields": { | |
|
20 | "name": "SOUSY", | |
|
21 | "description": "" | |
|
22 | }, | |
|
23 | "model": "main.location", | |
|
24 | "pk": 3 | |
|
25 | }, | |
|
26 | { | |
|
27 | "fields": { | |
|
28 | "name": "JULIA", | |
|
29 | "description": "" | |
|
30 | }, | |
|
31 | "model": "main.location", | |
|
32 | "pk": 4 | |
|
33 | }, | |
|
34 | { | |
|
35 | "fields": { | |
|
36 | "name": "CLAIRE", | |
|
37 | "description": "" | |
|
38 | }, | |
|
39 | "model": "main.location", | |
|
40 | "pk": 5 | |
|
41 | }, | |
|
42 | { | |
|
43 | "fields": { | |
|
44 | "name": "IDI", | |
|
45 | "description": "" | |
|
46 | }, | |
|
47 | "model": "main.location", | |
|
48 | "pk": 6 | |
|
49 | }, | |
|
50 | { | |
|
51 | "fields": { | |
|
52 | "name": "rc", | |
|
53 | "description": "" | |
|
54 | }, | |
|
55 | "model": "main.devicetype", | |
|
56 | "pk": 1 | |
|
57 | }, | |
|
58 | { | |
|
59 | "fields": { | |
|
60 | "name": "dds", | |
|
61 | "description": "" | |
|
62 | }, | |
|
63 | "model": "main.devicetype", | |
|
64 | "pk": 2 | |
|
65 | }, | |
|
66 | { | |
|
67 | "fields": { | |
|
68 | "name": "cgs", | |
|
69 | "description": "" | |
|
70 | }, | |
|
71 | "model": "main.devicetype", | |
|
72 | "pk": 3 | |
|
73 | }, | |
|
74 | { | |
|
75 | "fields": { | |
|
76 | "name": "jars", | |
|
77 | "description": "" | |
|
78 | }, | |
|
79 | "model": "main.devicetype", | |
|
80 | "pk": 4 | |
|
81 | }, | |
|
82 | { | |
|
83 | "fields": { | |
|
84 | "name": "abs", | |
|
85 | "description": "" | |
|
86 | }, | |
|
87 | "model": "main.devicetype", | |
|
88 | "pk": 5 | |
|
89 | }, | |
|
90 | { | |
|
91 | "fields": { | |
|
92 | "name": "Operator" | |
|
93 | }, | |
|
94 | "model": "auth.group", | |
|
95 | "pk": 1 | |
|
96 | }, | |
|
97 | { | |
|
98 | "fields": { | |
|
99 | "name": "Developer" | |
|
100 | }, | |
|
101 | "model": "auth.group", | |
|
102 | "pk": 2 | |
|
103 | }, | |
|
104 | { | |
|
105 | "fields": { | |
|
106 | "password": "pbkdf2_sha256$24000$6RRL7xETgdgN$ORRPhrITZKzTTZHCm8T+Er6ght415kYKeU7QP3rry5M=", | |
|
107 | "last_login": null, | |
|
108 | "is_superuser": true, | |
|
109 | "username": "admin", | |
|
110 | "first_name": "Administrador", | |
|
111 | "last_name": "IDI", | |
|
112 | "email": "admin@admin.com", | |
|
113 | "is_staff": true, | |
|
114 | "is_active": true, | |
|
115 | "date_joined": "2017-01-12T16:10:24.383", | |
|
116 | "groups": [], | |
|
117 | "user_permissions": [] | |
|
118 | }, | |
|
119 | "model": "auth.user", | |
|
120 | "pk": 1 | |
|
121 | } | |
|
122 | ] No newline at end of file |
@@ -75,7 +75,7 class CampaignForm(forms.ModelForm): | |||
|
75 | 75 | |
|
76 | 76 | class Meta: |
|
77 | 77 | model = Campaign |
|
78 | exclude = [''] | |
|
78 | exclude = ['author'] | |
|
79 | 79 | |
|
80 | 80 | |
|
81 | 81 | class ExperimentForm(forms.ModelForm): |
@@ -85,15 +85,15 class ExperimentForm(forms.ModelForm): | |||
|
85 | 85 | self.fields['start_time'].widget = TimepickerWidget(self.fields['start_time'].widget.attrs) |
|
86 | 86 | self.fields['end_time'].widget = TimepickerWidget(self.fields['end_time'].widget.attrs) |
|
87 | 87 | |
|
88 | def save(self): | |
|
89 | exp = super(ExperimentForm, self).save() | |
|
88 | def save(self, *args, **kwargs): | |
|
89 | exp = super(ExperimentForm, self).save(*args, **kwargs) | |
|
90 | 90 | exp.name = exp.name.replace(' ', '') |
|
91 | 91 | exp.save() |
|
92 | 92 | return exp |
|
93 | 93 | |
|
94 | 94 | class Meta: |
|
95 | 95 | model = Experiment |
|
96 | exclude = ['task', 'status'] | |
|
96 | exclude = ['task', 'status', 'author', 'hash'] | |
|
97 | 97 | |
|
98 | 98 | class LocationForm(forms.ModelForm): |
|
99 | 99 | class Meta: |
@@ -115,7 +115,7 class ConfigurationForm(forms.ModelForm): | |||
|
115 | 115 | |
|
116 | 116 | class Meta: |
|
117 | 117 | model = Configuration |
|
118 | exclude = ['type', 'created_date', 'programmed_date', 'parameters'] | |
|
118 | exclude = ['type', 'created_date', 'programmed_date', 'parameters', 'author', 'hash'] | |
|
119 | 119 | |
|
120 | 120 | class UploadFileForm(forms.Form): |
|
121 | 121 | |
@@ -188,7 +188,7 class FilterForm(forms.Form): | |||
|
188 | 188 | if 'initial' in kwargs: |
|
189 | 189 | self.fields[field].widget.attrs = {'start_date':kwargs['initial'].get('start_date', ''), |
|
190 | 190 | 'end_date':kwargs['initial'].get('end_date', '')} |
|
191 | elif field in ('template', 'historical'): | |
|
191 | elif field in ('template', 'historical') or 'my ' in field: | |
|
192 | 192 | self.fields[field] = forms.BooleanField(required=False) |
|
193 | 193 | else: |
|
194 | 194 | self.fields[field] = forms.CharField(required=False) |
@@ -15,6 +15,7 from django.db import models | |||
|
15 | 15 | from django.core.urlresolvers import reverse |
|
16 | 16 | from django.core.validators import MinValueValidator, MaxValueValidator |
|
17 | 17 | from django.shortcuts import get_object_or_404 |
|
18 | from django.contrib.auth.models import User | |
|
18 | 19 | |
|
19 | 20 | from apps.main.utils import Params |
|
20 | 21 | from apps.rc.utils import RCFile |
@@ -114,8 +115,6 class Device(models.Model): | |||
|
114 | 115 | |
|
115 | 116 | device_type = models.ForeignKey(DeviceType, on_delete=models.CASCADE) |
|
116 | 117 | location = models.ForeignKey(Location, on_delete=models.CASCADE) |
|
117 | ||
|
118 | name = models.CharField(max_length=40, default='') | |
|
119 | 118 | ip_address = models.GenericIPAddressField(protocol='IPv4', default='0.0.0.0') |
|
120 | 119 | port_address = models.PositiveSmallIntegerField(default=2000) |
|
121 | 120 | description = models.TextField(blank=True, null=True) |
@@ -125,8 +124,13 class Device(models.Model): | |||
|
125 | 124 | db_table = 'db_devices' |
|
126 | 125 | |
|
127 | 126 | def __str__(self): |
|
128 |
ret |
|
|
129 | self.name) | |
|
127 | ret = u'{} [{}]'.format(self.device_type.name.upper(), self.location.name) | |
|
128 | ||
|
129 | return ret | |
|
130 | ||
|
131 | @property | |
|
132 | def name(self): | |
|
133 | return str(self) | |
|
130 | 134 | |
|
131 | 135 | def get_status(self): |
|
132 | 136 | return self.status |
@@ -153,9 +157,14 class Device(models.Model): | |||
|
153 | 157 | return 'http://{}:{}/'.format(self.ip_address, self.port_address) |
|
154 | 158 | |
|
155 | 159 | def get_absolute_url(self): |
|
156 | ||
|
157 | 160 | return reverse('url_device', args=[str(self.id)]) |
|
158 | 161 | |
|
162 | def get_absolute_url_edit(self): | |
|
163 | return reverse('url_edit_device', args=[str(self.id)]) | |
|
164 | ||
|
165 | def get_absolute_url_delete(self): | |
|
166 | return reverse('url_delete_device', args=[str(self.id)]) | |
|
167 | ||
|
159 | 168 | def change_ip(self, ip_address, mask, gateway, dns, **kwargs): |
|
160 | 169 | |
|
161 | 170 | if self.device_type.name=='dds': |
@@ -216,10 +225,11 class Campaign(models.Model): | |||
|
216 | 225 | name = models.CharField(max_length=60, unique=True) |
|
217 | 226 | start_date = models.DateTimeField(blank=True, null=True) |
|
218 | 227 | end_date = models.DateTimeField(blank=True, null=True) |
|
219 | tags = models.CharField(max_length=40) | |
|
228 | tags = models.CharField(max_length=40, blank=True, null=True) | |
|
220 | 229 | description = models.TextField(blank=True, null=True) |
|
221 | 230 | experiments = models.ManyToManyField('Experiment', blank=True) |
|
222 | ||
|
231 | author = models.ForeignKey(User, null=True, blank=True) | |
|
232 | ||
|
223 | 233 | class Meta: |
|
224 | 234 | db_table = 'db_campaigns' |
|
225 | 235 | ordering = ('name',) |
@@ -312,6 +322,9 class Campaign(models.Model): | |||
|
312 | 322 | def get_absolute_url_edit(self): |
|
313 | 323 | return reverse('url_edit_campaign', args=[str(self.id)]) |
|
314 | 324 | |
|
325 | def get_absolute_url_delete(self): | |
|
326 | return reverse('url_delete_campaign', args=[str(self.id)]) | |
|
327 | ||
|
315 | 328 | def get_absolute_url_export(self): |
|
316 | 329 | return reverse('url_export_campaign', args=[str(self.id)]) |
|
317 | 330 | |
@@ -319,7 +332,6 class Campaign(models.Model): | |||
|
319 | 332 | return reverse('url_import_campaign', args=[str(self.id)]) |
|
320 | 333 | |
|
321 | 334 | |
|
322 | ||
|
323 | 335 | class RunningExperiment(models.Model): |
|
324 | 336 | radar = models.OneToOneField('Location', on_delete=models.CASCADE) |
|
325 | 337 | running_experiment = models.ManyToManyField('Experiment', blank = True) |
@@ -336,6 +348,8 class Experiment(models.Model): | |||
|
336 | 348 | end_time = models.TimeField(default='23:59:59') |
|
337 | 349 | task = models.CharField(max_length=36, default='', blank=True, null=True) |
|
338 | 350 | status = models.PositiveSmallIntegerField(default=4, choices=EXP_STATES) |
|
351 | author = models.ForeignKey(User, null=True, blank=True) | |
|
352 | hash = models.CharField(default='', max_length=64, null=True, blank=True) | |
|
339 | 353 | |
|
340 | 354 | class Meta: |
|
341 | 355 | db_table = 'db_experiments' |
@@ -343,9 +357,9 class Experiment(models.Model): | |||
|
343 | 357 | |
|
344 | 358 | def __str__(self): |
|
345 | 359 | if self.template: |
|
346 | return u'%s (template)' % (self.name) | |
|
360 | return u'%s (template)' % (self.name[:8]) | |
|
347 | 361 | else: |
|
348 | return u'%s' % (self.name) | |
|
362 | return u'%s' % (self.name[:10]) | |
|
349 | 363 | |
|
350 | 364 | def jsonify(self): |
|
351 | 365 | |
@@ -374,7 +388,7 class Experiment(models.Model): | |||
|
374 | 388 | |
|
375 | 389 | confs = Configuration.objects.filter(experiment=self, type=0) |
|
376 | 390 | self.pk = None |
|
377 |
self.name = '{} |
|
|
391 | self.name = '{}_{:%y%m%d}'.format(self.name, datetime.now()) | |
|
378 | 392 | for attr, value in kwargs.items(): |
|
379 | 393 | setattr(self, attr, value) |
|
380 | 394 | |
@@ -524,6 +538,9 class Experiment(models.Model): | |||
|
524 | 538 | def get_absolute_url_edit(self): |
|
525 | 539 | return reverse('url_edit_experiment', args=[str(self.id)]) |
|
526 | 540 | |
|
541 | def get_absolute_url_delete(self): | |
|
542 | return reverse('url_delete_experiment', args=[str(self.id)]) | |
|
543 | ||
|
527 | 544 | def get_absolute_url_import(self): |
|
528 | 545 | return reverse('url_import_experiment', args=[str(self.id)]) |
|
529 | 546 | |
@@ -540,30 +557,43 class Experiment(models.Model): | |||
|
540 | 557 | class Configuration(PolymorphicModel): |
|
541 | 558 | |
|
542 | 559 | template = models.BooleanField(default=False) |
|
543 | name = models.CharField(verbose_name="Configuration Name", max_length=40, default='') | |
|
560 | # name = models.CharField(verbose_name="Configuration Name", max_length=40, default='') | |
|
561 | label = models.CharField(verbose_name="Label", max_length=40, default='', blank=True, null=True) | |
|
544 | 562 | experiment = models.ForeignKey('Experiment', verbose_name='Experiment', null=True, blank=True, on_delete=models.CASCADE) |
|
545 | 563 | device = models.ForeignKey('Device', verbose_name='Device', null=True, on_delete=models.CASCADE) |
|
546 | 564 | type = models.PositiveSmallIntegerField(default=0, choices=CONF_TYPES) |
|
547 | 565 | created_date = models.DateTimeField(auto_now_add=True) |
|
548 | 566 | programmed_date = models.DateTimeField(auto_now=True) |
|
549 | 567 | parameters = models.TextField(default='{}') |
|
568 | author = models.ForeignKey(User, null=True, blank=True) | |
|
569 | hash = models.CharField(default='', max_length=64, null=True, blank=True) | |
|
550 | 570 | message = "" |
|
551 | 571 | |
|
552 | 572 | class Meta: |
|
553 | 573 | db_table = 'db_configurations' |
|
574 | ordering = ('device__device_type__name',) | |
|
554 | 575 | |
|
555 | 576 | def __str__(self): |
|
556 | 577 | |
|
557 |
|
|
|
578 | ret = u'{} '.format(self.device.device_type.name.upper()) | |
|
558 | 579 | |
|
559 | 580 | if 'mix' in [f.name for f in self._meta.get_fields()]: |
|
560 | 581 | if self.mix: |
|
561 |
|
|
|
582 | ret = '{} MIX '.format(self.device.device_type.name.upper()) | |
|
583 | ||
|
584 | if 'label' in [f.name for f in self._meta.get_fields()]: | |
|
585 | ret += '{}'.format(self.label[:8]) | |
|
562 | 586 | |
|
587 | #ret += '[ {} ]'.format(self.device.location.name) | |
|
563 | 588 | if self.template: |
|
564 |
ret |
|
|
565 |
|
|
|
566 | return u'{} {}'.format(device, self.name) | |
|
589 | ret += ' (template)' | |
|
590 | ||
|
591 | return ret | |
|
592 | ||
|
593 | @property | |
|
594 | def name(self): | |
|
595 | ||
|
596 | return str(self) | |
|
567 | 597 | |
|
568 | 598 | def jsonify(self): |
|
569 | 599 | |
@@ -739,6 +769,9 class Configuration(PolymorphicModel): | |||
|
739 | 769 | def get_absolute_url_edit(self): |
|
740 | 770 | return reverse('url_edit_%s_conf' % self.device.device_type.name, args=[str(self.id)]) |
|
741 | 771 | |
|
772 | def get_absolute_url_delete(self): | |
|
773 | return reverse('url_delete_dev_conf', args=[str(self.id)]) | |
|
774 | ||
|
742 | 775 | def get_absolute_url_import(self): |
|
743 | 776 | return reverse('url_import_dev_conf', args=[str(self.id)]) |
|
744 | 777 |
@@ -8,4 +8,4 | |||
|
8 | 8 | * Bootstrap v3.3.7 (http://getbootstrap.com) |
|
9 | 9 | * Copyright 2011-2016 Twitter, Inc. |
|
10 | 10 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
|
11 |
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#666666;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#3399f3;text-decoration:none}a:hover,a:focus{color:#3399f3;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:#2d2d2d}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}mark,.mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#999999}.text-primary{color:#446e9b}a.text-primary:hover,a.text-primary:focus{color:#345578}.text-success{color:#468847}a.text-success:hover,a.text-success:focus{color:#356635}.text-info{color:#3a87ad}a.text-info:hover,a.text-info:focus{color:#2d6987}.text-warning{color:#c09853}a.text-warning:hover,a.text-warning:focus{color:#a47e3c}.text-danger{color:#b94a48}a.text-danger:hover,a.text-danger:focus{color:#953b39}.bg-primary{color:#fff;background-color:#446e9b}a.bg-primary:hover,a.bg-primary:focus{background-color:#345578}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover,a.bg-info:focus{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover,a.bg-warning:focus{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover,a.bg-danger:focus{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px |
|
|
11 | *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#666666;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#3399f3;text-decoration:none}a:hover,a:focus{color:#3399f3;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:#2d2d2d}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}mark,.mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#999999}.text-primary{color:#446e9b}a.text-primary:hover,a.text-primary:focus{color:#345578}.text-success{color:#468847}a.text-success:hover,a.text-success:focus{color:#356635}.text-info{color:#3a87ad}a.text-info:hover,a.text-info:focus{color:#2d6987}.text-warning{color:#c09853}a.text-warning:hover,a.text-warning:focus{color:#a47e3c}.text-danger{color:#b94a48}a.text-danger:hover,a.text-danger:focus{color:#953b39}.bg-primary{color:#fff;background-color:#446e9b}a.bg-primary:hover,a.bg-primary:focus{background-color:#345578}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover,a.bg-info:focus{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover,a.bg-warning:focus{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover,a.bg-danger:focus{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eeeeee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#ffffff;background-color:#333333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333333;background-color:#f5f5f5;border:1px solid #cccccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#999999;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#666666;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:9px;font-size:14px;line-height:1.42857143;color:#666666}.form-control{display:block;width:100%;height:38px;padding:8px 12px;font-size:14px;line-height:1.42857143;color:#666666;background-color:#ffffff;background-image:none;border:1px solid #cccccc;border-radius:4px;-webkit-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-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control::-moz-placeholder{color:#999999;opacity:1}.form-control:-ms-input-placeholder{color:#999999}.form-control::-webkit-input-placeholder{color:#999999}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eeeeee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:38px}input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm,.input-group-sm input[type="date"],.input-group-sm input[type="time"],.input-group-sm input[type="datetime-local"],.input-group-sm input[type="month"]{line-height:30px}input[type="date"].input-lg,input[type="time"].input-lg,input[type="datetime-local"].input-lg,input[type="month"].input-lg,.input-group-lg input[type="date"],.input-group-lg input[type="time"],.input-group-lg input[type="datetime-local"],.input-group-lg input[type="month"]{line-height:54px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"].disabled,input[type="checkbox"].disabled,fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:9px;padding-bottom:9px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:54px;line-height:54px}textarea.input-lg,select[multiple].input-lg{height:auto}.form-group-lg .form-control{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:54px;line-height:54px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:54px;min-height:38px;padding:15px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:47.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:38px;height:38px;line-height:38px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:54px;height:54px;line-height:54px}.input-sm+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;border-color:#468847;background-color:#dff0d8}.has-success .form-control-feedback{color:#468847}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;border-color:#c09853;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#c09853}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;border-color:#b94a48;background-color:#f2dede}.has-error .form-control-feedback{color:#b94a48}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#a6a6a6}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:9px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:29px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:9px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:15px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:8px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#ffffff;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#ffffff;background-color:#474949;border-color:#474949}.btn-default:focus,.btn-default.focus{color:#ffffff;background-color:#2e2f2f;border-color:#080808}.btn-default:hover{color:#ffffff;background-color:#2e2f2f;border-color:#292a2a}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#ffffff;background-color:#2e2f2f;border-color:#292a2a}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#ffffff;background-color:#1c1d1d;border-color:#080808}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus{background-color:#474949;border-color:#474949}.btn-default .badge{color:#474949;background-color:#ffffff}.btn-primary{color:#ffffff;background-color:#446e9b;border-color:#446e9b}.btn-primary:focus,.btn-primary.focus{color:#ffffff;background-color:#345578;border-color:#1d2f42}.btn-primary:hover{color:#ffffff;background-color:#345578;border-color:#315070}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#345578;border-color:#315070}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#2a435f;border-color:#1d2f42}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:#446e9b;border-color:#446e9b}.btn-primary .badge{color:#446e9b;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#3cb521;border-color:#3cb521}.btn-success:focus,.btn-success.focus{color:#ffffff;background-color:#2e8a19;border-color:#18490d}.btn-success:hover{color:#ffffff;background-color:#2e8a19;border-color:#2b8118}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#2e8a19;border-color:#2b8118}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#ffffff;background-color:#246c14;border-color:#18490d}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus{background-color:#3cb521;border-color:#3cb521}.btn-success .badge{color:#3cb521;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#3399f3;border-color:#3399f3}.btn-info:focus,.btn-info.focus{color:#ffffff;background-color:#0e80e5;border-color:#09589d}.btn-info:hover{color:#ffffff;background-color:#0e80e5;border-color:#0d7bdc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#0e80e5;border-color:#0d7bdc}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#ffffff;background-color:#0c6dc4;border-color:#09589d}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus{background-color:#3399f3;border-color:#3399f3}.btn-info .badge{color:#3399f3;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#d47500;border-color:#d47500}.btn-warning:focus,.btn-warning.focus{color:#ffffff;background-color:#a15900;border-color:#552f00}.btn-warning:hover{color:#ffffff;background-color:#a15900;border-color:#975300}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#a15900;border-color:#975300}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#ffffff;background-color:#7d4500;border-color:#552f00}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus{background-color:#d47500;border-color:#d47500}.btn-warning .badge{color:#d47500;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#cd0200;border-color:#cd0200}.btn-danger:focus,.btn-danger.focus{color:#ffffff;background-color:#9a0200;border-color:#4e0100}.btn-danger:hover{color:#ffffff;background-color:#9a0200;border-color:#900100}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#9a0200;border-color:#900100}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#760100;border-color:#4e0100}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus{background-color:#cd0200;border-color:#cd0200}.btn-danger .badge{color:#cd0200;background-color:#ffffff}.btn-link{color:#3399f3;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#3399f3;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:0.35s;-o-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#ffffff;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#333333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#ffffff;background-color:#446e9b}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#446e9b}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999999;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:54px;line-height:54px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:8px 12px;font-size:14px;font-weight:normal;line-height:1;color:#666666;text-align:center;background-color:#eeeeee;border:1px solid #cccccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:14px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eeeeee}.nav>li.disabled>a{color:#999999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eeeeee;border-color:#3399f3}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #dddddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#666666;background-color:#ffffff;border:1px solid #dddddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #dddddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #dddddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#ffffff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#ffffff;background-color:#446e9b}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #dddddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #dddddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#ffffff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:6px;margin-bottom:6px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:6px;margin-bottom:6px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#eeeeee;border-color:#dddddd}.navbar-default .navbar-brand{color:#777777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#3399f3;background-color:transparent}.navbar-default .navbar-text{color:#777777}.navbar-default .navbar-nav>li>a{color:#777777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#3399f3;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#3399f3;background-color:transparent}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#444444;background-color:transparent}.navbar-default .navbar-toggle{border-color:#dddddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#dddddd}.navbar-default .navbar-toggle .icon-bar{background-color:#cccccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#dddddd}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:transparent;color:#3399f3}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#3399f3;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#3399f3;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444444;background-color:transparent}}.navbar-default .navbar-link{color:#777777}.navbar-default .navbar-link:hover{color:#3399f3}.navbar-default .btn-link{color:#777777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#3399f3}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#444444}.navbar-inverse{background-color:#446e9b;border-color:#345578}.navbar-inverse .navbar-brand{color:#dddddd}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-text{color:#dddddd}.navbar-inverse .navbar-nav>li>a{color:#dddddd}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#cccccc;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#345578}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#345578}.navbar-inverse .navbar-toggle .icon-bar{background-color:#ffffff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#395c82}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:transparent;color:#ffffff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#345578}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#345578}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#dddddd}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#cccccc;background-color:transparent}}.navbar-inverse .navbar-link{color:#dddddd}.navbar-inverse .navbar-link:hover{color:#ffffff}.navbar-inverse .btn-link{color:#dddddd}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#ffffff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#cccccc}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#cccccc}.breadcrumb>.active{color:#999999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:8px 12px;line-height:1.42857143;text-decoration:none;color:#3399f3;background-color:#ffffff;border:1px solid #dddddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{z-index:2;color:#3399f3;background-color:#eeeeee;border-color:#dddddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:3;color:#999999;background-color:#f5f5f5;border-color:#dddddd;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999999;background-color:#ffffff;border-color:#dddddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:14px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#ffffff;border:1px solid #dddddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eeeeee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999999;background-color:#ffffff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#ffffff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#ffffff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#474949}.label-default[href]:hover,.label-default[href]:focus{background-color:#2e2f2f}.label-primary{background-color:#446e9b}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#345578}.label-success{background-color:#3cb521}.label-success[href]:hover,.label-success[href]:focus{background-color:#2e8a19}.label-info{background-color:#3399f3}.label-info[href]:hover,.label-info[href]:focus{background-color:#0e80e5}.label-warning{background-color:#d47500}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#a15900}.label-danger{background-color:#cd0200}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#9a0200}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#ffffff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#3399f3;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#ffffff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#3399f3;background-color:#ffffff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eeeeee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px;padding-left:15px;padding-right:15px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#3399f3}.thumbnail .caption{padding:9px;color:#666666}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{background-color:#fcf8e3;border-color:#fbeed5;color:#c09853}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:20px;color:#ffffff;text-align:center;background-color:#446e9b;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#3cb521}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#3399f3}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#d47500}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#cd0200}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#ffffff;border:1px solid #dddddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333333}a.list-group-item:hover,button.list-group-item:hover,a.list-group-item:focus,button.list-group-item:focus{text-decoration:none;color:#555555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eeeeee;color:#999999;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#999999}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#ffffff;background-color:#446e9b;border-color:#446e9b}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#c5d5e6}.list-group-item-success{color:#468847;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#468847}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,button.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:focus{color:#468847;background-color:#d0e9c6}a.list-group-item-success.active,button.list-group-item-success.active,a.list-group-item-success.active:hover,button.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active:focus{color:#fff;background-color:#468847;border-color:#468847}.list-group-item-info{color:#3a87ad;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#3a87ad}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,button.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:focus{color:#3a87ad;background-color:#c4e3f3}a.list-group-item-info.active,button.list-group-item-info.active,a.list-group-item-info.active:hover,button.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active:focus{color:#fff;background-color:#3a87ad;border-color:#3a87ad}.list-group-item-warning{color:#c09853;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#c09853}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,button.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:focus{color:#c09853;background-color:#faf2cc}a.list-group-item-warning.active,button.list-group-item-warning.active,a.list-group-item-warning.active:hover,button.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active:focus{color:#fff;background-color:#c09853;border-color:#c09853}.list-group-item-danger{color:#b94a48;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#b94a48}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,button.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:focus{color:#b94a48;background-color:#ebcccc}a.list-group-item-danger.active,button.list-group-item-danger.active,a.list-group-item-danger.active:hover,button.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active:focus{color:#fff;background-color:#b94a48;border-color:#b94a48}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#ffffff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #dddddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #dddddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #dddddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dddddd}.panel-default{border-color:#dddddd}.panel-default>.panel-heading{color:#333333;background-color:#f5f5f5;border-color:#dddddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-primary{border-color:#446e9b}.panel-primary>.panel-heading{color:#ffffff;background-color:#446e9b;border-color:#446e9b}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#446e9b}.panel-primary>.panel-heading .badge{color:#446e9b;background-color:#ffffff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#446e9b}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#468847}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#3a87ad}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#fbeed5}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#fbeed5}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#c09853}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#fbeed5}.panel-danger{border-color:#eed3d7}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#eed3d7}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#b94a48}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#eed3d7}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,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-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000000;text-decoration:none;cursor:pointer;opacity:0.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#ffffff;border:1px solid #999999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:0.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{padding:20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;background-color:#000000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:14px;background-color:#ffffff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999999;border-right-color:rgba(0,0,0,0.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ffffff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999999;border-left-color:rgba(0,0,0,0.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:0.5;filter:alpha(opacity=50);font-size:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);background-color:rgba(0,0,0,0)}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0.0001)));background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.0001)), to(rgba(0,0,0,0.5)));background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #ffffff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#ffffff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-header:before,.modal-header:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-header:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table !important}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table !important}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table !important}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table !important}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table !important}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}.navbar{background-image:-webkit-linear-gradient(#fff, #eee 50%, #e4e4e4);background-image:-o-linear-gradient(#fff, #eee 50%, #e4e4e4);background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(50%, #eee), to(#e4e4e4));background-image:linear-gradient(#fff, #eee 50%, #e4e4e4);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe4e4e4', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #d5d5d5;text-shadow:0 1px 0 rgba(255,255,255,0.3)}.navbar-inverse{background-image:-webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-image:-o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-image:-webkit-gradient(linear, left top, left bottom, from(#6d94bf), color-stop(50%, #446e9b), to(#3e648d));background-image:linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #345578;text-shadow:0 -1px 0 rgba(0,0,0,0.3)}.navbar-inverse .badge{background-color:#fff;color:#446e9b}.navbar .badge{text-shadow:none}.navbar-nav>li>a,.navbar-nav>li>a:hover{padding-top:17px;padding-bottom:13px;-webkit-transition:color ease-in-out .2s;-o-transition:color ease-in-out .2s;transition:color ease-in-out .2s}.navbar-brand,.navbar-brand:hover{-webkit-transition:color ease-in-out .2s;-o-transition:color ease-in-out .2s;transition:color ease-in-out .2s}.navbar .caret,.navbar .caret:hover{-webkit-transition:border-color ease-in-out .2s;-o-transition:border-color ease-in-out .2s;transition:border-color ease-in-out .2s}.navbar .dropdown-menu{text-shadow:none}.btn{text-shadow:0 -1px 0 rgba(0,0,0,0.3)}.btn-default{background-image:-webkit-linear-gradient(#6d7070, #474949 50%, #3d3f3f);background-image:-o-linear-gradient(#6d7070, #474949 50%, #3d3f3f);background-image:-webkit-gradient(linear, left top, left bottom, from(#6d7070), color-stop(50%, #474949), to(#3d3f3f));background-image:linear-gradient(#6d7070, #474949 50%, #3d3f3f);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d7070', endColorstr='#ff3d3f3f', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #2e2f2f}.btn-default:hover{background-image:-webkit-linear-gradient(#636565, #3d3f3f 50%, #333434);background-image:-o-linear-gradient(#636565, #3d3f3f 50%, #333434);background-image:-webkit-gradient(linear, left top, left bottom, from(#636565), color-stop(50%, #3d3f3f), to(#333434));background-image:linear-gradient(#636565, #3d3f3f 50%, #333434);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff636565', endColorstr='#ff333434', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #242525}.btn-primary{background-image:-webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-image:-o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-image:-webkit-gradient(linear, left top, left bottom, from(#6d94bf), color-stop(50%, #446e9b), to(#3e648d));background-image:linear-gradient(#6d94bf, #446e9b 50%, #3e648d);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #345578}.btn-primary:hover{background-image:-webkit-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);background-image:-o-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);background-image:-webkit-gradient(linear, left top, left bottom, from(#5f8ab9), color-stop(50%, #3e648d), to(#385a7f));background-image:linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5f8ab9', endColorstr='#ff385a7f', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #2e4b69}.btn-success{background-image:-webkit-linear-gradient(#61dd45, #3cb521 50%, #36a41e);background-image:-o-linear-gradient(#61dd45, #3cb521 50%, #36a41e);background-image:-webkit-gradient(linear, left top, left bottom, from(#61dd45), color-stop(50%, #3cb521), to(#36a41e));background-image:linear-gradient(#61dd45, #3cb521 50%, #36a41e);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff61dd45', endColorstr='#ff36a41e', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #2e8a19}.btn-success:hover{background-image:-webkit-linear-gradient(#52da34, #36a41e 50%, #31921b);background-image:-o-linear-gradient(#52da34, #36a41e 50%, #31921b);background-image:-webkit-gradient(linear, left top, left bottom, from(#52da34), color-stop(50%, #36a41e), to(#31921b));background-image:linear-gradient(#52da34, #36a41e 50%, #31921b);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52da34', endColorstr='#ff31921b', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #287916}.btn-info{background-image:-webkit-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);background-image:-o-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);background-image:-webkit-gradient(linear, left top, left bottom, from(#7bbdf7), color-stop(50%, #3399f3), to(#208ff2));background-image:linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bbdf7', endColorstr='#ff208ff2', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #0e80e5}.btn-info:hover{background-image:-webkit-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);background-image:-o-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);background-image:-webkit-gradient(linear, left top, left bottom, from(#68b3f6), color-stop(50%, #208ff2), to(#0e86ef));background-image:linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff68b3f6', endColorstr='#ff0e86ef', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #0c75d2}.btn-warning{background-image:-webkit-linear-gradient(#ff9c21, #d47500 50%, #c06a00);background-image:-o-linear-gradient(#ff9c21, #d47500 50%, #c06a00);background-image:-webkit-gradient(linear, left top, left bottom, from(#ff9c21), color-stop(50%, #d47500), to(#c06a00));background-image:linear-gradient(#ff9c21, #d47500 50%, #c06a00);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9c21', endColorstr='#ffc06a00', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #a15900}.btn-warning:hover{background-image:-webkit-linear-gradient(#ff930d, #c06a00 50%, #ab5e00);background-image:-o-linear-gradient(#ff930d, #c06a00 50%, #ab5e00);background-image:-webkit-gradient(linear, left top, left bottom, from(#ff930d), color-stop(50%, #c06a00), to(#ab5e00));background-image:linear-gradient(#ff930d, #c06a00 50%, #ab5e00);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff930d', endColorstr='#ffab5e00', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #8d4e00}.btn-danger{background-image:-webkit-linear-gradient(#ff1d1b, #cd0200 50%, #b90200);background-image:-o-linear-gradient(#ff1d1b, #cd0200 50%, #b90200);background-image:-webkit-gradient(linear, left top, left bottom, from(#ff1d1b), color-stop(50%, #cd0200), to(#b90200));background-image:linear-gradient(#ff1d1b, #cd0200 50%, #b90200);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff1d1b', endColorstr='#ffb90200', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #9a0200}.btn-danger:hover{background-image:-webkit-linear-gradient(#ff0906, #b90200 50%, #a40200);background-image:-o-linear-gradient(#ff0906, #b90200 50%, #a40200);background-image:-webkit-gradient(linear, left top, left bottom, from(#ff0906), color-stop(50%, #b90200), to(#a40200));background-image:linear-gradient(#ff0906, #b90200 50%, #a40200);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0906', endColorstr='#ffa40200', GradientType=0);-webkit-filter:none;filter:none;border:1px solid #860100}.btn-link{text-shadow:none}.btn:active,.btn.active{background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.panel-primary .panel-title{color:#fff} No newline at end of file |
@@ -9,7 +9,7 | |||
|
9 | 9 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
|
10 | 10 | {# bootstrap_css #} |
|
11 | 11 | |
|
12 |
<link href="{% static 'css/bootstrap- |
|
|
12 | <link href="{% static 'css/bootstrap-yeti.min.css' %}" media="all" rel="stylesheet"> | |
|
13 | 13 | <link href="{% static 'css/bootcards-desktop.min.css' %}" media="all" rel="stylesheet"> |
|
14 | 14 | <link href="{% static 'css/font-awesome.min.css' %}" media="all" rel="stylesheet"> |
|
15 | 15 | <!--link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"--> |
@@ -58,27 +58,20 | |||
|
58 | 58 | </div> |
|
59 | 59 | <div class="collapse navbar-collapse" id="navigationbar"> |
|
60 | 60 | <ul class="nav navbar-nav"> |
|
61 |
<li class=" dropdown {% block operation-active %}{% endblock %}"> |
|
|
61 | <li class=" dropdown {% block operation-active %}{% endblock %}"> | |
|
62 | <a href="{% url 'url_operation'%}">Operation</a> | |
|
62 | 63 | </li> |
|
63 |
<li class=" dropdown {% block n |
|
|
64 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">New<span class="caret"></span></a> | |
|
65 | <ul class="dropdown-menu" role="menu"> | |
|
66 | <li><a href="{% url 'url_add_campaign' %}">Campaign</a></li> | |
|
67 | <li><a href="{% url 'url_add_experiment' %}">Experiment</a></li> | |
|
68 | <li><a href="{% url 'url_add_dev_conf' 0%}">Device Configuration</a></li> | |
|
69 | <li><a href="{% url 'url_add_device'%}">Device</a></li> | |
|
70 | <li><a href="{% url 'url_add_location'%}">Radar System</a></li> | |
|
71 | </ul> | |
|
64 | <li class=" dropdown {% block campaign-active %}{% endblock %}"> | |
|
65 | <a href="{% url 'url_campaigns'%}">Campaigns</a> | |
|
72 | 66 | </li> |
|
73 |
<li class=" dropdown {% block |
|
|
74 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Search<span class="caret"></span></a> | |
|
75 | <ul class="dropdown-menu" role="menu"> | |
|
76 | <li><a href="{% url 'url_campaigns' %}">Campaigns</a></li> | |
|
77 |
|
|
|
78 | <li><a href="{% url 'url_dev_confs' %}">Configurations</a></li> | |
|
79 | <li><a href="{% url 'url_devices' %}">Devices</a></li> | |
|
80 |
|
|
|
81 | </ul> | |
|
67 | <li class=" dropdown {% block experiment-active %}{% endblock %}"> | |
|
68 | <a href="{% url 'url_experiments'%}">Experiments</a> | |
|
69 | </li> | |
|
70 | <li class=" dropdown {% block configuration-active %}{% endblock %}"> | |
|
71 | <a href="{% url 'url_dev_confs'%}">Configurations</a> | |
|
72 | </li> | |
|
73 | <li class=" dropdown {% block device-active %}{% endblock %}"> | |
|
74 | <a href="{% url 'url_devices'%}">Devices</a> | |
|
82 | 75 | </li> |
|
83 | 76 | </ul> |
|
84 | 77 | <ul class="nav navbar-nav navbar-right"> |
@@ -87,7 +80,7 | |||
|
87 | 80 | <li class="dropdown"> |
|
88 | 81 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hi {{ user.username }}<span class="caret"></span></a> |
|
89 | 82 | <ul class="dropdown-menu" role="menu"> |
|
90 | <li><a href="/admin">Control Panel</a></li> | |
|
83 | <li><a href="/admin" target="_blank">Control Panel</a></li> | |
|
91 | 84 | <li><a href="{% url 'url_logout' %}">Logout</a></li> |
|
92 | 85 | </ul> |
|
93 | 86 | </li> |
@@ -7,7 +7,7 | |||
|
7 | 7 | <link href="{% static 'css/bootstrap-datetimepicker.min.css' %}" media="screen" rel="stylesheet"> |
|
8 | 8 | {% endblock %} |
|
9 | 9 | |
|
10 |
{% block |
|
|
10 | {% block {{menu}}-active %}active{% endblock %} | |
|
11 | 11 | {% block content-title %}{{title}}{% endblock %} |
|
12 | 12 | {% block content-suptitle %}{{suptitle}}{% endblock %} |
|
13 | 13 | |
@@ -18,9 +18,13 | |||
|
18 | 18 | <form class="form" method="get"> |
|
19 | 19 | {% bootstrap_form form layout='horizontal' size='medium' %} |
|
20 | 20 | <div class="pull-right"> |
|
21 | <br> | |
|
21 | 22 | <button type="button" class="btn btn-primary btn-sm" onclick="window.location.replace('?');"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span></button> |
|
22 | 23 | <button type="submit" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button> |
|
23 | </div> | |
|
24 | {% if add_url %} | |
|
25 | <a class="btn btn-sm btn-info" href="{{add_url}}"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></a> | |
|
26 | {% endif %} | |
|
27 | </div> | |
|
24 | 28 | </form> |
|
25 | 29 | {% endif %} |
|
26 | 30 | {% endblock %} |
@@ -37,7 +41,14 | |||
|
37 | 41 | <tr class="clickable-row" data-href="{{object.get_absolute_url}}"> |
|
38 | 42 | <td>{{ forloop.counter|add:offset }}</td> |
|
39 | 43 | {% for key in keys %} |
|
44 | {% if key == 'actions' %} | |
|
45 | <td> | |
|
46 | <a class="btn btn-sm btn-danger" href="{{object.get_absolute_url_delete}}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a> | |
|
47 | <a class="btn btn-sm btn-primary" href="{{object.get_absolute_url_edit}}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a> | |
|
48 | </td> | |
|
49 | {% else %} | |
|
40 | 50 | <td>{{ object|attr:key }}</td> |
|
51 | {% endif %} | |
|
41 | 52 | {% endfor %} |
|
42 | 53 | </tr> |
|
43 | 54 | {% endfor %} |
@@ -15,7 +15,7 | |||
|
15 | 15 | <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-menu-hamburger gi-2x" aria-hidden="true"></span></a> |
|
16 | 16 | <ul class="dropdown-menu" role="menu"> |
|
17 | 17 | <li><a href="{{ dev_conf.get_absolute_url_edit }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a></li> |
|
18 |
<li><a href="{ |
|
|
18 | <li><a href="{{ dev_conf.get_absolute_url_delete }}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Delete</a></li> | |
|
19 | 19 | <li><a href="{{ dev_conf.get_absolute_url_import }}"><span class="glyphicon glyphicon-import" aria-hidden="true"></span> Import </a></li> |
|
20 | 20 | <li><a href="{{ dev_conf.get_absolute_url_export }}"><span class="glyphicon glyphicon-export" aria-hidden="true"></span> Export </a></li> |
|
21 | 21 | {% block extra-menu-actions %} |
@@ -55,8 +55,6 | |||
|
55 | 55 | |
|
56 | 56 | {% endblock %} |
|
57 | 57 | |
|
58 | ||
|
59 | ||
|
60 | 58 | {% block extra-js%} |
|
61 | 59 | <script type="text/javascript"> |
|
62 | 60 |
@@ -21,61 +21,18 | |||
|
21 | 21 | </table> |
|
22 | 22 | |
|
23 | 23 | |
|
24 |
{% for conf |
|
|
24 | {% for conf in configurations %} | |
|
25 | 25 | |
|
26 | 26 | <div class=""> |
|
27 |
<h4 class="panel-title"><b> {{conf |
|
|
27 | <h4 class="panel-title"><b> {{conf.conf}}</b></h4> | |
|
28 | 28 | <br> |
|
29 | 29 | </div> |
|
30 | 30 | |
|
31 | {% if configuration.device.device_type.name == 'dds' %} | |
|
32 | <table class="table table-bordered"> | |
|
33 |
|
|
|
34 | <tr><th>Multiplier</th><td>{{configuration.multiplier}}</td></tr> | |
|
35 |
|
|
|
36 | {% endif %} | |
|
37 | ||
|
38 | {% if configuration.device.device_type.name == 'rc' %} | |
|
39 | ||
|
40 | <table class="table table-bordered"> | |
|
41 | <!--<h4 class="panel-title"> </h4>--> | |
|
42 | <tr><th>NTXs</th><td>{{configuration.ntx}}</td></tr> | |
|
43 | <tr><th>IPP(km)</th><td>{{configuration.ipp}}</td></tr> | |
|
44 | <tr><th>DC</th><td>{{duty_cycle}}%</td></tr> | |
|
45 | ||
|
46 | {% for tx_line in configuration.tx_lines %} | |
|
47 | <tr><th colspan="2">{{tx_line.name}}</th></tr> | |
|
48 | <tr><th>Width(km)</th><td>{{tx_line.width}}</td></tr> | |
|
49 | <tr><th>Taus</th><td>{{tx_line.taus}}</td></tr> | |
|
50 | <tr><th>codes</th><td>{{tx_line.codes}}</td></tr> | |
|
51 | <tr><th>Sample Windows</th><td>{{tx_line.windows}}</td></tr> | |
|
52 | {% endfor %} | |
|
53 | ||
|
54 | </table> | |
|
55 | {% endif %} | |
|
56 | ||
|
57 | {% if configuration.device.device_type.name == 'jars' %} | |
|
58 | ||
|
59 | <table class="table table-bordered"> | |
|
60 | <!--<h4 class="panel-title"> JARS </h4>--> | |
|
61 | <tr><th>Data Type</th><td>{{exp_type}}</td></tr> | |
|
62 | <tr><th># Channels</th><td>{{configuration.channels_number}}</td></tr> | |
|
63 | <tr><th>Coh Int</th><td>{{configuration.cohe_integr}}</td></tr> | |
|
64 | <tr><th>FFT Points</th><td>{{configuration.fftpoints}}</td></tr> | |
|
65 | {% if exp_type == 'PDATA'%} | |
|
66 | <tr><th>Inc Int</th><td>{{configuration.incohe_integr}}</td></tr> | |
|
67 | <tr><th>Spec. Comb.</th><td>{{configuration.spectral}}</td></tr> | |
|
68 | {% endif %} | |
|
69 | <tr><th>Acq Prof</th><td>{{configuration.acq_profiles}}</td></tr> | |
|
70 | <tr><th>Prof x Block</th><td>{{configuration.profiles_block}}</td></tr> | |
|
71 | <tr><th>Block x File</th><td>{{ configuration.raw_data_blocks }}</td></tr> | |
|
72 | <tr><th>Time per Block (s)</th><td>{{ time_per_block }}</td></tr> | |
|
73 | <tr><th>Acqtime (s)</th><td>{{ acqtime }}</td></tr> | |
|
74 | <tr><th>Rate </th><td>{{ rate_bh }} || {{ rate_gh }}</td></tr> | |
|
75 | <tr><th>Va (m/s)</th><td>{{ va }}</td></tr> | |
|
76 | <tr><th>Vrange (m/s)</th><td>{{ vrange }}</td></tr> | |
|
77 | </table> | |
|
78 | {% endif %} | |
|
31 | <table class="table table-bordered"> | |
|
32 | {% for key in conf.keys %} | |
|
33 | <tr><th>{{key}}</th><td>{{conf|attr:key}}</td></tr> | |
|
34 | {% endfor %} | |
|
35 | </table> | |
|
79 | 36 | |
|
80 | 37 | {% endfor %} |
|
81 | 38 | |
@@ -93,10 +50,6 | |||
|
93 | 50 | {% block extra-js%} |
|
94 | 51 | <script type="text/javascript"> |
|
95 | 52 | |
|
96 | $(".clickable-row").click(function() { | |
|
97 | document.location = $(this).data("href"); | |
|
98 | }); | |
|
99 | ||
|
100 | 53 | $("#bt_back").click(function() { |
|
101 | 54 | document.location = "{% url 'url_experiment' experiment.id%}"; |
|
102 | 55 | }); |
This diff has been collapsed as it changes many lines, (839 lines changed) Show them Hide them | |||
@@ -1,5 +1,6 | |||
|
1 | 1 | import ast |
|
2 | 2 | import json |
|
3 | import hashlib | |
|
3 | 4 | from datetime import datetime, timedelta |
|
4 | 5 | |
|
5 | 6 | from django.shortcuts import render, redirect, get_object_or_404, HttpResponse |
@@ -10,6 +11,7 from django.db.models import Q | |||
|
10 | 11 | from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger |
|
11 | 12 | from django.contrib import messages |
|
12 | 13 | from django.http.request import QueryDict |
|
14 | from django.contrib.auth.decorators import login_required, user_passes_test | |
|
13 | 15 | |
|
14 | 16 | try: |
|
15 | 17 | from urllib.parse import urlencode |
@@ -39,9 +41,6 from apps.dds.models import DDSConfiguration | |||
|
39 | 41 | |
|
40 | 42 | from radarsys.celery import app |
|
41 | 43 | |
|
42 | from django.contrib.auth.decorators import login_required | |
|
43 | from django.contrib.auth.decorators import user_passes_test | |
|
44 | from django.contrib.admin.views.decorators import staff_member_required | |
|
45 | 44 | |
|
46 | 45 | CONF_FORMS = { |
|
47 | 46 | 'rc': RCConfigurationForm, |
@@ -73,8 +72,32 MIX_OPERATIONS = { | |||
|
73 | 72 | '3': 'NAND', |
|
74 | 73 | } |
|
75 | 74 | |
|
75 | ||
|
76 | def is_developer(user): | |
|
77 | ||
|
78 | groups = [str(g.name) for g in user.groups.all()] | |
|
79 | return 'Developer' in groups or user.is_staff | |
|
80 | ||
|
81 | ||
|
82 | def is_operator(user): | |
|
83 | ||
|
84 | groups = [str(g.name) for g in user.groups.all()] | |
|
85 | return 'Operator' in groups or user.is_staff | |
|
86 | ||
|
87 | ||
|
88 | def has_been_modified(model): | |
|
89 | ||
|
90 | prev_hash = model.hash | |
|
91 | new_hash = hashlib.sha256(str(model.parms_to_dict)).hexdigest() | |
|
92 | if prev_hash != new_hash: | |
|
93 | model.hash = new_hash | |
|
94 | model.save() | |
|
95 | return True | |
|
96 | return False | |
|
97 | ||
|
98 | ||
|
76 | 99 | def index(request): |
|
77 | kwargs = {'no_sidebar':True} | |
|
100 | kwargs = {'no_sidebar': True} | |
|
78 | 101 | |
|
79 | 102 | return render(request, 'index.html', kwargs) |
|
80 | 103 | |
@@ -108,7 +131,7 def location(request, id_loc): | |||
|
108 | 131 | return render(request, 'location.html', kwargs) |
|
109 | 132 | |
|
110 | 133 | |
|
111 | @user_passes_test(lambda u:u.is_staff) | |
|
134 | @login_required | |
|
112 | 135 | def location_new(request): |
|
113 | 136 | |
|
114 | 137 | if request.method == 'GET': |
@@ -130,15 +153,15 def location_new(request): | |||
|
130 | 153 | return render(request, 'base_edit.html', kwargs) |
|
131 | 154 | |
|
132 | 155 | |
|
133 | @user_passes_test(lambda u:u.is_staff) | |
|
156 | @login_required | |
|
134 | 157 | def location_edit(request, id_loc): |
|
135 | 158 | |
|
136 | 159 | location = get_object_or_404(Location, pk=id_loc) |
|
137 | 160 | |
|
138 | if request.method=='GET': | |
|
161 | if request.method == 'GET': | |
|
139 | 162 | form = LocationForm(instance=location) |
|
140 | 163 | |
|
141 | if request.method=='POST': | |
|
164 | if request.method == 'POST': | |
|
142 | 165 | form = LocationForm(request.POST, instance=location) |
|
143 | 166 | |
|
144 | 167 | if form.is_valid(): |
@@ -154,12 +177,12 def location_edit(request, id_loc): | |||
|
154 | 177 | return render(request, 'base_edit.html', kwargs) |
|
155 | 178 | |
|
156 | 179 | |
|
157 | @user_passes_test(lambda u:u.is_staff) | |
|
180 | @login_required | |
|
158 | 181 | def location_delete(request, id_loc): |
|
159 | 182 | |
|
160 | 183 | location = get_object_or_404(Location, pk=id_loc) |
|
161 | 184 | |
|
162 | if request.method=='POST': | |
|
185 | if request.method == 'POST': | |
|
163 | 186 | |
|
164 | 187 | if request.user.is_staff: |
|
165 | 188 | location.delete() |
@@ -169,12 +192,11 def location_delete(request, id_loc): | |||
|
169 | 192 | return redirect(location.get_absolute_url()) |
|
170 | 193 | |
|
171 | 194 | kwargs = { |
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 | 'previous': location.get_absolute_url(), | |
|
176 | 'delete': True | |
|
177 | } | |
|
195 | 'title': 'Delete', | |
|
196 | 'suptitle': 'Location', | |
|
197 | 'object': location, | |
|
198 | 'delete': True | |
|
199 | } | |
|
178 | 200 | |
|
179 | 201 | return render(request, 'confirm.html', kwargs) |
|
180 | 202 | |
@@ -182,13 +204,22 def location_delete(request, id_loc): | |||
|
182 | 204 | def devices(request): |
|
183 | 205 | |
|
184 | 206 | page = request.GET.get('page') |
|
185 |
order = (' |
|
|
207 | order = ('location', 'device_type') | |
|
186 | 208 | |
|
187 | kwargs = get_paginator(Device, page, order) | |
|
188 | kwargs['keys'] = ['name', 'ip_address', 'port_address', 'device_type'] | |
|
209 | filters = request.GET.copy() | |
|
210 | kwargs = get_paginator(Device, page, order, filters) | |
|
211 | form = FilterForm(initial=request.GET, extra_fields=['tags']) | |
|
212 | ||
|
213 | kwargs['keys'] = ['device_type', 'location', | |
|
214 | 'ip_address', 'port_address', 'actions'] | |
|
189 | 215 | kwargs['title'] = 'Device' |
|
190 | 216 | kwargs['suptitle'] = 'List' |
|
191 | 217 | kwargs['no_sidebar'] = True |
|
218 | kwargs['form'] = form | |
|
219 | kwargs['add_url'] = reverse('url_add_device') | |
|
220 | filters.pop('page', None) | |
|
221 | kwargs['q'] = urlencode(filters) | |
|
222 | kwargs['menu'] = 'device' | |
|
192 | 223 | |
|
193 | 224 | return render(request, 'base_list.html', kwargs) |
|
194 | 225 | |
@@ -199,7 +230,8 def device(request, id_dev): | |||
|
199 | 230 | |
|
200 | 231 | kwargs = {} |
|
201 | 232 | kwargs['device'] = device |
|
202 |
kwargs['device_keys'] = ['device_type', |
|
|
233 | kwargs['device_keys'] = ['device_type', | |
|
234 | 'ip_address', 'port_address', 'description'] | |
|
203 | 235 | |
|
204 | 236 | kwargs['title'] = 'Device' |
|
205 | 237 | kwargs['suptitle'] = 'Details' |
@@ -207,7 +239,7 def device(request, id_dev): | |||
|
207 | 239 | return render(request, 'device.html', kwargs) |
|
208 | 240 | |
|
209 | 241 | |
|
210 | @user_passes_test(lambda u:u.is_staff) | |
|
242 | @login_required | |
|
211 | 243 | def device_new(request): |
|
212 | 244 | |
|
213 | 245 | if request.method == 'GET': |
@@ -229,15 +261,15 def device_new(request): | |||
|
229 | 261 | return render(request, 'base_edit.html', kwargs) |
|
230 | 262 | |
|
231 | 263 | |
|
232 | @user_passes_test(lambda u:u.is_staff) | |
|
264 | @login_required | |
|
233 | 265 | def device_edit(request, id_dev): |
|
234 | 266 | |
|
235 | 267 | device = get_object_or_404(Device, pk=id_dev) |
|
236 | 268 | |
|
237 | if request.method=='GET': | |
|
269 | if request.method == 'GET': | |
|
238 | 270 | form = DeviceForm(instance=device) |
|
239 | 271 | |
|
240 | if request.method=='POST': | |
|
272 | if request.method == 'POST': | |
|
241 | 273 | form = DeviceForm(request.POST, instance=device) |
|
242 | 274 | |
|
243 | 275 | if form.is_valid(): |
@@ -253,12 +285,12 def device_edit(request, id_dev): | |||
|
253 | 285 | return render(request, 'base_edit.html', kwargs) |
|
254 | 286 | |
|
255 | 287 | |
|
256 | @user_passes_test(lambda u:u.is_staff) | |
|
288 | @login_required | |
|
257 | 289 | def device_delete(request, id_dev): |
|
258 | 290 | |
|
259 | 291 | device = get_object_or_404(Device, pk=id_dev) |
|
260 | 292 | |
|
261 | if request.method=='POST': | |
|
293 | if request.method == 'POST': | |
|
262 | 294 | |
|
263 | 295 | if request.user.is_staff: |
|
264 | 296 | device.delete() |
@@ -268,39 +300,39 def device_delete(request, id_dev): | |||
|
268 | 300 | return redirect(device.get_absolute_url()) |
|
269 | 301 | |
|
270 | 302 | kwargs = { |
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 | 'previous': device.get_absolute_url(), | |
|
275 | 'delete': True | |
|
276 | } | |
|
303 | 'title': 'Delete', | |
|
304 | 'suptitle': 'Device', | |
|
305 | 'object': device, | |
|
306 | 'delete': True | |
|
307 | } | |
|
277 | 308 | |
|
278 | 309 | return render(request, 'confirm.html', kwargs) |
|
279 | 310 | |
|
280 | 311 | |
|
281 | @user_passes_test(lambda u:u.is_staff) | |
|
312 | @login_required | |
|
282 | 313 | def device_change_ip(request, id_dev): |
|
283 | 314 | |
|
284 | 315 | device = get_object_or_404(Device, pk=id_dev) |
|
285 | 316 | |
|
286 | if request.method=='POST': | |
|
317 | if request.method == 'POST': | |
|
287 | 318 | |
|
288 | 319 | if request.user.is_staff: |
|
289 | 320 | device.change_ip(**request.POST.dict()) |
|
290 | 321 | level, message = device.message.split('|') |
|
291 | 322 | messages.add_message(request, level, message) |
|
292 | 323 | else: |
|
293 | messages.error(request, 'Not enough permission to delete this object') | |
|
324 | messages.error( | |
|
325 | request, 'Not enough permission to delete this object') | |
|
294 | 326 | return redirect(device.get_absolute_url()) |
|
295 | 327 | |
|
296 | 328 | kwargs = { |
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 | } | |
|
329 | 'title': 'Device', | |
|
330 | 'suptitle': 'Change IP', | |
|
331 | 'object': device, | |
|
332 | 'previous': device.get_absolute_url(), | |
|
333 | 'form': ChangeIpForm(initial={'ip_address': device.ip_address}), | |
|
334 | 'message': ' ', | |
|
335 | } | |
|
304 | 336 | |
|
305 | 337 | return render(request, 'confirm.html', kwargs) |
|
306 | 338 | |
@@ -313,12 +345,14 def campaigns(request): | |||
|
313 | 345 | |
|
314 | 346 | kwargs = get_paginator(Campaign, page, order, filters) |
|
315 | 347 | |
|
316 |
form = FilterForm(initial=request.GET, extra_fields=[ |
|
|
317 | kwargs['keys'] = ['name', 'start_date', 'end_date'] | |
|
348 | form = FilterForm(initial=request.GET, extra_fields=[ | |
|
349 | 'range_date', 'tags', 'template']) | |
|
350 | kwargs['keys'] = ['name', 'start_date', 'end_date', 'actions'] | |
|
318 | 351 | kwargs['title'] = 'Campaign' |
|
319 | 352 | kwargs['suptitle'] = 'List' |
|
320 | 353 | kwargs['no_sidebar'] = True |
|
321 | 354 | kwargs['form'] = form |
|
355 | kwargs['add_url'] = reverse('url_add_campaign') | |
|
322 | 356 | filters.pop('page', None) |
|
323 | 357 | kwargs['q'] = urlencode(filters) |
|
324 | 358 | |
@@ -334,10 +368,12 def campaign(request, id_camp): | |||
|
334 | 368 | |
|
335 | 369 | kwargs = {} |
|
336 | 370 | kwargs['campaign'] = campaign |
|
337 |
kwargs['campaign_keys'] = ['template', 'name', |
|
|
371 | kwargs['campaign_keys'] = ['template', 'name', | |
|
372 | 'start_date', 'end_date', 'tags', 'description'] | |
|
338 | 373 | |
|
339 | 374 | kwargs['experiments'] = experiments |
|
340 | kwargs['experiment_keys'] = ['name', 'radar_system', 'start_time', 'end_time'] | |
|
375 | kwargs['experiment_keys'] = [ | |
|
376 | 'name', 'radar_system', 'start_time', 'end_time'] | |
|
341 | 377 | |
|
342 | 378 | kwargs['title'] = 'Campaign' |
|
343 | 379 | kwargs['suptitle'] = 'Details' |
@@ -348,7 +384,7 def campaign(request, id_camp): | |||
|
348 | 384 | return render(request, 'campaign.html', kwargs) |
|
349 | 385 | |
|
350 | 386 | |
|
351 | @user_passes_test(lambda u:u.is_staff) | |
|
387 | @login_required | |
|
352 | 388 | def campaign_new(request): |
|
353 | 389 | |
|
354 | 390 | kwargs = {} |
@@ -356,17 +392,18 def campaign_new(request): | |||
|
356 | 392 | if request.method == 'GET': |
|
357 | 393 | |
|
358 | 394 | if 'template' in request.GET: |
|
359 | if request.GET['template']=='0': | |
|
360 | form = NewForm(initial={'create_from':2}, | |
|
395 | if request.GET['template'] == '0': | |
|
396 | form = NewForm(initial={'create_from': 2}, | |
|
361 | 397 | template_choices=Campaign.objects.filter(template=True).values_list('id', 'name')) |
|
362 | 398 | else: |
|
363 | 399 | kwargs['button'] = 'Create' |
|
364 |
kwargs['experiments'] = Configuration.objects.filter( |
|
|
400 | kwargs['experiments'] = Configuration.objects.filter( | |
|
401 | experiment=request.GET['template']) | |
|
365 | 402 | kwargs['experiment_keys'] = ['name', 'start_time', 'end_time'] |
|
366 | 403 | camp = Campaign.objects.get(pk=request.GET['template']) |
|
367 | 404 | form = CampaignForm(instance=camp, |
|
368 | initial={'name':'{}_{:%Y%m%d}'.format(camp.name, datetime.now()), | |
|
369 | 'template':False}) | |
|
405 | initial={'name': '{}_{:%Y%m%d}'.format(camp.name, datetime.now()), | |
|
406 | 'template': False}) | |
|
370 | 407 | elif 'blank' in request.GET: |
|
371 | 408 | kwargs['button'] = 'Create' |
|
372 | 409 | form = CampaignForm() |
@@ -388,7 +425,8 def campaign_new(request): | |||
|
388 | 425 | form = CampaignForm(post) |
|
389 | 426 | |
|
390 | 427 | if form.is_valid(): |
|
391 | campaign = form.save() | |
|
428 | campaign = form.save(commit=False) | |
|
429 | campaign.author = request.user | |
|
392 | 430 | for exp in experiments: |
|
393 | 431 | campaign.experiments.add(exp) |
|
394 | 432 | campaign.save() |
@@ -401,15 +439,15 def campaign_new(request): | |||
|
401 | 439 | return render(request, 'campaign_edit.html', kwargs) |
|
402 | 440 | |
|
403 | 441 | |
|
404 | @user_passes_test(lambda u:u.is_staff) | |
|
442 | @login_required | |
|
405 | 443 | def campaign_edit(request, id_camp): |
|
406 | 444 | |
|
407 | 445 | campaign = get_object_or_404(Campaign, pk=id_camp) |
|
408 | 446 | |
|
409 | if request.method=='GET': | |
|
447 | if request.method == 'GET': | |
|
410 | 448 | form = CampaignForm(instance=campaign) |
|
411 | 449 | |
|
412 | if request.method=='POST': | |
|
450 | if request.method == 'POST': | |
|
413 | 451 | exps = campaign.experiments.all().values_list('pk', flat=True) |
|
414 | 452 | post = request.POST.copy() |
|
415 | 453 | new_exps = post.getlist('experiments') |
@@ -442,12 +480,12 def campaign_edit(request, id_camp): | |||
|
442 | 480 | return render(request, 'campaign_edit.html', kwargs) |
|
443 | 481 | |
|
444 | 482 | |
|
445 | @user_passes_test(lambda u:u.is_staff) | |
|
483 | @login_required | |
|
446 | 484 | def campaign_delete(request, id_camp): |
|
447 | 485 | |
|
448 | 486 | campaign = get_object_or_404(Campaign, pk=id_camp) |
|
449 | 487 | |
|
450 | if request.method=='POST': | |
|
488 | if request.method == 'POST': | |
|
451 | 489 | if request.user.is_staff: |
|
452 | 490 | |
|
453 | 491 | for exp in campaign.experiments.all(): |
@@ -462,32 +500,31 def campaign_delete(request, id_camp): | |||
|
462 | 500 | return redirect(campaign.get_absolute_url()) |
|
463 | 501 | |
|
464 | 502 | kwargs = { |
|
465 |
|
|
|
466 |
|
|
|
467 |
|
|
|
468 | 'previous': campaign.get_absolute_url(), | |
|
469 | 'delete': True | |
|
470 | } | |
|
503 | 'title': 'Delete', | |
|
504 | 'suptitle': 'Campaign', | |
|
505 | 'object': campaign, | |
|
506 | 'delete': True | |
|
507 | } | |
|
471 | 508 | |
|
472 | 509 | return render(request, 'confirm.html', kwargs) |
|
473 | 510 | |
|
474 | 511 | |
|
475 | @user_passes_test(lambda u:u.is_staff) | |
|
512 | @login_required | |
|
476 | 513 | def campaign_export(request, id_camp): |
|
477 | 514 | |
|
478 | 515 | campaign = get_object_or_404(Campaign, pk=id_camp) |
|
479 | 516 | content = campaign.parms_to_dict() |
|
480 | 517 | content_type = 'application/json' |
|
481 |
filename |
|
|
518 | filename = '%s_%s.json' % (campaign.name, campaign.id) | |
|
482 | 519 | |
|
483 | 520 | response = HttpResponse(content_type=content_type) |
|
484 | response['Content-Disposition'] = 'attachment; filename="%s"' %filename | |
|
521 | response['Content-Disposition'] = 'attachment; filename="%s"' % filename | |
|
485 | 522 | response.write(json.dumps(content, indent=2)) |
|
486 | 523 | |
|
487 | 524 | return response |
|
488 | 525 | |
|
489 | 526 | |
|
490 | @user_passes_test(lambda u:u.is_staff) | |
|
527 | @login_required | |
|
491 | 528 | def campaign_import(request, id_camp): |
|
492 | 529 | |
|
493 | 530 | campaign = get_object_or_404(Campaign, pk=id_camp) |
@@ -499,8 +536,10 def campaign_import(request, id_camp): | |||
|
499 | 536 | file_form = UploadFileForm(request.POST, request.FILES) |
|
500 | 537 | |
|
501 | 538 | if file_form.is_valid(): |
|
502 |
new_camp = campaign.dict_to_parms( |
|
|
503 | messages.success(request, "Parameters imported from: '%s'." %request.FILES['file'].name) | |
|
539 | new_camp = campaign.dict_to_parms( | |
|
540 | json.load(request.FILES['file']), CONF_MODELS) | |
|
541 | messages.success( | |
|
542 | request, "Parameters imported from: '%s'." % request.FILES['file'].name) | |
|
504 | 543 | return redirect(new_camp.get_absolute_url_edit()) |
|
505 | 544 | |
|
506 | 545 | messages.error(request, "Could not import parameters from file") |
@@ -520,15 +559,26 def experiments(request): | |||
|
520 | 559 | order = ('location',) |
|
521 | 560 | filters = request.GET.copy() |
|
522 | 561 | |
|
562 | if 'my experiments' in filters: | |
|
563 | filters.pop('my experiments', None) | |
|
564 | filters['mine'] = request.user.id | |
|
565 | ||
|
523 | 566 | kwargs = get_paginator(Experiment, page, order, filters) |
|
524 | 567 | |
|
525 | form = FilterForm(initial=request.GET, extra_fields=['tags','template']) | |
|
568 | fields = ['tags', 'template'] | |
|
569 | if request.user.is_authenticated: | |
|
570 | fields.append('my experiments') | |
|
526 | 571 | |
|
527 | kwargs['keys'] = ['name', 'radar_system', 'start_time', 'end_time'] | |
|
572 | form = FilterForm(initial=request.GET, extra_fields=fields) | |
|
573 | ||
|
574 | kwargs['keys'] = ['name', 'radar_system', | |
|
575 | 'start_time', 'end_time', 'actions'] | |
|
528 | 576 | kwargs['title'] = 'Experiment' |
|
529 | 577 | kwargs['suptitle'] = 'List' |
|
530 | 578 | kwargs['no_sidebar'] = True |
|
531 | 579 | kwargs['form'] = form |
|
580 | kwargs['add_url'] = reverse('url_add_experiment') | |
|
581 | filters = request.GET.copy() | |
|
532 | 582 | filters.pop('page', None) |
|
533 | 583 | kwargs['q'] = urlencode(filters) |
|
534 | 584 | |
@@ -539,14 +589,17 def experiment(request, id_exp): | |||
|
539 | 589 | |
|
540 | 590 | experiment = get_object_or_404(Experiment, pk=id_exp) |
|
541 | 591 | |
|
542 |
configurations = Configuration.objects.filter( |
|
|
592 | configurations = Configuration.objects.filter( | |
|
593 | experiment=experiment, type=0) | |
|
543 | 594 | |
|
544 | 595 | kwargs = {} |
|
545 | 596 | |
|
546 |
kwargs['experiment_keys'] = ['template', 'radar_system', |
|
|
597 | kwargs['experiment_keys'] = ['template', 'radar_system', | |
|
598 | 'name', 'freq', 'start_time', 'end_time'] | |
|
547 | 599 | kwargs['experiment'] = experiment |
|
548 | 600 | |
|
549 |
kwargs['configuration_keys'] = ['name', 'device__ip_address', |
|
|
601 | kwargs['configuration_keys'] = ['name', 'device__ip_address', | |
|
602 | 'device__port_address', 'device__status'] | |
|
550 | 603 | kwargs['configurations'] = configurations |
|
551 | 604 | |
|
552 | 605 | kwargs['title'] = 'Experiment' |
@@ -560,21 +613,27 def experiment(request, id_exp): | |||
|
560 | 613 | return render(request, 'experiment.html', kwargs) |
|
561 | 614 | |
|
562 | 615 | |
|
563 | @user_passes_test(lambda u:u.is_staff) | |
|
616 | @login_required | |
|
564 | 617 | def experiment_new(request, id_camp=None): |
|
565 | 618 | |
|
619 | if not is_developer(request.user): | |
|
620 | messages.error( | |
|
621 | request, 'Developer required, to create new Experiments') | |
|
622 | return redirect('index') | |
|
566 | 623 | kwargs = {} |
|
567 | 624 | |
|
568 | 625 | if request.method == 'GET': |
|
569 | 626 | if 'template' in request.GET: |
|
570 | if request.GET['template']=='0': | |
|
571 | form = NewForm(initial={'create_from':2}, | |
|
627 | if request.GET['template'] == '0': | |
|
628 | form = NewForm(initial={'create_from': 2}, | |
|
572 | 629 | template_choices=Experiment.objects.filter(template=True).values_list('id', 'name')) |
|
573 | 630 | else: |
|
574 | 631 | kwargs['button'] = 'Create' |
|
575 |
kwargs['configurations'] = Configuration.objects.filter( |
|
|
576 | kwargs['configuration_keys'] = ['name', 'device__name', 'device__ip_address', 'device__port_address'] | |
|
577 | exp=Experiment.objects.get(pk=request.GET['template']) | |
|
632 | kwargs['configurations'] = Configuration.objects.filter( | |
|
633 | experiment=request.GET['template']) | |
|
634 | kwargs['configuration_keys'] = ['name', 'device__name', | |
|
635 | 'device__ip_address', 'device__port_address'] | |
|
636 | exp = Experiment.objects.get(pk=request.GET['template']) | |
|
578 | 637 | form = ExperimentForm(instance=exp, |
|
579 | 638 | initial={'name': '{}_{:%y%m%d}'.format(exp.name, datetime.now()), |
|
580 | 639 | 'template': False}) |
@@ -587,10 +646,13 def experiment_new(request, id_camp=None): | |||
|
587 | 646 | if request.method == 'POST': |
|
588 | 647 | form = ExperimentForm(request.POST) |
|
589 | 648 | if form.is_valid(): |
|
590 | experiment = form.save() | |
|
649 | experiment = form.save(commit=False) | |
|
650 | experiment.author = request.user | |
|
651 | experiment.save() | |
|
591 | 652 | |
|
592 | 653 | if 'template' in request.GET: |
|
593 |
configurations = Configuration.objects.filter( |
|
|
654 | configurations = Configuration.objects.filter( | |
|
655 | experiment=request.GET['template'], type=0) | |
|
594 | 656 | for conf in configurations: |
|
595 | 657 | conf.clone(experiment=experiment, template=False) |
|
596 | 658 | |
@@ -603,7 +665,7 def experiment_new(request, id_camp=None): | |||
|
603 | 665 | return render(request, 'experiment_edit.html', kwargs) |
|
604 | 666 | |
|
605 | 667 | |
|
606 | @user_passes_test(lambda u:u.is_staff) | |
|
668 | @login_required | |
|
607 | 669 | def experiment_edit(request, id_exp): |
|
608 | 670 | |
|
609 | 671 | experiment = get_object_or_404(Experiment, pk=id_exp) |
@@ -611,7 +673,7 def experiment_edit(request, id_exp): | |||
|
611 | 673 | if request.method == 'GET': |
|
612 | 674 | form = ExperimentForm(instance=experiment) |
|
613 | 675 | |
|
614 | if request.method=='POST': | |
|
676 | if request.method == 'POST': | |
|
615 | 677 | form = ExperimentForm(request.POST, instance=experiment) |
|
616 | 678 | |
|
617 | 679 | if form.is_valid(): |
@@ -627,12 +689,12 def experiment_edit(request, id_exp): | |||
|
627 | 689 | return render(request, 'experiment_edit.html', kwargs) |
|
628 | 690 | |
|
629 | 691 | |
|
630 | @user_passes_test(lambda u:u.is_staff) | |
|
692 | @login_required | |
|
631 | 693 | def experiment_delete(request, id_exp): |
|
632 | 694 | |
|
633 | 695 | experiment = get_object_or_404(Experiment, pk=id_exp) |
|
634 | 696 | |
|
635 | if request.method=='POST': | |
|
697 | if request.method == 'POST': | |
|
636 | 698 | if request.user.is_staff: |
|
637 | 699 | for conf in Configuration.objects.filter(experiment=experiment): |
|
638 | 700 | conf.delete() |
@@ -643,35 +705,34 def experiment_delete(request, id_exp): | |||
|
643 | 705 | return redirect(experiment.get_absolute_url()) |
|
644 | 706 | |
|
645 | 707 | kwargs = { |
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 | 'previous': experiment.get_absolute_url(), | |
|
650 | 'delete': True | |
|
651 | } | |
|
708 | 'title': 'Delete', | |
|
709 | 'suptitle': 'Experiment', | |
|
710 | 'object': experiment, | |
|
711 | 'delete': True | |
|
712 | } | |
|
652 | 713 | |
|
653 | 714 | return render(request, 'confirm.html', kwargs) |
|
654 | 715 | |
|
655 | 716 | |
|
656 | @user_passes_test(lambda u:u.is_staff) | |
|
717 | @login_required | |
|
657 | 718 | def experiment_export(request, id_exp): |
|
658 | 719 | |
|
659 | 720 | experiment = get_object_or_404(Experiment, pk=id_exp) |
|
660 | 721 | content = experiment.parms_to_dict() |
|
661 | 722 | content_type = 'application/json' |
|
662 |
filename |
|
|
723 | filename = '%s_%s.json' % (experiment.name, experiment.id) | |
|
663 | 724 | |
|
664 | 725 | response = HttpResponse(content_type=content_type) |
|
665 | response['Content-Disposition'] = 'attachment; filename="%s"' %filename | |
|
726 | response['Content-Disposition'] = 'attachment; filename="%s"' % filename | |
|
666 | 727 | response.write(json.dumps(content, indent=2)) |
|
667 | 728 | |
|
668 | 729 | return response |
|
669 | 730 | |
|
670 | 731 | |
|
671 | @user_passes_test(lambda u:u.is_staff) | |
|
732 | @login_required | |
|
672 | 733 | def experiment_import(request, id_exp): |
|
673 | 734 | |
|
674 |
experiment |
|
|
735 | experiment = get_object_or_404(Experiment, pk=id_exp) | |
|
675 | 736 | configurations = Configuration.objects.filter(experiment=experiment) |
|
676 | 737 | |
|
677 | 738 | if request.method == 'GET': |
@@ -681,8 +742,10 def experiment_import(request, id_exp): | |||
|
681 | 742 | file_form = UploadFileForm(request.POST, request.FILES) |
|
682 | 743 | |
|
683 | 744 | if file_form.is_valid(): |
|
684 |
new_exp = experiment.dict_to_parms( |
|
|
685 | messages.success(request, "Parameters imported from: '%s'." %request.FILES['file'].name) | |
|
745 | new_exp = experiment.dict_to_parms( | |
|
746 | json.load(request.FILES['file']), CONF_MODELS) | |
|
747 | messages.success( | |
|
748 | request, "Parameters imported from: '%s'." % request.FILES['file'].name) | |
|
686 | 749 | return redirect(new_exp.get_absolute_url_edit()) |
|
687 | 750 | |
|
688 | 751 | messages.error(request, "Could not import parameters from file") |
@@ -698,7 +761,7 def experiment_import(request, id_exp): | |||
|
698 | 761 | return render(request, 'experiment_import.html', kwargs) |
|
699 | 762 | |
|
700 | 763 | |
|
701 | @user_passes_test(lambda u:u.is_staff) | |
|
764 | @login_required | |
|
702 | 765 | def experiment_start(request, id_exp): |
|
703 | 766 | |
|
704 | 767 | exp = get_object_or_404(Experiment, pk=id_exp) |
@@ -707,9 +770,9 def experiment_start(request, id_exp): | |||
|
707 | 770 | messages.warning(request, 'Experiment {} already runnnig'.format(exp)) |
|
708 | 771 | else: |
|
709 | 772 | exp.status = exp.start() |
|
710 | if exp.status==0: | |
|
773 | if exp.status == 0: | |
|
711 | 774 | messages.error(request, 'Experiment {} not start'.format(exp)) |
|
712 | if exp.status==2: | |
|
775 | if exp.status == 2: | |
|
713 | 776 | messages.success(request, 'Experiment {} started'.format(exp)) |
|
714 | 777 | |
|
715 | 778 | exp.save() |
@@ -717,7 +780,7 def experiment_start(request, id_exp): | |||
|
717 | 780 | return redirect(exp.get_absolute_url()) |
|
718 | 781 | |
|
719 | 782 | |
|
720 | @user_passes_test(lambda u:u.is_staff) | |
|
783 | @login_required | |
|
721 | 784 | def experiment_stop(request, id_exp): |
|
722 | 785 | |
|
723 | 786 | exp = get_object_or_404(Experiment, pk=id_exp) |
@@ -741,15 +804,18 def experiment_status(request, id_exp): | |||
|
741 | 804 | return redirect(exp.get_absolute_url()) |
|
742 | 805 | |
|
743 | 806 | |
|
744 | @user_passes_test(lambda u:u.is_staff) | |
|
807 | @login_required | |
|
745 | 808 | def experiment_mix(request, id_exp): |
|
746 | 809 | |
|
747 | 810 | experiment = get_object_or_404(Experiment, pk=id_exp) |
|
748 |
rc_confs = [conf for conf in RCConfiguration.objects.filter( |
|
|
749 | mix=False)] | |
|
750 | ||
|
751 | if len(rc_confs)<2: | |
|
752 | messages.warning(request, 'You need at least two RC Configurations to make a mix') | |
|
811 | rc_confs = [conf for conf in RCConfiguration.objects.filter( | |
|
812 | experiment=id_exp, | |
|
813 | type=0, | |
|
814 | mix=False)] | |
|
815 | ||
|
816 | if len(rc_confs) < 2: | |
|
817 | messages.warning( | |
|
818 | request, 'You need at least two RC Configurations to make a mix') | |
|
753 | 819 | return redirect(experiment.get_absolute_url()) |
|
754 | 820 | |
|
755 | 821 | mix_confs = RCConfiguration.objects.filter(experiment=id_exp, mix=True) |
@@ -774,13 +840,13 def experiment_mix(request, id_exp): | |||
|
774 | 840 | initial = {'name': mix.name, |
|
775 | 841 | 'result': parse_mix_result(mix.parameters), |
|
776 | 842 | 'delay': 0, |
|
777 | 'mask': [0,1,2,3,4,5,6,7] | |
|
843 | 'mask': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
|
778 | 844 | } |
|
779 | 845 | |
|
780 | if request.method=='GET': | |
|
846 | if request.method == 'GET': | |
|
781 | 847 | form = RCMixConfigurationForm(confs=rc_confs, initial=initial) |
|
782 | 848 | |
|
783 | if request.method=='POST': | |
|
849 | if request.method == 'POST': | |
|
784 | 850 | result = mix.parameters |
|
785 | 851 | |
|
786 | 852 | if '{}|'.format(request.POST['experiment']) in result: |
@@ -795,22 +861,24 def experiment_mix(request, id_exp): | |||
|
795 | 861 | |
|
796 | 862 | if result: |
|
797 | 863 | result = '{}-{}|{}|{}|{}|{}'.format(mix.parameters, |
|
798 | request.POST['experiment'], | |
|
799 | mode, | |
|
800 | operation, | |
|
801 |
float( |
|
|
802 |
|
|
|
803 |
|
|
|
864 | request.POST['experiment'], | |
|
865 | mode, | |
|
866 | operation, | |
|
867 | float( | |
|
868 | request.POST['delay']), | |
|
869 | parse_mask( | |
|
870 | request.POST.getlist('mask')) | |
|
871 | ) | |
|
804 | 872 | else: |
|
805 | 873 | result = '{}|{}|{}|{}|{}'.format(request.POST['experiment'], |
|
806 | mode, | |
|
807 | operation, | |
|
808 | float(request.POST['delay']), | |
|
809 |
parse_mask( |
|
|
810 | ) | |
|
874 | mode, | |
|
875 | operation, | |
|
876 | float(request.POST['delay']), | |
|
877 | parse_mask( | |
|
878 | request.POST.getlist('mask')) | |
|
879 | ) | |
|
811 | 880 | |
|
812 | 881 | mix.parameters = result |
|
813 | mix.name = request.POST['name'] | |
|
814 | 882 | mix.save() |
|
815 | 883 | mix.update_pulses() |
|
816 | 884 | |
@@ -819,23 +887,22 def experiment_mix(request, id_exp): | |||
|
819 | 887 | |
|
820 | 888 | form = RCMixConfigurationForm(initial=initial, confs=rc_confs) |
|
821 | 889 | |
|
822 | ||
|
823 | 890 | kwargs = { |
|
824 |
|
|
|
825 |
|
|
|
826 |
|
|
|
827 |
|
|
|
828 |
|
|
|
829 |
|
|
|
830 |
|
|
|
831 |
|
|
|
891 | 'title': 'Experiment', | |
|
892 | 'suptitle': 'Mix Configurations', | |
|
893 | 'form': form, | |
|
894 | 'extra_button': 'Delete', | |
|
895 | 'button': 'Add', | |
|
896 | 'cancel': 'Back', | |
|
897 | 'previous': experiment.get_absolute_url(), | |
|
898 | 'id_exp': id_exp, | |
|
832 | 899 | |
|
833 | } | |
|
900 | } | |
|
834 | 901 | |
|
835 | 902 | return render(request, 'experiment_mix.html', kwargs) |
|
836 | 903 | |
|
837 | 904 | |
|
838 | @user_passes_test(lambda u:u.is_staff) | |
|
905 | @login_required | |
|
839 | 906 | def experiment_mix_delete(request, id_exp): |
|
840 | 907 | |
|
841 | 908 | conf = RCConfiguration.objects.get(experiment=id_exp, mix=True, type=0) |
@@ -848,155 +915,145 def experiment_mix_delete(request, id_exp): | |||
|
848 | 915 | |
|
849 | 916 | def experiment_summary(request, id_exp): |
|
850 | 917 | |
|
851 |
experiment |
|
|
852 |
configurations |
|
|
918 | experiment = get_object_or_404(Experiment, pk=id_exp) | |
|
919 | configurations = Configuration.objects.filter( | |
|
920 | experiment=experiment, type=0) | |
|
853 | 921 | |
|
854 | 922 | kwargs = {} |
|
855 | ||
|
856 | kwargs['experiment_keys'] = ['radar_system', 'name', 'freq', 'start_time', 'end_time'] | |
|
923 | kwargs['experiment_keys'] = ['radar_system', | |
|
924 | 'name', 'freq', 'start_time', 'end_time'] | |
|
857 | 925 | kwargs['experiment'] = experiment |
|
858 | ||
|
859 | 926 | kwargs['configurations'] = [] |
|
860 | ||
|
861 | 927 | kwargs['title'] = 'Experiment Summary' |
|
862 | 928 | kwargs['suptitle'] = 'Details' |
|
863 | ||
|
864 | 929 | kwargs['button'] = 'Verify Parameters' |
|
865 | 930 | |
|
866 |
c_vel |
|
|
867 |
ope_freq |
|
|
868 | radar_lambda = c_vel/ope_freq #m | |
|
931 | c_vel = 3.0*(10**8) # m/s | |
|
932 | ope_freq = experiment.freq*(10**6) # 1/s | |
|
933 | radar_lambda = c_vel/ope_freq # m | |
|
869 | 934 | kwargs['radar_lambda'] = radar_lambda |
|
870 | 935 | |
|
871 | jars_conf = False | |
|
872 | rc_conf = False | |
|
936 | ipp = None | |
|
937 | nsa = 1 | |
|
873 | 938 | code_id = 0 |
|
874 | 939 | tx_line = {} |
|
875 | 940 | |
|
876 | for configuration in configurations: | |
|
877 | ||
|
878 | #--------------------- RC ----------------------: | |
|
879 | if configuration.device.device_type.name == 'rc': | |
|
880 | if configuration.mix: | |
|
881 | continue | |
|
882 | rc_conf = True | |
|
883 | ipp = configuration.ipp | |
|
884 | lines = configuration.get_lines(line_type__name='tx') | |
|
885 | configuration.tx_lines = [] | |
|
886 | ||
|
887 | for tx_line in lines: | |
|
888 | if tx_line.get_name()[-1] == 'A': | |
|
889 | txa_line = tx_line | |
|
890 | txa_params = json.loads(txa_line.params) | |
|
891 | line = {'name':tx_line.get_name()} | |
|
892 | tx_params = json.loads(tx_line.params) | |
|
893 | line['width'] = tx_params['pulse_width'] | |
|
894 | if line['width'] in (0, '0'): | |
|
895 | continue | |
|
896 | delays = tx_params['delays'] | |
|
897 | ||
|
898 | if delays not in ('', '0'): | |
|
899 | n = len(delays.split(',')) | |
|
900 | line['taus'] = '{} Taus: {}'.format(n, delays) | |
|
901 | else: | |
|
902 | line['taus'] = '-' | |
|
903 | ||
|
904 | for code_line in configuration.get_lines(line_type__name='codes'): | |
|
905 | code_params = json.loads(code_line.params) | |
|
906 | code_id = code_params['code'] | |
|
907 | if tx_line.pk==int(code_params['TX_ref']): | |
|
908 | line['codes'] = '{}:{}'.format(RCLineCode.objects.get(pk=code_params['code']), | |
|
909 | '-'.join(code_params['codes'])) | |
|
910 | ||
|
911 | for windows_line in configuration.get_lines(line_type__name='windows'): | |
|
912 | win_params = json.loads(windows_line.params) | |
|
913 | if tx_line.pk==int(win_params['TX_ref']): | |
|
914 | windows = '' | |
|
915 | nsa = win_params['params'][0]['number_of_samples'] | |
|
916 | for i, params in enumerate(win_params['params']): | |
|
917 | windows += 'W{}: Ho={first_height} km DH={resolution} km NSA={number_of_samples}<br>'.format(i, **params) | |
|
918 | line['windows'] = mark_safe(windows) | |
|
919 | ||
|
920 | configuration.tx_lines.append(line) | |
|
921 | ||
|
922 | if txa_line: | |
|
923 | kwargs['duty_cycle'] = float(txa_params['pulse_width'])/ipp*100 | |
|
924 | ||
|
925 | #-------------------- JARS -----------------------: | |
|
926 | if configuration.device.device_type.name == 'jars': | |
|
927 | jars_conf = True | |
|
928 | kwargs['exp_type'] = EXPERIMENT_TYPE[configuration.exp_type][1] | |
|
929 | channels_number = configuration.channels_number | |
|
930 | exp_type = configuration.exp_type | |
|
931 | fftpoints = configuration.fftpoints | |
|
932 | filter_parms = configuration.filter_parms | |
|
933 | filter_parms = ast.literal_eval(filter_parms) | |
|
934 | spectral_number = configuration.spectral_number | |
|
935 | acq_profiles = configuration.acq_profiles | |
|
936 | cohe_integr = configuration.cohe_integr | |
|
937 | profiles_block = configuration.profiles_block | |
|
938 | ||
|
939 | if filter_parms.__class__.__name__=='str': | |
|
940 | filter_parms = eval(filter_parms) | |
|
941 | ||
|
942 | kwargs['configurations'].append(configuration) | |
|
943 | ||
|
944 | ||
|
945 | #------ RC & JARS ------: | |
|
946 | if rc_conf and jars_conf: | |
|
947 | #RC filter values: | |
|
948 | ||
|
949 | if exp_type == 0: #Short | |
|
950 | bytes_ = 2 | |
|
951 | b = nsa*2*bytes_*channels_number | |
|
952 | else: #Float | |
|
953 | bytes_ = 4 | |
|
954 | channels = channels_number + spectral_number | |
|
955 | b = nsa*2*bytes_*fftpoints*channels | |
|
941 | for configuration in configurations.filter(device__device_type__name = 'rc'): | |
|
956 | 942 | |
|
943 | if configuration.mix: | |
|
944 | continue | |
|
945 | conf = {'conf': configuration} | |
|
946 | conf['keys'] = [] | |
|
947 | conf['NTxs'] = configuration.ntx | |
|
948 | conf['keys'].append('NTxs') | |
|
949 | ipp = configuration.ipp | |
|
950 | conf['IPP'] = ipp | |
|
951 | conf['keys'].append('IPP') | |
|
952 | lines = configuration.get_lines(line_type__name='tx') | |
|
953 | ||
|
954 | for tx_line in lines: | |
|
955 | tx_params = json.loads(tx_line.params) | |
|
956 | conf[tx_line.get_name()] = '{} Km'.format(tx_params['pulse_width']) | |
|
957 | conf['keys'].append(tx_line.get_name()) | |
|
958 | delays = tx_params['delays'] | |
|
959 | if delays not in ('', '0'): | |
|
960 | n = len(delays.split(',')) | |
|
961 | taus = '{} Taus: {}'.format(n, delays) | |
|
962 | else: | |
|
963 | taus = '-' | |
|
964 | conf['Taus ({})'.format(tx_line.get_name())] = taus | |
|
965 | conf['keys'].append('Taus ({})'.format(tx_line.get_name())) | |
|
966 | for code_line in configuration.get_lines(line_type__name='codes'): | |
|
967 | code_params = json.loads(code_line.params) | |
|
968 | code_id = code_params['code'] | |
|
969 | if tx_line.pk == int(code_params['TX_ref']): | |
|
970 | conf['Code ({})'.format(tx_line.get_name())] = '{}:{}'.format(RCLineCode.objects.get(pk=code_params['code']), | |
|
971 | '-'.join(code_params['codes'])) | |
|
972 | conf['keys'].append('Code ({})'.format(tx_line.get_name())) | |
|
973 | ||
|
974 | for windows_line in configuration.get_lines(line_type__name='windows'): | |
|
975 | win_params = json.loads(windows_line.params) | |
|
976 | if tx_line.pk == int(win_params['TX_ref']): | |
|
977 | windows = '' | |
|
978 | nsa = win_params['params'][0]['number_of_samples'] | |
|
979 | for i, params in enumerate(win_params['params']): | |
|
980 | windows += 'W{}: Ho={first_height} km DH={resolution} km NSA={number_of_samples}<br>'.format( | |
|
981 | i, **params) | |
|
982 | conf['Window'] = mark_safe(windows) | |
|
983 | conf['keys'].append('Window') | |
|
984 | ||
|
985 | kwargs['configurations'].append(conf) | |
|
986 | ||
|
987 | for configuration in configurations.filter(device__device_type__name = 'jars'): | |
|
988 | ||
|
989 | conf = {'conf': configuration} | |
|
990 | conf['keys'] = [] | |
|
991 | conf['Type of Data'] = EXPERIMENT_TYPE[configuration.exp_type][1] | |
|
992 | conf['keys'].append('Type of Data') | |
|
993 | channels_number = configuration.channels_number | |
|
994 | exp_type = configuration.exp_type | |
|
995 | fftpoints = configuration.fftpoints | |
|
996 | filter_parms = json.loads(configuration.filter_parms) | |
|
997 | spectral_number = configuration.spectral_number | |
|
998 | acq_profiles = configuration.acq_profiles | |
|
999 | cohe_integr = configuration.cohe_integr | |
|
1000 | profiles_block = configuration.profiles_block | |
|
1001 | ||
|
1002 | conf['Num of Profiles'] = acq_profiles | |
|
1003 | conf['keys'].append('Num of Profiles') | |
|
1004 | ||
|
1005 | conf['Prof per Block'] = profiles_block | |
|
1006 | conf['keys'].append('Prof per Block') | |
|
1007 | ||
|
1008 | conf['Blocks per File'] = configuration.raw_data_blocks | |
|
1009 | conf['keys'].append('Blocks per File') | |
|
1010 | ||
|
1011 | if exp_type == 0: # Short | |
|
1012 | bytes_ = 2 | |
|
1013 | b = nsa*2*bytes_*channels_number | |
|
1014 | else: # Float | |
|
1015 | bytes_ = 4 | |
|
1016 | channels = channels_number + spectral_number | |
|
1017 | b = nsa*2*bytes_*fftpoints*channels | |
|
1018 | ||
|
1019 | codes_num = 7 | |
|
1020 | if code_id == 2: | |
|
957 | 1021 | codes_num = 7 |
|
958 |
|
|
|
959 |
|
|
|
960 | elif code_id == 12: | |
|
961 | codes_num = 15 | |
|
962 | ||
|
963 | #Jars filter values: | |
|
964 | try: | |
|
965 |
|
|
|
966 |
|
|
|
967 | filter_5 = eval(filter_parms['filter_5']) | |
|
968 | filter_fir = eval(filter_parms['filter_fir']) | |
|
969 | except: | |
|
970 | clock = float(filter_parms['clock']) | |
|
971 | filter_2 = int(filter_parms['filter_2']) | |
|
972 | filter_5 = int(filter_parms['filter_5']) | |
|
973 | filter_fir = int(filter_parms['filter_fir']) | |
|
974 | Fs_MHz = clock/(filter_2*filter_5*filter_fir) | |
|
975 | ||
|
976 | #Jars values: | |
|
977 | IPP_units = ipp/0.15*Fs_MHz | |
|
978 | IPP_us = IPP_units / Fs_MHz | |
|
979 | IPP_s = IPP_units / (Fs_MHz * (10**6)) | |
|
980 | Ts = 1/(Fs_MHz*(10**6)) | |
|
981 | ||
|
982 | #Values | |
|
983 | Va = radar_lambda/(4*Ts*cohe_integr) | |
|
984 | rate_bh = ((nsa-codes_num)*channels_number*2*bytes_/IPP_us)*(36*(10**8)/cohe_integr) | |
|
985 | rate_gh = rate_bh/(1024*1024*1024) | |
|
986 | kwargs['rate_bh'] = str(rate_bh) + " (Bytes/h)" | |
|
987 | kwargs['rate_gh'] = str(rate_gh)+" (GBytes/h)" | |
|
988 | kwargs['va'] = Va | |
|
989 | kwargs['time_per_block'] = IPP_s * profiles_block * cohe_integr | |
|
990 | kwargs['acqtime'] = IPP_s * acq_profiles | |
|
991 | kwargs['vrange'] = 3/(2*IPP_s*cohe_integr) | |
|
992 | ||
|
993 | else: | |
|
994 | kwargs['rate_bh'] = '' | |
|
995 | kwargs['rate_gh'] = '' | |
|
996 | kwargs['va'] = '' | |
|
997 | kwargs['time_per_block'] = '' | |
|
998 | kwargs['acqtime'] = '' | |
|
999 | kwargs['vrange'] = '' | |
|
1022 | elif code_id == 12: | |
|
1023 | codes_num = 15 | |
|
1024 | ||
|
1025 | #Jars filter values: | |
|
1026 | ||
|
1027 | clock = float(filter_parms['clock']) | |
|
1028 | filter_2 = int(filter_parms['cic_2']) | |
|
1029 | filter_5 = int(filter_parms['cic_5']) | |
|
1030 | filter_fir = int(filter_parms['fir']) | |
|
1031 | Fs_MHz = clock/(filter_2*filter_5*filter_fir) | |
|
1032 | ||
|
1033 | #Jars values: | |
|
1034 | if ipp is not None: | |
|
1035 | IPP_units = ipp/0.15*Fs_MHz | |
|
1036 | IPP_us = IPP_units / Fs_MHz | |
|
1037 | IPP_s = IPP_units / (Fs_MHz * (10**6)) | |
|
1038 | Ts = 1/(Fs_MHz*(10**6)) | |
|
1039 | ||
|
1040 | Va = radar_lambda/(4*Ts*cohe_integr) | |
|
1041 | rate_bh = ((nsa-codes_num)*channels_number*2 * | |
|
1042 | bytes_/IPP_us)*(36*(10**8)/cohe_integr) | |
|
1043 | rate_gh = rate_bh/(1024*1024*1024) | |
|
1044 | ||
|
1045 | conf['Time per Block'] = IPP_s * profiles_block * cohe_integr | |
|
1046 | conf['keys'].append('Time per Block') | |
|
1047 | conf['Acq time'] = IPP_s * acq_profiles | |
|
1048 | conf['keys'].append('Acq time') | |
|
1049 | conf['Data rate'] = str(rate_gh)+" (GB/h)" | |
|
1050 | conf['keys'].append('Data rate') | |
|
1051 | conf['Va (m/s)'] = Va | |
|
1052 | conf['keys'].append('Va (m/s)') | |
|
1053 | conf['Vrange (m/s)'] = 3/(2*IPP_s*cohe_integr) | |
|
1054 | conf['keys'].append('Vrange (m/s)') | |
|
1055 | ||
|
1056 | kwargs['configurations'].append(conf) | |
|
1000 | 1057 | |
|
1001 | 1058 | ###### SIDEBAR ###### |
|
1002 | 1059 | kwargs.update(sidebar(experiment=experiment)) |
@@ -1004,19 +1061,22 def experiment_summary(request, id_exp): | |||
|
1004 | 1061 | return render(request, 'experiment_summary.html', kwargs) |
|
1005 | 1062 | |
|
1006 | 1063 | |
|
1007 | @user_passes_test(lambda u:u.is_staff) | |
|
1064 | @login_required | |
|
1008 | 1065 | def experiment_verify(request, id_exp): |
|
1009 | 1066 | |
|
1010 |
experiment |
|
|
1067 | experiment = get_object_or_404(Experiment, pk=id_exp) | |
|
1011 | 1068 | experiment_data = experiment.parms_to_dict() |
|
1012 |
configurations |
|
|
1069 | configurations = Configuration.objects.filter( | |
|
1070 | experiment=experiment, type=0) | |
|
1013 | 1071 | |
|
1014 | 1072 | kwargs = {} |
|
1015 | 1073 | |
|
1016 |
kwargs['experiment_keys'] = ['template', |
|
|
1074 | kwargs['experiment_keys'] = ['template', | |
|
1075 | 'radar_system', 'name', 'start_time', 'end_time'] | |
|
1017 | 1076 | kwargs['experiment'] = experiment |
|
1018 | 1077 | |
|
1019 |
kwargs['configuration_keys'] = ['name', 'device__ip_address', |
|
|
1078 | kwargs['configuration_keys'] = ['name', 'device__ip_address', | |
|
1079 | 'device__port_address', 'device__status'] | |
|
1020 | 1080 | kwargs['configurations'] = configurations |
|
1021 | 1081 | kwargs['experiment_data'] = experiment_data |
|
1022 | 1082 | |
@@ -1026,27 +1086,26 def experiment_verify(request, id_exp): | |||
|
1026 | 1086 | kwargs['button'] = 'Update' |
|
1027 | 1087 | |
|
1028 | 1088 | jars_conf = False |
|
1029 |
rc_conf |
|
|
1030 |
dds_conf |
|
|
1089 | rc_conf = False | |
|
1090 | dds_conf = False | |
|
1031 | 1091 | |
|
1032 | 1092 | for configuration in configurations: |
|
1033 | 1093 | #-------------------- JARS -----------------------: |
|
1034 | 1094 | if configuration.device.device_type.name == 'jars': |
|
1035 | 1095 | jars_conf = True |
|
1036 | 1096 | jars = configuration |
|
1037 |
kwargs['jars_conf'] |
|
|
1038 |
filter_parms |
|
|
1039 | filter_parms = ast.literal_eval(filter_parms) | |
|
1097 | kwargs['jars_conf'] = jars_conf | |
|
1098 | filter_parms = json.loads(jars.filter_parms) | |
|
1040 | 1099 | kwargs['filter_parms'] = filter_parms |
|
1041 | 1100 | #--Sampling Frequency |
|
1042 |
clock |
|
|
1043 |
filter_2 |
|
|
1044 |
filter_5 |
|
|
1045 |
filter_fir |
|
|
1101 | clock = filter_parms['clock'] | |
|
1102 | filter_2 = filter_parms['cic_2'] | |
|
1103 | filter_5 = filter_parms['cic_5'] | |
|
1104 | filter_fir = filter_parms['fir'] | |
|
1046 | 1105 | samp_freq_jars = clock/filter_2/filter_5/filter_fir |
|
1047 | 1106 | |
|
1048 | 1107 | kwargs['samp_freq_jars'] = samp_freq_jars |
|
1049 |
kwargs['jars'] |
|
|
1108 | kwargs['jars'] = configuration | |
|
1050 | 1109 | |
|
1051 | 1110 | #--------------------- RC ----------------------: |
|
1052 | 1111 | if configuration.device.device_type.name == 'rc' and not configuration.mix: |
@@ -1063,7 +1122,7 def experiment_verify(request, id_exp): | |||
|
1063 | 1122 | kwargs['samp_freq_rc'] = samp_freq_rc |
|
1064 | 1123 | |
|
1065 | 1124 | kwargs['rc_conf'] = rc_conf |
|
1066 |
kwargs['rc'] |
|
|
1125 | kwargs['rc'] = configuration | |
|
1067 | 1126 | |
|
1068 | 1127 | #-------------------- DDS ----------------------: |
|
1069 | 1128 | if configuration.device.device_type.name == 'dds': |
@@ -1072,8 +1131,7 def experiment_verify(request, id_exp): | |||
|
1072 | 1131 | dds_parms = configuration.parms_to_dict() |
|
1073 | 1132 | |
|
1074 | 1133 | kwargs['dds_conf'] = dds_conf |
|
1075 |
kwargs['dds'] |
|
|
1076 | ||
|
1134 | kwargs['dds'] = configuration | |
|
1077 | 1135 | |
|
1078 | 1136 | #------------Validation------------: |
|
1079 | 1137 | #Clock |
@@ -1087,8 +1145,8 def experiment_verify(request, id_exp): | |||
|
1087 | 1145 | if float(rc_parms['configurations']['byId'][str(rc.pk)]['clock_in']) != float(dds_parms['configurations']['byId'][str(dds.pk)]['clock']): |
|
1088 | 1146 | messages.warning(request, "Devices don't have the same clock.") |
|
1089 | 1147 | if float(samp_freq_rc) != float(dds_parms['configurations']['byId'][str(dds.pk)]['frequencyA']): |
|
1090 | messages.warning(request, "Devices don't have the same Frequency A.") | |
|
1091 | ||
|
1148 | messages.warning( | |
|
1149 | request, "Devices don't have the same Frequency A.") | |
|
1092 | 1150 | |
|
1093 | 1151 | #------------POST METHOD------------: |
|
1094 | 1152 | if request.method == 'POST': |
@@ -1105,8 +1163,8 def experiment_verify(request, id_exp): | |||
|
1105 | 1163 | rc.clock_in = suggest_clock |
|
1106 | 1164 | rc.save() |
|
1107 | 1165 | if jars_conf: |
|
1108 |
filter_parms |
|
|
1109 |
filter_parms |
|
|
1166 | filter_parms = jars.filter_parms | |
|
1167 | filter_parms = ast.literal_eval(filter_parms) | |
|
1110 | 1168 | filter_parms['clock'] = suggest_clock |
|
1111 | 1169 | jars.filter_parms = json.dumps(filter_parms) |
|
1112 | 1170 | jars.save() |
@@ -1125,8 +1183,8 def experiment_verify(request, id_exp): | |||
|
1125 | 1183 | suggest_frequencyA = "" |
|
1126 | 1184 | if suggest_frequencyA: |
|
1127 | 1185 | if jars_conf: |
|
1128 |
filter_parms |
|
|
1129 |
filter_parms |
|
|
1186 | filter_parms = jars.filter_parms | |
|
1187 | filter_parms = ast.literal_eval(filter_parms) | |
|
1130 | 1188 | filter_parms['fch'] = suggest_frequencyA |
|
1131 | 1189 | jars.filter_parms = json.dumps(filter_parms) |
|
1132 | 1190 | jars.save() |
@@ -1135,17 +1193,10 def experiment_verify(request, id_exp): | |||
|
1135 | 1193 | dds.frequencyA_Mhz = request.POST['suggest_frequencyA'] |
|
1136 | 1194 | dds.save() |
|
1137 | 1195 | |
|
1138 | ###### SIDEBAR ###### | |
|
1139 | 1196 | kwargs.update(sidebar(experiment=experiment)) |
|
1140 | ||
|
1141 | ||
|
1142 | ||
|
1143 | ||
|
1144 | ||
|
1145 | 1197 | return render(request, 'experiment_verify.html', kwargs) |
|
1146 | 1198 | |
|
1147 | 1199 | |
|
1148 | #@user_passes_test(lambda u:u.is_staff) | |
|
1149 | 1200 | def parse_mix_result(s): |
|
1150 | 1201 | |
|
1151 | 1202 | values = s.split('-') |
@@ -1159,28 +1210,29 def parse_mix_result(s): | |||
|
1159 | 1210 | continue |
|
1160 | 1211 | pk, mode, operation, delay, mask = value.split('|') |
|
1161 | 1212 | conf = RCConfiguration.objects.get(pk=pk) |
|
1162 | if i==0: | |
|
1213 | if i == 0: | |
|
1163 | 1214 | html += '{:20.18}{:3}{:4}{:9}km{:>6}\r\n'.format( |
|
1164 |
|
|
|
1165 |
|
|
|
1166 |
|
|
|
1167 |
|
|
|
1168 |
|
|
|
1215 | conf.name, | |
|
1216 | mode, | |
|
1217 | ' ', | |
|
1218 | delay, | |
|
1219 | mask) | |
|
1169 | 1220 | else: |
|
1170 | 1221 | html += '{:20.18}{:3}{:4}{:9}km{:>6}\r\n'.format( |
|
1171 |
|
|
|
1172 |
|
|
|
1173 |
|
|
|
1174 |
|
|
|
1175 |
|
|
|
1222 | conf.name, | |
|
1223 | mode, | |
|
1224 | operation, | |
|
1225 | delay, | |
|
1226 | mask) | |
|
1176 | 1227 | |
|
1177 | 1228 | return mark_safe(html) |
|
1178 | 1229 | |
|
1230 | ||
|
1179 | 1231 | def parse_mask(l): |
|
1180 | 1232 | |
|
1181 | 1233 | values = [] |
|
1182 | 1234 | |
|
1183 |
for x in range( |
|
|
1235 | for x in range(16): | |
|
1184 | 1236 | if '{}'.format(x) in l: |
|
1185 | 1237 | values.append(1) |
|
1186 | 1238 | else: |
@@ -1193,19 +1245,25 def parse_mask(l): | |||
|
1193 | 1245 | |
|
1194 | 1246 | def dev_confs(request): |
|
1195 | 1247 | |
|
1196 | ||
|
1197 | 1248 | page = request.GET.get('page') |
|
1198 | order = ('type', 'device__device_type', 'experiment') | |
|
1249 | order = ('programmed_date', ) | |
|
1199 | 1250 | filters = request.GET.copy() |
|
1200 | ||
|
1251 | if 'my configurations' in filters: | |
|
1252 | filters.pop('my configurations', None) | |
|
1253 | filters['mine'] = request.user.id | |
|
1201 | 1254 | kwargs = get_paginator(Configuration, page, order, filters) |
|
1202 | ||
|
1203 | form = FilterForm(initial=request.GET, extra_fields=['tags', 'template', 'historical']) | |
|
1204 | kwargs['keys'] = ['name', 'experiment', 'type', 'programmed_date'] | |
|
1255 | fields = ['tags', 'template', 'historical'] | |
|
1256 | if request.user.is_authenticated: | |
|
1257 | fields.append('my configurations') | |
|
1258 | form = FilterForm(initial=request.GET, extra_fields=fields) | |
|
1259 | kwargs['keys'] = ['name', 'experiment', | |
|
1260 | 'type', 'programmed_date', 'actions'] | |
|
1205 | 1261 | kwargs['title'] = 'Configuration' |
|
1206 | 1262 | kwargs['suptitle'] = 'List' |
|
1207 | 1263 | kwargs['no_sidebar'] = True |
|
1208 | 1264 | kwargs['form'] = form |
|
1265 | kwargs['add_url'] = reverse('url_add_dev_conf', args=[0]) | |
|
1266 | filters = request.GET.copy() | |
|
1209 | 1267 | filters.pop('page', None) |
|
1210 | 1268 | kwargs['q'] = urlencode(filters) |
|
1211 | 1269 | |
@@ -1219,16 +1277,21 def dev_conf(request, id_conf): | |||
|
1219 | 1277 | return redirect(conf.get_absolute_url()) |
|
1220 | 1278 | |
|
1221 | 1279 | |
|
1222 | @user_passes_test(lambda u:u.is_staff) | |
|
1280 | @login_required | |
|
1223 | 1281 | def dev_conf_new(request, id_exp=0, id_dev=0): |
|
1224 | 1282 | |
|
1283 | if not is_developer(request.user): | |
|
1284 | messages.error( | |
|
1285 | request, 'Developer required, to create new configurations') | |
|
1286 | return redirect('index') | |
|
1287 | ||
|
1225 | 1288 | initial = {} |
|
1226 | 1289 | kwargs = {} |
|
1227 | 1290 | |
|
1228 | if id_exp!=0: | |
|
1291 | if id_exp != 0: | |
|
1229 | 1292 | initial['experiment'] = id_exp |
|
1230 | 1293 | |
|
1231 | if id_dev!=0: | |
|
1294 | if id_dev != 0: | |
|
1232 | 1295 | initial['device'] = id_dev |
|
1233 | 1296 | |
|
1234 | 1297 | if request.method == 'GET': |
@@ -1241,19 +1304,21 def dev_conf_new(request, id_exp=0, id_dev=0): | |||
|
1241 | 1304 | form = DevConfForm(initial=initial) |
|
1242 | 1305 | else: |
|
1243 | 1306 | if 'template' in request.GET: |
|
1244 | if request.GET['template']=='0': | |
|
1245 |
choices = [(conf.pk, '{}'.format(conf)) |
|
|
1246 | form = NewForm(initial={'create_from':2}, | |
|
1307 | if request.GET['template'] == '0': | |
|
1308 | choices = [(conf.pk, '{}'.format(conf)) | |
|
1309 | for conf in Configuration.objects.filter(template=True)] | |
|
1310 | form = NewForm(initial={'create_from': 2}, | |
|
1247 | 1311 | template_choices=choices) |
|
1248 | 1312 | else: |
|
1249 | 1313 | kwargs['button'] = 'Create' |
|
1250 |
conf = Configuration.objects.get( |
|
|
1314 | conf = Configuration.objects.get( | |
|
1315 | pk=request.GET['template']) | |
|
1251 | 1316 | id_dev = conf.device.pk |
|
1252 | 1317 | DevConfForm = CONF_FORMS[conf.device.device_type.name] |
|
1253 | 1318 | form = DevConfForm(instance=conf, |
|
1254 | 1319 | initial={'name': '{}_{:%y%m%d}'.format(conf.name, datetime.now()), |
|
1255 | 1320 | 'template': False, |
|
1256 | 'experiment':id_exp}) | |
|
1321 | 'experiment': id_exp}) | |
|
1257 | 1322 | elif 'blank' in request.GET: |
|
1258 | 1323 | kwargs['button'] = 'Create' |
|
1259 | 1324 | form = ConfigurationForm(initial=initial) |
@@ -1268,10 +1333,13 def dev_conf_new(request, id_exp=0, id_dev=0): | |||
|
1268 | 1333 | form = DevConfForm(request.POST) |
|
1269 | 1334 | kwargs['button'] = 'Create' |
|
1270 | 1335 | if form.is_valid(): |
|
1271 | conf = form.save() | |
|
1336 | conf = form.save(commit=False) | |
|
1337 | conf.author = request.user | |
|
1338 | conf.save() | |
|
1272 | 1339 | |
|
1273 | if 'template' in request.GET and conf.device.device_type.name=='rc': | |
|
1274 |
lines = RCLine.objects.filter( |
|
|
1340 | if 'template' in request.GET and conf.device.device_type.name == 'rc': | |
|
1341 | lines = RCLine.objects.filter( | |
|
1342 | rc_configuration=request.GET['template']) | |
|
1275 | 1343 | for line in lines: |
|
1276 | 1344 | line.clone(rc_configuration=conf) |
|
1277 | 1345 | |
@@ -1280,7 +1348,8 def dev_conf_new(request, id_exp=0, id_dev=0): | |||
|
1280 | 1348 | line_params = json.loads(line.params) |
|
1281 | 1349 | if 'TX_ref' in line_params: |
|
1282 | 1350 | ref_line = RCLine.objects.get(pk=line_params['TX_ref']) |
|
1283 |
line_params['TX_ref'] = ['{}'.format( |
|
|
1351 | line_params['TX_ref'] = ['{}'.format( | |
|
1352 | l.pk) for l in new_lines if l.get_name() == ref_line.get_name()][0] | |
|
1284 | 1353 | line.params = json.dumps(line_params) |
|
1285 | 1354 | line.save() |
|
1286 | 1355 | |
@@ -1291,7 +1360,6 def dev_conf_new(request, id_exp=0, id_dev=0): | |||
|
1291 | 1360 | kwargs['title'] = 'Configuration' |
|
1292 | 1361 | kwargs['suptitle'] = 'New' |
|
1293 | 1362 | |
|
1294 | ||
|
1295 | 1363 | if id_dev != 0: |
|
1296 | 1364 | device = Device.objects.get(pk=id_dev) |
|
1297 | 1365 | kwargs['device'] = device.device_type.name |
@@ -1299,17 +1367,17 def dev_conf_new(request, id_exp=0, id_dev=0): | |||
|
1299 | 1367 | return render(request, 'dev_conf_edit.html', kwargs) |
|
1300 | 1368 | |
|
1301 | 1369 | |
|
1302 | @user_passes_test(lambda u:u.is_staff) | |
|
1370 | @login_required | |
|
1303 | 1371 | def dev_conf_edit(request, id_conf): |
|
1304 | 1372 | |
|
1305 | 1373 | conf = get_object_or_404(Configuration, pk=id_conf) |
|
1306 | 1374 | |
|
1307 | 1375 | DevConfForm = CONF_FORMS[conf.device.device_type.name] |
|
1308 | 1376 | |
|
1309 | if request.method=='GET': | |
|
1377 | if request.method == 'GET': | |
|
1310 | 1378 | form = DevConfForm(instance=conf) |
|
1311 | 1379 | |
|
1312 | if request.method=='POST': | |
|
1380 | if request.method == 'POST': | |
|
1313 | 1381 | form = DevConfForm(request.POST, instance=conf) |
|
1314 | 1382 | |
|
1315 | 1383 | if form.is_valid(): |
@@ -1328,7 +1396,7 def dev_conf_edit(request, id_conf): | |||
|
1328 | 1396 | return render(request, '%s_conf_edit.html' % conf.device.device_type.name, kwargs) |
|
1329 | 1397 | |
|
1330 | 1398 | |
|
1331 | @user_passes_test(lambda u:u.is_staff) | |
|
1399 | @login_required | |
|
1332 | 1400 | def dev_conf_start(request, id_conf): |
|
1333 | 1401 | |
|
1334 | 1402 | conf = get_object_or_404(Configuration, pk=id_conf) |
@@ -1343,7 +1411,7 def dev_conf_start(request, id_conf): | |||
|
1343 | 1411 | return redirect(conf.get_absolute_url()) |
|
1344 | 1412 | |
|
1345 | 1413 | |
|
1346 | @user_passes_test(lambda u:u.is_staff) | |
|
1414 | @login_required | |
|
1347 | 1415 | def dev_conf_stop(request, id_conf): |
|
1348 | 1416 | |
|
1349 | 1417 | conf = get_object_or_404(Configuration, pk=id_conf) |
@@ -1370,7 +1438,7 def dev_conf_status(request, id_conf): | |||
|
1370 | 1438 | return redirect(conf.get_absolute_url()) |
|
1371 | 1439 | |
|
1372 | 1440 | |
|
1373 | @user_passes_test(lambda u:u.is_staff) | |
|
1441 | @login_required | |
|
1374 | 1442 | def dev_conf_reset(request, id_conf): |
|
1375 | 1443 | |
|
1376 | 1444 | conf = get_object_or_404(Configuration, pk=id_conf) |
@@ -1383,28 +1451,29 def dev_conf_reset(request, id_conf): | |||
|
1383 | 1451 | return redirect(conf.get_absolute_url()) |
|
1384 | 1452 | |
|
1385 | 1453 | |
|
1386 | @user_passes_test(lambda u:u.is_staff) | |
|
1454 | @login_required | |
|
1387 | 1455 | def dev_conf_write(request, id_conf): |
|
1388 | 1456 | |
|
1389 | 1457 | conf = get_object_or_404(Configuration, pk=id_conf) |
|
1390 | 1458 | |
|
1391 | 1459 | if conf.write_device(): |
|
1392 | 1460 | messages.success(request, conf.message) |
|
1393 | conf.clone(type=1, template=False) | |
|
1461 | if has_been_modified(conf): | |
|
1462 | conf.clone(type=1, template=False) | |
|
1394 | 1463 | else: |
|
1395 | 1464 | messages.error(request, conf.message) |
|
1396 | 1465 | |
|
1397 | 1466 | return redirect(get_object_or_404(Configuration, pk=id_conf).get_absolute_url()) |
|
1398 | 1467 | |
|
1399 | 1468 | |
|
1400 | @user_passes_test(lambda u:u.is_staff) | |
|
1469 | @login_required | |
|
1401 | 1470 | def dev_conf_read(request, id_conf): |
|
1402 | 1471 | |
|
1403 | 1472 | conf = get_object_or_404(Configuration, pk=id_conf) |
|
1404 | 1473 | |
|
1405 | 1474 | DevConfForm = CONF_FORMS[conf.device.device_type.name] |
|
1406 | 1475 | |
|
1407 | if request.method=='GET': | |
|
1476 | if request.method == 'GET': | |
|
1408 | 1477 | |
|
1409 | 1478 | parms = conf.read_device() |
|
1410 | 1479 | #conf.status_device() |
@@ -1415,7 +1484,7 def dev_conf_read(request, id_conf): | |||
|
1415 | 1484 | |
|
1416 | 1485 | form = DevConfForm(initial=parms, instance=conf) |
|
1417 | 1486 | |
|
1418 | if request.method=='POST': | |
|
1487 | if request.method == 'POST': | |
|
1419 | 1488 | form = DevConfForm(request.POST, instance=conf) |
|
1420 | 1489 | |
|
1421 | 1490 | if form.is_valid(): |
@@ -1434,10 +1503,10 def dev_conf_read(request, id_conf): | |||
|
1434 | 1503 | ###### SIDEBAR ###### |
|
1435 | 1504 | kwargs.update(sidebar(conf=conf)) |
|
1436 | 1505 | |
|
1437 | return render(request, '%s_conf_edit.html' %conf.device.device_type.name, kwargs) | |
|
1506 | return render(request, '%s_conf_edit.html' % conf.device.device_type.name, kwargs) | |
|
1438 | 1507 | |
|
1439 | 1508 | |
|
1440 | @user_passes_test(lambda u:u.is_staff) | |
|
1509 | @login_required | |
|
1441 | 1510 | def dev_conf_import(request, id_conf): |
|
1442 | 1511 | |
|
1443 | 1512 | conf = get_object_or_404(Configuration, pk=id_conf) |
@@ -1452,7 +1521,8 def dev_conf_import(request, id_conf): | |||
|
1452 | 1521 | if file_form.is_valid(): |
|
1453 | 1522 | |
|
1454 | 1523 | data = conf.import_from_file(request.FILES['file']) |
|
1455 |
parms = Params(data=data).get_conf( |
|
|
1524 | parms = Params(data=data).get_conf( | |
|
1525 | dtype=conf.device.device_type.name) | |
|
1456 | 1526 | |
|
1457 | 1527 | if parms: |
|
1458 | 1528 | |
@@ -1470,7 +1540,8 def dev_conf_import(request, id_conf): | |||
|
1470 | 1540 | ###### SIDEBAR ###### |
|
1471 | 1541 | kwargs.update(sidebar(conf=conf)) |
|
1472 | 1542 | |
|
1473 | messages.success(request, "Parameters imported from: '%s'." %request.FILES['file'].name) | |
|
1543 | messages.success( | |
|
1544 | request, "Parameters imported from: '%s'." % request.FILES['file'].name) | |
|
1474 | 1545 | |
|
1475 | 1546 | return render(request, '%s_conf_edit.html' % conf.device.device_type.name, kwargs) |
|
1476 | 1547 | |
@@ -1488,7 +1559,7 def dev_conf_import(request, id_conf): | |||
|
1488 | 1559 | return render(request, 'dev_conf_import.html', kwargs) |
|
1489 | 1560 | |
|
1490 | 1561 | |
|
1491 | @user_passes_test(lambda u:u.is_staff) | |
|
1562 | @login_required | |
|
1492 | 1563 | def dev_conf_export(request, id_conf): |
|
1493 | 1564 | |
|
1494 | 1565 | conf = get_object_or_404(Configuration, pk=id_conf) |
@@ -1497,15 +1568,17 def dev_conf_export(request, id_conf): | |||
|
1497 | 1568 | file_form = DownloadFileForm(conf.device.device_type.name) |
|
1498 | 1569 | |
|
1499 | 1570 | if request.method == 'POST': |
|
1500 |
file_form = DownloadFileForm( |
|
|
1571 | file_form = DownloadFileForm( | |
|
1572 | conf.device.device_type.name, request.POST) | |
|
1501 | 1573 | |
|
1502 | 1574 | if file_form.is_valid(): |
|
1503 |
fields = conf.export_to_file( |
|
|
1575 | fields = conf.export_to_file( | |
|
1576 | format=file_form.cleaned_data['format']) | |
|
1504 | 1577 | if not fields['content']: |
|
1505 | 1578 | messages.error(request, conf.message) |
|
1506 | 1579 | return redirect(conf.get_absolute_url_export()) |
|
1507 | 1580 | response = HttpResponse(content_type=fields['content_type']) |
|
1508 | response['Content-Disposition'] = 'attachment; filename="%s"' %fields['filename'] | |
|
1581 | response['Content-Disposition'] = 'attachment; filename="%s"' % fields['filename'] | |
|
1509 | 1582 | response.write(fields['content']) |
|
1510 | 1583 | |
|
1511 | 1584 | return response |
@@ -1522,12 +1595,12 def dev_conf_export(request, id_conf): | |||
|
1522 | 1595 | return render(request, 'dev_conf_export.html', kwargs) |
|
1523 | 1596 | |
|
1524 | 1597 | |
|
1525 | @user_passes_test(lambda u:u.is_staff) | |
|
1598 | @login_required | |
|
1526 | 1599 | def dev_conf_delete(request, id_conf): |
|
1527 | 1600 | |
|
1528 | 1601 | conf = get_object_or_404(Configuration, pk=id_conf) |
|
1529 | 1602 | |
|
1530 | if request.method=='POST': | |
|
1603 | if request.method == 'POST': | |
|
1531 | 1604 | if request.user.is_staff: |
|
1532 | 1605 | conf.delete() |
|
1533 | 1606 | return redirect('url_dev_confs') |
@@ -1536,12 +1609,11 def dev_conf_delete(request, id_conf): | |||
|
1536 | 1609 | return redirect(conf.get_absolute_url()) |
|
1537 | 1610 | |
|
1538 | 1611 | kwargs = { |
|
1539 |
|
|
|
1540 |
|
|
|
1541 |
|
|
|
1542 | 'previous': conf.get_absolute_url(), | |
|
1543 | 'delete': True | |
|
1544 | } | |
|
1612 | 'title': 'Delete', | |
|
1613 | 'suptitle': 'Configuration', | |
|
1614 | 'object': conf, | |
|
1615 | 'delete': True | |
|
1616 | } | |
|
1545 | 1617 | |
|
1546 | 1618 | return render(request, 'confirm.html', kwargs) |
|
1547 | 1619 | |
@@ -1561,16 +1633,18 def sidebar(**kwargs): | |||
|
1561 | 1633 | campaign = experiment.campaign_set.all() |
|
1562 | 1634 | if campaign: |
|
1563 | 1635 | side_data['campaign'] = campaign[0] |
|
1564 | experiments = campaign[0].experiments.all() | |
|
1636 | experiments = campaign[0].experiments.all().order_by('name') | |
|
1565 | 1637 | else: |
|
1566 | 1638 | experiments = [experiment] |
|
1567 | 1639 | configurations = experiment.configuration_set.filter(type=0) |
|
1568 | 1640 | side_data['side_experiments'] = experiments |
|
1569 | side_data['side_configurations'] = configurations | |
|
1641 | side_data['side_configurations'] = configurations.order_by( | |
|
1642 | 'device__device_type__name') | |
|
1570 | 1643 | |
|
1571 | 1644 | return side_data |
|
1572 | 1645 | |
|
1573 | def get_paginator(model, page, order, filters={}, n=10): | |
|
1646 | ||
|
1647 | def get_paginator(model, page, order, filters={}, n=8): | |
|
1574 | 1648 | |
|
1575 | 1649 | kwargs = {} |
|
1576 | 1650 | query = Q() |
@@ -1596,13 +1670,19 def get_paginator(model, page, order, filters={}, n=10): | |||
|
1596 | 1670 | tags = filters.pop('tags') |
|
1597 | 1671 | if 'tags' in fields: |
|
1598 | 1672 | query = query | Q(tags__icontains=tags) |
|
1599 |
if ' |
|
|
1600 |
query = query | Q( |
|
|
1673 | if 'label' in fields: | |
|
1674 | query = query | Q(label__icontains=tags) | |
|
1601 | 1675 | if 'location' in fields: |
|
1602 | 1676 | query = query | Q(location__name__icontains=tags) |
|
1603 | 1677 | if 'device' in fields: |
|
1604 | 1678 | query = query | Q(device__device_type__name__icontains=tags) |
|
1679 | query = query | Q(device__location__name__icontains=tags) | |
|
1680 | if 'device_type' in fields: | |
|
1681 | query = query | Q(device_type__name__icontains=tags) | |
|
1605 | 1682 | |
|
1683 | if 'mine' in filters: | |
|
1684 | filters['author_id'] = filters['mine'] | |
|
1685 | filters.pop('mine') | |
|
1606 | 1686 | object_list = model.objects.filter(query, **filters).order_by(*order) |
|
1607 | 1687 | paginator = Paginator(object_list, n) |
|
1608 | 1688 | |
@@ -1618,6 +1698,7 def get_paginator(model, page, order, filters={}, n=10): | |||
|
1618 | 1698 | |
|
1619 | 1699 | return kwargs |
|
1620 | 1700 | |
|
1701 | ||
|
1621 | 1702 | def operation(request, id_camp=None): |
|
1622 | 1703 | |
|
1623 | 1704 | kwargs = {} |
@@ -1626,10 +1707,10 def operation(request, id_camp=None): | |||
|
1626 | 1707 | campaigns = Campaign.objects.filter(start_date__lte=datetime.now(), |
|
1627 | 1708 | end_date__gte=datetime.now()).order_by('-start_date') |
|
1628 | 1709 | |
|
1629 | ||
|
1630 | 1710 | if id_camp: |
|
1631 |
campaign = get_object_or_404(Campaign, pk |
|
|
1632 | form = OperationForm(initial={'campaign': campaign.id}, campaigns=campaigns) | |
|
1711 | campaign = get_object_or_404(Campaign, pk=id_camp) | |
|
1712 | form = OperationForm( | |
|
1713 | initial={'campaign': campaign.id}, campaigns=campaigns) | |
|
1633 | 1714 | kwargs['campaign'] = campaign |
|
1634 | 1715 | else: |
|
1635 | 1716 | # form = OperationForm(campaigns=campaigns) |
@@ -1650,7 +1731,7 def operation(request, id_camp=None): | |||
|
1650 | 1731 | @login_required |
|
1651 | 1732 | def radar_start(request, id_camp, id_radar): |
|
1652 | 1733 | |
|
1653 |
campaign = get_object_or_404(Campaign, pk |
|
|
1734 | campaign = get_object_or_404(Campaign, pk=id_camp) | |
|
1654 | 1735 | experiments = campaign.get_experiments_by_radar(id_radar)[0]['experiments'] |
|
1655 | 1736 | now = datetime.now() |
|
1656 | 1737 | for exp in experiments: |
@@ -1658,13 +1739,15 def radar_start(request, id_camp, id_radar): | |||
|
1658 | 1739 | end = datetime.combine(datetime.now().date(), exp.end_time) |
|
1659 | 1740 | if end < start: |
|
1660 | 1741 | end += timedelta(1) |
|
1661 | ||
|
1742 | ||
|
1662 | 1743 | if exp.status == 2: |
|
1663 | messages.warning(request, 'Experiment {} already running'.format(exp)) | |
|
1744 | messages.warning( | |
|
1745 | request, 'Experiment {} already running'.format(exp)) | |
|
1664 | 1746 | continue |
|
1665 | 1747 | |
|
1666 | 1748 | if exp.status == 3: |
|
1667 | messages.warning(request, 'Experiment {} already programmed'.format(exp)) | |
|
1749 | messages.warning( | |
|
1750 | request, 'Experiment {} already programmed'.format(exp)) | |
|
1668 | 1751 | continue |
|
1669 | 1752 | |
|
1670 | 1753 | if start > campaign.end_date or start < campaign.start_date: |
@@ -1676,15 +1759,17 def radar_start(request, id_camp, id_radar): | |||
|
1676 | 1759 | exp.save() |
|
1677 | 1760 | task = task_start.delay(exp.id) |
|
1678 | 1761 | exp.status = task.wait() |
|
1679 | if exp.status==0: | |
|
1762 | if exp.status == 0: | |
|
1680 | 1763 | messages.error(request, 'Experiment {} not start'.format(exp)) |
|
1681 | if exp.status==2: | |
|
1764 | if exp.status == 2: | |
|
1682 | 1765 | messages.success(request, 'Experiment {} started'.format(exp)) |
|
1683 | 1766 | else: |
|
1684 |
task = task_start.apply_async( |
|
|
1767 | task = task_start.apply_async( | |
|
1768 | (exp.pk, ), eta=start+timedelta(hours=5)) | |
|
1685 | 1769 | exp.task = task.id |
|
1686 | 1770 | exp.status = 3 |
|
1687 | messages.success(request, 'Experiment {} programmed to start at {}'.format(exp, start)) | |
|
1771 | messages.success( | |
|
1772 | request, 'Experiment {} programmed to start at {}'.format(exp, start)) | |
|
1688 | 1773 | |
|
1689 | 1774 | exp.save() |
|
1690 | 1775 | |
@@ -1694,7 +1779,7 def radar_start(request, id_camp, id_radar): | |||
|
1694 | 1779 | @login_required |
|
1695 | 1780 | def radar_stop(request, id_camp, id_radar): |
|
1696 | 1781 | |
|
1697 |
campaign = get_object_or_404(Campaign, pk |
|
|
1782 | campaign = get_object_or_404(Campaign, pk=id_camp) | |
|
1698 | 1783 | experiments = campaign.get_experiments_by_radar(id_radar)[0]['experiments'] |
|
1699 | 1784 | |
|
1700 | 1785 | for exp in experiments: |
@@ -1713,7 +1798,7 def radar_stop(request, id_camp, id_radar): | |||
|
1713 | 1798 | @login_required |
|
1714 | 1799 | def radar_refresh(request, id_camp, id_radar): |
|
1715 | 1800 | |
|
1716 |
campaign = get_object_or_404(Campaign, pk |
|
|
1801 | campaign = get_object_or_404(Campaign, pk=id_camp) | |
|
1717 | 1802 | experiments = campaign.get_experiments_by_radar(id_radar)[0]['experiments'] |
|
1718 | 1803 | |
|
1719 | 1804 | for exp in experiments: |
@@ -78,7 +78,7 class RCConfigurationForm(forms.ModelForm): | |||
|
78 | 78 | |
|
79 | 79 | class Meta: |
|
80 | 80 | model = RCConfiguration |
|
81 | exclude = ('type', 'parameters', 'status', 'total_units', 'mix') | |
|
81 | exclude = ('type', 'parameters', 'status', 'total_units', 'mix', 'author', 'hash') | |
|
82 | 82 | |
|
83 | 83 | def clean(self): |
|
84 | 84 | form_data = super(RCConfigurationForm, self).clean() |
@@ -92,8 +92,8 class RCConfigurationForm(forms.ModelForm): | |||
|
92 | 92 | |
|
93 | 93 | return form_data |
|
94 | 94 | |
|
95 | def save(self): | |
|
96 | conf = super(RCConfigurationForm, self).save() | |
|
95 | def save(self, *args, **kwargs): | |
|
96 | conf = super(RCConfigurationForm, self).save(*args, **kwargs) | |
|
97 | 97 | conf.total_units = conf.ipp*conf.ntx*conf.km2unit |
|
98 | 98 | conf.save() |
|
99 | 99 | return conf |
@@ -112,8 +112,10 class RCMixConfigurationForm(forms.Form): | |||
|
112 | 112 | choices=[(0, 'OR'), (1, 'XOR'), (2, 'AND'), (3, 'NAND')], |
|
113 | 113 | initial=1) |
|
114 | 114 | delay = forms.CharField() |
|
115 | mask = forms.MultipleChoiceField(choices=[(0, 'L1'),(1, 'L2'),(2, 'L3'),(3, 'L4'),(4, 'L5'),(5, 'L6'),(6, 'L7'),(7, 'L8')], | |
|
116 | widget=HCheckboxSelectMultiple()) | |
|
115 | mask = forms.MultipleChoiceField( | |
|
116 | choices=[(0, 'L1'),(1, 'L2'),(2, 'L3'),(3, 'L4'),(4, 'L5'),(5, 'L6'),(6, 'L7'),(7, 'L8'), | |
|
117 | (8, 'L9'),(9, 'L10'),(10, 'L11'),(11, 'L12'),(12, 'L13'),(13, 'L14'),(14, 'L15'),(15, 'L16')], | |
|
118 | widget=HCheckboxSelectMultiple()) | |
|
117 | 119 | result = forms.CharField(required=False, |
|
118 | 120 | widget=forms.Textarea(attrs={'readonly':True, 'rows':5, 'class':'tabuled'})) |
|
119 | 121 |
@@ -158,7 +158,7 class RCConfiguration(Configuration): | |||
|
158 | 158 | else: |
|
159 | 159 | data = Params(params).get_conf(dtype='rc') |
|
160 | 160 | |
|
161 | self.name = data['name'] | |
|
161 | # self.name = data['name'] | |
|
162 | 162 | self.ipp = data['ipp'] |
|
163 | 163 | self.ntx = data['ntx'] |
|
164 | 164 | self.clock_in = data['clock_in'] |
@@ -545,7 +545,7 class RCConfiguration(Configuration): | |||
|
545 | 545 | |
|
546 | 546 | return True |
|
547 | 547 | |
|
548 | def write_device(self): | |
|
548 | def write_device(self, raw=False): | |
|
549 | 549 | |
|
550 | 550 | values = [] |
|
551 | 551 | for pulse, delay in zip(self.get_pulses(), self.get_delays()): |
@@ -577,6 +577,9 class RCConfiguration(Configuration): | |||
|
577 | 577 | #enable |
|
578 | 578 | data.extend((129, 1)) |
|
579 | 579 | |
|
580 | if raw: | |
|
581 | return b64encode(data) | |
|
582 | ||
|
580 | 583 | try: |
|
581 | 584 | payload = self.request('stop', 'post') |
|
582 | 585 | payload = self.request('reset', 'post') |
@@ -11,7 +11,7 | |||
|
11 | 11 | |
|
12 | 12 | <div class="clearfix"></div> |
|
13 | 13 | <h2>RC Lines</h2> |
|
14 |
< |
|
|
14 | <br> | |
|
15 | 15 | <div class="panel-group" id="div_lines" role="tablist" aria-multiselectable="true"> |
|
16 | 16 | {% include "rc_lines.html" %} |
|
17 | 17 | </div> |
@@ -10,7 +10,7 urlpatterns = ( | |||
|
10 | 10 | url(r'^(?P<conf_id>-?\d+)/plot2/$', views.plot_pulses2, name='url_plot_rc_pulses2'), |
|
11 | 11 | #url(r'^(?P<id_conf>-?\d+)/write/$', 'apps.main.views.dev_conf_write', name='url_write_rc_conf'), |
|
12 | 12 | #url(r'^(?P<id_conf>-?\d+)/read/$', 'apps.main.views.dev_conf_read', name='url_read_rc_conf'), |
|
13 | ||
|
13 | url(r'^(?P<conf_id>-?\d+)/raw/$', views.conf_raw, name='url_raw_rc_conf'), | |
|
14 | 14 | url(r'^(?P<conf_id>-?\d+)/add_line/$', views.add_line, name='url_add_rc_line'), |
|
15 | 15 | url(r'^(?P<conf_id>-?\d+)/add_line/(?P<line_type_id>-?\d+)/$', views.add_line, name='url_add_rc_line'), |
|
16 | 16 | url(r'^(?P<conf_id>-?\d+)/add_line/(?P<line_type_id>-?\d+)/code/(?P<code_id>-?\d+)/$', views.add_line, name='url_add_rc_line_code'), |
@@ -27,7 +27,6 class RCFile(object): | |||
|
27 | 27 | ''' |
|
28 | 28 | |
|
29 | 29 | def __init__(self, f=None): |
|
30 | print dir(f) | |
|
31 | 30 | self.data = {} |
|
32 | 31 | self.lines = [] |
|
33 | 32 | self.line = '' |
@@ -73,7 +72,7 class RCFile(object): | |||
|
73 | 72 | self.data['device_type'] = 'rc' |
|
74 | 73 | self.data['experiment_type'] = data['EXPERIMENT TYPE'] |
|
75 | 74 | self.data['header_version'] = data['HEADER VERSION'] |
|
76 |
self.data[' |
|
|
75 | self.data['label'] = data['EXPERIMENT NAME'] | |
|
77 | 76 | self.data['ipp'] = float(data['IPP']) |
|
78 | 77 | self.data['ntx'] = int(data['NTX']) |
|
79 | 78 |
@@ -4,6 +4,7 import json | |||
|
4 | 4 | from django.contrib import messages |
|
5 | 5 | from django.utils.safestring import mark_safe |
|
6 | 6 | from django.shortcuts import render, redirect, get_object_or_404, HttpResponse |
|
7 | from django.contrib.auth.decorators import login_required | |
|
7 | 8 | |
|
8 | 9 | from apps.main.models import Experiment, Device |
|
9 | 10 | from apps.main.views import sidebar |
@@ -27,11 +28,12 def conf(request, conf_id): | |||
|
27 | 28 | kwargs = {} |
|
28 | 29 | kwargs['dev_conf'] = conf |
|
29 | 30 | kwargs['rc_lines'] = lines |
|
30 |
kwargs['dev_conf_keys'] = [ |
|
|
31 |
'time_before', 'time_after', 'sync', 'sampling_reference', |
|
|
31 | kwargs['dev_conf_keys'] = ['ipp_unit', 'ntx', 'clock_in', 'clock_divider', 'clock', | |
|
32 | 'time_before', 'time_after', 'sync', 'sampling_reference', | |
|
33 | 'control_tx', 'control_sw'] | |
|
32 | 34 | |
|
33 |
kwargs['title'] = ' |
|
|
34 |
kwargs['suptitle'] = 'Detail |
|
|
35 | kwargs['title'] = 'Configuration' | |
|
36 | kwargs['suptitle'] = 'Detail' | |
|
35 | 37 | |
|
36 | 38 | kwargs['button'] = 'Edit Configuration' |
|
37 | 39 | ###### SIDEBAR ###### |
@@ -39,7 +41,7 def conf(request, conf_id): | |||
|
39 | 41 | |
|
40 | 42 | return render(request, 'rc_conf.html', kwargs) |
|
41 | 43 | |
|
42 | ||
|
44 | @login_required | |
|
43 | 45 | def conf_edit(request, conf_id): |
|
44 | 46 | |
|
45 | 47 | conf = get_object_or_404(RCConfiguration, pk=conf_id) |
@@ -131,7 +133,6 def conf_edit(request, conf_id): | |||
|
131 | 133 | kwargs['title'] = 'RC Configuration' |
|
132 | 134 | kwargs['suptitle'] = 'Edit' |
|
133 | 135 | kwargs['button'] = 'Update' |
|
134 | kwargs['previous'] = conf.get_absolute_url() | |
|
135 | 136 | |
|
136 | 137 | return render(request, 'rc_conf_edit.html', kwargs) |
|
137 | 138 | |
@@ -399,3 +400,8 def plot_pulses2(request, conf_id): | |||
|
399 | 400 | return HttpResponse(json.dumps({'div':mark_safe(div), 'script':mark_safe(script)}), content_type="application/json") |
|
400 | 401 | else: |
|
401 | 402 | return render(request, 'rc_pulses.html', kwargs) |
|
403 | ||
|
404 | def conf_raw(request, conf_id): | |
|
405 | conf = get_object_or_404(RCConfiguration, pk=conf_id) | |
|
406 | raw = conf.write_device(raw=True) | |
|
407 | return HttpResponse(raw, content_type='application/json') No newline at end of file |
@@ -45,6 +45,8 services: | |||
|
45 | 45 | volumes: |
|
46 | 46 | - ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d |
|
47 | 47 | - pgdata:/var/lib/postgresql/data |
|
48 | # ports: | |
|
49 | # - 5432:5432 | |
|
48 | 50 | env_file: .env |
|
49 | 51 | |
|
50 | 52 | # Web Server |
@@ -85,13 +85,17 WSGI_APPLICATION = 'radarsys.wsgi.application' | |||
|
85 | 85 | |
|
86 | 86 | DATABASES = { |
|
87 | 87 | 'default': { |
|
88 |
'ENGINE': 'django.db.backends. |
|
|
89 | 'NAME': os.environ.get('POSTGRES_DB_NAME', 'radarsys'), | |
|
90 | 'USER': os.environ.get('POSTGRES_USER', 'docker'), | |
|
91 | 'PASSWORD': os.environ.get('POSTGRES_PASSWORD', 'docker'), | |
|
92 | 'HOST': os.environ.get('POSTGRES_PORT_5432_TCP_ADDR', 'postgres'), | |
|
93 | 'PORT': os.environ.get('POSTGRES_PORT_5432_TCP_PORT', ''), | |
|
88 | 'ENGINE': 'django.db.backends.sqlite3', | |
|
89 | 'NAME': 'radarsys.sqlite', | |
|
94 | 90 | } |
|
91 | # 'default': { | |
|
92 | # 'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
|
93 | # 'NAME': os.environ.get('POSTGRES_DB_NAME', 'radarsys'), | |
|
94 | # 'USER': os.environ.get('POSTGRES_USER', 'docker'), | |
|
95 | # 'PASSWORD': os.environ.get('POSTGRES_PASSWORD', 'docker'), | |
|
96 | # 'HOST': os.environ.get('POSTGRES_PORT_5432_TCP_ADDR', 'postgres'), | |
|
97 | # 'PORT': os.environ.get('POSTGRES_PORT_5432_TCP_PORT', ''), | |
|
98 | # } | |
|
95 | 99 | } |
|
96 | 100 | |
|
97 | 101 | # Internationalization |
@@ -1,27 +0,0 | |||
|
1 | {% load bootstrap3 %} | |
|
2 | {% load static %} | |
|
3 | {% load main_tags %} | |
|
4 | ||
|
5 | {% block content %} | |
|
6 | ||
|
7 | {% block menu-actions %} | |
|
8 | ||
|
9 | {% endblock %} | |
|
10 | ||
|
11 | <table class="table table-bordered"> | |
|
12 | ||
|
13 | <tr> <th>Clock in (MHz)</th><td>{{filter.clock}}</td> </tr> | |
|
14 | <tr> <th>Multiplier</th><td>{{filter.mult}}</td> </tr> | |
|
15 | <tr> <th>Frequency (MHz)</th><td>{{filter.fch}}</td> </tr> | |
|
16 | <tr> <th>Frequency (Decimal)</th><td>{{filter.fch_decimal}}</td> </tr> | |
|
17 | <tr> <th>Filter 2</th><td>{{filter.filter_2}}</td> </tr> | |
|
18 | <tr> <th>Filter 5</th><td>{{filter.filter_5}}</td> </tr> | |
|
19 | <tr> <th>FIR Filter</th><td>{{filter.filter_fir}}</td> </tr> | |
|
20 | ||
|
21 | </table> | |
|
22 | ||
|
23 | ||
|
24 | {% block extra-content %} | |
|
25 | {% endblock %} | |
|
26 | ||
|
27 | {% endblock %} |
@@ -1,29 +0,0 | |||
|
1 | {% load bootstrap3 %} | |
|
2 | {% load static %} | |
|
3 | {% load main_tags %} | |
|
4 | ||
|
5 | {% block content %} | |
|
6 | <form class="form" method="post"> | |
|
7 | {% csrf_token %} | |
|
8 | {% bootstrap_form filter_form layout='horizontal' size='medium' %} | |
|
9 | <div style="clear: both;"></div> | |
|
10 | <br> | |
|
11 | <div class="pull-right"> | |
|
12 | <button type="button" class="btn btn-primary" onclick="{% if previous %}window.location.replace('{{ previous }}');{% else %}history.go(-1);{% endif %}">Cancel</button> | |
|
13 | <button type="button" class="btn btn-primary" id="bt_change_filter">Change Filter</button> | |
|
14 | <button type="submit" class="btn btn-primary">{{button}}</button> | |
|
15 | </div> | |
|
16 | </form> | |
|
17 | {% endblock %} | |
|
18 | ||
|
19 | {% block extra-js%} | |
|
20 | <script src="{% static 'js/filters.js' %}"></script> | |
|
21 | ||
|
22 | <script type="text/javascript"> | |
|
23 | ||
|
24 | $("#bt_change_filter").click(function() { | |
|
25 | document.location = "{% url 'url_change_jars_filter' id_dev %}"; | |
|
26 | }); | |
|
27 | ||
|
28 | </script> | |
|
29 | {% endblock %} |
@@ -1,11 +0,0 | |||
|
1 | @import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");/*! | |
|
2 | * bootswatch v3.3.6 | |
|
3 | * Homepage: http://bootswatch.com | |
|
4 | * Copyright 2012-2016 Thomas Park | |
|
5 | * Licensed under MIT | |
|
6 | * Based on Bootstrap | |
|
7 | *//*! | |
|
8 | * Bootstrap v3.3.6 (http://getbootstrap.com) | |
|
9 | * Copyright 2011-2015 Twitter, Inc. | |
|
10 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
|
11 | *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../../../fonts/glyphicons-halflings-regular.eot');src:url('../../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../../../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../../../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../../../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.846;color:#666666;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#2196f3;text-decoration:none}a:hover,a:focus{color:#0a6ebd;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:3px}.img-thumbnail{padding:4px;line-height:1.846;background-color:#ffffff;border:1px solid #dddddd;border-radius:3px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:23px;margin-bottom:23px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:400;line-height:1.1;color:#444444}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#bbbbbb}h1,.h1,h2,.h2,h3,.h3{margin-top:23px;margin-bottom:11.5px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:11.5px;margin-bottom:11.5px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:56px}h2,.h2{font-size:45px}h3,.h3{font-size:34px}h4,.h4{font-size:24px}h5,.h5{font-size:20px}h6,.h6{font-size:14px}p{margin:0 0 11.5px}.lead{margin-bottom:23px;font-size:14px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:19.5px}}small,.small{font-size:92%}mark,.mark{background-color:#ffe0b2;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#bbbbbb}.text-primary{color:#2196f3}a.text-primary:hover,a.text-primary:focus{color:#0c7cd5}.text-success{color:#4caf50}a.text-success:hover,a.text-success:focus{color:#3d8b40}.text-info{color:#9c27b0}a.text-info:hover,a.text-info:focus{color:#771e86}.text-warning{color:#ff9800}a.text-warning:hover,a.text-warning:focus{color:#cc7a00}.text-danger{color:#e51c23}a.text-danger:hover,a.text-danger:focus{color:#b9151b}.bg-primary{color:#fff;background-color:#2196f3}a.bg-primary:hover,a.bg-primary:focus{background-color:#0c7cd5}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#e1bee7}a.bg-info:hover,a.bg-info:focus{background-color:#d099d9}.bg-warning{background-color:#ffe0b2}a.bg-warning:hover,a.bg-warning:focus{background-color:#ffcb7f}.bg-danger{background-color:#f9bdbb}a.bg-danger:hover,a.bg-danger:focus{background-color:#f5908c}.page-header{padding-bottom:10.5px;margin:46px 0 23px;border-bottom:1px solid #eeeeee}ul,ol{margin-top:0;margin-bottom:11.5px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:23px}dt,dd{line-height:1.846}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #bbbbbb}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:11.5px 23px;margin:0 0 23px;font-size:16.25px;border-left:5px solid #eeeeee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.846;color:#bbbbbb}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}address{margin-bottom:23px;font-style:normal;line-height:1.846}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:3px}kbd{padding:2px 4px;font-size:90%;color:#ffffff;background-color:#333333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:11px;margin:0 0 11.5px;font-size:12px;line-height:1.846;word-break:break-all;word-wrap:break-word;color:#212121;background-color:#f5f5f5;border:1px solid #cccccc;border-radius:3px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#bbbbbb;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:23px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.846;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#e1bee7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#d8abe0}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#ffe0b2}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#ffd699}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f9bdbb}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#f7a6a4}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:17.25px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:23px;font-size:19.5px;line-height:inherit;color:#212121;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:13px;line-height:1.846;color:#666666}.form-control{display:block;width:100%;height:37px;padding:6px 16px;font-size:13px;line-height:1.846;color:#666666;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-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-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control::-moz-placeholder{color:#bbbbbb;opacity:1}.form-control:-ms-input-placeholder{color:#bbbbbb}.form-control::-webkit-input-placeholder{color:#bbbbbb}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:transparent;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:37px}input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm,.input-group-sm input[type="date"],.input-group-sm input[type="time"],.input-group-sm input[type="datetime-local"],.input-group-sm input[type="month"]{line-height:30px}input[type="date"].input-lg,input[type="time"].input-lg,input[type="datetime-local"].input-lg,input[type="month"].input-lg,.input-group-lg input[type="date"],.input-group-lg input[type="time"],.input-group-lg input[type="datetime-local"],.input-group-lg input[type="month"]{line-height:45px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:23px;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"].disabled,input[type="checkbox"].disabled,fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:36px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:35px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}select.input-lg{height:45px;line-height:45px}textarea.input-lg,select[multiple].input-lg{height:auto}.form-group-lg .form-control{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}.form-group-lg select.form-control{height:45px;line-height:45px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:45px;min-height:40px;padding:11px 16px;font-size:17px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:46.25px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:37px;height:37px;line-height:37px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:45px;height:45px;line-height:45px}.input-sm+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#4caf50}.has-success .form-control{border-color:#4caf50;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#3d8b40;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #92cf94;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #92cf94}.has-success .input-group-addon{color:#4caf50;border-color:#4caf50;background-color:#dff0d8}.has-success .form-control-feedback{color:#4caf50}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#ff9800}.has-warning .form-control{border-color:#ff9800;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#cc7a00;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffc166;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffc166}.has-warning .input-group-addon{color:#ff9800;border-color:#ff9800;background-color:#ffe0b2}.has-warning .form-control-feedback{color:#ff9800}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#e51c23}.has-error .form-control{border-color:#e51c23;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#b9151b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ef787c;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ef787c}.has-error .input-group-addon{color:#e51c23;border-color:#e51c23;background-color:#f9bdbb}.has-error .form-control-feedback{color:#e51c23}.has-feedback label~.form-control-feedback{top:28px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#a6a6a6}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:30px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:17px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 16px;font-size:13px;line-height:1.846;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#444444;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#444444;background-color:#ffffff;border-color:transparent}.btn-default:focus,.btn-default.focus{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:hover{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#444444;background-color:#e6e6e6;border-color:rgba(0,0,0,0)}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#444444;background-color:#d4d4d4;border-color:rgba(0,0,0,0)}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:transparent}.btn-default .badge{color:#ffffff;background-color:#444444}.btn-primary{color:#ffffff;background-color:#2196f3;border-color:transparent}.btn-primary:focus,.btn-primary.focus{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:hover{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#0c7cd5;border-color:rgba(0,0,0,0)}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#0a68b4;border-color:rgba(0,0,0,0)}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:#2196f3;border-color:transparent}.btn-primary .badge{color:#2196f3;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#4caf50;border-color:transparent}.btn-success:focus,.btn-success.focus{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:hover{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#3d8b40;border-color:rgba(0,0,0,0)}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#ffffff;background-color:#327334;border-color:rgba(0,0,0,0)}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus{background-color:#4caf50;border-color:transparent}.btn-success .badge{color:#4caf50;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#9c27b0;border-color:transparent}.btn-info:focus,.btn-info.focus{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:hover{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#771e86;border-color:rgba(0,0,0,0)}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#ffffff;background-color:#5d1769;border-color:rgba(0,0,0,0)}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus{background-color:#9c27b0;border-color:transparent}.btn-info .badge{color:#9c27b0;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#ff9800;border-color:transparent}.btn-warning:focus,.btn-warning.focus{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:hover{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#cc7a00;border-color:rgba(0,0,0,0)}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#ffffff;background-color:#a86400;border-color:rgba(0,0,0,0)}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus{background-color:#ff9800;border-color:transparent}.btn-warning .badge{color:#ff9800;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#e51c23;border-color:transparent}.btn-danger:focus,.btn-danger.focus{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:hover{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#b9151b;border-color:rgba(0,0,0,0)}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#991216;border-color:rgba(0,0,0,0)}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus{background-color:#e51c23;border-color:transparent}.btn-danger .badge{color:#e51c23;background-color:#ffffff}.btn-link{color:#2196f3;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#0a6ebd;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#bbbbbb;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:0.35s;-o-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:13px;text-align:left;background-color:#ffffff;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.15);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:10.5px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.846;color:#666666;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#141414;background-color:#eeeeee}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#2196f3}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#bbbbbb}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.846;color:#bbbbbb;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:3px;border-top-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:17px;line-height:1.3333333;border-radius:3px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 16px;font-size:13px;font-weight:normal;line-height:1;color:#666666;text-align:center;background-color:transparent;border:1px solid transparent;border-radius:3px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:17px;border-radius:3px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eeeeee}.nav>li.disabled>a{color:#bbbbbb}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#bbbbbb;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eeeeee;border-color:#2196f3}.nav .nav-divider{height:1px;margin:10.5px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid transparent}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.846;border:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee transparent}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#666666;background-color:transparent;border:1px solid transparent;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:3px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid transparent}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#ffffff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:3px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#ffffff;background-color:#2196f3}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:3px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid transparent}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#ffffff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:64px;margin-bottom:23px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:3px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:20.5px 15px;font-size:17px;line-height:23px;height:64px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:15px;margin-bottom:15px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:3px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:10.25px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:23px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:23px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:20.5px;padding-bottom:20.5px}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:13.5px;margin-bottom:13.5px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:3px;border-top-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:13.5px;margin-bottom:13.5px}.navbar-btn.btn-sm{margin-top:17px;margin-bottom:17px}.navbar-btn.btn-xs{margin-top:21px;margin-bottom:21px}.navbar-text{margin-top:20.5px;margin-bottom:20.5px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#ffffff;border-color:transparent}.navbar-default .navbar-brand{color:#666666}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#212121;background-color:transparent}.navbar-default .navbar-text{color:#bbbbbb}.navbar-default .navbar-nav>li>a{color:#666666}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#212121;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#212121;background-color:#eeeeee}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#cccccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:transparent}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:transparent}.navbar-default .navbar-toggle .icon-bar{background-color:rgba(0,0,0,0.5)}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:transparent}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#eeeeee;color:#212121}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#666666}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#212121;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#212121;background-color:#eeeeee}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#cccccc;background-color:transparent}}.navbar-default .navbar-link{color:#666666}.navbar-default .navbar-link:hover{color:#212121}.navbar-default .btn-link{color:#666666}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#212121}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#cccccc}.navbar-inverse{background-color:#2196f3;border-color:transparent}.navbar-inverse .navbar-brand{color:#b2dbfb}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-text{color:#bbbbbb}.navbar-inverse .navbar-nav>li>a{color:#b2dbfb}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#ffffff;background-color:#0c7cd5}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:transparent}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:transparent}.navbar-inverse .navbar-toggle .icon-bar{background-color:rgba(0,0,0,0.5)}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#0c84e4}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#0c7cd5;color:#ffffff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#b2dbfb}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#ffffff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#ffffff;background-color:#0c7cd5}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444444;background-color:transparent}}.navbar-inverse .navbar-link{color:#b2dbfb}.navbar-inverse .navbar-link:hover{color:#ffffff}.navbar-inverse .btn-link{color:#b2dbfb}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#ffffff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444444}.breadcrumb{padding:8px 15px;margin-bottom:23px;list-style:none;background-color:#f5f5f5;border-radius:3px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#cccccc}.breadcrumb>.active{color:#bbbbbb}.pagination{display:inline-block;padding-left:0;margin:23px 0;border-radius:3px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 16px;line-height:1.846;text-decoration:none;color:#2196f3;background-color:#ffffff;border:1px solid #dddddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{z-index:2;color:#0a6ebd;background-color:#eeeeee;border-color:#dddddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:3;color:#ffffff;background-color:#2196f3;border-color:#2196f3;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#bbbbbb;background-color:#ffffff;border-color:#dddddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:17px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:23px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#ffffff;border:1px solid #dddddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eeeeee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#bbbbbb;background-color:#ffffff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#ffffff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#ffffff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#bbbbbb}.label-default[href]:hover,.label-default[href]:focus{background-color:#a2a2a2}.label-primary{background-color:#2196f3}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#0c7cd5}.label-success{background-color:#4caf50}.label-success[href]:hover,.label-success[href]:focus{background-color:#3d8b40}.label-info{background-color:#9c27b0}.label-info[href]:hover,.label-info[href]:focus{background-color:#771e86}.label-warning{background-color:#ff9800}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#cc7a00}.label-danger{background-color:#e51c23}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#b9151b}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:normal;color:#ffffff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#bbbbbb;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#ffffff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#2196f3;background-color:#ffffff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#f9f9f9}.jumbotron h1,.jumbotron .h1{color:#444444}.jumbotron p{margin-bottom:15px;font-size:20px;font-weight:200}.jumbotron>hr{border-top-color:#e0e0e0}.container .jumbotron,.container-fluid .jumbotron{border-radius:3px;padding-left:15px;padding-right:15px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:59px}}.thumbnail{display:block;padding:4px;margin-bottom:23px;line-height:1.846;background-color:#ffffff;border:1px solid #dddddd;border-radius:3px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#2196f3}.thumbnail .caption{padding:9px;color:#666666}.alert{padding:15px;margin-bottom:23px;border:1px solid transparent;border-radius:3px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#4caf50}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#3d8b40}.alert-info{background-color:#e1bee7;border-color:#cba4dd;color:#9c27b0}.alert-info hr{border-top-color:#c191d6}.alert-info .alert-link{color:#771e86}.alert-warning{background-color:#ffe0b2;border-color:#ffc599;color:#ff9800}.alert-warning hr{border-top-color:#ffb67f}.alert-warning .alert-link{color:#cc7a00}.alert-danger{background-color:#f9bdbb;border-color:#f7a4af;color:#e51c23}.alert-danger hr{border-top-color:#f58c9a}.alert-danger .alert-link{color:#b9151b}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:23px;margin-bottom:23px;background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:23px;color:#ffffff;text-align:center;background-color:#2196f3;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#4caf50}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#9c27b0}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#ff9800}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#e51c23}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#ffffff;border:1px solid #dddddd}.list-group-item:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}a.list-group-item,button.list-group-item{color:#555555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333333}a.list-group-item:hover,button.list-group-item:hover,a.list-group-item:focus,button.list-group-item:focus{text-decoration:none;color:#555555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eeeeee;color:#bbbbbb;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#bbbbbb}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#ffffff;background-color:#2196f3;border-color:#2196f3}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e3f2fd}.list-group-item-success{color:#4caf50;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#4caf50}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,button.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:focus{color:#4caf50;background-color:#d0e9c6}a.list-group-item-success.active,button.list-group-item-success.active,a.list-group-item-success.active:hover,button.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active:focus{color:#fff;background-color:#4caf50;border-color:#4caf50}.list-group-item-info{color:#9c27b0;background-color:#e1bee7}a.list-group-item-info,button.list-group-item-info{color:#9c27b0}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,button.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:focus{color:#9c27b0;background-color:#d8abe0}a.list-group-item-info.active,button.list-group-item-info.active,a.list-group-item-info.active:hover,button.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active:focus{color:#fff;background-color:#9c27b0;border-color:#9c27b0}.list-group-item-warning{color:#ff9800;background-color:#ffe0b2}a.list-group-item-warning,button.list-group-item-warning{color:#ff9800}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,button.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:focus{color:#ff9800;background-color:#ffd699}a.list-group-item-warning.active,button.list-group-item-warning.active,a.list-group-item-warning.active:hover,button.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active:focus{color:#fff;background-color:#ff9800;border-color:#ff9800}.list-group-item-danger{color:#e51c23;background-color:#f9bdbb}a.list-group-item-danger,button.list-group-item-danger{color:#e51c23}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,button.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:focus{color:#e51c23;background-color:#f7a6a4}a.list-group-item-danger.active,button.list-group-item-danger.active,a.list-group-item-danger.active:hover,button.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active:focus{color:#fff;background-color:#e51c23;border-color:#e51c23}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:23px;background-color:#ffffff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:2px;border-top-left-radius:2px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:15px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #dddddd;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:2px;border-top-left-radius:2px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:2px;border-top-left-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:2px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:2px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:2px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:2px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #dddddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:23px}.panel-group .panel{margin-bottom:0;border-radius:3px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #dddddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dddddd}.panel-default{border-color:#dddddd}.panel-default>.panel-heading{color:#212121;background-color:#f5f5f5;border-color:#dddddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#212121}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-primary{border-color:#2196f3}.panel-primary>.panel-heading{color:#ffffff;background-color:#2196f3;border-color:#2196f3}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#2196f3}.panel-primary>.panel-heading .badge{color:#2196f3;background-color:#ffffff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#2196f3}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#ffffff;background-color:#4caf50;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#4caf50;background-color:#ffffff}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#cba4dd}.panel-info>.panel-heading{color:#ffffff;background-color:#9c27b0;border-color:#cba4dd}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#cba4dd}.panel-info>.panel-heading .badge{color:#9c27b0;background-color:#ffffff}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#cba4dd}.panel-warning{border-color:#ffc599}.panel-warning>.panel-heading{color:#ffffff;background-color:#ff9800;border-color:#ffc599}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ffc599}.panel-warning>.panel-heading .badge{color:#ff9800;background-color:#ffffff}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ffc599}.panel-danger{border-color:#f7a4af}.panel-danger>.panel-heading{color:#ffffff;background-color:#e51c23;border-color:#f7a4af}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#f7a4af}.panel-danger>.panel-heading .badge{color:#e51c23;background-color:#ffffff}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#f7a4af}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f9f9f9;border:1px solid transparent;border-radius:3px;-webkit-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-lg{padding:24px;border-radius:3px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:19.5px;font-weight:normal;line-height:1;color:#000000;text-shadow:none;opacity:0.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000000;text-decoration:none;cursor:pointer;opacity:0.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#ffffff;border:1px solid #999999;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:0.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid transparent}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.846}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid transparent}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.846;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;background-color:#727272;border-radius:3px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#727272}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#727272}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#727272}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#727272}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.846;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:13px;background-color:#ffffff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:13px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:2px 2px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:rgba(0,0,0,0);border-top-color:rgba(0,0,0,0.075);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:rgba(0,0,0,0);border-right-color:rgba(0,0,0,0.075)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,0);border-bottom-color:rgba(0,0,0,0.075);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ffffff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:rgba(0,0,0,0);border-left-color:rgba(0,0,0,0.075)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:0.5;filter:alpha(opacity=50);font-size:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);background-color:rgba(0,0,0,0)}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0.0001)));background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.0001)), to(rgba(0,0,0,0.5)));background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #ffffff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#ffffff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-header:before,.modal-header:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-header:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table !important}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table !important}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table !important}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table !important}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table !important}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}.navbar{border:none;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.3);box-shadow:0 1px 2px rgba(0,0,0,0.3)}.navbar-brand{font-size:24px}.navbar-inverse .navbar-form input[type=text],.navbar-inverse .navbar-form input[type=password]{color:#fff;-webkit-box-shadow:inset 0 -1px 0 #b2dbfb;box-shadow:inset 0 -1px 0 #b2dbfb}.navbar-inverse .navbar-form input[type=text]::-moz-placeholder,.navbar-inverse .navbar-form input[type=password]::-moz-placeholder{color:#b2dbfb;opacity:1}.navbar-inverse .navbar-form input[type=text]:-ms-input-placeholder,.navbar-inverse .navbar-form input[type=password]:-ms-input-placeholder{color:#b2dbfb}.navbar-inverse .navbar-form input[type=text]::-webkit-input-placeholder,.navbar-inverse .navbar-form input[type=password]::-webkit-input-placeholder{color:#b2dbfb}.navbar-inverse .navbar-form input[type=text]:focus,.navbar-inverse .navbar-form input[type=password]:focus{-webkit-box-shadow:inset 0 -2px 0 #fff;box-shadow:inset 0 -2px 0 #fff}.btn-default{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-default:focus{background-color:#ffffff}.btn-default:hover,.btn-default:active:hover{background-color:#f0f0f0}.btn-default:active{background-color:#e0e0e0;background-image:-webkit-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:-o-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-primary{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-primary:focus{background-color:#2196f3}.btn-primary:hover,.btn-primary:active:hover{background-color:#0d87e9}.btn-primary:active{background-color:#0b76cc;background-image:-webkit-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-image:-o-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-image:radial-gradient(circle, #0b76cc 10%, #2196f3 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-success{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-success:focus{background-color:#4caf50}.btn-success:hover,.btn-success:active:hover{background-color:#439a46}.btn-success:active{background-color:#39843c;background-image:-webkit-radial-gradient(circle, #39843c 10%, #4caf50 11%);background-image:-o-radial-gradient(circle, #39843c 10%, #4caf50 11%);background-image:radial-gradient(circle, #39843c 10%, #4caf50 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-info{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-info:focus{background-color:#9c27b0}.btn-info:hover,.btn-info:active:hover{background-color:#862197}.btn-info:active{background-color:#701c7e;background-image:-webkit-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-image:-o-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-image:radial-gradient(circle, #701c7e 10%, #9c27b0 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-warning{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-warning:focus{background-color:#ff9800}.btn-warning:hover,.btn-warning:active:hover{background-color:#e08600}.btn-warning:active{background-color:#c27400;background-image:-webkit-radial-gradient(circle, #c27400 10%, #ff9800 11%);background-image:-o-radial-gradient(circle, #c27400 10%, #ff9800 11%);background-image:radial-gradient(circle, #c27400 10%, #ff9800 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-danger{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-danger:focus{background-color:#e51c23}.btn-danger:hover,.btn-danger:active:hover{background-color:#cb171e}.btn-danger:active{background-color:#b0141a;background-image:-webkit-radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-image:-o-radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-image:radial-gradient(circle, #b0141a 10%, #e51c23 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn-link{-webkit-background-size:200% 200%;background-size:200% 200%;background-position:50%}.btn-link:focus{background-color:#ffffff}.btn-link:hover,.btn-link:active:hover{background-color:#f0f0f0}.btn-link:active{background-color:#e0e0e0;background-image:-webkit-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:-o-radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-image:radial-gradient(circle, #e0e0e0 10%, #fff 11%);background-repeat:no-repeat;-webkit-background-size:1000% 1000%;background-size:1000% 1000%;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);box-shadow:2px 2px 4px rgba(0,0,0,0.4)}.btn{text-transform:uppercase;border:none;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,0.4);box-shadow:1px 1px 4px rgba(0,0,0,0.4);-webkit-transition:all 0.4s;-o-transition:all 0.4s;transition:all 0.4s}.btn-link{border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:#444444}.btn-link:hover,.btn-link:focus{-webkit-box-shadow:none;box-shadow:none;color:#444444;text-decoration:none}.btn-default.disabled{background-color:rgba(0,0,0,0.1);color:rgba(0,0,0,0.4);opacity:1}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:0}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:0}body{-webkit-font-smoothing:antialiased;letter-spacing:.1px}p{margin:0 0 1em}input,button{-webkit-font-smoothing:antialiased;letter-spacing:.1px}a{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.table-hover>tbody>tr,.table-hover>tbody>tr>th,.table-hover>tbody>tr>td{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}label{font-weight:normal}textarea,textarea.form-control,input.form-control,input[type=text],input[type=password],input[type=email],input[type=number],[type=text].form-control,[type=password].form-control,[type=email].form-control,[type=tel].form-control,[contenteditable].form-control{padding:0;border:none;border-radius:0;-webkit-appearance:none;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;font-size:16px}textarea:focus,textarea.form-control:focus,input.form-control:focus,input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,input[type=number]:focus,[type=text].form-control:focus,[type=password].form-control:focus,[type=email].form-control:focus,[type=tel].form-control:focus,[contenteditable].form-control:focus{-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3}textarea[disabled],textarea.form-control[disabled],input.form-control[disabled],input[type=text][disabled],input[type=password][disabled],input[type=email][disabled],input[type=number][disabled],[type=text].form-control[disabled],[type=password].form-control[disabled],[type=email].form-control[disabled],[type=tel].form-control[disabled],[contenteditable].form-control[disabled],textarea[readonly],textarea.form-control[readonly],input.form-control[readonly],input[type=text][readonly],input[type=password][readonly],input[type=email][readonly],input[type=number][readonly],[type=text].form-control[readonly],[type=password].form-control[readonly],[type=email].form-control[readonly],[type=tel].form-control[readonly],[contenteditable].form-control[readonly]{-webkit-box-shadow:none;box-shadow:none;border-bottom:1px dotted #ddd}textarea.input-sm,textarea.form-control.input-sm,input.form-control.input-sm,input[type=text].input-sm,input[type=password].input-sm,input[type=email].input-sm,input[type=number].input-sm,[type=text].form-control.input-sm,[type=password].form-control.input-sm,[type=email].form-control.input-sm,[type=tel].form-control.input-sm,[contenteditable].form-control.input-sm{font-size:12px}textarea.input-lg,textarea.form-control.input-lg,input.form-control.input-lg,input[type=text].input-lg,input[type=password].input-lg,input[type=email].input-lg,input[type=number].input-lg,[type=text].form-control.input-lg,[type=password].form-control.input-lg,[type=email].form-control.input-lg,[type=tel].form-control.input-lg,[contenteditable].form-control.input-lg{font-size:17px}select,select.form-control{border:0;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-left:0;padding-right:0\9;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);-webkit-background-size:13px 13px;background-size:13px;background-repeat:no-repeat;background-position:right center;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;font-size:16px;line-height:1.5}select::-ms-expand,select.form-control::-ms-expand{display:none}select.input-sm,select.form-control.input-sm{font-size:12px}select.input-lg,select.form-control.input-lg{font-size:17px}select:focus,select.form-control:focus{-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEUhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISF8S9ewAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=)}select[multiple],select.form-control[multiple]{background:none}.radio label,.radio-inline label,.checkbox label,.checkbox-inline label{padding-left:25px}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="radio"],.checkbox-inline input[type="radio"],.radio input[type="checkbox"],.radio-inline input[type="checkbox"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{margin-left:-25px}input[type="radio"],.radio input[type="radio"],.radio-inline input[type="radio"]{position:relative;margin-top:6px;margin-right:4px;vertical-align:top;border:none;background-color:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}input[type="radio"]:focus,.radio input[type="radio"]:focus,.radio-inline input[type="radio"]:focus{outline:none}input[type="radio"]:before,.radio input[type="radio"]:before,.radio-inline input[type="radio"]:before,input[type="radio"]:after,.radio input[type="radio"]:after,.radio-inline input[type="radio"]:after{content:"";display:block;width:18px;height:18px;border-radius:50%;-webkit-transition:240ms;-o-transition:240ms;transition:240ms}input[type="radio"]:before,.radio input[type="radio"]:before,.radio-inline input[type="radio"]:before{position:absolute;left:0;top:-3px;background-color:#2196f3;-webkit-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0)}input[type="radio"]:after,.radio input[type="radio"]:after,.radio-inline input[type="radio"]:after{position:relative;top:-3px;border:2px solid #666666}input[type="radio"]:checked:before,.radio input[type="radio"]:checked:before,.radio-inline input[type="radio"]:checked:before{-webkit-transform:scale(.5);-ms-transform:scale(.5);-o-transform:scale(.5);transform:scale(.5)}input[type="radio"]:disabled:checked:before,.radio input[type="radio"]:disabled:checked:before,.radio-inline input[type="radio"]:disabled:checked:before{background-color:#bbbbbb}input[type="radio"]:checked:after,.radio input[type="radio"]:checked:after,.radio-inline input[type="radio"]:checked:after{border-color:#2196f3}input[type="radio"]:disabled:after,.radio input[type="radio"]:disabled:after,.radio-inline input[type="radio"]:disabled:after,input[type="radio"]:disabled:checked:after,.radio input[type="radio"]:disabled:checked:after,.radio-inline input[type="radio"]:disabled:checked:after{border-color:#bbbbbb}input[type="checkbox"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:relative;border:none;margin-bottom:-4px;-webkit-appearance:none;appearance:none;cursor:pointer}input[type="checkbox"]:focus,.checkbox input[type="checkbox"]:focus,.checkbox-inline input[type="checkbox"]:focus{outline:none}input[type="checkbox"]:focus:after,.checkbox input[type="checkbox"]:focus:after,.checkbox-inline input[type="checkbox"]:focus:after{border-color:#2196f3}input[type="checkbox"]:after,.checkbox input[type="checkbox"]:after,.checkbox-inline input[type="checkbox"]:after{content:"";display:block;width:18px;height:18px;margin-top:-2px;margin-right:5px;border:2px solid #666666;border-radius:2px;-webkit-transition:240ms;-o-transition:240ms;transition:240ms}input[type="checkbox"]:checked:before,.checkbox input[type="checkbox"]:checked:before,.checkbox-inline input[type="checkbox"]:checked:before{content:"";position:absolute;top:0;left:6px;display:table;width:6px;height:12px;border:2px solid #fff;border-top-width:0;border-left-width:0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}input[type="checkbox"]:checked:after,.checkbox input[type="checkbox"]:checked:after,.checkbox-inline input[type="checkbox"]:checked:after{background-color:#2196f3;border-color:#2196f3}input[type="checkbox"]:disabled:after,.checkbox input[type="checkbox"]:disabled:after,.checkbox-inline input[type="checkbox"]:disabled:after{border-color:#bbbbbb}input[type="checkbox"]:disabled:checked:after,.checkbox input[type="checkbox"]:disabled:checked:after,.checkbox-inline input[type="checkbox"]:disabled:checked:after{background-color:#bbbbbb;border-color:transparent}.has-warning input:not([type=checkbox]),.has-warning .form-control,.has-warning input.form-control[readonly],.has-warning input[type=text][readonly],.has-warning [type=text].form-control[readonly],.has-warning input:not([type=checkbox]):focus,.has-warning .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #ff9800;box-shadow:inset 0 -2px 0 #ff9800}.has-error input:not([type=checkbox]),.has-error .form-control,.has-error input.form-control[readonly],.has-error input[type=text][readonly],.has-error [type=text].form-control[readonly],.has-error input:not([type=checkbox]):focus,.has-error .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #e51c23;box-shadow:inset 0 -2px 0 #e51c23}.has-success input:not([type=checkbox]),.has-success .form-control,.has-success input.form-control[readonly],.has-success input[type=text][readonly],.has-success [type=text].form-control[readonly],.has-success input:not([type=checkbox]):focus,.has-success .form-control:focus{border-bottom:none;-webkit-box-shadow:inset 0 -2px 0 #4caf50;box-shadow:inset 0 -2px 0 #4caf50}.has-warning .input-group-addon,.has-error .input-group-addon,.has-success .input-group-addon{color:#666666;border-color:transparent;background-color:transparent}.form-group-lg select,.form-group-lg select.form-control{line-height:1.5}.nav-tabs>li>a,.nav-tabs>li>a:focus{margin-right:0;background-color:transparent;border:none;color:#666666;-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus:hover{background-color:transparent;-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;color:#2196f3}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus{border:none;-webkit-box-shadow:inset 0 -2px 0 #2196f3;box-shadow:inset 0 -2px 0 #2196f3;color:#2196f3}.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus:hover{border:none;color:#2196f3}.nav-tabs>li.disabled>a{-webkit-box-shadow:inset 0 -1px 0 #ddd;box-shadow:inset 0 -1px 0 #ddd}.nav-tabs.nav-justified>li>a,.nav-tabs.nav-justified>li>a:hover,.nav-tabs.nav-justified>li>a:focus,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:none}.nav-tabs .dropdown-menu{margin-top:0}.dropdown-menu{margin-top:0;border:none;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.alert{border:none;color:#fff}.alert-success{background-color:#4caf50}.alert-info{background-color:#9c27b0}.alert-warning{background-color:#ff9800}.alert-danger{background-color:#e51c23}.alert a:not(.close):not(.btn),.alert .alert-link{color:#fff;font-weight:bold}.alert .close{color:#fff}.badge{padding:4px 6px 4px}.progress{position:relative;z-index:1;height:6px;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.progress-bar{-webkit-box-shadow:none;box-shadow:none}.progress-bar:last-child{border-radius:0 3px 3px 0}.progress-bar:last-child:before{display:block;content:"";position:absolute;width:100%;height:100%;left:0;right:0;z-index:-1;background-color:#cae6fc}.progress-bar-success:last-child.progress-bar:before{background-color:#c7e7c8}.progress-bar-info:last-child.progress-bar:before{background-color:#edc9f3}.progress-bar-warning:last-child.progress-bar:before{background-color:#ffe0b3}.progress-bar-danger:last-child.progress-bar:before{background-color:#f28e92}.close{font-size:34px;font-weight:300;line-height:24px;opacity:0.6;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.close:hover{opacity:1}.list-group-item{padding:15px}.list-group-item-text{color:#bbbbbb}.well{border-radius:0;-webkit-box-shadow:none;box-shadow:none}.panel{border:none;border-radius:2px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.panel-heading{border-bottom:none}.panel-footer{border-top:none}.popover{border:none;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);box-shadow:0 1px 4px rgba(0,0,0,0.3)}.carousel-caption h1,.carousel-caption h2,.carousel-caption h3,.carousel-caption h4,.carousel-caption h5,.carousel-caption h6{color:inherit} |
General Comments 0
You need to be logged in to leave comments.
Login now