Team:Georgia State

From 2014.igem.org

(Difference between revisions)
Line 47: Line 47:
{{:Team:Georgia_State/Temp/LOGO}} <!-- Loads navigation, logo, and top menu -->
{{:Team:Georgia_State/Temp/LOGO}} <!-- Loads navigation, logo, and top menu -->
 +
 +
{{:Team:Georgia_State/Dependencies/BootstrapCSS}}
 +
{{:Team:Georgia_State/Dependencies/SliderCSS}}
 +
{{:Team:Georgia_State/Dependencies/MainCSS}}
 +
{{:Team:Georgia_State/Dependencies/ResponsiveCSS}}
 +
{{:Team:Georgia_State/Dependencies/TransitionsCSS}}
 +
{{:Team:Georgia_State/Dependencies/ColorCSS}}
 +
{{:Team:Georgia_State/Dependencies/jQuery-min-JS}}
 +
{{:Team:Georgia_State/Dependencies/MigrateJS}}
 +
{{:Team:Georgia_State/Dependencies/ModernizrrJS}}
 +
{{:Team:Georgia_State/Dependencies/BootstrapJS}}
 +
{{:Team:Georgia_State/Dependencies/FitVidsJS}}
 +
{{:Team:Georgia_State/Dependencies/OwlJS}}
 +
{{:Team:Georgia_State/Dependencies/Nivo-Lightbox-JS}}
 +
{{:Team:Georgia_State/Dependencies/IsotopeJS}}
 +
{{:Team:Georgia_State/Dependencies/AppearJS}}
 +
{{:Team:Georgia_State/Dependencies/Count-to-JS}}
 +
{{:Team:Georgia_State/Dependencies/TextillateJS}}
 +
{{:Team:Georgia_State/Dependencies/LetteringJS}}
 +
{{:Team:Georgia_State/Dependencies/EasypieJS}}
 +
{{:Team:Georgia_State/Dependencies/Nicescroll-min-JS}}
 +
{{:Team:Georgia_State/Dependencies/ParallaxJS}}
 +
{{:Team:Georgia_State/Dependencies/Themepunch-min-JS}}
 +
{{:Team:Georgia_State/Dependencies/Revolution-min-JS}}
 +
{{:Team:Georgia_State/Dependencies/ScriptJS}}
<html>
<html>

Revision as of 20:29, 18 September 2014

Mamba | Georgia State University

/*!

* Bootstrap v3.0.0
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/

/*! normalize.css v2.1.0 | MIT License | git.io/normalize */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {

 display: block;

}

audio, canvas, video {

 display: inline-block;

}

audio:not([controls]) {

 display: none;
 height: 0;

}

[hidden] {

 display: none;

}

html {

 font-family: sans-serif;
 -webkit-text-size-adjust: 100%;
     -ms-text-size-adjust: 100%;

}

body {

 margin: 0;

}

a:focus {

 outline: thin dotted;

}

a:active, a:hover {

 outline: 0;

}

h1 {

 margin: 0.67em 0;
 font-size: 2em;

}

abbr[title] {

 border-bottom: 1px dotted;

}

b, strong {

 font-weight: bold;

}

dfn {

 font-style: italic;

}

hr {

 height: 0;
 -moz-box-sizing: content-box;
      box-sizing: content-box;

}

mark {

 color: #000;
 background: #ff0;

}

code, kbd, pre, samp {

 font-family: monospace, serif;
 font-size: 1em;

}

pre {

 white-space: pre-wrap;

}

q {

 quotes: "\201C" "\201D" "\2018" "\2019";

}

small {

 font-size: 80%;

}

sub, sup {

 position: relative;
 font-size: 75%;
 line-height: 0;
 vertical-align: baseline;

}

sup {

 top: -0.5em;

}

sub {

 bottom: -0.25em;

}

img {

 border: 0;

}

svg:not(:root) {

 overflow: hidden;

}

figure {

 margin: 0;

}

fieldset {

 padding: 0.35em 0.625em 0.75em;
 margin: 0 2px;
 border: 1px solid #c0c0c0;

}

legend {

 padding: 0;
 border: 0;

}

button, input, select, textarea {

 margin: 0;
 font-family: inherit;
 font-size: 100%;

}

button, input {

 line-height: normal;

}

button, select {

 text-transform: none;

}

button, html input[type="button"], input[type="reset"], input[type="submit"] {

 cursor: pointer;
 -webkit-appearance: button;

}

button[disabled], html input[disabled] {

 cursor: default;

}

input[type="checkbox"], input[type="radio"] {

 padding: 0;
 box-sizing: border-box;

}

input[type="search"] {

 -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
         box-sizing: content-box;
 -webkit-appearance: textfield;

}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {

 -webkit-appearance: none;

}

button::-moz-focus-inner, input::-moz-focus-inner {

 padding: 0;
 border: 0;

}

textarea {

 overflow: auto;
 vertical-align: top;

}

table {

 border-collapse: collapse;
 border-spacing: 0;

}

@media print {

 * {
   color: #000 !important;
   text-shadow: none !important;
   background: transparent !important;
   box-shadow: none !important;
 }
 a,
 a:visited {
   text-decoration: underline;
 }
 a[href]:after {
   content: " (" attr(href) ")";
 }
 abbr[title]:after {
   content: " (" attr(title) ")";
 }
 .ir a:after,
 a[href^="javascript:"]:after,
 a[href^="#"]: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;
 }
 @page  {
   margin: 2cm .5cm;
 }
 p,
 h2,
 h3 {
   orphans: 3;
   widows: 3;
 }
 h2,
 h3 {
   page-break-after: avoid;
 }
 .navbar {
   display: none;
 }
 .table td,
 .table th {
   background-color: #fff !important;
 }
 .btn > .caret,
 .dropup > .btn > .caret {
   border-top-color: #000 !important;
 }
 .label {
   border: 1px solid #000;
 }
 .table {
   border-collapse: collapse !important;
 }
 .table-bordered th,
 .table-bordered td {
   border: 1px solid #ddd !important;
 }

}

  • ,
    before,
    after {
 -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
         box-sizing: border-box;

}

html {

 font-size: 62.5%;
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

}

body {

 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: 14px;
 line-height: 1.428571429;
 color: #333333;
 background-color: #ffffff;

}

input, button, select, textarea {

 font-family: inherit;
 font-size: inherit;
 line-height: inherit;

}

button, input, select[multiple], textarea {

 background-image: none;

}

a {

 color: #428bca;
 text-decoration: none;

}

a:hover, a:focus {

 color: #2a6496;
 text-decoration: underline;

}

a:focus {

 outline: thin dotted #333;
 outline: 5px auto -webkit-focus-ring-color;
 outline-offset: -2px;

}

img {

 vertical-align: middle;

}

.img-responsive {

 display: block;
 height: auto;
 max-width: 100%;

}

.img-rounded {

 border-radius: 6px;

}

.img-thumbnail {

 display: inline-block;
 height: auto;
 max-width: 100%;
 padding: 4px;
 line-height: 1.428571429;
 background-color: #ffffff;
 border: 1px solid #dddddd;
 border-radius: 4px;
 -webkit-transition: all 0.2s ease-in-out;
         transition: all 0.2s ease-in-out;

}

.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;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0 0 0 0);
 border: 0;

}

p {

 margin: 0 0 10px;

}

.lead {

 margin-bottom: 20px;
 font-size: 16.099999999999998px;
 font-weight: 200;
 line-height: 1.4;

}

@media (min-width: 768px) {

 .lead {
   font-size: 21px;
 }

}

small {

 font-size: 85%;

}

cite {

 font-style: normal;

}

.text-muted {

 color: #999999;

}

.text-primary {

 color: #428bca;

}

.text-warning {

 color: #c09853;

}

.text-danger {

 color: #b94a48;

}

.text-success {

 color: #468847;

}

.text-info {

 color: #3a87ad;

}

.text-left {

 text-align: left;

}

.text-right {

 text-align: right;

}

.text-center {

 text-align: center;

}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {

 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-weight: 500;
 line-height: 1.1;

}

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, h2, h3 {

 margin-top: 20px;
 margin-bottom: 10px;

}

h4, h5, h6 {

 margin-top: 10px;
 margin-bottom: 10px;

}

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;

}

h1 small, .h1 small {

 font-size: 24px;

}

h2 small, .h2 small {

 font-size: 18px;

}

h3 small, .h3 small, h4 small, .h4 small {

 font-size: 14px;

}

.page-header {

 padding-bottom: 9px;
 margin: 40px 0 20px;
 border-bottom: 1px solid #eeeeee;

}

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;

}

.list-inline > li {

 display: inline-block;
 padding-right: 5px;
 padding-left: 5px;

}

dl {

 margin-bottom: 20px;

}

dt, dd {

 line-height: 1.428571429;

}

dt {

 font-weight: bold;

}

dd {

 margin-left: 0;

}

@media (min-width: 768px) {

 .dl-horizontal dt {
   float: left;
   width: 160px;
   overflow: hidden;
   clear: left;
   text-align: right;
   text-overflow: ellipsis;
   white-space: nowrap;
 }
 .dl-horizontal dd {
   margin-left: 180px;
 }
 .dl-horizontal dd:before,
 .dl-horizontal dd:after {
   display: table;
   content: " ";
 }
 .dl-horizontal dd:after {
   clear: both;
 }
 .dl-horizontal dd:before,
 .dl-horizontal dd:after {
   display: table;
   content: " ";
 }
 .dl-horizontal dd:after {
   clear: both;
 }

}

abbr[title], abbr[data-original-title] {

 cursor: help;
 border-bottom: 1px dotted #999999;

}

abbr.initialism {

 font-size: 90%;
 text-transform: uppercase;

}

blockquote {

 padding: 10px 20px;
 margin: 0 0 20px;
 border-left: 5px solid #eeeeee;

}

blockquote p {

 font-size: 17.5px;
 font-weight: 300;
 line-height: 1.25;

}

blockquote p:last-child {

 margin-bottom: 0;

}

blockquote small {

 display: block;
 line-height: 1.428571429;
 color: #999999;

}

blockquote small:before {

 content: '\2014 \00A0';

}

blockquote.pull-right {

 padding-right: 15px;
 padding-left: 0;
 border-right: 5px solid #eeeeee;
 border-left: 0;

}

blockquote.pull-right p, blockquote.pull-right small {

 text-align: right;

}

blockquote.pull-right small:before {

 content: ;

}

blockquote.pull-right small:after {

 content: '\00A0 \2014';

}

q:before, q:after, blockquote:before, blockquote:after {

 content: "";

}

address {

 display: block;
 margin-bottom: 20px;
 font-style: normal;
 line-height: 1.428571429;

}

code, pre {

 font-family: Monaco, Menlo, Consolas, "Courier New", monospace;

}

code {

 padding: 2px 4px;
 font-size: 90%;
 color: #c7254e;
 white-space: nowrap;
 background-color: #f9f2f4;
 border-radius: 4px;

}

pre {

 display: block;
 padding: 9.5px;
 margin: 0 0 10px;
 font-size: 13px;
 line-height: 1.428571429;
 color: #333333;
 word-break: break-all;
 word-wrap: break-word;
 background-color: #f5f5f5;
 border: 1px solid #cccccc;
 border-radius: 4px;

}

pre.prettyprint {

 margin-bottom: 20px;

}

pre code {

 padding: 0;
 font-size: inherit;
 color: inherit;
 white-space: pre-wrap;
 background-color: transparent;
 border: 0;

}

.pre-scrollable {

 max-height: 340px;
 overflow-y: scroll;

}

.container {

 padding-right: 15px;
 padding-left: 15px;
 margin-right: auto;
 margin-left: auto;

}

.container:before, .container:after {

 display: table;
 content: " ";

}

.container:after {

 clear: both;

}

.container:before, .container:after {

 display: table;
 content: " ";

}

.container:after {

 clear: both;

}

.row {

 margin-right: -15px;
 margin-left: -15px;

}

.row:before, .row:after {

 display: table;
 content: " ";

}

.row:after {

 clear: both;

}

.row:before, .row:after {

 display: table;
 content: " ";

}

.row:after {

 clear: both;

}

.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, .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, .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, .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 {

 position: relative;
 min-height: 1px;
 padding-right: 15px;
 padding-left: 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 {

 float: left;

}

.col-xs-1 {

 width: 8.333333333333332%;

}

.col-xs-2 {

 width: 16.666666666666664%;

}

.col-xs-3 {

 width: 25%;

}

.col-xs-4 {

 width: 33.33333333333333%;

}

.col-xs-5 {

 width: 41.66666666666667%;

}

.col-xs-6 {

 width: 50%;

}

.col-xs-7 {

 width: 58.333333333333336%;

}

.col-xs-8 {

 width: 66.66666666666666%;

}

.col-xs-9 {

 width: 75%;

}

.col-xs-10 {

 width: 83.33333333333334%;

}

.col-xs-11 {

 width: 91.66666666666666%;

}

.col-xs-12 {

 width: 100%;

}

@media (min-width: 768px) {

 .container {
   max-width: 750px;
 }
 .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 {
   float: left;
 }
 .col-sm-1 {
   width: 8.333333333333332%;
 }
 .col-sm-2 {
   width: 16.666666666666664%;
 }
 .col-sm-3 {
   width: 25%;
 }
 .col-sm-4 {
   width: 33.33333333333333%;
 }
 .col-sm-5 {
   width: 41.66666666666667%;
 }
 .col-sm-6 {
   width: 50%;
 }
 .col-sm-7 {
   width: 58.333333333333336%;
 }
 .col-sm-8 {
   width: 66.66666666666666%;
 }
 .col-sm-9 {
   width: 75%;
 }
 .col-sm-10 {
   width: 83.33333333333334%;
 }
 .col-sm-11 {
   width: 91.66666666666666%;
 }
 .col-sm-12 {
   width: 100%;
 }
 .col-sm-push-1 {
   left: 8.333333333333332%;
 }
 .col-sm-push-2 {
   left: 16.666666666666664%;
 }
 .col-sm-push-3 {
   left: 25%;
 }
 .col-sm-push-4 {
   left: 33.33333333333333%;
 }
 .col-sm-push-5 {
   left: 41.66666666666667%;
 }
 .col-sm-push-6 {
   left: 50%;
 }
 .col-sm-push-7 {
   left: 58.333333333333336%;
 }
 .col-sm-push-8 {
   left: 66.66666666666666%;
 }
 .col-sm-push-9 {
   left: 75%;
 }
 .col-sm-push-10 {
   left: 83.33333333333334%;
 }
 .col-sm-push-11 {
   left: 91.66666666666666%;
 }
 .col-sm-pull-1 {
   right: 8.333333333333332%;
 }
 .col-sm-pull-2 {
   right: 16.666666666666664%;
 }
 .col-sm-pull-3 {
   right: 25%;
 }
 .col-sm-pull-4 {
   right: 33.33333333333333%;
 }
 .col-sm-pull-5 {
   right: 41.66666666666667%;
 }
 .col-sm-pull-6 {
   right: 50%;
 }
 .col-sm-pull-7 {
   right: 58.333333333333336%;
 }
 .col-sm-pull-8 {
   right: 66.66666666666666%;
 }
 .col-sm-pull-9 {
   right: 75%;
 }
 .col-sm-pull-10 {
   right: 83.33333333333334%;
 }
 .col-sm-pull-11 {
   right: 91.66666666666666%;
 }
 .col-sm-offset-1 {
   margin-left: 8.333333333333332%;
 }
 .col-sm-offset-2 {
   margin-left: 16.666666666666664%;
 }
 .col-sm-offset-3 {
   margin-left: 25%;
 }
 .col-sm-offset-4 {
   margin-left: 33.33333333333333%;
 }
 .col-sm-offset-5 {
   margin-left: 41.66666666666667%;
 }
 .col-sm-offset-6 {
   margin-left: 50%;
 }
 .col-sm-offset-7 {
   margin-left: 58.333333333333336%;
 }
 .col-sm-offset-8 {
   margin-left: 66.66666666666666%;
 }
 .col-sm-offset-9 {
   margin-left: 75%;
 }
 .col-sm-offset-10 {
   margin-left: 83.33333333333334%;
 }
 .col-sm-offset-11 {
   margin-left: 91.66666666666666%;
 }

}

@media (min-width: 992px) {

 .container {
   max-width: 970px;
 }
 .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 {
   float: left;
 }
 .col-md-1 {
   width: 8.333333333333332%;
 }
 .col-md-2 {
   width: 16.666666666666664%;
 }
 .col-md-3 {
   width: 25%;
 }
 .col-md-4 {
   width: 33.33333333333333%;
 }
 .col-md-5 {
   width: 41.66666666666667%;
 }
 .col-md-6 {
   width: 50%;
 }
 .col-md-7 {
   width: 58.333333333333336%;
 }
 .col-md-8 {
   width: 66.66666666666666%;
 }
 .col-md-9 {
   width: 75%;
 }
 .col-md-10 {
   width: 83.33333333333334%;
 }
 .col-md-11 {
   width: 91.66666666666666%;
 }
 .col-md-12 {
   width: 100%;
 }
 .col-md-push-0 {
   left: auto;
 }
 .col-md-push-1 {
   left: 8.333333333333332%;
 }
 .col-md-push-2 {
   left: 16.666666666666664%;
 }
 .col-md-push-3 {
   left: 25%;
 }
 .col-md-push-4 {
   left: 33.33333333333333%;
 }
 .col-md-push-5 {
   left: 41.66666666666667%;
 }
 .col-md-push-6 {
   left: 50%;
 }
 .col-md-push-7 {
   left: 58.333333333333336%;
 }
 .col-md-push-8 {
   left: 66.66666666666666%;
 }
 .col-md-push-9 {
   left: 75%;
 }
 .col-md-push-10 {
   left: 83.33333333333334%;
 }
 .col-md-push-11 {
   left: 91.66666666666666%;
 }
 .col-md-pull-0 {
   right: auto;
 }
 .col-md-pull-1 {
   right: 8.333333333333332%;
 }
 .col-md-pull-2 {
   right: 16.666666666666664%;
 }
 .col-md-pull-3 {
   right: 25%;
 }
 .col-md-pull-4 {
   right: 33.33333333333333%;
 }
 .col-md-pull-5 {
   right: 41.66666666666667%;
 }
 .col-md-pull-6 {
   right: 50%;
 }
 .col-md-pull-7 {
   right: 58.333333333333336%;
 }
 .col-md-pull-8 {
   right: 66.66666666666666%;
 }
 .col-md-pull-9 {
   right: 75%;
 }
 .col-md-pull-10 {
   right: 83.33333333333334%;
 }
 .col-md-pull-11 {
   right: 91.66666666666666%;
 }
 .col-md-offset-0 {
   margin-left: 0;
 }
 .col-md-offset-1 {
   margin-left: 8.333333333333332%;
 }
 .col-md-offset-2 {
   margin-left: 16.666666666666664%;
 }
 .col-md-offset-3 {
   margin-left: 25%;
 }
 .col-md-offset-4 {
   margin-left: 33.33333333333333%;
 }
 .col-md-offset-5 {
   margin-left: 41.66666666666667%;
 }
 .col-md-offset-6 {
   margin-left: 50%;
 }
 .col-md-offset-7 {
   margin-left: 58.333333333333336%;
 }
 .col-md-offset-8 {
   margin-left: 66.66666666666666%;
 }
 .col-md-offset-9 {
   margin-left: 75%;
 }
 .col-md-offset-10 {
   margin-left: 83.33333333333334%;
 }
 .col-md-offset-11 {
   margin-left: 91.66666666666666%;
 }

}

@media (min-width: 1200px) {

 .container {
   max-width: 1170px;
 }
 .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 {
   float: left;
 }
 .col-lg-1 {
   width: 8.333333333333332%;
 }
 .col-lg-2 {
   width: 16.666666666666664%;
 }
 .col-lg-3 {
   width: 25%;
 }
 .col-lg-4 {
   width: 33.33333333333333%;
 }
 .col-lg-5 {
   width: 41.66666666666667%;
 }
 .col-lg-6 {
   width: 50%;
 }
 .col-lg-7 {
   width: 58.333333333333336%;
 }
 .col-lg-8 {
   width: 66.66666666666666%;
 }
 .col-lg-9 {
   width: 75%;
 }
 .col-lg-10 {
   width: 83.33333333333334%;
 }
 .col-lg-11 {
   width: 91.66666666666666%;
 }
 .col-lg-12 {
   width: 100%;
 }
 .col-lg-push-0 {
   left: auto;
 }
 .col-lg-push-1 {
   left: 8.333333333333332%;
 }
 .col-lg-push-2 {
   left: 16.666666666666664%;
 }
 .col-lg-push-3 {
   left: 25%;
 }
 .col-lg-push-4 {
   left: 33.33333333333333%;
 }
 .col-lg-push-5 {
   left: 41.66666666666667%;
 }
 .col-lg-push-6 {
   left: 50%;
 }
 .col-lg-push-7 {
   left: 58.333333333333336%;
 }
 .col-lg-push-8 {
   left: 66.66666666666666%;
 }
 .col-lg-push-9 {
   left: 75%;
 }
 .col-lg-push-10 {
   left: 83.33333333333334%;
 }
 .col-lg-push-11 {
   left: 91.66666666666666%;
 }
 .col-lg-pull-0 {
   right: auto;
 }
 .col-lg-pull-1 {
   right: 8.333333333333332%;
 }
 .col-lg-pull-2 {
   right: 16.666666666666664%;
 }
 .col-lg-pull-3 {
   right: 25%;
 }
 .col-lg-pull-4 {
   right: 33.33333333333333%;
 }
 .col-lg-pull-5 {
   right: 41.66666666666667%;
 }
 .col-lg-pull-6 {
   right: 50%;
 }
 .col-lg-pull-7 {
   right: 58.333333333333336%;
 }
 .col-lg-pull-8 {
   right: 66.66666666666666%;
 }
 .col-lg-pull-9 {
   right: 75%;
 }
 .col-lg-pull-10 {
   right: 83.33333333333334%;
 }
 .col-lg-pull-11 {
   right: 91.66666666666666%;
 }
 .col-lg-offset-0 {
   margin-left: 0;
 }
 .col-lg-offset-1 {
   margin-left: 8.333333333333332%;
 }
 .col-lg-offset-2 {
   margin-left: 16.666666666666664%;
 }
 .col-lg-offset-3 {
   margin-left: 25%;
 }
 .col-lg-offset-4 {
   margin-left: 33.33333333333333%;
 }
 .col-lg-offset-5 {
   margin-left: 41.66666666666667%;
 }
 .col-lg-offset-6 {
   margin-left: 50%;
 }
 .col-lg-offset-7 {
   margin-left: 58.333333333333336%;
 }
 .col-lg-offset-8 {
   margin-left: 66.66666666666666%;
 }
 .col-lg-offset-9 {
   margin-left: 75%;
 }
 .col-lg-offset-10 {
   margin-left: 83.33333333333334%;
 }
 .col-lg-offset-11 {
   margin-left: 91.66666666666666%;
 }

}

table {

 max-width: 100%;
 background-color: transparent;

}

th {

 text-align: left;

}

.table {

 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.428571429;
 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-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {

 background-color: #f9f9f9;

}

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {

 background-color: #f5f5f5;

}

table col[class*="col-"] {

 display: table-column;
 float: none;

}

table td[class*="col-"], table th[class*="col-"] {

 display: table-cell;
 float: none;

}

.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 > 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;
 border-color: #d6e9c6;

}

.table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td {

 background-color: #d0e9c6;
 border-color: #c9e2b3;

}

.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;
 border-color: #eed3d7;

}

.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td {

 background-color: #ebcccc;
 border-color: #e6c1c7;

}

.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;
 border-color: #fbeed5;

}

.table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td {

 background-color: #faf2cc;
 border-color: #f8e5be;

}

@media (max-width: 768px) {

 .table-responsive {
   width: 100%;
   margin-bottom: 15px;
   overflow-x: scroll;
   overflow-y: hidden;
   border: 1px solid #dddddd;
 }
 .table-responsive > .table {
   margin-bottom: 0;
   background-color: #fff;
 }
 .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 > thead > tr:last-child > th,
 .table-responsive > .table-bordered > tbody > tr:last-child > th,
 .table-responsive > .table-bordered > tfoot > tr:last-child > th,
 .table-responsive > .table-bordered > thead > tr:last-child > td,
 .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;

}

legend {

 display: block;
 width: 100%;
 padding: 0;
 margin-bottom: 20px;
 font-size: 21px;
 line-height: inherit;
 color: #333333;
 border: 0;
 border-bottom: 1px solid #e5e5e5;

}

label {

 display: inline-block;
 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;
 /* IE8-9 */
 line-height: normal;

}

input[type="file"] {

 display: block;

}

select[multiple], select[size] {

 height: auto;

}

select optgroup {

 font-family: inherit;
 font-size: inherit;
 font-style: inherit;

}

input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {

 outline: thin dotted #333;
 outline: 5px auto -webkit-focus-ring-color;
 outline-offset: -2px;

}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {

 height: auto;

}

.form-control:-moz-placeholder {

 color: #999999;

}

.form-control::-moz-placeholder {

 color: #999999;

}

.form-control:-ms-input-placeholder {

 color: #999999;

}

.form-control::-webkit-input-placeholder {

 color: #999999;

}

.form-control {

 display: block;
 width: 100%;
 height: 34px;
 padding: 6px 12px;
 font-size: 14px;
 line-height: 1.428571429;
 color: #555555;
 vertical-align: middle;
 background-color: #ffffff;
 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 0.15s, box-shadow ease-in-out 0.15s;
         transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.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[disabled], .form-control[readonly], fieldset[disabled] .form-control {

 cursor: not-allowed;
 background-color: #eeeeee;

}

textarea.form-control {

 height: auto;

}

.form-group {

 margin-bottom: 15px;

}

.radio, .checkbox {

 display: block;
 min-height: 20px;
 padding-left: 20px;
 margin-top: 10px;
 margin-bottom: 10px;
 vertical-align: middle;

}

.radio label, .checkbox label {

 display: inline;
 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"] {

 float: left;
 margin-left: -20px;

}

.radio + .radio, .checkbox + .checkbox {

 margin-top: -5px;

}

.radio-inline, .checkbox-inline {

 display: inline-block;
 padding-left: 20px;
 margin-bottom: 0;
 font-weight: normal;
 vertical-align: middle;
 cursor: pointer;

}

.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {

 margin-top: 0;
 margin-left: 10px;

}

input[type="radio"][disabled], input[type="checkbox"][disabled], .radio[disabled], .radio-inline[disabled], .checkbox[disabled], .checkbox-inline[disabled], fieldset[disabled] input[type="radio"], fieldset[disabled] input[type="checkbox"], fieldset[disabled] .radio, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox, fieldset[disabled] .checkbox-inline {

 cursor: not-allowed;

}

.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 {

 height: auto;

}

.input-lg {

 height: 45px;
 padding: 10px 16px;
 font-size: 18px;
 line-height: 1.33;
 border-radius: 6px;

}

select.input-lg {

 height: 45px;
 line-height: 45px;

}

textarea.input-lg {

 height: auto;

}

.has-warning .help-block, .has-warning .control-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;
 background-color: #fcf8e3;
 border-color: #c09853;

}

.has-error .help-block, .has-error .control-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;
 background-color: #f2dede;
 border-color: #b94a48;

}

.has-success .help-block, .has-success .control-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;
 background-color: #dff0d8;
 border-color: #468847;

}

.form-control-static {

 padding-top: 7px;
 margin-bottom: 0;

}

.help-block {

 display: block;
 margin-top: 5px;
 margin-bottom: 10px;
 color: #737373;

}

@media (min-width: 768px) {

 .form-inline .form-group {
   display: inline-block;
   margin-bottom: 0;
   vertical-align: middle;
 }
 .form-inline .form-control {
   display: inline-block;
 }
 .form-inline .radio,
 .form-inline .checkbox {
   display: inline-block;
   padding-left: 0;
   margin-top: 0;
   margin-bottom: 0;
 }
 .form-inline .radio input[type="radio"],
 .form-inline .checkbox input[type="checkbox"] {
   float: none;
   margin-left: 0;
 }

}

.form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {

 padding-top: 7px;
 margin-top: 0;
 margin-bottom: 0;

}

.form-horizontal .form-group {

 margin-right: -15px;
 margin-left: -15px;

}

.form-horizontal .form-group:before, .form-horizontal .form-group:after {

 display: table;
 content: " ";

}

.form-horizontal .form-group:after {

 clear: both;

}

.form-horizontal .form-group:before, .form-horizontal .form-group:after {

 display: table;
 content: " ";

}

.form-horizontal .form-group:after {

 clear: both;

}

@media (min-width: 768px) {

 .form-horizontal .control-label {
   text-align: right;
 }

}

.btn {

 display: inline-block;
 padding: 6px 12px;
 margin-bottom: 0;
 font-size: 14px;
 font-weight: normal;
 line-height: 1.428571429;
 text-align: center;
 white-space: nowrap;
 vertical-align: middle;
 cursor: pointer;
 border: 1px solid transparent;
 border-radius: 4px;
 -webkit-user-select: none;
    -moz-user-select: none;
     -ms-user-select: none;
      -o-user-select: none;
         user-select: none;

}

.btn:focus {

 outline: thin dotted #333;
 outline: 5px auto -webkit-focus-ring-color;
 outline-offset: -2px;

}

.btn:hover, .btn:focus {

 color: #333333;
 text-decoration: none;

}

.btn:active, .btn.active {

 background-image: none;
 outline: 0;
 -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 {

 pointer-events: none;
 cursor: not-allowed;
 opacity: 0.65;
 filter: alpha(opacity=65);
 -webkit-box-shadow: none;
         box-shadow: none;

}

.btn-default {

 color: #333333;
 background-color: #ffffff;
 border-color: #cccccc;

}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {

 color: #333333;
 background-color: #ebebeb;
 border-color: #adadad;

}

.btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {

 background-image: none;

}

.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .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:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active {

 background-color: #ffffff;
 border-color: #cccccc;

}

.btn-primary {

 color: #ffffff;
 background-color: #428bca;
 border-color: #357ebd;

}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {

 color: #ffffff;
 background-color: #3276b1;
 border-color: #285e8e;

}

.btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {

 background-image: none;

}

.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .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:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {

 background-color: #428bca;
 border-color: #357ebd;

}

.btn-warning {

 color: #ffffff;
 background-color: #f0ad4e;
 border-color: #eea236;

}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {

 color: #ffffff;
 background-color: #ed9c28;
 border-color: #d58512;

}

.btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {

 background-image: none;

}

.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .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:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active {

 background-color: #f0ad4e;
 border-color: #eea236;

}

.btn-danger {

 color: #ffffff;
 background-color: #d9534f;
 border-color: #d43f3a;

}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {

 color: #ffffff;
 background-color: #d2322d;
 border-color: #ac2925;

}

.btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {

 background-image: none;

}

.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .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:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active {

 background-color: #d9534f;
 border-color: #d43f3a;

}

.btn-success {

 color: #ffffff;
 background-color: #5cb85c;
 border-color: #4cae4c;

}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {

 color: #ffffff;
 background-color: #47a447;
 border-color: #398439;

}

.btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {

 background-image: none;

}

.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .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:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active {

 background-color: #5cb85c;
 border-color: #4cae4c;

}

.btn-info {

 color: #ffffff;
 background-color: #5bc0de;
 border-color: #46b8da;

}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {

 color: #ffffff;
 background-color: #39b3d7;
 border-color: #269abc;

}

.btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {

 background-image: none;

}

.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .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:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active {

 background-color: #5bc0de;
 border-color: #46b8da;

}

.btn-link {

 font-weight: normal;
 color: #428bca;
 cursor: pointer;
 border-radius: 0;

}

.btn-link, .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: #2a6496;
 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 {

 padding: 10px 16px;
 font-size: 18px;
 line-height: 1.33;
 border-radius: 6px;

}

.btn-sm, .btn-xs {

 padding: 5px 10px;
 font-size: 12px;
 line-height: 1.5;
 border-radius: 3px;

}

.btn-xs {

 padding: 1px 5px;

}

.btn-block {

 display: block;
 width: 100%;
 padding-right: 0;
 padding-left: 0;

}

.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;
         transition: opacity 0.15s linear;

}

.fade.in {

 opacity: 1;

}

.collapse {

 display: none;

}

.collapse.in {

 display: block;

}

.collapsing {

 position: relative;
 height: 0;
 overflow: hidden;
 -webkit-transition: height 0.35s ease;
         transition: height 0.35s ease;

}

@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.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';
 -webkit-font-smoothing: antialiased;
 font-style: normal;
 font-weight: normal;
 line-height: 1;

}

.glyphicon-asterisk:before {

 content: "\2a";

}

.glyphicon-plus:before {

 content: "\2b";

}

.glyphicon-euro: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-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-print:before {

 content: "\e045";

}

.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-eye-open:before {

 content: "\e105";

}

.glyphicon-eye-close:before {

 content: "\e106";

}

.glyphicon-warning-sign:before {

 content: "\e107";

}

.glyphicon-plane:before {

 content: "\e108";

}

.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-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-tasks:before {

 content: "\e137";

}

.glyphicon-filter:before {

 content: "\e138";

}

.glyphicon-fullscreen:before {

 content: "\e140";

}

.glyphicon-dashboard:before {

 content: "\e141";

}

.glyphicon-heart-empty:before {

 content: "\e143";

}

.glyphicon-link:before {

 content: "\e144";

}

.glyphicon-phone:before {

 content: "\e145";

}

.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-briefcase:before {

 content: "\1f4bc";

}

.glyphicon-calendar:before {

 content: "\1f4c5";

}

.glyphicon-pushpin:before {

 content: "\1f4cc";

}

.glyphicon-paperclip:before {

 content: "\1f4ce";

}

.glyphicon-camera:before {

 content: "\1f4f7";

}

.glyphicon-lock:before {

 content: "\1f512";

}

.glyphicon-bell:before {

 content: "\1f514";

}

.glyphicon-bookmark:before {

 content: "\1f516";

}

.glyphicon-fire:before {

 content: "\1f525";

}

.glyphicon-wrench:before {

 content: "\1f527";

}

.caret {

 display: inline-block;
 width: 0;
 height: 0;
 margin-left: 2px;
 vertical-align: middle;
 border-top: 4px solid #000000;
 border-right: 4px solid transparent;
 border-bottom: 0 dotted;
 border-left: 4px solid transparent;
 content: "";

}

.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;
 font-size: 14px;
 list-style: none;
 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);
 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.428571429;
 color: #333333;
 white-space: nowrap;

}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {

 color: #ffffff;
 text-decoration: none;
 background-color: #428bca;

}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {

 color: #ffffff;
 text-decoration: none;
 background-color: #428bca;
 outline: 0;

}

.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;
 cursor: not-allowed;
 background-color: transparent;
 background-image: none;
 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);

}

.open > .dropdown-menu {

 display: block;

}

.open > a {

 outline: 0;

}

.dropdown-header {

 display: block;
 padding: 3px 20px;
 font-size: 12px;
 line-height: 1.428571429;
 color: #999999;

}

.dropdown-backdrop {

 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 990;

}

.pull-right > .dropdown-menu {

 right: 0;
 left: auto;

}

.dropup .caret, .navbar-fixed-bottom .dropdown .caret {

 border-top: 0 dotted;
 border-bottom: 4px solid #000000;
 content: "";

}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {

 top: auto;
 bottom: 100%;
 margin-bottom: 1px;

}

@media (min-width: 768px) {

 .navbar-right .dropdown-menu {
   right: 0;
   left: auto;
 }

}

.btn-default .caret {

 border-top-color: #333333;

}

.btn-primary .caret, .btn-success .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret {

 border-top-color: #fff;

}

.dropup .btn-default .caret {

 border-bottom-color: #333333;

}

.dropup .btn-primary .caret, .dropup .btn-success .caret, .dropup .btn-warning .caret, .dropup .btn-danger .caret, .dropup .btn-info .caret {

 border-bottom-color: #fff;

}

.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:focus, .btn-group-vertical > .btn:focus {

 outline: none;

}

.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:before, .btn-toolbar:after {

 display: table;
 content: " ";

}

.btn-toolbar:after {

 clear: both;

}

.btn-toolbar:before, .btn-toolbar:after {

 display: table;
 content: " ";

}

.btn-toolbar:after {

 clear: both;

}

.btn-toolbar .btn-group {

 float: left;

}

.btn-toolbar > .btn + .btn, .btn-toolbar > .btn-group + .btn, .btn-toolbar > .btn + .btn-group, .btn-toolbar > .btn-group + .btn-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-top-right-radius: 0;
 border-bottom-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 > .btn:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle {

 border-top-right-radius: 0;
 border-bottom-right-radius: 0;

}

.btn-group > .btn-group:last-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-xs > .btn {

 padding: 5px 10px;
 padding: 1px 5px;
 font-size: 12px;
 line-height: 1.5;
 border-radius: 3px;

}

.btn-group-sm > .btn {

 padding: 5px 10px;
 font-size: 12px;
 line-height: 1.5;
 border-radius: 3px;

}

.btn-group-lg > .btn {

 padding: 10px 16px;
 font-size: 18px;
 line-height: 1.33;
 border-radius: 6px;

}

.btn-group > .btn + .dropdown-toggle {

 padding-right: 8px;
 padding-left: 8px;

}

.btn-group > .btn-lg + .dropdown-toggle {

 padding-right: 12px;
 padding-left: 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 .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 {

 display: block;
 float: none;
 width: 100%;
 max-width: 100%;

}

.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {

 display: table;
 content: " ";

}

.btn-group-vertical > .btn-group:after {

 clear: both;

}

.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {

 display: table;
 content: " ";

}

.btn-group-vertical > .btn-group:after {

 clear: both;

}

.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-bottom-right-radius: 0;
 border-bottom-left-radius: 0;

}

.btn-group-vertical > .btn:last-child:not(:first-child) {

 border-top-right-radius: 0;
 border-bottom-left-radius: 4px;
 border-top-left-radius: 0;

}

.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {

 border-radius: 0;

}

.btn-group-vertical > .btn-group:first-child > .btn:last-child, .btn-group-vertical > .btn-group:first-child > .dropdown-toggle {

 border-bottom-right-radius: 0;
 border-bottom-left-radius: 0;

}

.btn-group-vertical > .btn-group:last-child > .btn:first-child {

 border-top-right-radius: 0;
 border-top-left-radius: 0;

}

.btn-group-justified {

 display: table;
 width: 100%;
 border-collapse: separate;
 table-layout: fixed;

}

.btn-group-justified .btn {

 display: table-cell;
 float: none;
 width: 1%;

}

[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn > input[type="checkbox"] {

 display: none;

}

.input-group {

 position: relative;
 display: table;
 border-collapse: separate;

}

.input-group.col {

 float: none;
 padding-right: 0;
 padding-left: 0;

}

.input-group .form-control {

 width: 100%;
 margin-bottom: 0;

}

.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: 18px;
 line-height: 1.33;
 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: 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 {

 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 {

 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 12px;
 font-size: 14px;
 font-weight: normal;
 line-height: 1;
 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: 10px 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 > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {

 border-top-right-radius: 0;
 border-bottom-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 > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child) {

 border-bottom-left-radius: 0;
 border-top-left-radius: 0;

}

.input-group-addon:last-child {

 border-left: 0;

}

.input-group-btn {

 position: relative;
 white-space: nowrap;

}

.input-group-btn > .btn {

 position: relative;

}

.input-group-btn > .btn + .btn {

 margin-left: -4px;

}

.input-group-btn > .btn:hover, .input-group-btn > .btn:active {

 z-index: 2;

}

.nav {

 padding-left: 0;
 margin-bottom: 0;
 list-style: none;

}

.nav:before, .nav:after {

 display: table;
 content: " ";

}

.nav:after {

 clear: both;

}

.nav:before, .nav:after {

 display: table;
 content: " ";

}

.nav:after {

 clear: both;

}

.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;
 cursor: not-allowed;
 background-color: transparent;

}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {

 background-color: #eeeeee;
 border-color: #428bca;

}

.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.428571429;
 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: #555555;
 cursor: default;
 background-color: #ffffff;
 border: 1px solid #dddddd;
 border-bottom-color: transparent;

}

.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;

}

@media (min-width: 768px) {

 .nav-tabs.nav-justified > li {
   display: table-cell;
   width: 1%;
 }

}

.nav-tabs.nav-justified > li > a {

 margin-right: 0;
 border-bottom: 1px solid #dddddd;

}

.nav-tabs.nav-justified > .active > a {

 border-bottom-color: #ffffff;

}

.nav-pills > li {

 float: left;

}

.nav-pills > li > a {

 border-radius: 5px;

}

.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: #428bca;

}

.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;

}

@media (min-width: 768px) {

 .nav-justified > li {
   display: table-cell;
   width: 1%;
 }

}

.nav-tabs-justified {

 border-bottom: 0;

}

.nav-tabs-justified > li > a {

 margin-right: 0;
 border-bottom: 1px solid #dddddd;

}

.nav-tabs-justified > .active > a {

 border-bottom-color: #ffffff;

}

.tabbable:before, .tabbable:after {

 display: table;
 content: " ";

}

.tabbable:after {

 clear: both;

}

.tabbable:before, .tabbable:after {

 display: table;
 content: " ";

}

.tabbable:after {

 clear: both;

}

.tab-content > .tab-pane, .pill-content > .pill-pane {

 display: none;

}

.tab-content > .active, .pill-content > .active {

 display: block;

}

.nav .caret {

 border-top-color: #428bca;
 border-bottom-color: #428bca;

}

.nav a:hover .caret {

 border-top-color: #2a6496;
 border-bottom-color: #2a6496;

}

.nav-tabs .dropdown-menu {

 margin-top: -1px;
 border-top-right-radius: 0;
 border-top-left-radius: 0;

}

.navbar {

 position: relative;
 z-index: 1000;
 min-height: 50px;
 margin-bottom: 20px;
 border: 1px solid transparent;

}

.navbar:before, .navbar:after {

 display: table;
 content: " ";

}

.navbar:after {

 clear: both;

}

.navbar:before, .navbar:after {

 display: table;
 content: " ";

}

.navbar:after {

 clear: both;

}

@media (min-width: 768px) {

 .navbar {
   border-radius: 4px;
 }

}

.navbar-header:before, .navbar-header:after {

 display: table;
 content: " ";

}

.navbar-header:after {

 clear: both;

}

.navbar-header:before, .navbar-header:after {

 display: table;
 content: " ";

}

.navbar-header:after {

 clear: both;

}

@media (min-width: 768px) {

 .navbar-header {
   float: left;
 }

}

.navbar-collapse {

 max-height: 340px;
 padding-right: 15px;
 padding-left: 15px;
 overflow-x: visible;
 border-top: 1px solid transparent;
 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
 -webkit-overflow-scrolling: touch;

}

.navbar-collapse:before, .navbar-collapse:after {

 display: table;
 content: " ";

}

.navbar-collapse:after {

 clear: both;

}

.navbar-collapse:before, .navbar-collapse:after {

 display: table;
 content: " ";

}

.navbar-collapse:after {

 clear: both;

}

.navbar-collapse.in {

 overflow-y: auto;

}

@media (min-width: 768px) {

 .navbar-collapse {
   width: auto;
   border-top: 0;
   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-collapse .navbar-nav.navbar-left:first-child {
   margin-left: -15px;
 }
 .navbar-collapse .navbar-nav.navbar-right:last-child {
   margin-right: -15px;
 }
 .navbar-collapse .navbar-text:last-child {
   margin-right: 0;
 }

}

.container > .navbar-header, .container > .navbar-collapse {

 margin-right: -15px;
 margin-left: -15px;

}

@media (min-width: 768px) {

 .container > .navbar-header,
 .container > .navbar-collapse {
   margin-right: 0;
   margin-left: 0;
 }

}

.navbar-static-top {

 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;
 border-width: 0 0 1px;

}

@media (min-width: 768px) {

 .navbar-fixed-top,
 .navbar-fixed-bottom {
   border-radius: 0;
 }

}

.navbar-fixed-top {

 top: 0;
 z-index: 1030;

}

.navbar-fixed-bottom {

 bottom: 0;
 margin-bottom: 0;

}

.navbar-brand {

 float: left;
 padding: 15px 15px;
 font-size: 18px;
 line-height: 20px;

}

.navbar-brand:hover, .navbar-brand:focus {

 text-decoration: none;

}

@media (min-width: 768px) {

 .navbar > .container .navbar-brand {
   margin-left: -15px;
 }

}

.navbar-toggle {

 position: relative;
 float: right;
 padding: 9px 10px;
 margin-top: 8px;
 margin-right: 15px;
 margin-bottom: 8px;
 background-color: transparent;
 border: 1px solid transparent;
 border-radius: 4px;

}

.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;
   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;
 }

}

@media (min-width: 768px) {

 .navbar-left {
   float: left !important;
 }
 .navbar-right {
   float: right !important;
 }

}

.navbar-form {

 padding: 10px 15px;
 margin-top: 8px;
 margin-right: -15px;
 margin-bottom: 8px;
 margin-left: -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);

}

@media (min-width: 768px) {

 .navbar-form .form-group {
   display: inline-block;
   margin-bottom: 0;
   vertical-align: middle;
 }
 .navbar-form .form-control {
   display: inline-block;
 }
 .navbar-form .radio,
 .navbar-form .checkbox {
   display: inline-block;
   padding-left: 0;
   margin-top: 0;
   margin-bottom: 0;
 }
 .navbar-form .radio input[type="radio"],
 .navbar-form .checkbox input[type="checkbox"] {
   float: none;
   margin-left: 0;
 }

}

@media (max-width: 767px) {

 .navbar-form .form-group {
   margin-bottom: 5px;
 }

}

@media (min-width: 768px) {

 .navbar-form {
   width: auto;
   padding-top: 0;
   padding-bottom: 0;
   margin-right: 0;
   margin-left: 0;
   border: 0;
   -webkit-box-shadow: none;
           box-shadow: none;
 }

}

.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 {

 border-bottom-right-radius: 0;
 border-bottom-left-radius: 0;

}

.navbar-nav.pull-right > li > .dropdown-menu, .navbar-nav > li > .dropdown-menu.pull-right {

 right: 0;
 left: auto;

}

.navbar-btn {

 margin-top: 8px;
 margin-bottom: 8px;

}

.navbar-text {

 float: left;
 margin-top: 15px;
 margin-bottom: 15px;

}

@media (min-width: 768px) {

 .navbar-text {
   margin-right: 15px;
   margin-left: 15px;
 }

}

.navbar-default {

 background-color: #f8f8f8;
 border-color: #e7e7e7;

}

.navbar-default .navbar-brand {

 color: #777777;

}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {

 color: #5e5e5e;
 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: #333333;
 background-color: transparent;

}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {

 color: #555555;
 background-color: #e7e7e7;

}

.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: #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: #e6e6e6;

}

.navbar-default .navbar-nav > .dropdown > a:hover .caret, .navbar-default .navbar-nav > .dropdown > a:focus .caret {

 border-top-color: #333333;
 border-bottom-color: #333333;

}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {

 color: #555555;
 background-color: #e7e7e7;

}

.navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret {

 border-top-color: #555555;
 border-bottom-color: #555555;

}

.navbar-default .navbar-nav > .dropdown > a .caret {

 border-top-color: #777777;
 border-bottom-color: #777777;

}

@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: #333333;
   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: #555555;
   background-color: #e7e7e7;
 }
 .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: #777777;

}

.navbar-default .navbar-link:hover {

 color: #333333;

}

.navbar-inverse {

 background-color: #222222;
 border-color: #080808;

}

.navbar-inverse .navbar-brand {

 color: #999999;

}

.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {

 color: #ffffff;
 background-color: transparent;

}

.navbar-inverse .navbar-text {

 color: #999999;

}

.navbar-inverse .navbar-nav > li > a {

 color: #999999;

}

.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: #080808;

}

.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: #333333;

}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {

 background-color: #333333;

}

.navbar-inverse .navbar-toggle .icon-bar {

 background-color: #ffffff;

}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {

 border-color: #101010;

}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {

 color: #ffffff;
 background-color: #080808;

}

.navbar-inverse .navbar-nav > .dropdown > a:hover .caret {

 border-top-color: #ffffff;
 border-bottom-color: #ffffff;

}

.navbar-inverse .navbar-nav > .dropdown > a .caret {

 border-top-color: #999999;
 border-bottom-color: #999999;

}

.navbar-inverse .navbar-nav > .open > a .caret, .navbar-inverse .navbar-nav > .open > a:hover .caret, .navbar-inverse .navbar-nav > .open > a:focus .caret {

 border-top-color: #ffffff;
 border-bottom-color: #ffffff;

}

@media (max-width: 767px) {

 .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
   border-color: #080808;
 }
 .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
   color: #999999;
 }
 .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: #080808;
 }
 .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: #999999;

}

.navbar-inverse .navbar-link:hover {

 color: #ffffff;

}

.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 {

 padding: 0 5px;
 color: #cccccc;
 content: "/\00a0";

}

.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: 6px 12px;
 margin-left: -1px;
 line-height: 1.428571429;
 text-decoration: none;
 background-color: #ffffff;
 border: 1px solid #dddddd;

}

.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-top-right-radius: 4px;
 border-bottom-right-radius: 4px;

}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {

 background-color: #eeeeee;

}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {

 z-index: 2;
 color: #ffffff;
 cursor: default;
 background-color: #428bca;
 border-color: #428bca;

}

.pagination > .disabled > span, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {

 color: #999999;
 cursor: not-allowed;
 background-color: #ffffff;
 border-color: #dddddd;

}

.pagination-lg > li > a, .pagination-lg > li > span {

 padding: 10px 16px;
 font-size: 18px;

}

.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-top-right-radius: 6px;
 border-bottom-right-radius: 6px;

}

.pagination-sm > li > a, .pagination-sm > li > span {

 padding: 5px 10px;
 font-size: 12px;

}

.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-top-right-radius: 3px;
 border-bottom-right-radius: 3px;

}

.pager {

 padding-left: 0;
 margin: 20px 0;
 text-align: center;
 list-style: none;

}

.pager:before, .pager:after {

 display: table;
 content: " ";

}

.pager:after {

 clear: both;

}

.pager:before, .pager:after {

 display: table;
 content: " ";

}

.pager:after {

 clear: both;

}

.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;
 cursor: not-allowed;
 background-color: #ffffff;

}

.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;

}

.label[href]:hover, .label[href]:focus {

 color: #ffffff;
 text-decoration: none;
 cursor: pointer;

}

.label:empty {

 display: none;

}

.label-default {

 background-color: #999999;

}

.label-default[href]:hover, .label-default[href]:focus {

 background-color: #808080;

}

.label-primary {

 background-color: #428bca;

}

.label-primary[href]:hover, .label-primary[href]:focus {

 background-color: #3071a9;

}

.label-success {

 background-color: #5cb85c;

}

.label-success[href]:hover, .label-success[href]:focus {

 background-color: #449d44;

}

.label-info {

 background-color: #5bc0de;

}

.label-info[href]:hover, .label-info[href]:focus {

 background-color: #31b0d5;

}

.label-warning {

 background-color: #f0ad4e;

}

.label-warning[href]:hover, .label-warning[href]:focus {

 background-color: #ec971f;

}

.label-danger {

 background-color: #d9534f;

}

.label-danger[href]:hover, .label-danger[href]:focus {

 background-color: #c9302c;

}

.badge {

 display: inline-block;
 min-width: 10px;
 padding: 3px 7px;
 font-size: 12px;
 font-weight: bold;
 line-height: 1;
 color: #ffffff;
 text-align: center;
 white-space: nowrap;
 vertical-align: baseline;
 background-color: #999999;
 border-radius: 10px;

}

.badge:empty {

 display: none;

}

a.badge:hover, a.badge:focus {

 color: #ffffff;
 text-decoration: none;
 cursor: pointer;

}

.btn .badge {

 position: relative;
 top: -1px;

}

a.list-group-item.active > .badge, .nav-pills > .active > a > .badge {

 color: #428bca;
 background-color: #ffffff;

}

.nav-pills > li > a > .badge {

 margin-left: 3px;

}

.jumbotron {

 padding: 30px;
 margin-bottom: 30px;
 font-size: 21px;
 font-weight: 200;
 line-height: 2.1428571435;
 color: inherit;
 background-color: #eeeeee;

}

.jumbotron h1 {

 line-height: 1;
 color: inherit;

}

.jumbotron p {

 line-height: 1.4;

}

.container .jumbotron {

 border-radius: 6px;

}

@media screen and (min-width: 768px) {

 .jumbotron {
   padding-top: 48px;
   padding-bottom: 48px;
 }
 .container .jumbotron {
   padding-right: 60px;
   padding-left: 60px;
 }
 .jumbotron h1 {
   font-size: 63px;
 }

}

.thumbnail {

 display: inline-block;
 display: block;
 height: auto;
 max-width: 100%;
 padding: 4px;
 line-height: 1.428571429;
 background-color: #ffffff;
 border: 1px solid #dddddd;
 border-radius: 4px;
 -webkit-transition: all 0.2s ease-in-out;
         transition: all 0.2s ease-in-out;

}

.thumbnail > img {

 display: block;
 height: auto;
 max-width: 100%;

}

a.thumbnail:hover, a.thumbnail:focus {

 border-color: #428bca;

}

.thumbnail > img {

 margin-right: auto;
 margin-left: auto;

}

.thumbnail .caption {

 padding: 9px;
 color: #333333;

}

.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 {

 padding-right: 35px;

}

.alert-dismissable .close {

 position: relative;
 top: -2px;
 right: -21px;
 color: inherit;

}

.alert-success {

 color: #468847;
 background-color: #dff0d8;
 border-color: #d6e9c6;

}

.alert-success hr {

 border-top-color: #c9e2b3;

}

.alert-success .alert-link {

 color: #356635;

}

.alert-info {

 color: #3a87ad;
 background-color: #d9edf7;
 border-color: #bce8f1;

}

.alert-info hr {

 border-top-color: #a6e1ec;

}

.alert-info .alert-link {

 color: #2d6987;

}

.alert-warning {

 color: #c09853;
 background-color: #fcf8e3;
 border-color: #fbeed5;

}

.alert-warning hr {

 border-top-color: #f8e5be;

}

.alert-warning .alert-link {

 color: #a47e3c;

}

.alert-danger {

 color: #b94a48;
 background-color: #f2dede;
 border-color: #eed3d7;

}

.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;
 }

}

@-moz-keyframes progress-bar-stripes {

 from {
   background-position: 40px 0;
 }
 to {
   background-position: 0 0;
 }

}

@-o-keyframes progress-bar-stripes {

 from {
   background-position: 0 0;
 }
 to {
   background-position: 40px 0;
 }

}

@keyframes progress-bar-stripes {

 from {
   background-position: 40px 0;
 }
 to {
   background-position: 0 0;
 }

}

.progress {

 height: 20px;
 margin-bottom: 20px;
 overflow: hidden;
 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;
 color: #ffffff;
 text-align: center;
 background-color: #428bca;
 -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;
         transition: width 0.6s ease;

}

.progress-striped .progress-bar {

 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: 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-size: 40px 40px;

}

.progress.active .progress-bar {

 -webkit-animation: progress-bar-stripes 2s linear infinite;
    -moz-animation: progress-bar-stripes 2s linear infinite;
     -ms-animation: progress-bar-stripes 2s linear infinite;
      -o-animation: progress-bar-stripes 2s linear infinite;
         animation: progress-bar-stripes 2s linear infinite;

}

.progress-bar-success {

 background-color: #5cb85c;

}

.progress-striped .progress-bar-success {

 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: 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: #5bc0de;

}

.progress-striped .progress-bar-info {

 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: 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: #f0ad4e;

}

.progress-striped .progress-bar-warning {

 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: 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: #d9534f;

}

.progress-striped .progress-bar-danger {

 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
 background-image: 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, .media-body {

 overflow: hidden;
 zoom: 1;

}

.media, .media .media {

 margin-top: 15px;

}

.media:first-child {

 margin-top: 0;

}

.media-object {

 display: block;

}

.media-heading {

 margin: 0 0 5px;

}

.media > .pull-left {

 margin-right: 10px;

}

.media > .pull-right {

 margin-left: 10px;

}

.media-list {

 padding-left: 0;
 list-style: none;

}

.list-group {

 padding-left: 0;
 margin-bottom: 20px;

}

.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;

}

.list-group-item > .badge {

 float: right;

}

.list-group-item > .badge + .badge {

 margin-right: 5px;

}

a.list-group-item {

 color: #555555;

}

a.list-group-item .list-group-item-heading {

 color: #333333;

}

a.list-group-item:hover, a.list-group-item:focus {

 text-decoration: none;
 background-color: #f5f5f5;

}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {

 z-index: 2;
 color: #ffffff;
 background-color: #428bca;
 border-color: #428bca;

}

.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 {

 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: #e1edf7;

}

.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-body:before, .panel-body:after {

 display: table;
 content: " ";

}

.panel-body:after {

 clear: both;

}

.panel-body:before, .panel-body:after {

 display: table;
 content: " ";

}

.panel-body:after {

 clear: both;

}

.panel > .list-group {

 margin-bottom: 0;

}

.panel > .list-group .list-group-item {

 border-width: 1px 0;

}

.panel > .list-group .list-group-item:first-child {

 border-top-right-radius: 0;
 border-top-left-radius: 0;

}

.panel > .list-group .list-group-item:last-child {

 border-bottom: 0;

}

.panel-heading + .list-group .list-group-item:first-child {

 border-top-width: 0;

}

.panel > .table {

 margin-bottom: 0;

}

.panel > .panel-body + .table {

 border-top: 1px solid #dddddd;

}

.panel-heading {

 padding: 10px 15px;
 border-bottom: 1px solid transparent;
 border-top-right-radius: 3px;
 border-top-left-radius: 3px;

}

.panel-title {

 margin-top: 0;
 margin-bottom: 0;
 font-size: 16px;

}

.panel-title > 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-group .panel {

 margin-bottom: 0;
 overflow: hidden;
 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 {

 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-footer + .panel-collapse .panel-body {

 border-bottom-color: #dddddd;

}

.panel-primary {

 border-color: #428bca;

}

.panel-primary > .panel-heading {

 color: #ffffff;
 background-color: #428bca;
 border-color: #428bca;

}

.panel-primary > .panel-heading + .panel-collapse .panel-body {

 border-top-color: #428bca;

}

.panel-primary > .panel-footer + .panel-collapse .panel-body {

 border-bottom-color: #428bca;

}

.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-footer + .panel-collapse .panel-body {

 border-bottom-color: #d6e9c6;

}

.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-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-footer + .panel-collapse .panel-body {

 border-bottom-color: #eed3d7;

}

.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-footer + .panel-collapse .panel-body {

 border-bottom-color: #bce8f1;

}

.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;

}

body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {

 margin-right: 15px;

}

.modal {

 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 1040;
 display: none;
 overflow: auto;
 overflow-y: scroll;

}

.modal.fade .modal-dialog {

 -webkit-transform: translate(0, -25%);
     -ms-transform: translate(0, -25%);
         transform: translate(0, -25%);
 -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
      -o-transition: -o-transform 0.3s ease-out;
         transition: transform 0.3s ease-out;

}

.modal.in .modal-dialog {

 -webkit-transform: translate(0, 0);
     -ms-transform: translate(0, 0);
         transform: translate(0, 0);

}

.modal-dialog {

 z-index: 1050;
 width: auto;
 padding: 10px;
 margin-right: auto;
 margin-left: auto;

}

.modal-content {

 position: relative;
 background-color: #ffffff;
 border: 1px solid #999999;
 border: 1px solid rgba(0, 0, 0, 0.2);
 border-radius: 6px;
 outline: none;
 -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
         box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
 background-clip: padding-box;

}

.modal-backdrop {

 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 1030;
 background-color: #000000;

}

.modal-backdrop.fade {

 opacity: 0;
 filter: alpha(opacity=0);

}

.modal-backdrop.in {

 opacity: 0.5;
 filter: alpha(opacity=50);

}

.modal-header {

 min-height: 16.428571429px;
 padding: 15px;
 border-bottom: 1px solid #e5e5e5;

}

.modal-header .close {

 margin-top: -2px;

}

.modal-title {

 margin: 0;
 line-height: 1.428571429;

}

.modal-body {

 position: relative;
 padding: 20px;

}

.modal-footer {

 padding: 19px 20px 20px;
 margin-top: 15px;
 text-align: right;
 border-top: 1px solid #e5e5e5;

}

.modal-footer:before, .modal-footer:after {

 display: table;
 content: " ";

}

.modal-footer:after {

 clear: both;

}

.modal-footer:before, .modal-footer:after {

 display: table;
 content: " ";

}

.modal-footer:after {

 clear: both;

}

.modal-footer .btn + .btn {

 margin-bottom: 0;
 margin-left: 5px;

}

.modal-footer .btn-group .btn + .btn {

 margin-left: -1px;

}

.modal-footer .btn-block + .btn-block {

 margin-left: 0;

}

@media screen and (min-width: 768px) {

 .modal-dialog {
   right: auto;
   left: 50%;
   width: 600px;
   padding-top: 30px;
   padding-bottom: 30px;
 }
 .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);
 }

}

.tooltip {

 position: absolute;
 z-index: 1030;
 display: block;
 font-size: 12px;
 line-height: 1.4;
 opacity: 0;
 filter: alpha(opacity=0);
 visibility: visible;

}

.tooltip.in {

 opacity: 0.9;
 filter: alpha(opacity=90);

}

.tooltip.top {

 padding: 5px 0;
 margin-top: -3px;

}

.tooltip.right {

 padding: 0 5px;
 margin-left: 3px;

}

.tooltip.bottom {

 padding: 5px 0;
 margin-top: 3px;

}

.tooltip.left {

 padding: 0 5px;
 margin-left: -3px;

}

.tooltip-inner {

 max-width: 200px;
 padding: 3px 8px;
 color: #ffffff;
 text-align: center;
 text-decoration: none;
 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-top-color: #000000;
 border-width: 5px 5px 0;

}

.tooltip.top-left .tooltip-arrow {

 bottom: 0;
 left: 5px;
 border-top-color: #000000;
 border-width: 5px 5px 0;

}

.tooltip.top-right .tooltip-arrow {

 right: 5px;
 bottom: 0;
 border-top-color: #000000;
 border-width: 5px 5px 0;

}

.tooltip.right .tooltip-arrow {

 top: 50%;
 left: 0;
 margin-top: -5px;
 border-right-color: #000000;
 border-width: 5px 5px 5px 0;

}

.tooltip.left .tooltip-arrow {

 top: 50%;
 right: 0;
 margin-top: -5px;
 border-left-color: #000000;
 border-width: 5px 0 5px 5px;

}

.tooltip.bottom .tooltip-arrow {

 top: 0;
 left: 50%;
 margin-left: -5px;
 border-bottom-color: #000000;
 border-width: 0 5px 5px;

}

.tooltip.bottom-left .tooltip-arrow {

 top: 0;
 left: 5px;
 border-bottom-color: #000000;
 border-width: 0 5px 5px;

}

.tooltip.bottom-right .tooltip-arrow {

 top: 0;
 right: 5px;
 border-bottom-color: #000000;
 border-width: 0 5px 5px;

}

.popover {

 position: absolute;
 top: 0;
 left: 0;
 z-index: 1010;
 display: none;
 max-width: 276px;
 padding: 1px;
 text-align: left;
 white-space: normal;
 background-color: #ffffff;
 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);
 background-clip: padding-box;

}

.popover.top {

 margin-top: -10px;

}

.popover.right {

 margin-left: 10px;

}

.popover.bottom {

 margin-top: 10px;

}

.popover.left {

 margin-left: -10px;

}

.popover-title {

 padding: 8px 14px;
 margin: 0;
 font-size: 14px;
 font-weight: normal;
 line-height: 18px;
 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 {

 bottom: -11px;
 left: 50%;
 margin-left: -11px;
 border-top-color: #999999;
 border-top-color: rgba(0, 0, 0, 0.25);
 border-bottom-width: 0;

}

.popover.top .arrow:after {

 bottom: 1px;
 margin-left: -10px;
 border-top-color: #ffffff;
 border-bottom-width: 0;
 content: " ";

}

.popover.right .arrow {

 top: 50%;
 left: -11px;
 margin-top: -11px;
 border-right-color: #999999;
 border-right-color: rgba(0, 0, 0, 0.25);
 border-left-width: 0;

}

.popover.right .arrow:after {

 bottom: -10px;
 left: 1px;
 border-right-color: #ffffff;
 border-left-width: 0;
 content: " ";

}

.popover.bottom .arrow {

 top: -11px;
 left: 50%;
 margin-left: -11px;
 border-bottom-color: #999999;
 border-bottom-color: rgba(0, 0, 0, 0.25);
 border-top-width: 0;

}

.popover.bottom .arrow:after {

 top: 1px;
 margin-left: -10px;
 border-bottom-color: #ffffff;
 border-top-width: 0;
 content: " ";

}

.popover.left .arrow {

 top: 50%;
 right: -11px;
 margin-top: -11px;
 border-left-color: #999999;
 border-left-color: rgba(0, 0, 0, 0.25);
 border-right-width: 0;

}

.popover.left .arrow:after {

 right: 1px;
 bottom: -10px;
 border-left-color: #ffffff;
 border-right-width: 0;
 content: " ";

}

.carousel {

 position: relative;

}

.carousel-inner {

 position: relative;
 width: 100%;
 overflow: hidden;

}

.carousel-inner > .item {

 position: relative;
 display: none;
 -webkit-transition: 0.6s ease-in-out left;
         transition: 0.6s ease-in-out left;

}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {

 display: block;
 height: auto;
 max-width: 100%;
 line-height: 1;

}

.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;
 bottom: 0;
 left: 0;
 width: 15%;
 font-size: 20px;
 color: #ffffff;
 text-align: center;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
 opacity: 0.5;
 filter: alpha(opacity=50);

}

.carousel-control.left {

 background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
 background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%));
 background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
 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 {

 right: 0;
 left: auto;
 background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
 background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%));
 background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
 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 {

 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%;
 left: 50%;
 z-index: 5;
 display: inline-block;

}

.carousel-control .icon-prev, .carousel-control .icon-next {

 width: 20px;
 height: 20px;
 margin-top: -10px;
 margin-left: -10px;
 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%;
 padding-left: 0;
 margin-left: -30%;
 text-align: center;
 list-style: none;

}

.carousel-indicators li {

 display: inline-block;
 width: 10px;
 height: 10px;
 margin: 1px;
 text-indent: -999px;
 cursor: pointer;
 border: 1px solid #ffffff;
 border-radius: 10px;

}

.carousel-indicators .active {

 width: 12px;
 height: 12px;
 margin: 0;
 background-color: #ffffff;

}

.carousel-caption {

 position: absolute;
 right: 15%;
 bottom: 20px;
 left: 15%;
 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 .icon-prev,
 .carousel-control .icon-next {
   width: 30px;
   height: 30px;
   margin-top: -15px;
   margin-left: -15px;
   font-size: 30px;
 }
 .carousel-caption {
   right: 20%;
   left: 20%;
   padding-bottom: 30px;
 }
 .carousel-indicators {
   bottom: 20px;
 }

}

.clearfix:before, .clearfix:after {

 display: table;
 content: " ";

}

.clearfix:after {

 clear: both;

}

.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;

}

.affix {

 position: fixed;

}

@-ms-viewport {

 width: device-width;

}

@media screen and (max-width: 400px) {

 @-ms-viewport {
   width: 320px;
 }

}

.hidden {

 display: none !important;
 visibility: hidden !important;

}

.visible-xs {

 display: none !important;

}

tr.visible-xs {

 display: none !important;

}

th.visible-xs, td.visible-xs {

 display: none !important;

}

@media (max-width: 767px) {

 .visible-xs {
   display: block !important;
 }
 tr.visible-xs {
   display: table-row !important;
 }
 th.visible-xs,
 td.visible-xs {
   display: table-cell !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .visible-xs.visible-sm {
   display: block !important;
 }
 tr.visible-xs.visible-sm {
   display: table-row !important;
 }
 th.visible-xs.visible-sm,
 td.visible-xs.visible-sm {
   display: table-cell !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .visible-xs.visible-md {
   display: block !important;
 }
 tr.visible-xs.visible-md {
   display: table-row !important;
 }
 th.visible-xs.visible-md,
 td.visible-xs.visible-md {
   display: table-cell !important;
 }

}

@media (min-width: 1200px) {

 .visible-xs.visible-lg {
   display: block !important;
 }
 tr.visible-xs.visible-lg {
   display: table-row !important;
 }
 th.visible-xs.visible-lg,
 td.visible-xs.visible-lg {
   display: table-cell !important;
 }

}

.visible-sm {

 display: none !important;

}

tr.visible-sm {

 display: none !important;

}

th.visible-sm, td.visible-sm {

 display: none !important;

}

@media (max-width: 767px) {

 .visible-sm.visible-xs {
   display: block !important;
 }
 tr.visible-sm.visible-xs {
   display: table-row !important;
 }
 th.visible-sm.visible-xs,
 td.visible-sm.visible-xs {
   display: table-cell !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .visible-sm {
   display: block !important;
 }
 tr.visible-sm {
   display: table-row !important;
 }
 th.visible-sm,
 td.visible-sm {
   display: table-cell !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .visible-sm.visible-md {
   display: block !important;
 }
 tr.visible-sm.visible-md {
   display: table-row !important;
 }
 th.visible-sm.visible-md,
 td.visible-sm.visible-md {
   display: table-cell !important;
 }

}

@media (min-width: 1200px) {

 .visible-sm.visible-lg {
   display: block !important;
 }
 tr.visible-sm.visible-lg {
   display: table-row !important;
 }
 th.visible-sm.visible-lg,
 td.visible-sm.visible-lg {
   display: table-cell !important;
 }

}

.visible-md {

 display: none !important;

}

tr.visible-md {

 display: none !important;

}

th.visible-md, td.visible-md {

 display: none !important;

}

@media (max-width: 767px) {

 .visible-md.visible-xs {
   display: block !important;
 }
 tr.visible-md.visible-xs {
   display: table-row !important;
 }
 th.visible-md.visible-xs,
 td.visible-md.visible-xs {
   display: table-cell !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .visible-md.visible-sm {
   display: block !important;
 }
 tr.visible-md.visible-sm {
   display: table-row !important;
 }
 th.visible-md.visible-sm,
 td.visible-md.visible-sm {
   display: table-cell !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .visible-md {
   display: block !important;
 }
 tr.visible-md {
   display: table-row !important;
 }
 th.visible-md,
 td.visible-md {
   display: table-cell !important;
 }

}

@media (min-width: 1200px) {

 .visible-md.visible-lg {
   display: block !important;
 }
 tr.visible-md.visible-lg {
   display: table-row !important;
 }
 th.visible-md.visible-lg,
 td.visible-md.visible-lg {
   display: table-cell !important;
 }

}

.visible-lg {

 display: none !important;

}

tr.visible-lg {

 display: none !important;

}

th.visible-lg, td.visible-lg {

 display: none !important;

}

@media (max-width: 767px) {

 .visible-lg.visible-xs {
   display: block !important;
 }
 tr.visible-lg.visible-xs {
   display: table-row !important;
 }
 th.visible-lg.visible-xs,
 td.visible-lg.visible-xs {
   display: table-cell !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .visible-lg.visible-sm {
   display: block !important;
 }
 tr.visible-lg.visible-sm {
   display: table-row !important;
 }
 th.visible-lg.visible-sm,
 td.visible-lg.visible-sm {
   display: table-cell !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .visible-lg.visible-md {
   display: block !important;
 }
 tr.visible-lg.visible-md {
   display: table-row !important;
 }
 th.visible-lg.visible-md,
 td.visible-lg.visible-md {
   display: table-cell !important;
 }

}

@media (min-width: 1200px) {

 .visible-lg {
   display: block !important;
 }
 tr.visible-lg {
   display: table-row !important;
 }
 th.visible-lg,
 td.visible-lg {
   display: table-cell !important;
 }

}

.hidden-xs {

 display: block !important;

}

tr.hidden-xs {

 display: table-row !important;

}

th.hidden-xs, td.hidden-xs {

 display: table-cell !important;

}

@media (max-width: 767px) {

 .hidden-xs {
   display: none !important;
 }
 tr.hidden-xs {
   display: none !important;
 }
 th.hidden-xs,
 td.hidden-xs {
   display: none !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .hidden-xs.hidden-sm {
   display: none !important;
 }
 tr.hidden-xs.hidden-sm {
   display: none !important;
 }
 th.hidden-xs.hidden-sm,
 td.hidden-xs.hidden-sm {
   display: none !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .hidden-xs.hidden-md {
   display: none !important;
 }
 tr.hidden-xs.hidden-md {
   display: none !important;
 }
 th.hidden-xs.hidden-md,
 td.hidden-xs.hidden-md {
   display: none !important;
 }

}

@media (min-width: 1200px) {

 .hidden-xs.hidden-lg {
   display: none !important;
 }
 tr.hidden-xs.hidden-lg {
   display: none !important;
 }
 th.hidden-xs.hidden-lg,
 td.hidden-xs.hidden-lg {
   display: none !important;
 }

}

.hidden-sm {

 display: block !important;

}

tr.hidden-sm {

 display: table-row !important;

}

th.hidden-sm, td.hidden-sm {

 display: table-cell !important;

}

@media (max-width: 767px) {

 .hidden-sm.hidden-xs {
   display: none !important;
 }
 tr.hidden-sm.hidden-xs {
   display: none !important;
 }
 th.hidden-sm.hidden-xs,
 td.hidden-sm.hidden-xs {
   display: none !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .hidden-sm {
   display: none !important;
 }
 tr.hidden-sm {
   display: none !important;
 }
 th.hidden-sm,
 td.hidden-sm {
   display: none !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .hidden-sm.hidden-md {
   display: none !important;
 }
 tr.hidden-sm.hidden-md {
   display: none !important;
 }
 th.hidden-sm.hidden-md,
 td.hidden-sm.hidden-md {
   display: none !important;
 }

}

@media (min-width: 1200px) {

 .hidden-sm.hidden-lg {
   display: none !important;
 }
 tr.hidden-sm.hidden-lg {
   display: none !important;
 }
 th.hidden-sm.hidden-lg,
 td.hidden-sm.hidden-lg {
   display: none !important;
 }

}

.hidden-md {

 display: block !important;

}

tr.hidden-md {

 display: table-row !important;

}

th.hidden-md, td.hidden-md {

 display: table-cell !important;

}

@media (max-width: 767px) {

 .hidden-md.hidden-xs {
   display: none !important;
 }
 tr.hidden-md.hidden-xs {
   display: none !important;
 }
 th.hidden-md.hidden-xs,
 td.hidden-md.hidden-xs {
   display: none !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .hidden-md.hidden-sm {
   display: none !important;
 }
 tr.hidden-md.hidden-sm {
   display: none !important;
 }
 th.hidden-md.hidden-sm,
 td.hidden-md.hidden-sm {
   display: none !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .hidden-md {
   display: none !important;
 }
 tr.hidden-md {
   display: none !important;
 }
 th.hidden-md,
 td.hidden-md {
   display: none !important;
 }

}

@media (min-width: 1200px) {

 .hidden-md.hidden-lg {
   display: none !important;
 }
 tr.hidden-md.hidden-lg {
   display: none !important;
 }
 th.hidden-md.hidden-lg,
 td.hidden-md.hidden-lg {
   display: none !important;
 }

}

.hidden-lg {

 display: block !important;

}

tr.hidden-lg {

 display: table-row !important;

}

th.hidden-lg, td.hidden-lg {

 display: table-cell !important;

}

@media (max-width: 767px) {

 .hidden-lg.hidden-xs {
   display: none !important;
 }
 tr.hidden-lg.hidden-xs {
   display: none !important;
 }
 th.hidden-lg.hidden-xs,
 td.hidden-lg.hidden-xs {
   display: none !important;
 }

}

@media (min-width: 768px) and (max-width: 991px) {

 .hidden-lg.hidden-sm {
   display: none !important;
 }
 tr.hidden-lg.hidden-sm {
   display: none !important;
 }
 th.hidden-lg.hidden-sm,
 td.hidden-lg.hidden-sm {
   display: none !important;
 }

}

@media (min-width: 992px) and (max-width: 1199px) {

 .hidden-lg.hidden-md {
   display: none !important;
 }
 tr.hidden-lg.hidden-md {
   display: none !important;
 }
 th.hidden-lg.hidden-md,
 td.hidden-lg.hidden-md {
   display: none !important;
 }

}

@media (min-width: 1200px) {

 .hidden-lg {
   display: none !important;
 }
 tr.hidden-lg {
   display: none !important;
 }
 th.hidden-lg,
 td.hidden-lg {
   display: none !important;
 }

}

.visible-print {

 display: none !important;

}

tr.visible-print {

 display: none !important;

}

th.visible-print, td.visible-print {

 display: none !important;

}

@media print {

 .visible-print {
   display: block !important;
 }
 tr.visible-print {
   display: table-row !important;
 }
 th.visible-print,
 td.visible-print {
   display: table-cell !important;
 }
 .hidden-print {
   display: none !important;
 }
 tr.hidden-print {
   display: none !important;
 }
 th.hidden-print,
 td.hidden-print {
   display: none !important;
 }

} /*-----------------------------------------------------------------------------

- Revolution Slider 4.1 Captions -

Screen Stylesheet

version: 1.4.5 date: 27/11/13 author: themepunch email: info@themepunch.com website: http://www.themepunch.com


*/


/************************* - CAPTIONS -

                                                    • /

.tp-hide-revslider,.tp-caption.tp-hidden-caption { visibility:hidden !important; display:none !important;}


.tp-caption { z-index:1;}

.tp-caption-demo .tp-caption { position:relative !important; display:inline-block; margin-bottom:10px; margin-right:20px !important;}

.tp-caption.medium_grey { position:absolute; color:#fff; text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); font-weight:700; font-size:20px; line-height:20px; font-family:Arial; padding:2px 4px; margin:0px; border-width:0px; border-style:none; background-color:#888; white-space:nowrap; }

.tp-caption.small_text { position:absolute; color:#fff; text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); font-weight:700; font-size:14px; line-height:20px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.medium_text { position:absolute; color:#fff; text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); font-weight:700; font-size:20px; line-height:20px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }


.tp-caption.large_bold_white_25 { font-size:55px; line-height:65px; font-weight:700; font-family:"Open Sans"; color:#fff; text-decoration:none; background-color:transparent; text-align:center; text-shadow:#000 0px 5px 10px; border-width:0px; border-color:rgb(255, 255, 255); border-style:none; }

.tp-caption.medium_text_shadow { font-size:25px; line-height:25px; font-weight:600; font-family:"Open Sans"; color:#fff; text-decoration:none; background-color:transparent; text-align:center; text-shadow:#000 0px 5px 10px; border-width:0px; border-color:rgb(255, 255, 255); border-style:none; }

.tp-caption.large_text { position:absolute; color:#fff; text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); font-weight:700; font-size:40px; line-height:40px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.very_large_text { position:absolute; color:#fff; text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); font-weight:700; font-size:60px; line-height:60px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; letter-spacing:-2px; }

.tp-caption.very_big_white { position:absolute; color:#fff; text-shadow:none; font-weight:800; font-size:60px; line-height:60px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; padding:0px 4px; padding-top:1px; background-color:#000; }

.tp-caption.very_big_black { position:absolute; color:#000; text-shadow:none; font-weight:700; font-size:60px; line-height:60px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; padding:0px 4px; padding-top:1px; background-color:#fff; }

.tp-caption.modern_medium_fat { position:absolute; color:#000; text-shadow:none; font-weight:800; font-size:24px; line-height:20px; font-family:"Open Sans", sans-serif; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.modern_medium_fat_white { position:absolute; color:#fff; text-shadow:none; font-weight:800; font-size:24px; line-height:20px; font-family:"Open Sans", sans-serif; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.modern_medium_light { position:absolute; color:#000; text-shadow:none; font-weight:300; font-size:24px; line-height:20px; font-family:"Open Sans", sans-serif; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.modern_big_bluebg { position:absolute; color:#fff; text-shadow:none; font-weight:800; font-size:30px; line-height:36px; font-family:"Open Sans", sans-serif; padding:3px 10px; margin:0px; border-width:0px; border-style:none; background-color:#4e5b6c; letter-spacing:0; }

.tp-caption.modern_big_redbg { position:absolute; color:#fff; text-shadow:none; font-weight:300; font-size:30px; line-height:36px; font-family:"Open Sans", sans-serif; padding:3px 10px; padding-top:1px; margin:0px; border-width:0px; border-style:none; background-color:#de543e; letter-spacing:0; }

.tp-caption.modern_small_text_dark { position:absolute; color:#555; text-shadow:none; font-size:14px; line-height:22px; font-family:Arial; margin:0px; border-width:0px; border-style:none; white-space:nowrap; }

.tp-caption.boxshadow { -moz-box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); -webkit-box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); }

.tp-caption.black { color:#000; text-shadow:none; }

.tp-caption.noshadow { text-shadow:none; }


.tp-caption.thinheadline_dark { position:absolute; color:rgba(0,0,0,0.85); text-shadow:none; font-weight:300; font-size:30px; line-height:30px; font-family:"Open Sans"; background-color:transparent; }

.tp-caption.thintext_dark { position:absolute; color:rgba(0,0,0,0.85); text-shadow:none; font-weight:300; font-size:16px; line-height:26px; font-family:"Open Sans"; background-color:transparent; }

.tp-caption.medium_bg_red a { color: #fff;

   text-decoration: none;

}

.tp-caption.medium_bg_red a:hover { color: #fff;

   text-decoration: underline;

}

.tp-caption.smoothcircle { font-size:30px; line-height:75px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(0, 0, 0); background-color:rgba(0, 0, 0, 0.498039); padding:50px 25px; text-align:center; border-radius:500px 500px 500px 500px; border-width:0px; border-color:rgb(0, 0, 0); border-style:none; }

.tp-caption.largeblackbg { font-size:50px; line-height:70px; font-weight:300; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(0, 0, 0); padding:0px 20px 5px; text-shadow:none; border-width:0px; border-color:rgb(255, 255, 255); border-style:none; }

.tp-caption.largepinkbg { position:absolute; color:#fff; text-shadow:none; font-weight:300; font-size:50px; line-height:70px; font-family:"Open Sans"; background-color:#db4360; padding:0px 20px; -webkit-border-radius:0px; -moz-border-radius:0px; border-radius:0px; }

.tp-caption.largewhitebg { position:absolute; color:#000; text-shadow:none; font-weight:300; font-size:50px; line-height:70px; font-family:"Open Sans"; background-color:#fff; padding:0px 20px; -webkit-border-radius:0px; -moz-border-radius:0px; border-radius:0px; }

.tp-caption.largegreenbg { position:absolute; color:#fff; text-shadow:none; font-weight:300; font-size:50px; line-height:70px; font-family:"Open Sans"; background-color:#67ae73; padding:0px 20px; -webkit-border-radius:0px; -moz-border-radius:0px; border-radius:0px; }

.tp-caption.excerpt { font-size:36px; line-height:36px; font-weight:700; font-family:Arial; color:#ffffff; text-decoration:none; background-color:rgba(0, 0, 0, 1); text-shadow:none; margin:0px; letter-spacing:-1.5px; padding:1px 4px 0px 4px; width:150px; white-space:normal !important; height:auto; border-width:0px; border-color:rgb(255, 255, 255); border-style:none; }

.tp-caption.large_bold_grey { font-size:60px; line-height:60px; font-weight:800; font-family:"Open Sans"; color:rgb(102, 102, 102); text-decoration:none; background-color:transparent; text-shadow:none; margin:0px; padding:1px 4px 0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_thin_grey { font-size:34px; line-height:30px; font-weight:300; font-family:"Open Sans"; color:rgb(102, 102, 102); text-decoration:none; background-color:transparent; padding:1px 4px 0px; text-shadow:none; margin:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.small_thin_grey { font-size:18px; line-height:26px; font-weight:300; font-family:"Open Sans"; color:rgb(117, 117, 117); text-decoration:none; background-color:transparent; padding:1px 4px 0px; text-shadow:none; margin:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.lightgrey_divider { text-decoration:none; background-color:rgba(235, 235, 235, 1); width:370px; height:3px; background-position:initial initial; background-repeat:initial initial; border-width:0px; border-color:rgb(34, 34, 34); border-style:none; }

.tp-caption.large_bold_darkblue { font-size:58px; line-height:60px; font-weight:800; font-family:"Open Sans"; color:rgb(52, 73, 94); text-decoration:none; background-color:transparent; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bg_darkblue { font-size:20px; line-height:20px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(52, 73, 94); padding:10px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bold_red { font-size:24px; line-height:30px; font-weight:800; font-family:"Open Sans"; color:rgb(227, 58, 12); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_light_red { font-size:21px; line-height:26px; font-weight:300; font-family:"Open Sans"; color:rgb(227, 58, 12); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bg_red { font-size:20px; line-height:20px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(227, 58, 12); padding:10px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bold_orange { font-size:24px; line-height:30px; font-weight:800; font-family:"Open Sans"; color:rgb(243, 156, 18); text-decoration:none; background-color:transparent; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bg_orange { font-size:20px; line-height:20px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(243, 156, 18); padding:10px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.grassfloor { text-decoration:none; background-color:rgba(160, 179, 151, 1); width:4000px; height:150px; border-width:0px; border-color:rgb(34, 34, 34); border-style:none; }

.tp-caption.large_bold_white { font-size:58px; line-height:60px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:transparent; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_light_white { font-size:30px; line-height:36px; font-weight:300; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.mediumlarge_light_white { font-size:34px; line-height:40px; font-weight:300; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.mediumlarge_light_white_center { font-size:34px; line-height:40px; font-weight:300; font-family:"Open Sans"; color:#ffffff; text-decoration:none; background-color:transparent; padding:0px 0px 0px 0px; text-align:center; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_bg_asbestos { font-size:20px; line-height:20px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(127, 140, 141); padding:10px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.medium_light_black { font-size:30px; line-height:36px; font-weight:300; font-family:"Open Sans"; color:rgb(0, 0, 0); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.large_bold_black { font-size:58px; line-height:60px; font-weight:800; font-family:"Open Sans"; color:rgb(0, 0, 0); text-decoration:none; background-color:transparent; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.mediumlarge_light_darkblue { font-size:34px; line-height:40px; font-weight:300; font-family:"Open Sans"; color:rgb(52, 73, 94); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.small_light_white { font-size:17px; line-height:28px; font-weight:300; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:transparent; padding:0px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.roundedimage { border-width:0px; border-color:rgb(34, 34, 34); border-style:none; }

.tp-caption.large_bg_black { font-size:40px; line-height:40px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(0, 0, 0); padding:10px 20px 15px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }

.tp-caption.mediumwhitebg { font-size:30px; line-height:30px; font-weight:300; font-family:"Open Sans"; color:rgb(0, 0, 0); text-decoration:none; background-color:rgb(255, 255, 255); padding:5px 15px 10px; text-shadow:none; border-width:0px; border-color:rgb(0, 0, 0); border-style:none; }

.tp-caption.medium_bg_orange_new1 { font-size:20px; line-height:20px; font-weight:800; font-family:"Open Sans"; color:rgb(255, 255, 255); text-decoration:none; background-color:rgb(243, 156, 18); padding:10px; border-width:0px; border-color:rgb(255, 214, 88); border-style:none; }


.tp-caption.boxshadow{ -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); }

.tp-caption.black{ color: #000; text-shadow: none; font-weight: 300; font-size: 19px; line-height: 19px; font-family: 'Open Sans', sans; }

.tp-caption.noshadow { text-shadow: none; }


.tp_inner_padding { box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; max-height:none !important; }


/*.tp-caption { transform:none !important}*/


/********************************* - SPECIAL TP CAPTIONS -

                                                                    • /

.tp-caption .frontcorner { width: 0; height: 0; border-left: 40px solid transparent; border-right: 0px solid transparent; border-top: 40px solid #00A8FF; position: absolute;left:-40px;top:0px; }

.tp-caption .backcorner { width: 0; height: 0; border-left: 0px solid transparent; border-right: 40px solid transparent; border-bottom: 40px solid #00A8FF; position: absolute;right:0px;top:0px; }

.tp-caption .frontcornertop { width: 0; height: 0; border-left: 40px solid transparent; border-right: 0px solid transparent; border-bottom: 40px solid #00A8FF; position: absolute;left:-40px;top:0px; }

.tp-caption .backcornertop { width: 0; height: 0; border-left: 0px solid transparent; border-right: 40px solid transparent; border-top: 40px solid #00A8FF; position: absolute;right:0px;top:0px; }

/****************************** - BUTTONS -

                                                              • /

.tp-simpleresponsive .button { padding:6px 13px 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; height:30px; cursor:pointer; color:#fff !important; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6) !important; font-size:15px; line-height:45px !important; background:url(../images/gradient/g30.png) repeat-x top; font-family: arial, sans-serif; font-weight: bold; letter-spacing: -1px; }

.tp-simpleresponsive .button.big { color:#fff; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6); font-weight:bold; padding:9px 20px; font-size:19px; line-height:57px !important; background:url(../images/gradient/g40.png) repeat-x top;}


.tp-simpleresponsive .purchase:hover, .tp-simpleresponsive .button:hover, .tp-simpleresponsive .button.big:hover { background-position:bottom, 15px 11px;}


@media only screen and (min-width: 768px) and (max-width: 959px) {

}


@media only screen and (min-width: 480px) and (max-width: 767px) { .tp-simpleresponsive .button { padding:4px 8px 3px; line-height:25px !important; font-size:11px !important;font-weight:normal; } .tp-simpleresponsive a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; }


}

   @media only screen and (min-width: 0px) and (max-width: 479px) {

.tp-simpleresponsive .button { padding:2px 5px 2px; line-height:20px !important; font-size:10px !important;} .tp-simpleresponsive a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; } }



/* BUTTON COLORS */


.tp-simpleresponsive .button.green, .tp-simpleresponsive .button:hover.green, .tp-simpleresponsive .purchase.green, .tp-simpleresponsive .purchase:hover.green { background-color:#21a117; -webkit-box-shadow: 0px 3px 0px 0px #104d0b; -moz-box-shadow: 0px 3px 0px 0px #104d0b; box-shadow: 0px 3px 0px 0px #104d0b; }


.tp-simpleresponsive .button.blue, .tp-simpleresponsive .button:hover.blue, .tp-simpleresponsive .purchase.blue, .tp-simpleresponsive .purchase:hover.blue { background-color:#1d78cb; -webkit-box-shadow: 0px 3px 0px 0px #0f3e68; -moz-box-shadow: 0px 3px 0px 0px #0f3e68; box-shadow: 0px 3px 0px 0px #0f3e68;}


.tp-simpleresponsive .button.red, .tp-simpleresponsive .button:hover.red, .tp-simpleresponsive .purchase.red, .tp-simpleresponsive .purchase:hover.red { background-color:#cb1d1d; -webkit-box-shadow: 0px 3px 0px 0px #7c1212; -moz-box-shadow: 0px 3px 0px 0px #7c1212; box-shadow: 0px 3px 0px 0px #7c1212;}

.tp-simpleresponsive .button.orange, .tp-simpleresponsive .button:hover.orange, .tp-simpleresponsive .purchase.orange, .tp-simpleresponsive .purchase:hover.orange { background-color:#ff7700; -webkit-box-shadow: 0px 3px 0px 0px #a34c00; -moz-box-shadow: 0px 3px 0px 0px #a34c00; box-shadow: 0px 3px 0px 0px #a34c00;}

.tp-simpleresponsive .button.darkgrey, .tp-simpleresponsive .button.grey, .tp-simpleresponsive .button:hover.darkgrey, .tp-simpleresponsive .button:hover.grey, .tp-simpleresponsive .purchase.darkgrey, .tp-simpleresponsive .purchase:hover.darkgrey { background-color:#555; -webkit-box-shadow: 0px 3px 0px 0px #222; -moz-box-shadow: 0px 3px 0px 0px #222; box-shadow: 0px 3px 0px 0px #222;}

.tp-simpleresponsive .button.lightgrey, .tp-simpleresponsive .button:hover.lightgrey, .tp-simpleresponsive .purchase.lightgrey, .tp-simpleresponsive .purchase:hover.lightgrey { background-color:#888; -webkit-box-shadow: 0px 3px 0px 0px #555; -moz-box-shadow: 0px 3px 0px 0px #555; box-shadow: 0px 3px 0px 0px #555;}


/****************************************************************

- SET THE ANIMATION EVEN MORE SMOOTHER ON ANDROID -

                                                                                                                                    • /

/*.tp-simpleresponsive { -webkit-perspective: 1500px; -moz-perspective: 1500px; -o-perspective: 1500px; -ms-perspective: 1500px; perspective: 1500px; }*/



/********************************************** - FULLSCREEN AND FULLWIDHT CONTAINERS -

                                                                                            • /

.fullscreen-container { width:100%; position:relative; padding:0; }


.fullwidthbanner-container{ width:100%; position:relative; padding:0; overflow:hidden; }

.fullwidthbanner-container .fullwidthbanner{ width:100%; position:relative; }


/************************************************ - SOME CAPTION MODIFICATION AT START -

                                                                                                  • /

.tp-simpleresponsive .caption, .tp-simpleresponsive .tp-caption { /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; */ position:absolute;visibility: hidden; -webkit-font-smoothing: antialiased !important; }


.tp-simpleresponsive img { max-width:none;}


/****************************** - IE8 HACKS -

                                                              • /

.noFilterClass { filter:none !important; }


/****************************** - SHADOWS -

                                                            • /

.tp-bannershadow { position:absolute;

margin-left:auto; margin-right:auto; -moz-user-select: none;

       -khtml-user-select: none;
       -webkit-user-select: none;
       -o-user-select: none;

}

.tp-bannershadow.tp-shadow1 { background:url(../assets/shadow1.png) no-repeat; background-size:100% 100%; width:890px; height:60px; bottom:-60px;} .tp-bannershadow.tp-shadow2 { background:url(../assets/shadow2.png) no-repeat; background-size:100% 100%; width:890px; height:60px;bottom:-60px;} .tp-bannershadow.tp-shadow3 { background:url(../assets/shadow3.png) no-repeat; background-size:100% 100%; width:890px; height:60px;bottom:-60px;}


/******************************** - FULLSCREEN VIDEO -

                                                                  • /

.caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} .caption.fullscreenvideo iframe, .caption.fullscreenvideo video { width:100% !important; height:100% !important; display: none}

.tp-caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} .tp-caption.fullscreenvideo iframe, .tp-caption.fullscreenvideo iframe video { width:100% !important; height:100% !important; display: none;}


.fullscreenvideo .vjs-loading-spinner { visibility:none;display:none !important; width:0px;height:0px;} .fullscreenvideo .vjs-control-bar.vjs-fade-out, .fullscreenvideo .vjs-control-bar.vjs-fade-in, .fullscreenvideo .vjs-control-bar.vjs-fade-out.vjs-lock-showing, .fullscreenvideo .vjs-control-bar.vjs-fade-in.vjs-lock-showing { visibility: hidden !important; opacity: 0 !important;display:none !important;width:0px;height:0px;overflow: hidden;}

.fullcoveredvideo.video-js, .fullcoveredvideo video { background: transparent !important;}

.fullcoveredvideo .vjs-poster { background-position: center center;background-size: cover;width:100%;height:100%;top:0px;left:0px;}

/******************************** - DOTTED OVERLAYS -

                                                                  • /

.tp-dottedoverlay { background-repeat:repeat;width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:1;} .tp-dottedoverlay.twoxtwo { background:url(../assets/gridtile.png)} .tp-dottedoverlay.twoxtwowhite { background:url(../assets/gridtile_white.png)} .tp-dottedoverlay.threexthree { background:url(../assets/gridtile_3x3.png)} .tp-dottedoverlay.threexthreewhite { background:url(../assets/gridtile_3x3_white.png)} /******************************** - DOTTED OVERLAYS ENDS -

                                                                  • /


/************************ - NAVIGATION -

                                                  • /

/** BULLETS **/

.tpclear { clear:both;}


.tp-bullets { z-index:1000; position:absolute; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out;-webkit-transform: translateZ(5px); } .tp-bullets.hidebullets { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; }


.tp-bullets.simplebullets.navbar { border:1px solid #666; border-bottom:1px solid #444; background:url(../assets/boxed_bgtile.png); height:40px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;}

.tp-bullets.simplebullets.navbar-old { background:url(../assets/navigdots_bgtile.png); height:35px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;}


.tp-bullets.simplebullets.round .bullet { cursor:pointer; position:relative; background:url(../assets/bullet.png) no-Repeat top left; width:20px; height:20px; margin-right:0px; float:left; margin-top:0px; margin-left:3px;} .tp-bullets.simplebullets.round .bullet.last { margin-right:3px;}

.tp-bullets.simplebullets.round-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets.png) no-Repeat bottom left; width:23px; height:23px; margin-right:0px; float:left; margin-top:0px;} .tp-bullets.simplebullets.round-old .bullet.last { margin-right:0px;}


/** SQUARE BULLETS **/ .tp-bullets.simplebullets.square .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:0px;} .tp-bullets.simplebullets.square .bullet.last { margin-right:0px;}


/** SQUARE BULLETS **/ .tp-bullets.simplebullets.square-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:0px;} .tp-bullets.simplebullets.square-old .bullet.last { margin-right:0px;}


/** navbar NAVIGATION VERSION **/ .tp-bullets.simplebullets.navbar .bullet { cursor:pointer; position:relative; background:url(../assets/bullet_boxed.png) no-Repeat top left; width:18px; height:19px; margin-right:5px; float:left; margin-top:0px;}

.tp-bullets.simplebullets.navbar .bullet.first { margin-left:0px !important;} .tp-bullets.simplebullets.navbar .bullet.last { margin-right:0px !important;}


/** navbar NAVIGATION VERSION **/ .tp-bullets.simplebullets.navbar-old .bullet { cursor:pointer; position:relative; background:url(../assets/navigdots.png) no-Repeat bottom left; width:15px; height:15px; margin-left:5px !important; margin-right:5px !important;float:left; margin-top:10px;} .tp-bullets.simplebullets.navbar-old .bullet.first { margin-left:0px !important;} .tp-bullets.simplebullets.navbar-old .bullet.last { margin-right:0px !important;}


.tp-bullets.simplebullets .bullet:hover, .tp-bullets.simplebullets .bullet.selected { background-position:top left; }

.tp-bullets.simplebullets.round .bullet:hover, .tp-bullets.simplebullets.round .bullet.selected, .tp-bullets.simplebullets.navbar .bullet:hover, .tp-bullets.simplebullets.navbar .bullet.selected { background-position:bottom left; }


/************************************* - TP ARROWS -

                                                                            • /

.tparrows { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out; -webkit-transform: translateZ(5px);

} .tparrows.hidearrows { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; } .tp-leftarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat top left; width:40px; height:40px; } .tp-rightarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat top left; width:40px; height:40px; }


.tp-leftarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px; } .tp-rightarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px;}


.tp-leftarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px; } .tp-rightarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px;}


.tp-leftarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-right:6px; margin-top:12px;} .tp-rightarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-left:6px; margin-top:12px;}


.tp-leftarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowleft.png) no-Repeat top left; width:9px; height:16px; float:left; margin-right:6px; margin-top:10px;} .tp-rightarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowright.png) no-Repeat top left; width:9px; height:16px; float:left; margin-left:6px; margin-top:10px;}

.tp-leftarrow.navbar-old.thumbswitharrow { margin-right:10px; } .tp-rightarrow.navbar-old.thumbswitharrow { margin-left:0px; }

.tp-leftarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} .tp-rightarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;}


.tp-leftarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} .tp-rightarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;}


.tp-leftarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat 0 0; width:40px; height:40px;

} .tp-rightarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat 0 0; width:40px; height:40px;

}



.tp-leftarrow:hover, .tp-rightarrow:hover { background-position:bottom left; }




/**************************************************************************************************** - TP THUMBS -

- tp-thumbs & tp-mask Width is the width of the basic Thumb Container (500px basic settings)
- .bullet width & height is the dimension of a simple Thumbnail (basic 100px x 50px)
*****************************************************************************************************/


.tp-bullets.tp-thumbs { z-index:1000; position:absolute; padding:3px;background-color:#fff; width:500px;height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ margin-top:-50px; }


.fullwidthbanner-container .tp-thumbs { padding:3px;}

.tp-bullets.tp-thumbs .tp-mask { width:500px; height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ overflow:hidden; position:relative;}


.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer { width:5000px; position:absolute;}

.tp-bullets.tp-thumbs .bullet { width:100px; height:50px; /* THE DIMENSION OF A SINGLE THUMB */ cursor:pointer; overflow:hidden;background:none;margin:0;float:left; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /*filter: alpha(opacity=50); */ -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5;

-webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; }


.tp-bullets.tp-thumbs .bullet:hover, .tp-bullets.tp-thumbs .bullet.selected { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";

-moz-opacity: 1; -khtml-opacity: 1; opacity: 1; } .tp-thumbs img { width:100%; }


/************************************ - TP BANNER TIMER -

                                                                          • /

.tp-bannertimer { width:100%; height:10px; background:url(../assets/timer.png);position:absolute; z-index:200;top:0px;} .tp-bannertimer.tp-bottom { bottom:0px;height:5px; top:auto;}



/*************************************** - RESPONSIVE SETTINGS -

                                                                                • /



   @media only screen and (min-width: 0px) and (max-width: 479px) {

.responsive .tp-bullets { display:none} .responsive .tparrows { display:none;} }


/****************************** - HTML5 VIDEO SETTINGS -

                                                                • /

.vjs-tech { margin-top:1px}

.tp-caption .vjs-default-skin .vjs-big-play-button { left: 50%; top: 50%; margin-left: -20px; margin-top: -20px; width: 40px; height: 40px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: none; box-shadow: none; text-shadow: none; line-height: 30px; vertical-align: top; padding: 0px; }

.tp-caption .vjs-default-skin .vjs-big-play-button:before {

position:absolute;
top:0px; left:0px;
line-height:40px;
text-shadow: none !important;
color:#fff;
font-size:18px;

}

.tp-caption .vjs-default-skin:hover .vjs-big-play-button, .vjs-default-skin .vjs-big-play-button:focus {

box-shadow:none; -webkit-box-shadow:none;

}


/*********************************************

- BASIC SETTINGS FOR THE BANNER -

                                                                                              • /
.tp-simpleresponsive img {

-moz-user-select: none;

       -khtml-user-select: none;
       -webkit-user-select: none;
       -o-user-select: none;

}


.tp-simpleresponsive a{ text-decoration:none;}

.tp-simpleresponsive ul { list-style:none; padding:0; margin:0; }

.tp-simpleresponsive >ul >li{ list-stye:none; position:absolute; visibility:hidden; } /* CAPTION SLIDELINK **/ .caption.slidelink a div, .tp-caption.slidelink a div { width:3000px; height:1500px; background:url(../assets/coloredbg.png) repeat;}

.tp-loader { background:url(../images/icons/loader.gif) no-repeat 10px 10px; background-color:#fff; margin:-22px -22px; top:50%; left:50%; z-index:10000; position:absolute;width:44px;height:44px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }


.tp-transparentimg { content:"url(../assets/transparent.png)"} .tp-3d { -webkit-transform-style: preserve-3d; -webkit-transform-origin: 50% 50%; }


.tp-caption img { background: transparent; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); zoom: 1; }


@font-face {

 font-family: 'revicons';
 src: url('../font/revicons.eot?5510888');
 src: url('../font/revicons.eot?5510888#iefix') format('embedded-opentype'),
      url('../font/revicons.woff?5510888') format('woff'),
      url('../font/revicons.ttf?5510888') format('truetype'),
      url('../font/revicons.svg?5510888#revicons') format('svg');
 font-weight: normal;
 font-style: normal;

} /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ /* @media screen and (-webkit-min-device-pixel-ratio:0) {

 @font-face {
   font-family: 'revicons';
   src: url('../font/revicons.svg?5510888#revicons') format('svg');
 }

}

  • /
[class^="revicon-"]:before, [class*=" revicon-"]:before {
 font-family: "revicons";
 font-style: normal;
 font-weight: normal;
 speak: none;
 display: inline-block;
 text-decoration: inherit;
 width: 1em;
 margin-right: .2em;
 text-align: center;
 /* opacity: .8; */
 /* For safety - reset parent styles, that can break glyph codes*/
 font-variant: normal;
 text-transform: none;
 /* fix buttons height, for twitter bootstrap */
 line-height: 1em;
 /* Animation center compensation - margins should be symmetric */
 /* remove if not needed */
 margin-left: .2em;
 /* you can be more comfortable with increased icons size */
 /* font-size: 120%; */
 /* Uncomment for 3D effect */
 /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */

}

.revicon-search-1:before { content: '\e802'; } /* '' */ .revicon-pencil-1:before { content: '\e831'; } /* '' */ .revicon-picture-1:before { content: '\e803'; } /* '' */ .revicon-cancel:before { content: '\e80a'; } /* '' */ .revicon-info-circled:before { content: '\e80f'; } /* '' */ .revicon-trash:before { content: '\e801'; } /* '' */ .revicon-left-dir:before { content: '\e817'; } /* '' */ .revicon-right-dir:before { content: '\e818'; } /* '' */ .revicon-down-open:before { content: '\e83b'; } /* '' */ .revicon-left-open:before { content: '\e819'; } /* '' */ .revicon-right-open:before { content: '\e81a'; } /* '' */ .revicon-angle-left:before { content: '\e820'; } /* '' */ .revicon-angle-right:before { content: '\e81d'; } /* '' */ .revicon-left-big:before { content: '\e81f'; } /* '' */ .revicon-right-big:before { content: '\e81e'; } /* '' */ .revicon-magic:before { content: '\e807'; } /* '' */ .revicon-picture:before { content: '\e800'; } /* '' */ .revicon-export:before { content: '\e80b'; } /* '' */ .revicon-cog:before { content: '\e832'; } /* '' */ .revicon-login:before { content: '\e833'; } /* '' */ .revicon-logout:before { content: '\e834'; } /* '' */ .revicon-video:before { content: '\e805'; } /* '' */ .revicon-arrow-combo:before { content: '\e827'; } /* '' */ .revicon-left-open-1:before { content: '\e82a'; } /* '' */ .revicon-right-open-1:before { content: '\e82b'; } /* '' */ .revicon-left-open-mini:before { content: '\e822'; } /* '' */ .revicon-right-open-mini:before { content: '\e823'; } /* '' */ .revicon-left-open-big:before { content: '\e824'; } /* '' */ .revicon-right-open-big:before { content: '\e825'; } /* '' */ .revicon-left:before { content: '\e836'; } /* '' */ .revicon-right:before { content: '\e826'; } /* '' */ .revicon-ccw:before { content: '\e808'; } /* '' */ .revicon-arrows-ccw:before { content: '\e806'; } /* '' */ .revicon-palette:before { content: '\e829'; } /* '' */ .revicon-list-add:before { content: '\e80c'; } /* '' */ .revicon-doc:before { content: '\e809'; } /* '' */ .revicon-left-open-outline:before { content: '\e82e'; } /* '' */ .revicon-left-open-2:before { content: '\e82c'; } /* '' */ .revicon-right-open-outline:before { content: '\e82f'; } /* '' */ .revicon-right-open-2:before { content: '\e82d'; } /* '' */ .revicon-equalizer:before { content: '\e83a'; } /* '' */ .revicon-layers-alt:before { content: '\e804'; } /* '' */ .revicon-popup:before { content: '\e828'; } /* '' */ /* CSS Document */

/* Website Name: Mamba from GSU iGEM Team Description: Website design template for Mamba genetic engineering and research project entry into iGEM 2014 Version: 1.4 Author: Robert Eloi Website: http://www.roberteloi.com

  • /

/* ------------------------------------------ */ /* TABLE OF CONTENTS /* ------------------------------------------ */ /* 01 - General & Basic Styles */ /* 02 - Header & Navigation */ /* 03 - Main Page Elements */ /* 04 - Revolution Slider */ /* 05 - Shortcodes Elements */ /* 06 - Portfolio Styles */ /* 07 - Single Project Styles */ /* 08 - Blog Styles */ /* 09 - Single post Styles */ /* 10 - Sidebar Styles */ /* 11 - Footer Styles */ /* 12 - Plugins Styles */



@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800); @import url(http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic);



/*------------------------------------------*/ /* 01 - General & Basic Styles /*------------------------------------------*/ body { font-family: 'Open Sans', sans-serif; font-size: 13px;

   line-height: 21px;

font-weight: 300; color: #888; background: url(../images/patterns/1.png) fixed repeat; } strong, b { font-weight: 600; }

img { max-width: 100%; height: auto; }

ul, ol { list-style: none; }

ul {

   padding: 0;
   margin: 0;

}

a {

   transition: color 0.2s ease-in-out;
   -moz-transition: color 0.2s ease-in-out;
   -webkit-transition: color 0.2s ease-in-out;
   -o-transition: color 0.2s ease-in-out;

}

a:hover {

   color: #444;

}

a, a:hover {

   text-decoration: none;

}

i { font-size: 1.1em; }

h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; font-weight: 600; margin: 0; color: #444; }

h1 {

   font-size: 24px;

line-height: 30px; }

h2 {

   font-size: 22px;

line-height: 28px; }

h3 {

   font-size: 18px;

line-height: 24px; }

h4 {

   font-size: 16px;

line-height: 22px; }

h5 {

   font-size: 14px;

line-height: 20px; }

h6 {

   font-size: 12px;

line-height: 18px; }

p {

   color: #888;
   font-size: 13px;
   font-family: 'Open Sans', sans-serif;
   line-height: 22px;
   margin: 0;

}

p strong { font-weight: 600; }

.fittext { font-size: 38px; font-weight: 300; line-height: 46px; color: rgba(0,0,0, 0.8); }

.fittext strong { font-weight: 700; }

.page-content p { margin-bottom: 15px; }

.wite-text { color: #fff; }

.uppercase { text-transform: uppercase; }

.image-text { margin-right: 10px; }

a.main-button, input[type="submit"] {

   display: inline-block;
   text-decoration: none;
   color: #fff;
   font-size: 12px;
   font-family: 'Open Sans', sans-serif;
   font-weight: 300;
   text-transform: uppercase;
   padding: 6px 16px;
   border-radius: 3px;
   -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   -o-border-radius: 3px;
   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

a.main-button:hover, input[type="submit"]:hover { background: #444; color: #fff; }

a.main-button i { font-size: 1.2em; }

input[type="submit"] { border: none; }

.tooltip .tooltip-inner {

   border-radius: 2px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;

}

  1. content {

padding: 50px 0; }

  1. content.full-sections {

padding: 0; }

.section { position: relative; overflow: hidden; background-repeat: no-repeat; background-position: center center; -webkit-background-size: cover !important; -moz-background-size: cover !important; -o-background-size: cover !important; background-size: cover !important; }

.section.repeat-bg { background-repeat: repeat; -webkit-background-size: auto !important; -moz-background-size: auto !important; -o-background-size: auto !important; background-size: auto !important; }

.bg-parallax { background-attachment: fixed; }

.section-video { position: absolute; z-index: 33; left: 0; top: -100px; width: 100%; height: auto; min-height: 100%; }

.section-video-content { z-index: 35; position: relative; opacity: 0.98; }

.section-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 34; opacity: 0.7; }

.light-section { color: #fff; }

.light-section .testimonials { color: #aaa; }

.light-section .testimonials .testimonial-content p { color: #c4c4c4; }

  1. container {
   background-color: #fff;

}

.boxed-page {

 position: relative;
 width: 1220px;
 margin: 0 auto;
 background-color: #fff;
 -webkit-box-shadow:0 0 10px rgba(0,0,0,0.3);
 -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
 -o-box-shadow: 0 0 10px rgba(0,0,0,0.3);
 box-shadow: 0 0 10px rgba(0,0,0,0.3);

}

.boxed-page header {

 width: 1220px;

}

  1. loader {

position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 9999999999; }

.spinner { position: absolute; width: 40px; height: 40px; top: 50%; left: 50%; margin-left: -40px; margin-top: -40px; -webkit-animation: rotatee 2.0s infinite linear; animation: rotatee 2.0s infinite linear; }

.dot1, .dot2 { width: 60%; height: 60%; display: inline-block; position: absolute; top: 0; background-color: #0a9fd8; border-radius: 100%; -webkit-animation: bouncee 2.0s infinite ease-in-out; animation: bouncee 2.0s infinite ease-in-out; }

.dot2 { top: auto; bottom: 0px; -webkit-animation-delay: -1.0s; animation-delay: -1.0s; }

@-webkit-keyframes rotatee { 100% { -webkit-transform: rotate(360deg) }} @keyframes rotatee { 100% { transform: rotate(360deg);

       -webkit-transform: rotate(360deg);
   }

}

@-webkit-keyframes bouncee { 0%, 100% { -webkit-transform: scale(0.0) } 50% { -webkit-transform: scale(1.0) } }

@keyframes bouncee { 0%, 100% { transform: scale(0.0);

       -webkit-transform: scale(0.0);
   } 50% {
       transform: scale(1.0);
       -webkit-transform: scale(1.0);
     }

}




/*------------------------------------------*/ /* 02 - Header & Navigation /*------------------------------------------*/

header { position: fixed; top: 0;

   width: 100%;

z-index: 9999999; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.fixed-header { opacity: 0.95; box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2); -o-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);

 	-webkit-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);

}

.top-bar { background-color: #fff; border-bottom: 1px solid #f2f2f2; }

.top-bar.color-bar { border-bottom: 0; }

.top-bar.color-bar a { color: rgba(255,255,255,.6); }

.top-bar.color-bar a:hover { color: rgba(255,255,255,1) !important; }

.top-bar.color-bar ul.social-list li a i { border-left: 1px solid rgba(255,255,255,.1); }

.top-bar.color-bar ul.social-list li:last-child a i { border-right: 1px solid rgba(255,255,255,.1); }

.top-bar.color-bar .contact-details li a:before { color: rgba(255,255,255,.2); }

.top-bar.dark-bar { background-color: #444; border-bottom: 0; }

.top-bar.dark-bar a { color: rgba(255,255,255,.4); }

.top-bar.dark-bar a:hover { color: rgba(255,255,255,1) !important; }

.top-bar.dark-bar ul.social-list li a i { border-left: 1px solid rgba(255,255,255,.08); }

.top-bar.dark-bar ul.social-list li:last-child a i { border-right: 1px solid rgba(255,255,255,.08); }

.top-bar.dark-bar .contact-details li a:before { color: rgba(255,255,255,.2); }

.top-bar a { color: #aaa; }

.top-bar .contact-details li { display: inline-block; }

.top-bar .contact-details li a:before { position: relative; content: "|"; font-size: 13px; margin: 0 3px; top: -1px; color: #ddd; }

.top-bar .contact-details li a:before { color: #aaa; }

.top-bar .contact-details li:first-child a:before { display: none; }

.top-bar .contact-details li a { font-size: 12px; display: block; line-height: 32px; }

ul.social-list {

   float: right;

}

ul.social-list li {

   float: left;

}

ul.social-list li a {

   display: inline-block;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

ul.social-list li a:hover { color: #fff; }

ul.social-list li a.facebook:hover { background-color: #507CBE; }

ul.social-list li a.twitter:hover { background-color: #63CDF1; }

ul.social-list li a.google:hover { background-color: #F16261; }

ul.social-list li a.dribbble:hover { background-color: #E46387; }

ul.social-list li a.linkdin:hover { background-color: #90CADD; }

ul.social-list li a.tumblr:hover { background-color: #4D7EA3; }

ul.social-list li a.flickr:hover { background-color: #E474AF; }

ul.social-list li a.instgram:hover { background-color: #4D4F54; }

ul.social-list li a.vimeo:hover { background-color: #87D3E0; }

ul.social-list li a.skype:hover { background-color: #36C4F3 }

ul.social-list li a i { font-size: 1em; display: block; width: 34px; height: 33px; line-height: 33px; text-align: center; border-left: 1px solid #f2f2f2; }

ul.social-list li:last-child a i { border-right: 1px solid #f2f2f2; }

.navbar { margin-bottom: 0; background: #fff; border: none; border-radius: 0;

   -webkit-border-radius: 0;
   -moz-border-radius: 0;
   -o-border-radius: 0;

}

.navbar-brand { position: relative; padding: 27px 0; margin: 0!important; transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.navbar-default .navbar-nav { margin-right: 10px!important; position: relative; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.navbar-default .navbar-nav > li {

   margin-left: 6px;

}

.navbar-default .navbar-nav > li:first-child {

   margin-left: 0;

}

.navbar-default .navbar-nav > li > a { color: #999; display: block;

   font-size: 14px;

font-weight: 300;

   padding: 28px 15px 28px 15px;

overflow: hidden;

   transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.navbar-default .navbar-nav > li > a.active, .navbar-default .navbar-nav > li:hover > a { border-bottom: 2px solid; }

.navbar-default .navbar-nav > li > a i { margin: 0 -2px 0 -5px; }

.navbar-default .navbar-nav > li > a:after { position: absolute; bottom: 0; content: ; left: 50%; display: block; height: 5px; width: 5px; opacity: 0; margin: 0 0 -3px -2px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); position: absolute; }

.navbar-default .navbar-nav > li > a.active:after { opacity: 1; }

.navbar-default .navbar-nav .dropdown {

   position: absolute;
   left: 0;
   top: 100%;
   width: 180px;

background-color: #fff;

   visibility: hidden;
   z-index: 2;

opacity: 0; transition: opacity 0.3s ease-in-out;

   -moz-transition: opacity 0.3s ease-in-out;
   -webkit-transition: opacity 0.3s ease-in-out;
   -o-transition: opacity 0.3s ease-in-out;

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

 	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}

.navbar-default .navbar-nav > li.drop:hover .dropdown {

   visibility: visible;

opacity: 1; }

.dropdown li, .sup-dropdown li { position: relative;

   border-top: 1px solid rgba(0, 0, 0, 0.04);

}

.dropdown li:first-child, .sup-dropdown li:first-child {

   border-top: none;

}

.dropdown li a, .sup-dropdown li a {

   display: block;
   color: #aaa;
   font-size: 12px;
   font-family: 'Open Sans', sans-serif;
   padding: 9px 14px;
   text-decoration: none;
   text-transform: capitalize;
   transition: padding 0.2s ease-in-out;
   -moz-transition: padding 0.2s ease-in-out;
   -webkit-transition: padding 0.2s ease-in-out;
   -o-transition: padding 0.2s ease-in-out;

}


.dropdown > li:hover > a, .sup-dropdown li:hover > a { padding-left: 18px; }

.dropdown li a i { margin: 0 0 0 -4px; }

.navbar-default .navbar-nav .sup-dropdown {

   position: absolute;
   left: 100%;
   top: 0;
   width: 180px;

background-color: #fff;

   margin-top: 10px;
   transition: margin-top 0.2s ease-in-out;
   -moz-transition: margin-top 0.2s ease-in-out;
   -webkit-transition: margin-top 0.2s ease-in-out;
   -o-transition: margin-top 0.2s ease-in-out;
   visibility: hidden;
   z-index: 3;

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

 	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}

.navbar-default .navbar-nav li.drop .dropdown li:hover .sup-dropdown {

   visibility: visible;
   margin-top: 0;

}

.search-side { position: relative; float: right; top: 19px; right: -15px; transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.show-search { position: relative; display: block; float: right; }

.show-search i { font-size: 1.2em !important; display: block; color: #aaa; width: 36px; height: 36px; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

line-height: 36px; text-align: center; background-color: #f2f2f2; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.show-search:hover i { color: #888; }

.navbar .search-form { position: absolute; right: 0; z-index: 20; float: right; display: none; top: 40px; }

.navbar .search-form:before { background-color: #ccc; top: -2px; content: ; display: block; height: 4px; width: 4px; z-index: 20; right: 15px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); position: absolute; }

.navbar .search-form form input { border: 2px solid #ccc; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

padding: 5px 14px; z-index: 22; color: #9d9d9d; box-shadow: none; -o-box-shadow: none; -moz-box-shadow: none;

 	-webkit-box-shadow: none;

outline: none; box-shadow: none; }

.navbar .search-form form { position: absolute; right: 0; top: 0; z-index: 20; }




/*------------------------------------------*/ /* 03 - Main Page Elements /*------------------------------------------*/

.page-banner {

   padding: 30px 0;
   background: #f6f6f6;

border-bottom: 1px solid #eee; }

.page-banner h2 { font-weight: 500; text-transform: uppercase; }

.page-banner p { font-weight: 300; }

ul.breadcrumbs {

   float: right;

margin-top: 15px; }

.no-subtitle ul.breadcrumbs { margin-top: 4px; }

ul.breadcrumbs li { font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 300;

   margin-left: 3px;

color: #999; float: left; }

ul.breadcrumbs li:before {

   content: '/';

margin: 0 4px 0 2px; color: #bbb; }

ul.breadcrumbs li:first-child { margin: 0; }

ul.breadcrumbs li:first-child:before {

   content: ;

margin: 0; }

ul.breadcrumbs li a { color: #888; font-weight: 600; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

label { font-size: 13px; color: #aaa; font-weight: 300; cursor: pointer; }

label .required { color: #ED2C3A; margin-left: 2px; }

input[type="submit"] {

   outline: none;

}

.widget-search input[type="search"],

  1. contact-form input[type="text"],
  2. contact-form textarea,
  3. respond input[type="text"],
  4. respond textarea {
   color: #aaafb5;
   font-size: 13px;
   font-family: 'Open Sans', sans-serif;
   border: 1px solid #eee;
   border-radius: 2px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;
   outline: none;
   width: 100%;
   padding: 7px 14px;
   display: block;
   margin-bottom: 10px;  

transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.widget-search input[type="search"]:focus,

  1. contact-form input[type="text"]:focus,
  2. contact-form textarea:focus,
  3. respond input[type="text"]:focus,
  4. respond textarea:focus {

border-color: #ddd; box-shadow: 0 0 3px #eee; -o-box-shadow: 0 0 3px #eee; -moz-box-shadow: 0 0 3px #eee;

 	-webkit-box-shadow: 0 0 3px #eee;

}

.mail_response {

   border-bottom: 1px solid #eee;
   padding-bottom: 15px;
   margin-bottom: 15px;

}

.name-missing, .email-missing, .message-missing {

   opacity: 0;
   color: #ED2C3A;
   margin-left: 10px;
   transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.error-page {

   padding: 90px 0;
   text-align: center;

}

.error-page h1 {

   font-size: 160px;
   line-height: 140px;
   font-weight: 700;
   color: #333;

}

.error-page h3 {

   font-size: 64px;
   line-height: 70px;
   font-weight: 300;

}

.error-page p {

   font-size: 22px;
   line-height: 28px;
   color: #aaa;
   margin-bottom: 25px

}

  1. map {

position: relative; height: 350px; width: 100%; }




/*------------------------------------------*/ /* 04 - Revolution Slider /*------------------------------------------*/

.tp-bannertimer {

   background:#777 !important;
   background:rgba(0,0,0,0.1) !important;
   height:5px !important;

}

.tparrows:before {

   font-family: "fontello";

font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; text-align: center; font-size: 1.5em; color: #444; font-variant: normal; text-transform: none; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.tparrows {

   cursor: pointer;
   background: #fff!important;
   border-radius: 2px;

-webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;
   width: 40px !important;
   height: 40px !important;

line-height: 40px; text-align: center; }

.tp-leftarrow:before {

   content: '\e896';

}

.tp-rightarrow:before {

   content: '\e897';

}

.tparrows.tp-rightarrow:before {

   margin-left: 1px;

}


/******** Custom Captions ********/ .tp-caption.big_font_size { font-size: 36px; line-height: 36px; }

.tp-caption.medium_font_size { font-size: 24px; line-height: 28px; }

.tp-caption.small_font_size { font-size: 18px; line-height: 24px; }

.tp-caption.mini_font_size { font-size: 14px; line-height: 22px; }

.tp-caption.boldest_font_weight { font-weight: 900; }

.tp-caption.bold_font_weight { font-weight: 700; }

.tp-caption.regular_font_weight { font-weight: 500; }

.tp-caption.light_font_weight { font-weight: 300; }

.tp-caption.dark_font_color { color: #444; }

.tp-caption.black_font_color { color: #111; }

.tp-caption.gray_font_color { color: #888; }

.tp-caption.wite_font_color { color: #fff; }

.tp-caption.wite_bg { background-color: #fff; padding: 6px 12px; border-radius: 3px; }

.tp-caption.gray_bg { background-color: #444; color: #fff; padding: 6px 12px; border-radius: 3px; }

.tp-caption.color-bg { color: #fff; padding: 6px 12px; border-radius: 3px; }




/*------------------------------------------*/ /* 05 - Shortcodes Elements /*------------------------------------------*/

/*************** Dividers ***************/

.hr1 { height: 1px; }

.hr2 { height: 0; border-bottom: 1px solid #eee; }

.hr3 { height: 0; border-bottom: 1px dotted #eee; }

.hr4 { height: 0; border-bottom: 1px dashed #eee; }

.hr5 { height: 1px; background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); }


/*************** Clients Carousel ***************/

.clients-carousel .client-item a { display: block; padding: 12px 0; text-align: center; }

.clients-carousel .client-item a img { -webkit-filter: grayscale(100%); transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.clients-carousel:hover .client-item a img { opacity: 0.6; }

.clients-carousel:hover .client-item a:hover img { -webkit-filter: grayscale(0); opacity: 1; }


/*************** Progress Bars ***************/

.progress-label { font-size: 13px; color: #444; margin-bottom: 2px; font-weight: 600; }

.progress { border-radius: 24px; -webkit-border-radius: 24px;

   -moz-border-radius: 24px;
   -o-border-radius: 24px;

height: 24px; border: 4px solid #eee; background-color: #fff; box-shadow: none; -o-box-shadow: none; -moz-box-shadow: none;

 	-webkit-box-shadow: none;

margin-bottom: 10px; }

.progress .progress-bar { border-radius: 8px; -webkit-border-radius: 8px;

   -moz-border-radius: 8px;
   -o-border-radius: 8px;

box-shadow: none; -o-box-shadow: none; -moz-box-shadow: none;

 	-webkit-box-shadow: none;

text-align: right; transition: width 2s ease-in-out;

   -moz-transition: width 2s ease-in-out;
   -webkit-transition: width 2s ease-in-out;
   -o-transition: width 2s ease-in-out;

}

.progress.stacked .progress-bar { border-radius: 0; -webkit-border-radius: 0;

   -moz-border-radius: 0;
   -o-border-radius: 0;

}

.progress.stacked .progress-bar:first-child { border-radius: 8px 0 0 8px; -webkit-border-radius: 8px 0 0 8px;

   -moz-border-radius: 8px 0 0 8px;
   -o-border-radius: 8px 0 0 8px;

}

.progress.stacked .progress-bar:last-child { border-radius: 0 8px 8px 0; -webkit-border-radius: 0 8px 8px 0;

   -moz-border-radius: 0 8px 8px 0;
   -o-border-radius: 0 8px 8px 0;

}

.progress .progress-bar .percentage { position: relative; top: -3px; font-size: 11px; letter-spacing: 1px; margin-right: 10px; }


/*************** Call To Action ***************/

.call-action-boxed { padding: 30px 40px; }

.call-action.no-descripton h2.primary { margin-top: 4px; }

.call-action h2.primary { font-weight: 500; }

.call-action h2.primary strong { font-weight: 700; }

.call-action p { font-size: 14px; margin-bottom: 0; }

.call-action h2 + p { margin-top: 4px; }

.call-action .button-side { float: right; }

.call-action-style1 { border: 1px solid #e8e8e8; box-shadow: 0 0 25px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 25px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 25px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow: 0 0 25px rgba(0,0,0,.04) inset;

}

.call-action-style2 { background: #f2f2f2; }

.call-action-style3 { background: #444; }

.call-action-style3 h2.primary { color: #fff; }

.call-action-style3 p { color: #bbb; }


/*************** Custom Carousel ***************/

.custom-carousel .item { padding-right: 20px; }

.custom-carousel.show-one-slide .item { padding-right: 0; }


/*************** Latest News ***************/

.latest-posts-classic .post-row { margin-bottom: 20px; }

.latest-posts-classic .left-meta-post { float: left; text-align: center; margin-right: 12px; margin-bottom: 0; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

overflow: hidden; }

.latest-posts-classic .left-meta-post .post-date { padding: 8px 0; width: 42px; background-color: #444; color: #fff; }

.latest-posts-classic .left-meta-post .post-date .day { font-size: 20px; font-weight: 700; display: block; letter-spacing: 1px; }

.latest-posts-classic .left-meta-post .post-date .month { display: block; text-transform: uppercase; line-height: 14px; font-size: 11px; letter-spacing: 1px; }

.latest-posts-classic .left-meta-post .post-type i { display: block; height: 40px; line-height: 39px; width: 42px; color: #fff; font-size: 1.4em; }

.latest-posts-classic .post-title { margin-bottom: 5px; }

.latest-posts-classic .post-title a { color: #444; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.latest-posts-classic .read-more { transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.latest-posts-classic .read-more:hover { color: #444; }


/*************** Toggles & Accordion ***************/

.panel-default > .panel-heading { background-color: #fff; }

.panel-group .panel { border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

}

.panel-default { border-color: #e8e8e8; }

.panel-body { padding: 4px 15px 10px 15px; }

.panel-heading { padding: 0; }

.panel-title { font-size: 13px; font-weight: 700; }

.panel-title a { position: relative; display: block; padding: 6px 12px; background-color: #fff; box-shadow: none; -o-box-shadow: none; -moz-box-shadow: none;

 	-webkit-box-shadow: none;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.panel-title a.collapsed { color: #444; box-shadow: 0 0 15px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 15px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 15px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow: 0 0 15px rgba(0,0,0,.04) inset;

}

.panel-title a.collapsed:hover { color: #666; }

.panel-title a .control-icon { position: absolute; top: 50%; right: 10px; margin-top: -11px; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.panel-title a.collapsed .control-icon { -webkit-transform: rotate(-180deg); -moz-transform: rotate(-180deg); -ms-transform: rotate(-180deg); -o-transform: rotate(-180deg); }

.panel-title a i { font-size: 1.2em; }

.panel-default > .panel-heading + .panel-collapse .panel-body { border-top: none; }


/*************** Dropcaps ***************/

.dropcap { display: block; float: left; font-size: 40px; line-height: 34px; color: #444; margin: 6px 8px 0 0; }

.dropcap.border-dropcap { border: 2px solid #444; width: 46px; height: 46px; font-size: 28px; font-weight: 500; line-height: 42px; text-align: center; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

margin: 8px 12px 0 0; }

.dropcap.bg-dropcap { background-color: #444; color: #fff; width: 48px; height: 48px; font-size: 28px; font-weight: 500; line-height: 48px; text-align: center; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

margin: 8px 12px 0 0; }

.dropcap.circle-dropcap { border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

}


/*************** Milestone ***************/

.milestone-block { display: inline-block; margin-bottom: 25px; margin-right: 50px; }

.milestone-block:last-child { margin-right: 0; }

.milestone-block .milestone-icon { float: left; width: 48px; height: 48px; line-height: 48px; text-align: center; margin-right: 9px; margin-bottom: 4px; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

position: relative; }

.milestone-block .milestone-icon:after { content: ""; display: block; width: 8px; height: 8px; position: absolute; top: 21px; right: -2px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); }

.milestone-block .milestone-icon i { font-size: 2em; color: #fff; }

.milestone-block .milestone-right { float: left; text-align: left; }

.milestone-block .milestone-number { font-size: 26px; line-height: 28px; font-weight: 500; }

.milestone-block .milestone-text { font-size: 18px; color: #444; }


/*************** Pricing Tables ***************/

.pricing-tables { padding: 25px 0; }

.pricing-tables .pricing-table { float: left; margin-right: -1px; }

.pricing-tables.grid-2 .pricing-table { width: 50%; }

.pricing-tables.grid-3 .pricing-table { width: 33.3332%; }

.pricing-tables.grid-4 .pricing-table { width: 25%; }

.pricing-tables.grid-5 .pricing-table { width: 20%; }

.pricing-tables .pricing-table { border: 1px solid #e4e4e4; text-align: center; position: relative; background-color: #fff; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.pricing-tables .pricing-table:hover { z-index: 2; top: -3px; box-shadow: 0 0 8px rgba(0,0,0,0.1); -moz-box-shadow: 0 0 8px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.1); -o-box-shadow: 0 0 8px rgba(0,0,0,0.1); }

.pricing-tables .highlight-plan { margin: -15px 0; margin-right: -1px; z-index: 1; box-shadow: 0 0 6px rgba(0,0,0,0.06); -moz-box-shadow: 0 0 6px rgba(0,0,0,0.06); -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.06); -o-box-shadow: 0 0 6px rgba(0,0,0,0.06); }

.pricing-tables .pricing-table.highlight-plan .plan-name { padding: 25px 0; }

.pricing-tables .pricing-table.highlight-plan .plan-signup { padding: 30px 0; }

.pricing-table .plan-name { padding: 15px 0; box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 20px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow:  0 0 20px rgba(0,0,0,.04) inset;

border-bottom: 1px solid #eee; }

.pricing-table .plan-name h3 { font-weight: 700; color: #888; }

.pricing-table .plan-price { padding: 25px 0; }

.pricing-table .plan-price .price-value { font-size: 38px; line-height: 40px; font-weight: 600; color: #444; }

.pricing-table .plan-price .price-value span { font-size: 18px; font-weight: 300; line-height: 18px; }

.pricing-table .plan-price .interval { line-height: 14px; }

.pricing-table .plan-list li { padding: 8px; font-size: 12px; border-bottom: 1px solid #eee; }

.pricing-table .plan-list li:first-child { border-top: 1px solid #eee; }

.pricing-table .plan-signup { padding: 25px 0; box-shadow: 0 0 20px rgba(0,0,0,.06) inset; -o-box-shadow: 0 0 20px rgba(0,0,0,.06) inset; -moz-box-shadow: 0 0 20px rgba(0,0,0,.06) inset;

 	-webkit-box-shadow: 0 0 20px rgba(0,0,0,.06) inset;

}

.pricing-table .plan-signup a { text-transform: uppercase; }


/*************** Buttons ***************/

.btn { border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.btn-system { display: inline-block; color: #fff; margin-right: 5px; font-weight: 300; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

text-shadow: 1px 1px 2px rgba(0,0,0,.2); box-shadow: 0 4px 0 rgba(0,0,0,0.1) inset; -o-box-shadow: 0 4px 0 rgba(0,0,0,0.1) inset; -moz-box-shadow: 0 4px 0 rgba(0,0,0,0.1) inset;

 	-webkit-box-shadow: 0 4px 0 rgba(0,0,0,0.1) inset;

}

.btn-system:last-child { margin-right: 0; }

.btn-system { font-size: 1em; width: auto; }

.btn-system.border-btn { background-color: transparent; border: 1px solid; box-shadow: none; -o-box-shadow: none; -moz-box-shadow: none;

 	-webkit-box-shadow: none;

}

.btn-system:hover { color: #fff; opacity: 0.8; }

.btn-system.border-btn:hover { opacity: 1; color: #fff; }

.btn-system.border-btn.btn-gray:hover { background-color: #444; color: #fff; }

.btn-system.border-btn.btn-black:hover { background-color: #111; color: #fff; }

.btn-system.border-btn.btn-wite:hover { background-color: #fff; }

.btn-system.btn-gray { background-color: #444; }

.btn-system.btn-black { background-color: #111; }

.btn-system.btn-wite{ background-color: #fff; }

.btn-system.border-btn.btn-gray { background-color: transparent; border: 1px solid #444; color: #444; }

.btn-system.border-btn.btn-black { background-color: transparent; border: 1px solid #111; color: #111; }

.btn-system.border-btn.btn-wite { background-color: transparent; border: 1px solid #fff; color: #fff; }

.btn-large { font-size: 14px; padding: 9px 22px; }

.btn-medium { font-size: 14px; padding: 7px 18px; }

.btn-small { padding: 5px 15px; }

.btn-mini { padding: 3px 12px; }

.btn-large.border-btn { padding: 8px 22px; }

.btn-medium.border-btn { padding: 6px 18px; }

.btn-small.border-btn { padding: 4px 15px; }

.btn-mini.border-btn { padding: 2px 12px; }


/*************** Alerts ***************/

.alert { }

.alert-success p { color: #468847; }

.alert-info p { color: #3a87ad; }

.alert-warning p { color: #c09853; }

.alert-danger p { color: #a94442; }

.alert h4 { margin-bottom: 10px; }

.alert strong { font-weight: 700; }


/*************** Pie Charts ***************/

.easyPieChart { font-size: 24px; font-weight: 400;

   position: relative;
   text-align: center;

display: inline-block; margin: 0 80px 20px 0; overflow: hidden; }

.easyPieChart:last-child { margin-right: 0; }

.easyPieChart span { color: #888; line-height: 20px; font-size: 13px; font-weight: 700 }

.easyPieChart i { position: absolute; width: 100%; top: -2px; right: 0; display: block; font-size: 3.5em; color: rgba(0,0,0,.05); text-align: center; }

.easyPieChart canvas {

   position: absolute;
   top: 0;
   left: 0;

}


/*************** Lists ***************/

ul.icons-list { margin-bottom: 6px; }

ul.icons-list li, ul.list-unstyled li { margin-bottom: 4px; }

ul.icons-list li i { font-size: 14px; margin-right: 4px; }


/*************** Tabs ***************/

.nav-tabs { border-color: #eee; }

.nav-tabs > li > a { font-weight: 700; color: #444; padding: 8px 14px; border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0;

   -moz-border-radius: 3px 3px 0 0;
   -o-border-radius: 3px 3px 0 0;

border: 1px solid #eee; border-bottom: none; box-shadow: 0 0 15px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 15px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 15px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow: 0 0 15px rgba(0,0,0,.04) inset;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.nav-tabs > li > a i { margin-right: 1px; }

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { color: #fff; border-color: #fff; box-shadow: 0 0 15px rgba(0,0,0,.1) inset; -o-box-shadow: 0 0 15px rgba(0,0,0,.1) inset; -moz-box-shadow: 0 0 15px rgba(0,0,0,.1) inset;

 	-webkit-box-shadow: 0 0 15px rgba(0,0,0,.1) inset;

}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border-color: #eee; border-bottom-color: #fff; }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { box-shadow: 0 0 0 rgba(0,0,0,.1) inset; -o-box-shadow: 0 0 0 rgba(0,0,0,.1) inset; -moz-box-shadow: 0 0 0 rgba(0,0,0,.1) inset;

 	-webkit-box-shadow: 0 0 0 rgba(0,0,0,.1) inset;

}

.tab-content { border: 1px solid #eee; border-top: none; padding: 12px 16px; }

.tab-content p { margin-bottom: 15px; }

.tab-content p:last-child { margin-bottom: 0; }


/*************** Icons ***************/

.icon-small { font-size: 2em; color: #444; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-small:hover, .service-box:hover .icon-small { text-shadow: 5px 5px 2px rgba(255,255,255,0); }

.icon-medium { font-size: 3em; color: #444; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-medium:hover, .service-box:hover .icon-medium { text-shadow: 5px 5px 2px rgba(255,255,255,0); }

.icon-large { font-size: 4em; color: #444; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-large:hover, .service-box:hover .icon-large { text-shadow: 5px 5px 2px rgba(255,255,255,0); }

.icon-mini-effect { position: relative; display: block; z-index: 1; font-size: 1.2em; color: #fff; top: 4px; width: 32px; height: 32px; line-height: 32px; text-align: center; margin: 0; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-medium-effect { position: relative; display: block; z-index: 1; font-size: 2em; color: #fff; width: 64px; height: 64px; line-height: 64px; text-align: center; margin: 0; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-large-effect { position: relative; display: block; z-index: 1; font-size: 2.6em; color: #fff; width: 80px; height: 80px; line-height: 80px; text-align: center; margin: 0; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.icon-mini-effect:after, .icon-medium-effect:after, .icon-large-effect:after { pointer-events: none; position: absolute; width: 100%; height: 100%; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

content: ; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }

/*First Icon Effect */ .icon-effect-1 { background-color: #fff; -webkit-transition: color 0.4s; -moz-transition: color 0.4s; transition: color 0.4s; }

.gray-icon.icon-effect-1 { box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-1:after { top: -2px; left: -2px; padding: 2px; z-index: -1; -webkit-transition: -webkit-transform 0.4s, opacity 0.4s; -moz-transition: -moz-transform 0.4s, opacity 0.4s; transition: transform 0.4s, opacity 0.4s; }

.gray-icon.icon-effect-1:after { background: #444; }

.icon-effect-1.gray-icon:hover, .service-box:hover .gray-icon.icon-effect-1 { color: #444; }

.icon-effect-1:hover:after, .service-box:hover .icon-effect-1:after { -webkit-transform: scale(1.3); -moz-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); opacity: 0; }

/*Seconed Icon Effect */ .icon-effect-2 { background: #fff; -webkit-transition: color 0.4s; -moz-transition: color 0.4s; transition: color 0.4s; }

.gray-icon.icon-effect-2 { color: #444; box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-2:after { top: -2px; left: -2px; padding: 2px; z-index: -1; -webkit-transform: scale(1.3); -moz-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); opacity: 0; -webkit-transition: -webkit-transform 0.4s, opacity 0.4s; -moz-transition: -moz-transform 0.4s, opacity 0.4s; transition: transform 0.4s, opacity 0.4s; }

.gray-icon.icon-effect-2:after { background: #444; }

.icon-effect-2:hover, .service-box:hover .icon-effect-2, .icon-effect-2.gray-icon:hover, .service-box:hover .gray-icon.icon-effect-2 { color: #fff; }

.icon-effect-2:hover:after, .service-box:hover .icon-effect-2:after { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); opacity: 1; }

/*Third Icon Effect */ .icon-effect-3 { background: #fff; }

.gray-icon.icon-effect-3 { color: #444; box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-3:hover:before, .service-box:hover .icon-effect-3:before { -webkit-animation: toRightFromLeft 0.4s forwards; -moz-animation: toRightFromLeft 0.4s forwards; animation: toRightFromLeft 0.4s forwards; }

@-webkit-keyframes toRightFromLeft { 49% { -webkit-transform: translate(100%); } 50% { opacity: 0; -webkit-transform: translate(-100%); } 51% { opacity: 1; } } @-moz-keyframes toRightFromLeft { 49% { -moz-transform: translate(100%); } 50% { opacity: 0; -moz-transform: translate(-100%); } 51% { opacity: 1; } } @keyframes toRightFromLeft { 49% { transform: translate(100%); } 50% { opacity: 0; transform: translate(-100%); } 51% { opacity: 1; } }

/*Fourth Icon Effect */ .icon-effect-4 { background: #fff; }

.gray-icon.icon-effect-4 { color: #444; box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-4:hover:before, .service-box:hover .icon-effect-4:before { -webkit-animation: toLeftFromRight 0.4s forwards; -moz-animation: toLeftFromRight 0.4s forwards; animation: toLeftFromRight 0.4s forwards; }

@-webkit-keyframes toLeftFromRight { 49% { -webkit-transform: translate(-100%); } 50% { opacity: 0; -webkit-transform: translate(100%); } 51% { opacity: 1; } } @-moz-keyframes toLeftFromRight { 49% { -moz-transform: translate(-100%); } 50% { opacity: 0; -moz-transform: translate(100%); } 51% { opacity: 1; } } @keyframes toLeftFromRight { 49% { transform: translate(-100%); } 50% { opacity: 0; transform: translate(100%); } 51% { opacity: 1; } }

/*Fifth Icon Effect */ .icon-effect-5 { background: #fff; }

.gray-icon.icon-effect-5 { color: #444; box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-5:hover:before, .service-box:hover .icon-effect-5:before { -webkit-animation: toTopFromBottom 0.4s forwards; -moz-animation: toTopFromBottom 0.4s forwards; animation: toTopFromBottom 0.4s forwards; }

@-webkit-keyframes toTopFromBottom { 49% { -webkit-transform: translateY(-100%); } 50% { opacity: 0; -webkit-transform: translateY(100%); } 51% { opacity: 1; } } @-moz-keyframes toTopFromBottom { 49% { -moz-transform: translateY(-100%); } 50% { opacity: 0; -moz-transform: translateY(100%); } 51% { opacity: 1; } } @keyframes toTopFromBottom { 49% { transform: translateY(-100%); } 50% { opacity: 0; transform: translateY(100%); } 51% { opacity: 1; } }

/*six Icon Effect */ .icon-effect-6 { background: #fff; }

.gray-icon.icon-effect-6 { color: #444; box-shadow: 0 0 0 3px #444; -o-box-shadow: 0 0 0 3px #444; -moz-box-shadow: 0 0 0 3px #444;

 	-webkit-box-shadow: 0 0 0 3px #444;

}

.icon-effect-6:hover:before, .service-box:hover .icon-effect-6:before { -webkit-animation: toBottomFromTop 0.4s forwards; -moz-animation: toBottomFromTop 0.4s forwards; animation: toBottomFromTop 0.4s forwards; }

@-webkit-keyframes toBottomFromTop { 49% { -webkit-transform: translateY(100%); } 50% { opacity: 0; -webkit-transform: translateY(-100%); } 51% { opacity: 1; } } @-moz-keyframes toBottomFromTop { 49% { -moz-transform: translateY(100%); } 50% { opacity: 0; -moz-transform: translateY(-100%); } 51% { opacity: 1; } } @keyframes toBottomFromTop { 49% { transform: translateY(100%); } 50% { opacity: 0; transform: translateY(-100%); } 51% { opacity: 1; } }


/*************** Service Box ***************/

.service-box .read-more { margin-top: 4px; font-weight: 500; margin-left: 2px; }

.service-box .read-more i { display: inline-block; position: relative; top: 1px; }

.image-service-box img { margin-bottom: 14px; }

.image-service-box h4 { margin-bottom: 8px; padding: 0 10px; }

.image-service-box p { padding: 0 10px; }

.service-box { margin-bottom: 35px; }

.service-center { text-align: center; }

.service-icon-left .service-icon { float: left; }

.service-icon-left .service-content { padding-left: 45px; }

.service-icon-left-more .service-icon { float: left; }

.service-icon-left-more .service-content { padding-left: 60px; }

.service-center .service-icon { margin-bottom: 14px; }

.service-center .service-content h4 { margin-bottom: 6px; }

.service-center .service-icon i { display: inline-block; }

.service-box h4 { margin-bottom: 5px; }

.service-box > div:first-child { padding: 0; }

.service-boxed { margin-top: 30px; padding: 0 15px 20px 15px !important; border: 1px solid #eee; border-radius: 4px; -webkit-border-radius: 4px;

   -moz-border-radius: 4px;
   -o-border-radius: 4px;

transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.service-boxed:hover { border-color: #e2e2e2; box-shadow: 0 0 6px rgba(0,0,0,.1); -o-box-shadow: 0 0 6px rgba(0,0,0,.1); -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);

 	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);

}

.service-boxed p {

   margin-bottom: 0;

}


/*************** Testimonials ***************/

.testimonials { padding-top: 8px; text-align: center; position: relative; }

.testimonials:after { font-family: "fontello"; content: '\eb5f'; font-size: 6em; line-height: 70px; display: block; position: absolute; top: 0; left: 50%; margin-left: -32px; color: rgba(255,255,255,.06); }

.testimonials .testimonial-content p { font-family: 'Lora', serif; font-size: 24px; line-height: 36px; font-style: italic; font-weight: 400; color: #444; }

.testimonials .testimonial-content { position: relative; }

.testimonials .testimonial-content p::before { content: open-quote; margin-right: 6px; }

.testimonials .testimonial-content p::after { content: close-quote; margin-left: 6px; }

.testimonials .testimonial-author { padding: 8px; margin-bottom: 10px; }

.classic-testimonials .testimonial-content { position: relative; padding: 14px 18px; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

margin-bottom: 10px; border: 1px solid #e8e8e8; box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 20px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow: 0 0 20px rgba(0,0,0,.04) inset;

}

.classic-testimonials .testimonial-content:before { content: "\201C"; font-weight: 300; position: absolute; font-size: 30px; opacity: 0.5; top: 8px; left: 6px; }

.classic-testimonials .testimonial-content:after { font-family: "fontello"; content: '\eba4'; font-size: 2em; height: 8px; line-height: 0; display: block; position: absolute; bottom: -8px; left: 33px; color: #fff; text-shadow: 0 2px 0 #eee; }

.classic-testimonials .testimonial-author { margin-left: 10px; }

.classic-testimonials .testimonial-author span { font-weight: 600; }


/*************** Team Members ***************/

.team-member { padding: 3px; position: relative; }

.team-member .member-photo { padding: 3px; border: 1px solid #eee; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

position: relative; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.team-member .member-photo .member-name { position: absolute; bottom: 12px; right: 10px; color: #fff; font-size: 14px; font-weight: 700; padding: 5px 14px; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

background-color: #444; z-index: 9994; }

.team-member .member-photo .member-name span { position: absolute; top: 90%; right: 0; color: #fff; font-size: 13px; font-weight: 300; padding: 1px 10px; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

}

.team-member .member-info { padding: 15px 6px 12px 6px; }

.team-member .member-socail { text-align: center; }

.team-member .member-socail a i { color: #fff; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

display: inline-block; background-color: #d2d2d2; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.team-member .member-socail a.facebook:hover i { background-color: #507CBE; }

.team-member .member-socail a.twitter:hover i { background-color: #63CDF1; }

.team-member .member-socail a.gplus:hover i { background-color: #F16261; }

.team-member .member-socail a.dribbble:hover i { background-color: #E46387; }

.team-member .member-socail a.linkedin:hover i { background-color: #90CADD; }

.team-member .member-socail a.flickr:hover i { background-color: #E474AF; }

.team-member .member-socail a.instagramm:hover i { background-color: #4D4F54; }

.team-member.modern .member-info { padding: 14px 0; }

.team-member.modern .member-photo { position: relative; padding: 0px; border: none; border-radius: 0; -webkit-border-radius: 0;

   -moz-border-radius: 0;
   -o-border-radius: 0;

}

.team-member.modern .member-photo:after { content: ""; display: block; width: 100%; height: calc(100% + 1px); opacity: 0; position: absolute; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

top: 5%; left: 0; z-index: 9993; background-color: #fff; transition: all 0.6s ease-in-out;

   -moz-transition: all 0.6s ease-in-out;
   -webkit-transition: all 0.6s ease-in-out;
   -o-transition: all 0.6s ease-in-out;

-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }

.team-member.modern:hover .member-photo:after { top: 10%; opacity: 0.2; width: 80%; height: calc(80% + 1px); left: 10%; }

.team-member.modern .progress { height: 6px; border-width: 2px; margin-bottom: 6px; }

.team-member.modern .progress-label { font-size: 11px; line-height: 16px; }

.team-member.modern .progress span { display: none; }

.team-member.modern .member-socail { margin-top: 15px; }

.team-member.modern .member-socail a i { background-color: transparent; color: #aaa; }

.team-member.modern .member-socail a:hover i { color: #fff; }


/*************** Heading Titles ***************/

.classic-title { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #eee; }

.classic-title span { padding-bottom: 8px; border-bottom: 1px solid; }

.big-title { margin-bottom: 20px; }

.big-title h1, .big-title h2 { font-size: 26px; line-height: 32px; font-weight: 400; }

.big-title h1 strong, .big-title h2 strong { font-weight: 800; }

.big-title .title-desc { font-size: 16px; line-height: 22px; color: #888; }

.big-title h2 + .title-desc, .big-title h1 + .title-desc { margin-top: 4px; }




/*------------------------------------------*/ /* 06 - Portfolio Styles /*------------------------------------------*/

.portfolio-filter { margin-bottom: 30px; }

.portfolio-filter li { display: inline-block; margin-right: 2px; }

.portfolio-filter li a { color: #888; display: inline-block; padding: 5px 14px; border: 1px solid #eee; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-filter li a:hover { border-color: #ddd; }

.portfolio-filter li a.selected, .portfolio-filter li a.selected:hover { color: #fff; }

.portfolio-item { margin-bottom: 30px; }

.portfolio-4 { margin-left: 5px; }

.portfolio-4 .portfolio-item { width: 24.99%!important; padding-left: 10px; padding-right: 10px; margin-bottom: 22px; }

.portfolio-item .portfolio-border { padding: 3px; border: 1px solid #eee; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

overflow: hidden; transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-item:hover .portfolio-border { box-shadow: 0 1px 3px #f8f8f8; -o-box-shadow: 0 1px 3px #f8f8f8; -moz-box-shadow: 0 1px 3px #f8f8f8;

 	-webkit-box-shadow: 0 1px 3px #f8f8f8;

}

.portfolio-item .portfolio-thumb { position: relative; overflow: hidden; }

.portfolio-item .portfolio-thumb .thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0); transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-item:hover .portfolio-thumb .thumb-overlay { background: rgba(255,255,255,0.5); }

.portfolio-item .portfolio-thumb .thumb-overlay i { color: rgba(255,255,255,0); position: absolute; top: 42%; left: 50%; display: block; margin-left: -27px; margin-top: -19px; font-size: 3em; transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-item:hover .portfolio-thumb .thumb-overlay i { top: 50%; color: #444; }

.portfolio-item .portfolio-details { position: relative; padding: 9px 12px 6px 12px; }

.portfolio-item .portfolio-details .like-link { position: absolute; right: 8px; top: 50%; margin-top: -9px; }

.portfolio-item .portfolio-details .like-link i, .portfolio-item .portfolio-details .like-link span { color: #aaa; transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-item .portfolio-details .like-link:hover i, .portfolio-item .portfolio-details .like-link:hover span { color: #F54B5C; }

.portfolio-item .portfolio-details h4 { transition: all 0.3s ease-in-out;

   -moz-transition: all 0.3s ease-in-out;
   -webkit-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;

}

.portfolio-item .portfolio-details a span { color: #888; }

.portfolio-item .portfolio-details span:after { content: ", "; margin-right: 2px; }

.portfolio-item .portfolio-details span:last-child:after { content: ""; }


/*---- Isotope filtering ----*/ .isotope-item {

   z-index: 2;

} .isotope-hidden.isotope-item {

   pointer-events: none;
   z-index: 1;

} .isotope, .isotope .isotope-item {/* change duration value to whatever you like */

   -webkit-transition-duration: 0.8s;
   -moz-transition-duration: 0.8s;
   transition-duration: 0.8s;

} .isotope {

   -webkit-transition-property: height, width;
   -moz-transition-property: height, width;
   transition-property: height, width;

} .isotope .isotope-item {

   -webkit-transition-property: -webkit-transform, opacity;
   -moz-transition-property:-moz-transform, opacity;
   transition-property:transform, opacity;

}




/*------------------------------------------*/ /* 07 - Single Project Styles /*------------------------------------------*/

.project-page { margin-bottom: 50px; }

.project-slider { position: relative; }

.project-slider img { border-radius: 4px; -webkit-border-radius: 4px;

   -moz-border-radius: 4px;
   -o-border-radius: 4px;

}

.project-slider .thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 4px; -webkit-border-radius: 4px;

   -moz-border-radius: 4px;
   -o-border-radius: 4px;

background-color: rgba(0,0,0,0); transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; }

.project-slider:hover .thumb-overlay { background: rgba(255,255,255,0.5); }

.project-slider .thumb-overlay i { font-size: 3em; color: rgba(0,0,0,0); position: absolute; left: 50%; top: 42%; margin-left: -27px; margin-top: -19px; transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; }

.project-slider:hover .thumb-overlay i { top: 50%; color: #444; }

.project-content h4 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee; }

.project-content h4 span { padding-bottom: 8px; border-bottom: 1px solid; }

.project-content p, .project-content ul { margin-bottom: 30px; }

.project-content ul li { margin-bottom: 5px; }


.recent-projects h4.title { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #eee; }

.recent-projects h4.title span { padding-bottom: 8px; border-bottom: 1px solid; }

.projects-carousel { width: 1150px !important; }

.projects-carousel .item { margin-right: 15px; margin-bottom: 0; }

.full-width-recent-projects .projects-carousel { width: 100% !important; }

.full-width-recent-projects .projects-carousel .item { margin: 0; }

.full-width-recent-projects .portfolio-item .portfolio-border { padding: 0; border: 0; border-radius: 0; box-shadow: none; }

.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { opacity: 0.65; z-index: 9994; }

.full-width-recent-projects .portfolio-item .portfolio-thumb .thumb-overlay i { top: 25%; }

.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay i { color: #fff; top: 45%; }

.full-width-recent-projects .portfolio-item .portfolio-details { position: absolute; bottom: -10px; opacity: 0; width: 100%; z-index: 9995; padding: 0 20px; transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; }

.full-width-recent-projects .portfolio-item:hover .portfolio-details { bottom: 10px; opacity: 1; }

.full-width-recent-projects .portfolio-item:hover .portfolio-details h4 { color: rgba(255,255,255,.9); }

.full-width-recent-projects .portfolio-item .portfolio-details a span { color: rgba(255,255,255,.8); }

.full-width-recent-projects .portfolio-item .portfolio-details .like-link i, .full-width-recent-projects .portfolio-item .portfolio-details .like-link span { color: #fff; }




/*------------------------------------------*/ /* 08 - Blog Styles /*------------------------------------------*/

.blog-post {

   margin-bottom: 40px;

padding-bottom: 40px; border-bottom: 1px solid #eee; }

.blog-post .post-head { overflow: hidden; position: relative; margin-bottom: 16px; }

.blog-post .post-head .thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 4px; -webkit-border-radius: 4px;

   -moz-border-radius: 4px;
   -o-border-radius: 4px;

background-color: rgba(0,0,0,0); transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.blog-post .post-head:hover .thumb-overlay { background-color: rgba(255,255,255,0.4); }

.blog-post .post-head .thumb-overlay i { font-size: 3em; color: rgba(0,0,0,0); position: absolute; left: 50%; top: 42%; margin-left: -27px; margin-top: -19px; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.blog-post .post-head:hover .thumb-overlay i { color: #444; top: 50%; }

.blog-post .post-head img { max-width: 100%; height: auto; border-radius: 4px; -webkit-border-radius: 4px;

   -moz-border-radius: 4px;
   -o-border-radius: 4px;

}

.blog-post .post-content { padding-left: 54px; position: relative; }

.blog-post .post-type { position: absolute; left: 0; top: 5px; width: 36px; height: 36px; line-height: 36px; text-align: center; background-color: #444; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

}

.blog-post .post-type i { font-size: 1.2em; color: #fff; }

.blog-post.quote-post .post-type { top: 0; }

.post-content h2 { margin-bottom: 4px; }

.post-content h2 a { color: #444; font-weight: 500; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.blog-post.quote-post .qoute-box { background: #444; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

padding: 20px 25px; color: #fff; margin-bottom: 10px; }

.blog-post.quote-post .qoute-box a { color: #999; }

.blog-post.quote-post .qoute-box h2 { font-family: 'Lora', serif; font-size: 18px; line-height: 26px; font-style: italic; font-weight: 400; color: #fff; margin-bottom: 10px; }

.blog-post.quote-post .qoute-box .qoute-author { margin-left: 5px; }

.blog-post.quote-post .qoute-box .qoute-author:before, .blog-post.quote-post .qoute-box .qoute-author:after { content: " - " }

.blog-post .post-slider { position: relative; }

ul.post-meta { margin-bottom: 10px; }

ul.post-meta li { display: inline-block; }

ul.post-meta li:after { content: "-"; margin: 0 8px 0 8px; }

ul.post-meta li:last-child:after { content: ""; margin: 0; }

ul.post-meta li, ul.post-meta li a { color: #666; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.post-content p {

   margin-bottom: 15px;

}

/*Pagination*/

  1. pagination span, #pagination a {

display: inline-block; text-align: center; height: 34px; width: 34px; color: #888; line-height: 33px; border: 1px solid #eee; border-radius: 2px;

   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

  1. pagination span.current {

color: #fff; }

  1. pagination a:hover {

border-color: #ddd; }

  1. pagination .all-pages, #pagination .next-page {

width: auto; padding: 0 14px; }




/*------------------------------------------*/ /* 09 - Single post Styles /*------------------------------------------*/

.blog-page, .blog-post-page { padding-top: 5px; }

.blog-post-page .blog-post { margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

.blog-post-page ul.post-meta { margin-bottom: 12px; }

.post-content h2 { font-weight: 500; }

.post-bottom { padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid #f6f6f6; }

.post-tags-list { float: right; padding-top: 6px; }

.post-tags-list a { display: inline-block; color: #888; font-size: 12px; padding: 2px 8px; background: #eee; margin-bottom: 4px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; }

.post-tags-list a:hover { color: #fff; }

.post-share { float: left; }

.post-share span { margin-right: 4px; font-size: 13px; color: #888; }

.post-share a { display: inline-block; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; }

.post-share a.facebook { background-color: #507CBE; }

.post-share a.facebook:hover { background-color: #3E68A8; }

.post-share a.twitter { background-color: #63CDF1; }

.post-share a.twitter:hover { background-color: #36BFED; }

.post-share a.gplus { background-color: #F16261; }

.post-share a.gplus:hover { background-color: #EF4545; }

.post-share a.linkedin { background-color: #90CADD; }

.post-share a.linkedin:hover { background-color: #72BBD3; }

.post-share a i { width: 32px; height: 32px; line-height: 32px; text-align: center; display: block; color: #fff; font-size: 1em; }

.blog-post .author-info { display: block; margin-bottom: 10px; }

.blog-post .author-info .author-image { float: left; }

.blog-post .author-info .author-image img { width: 70px; height: 70px; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

border: 4px solid #eee; }

.blog-post .author-info .author-bio { padding-left: 85px; }

.blog-post .author-info h4 { margin-bottom: 4px; }

.blog-post .author-info p:last-child { margin: 0; }

  1. comments .comments-list {

padding: 0; margin: 0 0 35px 0; }

  1. comments .comments-title {

font-weight: 500; margin-bottom: 20px; }

  1. comments .comments-list li .comment-box {

padding: 20px; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

margin-bottom: 20px; border: 1px solid #e8e8e8; box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -o-box-shadow: 0 0 20px rgba(0,0,0,.04) inset; -moz-box-shadow: 0 0 20px rgba(0,0,0,.04) inset;

 	-webkit-box-shadow: 0 0 20px rgba(0,0,0,.04) inset;

}

  1. comments .comments-list li ul {

padding-left: 80px; }

  1. comments .avatar {

float: left; }

  1. comments .avatar img {

width: 60px; height: 60px; padding: 3px; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

border: 1px solid #e8e8e8; }

  1. comments .comment-content {

padding-left: 72px; }

  1. comments .comment-content .comment-meta {

margin-bottom: 5px; }

.comment-content .comment-meta span:after { content: "-"; margin: 0 5px; font-weight: 100; color: #888; }

.comment-content .comment-meta span:last-child:after { content: ""; margin: 0; }

.comment-content .comment-meta .comment-by { font-weight: 700; color: #444; }

.comment-content .comment-meta .comment-date { color: #888; }

  1. respond .respond-title {

font-weight: 500; margin-bottom: 15px; }




/*------------------------------------------*/ /* 10 - SideBar Styles /*------------------------------------------*/

.sidebar {

   margin-bottom: 30px;

}

.sidebar a { color: #888; }

.sidebar .widget {

   overflow: hidden;
   margin-bottom: 50px;

}

.sidebar .widget ul { margin: 0; }

.widget-search input[type="search"] {

   position: relative;

margin: 0; float: left; width: calc(100% - 38px); border-right: none; border-radius: 2px 0 0 2px; -webkit-border-radius: 2px 0 0 2px;

   -moz-border-radius: 2px 0 0 2px;
   -o-border-radius: 2px 0 0 2px;

}

.widget-search .search-btn { display: inline-block; width: 38px; height: 37px; border: none; color: #fff; font-size: 1.2em; line-height: 36px; text-align: center; border-radius: 0 2px 2px 0; -webkit-border-radius: 0 2px 2px 0;

   -moz-border-radius: 0 2px 2px 0;
   -o-border-radius: 0 2px 2px 0;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.widget-search .search-btn:hover { background-color: #444; }

.sidebar .widget h4 { text-transform: uppercase; padding-bottom: 8px;

   margin-bottom: 16px;

font-size: 14px; font-weight: 700; position: relative; }

.sidebar .widget h4 .head-line { position: absolute; bottom: 0; left: 0; display: block; width: 50px; height: 3px; background-color: #ddd; margin: 0; }

.widget-categories ul li a { padding: 8px 0;

   text-decoration: none;
   display: block;

border-bottom: 1px solid #eee;

   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.widget-categories ul li:first-child a { padding-top: 0; }

.widget-categories ul li a:hover { padding-left: 8px; }

.sidebar .widget-popular-posts li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #eee; }

.sidebar .widget-popular-posts li:last-child { margin: 0; padding: 0; border: none; }

.sidebar .widget-popular-posts .widget-thumb { float: left; margin-right: 8px; border: 3px solid #eee; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

}

.sidebar .widget-popular-posts .widget-thumb img { width: 65px; height: 65px; opacity: 1; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.sidebar .widget-popular-posts .widget-thumb:hover img { opacity: 0.7; }

.sidebar .widget-popular-posts .widget-content h5 { font-size: 13px; line-height: 19px; margin-bottom: 5px; font-weight: 300; }

.sidebar .widget-popular-posts .widget-content span { color: #bbb; font-size: 12px; }

.sidebar .tagcloud a {

   display: inline-block;
   color: #888;
   font-size: 12px;
   padding: 4px 10px;
   background: #eee;

margin-bottom: 4px;

   border-radius: 2px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;
   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.sidebar .tagcloud a:hover {

   color: #fff;

}




/*------------------------------------------*/ /* 11 - Footer Styles /*------------------------------------------*/

footer { background-color: #222;

   padding-top: 60px;

border-top: 4px solid #555; color: #ccc; }

footer p { color: #ccc; }

footer a { color: #aaa; }

footer a:hover { color: #aaa; text-decoration: underline; }

.footer-widget {

   margin-bottom: 45px;

}

.footer-widget h4 { color: #eee; text-transform: uppercase; padding-bottom: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 700; position: relative; }

.footer-widget h4 .head-line { position: absolute; bottom: 0; left: 0; display: block; width: 50px; height: 3px; background-color: #333; margin: 0; }

.social-widget ul.social-icons li { display: inline-block; margin-right: 4px; margin-bottom: 4px; }

.social-widget ul.social-icons li a i { font-size: 1.4em; width: 36px; height: 36px; color: #fff; line-height: 36px; text-align: center; display: block; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.social-widget ul.social-icons li a.facebook:hover i { background-color: #507CBE; }

.social-widget ul.social-icons li a.twitter:hover i { background-color: #63CDF1; }

.social-widget ul.social-icons li a.google:hover i { background-color: #F16261; }

.social-widget ul.social-icons li a.dribbble:hover i { background-color: #E46387; }

.social-widget ul.social-icons li a.linkdin:hover i { background-color: #90CADD; }

.social-widget ul.social-icons li a.tumblr:hover i { background-color: #4D7EA3; }

.social-widget ul.social-icons li a.flickr:hover i { background-color: #E474AF; }

.social-widget ul.social-icons li a.instgram:hover i { background-color: #4D4F54; }

.social-widget ul.social-icons li a.vimeo:hover i { background-color: #87D3E0; }

.social-widget ul.social-icons li a.skype:hover i { background-color: #36C4F3 }

.contact-widget { background: url(../images/map.png) center bottom no-repeat; }

.contact-widget span { font-weight: 700; }

.contact-widget ul li {

   margin-bottom: 12px;

}

.contact-widget ul li p a {

   color: #bbb;

}

.twitter-widget a { color: #43B9CD; }

.twitter-widget a:hover { color: #43B9CD; text-decoration: underline; }

.twitter-widget ul li {

   margin-bottom: 20px;

}

.twitter-widget ul li span { color: #888; }

.flickr-widget ul {

   overflow: hidden;

}

.flickr-widget ul li {

   float: left;
   margin-left: 8px;
   margin-bottom: 8px;

}

.flickr-widget ul li:nth-child(3n+1) {

   margin-left: 0;

}

.flickr-widget ul li a {

   display: inline-block;

width: 80px; opacity: 0.6; border-radius: 2px; -webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;

border: 4px solid #333;

   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

.flickr-widget ul li a img {

   width: 100%;

height: 65px; }

.flickr-widget ul li a:hover { opacity: 1; }

.mail-subscribe-widget form {

   margin-top: 15px;
   margin-bottom: 20px;

}

.mail-subscribe-widget form input[type="text"] {

   outline: none;
   color: #888;
   font-size: 12px;
   padding: 6px 12px;

border: none;

   background: #fff;
   border-radius: 2px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;
   outline: none;

}

.copyright-section {

   padding: 15px 0;

font-size: 11px; letter-spacing: 0.5px;

   border-top: 1px solid rgba(255,255,255,.06);

}

.copyright-section p { font-size: 11px; text-transform: uppercase; }

ul.footer-nav {

   float: right;

}

ul.footer-nav li {

   display: inline-block;
   float: left;
   margin-left: 15px;

}

ul.footer-nav li:first-child {

   margin-left: 0;

}

ul.footer-nav li a {

   display: inline-block;
   text-transform: uppercase;
   text-decoration: none;
   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}

ul.footer-nav li a:hover { color: #fff; }

.back-to-top {

   display: none;
   position: fixed;
   bottom: 18px;
   right: 15px;

}

.back-to-top i {

   display: block;
   width: 36px;
   height: 36px;
   line-height: 36px;
   color: #fff;
   border-radius: 2px;

-webkit-border-radius: 2px;

   -moz-border-radius: 2px;
   -o-border-radius: 2px;
   text-align: center;
   background-color: #444;
   transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

}




/*------------------------------------------*/ /* 12 - Plugins Styles /*------------------------------------------*/


/*

* Nivo Lightbox v1.0
* http://dev7studios.com/nivo-lightbox
*
* Copyright 2013, Dev7studios
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/

.nivo-lightbox-overlay { position: fixed; top: 0; left: 0; z-index: 99999999; width: 100%; height: 100%; overflow: hidden; visibility: hidden; opacity: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .nivo-lightbox-overlay.nivo-lightbox-open { visibility: visible; opacity: 1; } .nivo-lightbox-wrap { position: absolute; top: 10%; bottom: 10%; left: 10%; right: 10%; } .nivo-lightbox-content { width: 100%; height: 100%; } .nivo-lightbox-title-wrap { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 99999; text-align: center; } .nivo-lightbox-nav { display: none; } .nivo-lightbox-prev { position: absolute; top: 50%; left: 0; } .nivo-lightbox-next { position: absolute; top: 50%; right: 0; } .nivo-lightbox-close { position: absolute; top: 2%; right: 2%; }

.nivo-lightbox-image { text-align: center; } .nivo-lightbox-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; vertical-align: middle; } .nivo-lightbox-content iframe { width: 100%; height: 100%; } .nivo-lightbox-ajax { max-height: 100%; overflow: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* https://bugzilla.mozilla.org/show_bug.cgi?id=308801 */ } .nivo-lightbox-error { display: table; text-align: center; width: 100%; height: 100%; color: #fff; text-shadow: 0 1px 1px #000; } .nivo-lightbox-error p { display: table-cell; vertical-align: middle; }

/* Effects

**********************************************/

.nivo-lightbox-effect-fade, .nivo-lightbox-effect-fadeScale, .nivo-lightbox-effect-slideLeft, .nivo-lightbox-effect-slideRight, .nivo-lightbox-effect-slideUp, .nivo-lightbox-effect-slideDown, .nivo-lightbox-effect-fall { -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }

/* fadeScale */ .nivo-lightbox-effect-fadeScale .nivo-lightbox-wrap { -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -ms-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; -webkit-transform: scale(0.7); -moz-transform: scale(0.7); -ms-transform: scale(0.7); transform: scale(0.7); } .nivo-lightbox-effect-fadeScale.nivo-lightbox-open .nivo-lightbox-wrap { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }

/* slideLeft / slideRight / slideUp / slideDown */ .nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap, .nivo-lightbox-effect-slideRight .nivo-lightbox-wrap, .nivo-lightbox-effect-slideUp .nivo-lightbox-wrap, .nivo-lightbox-effect-slideDown .nivo-lightbox-wrap { -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); -ms-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); -o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); } .nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap { -webkit-transform: translateX(-10%); -moz-transform: translateX(-10%); -ms-transform: translateX(-10%); transform: translateX(-10%); } .nivo-lightbox-effect-slideRight .nivo-lightbox-wrap { -webkit-transform: translateX(10%); -moz-transform: translateX(10%); -ms-transform: translateX(10%); transform: translateX(10%); } .nivo-lightbox-effect-slideLeft.nivo-lightbox-open .nivo-lightbox-wrap, .nivo-lightbox-effect-slideRight.nivo-lightbox-open .nivo-lightbox-wrap { -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } .nivo-lightbox-effect-slideDown .nivo-lightbox-wrap { -webkit-transform: translateY(-10%); -moz-transform: translateY(-10%); -ms-transform: translateY(-10%); transform: translateY(-10%); } .nivo-lightbox-effect-slideUp .nivo-lightbox-wrap { -webkit-transform: translateY(10%); -moz-transform: translateY(10%); -ms-transform: translateY(10%); transform: translateY(10%); } .nivo-lightbox-effect-slideUp.nivo-lightbox-open .nivo-lightbox-wrap, .nivo-lightbox-effect-slideDown.nivo-lightbox-open .nivo-lightbox-wrap { -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }

/* fall */ .nivo-lightbox-body-effect-fall .nivo-lightbox-effect-fall { -webkit-perspective: 1000px; -moz-perspective: 1000px; perspective: 1000px; } .nivo-lightbox-effect-fall .nivo-lightbox-wrap { -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform: translateZ(300px); -moz-transform: translateZ(300px); -ms-transform: translateZ(300px); transform: translateZ(300px); } .nivo-lightbox-effect-fall.nivo-lightbox-open .nivo-lightbox-wrap { -webkit-transform: translateZ(0); -moz-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); }

/*

* Nivo Lightbox Default Theme v1.0
* http://dev7studios.com/nivo-lightbox
*/

.nivo-lightbox-theme-default.nivo-lightbox-overlay { background: #666; background: rgba(0,0,0,0.8); } .nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading { background: url(../images/lightbox/loading.gif) no-repeat 50% 50%; }

.nivo-lightbox-theme-default .nivo-lightbox-nav { top: 10%; width: 8%; height: 80%; text-indent: -9999px; background-repeat: no-repeat; background-position: 50% 50%; opacity: 0.5; transition: all 0.2s ease-in-out;

   -moz-transition: all 0.2s ease-in-out;
   -webkit-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;

} .nivo-lightbox-theme-default .nivo-lightbox-nav:hover { opacity: 1; background-color: rgba(0,0,0,0.5); } .nivo-lightbox-theme-default .nivo-lightbox-prev { background-image: url(../images/lightbox/prev.png); border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0;

   -moz-border-radius: 0 3px 3px 0;
   -o-border-radius: 0 3px 3px 0;

} .nivo-lightbox-theme-default .nivo-lightbox-next { background-image: url(../images/lightbox/next.png); border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px;

   -moz-border-radius: 3px 0 0 3px;
   -o-border-radius: 3px 0 0 3px;

}

.nivo-lightbox-theme-default .nivo-lightbox-close { display: block; background: url(../images/lightbox/close.png) no-repeat 5px 5px; width: 16px; height: 16px; text-indent: -9999px; padding: 5px; opacity: 0.5; } .nivo-lightbox-theme-default .nivo-lightbox-close:hover { opacity: 1; }

.nivo-lightbox-theme-default .nivo-lightbox-title-wrap { bottom: -7%; } .nivo-lightbox-theme-default .nivo-lightbox-title { font: 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; background: #000; color: #fff; padding: 7px 15px; border-radius: 3px; -webkit-border-radius: 3px;

   -moz-border-radius: 3px;
   -o-border-radius: 3px;

}

.nivo-lightbox-theme-default .nivo-lightbox-image img { background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.5); -o-box-shadow: 0 0 8px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 8px rgba(0,0,0,0.5);

 	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.5);

} .nivo-lightbox-theme-default .nivo-lightbox-ajax, .nivo-lightbox-theme-default .nivo-lightbox-inline { background: #fff; padding: 40px; box-shadow: 0 0 8px rgba(0,0,0,0.5); -o-box-shadow: 0 0 8px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 8px rgba(0,0,0,0.5);

 	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.5);

}

@media (-webkit-min-device-pixel-ratio: 1.3),

      (-o-min-device-pixel-ratio: 2.6/2),
      (min--moz-device-pixel-ratio: 1.3),
      (min-device-pixel-ratio: 1.3),
      (min-resolution: 1.3dppx) {

.nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading { background-image: url(../images/lightbox/loading@2x.gif); background-size: 32px 32px; } .nivo-lightbox-theme-default .nivo-lightbox-prev { background-image: url(../images/lightbox/prev@2x.png); background-size: 48px 48px; } .nivo-lightbox-theme-default .nivo-lightbox-next { background-image: url(../images/lightbox/next@2x.png); background-size: 48px 48px; } .nivo-lightbox-theme-default .nivo-lightbox-close { background-image: url(../images/lightbox/close@2x.png); background-size: 16px 16px; }

}




/*

* 	Core Owl Carousel CSS
*	v1.24
*/

/* clearfix */ .owl-carousel .owl-wrapper:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

/* display none until init */ .owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; } .owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; } .owl-carousel .owl-wrapper-outer.autoHeight{ -webkit-transition: height 500ms ease-in-out; -moz-transition: height 500ms ease-in-out; -ms-transition: height 500ms ease-in-out; -o-transition: height 500ms ease-in-out; transition: height 500ms ease-in-out; }

.owl-carousel .owl-item{ float: left; } .owl-controls .owl-page, .owl-controls .owl-buttons div{ cursor: pointer; } .owl-controls { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

/* mouse grab icon */ .grabbing {

   cursor:url(../images/icons/grabbing.png) 8 8, move;

}

/* fix */ .owl-carousel .owl-wrapper, .owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;

 -webkit-transform: translate3d(0,0,0);
 -moz-transform: translate3d(0,0,0);
 -ms-transform: translate3d(0,0,0);

}

/* CSS3 Transitions */

.owl-origin { -webkit-perspective: 1200px; -webkit-perspective-origin-x : 50%; -webkit-perspective-origin-y : 50%; -moz-perspective : 1200px; -moz-perspective-origin-x : 50%; -moz-perspective-origin-y : 50%; perspective : 1200px; } /* fade */ .owl-fade-out {

 z-index: 10;
 -webkit-animation: fadeOut .7s both ease;
 -moz-animation: fadeOut .7s both ease;
 animation: fadeOut .7s both ease;

} .owl-fade-in {

 -webkit-animation: fadeIn .7s both ease;
 -moz-animation: fadeIn .7s both ease;
 animation: fadeIn .7s both ease;

} /* backSlide */ .owl-backSlide-out {

 -webkit-animation: backSlideOut 1s both ease;
 -moz-animation: backSlideOut 1s both ease;
 animation: backSlideOut 1s both ease;

} .owl-backSlide-in {

 -webkit-animation: backSlideIn 1s both ease;
 -moz-animation: backSlideIn 1s both ease;
 animation: backSlideIn 1s both ease;

} /* goDown */ .owl-goDown-out {

 -webkit-animation: scaleToFade .7s ease both;
 -moz-animation: scaleToFade .7s ease both;
 animation: scaleToFade .7s ease both;

} .owl-goDown-in {

 -webkit-animation: goDown .6s ease both;
 -moz-animation: goDown .6s ease both;
 animation: goDown .6s ease both;

} /* scaleUp */ .owl-fadeUp-in {

 -webkit-animation: scaleUpFrom .5s ease both;
 -moz-animation: scaleUpFrom .5s ease both;
 animation: scaleUpFrom .5s ease both;

}

.owl-fadeUp-out {

 -webkit-animation: scaleUpTo .5s ease both;
 -moz-animation: scaleUpTo .5s ease both;
 animation: scaleUpTo .5s ease both;

} /* Keyframes */ /*empty*/ @-webkit-keyframes empty {

 0% {opacity: 1}

} @-moz-keyframes empty {

 0% {opacity: 1}

} @keyframes empty {

 0% {opacity: 1}

} @-webkit-keyframes fadeIn {

 0% { opacity:0; }
 100% { opacity:1; }

} @-moz-keyframes fadeIn {

 0% { opacity:0; }
 100% { opacity:1; }

} @keyframes fadeIn {

 0% { opacity:0; }
 100% { opacity:1; }

} @-webkit-keyframes fadeOut {

 0% { opacity:1; }
 100% { opacity:0; }

} @-moz-keyframes fadeOut {

 0% { opacity:1; }
 100% { opacity:0; }

} @keyframes fadeOut {

 0% { opacity:1; }
 100% { opacity:0; }

} @-webkit-keyframes backSlideOut {

 25% { opacity: .5; -webkit-transform: translateZ(-500px); }
 75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
 100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }

} @-moz-keyframes backSlideOut {

 25% { opacity: .5; -moz-transform: translateZ(-500px); }
 75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
 100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }

} @keyframes backSlideOut {

 25% { opacity: .5; transform: translateZ(-500px); }
 75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
 100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }

} @-webkit-keyframes backSlideIn {

 0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
 75% { opacity: .5; -webkit-transform: translateZ(-500px); }
 100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }

} @-moz-keyframes backSlideIn {

 0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
 75% { opacity: .5; -moz-transform: translateZ(-500px); }
 100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }

} @keyframes backSlideIn {

 0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
 75% { opacity: .5; transform: translateZ(-500px); }
 100% { opacity: 1; transform: translateZ(0) translateX(0); }

} @-webkit-keyframes scaleToFade {

 to { opacity: 0; -webkit-transform: scale(.8); }

} @-moz-keyframes scaleToFade {

 to { opacity: 0; -moz-transform: scale(.8); }

} @keyframes scaleToFade {

 to { opacity: 0; transform: scale(.8); }

} @-webkit-keyframes goDown {

 from { -webkit-transform: translateY(-100%); }

} @-moz-keyframes goDown {

 from { -moz-transform: translateY(-100%); }

} @keyframes goDown {

 from { transform: translateY(-100%); }

}

@-webkit-keyframes scaleUpFrom {

 from { opacity: 0; -webkit-transform: scale(1.5); }

} @-moz-keyframes scaleUpFrom {

 from { opacity: 0; -moz-transform: scale(1.5); }

} @keyframes scaleUpFrom {

 from { opacity: 0; transform: scale(1.5); }

}

@-webkit-keyframes scaleUpTo {

 to { opacity: 0; -webkit-transform: scale(1.5); }

} @-moz-keyframes scaleUpTo {

 to { opacity: 0; -moz-transform: scale(1.5); }

} @keyframes scaleUpTo {

 to { opacity: 0; transform: scale(1.5); }

}

/*

  • Owl Carousel Owl Theme
  • /

.owl-theme .owl-controls{ text-align: center; }

/* Styling Next and Prev buttons */

.touch-slider .owl-controls .owl-buttons div{ position: absolute; top: 50%; height: 60px; line-height: 60px; display: inline-block; zoom: 1; padding: 0 1px; *display: inline;/*IE7 life-saver */ border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

background: #444; filter: Alpha(Opacity=60);/*IE7 fix*/ opacity: 0.6; margin-top: -30px; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.touch-slider:hover .owl-controls .owl-buttons div{ filter: Alpha(Opacity=100);/*IE7 fix*/ opacity: 1; }

.touch-slider .owl-controls .owl-buttons div.owl-prev{ left: 0; border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0;

   -moz-border-radius: 0 3px 3px 0;
   -o-border-radius: 0 3px 3px 0;

}

.touch-slider .owl-controls .owl-buttons div.owl-next{ right: 0; border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px;

   -moz-border-radius: 3px 0 0 3px;
   -o-border-radius: 3px 0 0 3px;

}

.touch-slider .owl-controls .owl-buttons div i{ font-size: 1.8em; color: #fff; }


.touch-carousel .owl-controls .owl-buttons { position: absolute; top: -50px; right: 2px; }

.touch-carousel.projects-carousel .owl-controls .owl-buttons { right: 12px; }

.touch-carousel.navigation-2 .owl-controls .owl-buttons { position: relative; top: 0; right: 0; }

.touch-carousel.navigation-2.clients-carousel .owl-controls .owl-buttons { top: -8px; }

.touch-carousel.navigation-2 .owl-controls .owl-buttons div, .touch-carousel.navigation-3 .owl-controls .owl-buttons div{ background-color: #f2f2f2; }

.touch-carousel.navigation-2 .owl-controls .owl-buttons div i, .touch-carousel.navigation-3 .owl-controls .owl-buttons div i{ color: #666; }

.touch-carousel.navigation-3 { padding-top: 45px; }

.touch-carousel.navigation-3.clients-carousel { padding-top: 25px; }

.touch-carousel.navigation-3 .owl-controls .owl-buttons { position: absolute; top: 0; right: 0; width: 100%; }

.touch-carousel.navigation-2 .owl-controls .owl-buttons div, .touch-carousel.navigation-3 .owl-controls .owl-buttons div { width: 28px; height: 28px; line-height: 28px; border-radius: 50%; -webkit-border-radius: 50%;

   -moz-border-radius: 50%;
   -o-border-radius: 50%;

}

.touch-carousel.navigation-3.projects-carousel .owl-controls .owl-buttons { right: 9px; }

.touch-carousel .owl-controls .owl-buttons div, .testimonials-carousel .owl-controls .owl-buttons div { height: 22px; width: 22px; line-height: 22px; display: inline-block; zoom: 1; *display: inline;/*IE7 life-saver */ -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; background-color: #fff; margin-left: 4px; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.touch-carousel .owl-controls .owl-buttons div i, .testimonials-carousel .owl-controls .owl-buttons div i { font-size: 1.2em; color: #ccc; text-shadow: 0 1px 1px rgba(0,0,0,.2); transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.testimonials-carousel .owl-controls .owl-buttons div i { color: #fff; }

.touch-carousel .owl-controls.clickable .owl-buttons div:hover i { color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.3); }

.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover { background-color: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.2); }


/* Styling Pagination*/

.owl-pagination { position: absolute; width: 100%; left: 0; bottom: 5px; }

.owl-theme .owl-controls .owl-page{ display: inline-block; zoom: 1; *display: inline;/*IE7 life-saver */ } .owl-theme .owl-controls .owl-page span{ display: block; width: 16px; height: 16px; margin: 2px 4px; filter: Alpha(Opacity=50);/*IE7 fix*/ opacity: 0.5; -webkit-border-radius: 50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; border: 3px solid #444; transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

}

.touch-slider:hover .owl-controls .owl-page span { filter: Alpha(Opacity=100);/*IE7 fix*/ opacity: 1; }

.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{ border-color: #0A95D8; }

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{ height: auto; width: auto; color: #FFF; padding: 2px 10px; font-size: 12px; -webkit-border-radius: 30px; -moz-border-radius: 30px; -o-border-radius: 30px; border-radius: 30px; }

  1. bar{

width: 0%; max-width: 100%; height: 4px; background: #444; filter: Alpha(Opacity=50);/*IE7 fix*/ opacity: 0.5; }

  1. progressBar{

position: absolute; top: 0; z-index: 99; width: 100%; }

/* preloading images */ .owl-item.loading{ min-height: 150px; background: url(../images/icons/ajaxloader.gif) no-repeat center center }





/******* Style Switcher *******/ .switcher-box { width: 212px; position: fixed; left: -212px; top: 160px; text-align: center; z-index: 99999999999; background-color: #fff; border-radius: 0 0 2px 0; border-radius: 0 5px 5px 0; -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.2); -moz-box-shadow: 0 0 5px rgba(0,0,0,0.2); box-shadow: 0 0 5px rgba(0,0,0,0.2); transition: all 0.4s ease-in-out;

   -moz-transition: all 0.4s ease-in-out;
   -webkit-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;

} .switcher-box h4 { display: block; height: 40px; line-height: 42px; font-size: 14px; font-weight: 700; color: #fff; background-color: #333; margin-bottom: 10px; } .switcher-box span { display: block; padding: 5px 20px; text-align: left; } .switcher-box .colors-list { padding: 0 18px 0 18px; margin-bottom: 8px; line-height: 20px; } .switcher-box .colors-list li { display: inline-block; margin-right: 2px; } .switcher-box .colors-list li a { display: block; width: 24px; height: 18px; cursor: pointer; } .switcher-box .colors-list li a.blue { background-color: #0a9fd8; } .switcher-box .colors-list li a.cyan { background-color: #27bebe; } .switcher-box .colors-list li a.jade { background-color: #0bb586; } .switcher-box .colors-list li a.red { background-color: #ee3733; } .switcher-box .colors-list li a.peach { background-color: #f49237; } .switcher-box .colors-list li a.sky-blue { background-color: #38cbcb; } .switcher-box .colors-list li a.yellow { background-color: #f8ba01; } .switcher-box .colors-list li a.green { background-color: #94c523; } .switcher-box .colors-list li a.orange { background-color: #f36510; } .switcher-box .colors-list li a.pink { background-color: #f1505b; } .switcher-box .colors-list li a.purple { background-color: #6a3da3; } .switcher-box .colors-list li a.beige { background-color: #fdb655; } .switcher-box .layout-style, .switcher-box .topbar-style { width: 172px; padding: 6px 9px; outline: none; display: block; background: #fff; border-radius: 3px; padding: 4px 6px; color: #888; cursor: pointer; border-radius: 2px; font-size: 12px; margin: 0 0 12px 20px; border: 1px solid #ddd; -webkit-box-shadow: inset 1px 1px 3px 0px rgba(0, 0, 0, 0.06); box-shadow: inset 1px 1px 3px 0px rgba(0, 0, 0, 0.06); } .switcher-box .bg-list { padding: 0 18px 0 18px; margin-bottom: 18px; } .switcher-box .bg-list li { display: inline-block; margin-right: 2px; } .switcher-box .bg-list li a { display: block; width: 20px; height: 20px; } .switcher-box .bg-list li a.bg1 { background: url(../images/patterns/1.png) repeat; } .switcher-box .bg-list li a.bg2 { background: url(../images/patterns/2.png) repeat; } .switcher-box .bg-list li a.bg3 { background: url(../images/patterns/3.png) repeat; } .switcher-box .bg-list li a.bg4 { background: url(../images/patterns/4.png) repeat; } .switcher-box .bg-list li a.bg5 { background: url(../images/patterns/5.png) repeat; } .switcher-box .bg-list li a.bg6 { background: url(../images/patterns/6.png) repeat; } .switcher-box .bg-list li a.bg7 { background: url(../images/patterns/7.png) repeat; } .switcher-box .bg-list li a.bg8 { background: url(../images/patterns/8.png) repeat; } .switcher-box .bg-list li a.bg9 { background: url(../images/patterns/9.png) repeat; } .switcher-box .bg-list li a.bg10 { background: url(../images/patterns/10.png) repeat; } .switcher-box .bg-list li a.bg11 { background: url(../images/patterns/11.png) repeat; } .switcher-box .bg-list li a.bg12 { background: url(../images/patterns/12.png) repeat; } .switcher-box .bg-list li a.bg13 { background: url(../images/patterns/13.png) repeat; } .switcher-box .bg-list li a.bg14 { background: url(../images/patterns/14.png) repeat; }

.switcher-box .open-switcher { width: 40px; height: 40px; display: block; position: absolute; top: 0; left: 100%; border-radius: 0 2px 2px 0; background: url(../images/icons/switcher.png) #444 center no-repeat; -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2); -moz-box-shadow: 0 0 4px rgba(0,0,0,0.2); box-shadow: 0 0 4px rgba(0,0,0,0.2); } .switcher-box .open-switcher i { display: none; } @media (max-width: 1200px) {

.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background: #fff; padding: 8px 5px 6px 5px; }

.navbar-default .navbar-toggle i { color: #bbb; font-size: 2em; }

.quote-buttons span { margin: 0 2px; }

.flickr-widget ul li { margin-left: 0px; margin-right: 7px; }

.subscribe-widget form input[type="text"] { margin-bottom: 10px; }

.history-content p { max-height: 36px; line-height: 20px; overflow: hidden; }

.projects-carousel { width: 950px!important; } }

@media (max-width: 991px) {

.boxed-page, .boxed-page header { width: 100%; }

.tp-caption a.btn-system { font-size: 6px; padding: 2px 4px; }

.navbar-brand { padding: 25px 15px; }

.navbar-default .navbar-nav { margin: 0 !important; top: 0; }

ul.social-list { float: none !important; text-align: center; }

ul.social-list li { float: none !important; display: inline-block; }

.quote-buttons { text-align: center; }

.copyright-section { text-align: center; }

ul.footer-nav { float: none !important; text-align: center; margin-top: 10px; }

.page-banner { text-align: center; }

ul.breadcrumbs { float: none; }

ul.breadcrumbs li { float: none; display: inline-block; float: left\0/; }

.portfolio-4 .portfolio-item { width: 49.99%!important; padding-left: 15px; padding-right: 15px; margin-bottom: 30px; }

.projects-carousel { width: 100% !important; }

.pricing-tables .pricing-table { width: 50% !important; margin-bottom: 15px; }

.pricing-tables .highlight-plan { margin: 0; }

.pricing-tables .pricing-table.highlight-plan .plan-name { padding: 15px 0; }

.pricing-tables .pricing-table.highlight-plan .plan-signup { padding:25px 0; }

.pricing-tables .pricing-table:hover { top: 0; }

}

@media (max-width: 768px) {

   .contact-details {

display: none; }

.tp-leftarrow, .tp-rightarrow { display: none!important; }

   .tp-caption a.btn-system {

display: none; }

.history-box img { float: none; width: 100%; }

.history-content { float: none; width: 100% !important; }

.history-box span.history-date { right: inherit; left: 15px; }

.portfolio-filter li { margin-bottom: 8px; }

.portfolio-4 .portfolio-item { width: 100%!important; padding-left: 15px; padding-right: 15px; margin-bottom: 20px; }

   .milestone-block {
       margin-bottom: 20px;
       margin-right: 45px;
   }

} @media only screen and (max-width: 479px) {

   .top-bar  {

text-align: center; }

.navbar-default .navbar-nav { padding: 15px 0; }

.show-search, .search-form { display: none; }

   ul.social-list li {

margin: 0 3px; }

ul.social-list li a i { font-size: 0.9em; display: block; width: auto; line-height: 30px; border: none!important; }

ul.social-list li a:hover { background-color: transparent!important; }

ul.social-list li a.facebook:hover { color: #507CBE; }

ul.social-list li a.twitter:hover { color: #63CDF1; }

ul.social-list li a.google:hover { color: #F16261; }

ul.social-list li a.dribbble:hover { color: #E46387; }

ul.social-list li a.linkdin:hover { color: #90CADD; }

ul.social-list li a.tumblr:hover { color: #4D7EA3; }

ul.social-list li a.flickr:hover { color: #E474AF; }

ul.social-list li a.instgram:hover { color: #4D4F54; }

ul.social-list li a.vimeo:hover { color: #87D3E0; }

ul.social-list li a.skype:hover { color: #36C4F3 }

.navbar-default .navbar-toggle { margin-top: 15px; outline: none; }

.navbar-default .navbar-nav > li > a { border: none; padding: 5px 10px; display: block; border: none !important; padding-right: 0; }

.navbar-default .navbar-nav > li > a:after { display: none; }

.navbar-default .navbar-nav > li > a:hover { opacity: 0.7; }

   .navbar-default .navbar-nav > li {

margin-left: 0; display: block; margin-bottom: 5px;

       width: 100%

}

.navbar-default .navbar-nav > li.drop > a { padding-right: 10px; }

.navbar-default .navbar-nav > li.drop > a { border-radius: 2px; }

ul.dropdown, ul.sup-dropdown { opacity: 1!important; position: relative !important; visibility: visible !important; width: 100% !important; top: inherit !important; left: 0 !important; margin-top: 0 !important; background: #fff !important; padding-left: 20px !important; box-shadow: none !important; }

ul.dropdown li, ul.sup-dropdown li { border-top: none; }

   .milestone-block {
       display: block;
       clear: left;
       margin-right: 0;
   }
 
   .btn-system {
       margin-bottom: 10px;
   }
 
   .easyPieChart {
     font-size: 24px;
     font-weight: 400;
     position: relative;
     text-align: center;
     display: inline-block;
     margin: 0 0 20px 0;
     overflow: hidden;
   }
   

} .animated.delay-01 { animation-delay: 0s; -webkit-animation-delay: 0s; -moz-animation-delay: 0s; -o-animation-delay: 0s; }

.animated.delay-02 { animation-delay: 0.5s; -webkit-animation-delay: 0.5s; -moz-animation-delay: 0.5s; -o-animation-delay: 0.5s; }

.animated.delay-03 { animation-delay: 1s; -webkit-animation-delay: 1s; -moz-animation-delay: 1s; -o-animation-delay: 1s; }

.animated.delay-04 { animation-delay: 1.5s; -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; -o-animation-delay: 1.5s; }

.animated.delay-05 { animation-delay: 2s; -webkit-animation-delay: 2s; -moz-animation-delay: 2s; -o-animation-delay: 2s; }

.animated.delay-06 { animation-delay: 2.5s; -webkit-animation-delay: 2.5s; -moz-animation-delay: 2.5s; -o-animation-delay: 2.5s; }

.animated.delay-07 { animation-delay: 3s; -webkit-animation-delay: 3s; -moz-animation-delay: 3s; -o-animation-delay: 3s; }

.animated.delay-08 { animation-delay: 3.5s; -webkit-animation-delay: 3.5s; -moz-animation-delay: 3.5s; -o-animation-delay: 3.5s; }

.animated.delay-09 { animation-delay: 4s; -webkit-animation-delay: 4s; -moz-animation-delay: 4s; -o-animation-delay: 4s; }

.animated.delay-10 { animation-delay: 4.5s; -webkit-animation-delay: 4.5s; -moz-animation-delay: 4.5s; -o-animation-delay: 4.5s; }

.animated.delay-11 { animation-delay: 5s; -webkit-animation-delay: 5s; -moz-animation-delay: 5s; -o-animation-delay: 5s; }

.animated.delay-12 { animation-delay: 5.5s; -webkit-animation-delay: 5.5s; -moz-animation-delay: 5.5s; -o-animation-delay: 5.5s; }

.animated.delay-13 { animation-delay: 6s; -webkit-animation-delay: 6s; -moz-animation-delay: 6s; -o-animation-delay: 6s; }

.animated.delay-14 { animation-delay: 6.5s; -webkit-animation-delay: 6.5s; -moz-animation-delay: 6.5s; -o-animation-delay: 6.5s; }

.animated.delay-15 { animation-delay: 7s; -webkit-animation-delay: 7s; -moz-animation-delay: 7s; -o-animation-delay: 7s; }

.animated.delay-16 { animation-delay: 7.5s; -webkit-animation-delay: 7.5s; -moz-animation-delay: 7.5s; -o-animation-delay: 7.5s; }

.animated.delay-17 { animation-delay: 8s; -webkit-animation-delay: 8s; -moz-animation-delay: 8s; -o-animation-delay: 8s; }

.animated.delay-18 { animation-delay: 8.5s; -webkit-animation-delay: 8.5s; -moz-animation-delay: 8.5s; -o-animation-delay: 8.5s; }

.animated.delay-19 { animation-delay: 9s; -webkit-animation-delay: 9s; -moz-animation-delay: 9s; -o-animation-delay: 9s; }

.animated.delay-20 { animation-delay: 9.5s; -webkit-animation-delay: 9.5s; -moz-animation-delay: 9.5s; -o-animation-delay: 9.5s; }

.animated { -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; }

.animated.hinge{ -webkit-animation-duration:2s; -moz-animation-duration:2s; -ms-animation-duration:2s; -o-animation-duration:2s; animation-duration:2s; }

@-webkit-keyframes flash { 0%, 50%, 100% {opacity: 1;} 25%, 75% {opacity: 0;} }

@-moz-keyframes flash { 0%, 50%, 100% {opacity: 1;} 25%, 75% {opacity: 0;} }

@-o-keyframes flash { 0%, 50%, 100% {opacity: 1;} 25%, 75% {opacity: 0;} }

@keyframes flash { 0%, 50%, 100% {opacity: 1;} 25%, 75% {opacity: 0;} }

.flash { -webkit-animation-name: flash; -moz-animation-name: flash; -o-animation-name: flash; animation-name: flash; } @-webkit-keyframes shake { 0%, 100% {-webkit-transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} }

@-moz-keyframes shake { 0%, 100% {-moz-transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);} 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);} }

@-o-keyframes shake { 0%, 100% {-o-transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);} 20%, 40%, 60%, 80% {-o-transform: translateX(10px);} }

@keyframes shake { 0%, 100% {transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} 20%, 40%, 60%, 80% {transform: translateX(10px);} }

.shake { -webkit-animation-name: shake; -moz-animation-name: shake; -o-animation-name: shake; animation-name: shake; } @-webkit-keyframes bounce { 0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 40% {-webkit-transform: translateY(-30px);} 60% {-webkit-transform: translateY(-15px);} }

@-moz-keyframes bounce { 0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);} 40% {-moz-transform: translateY(-30px);} 60% {-moz-transform: translateY(-15px);} }

@-o-keyframes bounce { 0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);} 40% {-o-transform: translateY(-30px);} 60% {-o-transform: translateY(-15px);} } @keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-30px);} 60% {transform: translateY(-15px);} }

.bounce { -webkit-animation-name: bounce; -moz-animation-name: bounce; -o-animation-name: bounce; animation-name: bounce; } @-webkit-keyframes tada { 0% {-webkit-transform: scale(1);} 10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);} 30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);} 40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);} 100% {-webkit-transform: scale(1) rotate(0);} }

@-moz-keyframes tada { 0% {-moz-transform: scale(1);} 10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);} 30%, 50%, 70%, 90% {-moz-transform: scale(1.1) rotate(3deg);} 40%, 60%, 80% {-moz-transform: scale(1.1) rotate(-3deg);} 100% {-moz-transform: scale(1) rotate(0);} }

@-o-keyframes tada { 0% {-o-transform: scale(1);} 10%, 20% {-o-transform: scale(0.9) rotate(-3deg);} 30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);} 40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);} 100% {-o-transform: scale(1) rotate(0);} }

@keyframes tada { 0% {transform: scale(1);} 10%, 20% {transform: scale(0.9) rotate(-3deg);} 30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);} 40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);} 100% {transform: scale(1) rotate(0);} }

.tada { -webkit-animation-name: tada; -moz-animation-name: tada; -o-animation-name: tada; animation-name: tada; } @-webkit-keyframes swing { 20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; } 20% { -webkit-transform: rotate(15deg); } 40% { -webkit-transform: rotate(-10deg); } 60% { -webkit-transform: rotate(5deg); } 80% { -webkit-transform: rotate(-5deg); } 100% { -webkit-transform: rotate(0deg); } }

@-moz-keyframes swing { 20% { -moz-transform: rotate(15deg); } 40% { -moz-transform: rotate(-10deg); } 60% { -moz-transform: rotate(5deg); } 80% { -moz-transform: rotate(-5deg); } 100% { -moz-transform: rotate(0deg); } }

@-o-keyframes swing { 20% { -o-transform: rotate(15deg); } 40% { -o-transform: rotate(-10deg); } 60% { -o-transform: rotate(5deg); } 80% { -o-transform: rotate(-5deg); } 100% { -o-transform: rotate(0deg); } }

@keyframes swing { 20% { transform: rotate(15deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(5deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(0deg); } }

.swing { -webkit-transform-origin: top center; -moz-transform-origin: top center; -o-transform-origin: top center; transform-origin: top center; -webkit-animation-name: swing; -moz-animation-name: swing; -o-animation-name: swing; animation-name: swing; } /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes wobble {

 0% { -webkit-transform: translateX(0%); }
 15% { -webkit-transform: translateX(-25%) rotate(-5deg); }
 30% { -webkit-transform: translateX(20%) rotate(3deg); }
 45% { -webkit-transform: translateX(-15%) rotate(-3deg); }
 60% { -webkit-transform: translateX(10%) rotate(2deg); }
 75% { -webkit-transform: translateX(-5%) rotate(-1deg); }
 100% { -webkit-transform: translateX(0%); }

}

@-moz-keyframes wobble {

 0% { -moz-transform: translateX(0%); }
 15% { -moz-transform: translateX(-25%) rotate(-5deg); }
 30% { -moz-transform: translateX(20%) rotate(3deg); }
 45% { -moz-transform: translateX(-15%) rotate(-3deg); }
 60% { -moz-transform: translateX(10%) rotate(2deg); }
 75% { -moz-transform: translateX(-5%) rotate(-1deg); }
 100% { -moz-transform: translateX(0%); }

}

@-o-keyframes wobble {

 0% { -o-transform: translateX(0%); }
 15% { -o-transform: translateX(-25%) rotate(-5deg); }
 30% { -o-transform: translateX(20%) rotate(3deg); }
 45% { -o-transform: translateX(-15%) rotate(-3deg); }
 60% { -o-transform: translateX(10%) rotate(2deg); }
 75% { -o-transform: translateX(-5%) rotate(-1deg); }
 100% { -o-transform: translateX(0%); }

}

@keyframes wobble {

 0% { transform: translateX(0%); }
 15% { transform: translateX(-25%) rotate(-5deg); }
 30% { transform: translateX(20%) rotate(3deg); }
 45% { transform: translateX(-15%) rotate(-3deg); }
 60% { transform: translateX(10%) rotate(2deg); }
 75% { transform: translateX(-5%) rotate(-1deg); }
 100% { transform: translateX(0%); }

}

.wobble { -webkit-animation-name: wobble; -moz-animation-name: wobble; -o-animation-name: wobble; animation-name: wobble; } /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes pulse {

   0% { -webkit-transform: scale(1); }	

50% { -webkit-transform: scale(1.1); }

   100% { -webkit-transform: scale(1); }

} @-moz-keyframes pulse {

   0% { -moz-transform: scale(1); }	

50% { -moz-transform: scale(1.1); }

   100% { -moz-transform: scale(1); }

} @-o-keyframes pulse {

   0% { -o-transform: scale(1); }	

50% { -o-transform: scale(1.1); }

   100% { -o-transform: scale(1); }

} @keyframes pulse {

   0% { transform: scale(1); }	

50% { transform: scale(1.1); }

   100% { transform: scale(1); }

}

.pulse { -webkit-animation-name: pulse; -moz-animation-name: pulse; -o-animation-name: pulse; animation-name: pulse; } @-webkit-keyframes flip { 0% { -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -webkit-animation-timing-function: ease-out; } 40% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -webkit-animation-timing-function: ease-out; } 50% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -webkit-animation-timing-function: ease-in; } 80% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -webkit-animation-timing-function: ease-in; } 100% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -webkit-animation-timing-function: ease-in; } } @-moz-keyframes flip { 0% { -moz-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -moz-animation-timing-function: ease-out; } 40% { -moz-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -moz-animation-timing-function: ease-out; } 50% { -moz-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -moz-animation-timing-function: ease-in; } 80% { -moz-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -moz-animation-timing-function: ease-in; } 100% { -moz-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -moz-animation-timing-function: ease-in; } } @-o-keyframes flip { 0% { -o-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -o-animation-timing-function: ease-out; } 40% { -o-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -o-animation-timing-function: ease-out; } 50% { -o-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -o-animation-timing-function: ease-in; } 80% { -o-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -o-animation-timing-function: ease-in; } 100% { -o-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -o-animation-timing-function: ease-in; } } @keyframes flip { 0% { transform: perspective(400px) translateZ(0) rotateY(0) scale(1); animation-timing-function: ease-out; } 40% { transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); animation-timing-function: ease-out; } 50% { transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); animation-timing-function: ease-in; } 80% { transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); animation-timing-function: ease-in; } 100% { transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); animation-timing-function: ease-in; } }

.animated.flip { -webkit-backface-visibility: visible !important; -webkit-animation-name: flip; -moz-backface-visibility: visible !important; -moz-animation-name: flip; -o-backface-visibility: visible !important; -o-animation-name: flip; backface-visibility: visible !important; animation-name: flip; }

@-webkit-keyframes flipInX {

   0% {
       -webkit-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }
   
   40% {
       -webkit-transform: perspective(400px) rotateX(-10deg);
   }
   
   70% {
       -webkit-transform: perspective(400px) rotateX(10deg);
   }
   
   100% {
       -webkit-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

} @-moz-keyframes flipInX {

   0% {
       -moz-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }
   
   40% {
       -moz-transform: perspective(400px) rotateX(-10deg);
   }
   
   70% {
       -moz-transform: perspective(400px) rotateX(10deg);
   }
   
   100% {
       -moz-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

} @-o-keyframes flipInX {

   0% {
       -o-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }
   
   40% {
       -o-transform: perspective(400px) rotateX(-10deg);
   }
   
   70% {
       -o-transform: perspective(400px) rotateX(10deg);
   }
   
   100% {
       -o-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

} @keyframes flipInX {

   0% {
       transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }
   
   40% {
       transform: perspective(400px) rotateX(-10deg);
   }
   
   70% {
       transform: perspective(400px) rotateX(10deg);
   }
   
   100% {
       transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

}

.flipInX { -webkit-backface-visibility: visible !important; -webkit-animation-name: flipInX; -moz-backface-visibility: visible !important; -moz-animation-name: flipInX; -o-backface-visibility: visible !important; -o-animation-name: flipInX; backface-visibility: visible !important; animation-name: flipInX; } @-webkit-keyframes flipOutX {

   0% {
       -webkit-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

100% {

       -webkit-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }

}

@-moz-keyframes flipOutX {

   0% {
       -moz-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

100% {

       -moz-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }

}

@-o-keyframes flipOutX {

   0% {
       -o-transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

100% {

       -o-transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }

}

@keyframes flipOutX {

   0% {
       transform: perspective(400px) rotateX(0deg);
       opacity: 1;
   }

100% {

       transform: perspective(400px) rotateX(90deg);
       opacity: 0;
   }

}

.flipOutX { -webkit-animation-name: flipOutX; -webkit-backface-visibility: visible !important; -moz-animation-name: flipOutX; -moz-backface-visibility: visible !important; -o-animation-name: flipOutX; -o-backface-visibility: visible !important; animation-name: flipOutX; backface-visibility: visible !important; } @-webkit-keyframes flipInY {

   0% {
       -webkit-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }
   
   40% {
       -webkit-transform: perspective(400px) rotateY(-10deg);
   }
   
   70% {
       -webkit-transform: perspective(400px) rotateY(10deg);
   }
   
   100% {
       -webkit-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

} @-moz-keyframes flipInY {

   0% {
       -moz-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }
   
   40% {
       -moz-transform: perspective(400px) rotateY(-10deg);
   }
   
   70% {
       -moz-transform: perspective(400px) rotateY(10deg);
   }
   
   100% {
       -moz-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

} @-o-keyframes flipInY {

   0% {
       -o-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }
   
   40% {
       -o-transform: perspective(400px) rotateY(-10deg);
   }
   
   70% {
       -o-transform: perspective(400px) rotateY(10deg);
   }
   
   100% {
       -o-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

} @keyframes flipInY {

   0% {
       transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }
   
   40% {
       transform: perspective(400px) rotateY(-10deg);
   }
   
   70% {
       transform: perspective(400px) rotateY(10deg);
   }
   
   100% {
       transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

}

.flipInY { -webkit-backface-visibility: visible !important; -webkit-animation-name: flipInY; -moz-backface-visibility: visible !important; -moz-animation-name: flipInY; -o-backface-visibility: visible !important; -o-animation-name: flipInY; backface-visibility: visible !important; animation-name: flipInY; } @-webkit-keyframes flipOutY {

   0% {
       -webkit-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

100% {

       -webkit-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }

} @-moz-keyframes flipOutY {

   0% {
       -moz-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

100% {

       -moz-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }

} @-o-keyframes flipOutY {

   0% {
       -o-transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

100% {

       -o-transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }

} @keyframes flipOutY {

   0% {
       transform: perspective(400px) rotateY(0deg);
       opacity: 1;
   }

100% {

       transform: perspective(400px) rotateY(90deg);
       opacity: 0;
   }

}

.flipOutY { -webkit-backface-visibility: visible !important; -webkit-animation-name: flipOutY; -moz-backface-visibility: visible !important; -moz-animation-name: flipOutY; -o-backface-visibility: visible !important; -o-animation-name: flipOutY; backface-visibility: visible !important; animation-name: flipOutY; } @-webkit-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }

@-moz-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }

@-o-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }

@keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }

.fadeIn { -webkit-animation-name: fadeIn; -moz-animation-name: fadeIn; -o-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translateY(20px); }

100% { opacity: 1; -webkit-transform: translateY(0); } }

@-moz-keyframes fadeInUp { 0% { opacity: 0; -moz-transform: translateY(20px); }

100% { opacity: 1; -moz-transform: translateY(0); } }

@-o-keyframes fadeInUp { 0% { opacity: 0; -o-transform: translateY(20px); }

100% { opacity: 1; -o-transform: translateY(0); } }

@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); }

100% { opacity: 1; transform: translateY(0); } }

.fadeInUp { -webkit-animation-name: fadeInUp; -moz-animation-name: fadeInUp; -o-animation-name: fadeInUp; animation-name: fadeInUp; } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translateY(-20px); }

100% { opacity: 1; -webkit-transform: translateY(0); } }

@-moz-keyframes fadeInDown { 0% { opacity: 0; -moz-transform: translateY(-20px); }

100% { opacity: 1; -moz-transform: translateY(0); } }

@-o-keyframes fadeInDown { 0% { opacity: 0; -o-transform: translateY(-20px); }

100% { opacity: 1; -o-transform: translateY(0); } }

@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); }

100% { opacity: 1; transform: translateY(0); } }

.fadeInDown { -webkit-animation-name: fadeInDown; -moz-animation-name: fadeInDown; -o-animation-name: fadeInDown; animation-name: fadeInDown; } @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); }

100% { opacity: 1; -webkit-transform: translateX(0); } }

@-moz-keyframes fadeInLeft { 0% { opacity: 0; -moz-transform: translateX(-20px); }

100% { opacity: 1; -moz-transform: translateX(0); } }

@-o-keyframes fadeInLeft { 0% { opacity: 0; -o-transform: translateX(-20px); }

100% { opacity: 1; -o-transform: translateX(0); } }

@keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); }

100% { opacity: 1; transform: translateX(0); } }

.fadeInLeft { -webkit-animation-name: fadeInLeft; -moz-animation-name: fadeInLeft; -o-animation-name: fadeInLeft; animation-name: fadeInLeft; } @-webkit-keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translateX(20px); }

100% { opacity: 1; -webkit-transform: translateX(0); } }

@-moz-keyframes fadeInRight { 0% { opacity: 0; -moz-transform: translateX(20px); }

100% { opacity: 1; -moz-transform: translateX(0); } }

@-o-keyframes fadeInRight { 0% { opacity: 0; -o-transform: translateX(20px); }

100% { opacity: 1; -o-transform: translateX(0); } }

@keyframes fadeInRight { 0% { opacity: 0; transform: translateX(20px); }

100% { opacity: 1; transform: translateX(0); } }

.fadeInRight { -webkit-animation-name: fadeInRight; -moz-animation-name: fadeInRight; -o-animation-name: fadeInRight; animation-name: fadeInRight; } @-webkit-keyframes fadeInUpBig { 0% { opacity: 0; -webkit-transform: translateY(2000px); }

100% { opacity: 1; -webkit-transform: translateY(0); } }

@-moz-keyframes fadeInUpBig { 0% { opacity: 0; -moz-transform: translateY(2000px); }

100% { opacity: 1; -moz-transform: translateY(0); } }

@-o-keyframes fadeInUpBig { 0% { opacity: 0; -o-transform: translateY(2000px); }

100% { opacity: 1; -o-transform: translateY(0); } }

@keyframes fadeInUpBig { 0% { opacity: 0; transform: translateY(2000px); }

100% { opacity: 1; transform: translateY(0); } }

.fadeInUpBig { -webkit-animation-name: fadeInUpBig; -moz-animation-name: fadeInUpBig; -o-animation-name: fadeInUpBig; animation-name: fadeInUpBig; } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translateY(-2000px); }

100% { opacity: 1; -webkit-transform: translateY(0); } }

@-moz-keyframes fadeInDownBig { 0% { opacity: 0; -moz-transform: translateY(-2000px); }

100% { opacity: 1; -moz-transform: translateY(0); } }

@-o-keyframes fadeInDownBig { 0% { opacity: 0; -o-transform: translateY(-2000px); }

100% { opacity: 1; -o-transform: translateY(0); } }

@keyframes fadeInDownBig { 0% { opacity: 0; transform: translateY(-2000px); }

100% { opacity: 1; transform: translateY(0); } }

.fadeInDownBig { -webkit-animation-name: fadeInDownBig; -moz-animation-name: fadeInDownBig; -o-animation-name: fadeInDownBig; animation-name: fadeInDownBig; } @-webkit-keyframes fadeInLeftBig { 0% { opacity: 0; -webkit-transform: translateX(-2000px); }

100% { opacity: 1; -webkit-transform: translateX(0); } } @-moz-keyframes fadeInLeftBig { 0% { opacity: 0; -moz-transform: translateX(-2000px); }

100% { opacity: 1; -moz-transform: translateX(0); } } @-o-keyframes fadeInLeftBig { 0% { opacity: 0; -o-transform: translateX(-2000px); }

100% { opacity: 1; -o-transform: translateX(0); } } @keyframes fadeInLeftBig { 0% { opacity: 0; transform: translateX(-2000px); }

100% { opacity: 1; transform: translateX(0); } }

.fadeInLeftBig { -webkit-animation-name: fadeInLeftBig; -moz-animation-name: fadeInLeftBig; -o-animation-name: fadeInLeftBig; animation-name: fadeInLeftBig; } @-webkit-keyframes fadeInRightBig { 0% { opacity: 0; -webkit-transform: translateX(2000px); }

100% { opacity: 1; -webkit-transform: translateX(0); } }

@-moz-keyframes fadeInRightBig { 0% { opacity: 0; -moz-transform: translateX(2000px); }

100% { opacity: 1; -moz-transform: translateX(0); } }

@-o-keyframes fadeInRightBig { 0% { opacity: 0; -o-transform: translateX(2000px); }

100% { opacity: 1; -o-transform: translateX(0); } }

@keyframes fadeInRightBig { 0% { opacity: 0; transform: translateX(2000px); }

100% { opacity: 1; transform: translateX(0); } }

.fadeInRightBig { -webkit-animation-name: fadeInRightBig; -moz-animation-name: fadeInRightBig; -o-animation-name: fadeInRightBig; animation-name: fadeInRightBig; } @-webkit-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }

@-moz-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }

@-o-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }

@keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }

.fadeOut { -webkit-animation-name: fadeOut; -moz-animation-name: fadeOut; -o-animation-name: fadeOut; animation-name: fadeOut; } @-webkit-keyframes fadeOutUp { 0% { opacity: 1; -webkit-transform: translateY(0); }

100% { opacity: 0; -webkit-transform: translateY(-20px); } } @-moz-keyframes fadeOutUp { 0% { opacity: 1; -moz-transform: translateY(0); }

100% { opacity: 0; -moz-transform: translateY(-20px); } } @-o-keyframes fadeOutUp { 0% { opacity: 1; -o-transform: translateY(0); }

100% { opacity: 0; -o-transform: translateY(-20px); } } @keyframes fadeOutUp { 0% { opacity: 1; transform: translateY(0); }

100% { opacity: 0; transform: translateY(-20px); } }

.fadeOutUp { -webkit-animation-name: fadeOutUp; -moz-animation-name: fadeOutUp; -o-animation-name: fadeOutUp; animation-name: fadeOutUp; } @-webkit-keyframes fadeOutDown { 0% { opacity: 1; -webkit-transform: translateY(0); }

100% { opacity: 0; -webkit-transform: translateY(20px); } }

@-moz-keyframes fadeOutDown { 0% { opacity: 1; -moz-transform: translateY(0); }

100% { opacity: 0; -moz-transform: translateY(20px); } }

@-o-keyframes fadeOutDown { 0% { opacity: 1; -o-transform: translateY(0); }

100% { opacity: 0; -o-transform: translateY(20px); } }

@keyframes fadeOutDown { 0% { opacity: 1; transform: translateY(0); }

100% { opacity: 0; transform: translateY(20px); } }

.fadeOutDown { -webkit-animation-name: fadeOutDown; -moz-animation-name: fadeOutDown; -o-animation-name: fadeOutDown; animation-name: fadeOutDown; } @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(-20px); } }

@-moz-keyframes fadeOutLeft { 0% { opacity: 1; -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(-20px); } }

@-o-keyframes fadeOutLeft { 0% { opacity: 1; -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(-20px); } }

@keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); }

100% { opacity: 0; transform: translateX(-20px); } }

.fadeOutLeft { -webkit-animation-name: fadeOutLeft; -moz-animation-name: fadeOutLeft; -o-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } @-webkit-keyframes fadeOutRight { 0% { opacity: 1; -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(20px); } }

@-moz-keyframes fadeOutRight { 0% { opacity: 1; -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(20px); } }

@-o-keyframes fadeOutRight { 0% { opacity: 1; -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(20px); } }

@keyframes fadeOutRight { 0% { opacity: 1; transform: translateX(0); }

100% { opacity: 0; transform: translateX(20px); } }

.fadeOutRight { -webkit-animation-name: fadeOutRight; -moz-animation-name: fadeOutRight; -o-animation-name: fadeOutRight; animation-name: fadeOutRight; } @-webkit-keyframes fadeOutUpBig { 0% { opacity: 1; -webkit-transform: translateY(0); }

100% { opacity: 0; -webkit-transform: translateY(-2000px); } }

@-moz-keyframes fadeOutUpBig { 0% { opacity: 1; -moz-transform: translateY(0); }

100% { opacity: 0; -moz-transform: translateY(-2000px); } }

@-o-keyframes fadeOutUpBig { 0% { opacity: 1; -o-transform: translateY(0); }

100% { opacity: 0; -o-transform: translateY(-2000px); } }

@keyframes fadeOutUpBig { 0% { opacity: 1; transform: translateY(0); }

100% { opacity: 0; transform: translateY(-2000px); } }

.fadeOutUpBig { -webkit-animation-name: fadeOutUpBig; -moz-animation-name: fadeOutUpBig; -o-animation-name: fadeOutUpBig; animation-name: fadeOutUpBig; } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; -webkit-transform: translateY(0); }

100% { opacity: 0; -webkit-transform: translateY(2000px); } }

@-moz-keyframes fadeOutDownBig { 0% { opacity: 1; -moz-transform: translateY(0); }

100% { opacity: 0; -moz-transform: translateY(2000px); } }

@-o-keyframes fadeOutDownBig { 0% { opacity: 1; -o-transform: translateY(0); }

100% { opacity: 0; -o-transform: translateY(2000px); } }

@keyframes fadeOutDownBig { 0% { opacity: 1; transform: translateY(0); }

100% { opacity: 0; transform: translateY(2000px); } }

.fadeOutDownBig { -webkit-animation-name: fadeOutDownBig; -moz-animation-name: fadeOutDownBig; -o-animation-name: fadeOutDownBig; animation-name: fadeOutDownBig; } @-webkit-keyframes fadeOutLeftBig { 0% { opacity: 1; -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(-2000px); } }

@-moz-keyframes fadeOutLeftBig { 0% { opacity: 1; -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(-2000px); } }

@-o-keyframes fadeOutLeftBig { 0% { opacity: 1; -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(-2000px); } }

@keyframes fadeOutLeftBig { 0% { opacity: 1; transform: translateX(0); }

100% { opacity: 0; transform: translateX(-2000px); } }

.fadeOutLeftBig { -webkit-animation-name: fadeOutLeftBig; -moz-animation-name: fadeOutLeftBig; -o-animation-name: fadeOutLeftBig; animation-name: fadeOutLeftBig; } @-webkit-keyframes fadeOutRightBig { 0% { opacity: 1; -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(2000px); } } @-moz-keyframes fadeOutRightBig { 0% { opacity: 1; -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(2000px); } } @-o-keyframes fadeOutRightBig { 0% { opacity: 1; -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(2000px); } } @keyframes fadeOutRightBig { 0% { opacity: 1; transform: translateX(0); }

100% { opacity: 0; transform: translateX(2000px); } }

.fadeOutRightBig { -webkit-animation-name: fadeOutRightBig; -moz-animation-name: fadeOutRightBig; -o-animation-name: fadeOutRightBig; animation-name: fadeOutRightBig; } @-webkit-keyframes slideInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); }

100% { -webkit-transform: translateY(0); } }

@-moz-keyframes slideInDown { 0% { opacity: 0; -moz-transform: translateY(-2000px); }

100% { -moz-transform: translateY(0); } }

@-o-keyframes slideInDown { 0% { opacity: 0; -o-transform: translateY(-2000px); }

100% { -o-transform: translateY(0); } }

@keyframes slideInDown { 0% { opacity: 0; transform: translateY(-2000px); }

100% { transform: translateY(0); } }

.slideInDown { -webkit-animation-name: slideInDown; -moz-animation-name: slideInDown; -o-animation-name: slideInDown; animation-name: slideInDown; } @-webkit-keyframes slideInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); }

100% { -webkit-transform: translateX(0); } }

@-moz-keyframes slideInLeft { 0% { opacity: 0; -moz-transform: translateX(-2000px); }

100% { -moz-transform: translateX(0); } }

@-o-keyframes slideInLeft { 0% { opacity: 0; -o-transform: translateX(-2000px); }

100% { -o-transform: translateX(0); } }

@keyframes slideInLeft { 0% { opacity: 0; transform: translateX(-2000px); }

100% { transform: translateX(0); } }

.slideInLeft { -webkit-animation-name: slideInLeft; -moz-animation-name: slideInLeft; -o-animation-name: slideInLeft; animation-name: slideInLeft; } @-webkit-keyframes slideInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); }

100% { -webkit-transform: translateX(0); } }

@-moz-keyframes slideInRight { 0% { opacity: 0; -moz-transform: translateX(2000px); }

100% { -moz-transform: translateX(0); } }

@-o-keyframes slideInRight { 0% { opacity: 0; -o-transform: translateX(2000px); }

100% { -o-transform: translateX(0); } }

@keyframes slideInRight { 0% { opacity: 0; transform: translateX(2000px); }

100% { transform: translateX(0); } }

.slideInRight { -webkit-animation-name: slideInRight; -moz-animation-name: slideInRight; -o-animation-name: slideInRight; animation-name: slideInRight; } @-webkit-keyframes slideOutUp { 0% { -webkit-transform: translateY(0); }

100% { opacity: 0; -webkit-transform: translateY(-2000px); } }

@-moz-keyframes slideOutUp { 0% { -moz-transform: translateY(0); }

100% { opacity: 0; -moz-transform: translateY(-2000px); } }

@-o-keyframes slideOutUp { 0% { -o-transform: translateY(0); }

100% { opacity: 0; -o-transform: translateY(-2000px); } }

@keyframes slideOutUp { 0% { transform: translateY(0); }

100% { opacity: 0; transform: translateY(-2000px); } }

.slideOutUp { -webkit-animation-name: slideOutUp; -moz-animation-name: slideOutUp; -o-animation-name: slideOutUp; animation-name: slideOutUp; } @-webkit-keyframes slideOutLeft { 0% { -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(-2000px); } }

@-moz-keyframes slideOutLeft { 0% { -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(-2000px); } }

@-o-keyframes slideOutLeft { 0% { -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(-2000px); } }

@keyframes slideOutLeft { 0% { transform: translateX(0); }

100% { opacity: 0; transform: translateX(-2000px); } }

.slideOutLeft { -webkit-animation-name: slideOutLeft; -moz-animation-name: slideOutLeft; -o-animation-name: slideOutLeft; animation-name: slideOutLeft; } @-webkit-keyframes slideOutRight { 0% { -webkit-transform: translateX(0); }

100% { opacity: 0; -webkit-transform: translateX(2000px); } }

@-moz-keyframes slideOutRight { 0% { -moz-transform: translateX(0); }

100% { opacity: 0; -moz-transform: translateX(2000px); } }

@-o-keyframes slideOutRight { 0% { -o-transform: translateX(0); }

100% { opacity: 0; -o-transform: translateX(2000px); } }

@keyframes slideOutRight { 0% { transform: translateX(0); }

100% { opacity: 0; transform: translateX(2000px); } }

.slideOutRight { -webkit-animation-name: slideOutRight; -moz-animation-name: slideOutRight; -o-animation-name: slideOutRight; animation-name: slideOutRight; } @-webkit-keyframes bounceIn { 0% { opacity: 0; -webkit-transform: scale(.3); }

50% { opacity: 1; -webkit-transform: scale(1.05); }

70% { -webkit-transform: scale(.9); }

100% { -webkit-transform: scale(1); } }

@-moz-keyframes bounceIn { 0% { opacity: 0; -moz-transform: scale(.3); }

50% { opacity: 1; -moz-transform: scale(1.05); }

70% { -moz-transform: scale(.9); }

100% { -moz-transform: scale(1); } }

@-o-keyframes bounceIn { 0% { opacity: 0; -o-transform: scale(.3); }

50% { opacity: 1; -o-transform: scale(1.05); }

70% { -o-transform: scale(.9); }

100% { -o-transform: scale(1); } }

@keyframes bounceIn { 0% { opacity: 0; transform: scale(.3); }

50% { opacity: 1; transform: scale(1.05); }

70% { transform: scale(.9); }

100% { transform: scale(1); } }

.bounceIn { -webkit-animation-name: bounceIn; -moz-animation-name: bounceIn; -o-animation-name: bounceIn; animation-name: bounceIn; } @-webkit-keyframes bounceInUp { 0% { opacity: 0; -webkit-transform: translateY(2000px); }

60% { opacity: 1; -webkit-transform: translateY(-30px); }

80% { -webkit-transform: translateY(10px); }

100% { -webkit-transform: translateY(0); } } @-moz-keyframes bounceInUp { 0% { opacity: 0; -moz-transform: translateY(2000px); }

60% { opacity: 1; -moz-transform: translateY(-30px); }

80% { -moz-transform: translateY(10px); }

100% { -moz-transform: translateY(0); } }

@-o-keyframes bounceInUp { 0% { opacity: 0; -o-transform: translateY(2000px); }

60% { opacity: 1; -o-transform: translateY(-30px); }

80% { -o-transform: translateY(10px); }

100% { -o-transform: translateY(0); } }

@keyframes bounceInUp { 0% { opacity: 0; transform: translateY(2000px); }

60% { opacity: 1; transform: translateY(-30px); }

80% { transform: translateY(10px); }

100% { transform: translateY(0); } }

.bounceInUp { -webkit-animation-name: bounceInUp; -moz-animation-name: bounceInUp; -o-animation-name: bounceInUp; animation-name: bounceInUp; } @-webkit-keyframes bounceInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); }

60% { opacity: 1; -webkit-transform: translateY(30px); }

80% { -webkit-transform: translateY(-10px); }

100% { -webkit-transform: translateY(0); } }

@-moz-keyframes bounceInDown { 0% { opacity: 0; -moz-transform: translateY(-2000px); }

60% { opacity: 1; -moz-transform: translateY(30px); }

80% { -moz-transform: translateY(-10px); }

100% { -moz-transform: translateY(0); } }

@-o-keyframes bounceInDown { 0% { opacity: 0; -o-transform: translateY(-2000px); }

60% { opacity: 1; -o-transform: translateY(30px); }

80% { -o-transform: translateY(-10px); }

100% { -o-transform: translateY(0); } }

@keyframes bounceInDown { 0% { opacity: 0; transform: translateY(-2000px); }

60% { opacity: 1; transform: translateY(30px); }

80% { transform: translateY(-10px); }

100% { transform: translateY(0); } }

.bounceInDown { -webkit-animation-name: bounceInDown; -moz-animation-name: bounceInDown; -o-animation-name: bounceInDown; animation-name: bounceInDown; } @-webkit-keyframes bounceInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); }

60% { opacity: 1; -webkit-transform: translateX(30px); }

80% { -webkit-transform: translateX(-10px); }

100% { -webkit-transform: translateX(0); } }

@-moz-keyframes bounceInLeft { 0% { opacity: 0; -moz-transform: translateX(-2000px); }

60% { opacity: 1; -moz-transform: translateX(30px); }

80% { -moz-transform: translateX(-10px); }

100% { -moz-transform: translateX(0); } }

@-o-keyframes bounceInLeft { 0% { opacity: 0; -o-transform: translateX(-2000px); }

60% { opacity: 1; -o-transform: translateX(30px); }

80% { -o-transform: translateX(-10px); }

100% { -o-transform: translateX(0); } }

@keyframes bounceInLeft { 0% { opacity: 0; transform: translateX(-2000px); }

60% { opacity: 1; transform: translateX(30px); }

80% { transform: translateX(-10px); }

100% { transform: translateX(0); } }

.bounceInLeft { -webkit-animation-name: bounceInLeft; -moz-animation-name: bounceInLeft; -o-animation-name: bounceInLeft; animation-name: bounceInLeft; } @-webkit-keyframes bounceInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); }

60% { opacity: 1; -webkit-transform: translateX(-30px); }

80% { -webkit-transform: translateX(10px); }

100% { -webkit-transform: translateX(0); } }

@-moz-keyframes bounceInRight { 0% { opacity: 0; -moz-transform: translateX(2000px); }

60% { opacity: 1; -moz-transform: translateX(-30px); }

80% { -moz-transform: translateX(10px); }

100% { -moz-transform: translateX(0); } }

@-o-keyframes bounceInRight { 0% { opacity: 0; -o-transform: translateX(2000px); }

60% { opacity: 1; -o-transform: translateX(-30px); }

80% { -o-transform: translateX(10px); }

100% { -o-transform: translateX(0); } }

@keyframes bounceInRight { 0% { opacity: 0; transform: translateX(2000px); }

60% { opacity: 1; transform: translateX(-30px); }

80% { transform: translateX(10px); }

100% { transform: translateX(0); } }

.bounceInRight { -webkit-animation-name: bounceInRight; -moz-animation-name: bounceInRight; -o-animation-name: bounceInRight; animation-name: bounceInRight; } @-webkit-keyframes bounceOut { 0% { -webkit-transform: scale(1); }

25% { -webkit-transform: scale(.95); }

50% { opacity: 1; -webkit-transform: scale(1.1); }

100% { opacity: 0; -webkit-transform: scale(.3); } }

@-moz-keyframes bounceOut { 0% { -moz-transform: scale(1); }

25% { -moz-transform: scale(.95); }

50% { opacity: 1; -moz-transform: scale(1.1); }

100% { opacity: 0; -moz-transform: scale(.3); } }

@-o-keyframes bounceOut { 0% { -o-transform: scale(1); }

25% { -o-transform: scale(.95); }

50% { opacity: 1; -o-transform: scale(1.1); }

100% { opacity: 0; -o-transform: scale(.3); } }

@keyframes bounceOut { 0% { transform: scale(1); }

25% { transform: scale(.95); }

50% { opacity: 1; transform: scale(1.1); }

100% { opacity: 0; transform: scale(.3); } }

.bounceOut { -webkit-animation-name: bounceOut; -moz-animation-name: bounceOut; -o-animation-name: bounceOut; animation-name: bounceOut; } @-webkit-keyframes bounceOutUp { 0% { -webkit-transform: translateY(0); }

20% { opacity: 1; -webkit-transform: translateY(20px); }

100% { opacity: 0; -webkit-transform: translateY(-2000px); } }

@-moz-keyframes bounceOutUp { 0% { -moz-transform: translateY(0); }

20% { opacity: 1; -moz-transform: translateY(20px); }

100% { opacity: 0; -moz-transform: translateY(-2000px); } }

@-o-keyframes bounceOutUp { 0% { -o-transform: translateY(0); }

20% { opacity: 1; -o-transform: translateY(20px); }

100% { opacity: 0; -o-transform: translateY(-2000px); } }

@keyframes bounceOutUp { 0% { transform: translateY(0); }

20% { opacity: 1; transform: translateY(20px); }

100% { opacity: 0; transform: translateY(-2000px); } }

.bounceOutUp { -webkit-animation-name: bounceOutUp; -moz-animation-name: bounceOutUp; -o-animation-name: bounceOutUp; animation-name: bounceOutUp; } @-webkit-keyframes bounceOutDown { 0% { -webkit-transform: translateY(0); }

20% { opacity: 1; -webkit-transform: translateY(-20px); }

100% { opacity: 0; -webkit-transform: translateY(2000px); } }

@-moz-keyframes bounceOutDown { 0% { -moz-transform: translateY(0); }

20% { opacity: 1; -moz-transform: translateY(-20px); }

100% { opacity: 0; -moz-transform: translateY(2000px); } }

@-o-keyframes bounceOutDown { 0% { -o-transform: translateY(0); }

20% { opacity: 1; -o-transform: translateY(-20px); }

100% { opacity: 0; -o-transform: translateY(2000px); } }

@keyframes bounceOutDown { 0% { transform: translateY(0); }

20% { opacity: 1; transform: translateY(-20px); }

100% { opacity: 0; transform: translateY(2000px); } }

.bounceOutDown { -webkit-animation-name: bounceOutDown; -moz-animation-name: bounceOutDown; -o-animation-name: bounceOutDown; animation-name: bounceOutDown; } @-webkit-keyframes bounceOutLeft { 0% { -webkit-transform: translateX(0); }

20% { opacity: 1; -webkit-transform: translateX(20px); }

100% { opacity: 0; -webkit-transform: translateX(-2000px); } }

@-moz-keyframes bounceOutLeft { 0% { -moz-transform: translateX(0); }

20% { opacity: 1; -moz-transform: translateX(20px); }

100% { opacity: 0; -moz-transform: translateX(-2000px); } }

@-o-keyframes bounceOutLeft { 0% { -o-transform: translateX(0); }

20% { opacity: 1; -o-transform: translateX(20px); }

100% { opacity: 0; -o-transform: translateX(-2000px); } }

@keyframes bounceOutLeft { 0% { transform: translateX(0); }

20% { opacity: 1; transform: translateX(20px); }

100% { opacity: 0; transform: translateX(-2000px); } }

.bounceOutLeft { -webkit-animation-name: bounceOutLeft; -moz-animation-name: bounceOutLeft; -o-animation-name: bounceOutLeft; animation-name: bounceOutLeft; } @-webkit-keyframes bounceOutRight { 0% { -webkit-transform: translateX(0); }

20% { opacity: 1; -webkit-transform: translateX(-20px); }

100% { opacity: 0; -webkit-transform: translateX(2000px); } }

@-moz-keyframes bounceOutRight { 0% { -moz-transform: translateX(0); }

20% { opacity: 1; -moz-transform: translateX(-20px); }

100% { opacity: 0; -moz-transform: translateX(2000px); } }

@-o-keyframes bounceOutRight { 0% { -o-transform: translateX(0); }

20% { opacity: 1; -o-transform: translateX(-20px); }

100% { opacity: 0; -o-transform: translateX(2000px); } }

@keyframes bounceOutRight { 0% { transform: translateX(0); }

20% { opacity: 1; transform: translateX(-20px); }

100% { opacity: 0; transform: translateX(2000px); } }

.bounceOutRight { -webkit-animation-name: bounceOutRight; -moz-animation-name: bounceOutRight; -o-animation-name: bounceOutRight; animation-name: bounceOutRight; } @-webkit-keyframes rotateIn { 0% { -webkit-transform-origin: center center; -webkit-transform: rotate(-200deg); opacity: 0; }

100% { -webkit-transform-origin: center center; -webkit-transform: rotate(0); opacity: 1; } } @-moz-keyframes rotateIn { 0% { -moz-transform-origin: center center; -moz-transform: rotate(-200deg); opacity: 0; }

100% { -moz-transform-origin: center center; -moz-transform: rotate(0); opacity: 1; } } @-o-keyframes rotateIn { 0% { -o-transform-origin: center center; -o-transform: rotate(-200deg); opacity: 0; }

100% { -o-transform-origin: center center; -o-transform: rotate(0); opacity: 1; } } @keyframes rotateIn { 0% { transform-origin: center center; transform: rotate(-200deg); opacity: 0; }

100% { transform-origin: center center; transform: rotate(0); opacity: 1; } }

.rotateIn { -webkit-animation-name: rotateIn; -moz-animation-name: rotateIn; -o-animation-name: rotateIn; animation-name: rotateIn; } @-webkit-keyframes rotateInUpLeft { 0% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(90deg); opacity: 0; }

100% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(0); opacity: 1; } }

@-moz-keyframes rotateInUpLeft { 0% { -moz-transform-origin: left bottom; -moz-transform: rotate(90deg); opacity: 0; }

100% { -moz-transform-origin: left bottom; -moz-transform: rotate(0); opacity: 1; } }

@-o-keyframes rotateInUpLeft { 0% { -o-transform-origin: left bottom; -o-transform: rotate(90deg); opacity: 0; }

100% { -o-transform-origin: left bottom; -o-transform: rotate(0); opacity: 1; } }

@keyframes rotateInUpLeft { 0% { transform-origin: left bottom; transform: rotate(90deg); opacity: 0; }

100% { transform-origin: left bottom; transform: rotate(0); opacity: 1; } }

.rotateInUpLeft { -webkit-animation-name: rotateInUpLeft; -moz-animation-name: rotateInUpLeft; -o-animation-name: rotateInUpLeft; animation-name: rotateInUpLeft; } @-webkit-keyframes rotateInDownLeft { 0% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(-90deg); opacity: 0; }

100% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(0); opacity: 1; } }

@-moz-keyframes rotateInDownLeft { 0% { -moz-transform-origin: left bottom; -moz-transform: rotate(-90deg); opacity: 0; }

100% { -moz-transform-origin: left bottom; -moz-transform: rotate(0); opacity: 1; } }

@-o-keyframes rotateInDownLeft { 0% { -o-transform-origin: left bottom; -o-transform: rotate(-90deg); opacity: 0; }

100% { -o-transform-origin: left bottom; -o-transform: rotate(0); opacity: 1; } }

@keyframes rotateInDownLeft { 0% { transform-origin: left bottom; transform: rotate(-90deg); opacity: 0; }

100% { transform-origin: left bottom; transform: rotate(0); opacity: 1; } }

.rotateInDownLeft { -webkit-animation-name: rotateInDownLeft; -moz-animation-name: rotateInDownLeft; -o-animation-name: rotateInDownLeft; animation-name: rotateInDownLeft; } @-webkit-keyframes rotateInUpRight { 0% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(-90deg); opacity: 0; }

100% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(0); opacity: 1; } }

@-moz-keyframes rotateInUpRight { 0% { -moz-transform-origin: right bottom; -moz-transform: rotate(-90deg); opacity: 0; }

100% { -moz-transform-origin: right bottom; -moz-transform: rotate(0); opacity: 1; } }

@-o-keyframes rotateInUpRight { 0% { -o-transform-origin: right bottom; -o-transform: rotate(-90deg); opacity: 0; }

100% { -o-transform-origin: right bottom; -o-transform: rotate(0); opacity: 1; } }

@keyframes rotateInUpRight { 0% { transform-origin: right bottom; transform: rotate(-90deg); opacity: 0; }

100% { transform-origin: right bottom; transform: rotate(0); opacity: 1; } }

.rotateInUpRight { -webkit-animation-name: rotateInUpRight; -moz-animation-name: rotateInUpRight; -o-animation-name: rotateInUpRight; animation-name: rotateInUpRight; } @-webkit-keyframes rotateInDownRight { 0% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(90deg); opacity: 0; }

100% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(0); opacity: 1; } }

@-moz-keyframes rotateInDownRight { 0% { -moz-transform-origin: right bottom; -moz-transform: rotate(90deg); opacity: 0; }

100% { -moz-transform-origin: right bottom; -moz-transform: rotate(0); opacity: 1; } }

@-o-keyframes rotateInDownRight { 0% { -o-transform-origin: right bottom; -o-transform: rotate(90deg); opacity: 0; }

100% { -o-transform-origin: right bottom; -o-transform: rotate(0); opacity: 1; } }

@keyframes rotateInDownRight { 0% { transform-origin: right bottom; transform: rotate(90deg); opacity: 0; }

100% { transform-origin: right bottom; transform: rotate(0); opacity: 1; } }

.rotateInDownRight { -webkit-animation-name: rotateInDownRight; -moz-animation-name: rotateInDownRight; -o-animation-name: rotateInDownRight; animation-name: rotateInDownRight; } @-webkit-keyframes rotateOut { 0% { -webkit-transform-origin: center center; -webkit-transform: rotate(0); opacity: 1; }

100% { -webkit-transform-origin: center center; -webkit-transform: rotate(200deg); opacity: 0; } }

@-moz-keyframes rotateOut { 0% { -moz-transform-origin: center center; -moz-transform: rotate(0); opacity: 1; }

100% { -moz-transform-origin: center center; -moz-transform: rotate(200deg); opacity: 0; } }

@-o-keyframes rotateOut { 0% { -o-transform-origin: center center; -o-transform: rotate(0); opacity: 1; }

100% { -o-transform-origin: center center; -o-transform: rotate(200deg); opacity: 0; } }

@keyframes rotateOut { 0% { transform-origin: center center; transform: rotate(0); opacity: 1; }

100% { transform-origin: center center; transform: rotate(200deg); opacity: 0; } }

.rotateOut { -webkit-animation-name: rotateOut; -moz-animation-name: rotateOut; -o-animation-name: rotateOut; animation-name: rotateOut; } @-webkit-keyframes rotateOutUpLeft { 0% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(0); opacity: 1; }

100% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(-90deg); opacity: 0; } }

@-moz-keyframes rotateOutUpLeft { 0% { -moz-transform-origin: left bottom; -moz-transform: rotate(0); opacity: 1; }

100% { -moz-transform-origin: left bottom; -moz-transform: rotate(-90deg); opacity: 0; } }

@-o-keyframes rotateOutUpLeft { 0% { -o-transform-origin: left bottom; -o-transform: rotate(0); opacity: 1; }

100% { -o-transform-origin: left bottom; -o-transform: rotate(-90deg); opacity: 0; } }

@keyframes rotateOutUpLeft { 0% { transform-origin: left bottom; transform: rotate(0); opacity: 1; }

100% { -transform-origin: left bottom; -transform: rotate(-90deg); opacity: 0; } }

.rotateOutUpLeft { -webkit-animation-name: rotateOutUpLeft; -moz-animation-name: rotateOutUpLeft; -o-animation-name: rotateOutUpLeft; animation-name: rotateOutUpLeft; } @-webkit-keyframes rotateOutDownLeft { 0% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(0); opacity: 1; }

100% { -webkit-transform-origin: left bottom; -webkit-transform: rotate(90deg); opacity: 0; } }

@-moz-keyframes rotateOutDownLeft { 0% { -moz-transform-origin: left bottom; -moz-transform: rotate(0); opacity: 1; }

100% { -moz-transform-origin: left bottom; -moz-transform: rotate(90deg); opacity: 0; } }

@-o-keyframes rotateOutDownLeft { 0% { -o-transform-origin: left bottom; -o-transform: rotate(0); opacity: 1; }

100% { -o-transform-origin: left bottom; -o-transform: rotate(90deg); opacity: 0; } }

@keyframes rotateOutDownLeft { 0% { transform-origin: left bottom; transform: rotate(0); opacity: 1; }

100% { transform-origin: left bottom; transform: rotate(90deg); opacity: 0; } }

.rotateOutDownLeft { -webkit-animation-name: rotateOutDownLeft; -moz-animation-name: rotateOutDownLeft; -o-animation-name: rotateOutDownLeft; animation-name: rotateOutDownLeft; } @-webkit-keyframes rotateOutUpRight { 0% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(0); opacity: 1; }

100% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(90deg); opacity: 0; } }

@-moz-keyframes rotateOutUpRight { 0% { -moz-transform-origin: right bottom; -moz-transform: rotate(0); opacity: 1; }

100% { -moz-transform-origin: right bottom; -moz-transform: rotate(90deg); opacity: 0; } }

@-o-keyframes rotateOutUpRight { 0% { -o-transform-origin: right bottom; -o-transform: rotate(0); opacity: 1; }

100% { -o-transform-origin: right bottom; -o-transform: rotate(90deg); opacity: 0; } }

@keyframes rotateOutUpRight { 0% { transform-origin: right bottom; transform: rotate(0); opacity: 1; }

100% { transform-origin: right bottom; transform: rotate(90deg); opacity: 0; } }

.rotateOutUpRight { -webkit-animation-name: rotateOutUpRight; -moz-animation-name: rotateOutUpRight; -o-animation-name: rotateOutUpRight; animation-name: rotateOutUpRight; } @-webkit-keyframes rotateOutDownRight { 0% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(0); opacity: 1; }

100% { -webkit-transform-origin: right bottom; -webkit-transform: rotate(-90deg); opacity: 0; } }

@-moz-keyframes rotateOutDownRight { 0% { -moz-transform-origin: right bottom; -moz-transform: rotate(0); opacity: 1; }

100% { -moz-transform-origin: right bottom; -moz-transform: rotate(-90deg); opacity: 0; } }

@-o-keyframes rotateOutDownRight { 0% { -o-transform-origin: right bottom; -o-transform: rotate(0); opacity: 1; }

100% { -o-transform-origin: right bottom; -o-transform: rotate(-90deg); opacity: 0; } }

@keyframes rotateOutDownRight { 0% { transform-origin: right bottom; transform: rotate(0); opacity: 1; }

100% { transform-origin: right bottom; transform: rotate(-90deg); opacity: 0; } }

.rotateOutDownRight { -webkit-animation-name: rotateOutDownRight; -moz-animation-name: rotateOutDownRight; -o-animation-name: rotateOutDownRight; animation-name: rotateOutDownRight; } @-webkit-keyframes lightSpeedIn { 0% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { -webkit-transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { -webkit-transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; } }

@-moz-keyframes lightSpeedIn { 0% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { -moz-transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { -moz-transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } }

@-o-keyframes lightSpeedIn { 0% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { -o-transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { -o-transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } }

@keyframes lightSpeedIn { 0% { transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { transform: translateX(0%) skewX(0deg); opacity: 1; } }

.lightSpeedIn {

   -webkit-animation-name: lightSpeedIn;
   -moz-animation-name: lightSpeedIn;
   -o-animation-name: lightSpeedIn;
   animation-name: lightSpeedIn;
   -webkit-animation-timing-function: ease-out;
   -moz-animation-timing-function: ease-out;
   -o-animation-timing-function: ease-out;
   animation-timing-function: ease-out;

} @-webkit-keyframes lightSpeedOut {

   0% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; }

100% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } }

@-moz-keyframes lightSpeedOut { 0% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } 100% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } }

@-o-keyframes lightSpeedOut { 0% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } 100% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } }

@keyframes lightSpeedOut { 0% { transform: translateX(0%) skewX(0deg); opacity: 1; } 100% { transform: translateX(100%) skewX(-30deg); opacity: 0; } }

.lightSpeedOut {

   -webkit-animation-name: lightSpeedOut;
   -moz-animation-name: lightSpeedOut;
   -o-animation-name: lightSpeedOut;
   animation-name: lightSpeedOut;
   -webkit-animation-timing-function: ease-in;
   -moz-animation-timing-function: ease-in;
   -o-animation-timing-function: ease-in;
   animation-timing-function: ease-in;

} @-webkit-keyframes hinge { 0% { -webkit-transform: rotate(0); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } 20%, 60% { -webkit-transform: rotate(80deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } 40% { -webkit-transform: rotate(60deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } 80% { -webkit-transform: rotate(60deg) translateY(0); opacity: 1; -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } 100% { -webkit-transform: translateY(700px); opacity: 0; } }

@-moz-keyframes hinge { 0% { -moz-transform: rotate(0); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } 20%, 60% { -moz-transform: rotate(80deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } 40% { -moz-transform: rotate(60deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } 80% { -moz-transform: rotate(60deg) translateY(0); opacity: 1; -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } 100% { -moz-transform: translateY(700px); opacity: 0; } }

@-o-keyframes hinge { 0% { -o-transform: rotate(0); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } 20%, 60% { -o-transform: rotate(80deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } 40% { -o-transform: rotate(60deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } 80% { -o-transform: rotate(60deg) translateY(0); opacity: 1; -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } 100% { -o-transform: translateY(700px); opacity: 0; } }

@keyframes hinge { 0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; } 20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; } 40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; } 80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; } 100% { transform: translateY(700px); opacity: 0; } }

.hinge { -webkit-animation-name: hinge; -moz-animation-name: hinge; -o-animation-name: hinge; animation-name: hinge; } /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollIn { 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); } }

@-moz-keyframes rollIn { 0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); } }

@-o-keyframes rollIn { 0% { opacity: 0; -o-transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); } }

@keyframes rollIn { 0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; transform: translateX(0px) rotate(0deg); } }

.rollIn { -webkit-animation-name: rollIn; -moz-animation-name: rollIn; -o-animation-name: rollIn; animation-name: rollIn; } /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollOut {

   0% {

opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); }

   100% {

opacity: 0; -webkit-transform: translateX(100%) rotate(120deg); } }

@-moz-keyframes rollOut {

   0% {

opacity: 1; -moz-transform: translateX(0px) rotate(0deg); }

   100% {

opacity: 0; -moz-transform: translateX(100%) rotate(120deg); } }

@-o-keyframes rollOut {

   0% {

opacity: 1; -o-transform: translateX(0px) rotate(0deg); }

   100% {

opacity: 0; -o-transform: translateX(100%) rotate(120deg); } }

@keyframes rollOut {

   0% {

opacity: 1; transform: translateX(0px) rotate(0deg); }

   100% {

opacity: 0; transform: translateX(100%) rotate(120deg); } }

.rollOut { -webkit-animation-name: rollOut; -moz-animation-name: rollOut; -o-animation-name: rollOut; animation-name: rollOut; } a {

   color: #00afd1;

}

.accent-color { color: #00afd1; }

.accent-color-bg { background-color: #00afd1; }

.top-bar a:hover { color: #00afd1; }

.section-overlay { background-color: #00afd1; }

.top-bar.color-bar { background-color: #00afd1; }

.service-box .read-more { color: #00afd1; }

a.main-button, input[type="submit"] { background-color: #00afd1; }

.navbar-default .navbar-nav > li:hover > a, .navbar-default .navbar-nav > li > a.active { color: #00afd1; }

.dropdown > li:hover > a, .sup-dropdown li:hover > a { color: #00afd1; }

.navbar-default .navbar-nav > li > a:after { background-color: #00afd1; }

.navbar-default .navbar-nav > li > a.active, .navbar-default .navbar-nav > li:hover > a { border-color: #00afd1; }

.dropdown li a.active, .sup-dropdown li a.active { color: #00afd1; }

ul.breadcrumbs li a:hover {

   color: #00afd1;

}

.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { background-color: #00afd1; }

.tp-caption.color-bg { background-color: #00afd1; }

.team-member .member-socail a.mail:hover i { background-color: #00afd1; }

.post-share a.mail:hover { background-color: #00afd1; }

.progress .progress-bar.progress-bar-primary { background-color: #00afd1; }

.latest-posts-classic .left-meta-post .post-type i { background-color: #00afd1; }

.latest-posts-classic .post-title a:hover { color: #00afd1; }

.latest-posts-classic .read-more { color: #00afd1; }

.panel-title a { color: #00afd1; }

.panel-title a:hover { color: #00afd1; }

.milestone-block .milestone-icon { background-color: #00afd1; }

.milestone-block .milestone-icon:after { background-color: #00afd1; }

.milestone-block .milestone-number { color: #00afd1; }

.pricing-tables .pricing-table.highlight-plan .plan-name h3 { color: #00afd1; }

.btn-system { background-color: #00afd1; }

.btn-system.border-btn { border-color: #00afd1; color: #00afd1; }

.btn-system.border-btn:hover { background-color: #00afd1; }

.btn-system.border-btn.btn-wite:hover { color: #00afd1; }

.btn-system.btn-wite{ color: #00afd1; }

ul.icons-list li i { color: #00afd1; }

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { background-color: #00afd1; }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { color: #00afd1; }

.icon-small { text-shadow: 0 0 0 #00afd1; }

.icon-small:hover, .service-box:hover .icon-small { color: #00afd1; } .icon-medium { text-shadow: 0 0 0 #00afd1; }

.icon-medium:hover, .service-box:hover .icon-medium { color: #00afd1; }

.icon-large { text-shadow: 0 0 0 #00afd1; }

.icon-large:hover, .service-box:hover .icon-large { color: #00afd1; }

.icon-effect-1 { box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.icon-effect-1:after { background-color: #00afd1; }

.icon-effect-1:hover, .service-box:hover .icon-effect-1 { color: #00afd1; }

.icon-effect-2 { color: #00afd1; box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.icon-effect-2:after { background-color: #00afd1; }

.icon-effect-3 { color: #00afd1; box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.icon-effect-4 { color: #00afd1; box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.icon-effect-5 { color: #00afd1; box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.icon-effect-6 { color: #00afd1; box-shadow: 0 0 0 3px #00afd1; -o-box-shadow: 0 0 0 3px #00afd1; -moz-box-shadow: 0 0 0 3px #00afd1;

 	-webkit-box-shadow: 0 0 0 3px #00afd1;

}

.team-member .member-photo .member-name span { background-color: #00afd1; }

.classic-title span { border-bottom-color: #00afd1; }

.portfolio-filter li a:hover { color: #00afd1; }

.portfolio-filter li a.selected { border-color: #00afd1; background-color: #00afd1; }

.portfolio-item:hover .portfolio-details h4 { color: #00afd1; }

.project-content h4 span { border-bottom-color: #00afd1; }

.recent-projects h4.title span { border-bottom-color: #00afd1; }

ul.post-meta li a:hover { color: #00afd1; }

  1. pagination span.current {

border-color: #00afd1; background-color: #00afd1; }

  1. pagination a:hover {

color: #00afd1; }

.post-tags-list a:hover { background-color: #00afd1; }

.post-share a.mail { background-color: #00afd1; }

.sidebar a:hover { color: #00afd1; }

.widget-search .search-btn { background-color: #00afd1; }

.sidebar .tagcloud a:hover {

   background-color: #00afd1;

}

.back-to-top:hover i {

   background-color: #00afd1;

}

.touch-slider .owl-controls.clickable .owl-buttons div:hover { background-color: #00afd1; }

.touch-carousel .owl-controls.clickable .owl-buttons div:hover { background-color: #00afd1; }

.testimonials-carousel .owl-controls.clickable .owl-buttons div { background-color: #00afd1; }

.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { color: #00afd1; } /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map

  • /
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^=]").length&&g.push("[*^$]="+P+"*(?:|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!=]:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/>
<a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
t
",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t }({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"","
"],tr:[2,"<tbody>","</tbody>
"],col:[2,"<tbody></tbody><colgroup>","</colgroup>
"],td:[3,"<tbody>","</tbody>
"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);

u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("

").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); /*!

* jQuery Migrate - v1.0.0 - 2013-01-14
* https://github.com/jquery/jquery-migrate
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; Licensed MIT
*/

(function( jQuery, window, undefined ) { "use strict";


var warnedAbout = {};

// List of warnings already given; public read only jQuery.migrateWarnings = [];

// Set to true to prevent console output; migrateWarnings still maintained // jQuery.migrateMute = false;

// Forget any warnings we've already given; public jQuery.migrateReset = function() { warnedAbout = {}; jQuery.migrateWarnings.length = 0; };

function migrateWarn( msg) { if ( !warnedAbout[ msg ] ) { warnedAbout[ msg ] = true; jQuery.migrateWarnings.push( msg ); if ( window.console && console.warn && !jQuery.migrateMute ) {

} } }

function migrateWarnProp( obj, prop, value, msg ) { if ( Object.defineProperty ) { // On ES5 browsers (non-oldIE), warn if the code tries to get prop; // allow property to be overwritten in case some other plugin wants it try { Object.defineProperty( obj, prop, { configurable: true, enumerable: true, get: function() { migrateWarn( msg ); return value; }, set: function( newValue ) { migrateWarn( msg ); value = newValue; } }); return; } catch( err ) { // IE8 is a dope about Object.defineProperty, can't warn there } }

// Non-ES5 (or broken) browser; just set the property jQuery._definePropertyBroken = true; obj[ prop ] = value; }

if ( document.compatMode === "BackCompat" ) { // jQuery has never supported or tested Quirks Mode migrateWarn( "jQuery is not compatible with Quirks Mode" ); }


var attrFn = {}, attr = jQuery.attr, valueAttrGet = jQuery.attrHooks.value && jQuery.attrHooks.value.get || function() { return null; }, valueAttrSet = jQuery.attrHooks.value && jQuery.attrHooks.value.set || function() { return undefined; }, rnoType = /^(?:input|button)$/i, rnoAttrNodeType = /^[238]$/, rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, ruseDefault = /^(?:checked|selected)$/i;

// jQuery.attrFn migrateWarnProp( jQuery, "attrFn", attrFn, "jQuery.attrFn is deprecated" );

jQuery.attr = function( elem, name, value, pass ) { var lowerName = name.toLowerCase(), nType = elem && elem.nodeType;

if ( pass ) { migrateWarn("jQuery.fn.attr( props, pass ) is deprecated"); if ( elem && !rnoAttrNodeType.test( nType ) && jQuery.isFunction( jQuery.fn[ name ] ) ) { return jQuery( elem )[ name ]( value ); } }

// Warn if user tries to set `type` since it breaks on IE 6/7/8 if ( name === "type" && value !== undefined && rnoType.test( elem.nodeName ) ) { migrateWarn("Can't change the 'type' of an input or button in IE 6/7/8"); }

// Restore boolHook for boolean property/attribute synchronization if ( !jQuery.attrHooks[ lowerName ] && rboolean.test( lowerName ) ) { jQuery.attrHooks[ lowerName ] = { get: function( elem, name ) { // Align boolean attributes with corresponding properties // Fall back to attribute presence where some booleans are not supported var attrNode, property = jQuery.prop( elem, name ); return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ?

name.toLowerCase() : undefined; }, set: function( elem, value, name ) { var propName; if ( value === false ) { // Remove boolean attributes when set to false jQuery.removeAttr( elem, name ); } else { // value is true since we know at this point it's type boolean and not false // Set boolean attributes to the same name and set the DOM property propName = jQuery.propFix[ name ] || name; if ( propName in elem ) { // Only set the IDL specifically if it already exists on the element elem[ propName ] = true; }

elem.setAttribute( name, name.toLowerCase() ); } return name; } };

// Warn only for attributes that can remain distinct from their properties post-1.9 if ( ruseDefault.test( lowerName ) ) { migrateWarn( "jQuery.fn.attr(" + lowerName + ") may use property instead of attribute" ); } }

return attr.call( jQuery, elem, name, value ); };

// attrHooks: value jQuery.attrHooks.value = { get: function( elem, name ) { var nodeName = ( elem.nodeName || "" ).toLowerCase(); if ( nodeName === "button" ) { return valueAttrGet.apply( this, arguments ); } if ( nodeName !== "input" && nodeName !== "option" ) { migrateWarn("property-based jQuery.fn.attr('value') is deprecated"); } return name in elem ? elem.value : null; }, set: function( elem, value ) { var nodeName = ( elem.nodeName || "" ).toLowerCase(); if ( nodeName === "button" ) { return valueAttrSet.apply( this, arguments ); } if ( nodeName !== "input" && nodeName !== "option" ) { migrateWarn("property-based jQuery.fn.attr('value', val) is deprecated"); } // Does not return so that setAttribute is also used elem.value = value; } };


var matched, browser, oldInit = jQuery.fn.init, // Note this does NOT include the # XSS fix from 1.7! rquickExpr = /^(?:.*(<[\w\W]+>)[^>]*|#([\w\-]*))$/;

// $(html) "looks like html" rule change jQuery.fn.init = function( selector, context, rootjQuery ) { var match;

if ( selector && typeof selector === "string" && !jQuery.isPlainObject( context ) && (match = rquickExpr.exec( selector )) && match[1] ) { // This is an HTML string according to the "old" rules; is it still? if ( selector.charAt( 0 ) !== "<" ) { migrateWarn("$(html) HTML strings must start with '<' character"); } // Now process using loose rules; let pre-1.8 play too if ( context && context.context ) { // jQuery object as context; parseHTML expects a DOM object context = context.context; } if ( jQuery.parseHTML ) { return oldInit.call( this, jQuery.parseHTML( jQuery.trim(selector), context, true ), context, rootjQuery ); } } return oldInit.apply( this, arguments ); }; jQuery.fn.init.prototype = jQuery.fn;

jQuery.uaMatch = function( ua ) { ua = ua.toLowerCase();

var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || /(webkit)[ \/]([\w.]+)/.exec( ua ) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || /(msie) ([\w.]+)/.exec( ua ) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || [];

return { browser: match[ 1 ] || "", version: match[ 2 ] || "0" }; };

matched = jQuery.uaMatch( navigator.userAgent ); browser = {};

if ( matched.browser ) { browser[ matched.browser ] = true; browser.version = matched.version; }

// Chrome is Webkit, but Webkit is also Safari. if ( browser.chrome ) { browser.webkit = true; } else if ( browser.webkit ) { browser.safari = true; }

jQuery.browser = browser;

// Warn if the code tries to get jQuery.browser migrateWarnProp( jQuery, "browser", browser, "jQuery.browser is deprecated" );

jQuery.sub = function() { function jQuerySub( selector, context ) { return new jQuerySub.fn.init( selector, context ); } jQuery.extend( true, jQuerySub, this ); jQuerySub.superclass = this; jQuerySub.fn = jQuerySub.prototype = this(); jQuerySub.fn.constructor = jQuerySub; jQuerySub.sub = this.sub; jQuerySub.fn.init = function init( selector, context ) { if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { context = jQuerySub( context ); }

return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); }; jQuerySub.fn.init.prototype = jQuerySub.fn; var rootjQuerySub = jQuerySub(document); migrateWarn( "jQuery.sub() is deprecated" ); return jQuerySub; };


var oldFnData = jQuery.fn.data;

jQuery.fn.data = function( name ) { var ret, evt, elem = this[0];

// Handles 1.7 which has this behavior and 1.8 which doesn't if ( elem && name === "events" && arguments.length === 1 ) { ret = jQuery.data( elem, name ); evt = jQuery._data( elem, name ); if ( ( ret === undefined || ret === evt ) && evt !== undefined ) { migrateWarn("Use of jQuery.fn.data('events') is deprecated"); return evt; } } return oldFnData.apply( this, arguments ); };


var rscriptType = /\/(java|ecma)script/i, oldSelf = jQuery.fn.andSelf || jQuery.fn.addBack, oldFragment = jQuery.buildFragment;

jQuery.fn.andSelf = function() { migrateWarn("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"); return oldSelf.apply( this, arguments ); };

// Since jQuery.clean is used internally on older versions, we only shim if it's missing if ( !jQuery.clean ) { jQuery.clean = function( elems, context, fragment, scripts ) { // Set context per 1.8 logic context = context || document; context = !context.nodeType && context[0] || context; context = context.ownerDocument || context;

migrateWarn("jQuery.clean() is deprecated");

var i, elem, handleScript, jsTags, ret = [];

jQuery.merge( ret, jQuery.buildFragment( elems, context ).childNodes );

// Complex logic lifted directly from jQuery 1.8 if ( fragment ) { // Special handling of each script element handleScript = function( elem ) { // Check if we consider it executable if ( !elem.type || rscriptType.test( elem.type ) ) { // Detach the script and store it in the scripts array (if provided) or the fragment // Return truthy to indicate that it has been handled return scripts ? scripts.push( elem.parentNode ? elem.parentNode.removeChild( elem ) : elem ) : fragment.appendChild( elem ); } };

for ( i = 0; (elem = ret[i]) != null; i++ ) { // Check if we're done after handling an executable script if ( !( jQuery.nodeName( elem, "script" ) && handleScript( elem ) ) ) { // Append to fragment and handle embedded scripts fragment.appendChild( elem ); if ( typeof elem.getElementsByTagName !== "undefined" ) { // handleScript alters the DOM, so use jQuery.merge to ensure snapshot iteration jsTags = jQuery.grep( jQuery.merge( [], elem.getElementsByTagName("script") ), handleScript );

// Splice the scripts into ret after their former ancestor and advance our index beyond them ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) ); i += jsTags.length; } } } }

return ret; }; }

jQuery.buildFragment = function( elems, context, scripts, selection ) { var ret, warning = "jQuery.buildFragment() is deprecated";

// Set context per 1.8 logic context = context || document; context = !context.nodeType && context[0] || context; context = context.ownerDocument || context;

try { ret = oldFragment.call( jQuery, elems, context, scripts, selection );

// jQuery < 1.8 required arrayish context; jQuery 1.9 fails on it } catch( x ) { ret = oldFragment.call( jQuery, elems, context.nodeType ? [ context ] : context[ 0 ], scripts, selection );

// Success from tweaking context means buildFragment was called by the user migrateWarn( warning ); }

// jQuery < 1.9 returned an object instead of the fragment itself if ( !ret.fragment ) { migrateWarnProp( ret, "fragment", ret, warning ); migrateWarnProp( ret, "cacheable", false, warning ); }

return ret; };

var eventAdd = jQuery.event.add, eventRemove = jQuery.event.remove, eventTrigger = jQuery.event.trigger, oldToggle = jQuery.fn.toggle, oldLive = jQuery.fn.live, oldDie = jQuery.fn.die, ajaxEvents = "ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess", rajaxEvent = new RegExp( "\\b(?:" + ajaxEvents + ")\\b" ), rhoverHack = /(?:^|\s)hover(\.\S+|)\b/, hoverHack = function( events ) { if ( typeof( events ) != "string" || jQuery.event.special.hover ) { return events; } if ( rhoverHack.test( events ) ) { migrateWarn("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"); } return events && events.replace( rhoverHack, "mouseenter$1 mouseleave$1" ); };

// Event props removed in 1.9, put them back if needed; no practical way to warn them if ( jQuery.event.props && jQuery.event.props[ 0 ] !== "attrChange" ) { jQuery.event.props.unshift( "attrChange", "attrName", "relatedNode", "srcElement" ); }

// Undocumented jQuery.event.handle was "deprecated" in jQuery 1.7 migrateWarnProp( jQuery.event, "handle", jQuery.event.dispatch, "jQuery.event.handle is undocumented and deprecated" );

// Support for 'hover' pseudo-event and ajax event warnings jQuery.event.add = function( elem, types, handler, data, selector ){ if ( elem !== document && rajaxEvent.test( types ) ) { migrateWarn( "AJAX events should be attached to document: " + types ); } eventAdd.call( this, elem, hoverHack( types || "" ), handler, data, selector ); }; jQuery.event.remove = function( elem, types, handler, selector, mappedTypes ){ eventRemove.call( this, elem, hoverHack( types ) || "", handler, selector, mappedTypes ); };

jQuery.fn.error = function() { var args = Array.prototype.slice.call( arguments, 0); migrateWarn("jQuery.fn.error() is deprecated"); args.splice( 0, 0, "error" ); if ( arguments.length ) { return this.bind.apply( this, args ); } // error event should not bubble to window, although it does pre-1.7 this.triggerHandler.apply( this, args ); return this; };

jQuery.fn.toggle = function( fn, fn2 ) {

// Don't mess with animation or css toggles if ( !jQuery.isFunction( fn ) || !jQuery.isFunction( fn2 ) ) { return oldToggle.apply( this, arguments ); } migrateWarn("jQuery.fn.toggle(handler, handler...) is deprecated");

// Save reference to arguments for access in closure var args = arguments, guid = fn.guid || jQuery.guid++, i = 0, toggler = function( event ) { // Figure out which function to execute var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 );

// Make sure that clicks stop event.preventDefault();

// and execute the function return args[ lastToggle ].apply( this, arguments ) || false; };

// link all the functions, so any of them can unbind this click handler toggler.guid = guid; while ( i < args.length ) { args[ i++ ].guid = guid; }

return this.click( toggler ); };

jQuery.fn.live = function( types, data, fn ) { migrateWarn("jQuery.fn.live() is deprecated"); if ( oldLive ) { return oldLive.apply( this, arguments ); } jQuery( this.context ).on( types, this.selector, data, fn ); return this; };

jQuery.fn.die = function( types, fn ) { migrateWarn("jQuery.fn.die() is deprecated"); if ( oldDie ) { return oldDie.apply( this, arguments ); } jQuery( this.context ).off( types, this.selector || "**", fn ); return this; };

// Turn global events into document-triggered events jQuery.event.trigger = function( event, data, elem, onlyHandlers ){ if ( !elem & !rajaxEvent.test( event ) ) { migrateWarn( "Global events are undocumented and deprecated" ); } return eventTrigger.call( this, event, data, elem || document, onlyHandlers ); }; jQuery.each( ajaxEvents.split("|"), function( _, name ) { jQuery.event.special[ name ] = { setup: function() { var elem = this;

// The document needs no shimming; must be !== for oldIE if ( elem !== document ) { jQuery.event.add( document, name + "." + jQuery.guid, function() { jQuery.event.trigger( name, null, elem, true ); }); jQuery._data( this, name, jQuery.guid++ ); } return false; }, teardown: function() { if ( this !== document ) { jQuery.event.remove( document, name + "." + jQuery._data( this, name ) ); } return false; } }; } );


})( jQuery, window ); /* Modernizr 2.6.2 (Custom Build) | MIT & BSD

* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-shiv-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
*/
window.Modernizr=function(a,b,c){function B(a){j.cssText=a}function C(a,b){return B(n.join(a+";")+(b||""))}function D(a,b){return typeof a===b}function E(a,b){return!!~(""+a).indexOf(b)}function F(a,b){for(var d in a){var e=a[d];if(!E(e,"-")&&j[e]!==c)return b=="pfx"?e
!0}return!1}function G(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:D(f,"function")?f.bind(d||b):f}return!1}function H(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return D(b,"string")||D(b,"undefined")?F(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),G(e,b,c))}function I(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)t[c[d]]=c[d]in k;return t.list&&(t.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=D(e[d],"function"),D(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),z={}.hasOwnProperty,A;!D(z,"undefined")&&!D(z.call,"undefined")?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return H("flexWrap")},r.flexboxlegacy=function(){return H("boxDirection")},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&&!!D(b.createElement("canvas").getContext("2d").fillText,"function")},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){return!!a.openDatabase},r.indexedDB=function(){return!!H("indexedDB",a)},r.hashchange=function(){return y("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},r.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},r.rgba=function(){return B("background-color:rgba(150,255,150,.5)"),E(j.backgroundColor,"rgba")},r.hsla=function(){return B("background-color:hsla(120,40%,100%,.5)"),E(j.backgroundColor,"rgba")||E(j.backgroundColor,"hsla")},r.multiplebgs=function(){return B("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return H("backgroundSize")},r.borderimage=function(){return H("borderImage")},r.borderradius=function(){return H("borderRadius")},r.boxshadow=function(){return H("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return C("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return H("animationName")},r.csscolumns=function(){return H("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return B((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),E(j.backgroundImage,"gradient")},r.cssreflections=function(){return H("boxReflect")},r.csstransforms=function(){return!!H("transform")},r.csstransforms3d=function(){var a=!!H("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return H("transition")},r.fontface=function(){var a;return x('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},r.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},r.webworkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache};for(var J in r)A(r,J)&&(w=J.toLowerCase(),e[w]=r[J](),u.push((e[w]?"":"no-")+w));return e.input||I(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},B(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.hasEvent=y,e.testProp=function(a){return F([a])},e.testAllProps=H,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};

/**

  • bootstrap.js v3.0.0 by @fat and @mdo
  • Copyright 2013 Twitter Inc.
  • http://www.apache.org/licenses/LICENSE-2.0
  • /

if (!jQuery) { throw new Error("Bootstrap requires jQuery") }

/* ========================================================================

* Bootstrap: transition.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#transitions
* ========================================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
 // ============================================================
 function transitionEnd() {
   var el = document.createElement('bootstrap')
   var transEndEventNames = {
     'WebkitTransition' : 'webkitTransitionEnd'
   , 'MozTransition'    : 'transitionend'
   , 'OTransition'      : 'oTransitionEnd otransitionend'
   , 'transition'       : 'transitionend'
   }
   for (var name in transEndEventNames) {
     if (el.style[name] !== undefined) {
       return { end: transEndEventNames[name] }
     }
   }
 }
 // http://blog.alexmaccaw.com/css-transitions
 $.fn.emulateTransitionEnd = function (duration) {
   var called = false, $el = this
   $(this).one($.support.transition.end, function () { called = true })
   var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
   setTimeout(callback, duration)
   return this
 }
 $(function () {
   $.support.transition = transitionEnd()
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: alert.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#alerts
* ========================================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // ALERT CLASS DEFINITION
 // ======================
 var dismiss = '[data-dismiss="alert"]'
 var Alert   = function (el) {
   $(el).on('click', dismiss, this.close)
 }
 Alert.prototype.close = function (e) {
   var $this    = $(this)
   var selector = $this.attr('data-target')
   if (!selector) {
     selector = $this.attr('href')
     selector = selector && selector.replace(/.*(?=#[^\s]*$)/, ) // strip for ie7
   }
   var $parent = $(selector)
   if (e) e.preventDefault()
   if (!$parent.length) {
     $parent = $this.hasClass('alert') ? $this : $this.parent()
   }
   $parent.trigger(e = $.Event('close.bs.alert'))
   if (e.isDefaultPrevented()) return
   $parent.removeClass('in')
   function removeElement() {
     $parent.trigger('closed.bs.alert').remove()
   }
   $.support.transition && $parent.hasClass('fade') ?
     $parent
       .one($.support.transition.end, removeElement)
       .emulateTransitionEnd(150) :
     removeElement()
 }


 // ALERT PLUGIN DEFINITION
 // =======================
 var old = $.fn.alert
 $.fn.alert = function (option) {
   return this.each(function () {
     var $this = $(this)
     var data  = $this.data('bs.alert')
     if (!data) $this.data('bs.alert', (data = new Alert(this)))
     if (typeof option == 'string') data[option].call($this)
   })
 }
 $.fn.alert.Constructor = Alert


 // ALERT NO CONFLICT
 // =================
 $.fn.alert.noConflict = function () {
   $.fn.alert = old
   return this
 }


 // ALERT DATA-API
 // ==============
 $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)

}(window.jQuery);

/* ========================================================================

* Bootstrap: button.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#buttons
* ========================================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // BUTTON PUBLIC CLASS DEFINITION
 // ==============================
 var Button = function (element, options) {
   this.$element = $(element)
   this.options  = $.extend({}, Button.DEFAULTS, options)
 }
 Button.DEFAULTS = {
   loadingText: 'loading...'
 }
 Button.prototype.setState = function (state) {
   var d    = 'disabled'
   var $el  = this.$element
   var val  = $el.is('input') ? 'val' : 'html'
   var data = $el.data()
   state = state + 'Text'
   if (!data.resetText) $el.data('resetText', $el[val]())
   $el[val](data[state] || this.options[state])
   // push to event loop to allow forms to submit
   setTimeout(function () {
     state == 'loadingText' ?
       $el.addClass(d).attr(d, d) :
       $el.removeClass(d).removeAttr(d);
   }, 0)
 }
 Button.prototype.toggle = function () {
   var $parent = this.$element.closest('[data-toggle="buttons"]')
   if ($parent.length) {
     var $input = this.$element.find('input')
       .prop('checked', !this.$element.hasClass('active'))
       .trigger('change')
     if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active')
   }
   this.$element.toggleClass('active')
 }


 // BUTTON PLUGIN DEFINITION
 // ========================
 var old = $.fn.button
 $.fn.button = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.button')
     var options = typeof option == 'object' && option
     if (!data) $this.data('bs.button', (data = new Button(this, options)))
     if (option == 'toggle') data.toggle()
     else if (option) data.setState(option)
   })
 }
 $.fn.button.Constructor = Button


 // BUTTON NO CONFLICT
 // ==================
 $.fn.button.noConflict = function () {
   $.fn.button = old
   return this
 }


 // BUTTON DATA-API
 // ===============
 $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
   var $btn = $(e.target)
   if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
   $btn.button('toggle')
   e.preventDefault()
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: carousel.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#carousel
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // CAROUSEL CLASS DEFINITION
 // =========================
 var Carousel = function (element, options) {
   this.$element    = $(element)
   this.$indicators = this.$element.find('.carousel-indicators')
   this.options     = options
   this.paused      =
   this.sliding     =
   this.interval    =
   this.$active     =
   this.$items      = null
   this.options.pause == 'hover' && this.$element
     .on('mouseenter', $.proxy(this.pause, this))
     .on('mouseleave', $.proxy(this.cycle, this))
 }
 Carousel.DEFAULTS = {
   interval: 5000
 , pause: 'hover'
 , wrap: true
 }
 Carousel.prototype.cycle =  function (e) {
   e || (this.paused = false)
   this.interval && clearInterval(this.interval)
   this.options.interval
     && !this.paused
     && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
   return this
 }
 Carousel.prototype.getActiveIndex = function () {
   this.$active = this.$element.find('.item.active')
   this.$items  = this.$active.parent().children()
   return this.$items.index(this.$active)
 }
 Carousel.prototype.to = function (pos) {
   var that        = this
   var activeIndex = this.getActiveIndex()
   if (pos > (this.$items.length - 1) || pos < 0) return
   if (this.sliding)       return this.$element.one('slid', function () { that.to(pos) })
   if (activeIndex == pos) return this.pause().cycle()
   return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
 }
 Carousel.prototype.pause = function (e) {
   e || (this.paused = true)
   if (this.$element.find('.next, .prev').length && $.support.transition.end) {
     this.$element.trigger($.support.transition.end)
     this.cycle(true)
   }
   this.interval = clearInterval(this.interval)
   return this
 }
 Carousel.prototype.next = function () {
   if (this.sliding) return
   return this.slide('next')
 }
 Carousel.prototype.prev = function () {
   if (this.sliding) return
   return this.slide('prev')
 }
 Carousel.prototype.slide = function (type, next) {
   var $active   = this.$element.find('.item.active')
   var $next     = next || $active[type]()
   var isCycling = this.interval
   var direction = type == 'next' ? 'left' : 'right'
   var fallback  = type == 'next' ? 'first' : 'last'
   var that      = this
   if (!$next.length) {
     if (!this.options.wrap) return
     $next = this.$element.find('.item')[fallback]()
   }
   this.sliding = true
   isCycling && this.pause()
   var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
   if ($next.hasClass('active')) return
   if (this.$indicators.length) {
     this.$indicators.find('.active').removeClass('active')
     this.$element.one('slid', function () {
       var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
       $nextIndicator && $nextIndicator.addClass('active')
     })
   }
   if ($.support.transition && this.$element.hasClass('slide')) {
     this.$element.trigger(e)
     if (e.isDefaultPrevented()) return
     $next.addClass(type)
     $next[0].offsetWidth // force reflow
     $active.addClass(direction)
     $next.addClass(direction)
     $active
       .one($.support.transition.end, function () {
         $next.removeClass([type, direction].join(' ')).addClass('active')
         $active.removeClass(['active', direction].join(' '))
         that.sliding = false
         setTimeout(function () { that.$element.trigger('slid') }, 0)
       })
       .emulateTransitionEnd(600)
   } else {
     this.$element.trigger(e)
     if (e.isDefaultPrevented()) return
     $active.removeClass('active')
     $next.addClass('active')
     this.sliding = false
     this.$element.trigger('slid')
   }
   isCycling && this.cycle()
   return this
 }


 // CAROUSEL PLUGIN DEFINITION
 // ==========================
 var old = $.fn.carousel
 $.fn.carousel = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.carousel')
     var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
     var action  = typeof option == 'string' ? option : options.slide
     if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
     if (typeof option == 'number') data.to(option)
     else if (action) data[action]()
     else if (options.interval) data.pause().cycle()
   })
 }
 $.fn.carousel.Constructor = Carousel


 // CAROUSEL NO CONFLICT
 // ====================
 $.fn.carousel.noConflict = function () {
   $.fn.carousel = old
   return this
 }


 // CAROUSEL DATA-API
 // =================
 $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
   var $this   = $(this), href
   var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, )) //strip for ie7
   var options = $.extend({}, $target.data(), $this.data())
   var slideIndex = $this.attr('data-slide-to')
   if (slideIndex) options.interval = false
   $target.carousel(options)
   if (slideIndex = $this.attr('data-slide-to')) {
     $target.data('bs.carousel').to(slideIndex)
   }
   e.preventDefault()
 })
 $(window).on('load', function () {
   $('[data-ride="carousel"]').each(function () {
     var $carousel = $(this)
     $carousel.carousel($carousel.data())
   })
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: collapse.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#collapse
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // COLLAPSE PUBLIC CLASS DEFINITION
 // ================================
 var Collapse = function (element, options) {
   this.$element      = $(element)
   this.options       = $.extend({}, Collapse.DEFAULTS, options)
   this.transitioning = null
   if (this.options.parent) this.$parent = $(this.options.parent)
   if (this.options.toggle) this.toggle()
 }
 Collapse.DEFAULTS = {
   toggle: true
 }
 Collapse.prototype.dimension = function () {
   var hasWidth = this.$element.hasClass('width')
   return hasWidth ? 'width' : 'height'
 }
 Collapse.prototype.show = function () {
   if (this.transitioning || this.$element.hasClass('in')) return
   var startEvent = $.Event('show.bs.collapse')
   this.$element.trigger(startEvent)
   if (startEvent.isDefaultPrevented()) return
   var actives = this.$parent && this.$parent.find('> .panel > .in')
   if (actives && actives.length) {
     var hasData = actives.data('bs.collapse')
     if (hasData && hasData.transitioning) return
     actives.collapse('hide')
     hasData || actives.data('bs.collapse', null)
   }
   var dimension = this.dimension()
   this.$element
     .removeClass('collapse')
     .addClass('collapsing')
     [dimension](0)
   this.transitioning = 1
   var complete = function () {
     this.$element
       .removeClass('collapsing')
       .addClass('in')
       [dimension]('auto')
     this.transitioning = 0
     this.$element.trigger('shown.bs.collapse')
   }
   if (!$.support.transition) return complete.call(this)
   var scrollSize = $.camelCase(['scroll', dimension].join('-'))
   this.$element
     .one($.support.transition.end, $.proxy(complete, this))
     .emulateTransitionEnd(350)
     [dimension](this.$element[0][scrollSize])
 }
 Collapse.prototype.hide = function () {
   if (this.transitioning || !this.$element.hasClass('in')) return
   var startEvent = $.Event('hide.bs.collapse')
   this.$element.trigger(startEvent)
   if (startEvent.isDefaultPrevented()) return
   var dimension = this.dimension()
   this.$element
     [dimension](this.$element[dimension]())
     [0].offsetHeight
   this.$element
     .addClass('collapsing')
     .removeClass('collapse')
     .removeClass('in')
   this.transitioning = 1
   var complete = function () {
     this.transitioning = 0
     this.$element
       .trigger('hidden.bs.collapse')
       .removeClass('collapsing')
       .addClass('collapse')
   }
   if (!$.support.transition) return complete.call(this)
   this.$element
     [dimension](0)
     .one($.support.transition.end, $.proxy(complete, this))
     .emulateTransitionEnd(350)
 }
 Collapse.prototype.toggle = function () {
   this[this.$element.hasClass('in') ? 'hide' : 'show']()
 }


 // COLLAPSE PLUGIN DEFINITION
 // ==========================
 var old = $.fn.collapse
 $.fn.collapse = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.collapse')
     var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
     if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.collapse.Constructor = Collapse


 // COLLAPSE NO CONFLICT
 // ====================
 $.fn.collapse.noConflict = function () {
   $.fn.collapse = old
   return this
 }


 // COLLAPSE DATA-API
 // =================
 $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
   var $this   = $(this), href
   var target  = $this.attr('data-target')
       || e.preventDefault()
       || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, ) //strip for ie7
   var $target = $(target)
   var data    = $target.data('bs.collapse')
   var option  = data ? 'toggle' : $this.data()
   var parent  = $this.attr('data-parent')
   var $parent = parent && $(parent)
   if (!data || !data.transitioning) {
     if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
     $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
   }
   $target.collapse(option)
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: dropdown.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#dropdowns
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // DROPDOWN CLASS DEFINITION
 // =========================
 var backdrop = '.dropdown-backdrop'
 var toggle   = '[data-toggle=dropdown]'
 var Dropdown = function (element) {
   var $el = $(element).on('click.bs.dropdown', this.toggle)
 }
 Dropdown.prototype.toggle = function (e) {
   var $this = $(this)
   if ($this.is('.disabled, :disabled')) return
   var $parent  = getParent($this)
   var isActive = $parent.hasClass('open')
   clearMenus()
   if (!isActive) {
     if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
       // if mobile we we use a backdrop because click events don't delegate
       $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
     }
     $parent.trigger(e = $.Event('show.bs.dropdown'))
     if (e.isDefaultPrevented()) return
     $parent
       .toggleClass('open')
       .trigger('shown.bs.dropdown')
     $this.focus()
   }
   return false
 }
 Dropdown.prototype.keydown = function (e) {
   if (!/(38|40|27)/.test(e.keyCode)) return
   var $this = $(this)
   e.preventDefault()
   e.stopPropagation()
   if ($this.is('.disabled, :disabled')) return
   var $parent  = getParent($this)
   var isActive = $parent.hasClass('open')
   if (!isActive || (isActive && e.keyCode == 27)) {
     if (e.which == 27) $parent.find(toggle).focus()
     return $this.click()
   }
   var $items = $('[role=menu] li:not(.divider):visible a', $parent)
   if (!$items.length) return
   var index = $items.index($items.filter(':focus'))
   if (e.keyCode == 38 && index > 0)                 index--                        // up
   if (e.keyCode == 40 && index < $items.length - 1) index++                        // down
   if (!~index)                                      index=0
   $items.eq(index).focus()
 }
 function clearMenus() {
   $(backdrop).remove()
   $(toggle).each(function (e) {
     var $parent = getParent($(this))
     if (!$parent.hasClass('open')) return
     $parent.trigger(e = $.Event('hide.bs.dropdown'))
     if (e.isDefaultPrevented()) return
     $parent.removeClass('open').trigger('hidden.bs.dropdown')
   })
 }
 function getParent($this) {
   var selector = $this.attr('data-target')
   if (!selector) {
     selector = $this.attr('href')
     selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, ) //strip for ie7
   }
   var $parent = selector && $(selector)
   return $parent && $parent.length ? $parent : $this.parent()
 }


 // DROPDOWN PLUGIN DEFINITION
 // ==========================
 var old = $.fn.dropdown
 $.fn.dropdown = function (option) {
   return this.each(function () {
     var $this = $(this)
     var data  = $this.data('dropdown')
     if (!data) $this.data('dropdown', (data = new Dropdown(this)))
     if (typeof option == 'string') data[option].call($this)
   })
 }
 $.fn.dropdown.Constructor = Dropdown


 // DROPDOWN NO CONFLICT
 // ====================
 $.fn.dropdown.noConflict = function () {
   $.fn.dropdown = old
   return this
 }


 // APPLY TO STANDARD DROPDOWN ELEMENTS
 // ===================================
 $(document)
   .on('click.bs.dropdown.data-api', clearMenus)
   .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
   .on('click.bs.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
   .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)

}(window.jQuery);

/* ========================================================================

* Bootstrap: modal.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#modals
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // MODAL CLASS DEFINITION
 // ======================
 var Modal = function (element, options) {
   this.options   = options
   this.$element  = $(element)
   this.$backdrop =
   this.isShown   = null
   if (this.options.remote) this.$element.load(this.options.remote)
 }
 Modal.DEFAULTS = {
     backdrop: true
   , keyboard: true
   , show: true
 }
 Modal.prototype.toggle = function (_relatedTarget) {
   return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
 }
 Modal.prototype.show = function (_relatedTarget) {
   var that = this
   var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
   this.$element.trigger(e)
   if (this.isShown || e.isDefaultPrevented()) return
   this.isShown = true
   this.escape()
   this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
   this.backdrop(function () {
     var transition = $.support.transition && that.$element.hasClass('fade')
     if (!that.$element.parent().length) {
       that.$element.appendTo(document.body) // don't move modals dom position
     }
     that.$element.show()
     if (transition) {
       that.$element[0].offsetWidth // force reflow
     }
     that.$element
       .addClass('in')
       .attr('aria-hidden', false)
     that.enforceFocus()
     var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
     transition ?
       that.$element.find('.modal-dialog') // wait for modal to slide in
         .one($.support.transition.end, function () {
           that.$element.focus().trigger(e)
         })
         .emulateTransitionEnd(300) :
       that.$element.focus().trigger(e)
   })
 }
 Modal.prototype.hide = function (e) {
   if (e) e.preventDefault()
   e = $.Event('hide.bs.modal')
   this.$element.trigger(e)
   if (!this.isShown || e.isDefaultPrevented()) return
   this.isShown = false
   this.escape()
   $(document).off('focusin.bs.modal')
   this.$element
     .removeClass('in')
     .attr('aria-hidden', true)
     .off('click.dismiss.modal')
   $.support.transition && this.$element.hasClass('fade') ?
     this.$element
       .one($.support.transition.end, $.proxy(this.hideModal, this))
       .emulateTransitionEnd(300) :
     this.hideModal()
 }
 Modal.prototype.enforceFocus = function () {
   $(document)
     .off('focusin.bs.modal') // guard against infinite focus loop
     .on('focusin.bs.modal', $.proxy(function (e) {
       if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
         this.$element.focus()
       }
     }, this))
 }
 Modal.prototype.escape = function () {
   if (this.isShown && this.options.keyboard) {
     this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
       e.which == 27 && this.hide()
     }, this))
   } else if (!this.isShown) {
     this.$element.off('keyup.dismiss.bs.modal')
   }
 }
 Modal.prototype.hideModal = function () {
   var that = this
   this.$element.hide()
   this.backdrop(function () {
     that.removeBackdrop()
     that.$element.trigger('hidden.bs.modal')
   })
 }
 Modal.prototype.removeBackdrop = function () {
   this.$backdrop && this.$backdrop.remove()
   this.$backdrop = null
 }
 Modal.prototype.backdrop = function (callback) {
   var that    = this
   var animate = this.$element.hasClass('fade') ? 'fade' : 
   if (this.isShown && this.options.backdrop) {
     var doAnimate = $.support.transition && animate
     this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
       .appendTo(document.body)
     this.$element.on('click.dismiss.modal', $.proxy(function (e) {
       if (e.target !== e.currentTarget) return
       this.options.backdrop == 'static'
         ? this.$element[0].focus.call(this.$element[0])
         : this.hide.call(this)
     }, this))
     if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
     this.$backdrop.addClass('in')
     if (!callback) return
     doAnimate ?
       this.$backdrop
         .one($.support.transition.end, callback)
         .emulateTransitionEnd(150) :
       callback()
   } else if (!this.isShown && this.$backdrop) {
     this.$backdrop.removeClass('in')
     $.support.transition && this.$element.hasClass('fade')?
       this.$backdrop
         .one($.support.transition.end, callback)
         .emulateTransitionEnd(150) :
       callback()
   } else if (callback) {
     callback()
   }
 }


 // MODAL PLUGIN DEFINITION
 // =======================
 var old = $.fn.modal
 $.fn.modal = function (option, _relatedTarget) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.modal')
     var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
     if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
     if (typeof option == 'string') data[option](_relatedTarget)
     else if (options.show) data.show(_relatedTarget)
   })
 }
 $.fn.modal.Constructor = Modal


 // MODAL NO CONFLICT
 // =================
 $.fn.modal.noConflict = function () {
   $.fn.modal = old
   return this
 }


 // MODAL DATA-API
 // ==============
 $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
   var $this   = $(this)
   var href    = $this.attr('href')
   var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ))) //strip for ie7
   var option  = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
   e.preventDefault()
   $target
     .modal(option, this)
     .one('hide', function () {
       $this.is(':visible') && $this.focus()
     })
 })
 $(document)
   .on('show.bs.modal',  '.modal', function () { $(document.body).addClass('modal-open') })
   .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })

}(window.jQuery);

/* ========================================================================

* Bootstrap: tooltip.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // TOOLTIP PUBLIC CLASS DEFINITION
 // ===============================
 var Tooltip = function (element, options) {
   this.type       =
   this.options    =
   this.enabled    =
   this.timeout    =
   this.hoverState =
   this.$element   = null
   this.init('tooltip', element, options)
 }
 Tooltip.DEFAULTS = {
   animation: true
 , placement: 'top'
 , selector: false
, template: '
'
 , trigger: 'hover focus'
 , title: 
 , delay: 0
 , html: false
 , container: false
 }
 Tooltip.prototype.init = function (type, element, options) {
   this.enabled  = true
   this.type     = type
   this.$element = $(element)
   this.options  = this.getOptions(options)
   var triggers = this.options.trigger.split(' ')
   for (var i = triggers.length; i--;) {
     var trigger = triggers[i]
     if (trigger == 'click') {
       this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
     } else if (trigger != 'manual') {
       var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focus'
       var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
       this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
       this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
     }
   }
   this.options.selector ?
     (this._options = $.extend({}, this.options, { trigger: 'manual', selector:  })) :
     this.fixTitle()
 }
 Tooltip.prototype.getDefaults = function () {
   return Tooltip.DEFAULTS
 }
 Tooltip.prototype.getOptions = function (options) {
   options = $.extend({}, this.getDefaults(), this.$element.data(), options)
   if (options.delay && typeof options.delay == 'number') {
     options.delay = {
       show: options.delay
     , hide: options.delay
     }
   }
   return options
 }
 Tooltip.prototype.getDelegateOptions = function () {
   var options  = {}
   var defaults = this.getDefaults()
   this._options && $.each(this._options, function (key, value) {
     if (defaults[key] != value) options[key] = value
   })
   return options
 }
 Tooltip.prototype.enter = function (obj) {
   var self = obj instanceof this.constructor ?
     obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
   clearTimeout(self.timeout)
   self.hoverState = 'in'
   if (!self.options.delay || !self.options.delay.show) return self.show()
   self.timeout = setTimeout(function () {
     if (self.hoverState == 'in') self.show()
   }, self.options.delay.show)
 }
 Tooltip.prototype.leave = function (obj) {
   var self = obj instanceof this.constructor ?
     obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
   clearTimeout(self.timeout)
   self.hoverState = 'out'
   if (!self.options.delay || !self.options.delay.hide) return self.hide()
   self.timeout = setTimeout(function () {
     if (self.hoverState == 'out') self.hide()
   }, self.options.delay.hide)
 }
 Tooltip.prototype.show = function () {
   var e = $.Event('show.bs.'+ this.type)
   if (this.hasContent() && this.enabled) {
     this.$element.trigger(e)
     if (e.isDefaultPrevented()) return
     var $tip = this.tip()
     this.setContent()
     if (this.options.animation) $tip.addClass('fade')
     var placement = typeof this.options.placement == 'function' ?
       this.options.placement.call(this, $tip[0], this.$element[0]) :
       this.options.placement
     var autoToken = /\s?auto?\s?/i
     var autoPlace = autoToken.test(placement)
     if (autoPlace) placement = placement.replace(autoToken, ) || 'top'
     $tip
       .detach()
       .css({ top: 0, left: 0, display: 'block' })
       .addClass(placement)
     this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
     var pos          = this.getPosition()
     var actualWidth  = $tip[0].offsetWidth
     var actualHeight = $tip[0].offsetHeight
     if (autoPlace) {
       var $parent = this.$element.parent()
       var orgPlacement = placement
       var docScroll    = document.documentElement.scrollTop || document.body.scrollTop
       var parentWidth  = this.options.container == 'body' ? window.innerWidth  : $parent.outerWidth()
       var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
       var parentLeft   = this.options.container == 'body' ? 0 : $parent.offset().left
       placement = placement == 'bottom' && pos.top   + pos.height  + actualHeight - docScroll > parentHeight  ? 'top'    :
                   placement == 'top'    && pos.top   - docScroll   - actualHeight < 0                         ? 'bottom' :
                   placement == 'right'  && pos.right + actualWidth > parentWidth                              ? 'left'   :
                   placement == 'left'   && pos.left  - actualWidth < parentLeft                               ? 'right'  :
                   placement
       $tip
         .removeClass(orgPlacement)
         .addClass(placement)
     }
     var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
     this.applyPlacement(calculatedOffset, placement)
     this.$element.trigger('shown.bs.' + this.type)
   }
 }
 Tooltip.prototype.applyPlacement = function(offset, placement) {
   var replace
   var $tip   = this.tip()
   var width  = $tip[0].offsetWidth
   var height = $tip[0].offsetHeight
   // manually read margins because getBoundingClientRect includes difference
   var marginTop = parseInt($tip.css('margin-top'), 10)
   var marginLeft = parseInt($tip.css('margin-left'), 10)
   // we must check for NaN for ie 8/9
   if (isNaN(marginTop))  marginTop  = 0
   if (isNaN(marginLeft)) marginLeft = 0
   offset.top  = offset.top  + marginTop
   offset.left = offset.left + marginLeft
   $tip
     .offset(offset)
     .addClass('in')
   // check to see if placing tip in new offset caused the tip to resize itself
   var actualWidth  = $tip[0].offsetWidth
   var actualHeight = $tip[0].offsetHeight
   if (placement == 'top' && actualHeight != height) {
     replace = true
     offset.top = offset.top + height - actualHeight
   }
   if (/bottom|top/.test(placement)) {
     var delta = 0
     if (offset.left < 0) {
       delta       = offset.left * -2
       offset.left = 0
       $tip.offset(offset)
       actualWidth  = $tip[0].offsetWidth
       actualHeight = $tip[0].offsetHeight
     }
     this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
   } else {
     this.replaceArrow(actualHeight - height, actualHeight, 'top')
   }
   if (replace) $tip.offset(offset)
 }
 Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
   this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : )
 }
 Tooltip.prototype.setContent = function () {
   var $tip  = this.tip()
   var title = this.getTitle()
   $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
   $tip.removeClass('fade in top bottom left right')
 }
 Tooltip.prototype.hide = function () {
   var that = this
   var $tip = this.tip()
   var e    = $.Event('hide.bs.' + this.type)
   function complete() {
     if (that.hoverState != 'in') $tip.detach()
   }
   this.$element.trigger(e)
   if (e.isDefaultPrevented()) return
   $tip.removeClass('in')
   $.support.transition && this.$tip.hasClass('fade') ?
     $tip
       .one($.support.transition.end, complete)
       .emulateTransitionEnd(150) :
     complete()
   this.$element.trigger('hidden.bs.' + this.type)
   return this
 }
 Tooltip.prototype.fixTitle = function () {
   var $e = this.$element
   if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
     $e.attr('data-original-title', $e.attr('title') || ).attr('title', )
   }
 }
 Tooltip.prototype.hasContent = function () {
   return this.getTitle()
 }
 Tooltip.prototype.getPosition = function () {
   var el = this.$element[0]
   return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
     width: el.offsetWidth
   , height: el.offsetHeight
   }, this.$element.offset())
 }
 Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
   return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2  } :
          placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2  } :
          placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
       /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width   }
 }
 Tooltip.prototype.getTitle = function () {
   var title
   var $e = this.$element
   var o  = this.options
   title = $e.attr('data-original-title')
     || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)
   return title
 }
 Tooltip.prototype.tip = function () {
   return this.$tip = this.$tip || $(this.options.template)
 }
 Tooltip.prototype.arrow = function () {
   return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
 }
 Tooltip.prototype.validate = function () {
   if (!this.$element[0].parentNode) {
     this.hide()
     this.$element = null
     this.options  = null
   }
 }
 Tooltip.prototype.enable = function () {
   this.enabled = true
 }
 Tooltip.prototype.disable = function () {
   this.enabled = false
 }
 Tooltip.prototype.toggleEnabled = function () {
   this.enabled = !this.enabled
 }
 Tooltip.prototype.toggle = function (e) {
   var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
   self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
 }
 Tooltip.prototype.destroy = function () {
   this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
 }


 // TOOLTIP PLUGIN DEFINITION
 // =========================
 var old = $.fn.tooltip
 $.fn.tooltip = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.tooltip')
     var options = typeof option == 'object' && option
     if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.tooltip.Constructor = Tooltip


 // TOOLTIP NO CONFLICT
 // ===================
 $.fn.tooltip.noConflict = function () {
   $.fn.tooltip = old
   return this
 }

}(window.jQuery);

/* ========================================================================

* Bootstrap: popover.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#popovers
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // POPOVER PUBLIC CLASS DEFINITION
 // ===============================
 var Popover = function (element, options) {
   this.init('popover', element, options)
 }
 if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
 Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
   placement: 'right'
 , trigger: 'click'
 , content: 
, template: '

'
 })


 // NOTE: POPOVER EXTENDS tooltip.js
 // ================================
 Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
 Popover.prototype.constructor = Popover
 Popover.prototype.getDefaults = function () {
   return Popover.DEFAULTS
 }
 Popover.prototype.setContent = function () {
   var $tip    = this.tip()
   var title   = this.getTitle()
   var content = this.getContent()
   $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
   $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
   $tip.removeClass('fade top bottom left right in')
   // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
   // this manually by checking the contents.
   if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
 }
 Popover.prototype.hasContent = function () {
   return this.getTitle() || this.getContent()
 }
 Popover.prototype.getContent = function () {
   var $e = this.$element
   var o  = this.options
   return $e.attr('data-content')
     || (typeof o.content == 'function' ?
           o.content.call($e[0]) :
           o.content)
 }
 Popover.prototype.arrow = function () {
   return this.$arrow = this.$arrow || this.tip().find('.arrow')
 }
 Popover.prototype.tip = function () {
   if (!this.$tip) this.$tip = $(this.options.template)
   return this.$tip
 }


 // POPOVER PLUGIN DEFINITION
 // =========================
 var old = $.fn.popover
 $.fn.popover = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.popover')
     var options = typeof option == 'object' && option
     if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.popover.Constructor = Popover


 // POPOVER NO CONFLICT
 // ===================
 $.fn.popover.noConflict = function () {
   $.fn.popover = old
   return this
 }

}(window.jQuery);

/* ========================================================================

* Bootstrap: scrollspy.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#scrollspy
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // SCROLLSPY CLASS DEFINITION
 // ==========================
 function ScrollSpy(element, options) {
   var href
   var process  = $.proxy(this.process, this)
   this.$element       = $(element).is('body') ? $(window) : $(element)
   this.$body          = $('body')
   this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
   this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)
   this.selector       = (this.options.target
     || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, )) //strip for ie7
     || ) + ' .nav li > a'
   this.offsets        = $([])
   this.targets        = $([])
   this.activeTarget   = null
   this.refresh()
   this.process()
 }
 ScrollSpy.DEFAULTS = {
   offset: 10
 }
 ScrollSpy.prototype.refresh = function () {
   var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
   this.offsets = $([])
   this.targets = $([])
   var self     = this
   var $targets = this.$body
     .find(this.selector)
     .map(function () {
       var $el   = $(this)
       var href  = $el.data('target') || $el.attr('href')
       var $href = /^#\w/.test(href) && $(href)
       return ($href
         && $href.length
         && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
     })
     .sort(function (a, b) { return a[0] - b[0] })
     .each(function () {
       self.offsets.push(this[0])
       self.targets.push(this[1])
     })
 }
 ScrollSpy.prototype.process = function () {
   var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset
   var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
   var maxScroll    = scrollHeight - this.$scrollElement.height()
   var offsets      = this.offsets
   var targets      = this.targets
   var activeTarget = this.activeTarget
   var i
   if (scrollTop >= maxScroll) {
     return activeTarget != (i = targets.last()[0]) && this.activate(i)
   }
   for (i = offsets.length; i--;) {
     activeTarget != targets[i]
       && scrollTop >= offsets[i]
       && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
       && this.activate( targets[i] )
   }
 }
 ScrollSpy.prototype.activate = function (target) {
   this.activeTarget = target
   $(this.selector)
     .parents('.active')
     .removeClass('active')
   var selector = this.selector
     + '[data-target="' + target + '"],'
     + this.selector + '[href="' + target + '"]'
   var active = $(selector)
     .parents('li')
     .addClass('active')
   if (active.parent('.dropdown-menu').length)  {
     active = active
       .closest('li.dropdown')
       .addClass('active')
   }
   active.trigger('activate')
 }


 // SCROLLSPY PLUGIN DEFINITION
 // ===========================
 var old = $.fn.scrollspy
 $.fn.scrollspy = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.scrollspy')
     var options = typeof option == 'object' && option
     if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.scrollspy.Constructor = ScrollSpy


 // SCROLLSPY NO CONFLICT
 // =====================
 $.fn.scrollspy.noConflict = function () {
   $.fn.scrollspy = old
   return this
 }


 // SCROLLSPY DATA-API
 // ==================
 $(window).on('load', function () {
   $('[data-spy="scroll"]').each(function () {
     var $spy = $(this)
     $spy.scrollspy($spy.data())
   })
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: tab.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#tabs
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // TAB CLASS DEFINITION
 // ====================
 var Tab = function (element) {
   this.element = $(element)
 }
 Tab.prototype.show = function () {
   var $this    = this.element
   var $ul      = $this.closest('ul:not(.dropdown-menu)')
   var selector = $this.attr('data-target')
   if (!selector) {
     selector = $this.attr('href')
     selector = selector && selector.replace(/.*(?=#[^\s]*$)/, ) //strip for ie7
   }
   if ($this.parent('li').hasClass('active')) return
   var previous = $ul.find('.active:last a')[0]
   var e        = $.Event('show.bs.tab', {
     relatedTarget: previous
   })
   $this.trigger(e)
   if (e.isDefaultPrevented()) return
   var $target = $(selector)
   this.activate($this.parent('li'), $ul)
   this.activate($target, $target.parent(), function () {
     $this.trigger({
       type: 'shown.bs.tab'
     , relatedTarget: previous
     })
   })
 }
 Tab.prototype.activate = function (element, container, callback) {
   var $active    = container.find('> .active')
   var transition = callback
     && $.support.transition
     && $active.hasClass('fade')
   function next() {
     $active
       .removeClass('active')
       .find('> .dropdown-menu > .active')
       .removeClass('active')
     element.addClass('active')
     if (transition) {
       element[0].offsetWidth // reflow for transition
       element.addClass('in')
     } else {
       element.removeClass('fade')
     }
     if (element.parent('.dropdown-menu')) {
       element.closest('li.dropdown').addClass('active')
     }
     callback && callback()
   }
   transition ?
     $active
       .one($.support.transition.end, next)
       .emulateTransitionEnd(150) :
     next()
   $active.removeClass('in')
 }


 // TAB PLUGIN DEFINITION
 // =====================
 var old = $.fn.tab
 $.fn.tab = function ( option ) {
   return this.each(function () {
     var $this = $(this)
     var data  = $this.data('bs.tab')
     if (!data) $this.data('bs.tab', (data = new Tab(this)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.tab.Constructor = Tab


 // TAB NO CONFLICT
 // ===============
 $.fn.tab.noConflict = function () {
   $.fn.tab = old
   return this
 }


 // TAB DATA-API
 // ============
 $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
   e.preventDefault()
   $(this).tab('show')
 })

}(window.jQuery);

/* ========================================================================

* Bootstrap: affix.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#affix
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================================== */


+function ($) { "use strict";

 // AFFIX CLASS DEFINITION
 // ======================
 var Affix = function (element, options) {
   this.options = $.extend({}, Affix.DEFAULTS, options)
   this.$window = $(window)
     .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
     .on('click.bs.affix.data-api',  $.proxy(this.checkPositionWithEventLoop, this))
   this.$element = $(element)
   this.affixed  =
   this.unpin    = null
   this.checkPosition()
 }
 Affix.RESET = 'affix affix-top affix-bottom'
 Affix.DEFAULTS = {
   offset: 0
 }
 Affix.prototype.checkPositionWithEventLoop = function () {
   setTimeout($.proxy(this.checkPosition, this), 1)
 }
 Affix.prototype.checkPosition = function () {
   if (!this.$element.is(':visible')) return
   var scrollHeight = $(document).height()
   var scrollTop    = this.$window.scrollTop()
   var position     = this.$element.offset()
   var offset       = this.options.offset
   var offsetTop    = offset.top
   var offsetBottom = offset.bottom
   if (typeof offset != 'object')         offsetBottom = offsetTop = offset
   if (typeof offsetTop == 'function')    offsetTop    = offset.top()
   if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
   var affix = this.unpin   != null && (scrollTop + this.unpin <= position.top) ? false :
               offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
               offsetTop    != null && (scrollTop <= offsetTop) ? 'top' : false
   if (this.affixed === affix) return
   if (this.unpin) this.$element.css('top', )
   this.affixed = affix
   this.unpin   = affix == 'bottom' ? position.top - scrollTop : null
   this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ))
   if (affix == 'bottom') {
     this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })
   }
 }


 // AFFIX PLUGIN DEFINITION
 // =======================
 var old = $.fn.affix
 $.fn.affix = function (option) {
   return this.each(function () {
     var $this   = $(this)
     var data    = $this.data('bs.affix')
     var options = typeof option == 'object' && option
     if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
     if (typeof option == 'string') data[option]()
   })
 }
 $.fn.affix.Constructor = Affix


 // AFFIX NO CONFLICT
 // =================
 $.fn.affix.noConflict = function () {
   $.fn.affix = old
   return this
 }


 // AFFIX DATA-API
 // ==============
 $(window).on('load', function () {
   $('[data-spy="affix"]').each(function () {
     var $spy = $(this)
     var data = $spy.data()
     data.offset = data.offset || {}
     if (data.offsetBottom) data.offset.bottom = data.offsetBottom
     if (data.offsetTop)    data.offset.top    = data.offsetTop
     $spy.affix(data)
   })
 })

}(window.jQuery); /*global jQuery */ /*jshint multistr:true browser:true */ /*!

  • FitVids 1.0.3
  • Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
  • Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
  • Released under the WTFPL license - http://sam.zoy.org/wtfpl/
  • Date: Thu Sept 01 18:00:00 2011 -0500
  • /

(function( $ ){

 "use strict";
 $.fn.fitVids = function( options ) {
   var settings = {
     customSelector: null
   };
   if(!document.getElementById('fit-vids-style')) {
     var div = document.createElement('div'),
         ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0],
         cssStyles = '­<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>';
     div.className = 'fit-vids-style';
     div.id = 'fit-vids-style';
     div.style.display = 'none';
     div.innerHTML = cssStyles;
     ref.parentNode.insertBefore(div,ref);
   }
   if ( options ) {
     $.extend( settings, options );
   }
   return this.each(function(){
     var selectors = [
       "iframe[src*='player.vimeo.com']",
       "iframe[src*='youtube.com']",
       "iframe[src*='youtube-nocookie.com']",
       "iframe[src*='kickstarter.com'][src*='video.html']",
       "object",
       "embed"
     ];
     if (settings.customSelector) {
       selectors.push(settings.customSelector);
     }
     var $allVideos = $(this).find(selectors.join(','));
     $allVideos = $allVideos.not("object object"); // SwfObj conflict patch
     $allVideos.each(function(){
       var $this = $(this);
       if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
       var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
           width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
           aspectRatio = height / width;
       if(!$this.attr('id')){
         var videoID = 'fitvid' + Math.floor(Math.random()*999999);
         $this.attr('id', videoID);
       }
$this.wrap('
').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
       $this.removeAttr('height').removeAttr('width');
     });
   });
 };

// Works with either jQuery or Zepto })( window.jQuery || window.Zepto ); /*

*	jQuery OwlCarousel v1.31
*  
*	Copyright (c) 2013 Bartosz Wojciechowski
*	http://www.owlgraphic.com/owlcarousel
*
*	Licensed under MIT
*
*/

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7(B 3i.3E!=="9"){3i.3E=9(e){9 t(){}t.5v=e;q 5c t}}(9(e,t,n,r){b i={1J:9(t,n){b r=d;r.$k=e(n);r.6=e.3K({},e.3A.2c.6,r.$k.w(),t);r.29=t;r.3U()},3U:9(){b t=d;7(B t.6.2M==="9"){t.6.2M.P(d,[t.$k])}7(B t.6.2I==="2F"){b n=t.6.2I;9 r(e){7(B t.6.3F==="9"){t.6.3F.P(d,[e])}m{b n="";1C(b r 2f e["h"]){n+=e["h"][r]["1K"]}t.$k.2h(n)}t.2Y()}e.5G(n,r)}m{t.2Y()}},2Y:9(e){b t=d;t.$k.w("h-4p",t.$k.2s("2t")).w("h-4K",t.$k.2s("J"));t.$k.A({2z:0});t.2A=t.6.v;t.4L();t.5R=0;t.1M;t.1P()},1P:9(){b e=d;7(e.$k.1S().S===0){q c}e.1O();e.3H();e.$X=e.$k.1S();e.G=e.$X.S;e.4M();e.$I=e.$k.16(".h-1K");e.$L=e.$k.16(".h-1h");e.2H="Y";e.15=0;e.1W=[0];e.p=0;e.4I();e.4G()},4G:9(){b e=d;e.2V();e.31();e.4D();e.35();e.4C();e.4A();e.2x();e.4z();7(e.6.2w!==c){e.4w(e.6.2w)}7(e.6.Q===j){e.6.Q=5i}e.1e();e.$k.16(".h-1h").A("4v","4r");7(!e.$k.2p(":33")){e.34()}m{e.$k.A("2z",1)}e.56=c;e.2o();7(B e.6.39==="9"){e.6.39.P(d,[e.$k])}},2o:9(){b e=d;7(e.6.1I===j){e.1I()}7(e.6.1A===j){e.1A()}e.4n();7(B e.6.3n==="9"){e.6.3n.P(d,[e.$k])}},3o:9(){b e=d;7(B e.6.3p==="9"){e.6.3p.P(d,[e.$k])}e.34();e.2V();e.31();e.4m();e.35();e.2o();7(B e.6.3t==="9"){e.6.3t.P(d,[e.$k])}},4i:9(e){b t=d;19(9(){t.3o()},0)},34:9(){b e=d;7(e.$k.2p(":33")===c){e.$k.A({2z:0});18(e.1r);18(e.1M)}m{q c}e.1M=4g(9(){7(e.$k.2p(":33")){e.4i();e.$k.4f({2z:1},2J);18(e.1M)}},5O)},4M:9(){b e=d;e.$X.5N(\'<M J="h-1h">\').3G(\'<M J="h-1K"></M>\');e.$k.16(".h-1h").3G(\'<M J="h-1h-4d">\');e.1U=e.$k.16(".h-1h-4d");e.$k.A("4v","4r")},1O:9(){b e=d;b t=e.$k.1V(e.6.1O);b n=e.$k.1V(e.6.28);7(!t){e.$k.K(e.6.1O)}7(!n){e.$k.K(e.6.28)}},2V:9(){b t=d;7(t.6.2Z===c){q c}7(t.6.4b===j){t.6.v=t.2A=1;t.6.17=c;t.6.1q=c;t.6.21=c;t.6.24=c;t.6.25=c;t.6.26=c;q c}b n=e(t.6.4a).1m();7(n>(t.6.1q[0]||t.2A)){t.6.v=t.2A}7(B t.6.17!=="3b"&&t.6.17!==c){t.6.17.5x(9(e,t){q e[0]-t[0]});1C(b r 2f t.6.17){7(B t.6.17[r]!=="3b"&&t.6.17[r][0]<=n){t.6.v=t.6.17[r][1]}}}m{7(n<=t.6.1q[0]&&t.6.1q!==c){t.6.v=t.6.1q[1]}7(n<=t.6.21[0]&&t.6.21!==c){t.6.v=t.6.21[1]}7(n<=t.6.24[0]&&t.6.24!==c){t.6.v=t.6.24[1]}7(n<=t.6.25[0]&&t.6.25!==c){t.6.v=t.6.25[1]}7(n<=t.6.26[0]&&t.6.26!==c){t.6.v=t.6.26[1]}}7(t.6.v>t.G&&t.6.49===j){t.6.v=t.G}},4C:9(){b n=d,r;7(n.6.2Z!==j){q c}b i=e(t).1m();n.3f=9(){7(e(t).1m()!==i){7(n.6.Q!==c){18(n.1r)}5o(r);r=19(9(){i=e(t).1m();n.3o()},n.6.48)}};e(t).47(n.3f)},4m:9(){b e=d;e.2j(e.p);7(e.6.Q!==c){e.3l()}},46:9(){b t=d;b n=0;b r=t.G-t.6.v;t.$I.2i(9(i){b s=e(d);s.A({1m:t.N}).w("h-1K",3q(i));7(i%t.6.v===0||i===r){7(!(i>r)){n+=1}}s.w("h-1L",n)})},45:9(){b e=d;b t=0;b t=e.$I.S*e.N;e.$L.A({1m:t*2,V:0});e.46()},31:9(){b e=d;e.44();e.45();e.43();e.3x()},44:9(){b e=d;e.N=1N.5a(e.$k.1m()/e.6.v)},3x:9(){b e=d;b t=(e.G*e.N-e.6.v*e.N)*-1;7(e.6.v>e.G){e.C=0;t=0;e.3D=0}m{e.C=e.G-e.6.v;e.3D=t}q t},42:9(){q 0},43:9(){b t=d;t.H=[0];t.2C=[];b n=0;b r=0;1C(b i=0;i<t.G;i++){r+=t.N;t.H.2D(-r);7(t.6.14===j){b s=e(t.$I[i]);b o=s.w("h-1L");7(o!==n){t.2C[n]=t.H[i];n=o}}}},4D:9(){b t=d;7(t.6.2b===j||t.6.1s===j){t.D=e(\'<M J="h-4R"/>\').4Q("4P",!t.F.13).5E(t.$k)}7(t.6.1s===j){t.3Z()}7(t.6.2b===j){t.3Y()}},3Y:9(){b t=d;b n=e(\'<M J="h-5h"/>\');t.D.1k(n);t.1w=e("<M/>",{"J":"h-1l",2h:t.6.2T[0]||""});t.1y=e("<M/>",{"J":"h-Y",2h:t.6.2T[1]||""});n.1k(t.1w).1k(t.1y);n.z("2W.D 1Z.D",\'M[J^="h"]\',9(e){e.1n()});n.z("2a.D 2n.D",\'M[J^="h"]\',9(n){n.1n();7(e(d).1V("h-Y")){t.Y()}m{t.1l()}})},3Z:9(){b t=d;t.1o=e(\'<M J="h-1s"/>\');t.D.1k(t.1o);t.1o.z("2a.D 2n.D",".h-1p",9(n){n.1n();7(3q(e(d).w("h-1p"))!==t.p){t.1i(3q(e(d).w("h-1p")),j)}})},3T:9(){b t=d;7(t.6.1s===c){q c}t.1o.2h("");b n=0;b r=t.G-t.G%t.6.v;1C(b i=0;i<t.G;i++){7(i%t.6.v===0){n+=1;7(r===i){b s=t.G-t.6.v}b o=e("<M/>",{"J":"h-1p"});b u=e("<3Q></3Q>",{54:t.6.38===j?n:"","J":t.6.38===j?"h-5l":""});o.1k(u);o.w("h-1p",r===i?s:i);o.w("h-1L",n);t.1o.1k(o)}}t.3a()},3a:9(){b t=d;7(t.6.1s===c){q c}t.1o.16(".h-1p").2i(9(n,r){7(e(d).w("h-1L")===e(t.$I[t.p]).w("h-1L")){t.1o.16(".h-1p").Z("2d");e(d).K("2d")}})},3d:9(){b e=d;7(e.6.2b===c){q c}7(e.6.2e===c){7(e.p===0&&e.C===0){e.1w.K("1b");e.1y.K("1b")}m 7(e.p===0&&e.C!==0){e.1w.K("1b");e.1y.Z("1b")}m 7(e.p===e.C){e.1w.Z("1b");e.1y.K("1b")}m 7(e.p!==0&&e.p!==e.C){e.1w.Z("1b");e.1y.Z("1b")}}},35:9(){b e=d;e.3T();e.3d();7(e.D){7(e.6.v>=e.G){e.D.3N()}m{e.D.3L()}}},5g:9(){b e=d;7(e.D){e.D.3j()}},Y:9(e){b t=d;7(t.1G){q c}t.p+=t.6.14===j?t.6.v:1;7(t.p>t.C+(t.6.14==j?t.6.v-1:0)){7(t.6.2e===j){t.p=0;e="2k"}m{t.p=t.C;q c}}t.1i(t.p,e)},1l:9(e){b t=d;7(t.1G){q c}7(t.6.14===j&&t.p>0&&t.p<t.6.v){t.p=0}m{t.p-=t.6.14===j?t.6.v:1}7(t.p<0){7(t.6.2e===j){t.p=t.C;e="2k"}m{t.p=0;q c}}t.1i(t.p,e)},1i:9(e,t,n){b r=d;7(r.1G){q c}7(B r.6.1F==="9"){r.6.1F.P(d,[r.$k])}7(e>=r.C){e=r.C}m 7(e<=0){e=0}r.p=r.h.p=e;7(r.6.2w!==c&&n!=="4e"&&r.6.v===1&&r.F.1u===j){r.1B(0);7(r.F.1u===j){r.1H(r.H[e])}m{r.1x(r.H[e],1)}r.2q();r.4k();q c}b i=r.H[e];7(r.F.1u===j){r.1T=c;7(t===j){r.1B("1D");19(9(){r.1T=j},r.6.1D)}m 7(t==="2k"){r.1B(r.6.2u);19(9(){r.1T=j},r.6.2u)}m{r.1B("1j");19(9(){r.1T=j},r.6.1j)}r.1H(i)}m{7(t===j){r.1x(i,r.6.1D)}m 7(t==="2k"){r.1x(i,r.6.2u)}m{r.1x(i,r.6.1j)}}r.2q()},2j:9(e){b t=d;7(B t.6.1F==="9"){t.6.1F.P(d,[t.$k])}7(e>=t.C||e===-1){e=t.C}m 7(e<=0){e=0}t.1B(0);7(t.F.1u===j){t.1H(t.H[e])}m{t.1x(t.H[e],1)}t.p=t.h.p=e;t.2q()},2q:9(){b e=d;e.1W.2D(e.p);e.15=e.h.15=e.1W[e.1W.S-2];e.1W.55(0);7(e.15!==e.p){e.3a();e.3d();e.2o();7(e.6.Q!==c){e.3l()}}7(B e.6.3z==="9"&&e.15!==e.p){e.6.3z.P(d,[e.$k])}},W:9(){b e=d;e.3k="W";18(e.1r)},3l:9(){b e=d;7(e.3k!=="W"){e.1e()}},1e:9(){b e=d;e.3k="1e";7(e.6.Q===c){q c}18(e.1r);e.1r=4g(9(){e.Y(j)},e.6.Q)},1B:9(e){b t=d;7(e==="1j"){t.$L.A(t.2y(t.6.1j))}m 7(e==="1D"){t.$L.A(t.2y(t.6.1D))}m 7(B e!=="2F"){t.$L.A(t.2y(e))}},2y:9(e){b t=d;q{"-1R-1a":"2B "+e+"1z 2r","-27-1a":"2B "+e+"1z 2r","-o-1a":"2B "+e+"1z 2r",1a:"2B "+e+"1z 2r"}},3I:9(){q{"-1R-1a":"","-27-1a":"","-o-1a":"",1a:""}},3J:9(e){q{"-1R-O":"1g("+e+"T, E, E)","-27-O":"1g("+e+"T, E, E)","-o-O":"1g("+e+"T, E, E)","-1z-O":"1g("+e+"T, E, E)",O:"1g("+e+"T, E,E)"}},1H:9(e){b t=d;t.$L.A(t.3J(e))},3M:9(e){b t=d;t.$L.A({V:e})},1x:9(e,t){b n=d;n.2g=c;n.$L.W(j,j).4f({V:e},{59:t||n.6.1j,3O:9(){n.2g=j}})},4L:9(){b e=d;b r="1g(E, E, E)",i=n.5f("M");i.2t.3P=" -27-O:"+r+"; -1z-O:"+r+"; -o-O:"+r+"; -1R-O:"+r+"; O:"+r;b s=/1g\\(E, E, E\\)/g,o=i.2t.3P.5k(s),u=o!==1d&&o.S===1;b a="5z"2f t||5C.4U;e.F={1u:u,13:a}},4A:9(){b e=d;7(e.6.22!==c||e.6.23!==c){e.3R();e.3S()}},3H:9(){b e=d;b t=["s","e","x"];e.12={};7(e.6.22===j&&e.6.23===j){t=["2W.h 1Z.h","2P.h 3V.h","2a.h 3W.h 2n.h"]}m 7(e.6.22===c&&e.6.23===j){t=["2W.h","2P.h","2a.h 3W.h"]}m 7(e.6.22===j&&e.6.23===c){t=["1Z.h","3V.h","2n.h"]}e.12["3X"]=t[0];e.12["2O"]=t[1];e.12["2N"]=t[2]},3S:9(){b t=d;t.$k.z("5A.h",9(e){e.1n()});t.$k.z("1Z.40",9(t){q e(t.1f).2p("5F, 5H, 5Q, 5S")})},3R:9(){9 o(e){7(e.2L){q{x:e.2L[0].2K,y:e.2L[0].41}}m{7(e.2K!==r){q{x:e.2K,y:e.41}}m{q{x:e.52,y:e.53}}}}9 u(t){7(t==="z"){e(n).z(i.12["2O"],f);e(n).z(i.12["2N"],l)}m 7(t==="R"){e(n).R(i.12["2O"]);e(n).R(i.12["2N"])}}9 a(n){b n=n.3B||n||t.3w;7(n.5d===3){q c}7(i.G<=i.6.v){q}7(i.2g===c&&!i.6.3v){q c}7(i.1T===c&&!i.6.3v){q c}7(i.6.Q!==c){18(i.1r)}7(i.F.13!==j&&!i.$L.1V("3s")){i.$L.K("3s")}i.11=0;i.U=0;e(d).A(i.3I());b r=e(d).2l();s.3g=r.V;s.3e=o(n).x-r.V;s.3c=o(n).y-r.5y;u("z");s.2m=c;s.30=n.1f||n.4c}9 f(r){b r=r.3B||r||t.3w;i.11=o(r).x-s.3e;i.2S=o(r).y-s.3c;i.U=i.11-s.3g;7(B i.6.2R==="9"&&s.2Q!==j&&i.U!==0){s.2Q=j;i.6.2R.P(i,[i.$k])}7(i.U>8||i.U<-8&&i.F.13===j){r.1n?r.1n():r.5M=c;s.2m=j}7((i.2S>10||i.2S<-10)&&s.2m===c){e(n).R("2P.h")}b u=9(){q i.U/5};b a=9(){q i.3D+i.U/5};i.11=1N.3x(1N.42(i.11,u()),a());7(i.F.1u===j){i.1H(i.11)}m{i.3M(i.11)}}9 l(n){b n=n.3B||n||t.3w;n.1f=n.1f||n.4c;s.2Q=c;7(i.F.13!==j){i.$L.Z("3s")}7(i.U<0){i.1t=i.h.1t="V"}m{i.1t=i.h.1t="2G"}7(i.U!==0){b r=i.4h();i.1i(r,c,"4e");7(s.30===n.1f&&i.F.13!==j){e(n.1f).z("3u.4j",9(t){t.4S();t.4T();t.1n();e(n.1f).R("3u.4j")});b o=e.4O(n.1f,"4V")["3u"];b a=o.4W();o.4X(0,0,a)}}u("R")}b i=d;b s={3e:0,3c:0,4Y:0,3g:0,2l:1d,4Z:1d,50:1d,2m:1d,51:1d,30:1d};i.2g=j;i.$k.z(i.12["3X"],".h-1h",a)},4h:9(){b e=d,t;t=e.4l();7(t>e.C){e.p=e.C;t=e.C}m 7(e.11>=0){t=0;e.p=0}q t},4l:9(){b t=d,n=t.6.14===j?t.2C:t.H,r=t.11,i=1d;e.2i(n,9(s,o){7(r-t.N/20>n[s+1]&&r-t.N/20<o&&t.3m()==="V"){i=o;7(t.6.14===j){t.p=e.4o(i,t.H)}m{t.p=s}}m 7(r+t.N/20<o&&r+t.N/20>(n[s+1]||n[s]-t.N)&&t.3m()==="2G"){7(t.6.14===j){i=n[s+1]||n[n.S-1];t.p=e.4o(i,t.H)}m{i=n[s+1];t.p=s+1}}});q t.p},3m:9(){b e=d,t;7(e.U<0){t="2G";e.2H="Y"}m{t="V";e.2H="1l"}q t},4I:9(){b e=d;e.$k.z("h.Y",9(){e.Y()});e.$k.z("h.1l",9(){e.1l()});e.$k.z("h.1e",9(t,n){e.6.Q=n;e.1e();e.36="1e"});e.$k.z("h.W",9(){e.W();e.36="W"});e.$k.z("h.1i",9(t,n){e.1i(n)});e.$k.z("h.2j",9(t,n){e.2j(n)})},2x:9(){b e=d;7(e.6.2x===j&&e.F.13!==j&&e.6.Q!==c){e.$k.z("57",9(){e.W()});e.$k.z("58",9(){7(e.36!=="W"){e.1e()}})}},1I:9(){b t=d;7(t.6.1I===c){q c}1C(b n=0;n<t.G;n++){b i=e(t.$I[n]);7(i.w("h-1c")==="1c"){4q}b s=i.w("h-1K"),o=i.16(".5b"),u;7(B o.w("1X")!=="2F"){i.w("h-1c","1c");4q}7(i.w("h-1c")===r){o.3N();i.K("4s").w("h-1c","5e")}7(t.6.4t===j){u=s>=t.p}m{u=j}7(u&&s<t.p+t.6.v&&o.S){t.4u(i,o)}}},4u:9(e,t){9 s(){r+=1;7(n.2X(t.2U(0))||i===j){o()}m 7(r<=2v){19(s,2v)}m{o()}}9 o(){e.w("h-1c","1c").Z("4s");t.5j("w-1X");n.6.4x==="4y"?t.5m(5n):t.3L();7(B n.6.3r==="9"){n.6.3r.P(d,[n.$k])}}b n=d,r=0;7(t.5p("5q")==="5r"){t.A("5s-5t","5u("+t.w("1X")+")");b i=j}m{t[0].1X=t.w("1X")}s()},1A:9(){9 s(){i+=1;7(t.2X(n.2U(0))){o()}m 7(i<=2v){19(s,2v)}m{t.1U.A("3h","")}}9 o(){b n=e(t.$I[t.p]).3h();t.1U.A("3h",n+"T");7(!t.1U.1V("1A")){19(9(){t.1U.K("1A")},0)}}b t=d;b n=e(t.$I[t.p]).16("5w");7(n.2U(0)!==r){b i=0;s()}m{o()}},2X:9(e){7(!e.3O){q c}7(B e.4B!=="3b"&&e.4B==0){q c}q j},4n:9(){b t=d;7(t.6.37===j){t.$I.Z("2d")}t.1v=[];1C(b n=t.p;n<t.p+t.6.v;n++){t.1v.2D(n);7(t.6.37===j){e(t.$I[n]).K("2d")}}t.h.1v=t.1v},4w:9(e){b t=d;t.4E="h-"+e+"-5B";t.4F="h-"+e+"-2f"},4k:9(){9 u(e,t){q{2l:"5D",V:e+"T"}}b e=d;e.1G=j;b t=e.4E,n=e.4F,r=e.$I.1E(e.p),i=e.$I.1E(e.15),s=1N.4H(e.H[e.p])+e.H[e.15],o=1N.4H(e.H[e.p])+e.N/2;e.$L.K("h-1Y").A({"-1R-O-1Y":o+"T","-27-4J-1Y":o+"T","4J-1Y":o+"T"});b a="5I 5J 5K 5L";i.A(u(s,10)).K(t).z(a,9(){e.3C=j;i.R(a);e.32(i,t)});r.K(n).z(a,9(){e.2E=j;r.R(a);e.32(r,n)})},32:9(e,t){b n=d;e.A({2l:"",V:""}).Z(t);7(n.3C&&n.2E){n.$L.Z("h-1Y");n.3C=c;n.2E=c;n.1G=c}},4z:9(){b e=d;e.h={29:e.29,5P:e.$k,X:e.$X,I:e.$I,p:e.p,15:e.15,1v:e.1v,13:e.F.13,F:e.F,1t:e.1t}},4N:9(){b r=d;r.$k.R(".h h 1Z.40");e(n).R(".h h");e(t).R("47",r.3f)},1Q:9(){b e=d;7(e.$k.1S().S!==0){e.$L.3y();e.$X.3y().3y();7(e.D){e.D.3j()}}e.4N();e.$k.2s("2t",e.$k.w("h-4p")||"").2s("J",e.$k.w("h-4K"))},5T:9(){b e=d;e.W();18(e.1M);e.1Q();e.$k.5U()},5V:9(t){b n=d;b r=e.3K({},n.29,t);n.1Q();n.1J(r,n.$k)},5W:9(e,t){b n=d,i;7(!e){q c}7(n.$k.1S().S===0){n.$k.1k(e);n.1P();q c}n.1Q();7(t===r||t===-1){i=-1}m{i=t}7(i>=n.$X.S||i===-1){n.$X.1E(-1).5X(e)}m{n.$X.1E(i).5Y(e)}n.1P()},5Z:9(e){b t=d,n;7(t.$k.1S().S===0){q c}7(e===r||e===-1){n=-1}m{n=e}t.1Q();t.$X.1E(n).3j();t.1P()}};e.3A.2c=9(t){q d.2i(9(){7(e(d).w("h-1J")===j){q c}e(d).w("h-1J",j);b n=3i.3E(i);n.1J(t,d);e.w(d,"2c",n)})};e.3A.2c.6={v:5,17:c,1q:[60,4],21:[61,3],24:[62,2],25:c,26:[63,1],4b:c,49:c,1j:2J,1D:64,2u:65,Q:c,2x:c,2b:c,2T:["1l","Y"],2e:j,14:c,1s:j,38:c,2Z:j,48:2J,4a:t,1O:"h-66",28:"h-28",1I:c,4t:j,4x:"4y",1A:c,2I:c,3F:c,3v:j,22:j,23:j,37:c,2w:c,3p:c,3t:c,2M:c,39:c,1F:c,3z:c,3n:c,2R:c,3r:c}})(67,68,69)',62,382,'||||||options|if||function||var|false|this||||owl||true|elem||else|||currentItem|return|||||items|data|||on|css|typeof|maximumItem|owlControls|0px|browser|itemsAmount|positionsInArray|owlItems|class|addClass|owlWrapper|div|itemWidth|transform|apply|autoPlay|off|length|px|newRelativeX|left|stop|userItems|next|removeClass||newPosX|ev_types|isTouch|scrollPerPage|prevItem|find|itemsCustom|clearInterval|setTimeout|transition|disabled|loaded|null|play|target|translate3d|wrapper|goTo|slideSpeed|append|prev|width|preventDefault|paginationWrapper|page|itemsDesktop|autoPlayInterval|pagination|dragDirection|support3d|visibleItems|buttonPrev|css2slide|buttonNext|ms|autoHeight|swapSpeed|for|paginationSpeed|eq|beforeMove|isTransition|transition3d|lazyLoad|init|item|roundPages|checkVisible|Math|baseClass|setVars|unWrap|webkit|children|isCss3Finish|wrapperOuter|hasClass|prevArr|src|origin|mousedown||itemsDesktopSmall|mouseDrag|touchDrag|itemsTablet|itemsTabletSmall|itemsMobile|moz|theme|userOptions|touchend|navigation|owlCarousel|active|rewindNav|in|isCssFinish|html|each|jumpTo|rewind|position|sliding|mouseup|eachMoveUpdate|is|afterGo|ease|attr|style|rewindSpeed|100|transitionStyle|stopOnHover|addCssSpeed|opacity|orignalItems|all|pagesInArray|push|endCurrent|string|right|playDirection|jsonPath|200|pageX|touches|beforeInit|end|move|touchmove|dragging|startDragging|newPosY|navigationText|get|updateItems|touchstart|completeImg|logIn|responsive|targetElement|calculateAll|clearTransStyle|visible|watchVisibility|updateControls|hoverStatus|addClassActive|paginationNumbers|afterInit|checkPagination|undefined|offsetY|checkNavigation|offsetX|resizer|relativePos|height|Object|remove|apStatus|checkAp|moveDirection|afterAction|updateVars|beforeUpdate|Number|afterLazyLoad|grabbing|afterUpdate|click|dragBeforeAnimFinish|event|max|unwrap|afterMove|fn|originalEvent|endPrev|maximumPixels|create|jsonSuccess|wrap|eventTypes|removeTransition|doTranslate|extend|show|css2move|hide|complete|cssText|span|gestures|disabledEvents|updatePagination|loadContent|mousemove|touchcancel|start|buildButtons|buildPagination|disableTextSelect|pageY|min|loops|calculateWidth|appendWrapperSizes|appendItemsSizes|resize|responsiveRefreshRate|itemsScaleUp|responsiveBaseWidth|singleItem|srcElement|outer|drag|animate|setInterval|getNewPosition|reload|disable|singleItemTransition|closestItem|updatePosition|onVisibleItems|inArray|originalStyles|continue|block|loading|lazyFollow|lazyPreload|display|transitionTypes|lazyEffect|fade|owlStatus|moveEvents|naturalWidth|response|buildControls|outClass|inClass|onStartup|abs|customEvents|perspective|originalClasses|checkBrowser|wrapItems|clearEvents|_data|clickable|toggleClass|controls|stopImmediatePropagation|stopPropagation|msMaxTouchPoints|events|pop|splice|baseElWidth|minSwipe|maxSwipe|dargging|clientX|clientY|text|shift|onstartup|mouseover|mouseout|duration|round|lazyOwl|new|which|checked|createElement|destroyControls|buttons|5e3|removeAttr|match|numbers|fadeIn|400|clearTimeout|prop|tagName|DIV|background|image|url|prototype|img|sort|top|ontouchstart|dragstart|out|navigator|relative|appendTo|input|getJSON|textarea|webkitAnimationEnd|oAnimationEnd|MSAnimationEnd|animationend|returnValue|wrapAll|500|baseElement|select|wrapperWidth|option|destroy|removeData|reinit|addItem|after|before|removeItem|1199|979|768|479|800|1e3|carousel|jQuery|window|document'.split('|'),0,{})) /*

* Nivo Lightbox v1.0
* http://dev7studios.com/nivo-lightbox
*
* Copyright 2013, Dev7studios
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
(function(e,t,n,r){function o(t,n){this.el=t;this.$el=e(this.el);this.options=e.extend({},s,n);this._defaults=s;this._name=i;this.init()}var i="nivoLightbox",s={effect:"fade",theme:"default",keyboardNav:true,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};o.prototype={init:function(){var t=this;this.$el.on("click",function(e){e.preventDefault();t.showLightbox()});if(this.options.keyboardNav){e("body").off("keyup").on("keyup",function(n){var r=n.keyCode?n.keyCode:n.which;if(r==27)t.destructLightbox();if(r==37)e(".nivo-lightbox-prev").trigger("click");if(r==39)e(".nivo-lightbox-next").trigger("click")})}this.options.onInit.call(this)},showLightbox:function(){var t=this;this.options.beforeShowLightbox.call(this);var n=this.constructLightbox();if(!n)return;var r=n.find(".nivo-lightbox-content");if(!r)return;var i=this.$el;e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect);this.processContent(r,i);if(this.$el.attr("data-lightbox-gallery")){var t=this,s=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show();e(".nivo-lightbox-prev").off("click").on("click",function(n){n.preventDefault();var o=s.index(i);i=s.eq(o-1);if(!e(i).length)i=s.last();t.processContent(r,i);t.options.onPrev.call(this,[i])});e(".nivo-lightbox-next").off("click").on("click",function(n){n.preventDefault();var o=s.index(i);i=s.eq(o+1);if(!e(i).length)i=s.first();t.processContent(r,i);t.options.onNext.call(this,[i])})}setTimeout(function(){n.addClass("nivo-lightbox-open");t.options.afterShowLightbox.call(this,[n])},1)},processContent:function(n,r){var i=this;var s=r.attr("href");n.html("").addClass("nivo-lightbox-loading");if(this.isHidpi()&&r.attr("data-lightbox-hidpi")){s=r.attr("data-lightbox-hidpi")}if(s.match(/\.(jpeg|jpg|gif|png)$/)!=null){var o=e("<img>",{src:s});o.one("load",function(){var r=e('<div class="nivo-lightbox-image" />');r.append(o);n.html(r).removeClass("nivo-lightbox-loading");r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"});e(t).resize(function(){r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})})}).each(function(){if(this.complete)e(this).load()});o.error(function(){var t=e('

'+i.options.errorMessage+"

");n.html(t).removeClass("nivo-lightbox-loading")})}else if(video=s.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=(\w+)|(\w+))/)){var u="",a="nivo-lightbox-video";if(video[1]=="youtube"){u="http://www.youtube.com/v/"+video[4];a="nivo-lightbox-youtube"}if(video[1]=="youtu"){u="http://www.youtube.com/v/"+video[3];a="nivo-lightbox-youtube"}if(video[1]=="vimeo"){u="http://player.vimeo.com/video/"+video[3];a="nivo-lightbox-vimeo"}if(u){var f=e("<iframe>",{src:u,"class":a,frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(f);f.load(function(){n.removeClass("nivo-lightbox-loading")})}}else if(r.attr("data-lightbox-type")=="ajax"){var i=this;e.ajax({url:s,cache:false,success:function(r){var i=e('<div class="nivo-lightbox-ajax" />');i.append(r);n.html(i).removeClass("nivo-lightbox-loading");if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}e(t).resize(function(){if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}})},error:function(){var t=e('

'+i.options.errorMessage+"

");n.html(t).removeClass("nivo-lightbox-loading")}})}else if(s.substring(0,1)=="#"){if(e(s).length){var l=e('<div class="nivo-lightbox-inline" />');l.append(e(s).clone().show());n.html(l).removeClass("nivo-lightbox-loading");if(l.outerHeight()<n.height()){l.css({position:"relative",top:"50%","margin-top":-(l.outerHeight()/2)+"px"})}e(t).resize(function(){if(l.outerHeight()<n.height()){l.css({position:"relative",top:"50%","margin-top":-(l.outerHeight()/2)+"px"})}})}else{var l=e('

'+i.options.errorMessage+"

");n.html(l).removeClass("nivo-lightbox-loading")}}else{var f=e("<iframe>",{src:s,"class":"nivo-lightbox-item",frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(f);f.load(function(){n.removeClass("nivo-lightbox-loading")})}if(r.attr("title")){var c=e("",{"class":"nivo-lightbox-title"});c.text(r.attr("title"));e(".nivo-lightbox-title-wrap").html(c)}else{e(".nivo-lightbox-title-wrap").html("")}},constructLightbox:function(){if(e(".nivo-lightbox-overlay").length)return e(".nivo-lightbox-overlay");var t=e("
",{"class":"nivo-lightbox-overlay nivo-lightbox-theme-"+this.options.theme+" nivo-lightbox-effect-"+this.options.effect});var n=e("
",{"class":"nivo-lightbox-wrap"});var r=e("
",{"class":"nivo-lightbox-content"});var i=e('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');var s=e('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');var o=e("
",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image"))a.destructLightbox()});s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)

/**

* Isotope v1.5.05
* An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co
*
* Commercial use requires one-time license fee
* http://metafizzy.co/#licenses
*
* Copyright 2011 David DeSandro / Metafizzy
*/

/*jshint curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, undef: true */ /*global Modernizr: true, jQuery: true */ (function(a,b,c){"use strict";var d=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},e="Moz Webkit Khtml O Ms".split(" "),f=function(a){var b=document.documentElement.style,c;if(typeof b[a]=="string")return a;a=d(a);for(var f=0,g=e.length;f<g;f++){c=e[f]+a;if(typeof b[c]=="string")return c}},g=f("transform"),h=f("transitionProperty"),i={csstransforms:function(){return!!g},csstransforms3d:function(){var a=!!f("perspective");if(a){var c=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),d="@media ("+c.join("transform-3d),(")+"modernizr)",e=b("<style>"+d+"{#modernizr{height:3px}}"+"</style>").appendTo("head"),g=b('<div id="modernizr" />').appendTo("html");a=g.height()===3,g.remove(),e.remove()}return a},csstransitions:function(){return!!h}};if(a.Modernizr)for(var j in i)Modernizr.hasOwnProperty(j)||Modernizr.addTest(j,i[j]);else a.Modernizr=function(){var a={_version:"1.6ish: miniModernizr for Isotope"},c=" ",d,e;for(e in i)d=i[e](),a[e]=d,c+=" "+(d?"":"no-")+e;b("html").addClass(c);return a}();if(Modernizr.csstransforms){var k=Modernizr.csstransforms3d?{translate:function(a){return"translate3d("+a[0]+"px, "+a[1]+"px, 0) "},scale:function(a){return"scale3d("+a+", "+a+", 1) "}}:{translate:function(a){return"translate("+a[0]+"px, "+a[1]+"px) "},scale:function(a){return"scale("+a+") "}},l=function(a,c,d){var e=b.data(a,"isoTransform")||{},f={},h,i={},j;f[c]=d,b.extend(e,f);for(h in e)j=e[h],i[h]=k[h](j);var l=i.translate||"",m=i.scale||"",n=l+m;b.data(a,"isoTransform",e),a.style[g]=n};b.cssNumber.scale=!0,b.cssHooks.scale={set:function(a,b){l(a,"scale",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.scale?d.scale:1}},b.fx.step.scale=function(a){b.cssHooks.scale.set(a.elem,a.now+a.unit)},b.cssNumber.translate=!0,b.cssHooks.translate={set:function(a,b){l(a,"translate",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.translate?d.translate:[0,0]}}}var m,n;Modernizr.csstransitions&&(m={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd",transitionProperty:"transitionEnd"}[h],n=f("transitionDuration"));var o=b.event,p;o.special.smartresize={setup:function(){b(this).bind("resize",o.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",o.special.smartresize.handler)},handler:function(a,b){var c=this,d=arguments;a.type="smartresize",p&&clearTimeout(p),p=setTimeout(function(){jQuery.event.handle.apply(c,d)},b==="execAsap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])},b.Isotope=function(a,c,d){this.element=b(c),this._create(a),this._init(d)};var q=["overflow","position","width","height"];b.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!b.browser.opera,itemPositionDataEnabled:!1},b.Isotope.prototype={_create:function(c){this.options=b.extend({},b.Isotope.settings,c),this.styleQueue=[],this.elemCount=0;var d=this.element[0].style;this.originalStyle={};for(var e=0,f=q.length;e<f;e++){var g=q[e];this.originalStyle[g]=d[g]||""}this.element.css({overflow:"hidden",position:"relative"}),this._updateAnimationEngine(),this._updateUsingTransforms();var h={"original-order":function(a,b){b.elemCount++;return b.elemCount},random:function(){return Math.random()}};this.options.getSortData=b.extend(this.options.getSortData,h),this.reloadItems();var i=b(document.createElement("div")).prependTo(this.element);this.offset=i.position(),i.remove();var j=this;setTimeout(function(){j.element.addClass(j.options.containerClass)},0),this.options.resizable&&b(a).bind("smartresize.isotope",function(){j.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(a){var b=this.options.itemSelector,c=b?a.filter(b).add(a.find(b)):a,d={position:"absolute"};this.usingTransforms&&(d.left=0,d.top=0),c.css(d).addClass(this.options.itemClass),this.updateSortData(c,!0);return c},_init:function(a){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(a)},option:function(a){if(b.isPlainObject(a)){this.options=b.extend(!0,this.options,a);var c;for(var e in a)c="_update"+d(e),this[c]&&this[c]()}},_updateAnimationEngine:function(){var a=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"");switch(a){case"css":case"none":this.isUsingJQueryAnimation=!1;break;case"jquery":this.isUsingJQueryAnimation=!0;break;default:this.isUsingJQueryAnimation=!Modernizr.csstransitions}this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var a=this.usingTransforms=this.options.transformsEnabled&&Modernizr.csstransforms&&Modernizr.csstransitions&&!this.isUsingJQueryAnimation;a||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=a?this._translate:this._positionAbs},_filter:function(a,b){b=b||(this.options.filter===""?"*":this.options.filter);if(!b)return a;var c=this.options.hiddenClass,d="."+c,e=a.filter(d),f=e;if(b!=="*"){f=e.filter(b);var g=a.not(d).not(b).addClass(c);this.styleQueue.push({$el:g,style:this.options.hiddenStyle})}this.styleQueue.push({$el:f,style:this.options.visibleStyle}),f.removeClass(c);return a.filter(b)},updateSortData:function(a,c){var d=this,e=this.options.getSortData,f,g;a.each(function(){f=b(this),g={};for(var a in e)!c&&a==="original-order"?g[a]=b.data(this,"isotope-sort-data")[a]:g[a]=e[a](f,d);b.data(this,"isotope-sort-data",g)})},_sort:function(){var a=this.options.sortBy,b=this._getSorter,c=this.options.sortAscending?1:-1,d=function(d,e){var f=b(d,a),g=b(e,a);f===g&&a!=="original-order"&&(f=b(d,"original-order"),g=b(e,"original-order"));return(f>g?1:f<g?-1:0)*c};this.$filteredAtoms.sort(d)},_getSorter:function(a,c){return b.data(a,"isotope-sort-data")[c]},_translate:function(a,b){return{translate:[a,b]}},_positionAbs:function(a,b){return{left:a,top:b}},_pushPosition:function(a,b,c){b+=this.offset.left,c+=this.offset.top;var d=this.getPositionStyles(b,c);this.styleQueue.push({$el:a,style:d}),this.options.itemPositionDataEnabled&&a.data("isotope-item-position",{x:b,y:c})},layout:function(a,b){var c=this.options.layoutMode;this["_"+c+"Layout"](a);if(this.options.resizesContainer){var d=this["_"+c+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:d})}this._processStyleQueue(a,b),this.isLaidOut=!0},_processStyleQueue:function(a,c){var d=this.isLaidOut?this.isUsingJQueryAnimation?"animate":"css":"css",e=this.options.animationOptions,f,g,h,i;g=function(a,b){b.$el[d](b.style,e)};if(this._isInserting&&this.isUsingJQueryAnimation)g=function(a,b){f=b.$el.hasClass("no-transition")?"css":d,b.$el[f](b.style,e)};else if(c){var j=!1,k=this;h=!0,i=function(){j||(c.call(k.element,a),j=!0)};if(this.isUsingJQueryAnimation&&d==="animate")e.complete=i,h=!1;else if(Modernizr.csstransitions){var l=0,o=this.styleQueue[0].$el,p;while(!o.length){p=this.styleQueue[l++];if(!p)return;o=p.$el}var q=parseFloat(getComputedStyle(o[0])[n]);q>0&&(g=function(a,b){b.$el[d](b.style,e).one(m,i)},h=!1)}}b.each(this.styleQueue,g),h&&i(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(a){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,a)},addItems:function(a,b){var c=this._getAtoms(a);this.$allAtoms=this.$allAtoms.add(c),b&&b(c)},insert:function(a,b){this.element.append(a);var c=this;this.addItems(a,function(a){var d=c._filter(a,!0);c._addHideAppended(d),c._sort(),c.reLayout(),c._revealAppended(d,b)})},appended:function(a,b){var c=this;this.addItems(a,function(a){c._addHideAppended(a),c.layout(a),c._revealAppended(a,b)})},_addHideAppended:function(a){this.$filteredAtoms=this.$filteredAtoms.add(a),a.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:a,style:this.options.hiddenStyle})},_revealAppended:function(a,b){var c=this;setTimeout(function(){a.removeClass("no-transition"),c.styleQueue.push({$el:a,style:c.options.visibleStyle}),c._isInserting=!1,c._processStyleQueue(a,b)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(a){var b=this,c=function(){b.$allAtoms=b.$allAtoms.not(a),a.remove()};a.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:a,style:this.options.hiddenStyle}),this.$filteredAtoms=this.$filteredAtoms.not(a),this._sort(),this.reLayout(c)):c()},shuffle:function(a){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(a)},destroy:function(){var c=this.usingTransforms;this.$allAtoms.removeClass(this.options.hiddenClass+" "+this.options.itemClass).each(function(){this.style.position="",this.style.top="",this.style.left="",this.style.opacity="",c&&(this.style[g]="")});var d=this.element[0].style;for(var e=0,f=q.length;e<f;e++){var h=q[e];d[h]=this.originalStyle[h]}this.element.unbind(".isotope").undelegate("."+this.options.hiddenClass,"click").removeClass(this.options.containerClass).removeData("isotope"),b(a).unbind(".isotope")},_getSegments:function(a){var b=this.options.layoutMode,c=a?"rowHeight":"columnWidth",e=a?"height":"width",f=a?"rows":"cols",g=this.element[e](),h,i=this.options[b]&&this.options[b][c]||this.$filteredAtoms["outer"+d(e)](!0)||g;h=Math.floor(g/i),h=Math.max(h,1),this[b][f]=h,this[b][c]=i},_checkIfSegmentsChanged:function(a){var b=this.options.layoutMode,c=a?"rows":"cols",d=this[b][c];this._getSegments(a);return this[b][c]!==d},_masonryReset:function(){this.masonry={},this._getSegments();var a=this.masonry.cols;this.masonry.colYs=[];while(a--)this.masonry.colYs.push(0)},_masonryLayout:function(a){var c=this,d=c.masonry;a.each(function(){var a=b(this),e=Math.ceil(a.outerWidth(!0)/d.columnWidth);e=Math.min(e,d.cols);if(e===1)c._masonryPlaceBrick(a,d.colYs);else{var f=d.cols+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.colYs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryPlaceBrick(a,g)}})},_masonryPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=this.masonry.columnWidth*d,h=c;this._pushPosition(a,g,h);var i=c+a.outerHeight(!0),j=this.masonry.cols+1-f;for(e=0;e<j;e++)this.masonry.colYs[d+e]=i},_masonryGetContainerSize:function(){var a=Math.max.apply(Math,this.masonry.colYs);return{height:a}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(a){var c=this,d=this.element.width(),e=this.fitRows;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.x!==0&&f+e.x>d&&(e.x=0,e.y=e.height),c._pushPosition(a,e.x,e.y),e.height=Math.max(e.y+g,e.height),e.x+=f})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(a){var c=this,d=this.cellsByRow;a.each(function(){var a=b(this),e=d.index%d.cols,f=Math.floor(d.index/d.cols),g=Math.round((e+.5)*d.columnWidth-a.outerWidth(!0)/2),h=Math.round((f+.5)*d.rowHeight-a.outerHeight(!0)/2);c._pushPosition(a,g,h),d.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,0,c.straightDown.y),c.straightDown.y+=d.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var a=this.masonryHorizontal.rows;this.masonryHorizontal.rowXs=[];while(a--)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(a){var c=this,d=c.masonryHorizontal;a.each(function(){var a=b(this),e=Math.ceil(a.outerHeight(!0)/d.rowHeight);e=Math.min(e,d.rows);if(e===1)c._masonryHorizontalPlaceBrick(a,d.rowXs);else{var f=d.rows+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.rowXs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryHorizontalPlaceBrick(a,g)}})},_masonryHorizontalPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=c,h=this.masonryHorizontal.rowHeight*d;this._pushPosition(a,g,h);var i=c+a.outerWidth(!0),j=this.masonryHorizontal.rows+1-f;for(e=0;e<j;e++)this.masonryHorizontal.rowXs[d+e]=i},_masonryHorizontalGetContainerSize:function(){var a=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:a}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(a){var c=this,d=this.element.height(),e=this.fitColumns;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.y!==0&&g+e.y>d&&(e.x=e.width,e.y=0),c._pushPosition(a,e.x,e.y),e.width=Math.max(e.x+f,e.width),e.y+=g})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(a){var c=this,d=this.cellsByColumn;a.each(function(){var a=b(this),e=Math.floor(d.index/d.rows),f=d.index%d.rows,g=Math.round((e+.5)*d.columnWidth-a.outerWidth(!0)/2),h=Math.round((f+.5)*d.rowHeight-a.outerHeight(!0)/2);c._pushPosition(a,g,h),d.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,c.straightAcross.x,0),c.straightAcross.x+=d.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},b.fn.imagesLoaded=function(a){function h(a){--e<=0&&a.target.src!==f&&(setTimeout(g),d.unbind("load error",h))}function g(){a.call(b,d)}var b=this,d=b.find("img").add(b.filter("img")),e=d.length,f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";e||g(),d.bind("load error",h).each(function(){if(this.complete||this.complete===c){var a=this.src;this.src=f,this.src=a}});return b};var r=function(b){a.console&&a.console.error(b)};b.fn.isotope=function(a,c){if(typeof a=="string"){var d=Array.prototype.slice.call(arguments,1);this.each(function(){var c=b.data(this,"isotope");if(!c)r("cannot call methods on isotope prior to initialization; attempted to call method '"+a+"'");else{if(!b.isFunction(c[a])||a.charAt(0)==="_"){r("no such method '"+a+"' for isotope instance");return}c[a].apply(c,d)}})}else this.each(function(){var d=b.data(this,"isotope");d?(d.option(a),d._init(c)):b.data(this,"isotope",new b.Isotope(a,this,c))});return this}})(window,jQuery); /*

* jQuery.appear
* https://github.com/bas2k/jquery.appear/
* http://code.google.com/p/jquery-appear/
*
* Copyright (c) 2009 Michael Hixson
* Copyright (c) 2012 Alexander Brovikov
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
*/

(function($) { $.fn.appear = function(fn, options) {

var settings = $.extend({

//arbitrary data to pass to fn data: undefined,

//call fn only on the first appear? one: true,

// X & Y accuracy accX: 0, accY: 0

}, options);

return this.each(function() {

var t = $(this);

//whether the element is currently visible t.appeared = false;

if (!fn) {

//trigger the custom event t.trigger('appear', settings.data); return; }

var w = $(window);

//fires the appear event when appropriate var check = function() {

//is the element hidden? if (!t.is(':visible')) {

//it became hidden t.appeared = false; return; }

//is the element inside the visible window? var a = w.scrollLeft(); var b = w.scrollTop(); var o = t.offset(); var x = o.left; var y = o.top;

var ax = settings.accX; var ay = settings.accY; var th = t.height(); var wh = w.height(); var tw = t.width(); var ww = w.width();

if (y + th + ay >= b && y <= b + wh + ay && x + tw + ax >= a && x <= a + ww + ax) {

//trigger the custom event if (!t.appeared) t.trigger('appear', settings.data);

} else {

//it scrolled out of view t.appeared = false; } };

//create a modified fn with some additional logic var modifiedFn = function() {

//mark the element as visible t.appeared = true;

//is this supposed to happen only once? if (settings.one) {

//remove the check w.unbind('scroll', check); var i = $.inArray(check, $.fn.appear.checks); if (i >= 0) $.fn.appear.checks.splice(i, 1); }

//trigger the original fn fn.apply(this, arguments); };

//bind the modified fn to the element if (settings.one) t.one('appear', settings.data, modifiedFn); else t.bind('appear', settings.data, modifiedFn);

//check whenever the window scrolls w.scroll(check);

//check whenever the dom changes $.fn.appear.checks.push(check);

//check now (check)(); }); };

//keep a queue of appearance checks $.extend($.fn.appear, {

checks: [], timeout: null,

//process the queue checkAll: function() { var length = $.fn.appear.checks.length; if (length > 0) while (length--) ($.fn.appear.checks[length])(); },

//check the queue asynchronously run: function() { if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout); $.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20); } });

//run checks when these methods are called $.each(['append', 'prepend', 'after', 'before', 'attr', 'removeAttr', 'addClass', 'removeClass', 'toggleClass', 'remove', 'css', 'show', 'hide'], function(i, n) { var old = $.fn[n]; if (old) { $.fn[n] = function() { var r = old.apply(this, arguments); $.fn.appear.run(); return r; } } });

})(jQuery); (function ($) { $.fn.countTo = function (options) { options = options || {};

return $(this).each(function () { // set options for current element var settings = $.extend({}, $.fn.countTo.defaults, { from: $(this).data('from'), to: $(this).data('to'), speed: $(this).data('speed'), refreshInterval: $(this).data('refresh-interval'), decimals: $(this).data('decimals') }, options);

// how many times to update the value, and how much to increment the value on each update var loops = Math.ceil(settings.speed / settings.refreshInterval), increment = (settings.to - settings.from) / loops;

// references & variables that will change with each update var self = this, $self = $(this), loopCount = 0, value = settings.from, data = $self.data('countTo') || {};

$self.data('countTo', data);

// if an existing interval can be found, clear it first if (data.interval) { clearInterval(data.interval); } data.interval = setInterval(updateTimer, settings.refreshInterval);

// initialize the element with the starting value render(value);

function updateTimer() { value += increment; loopCount++;

render(value);

if (typeof(settings.onUpdate) == 'function') { settings.onUpdate.call(self, value); }

if (loopCount >= loops) { // remove the interval $self.removeData('countTo'); clearInterval(data.interval); value = settings.to;

if (typeof(settings.onComplete) == 'function') { settings.onComplete.call(self, value); } } }

function render(value) { var formattedValue = settings.formatter.call(self, value, settings); $self.html(formattedValue); } }); };

$.fn.countTo.defaults = { from: 0, // the number the element should start at to: 0, // the number the element should end at speed: 1000, // how long it should take to count between the target numbers refreshInterval: 100, // how often the element should be updated decimals: 0, // the number of decimal places to show formatter: formatter, // handler for formatting the value before rendering onUpdate: null, // callback method for every time the element is updated onComplete: null // callback method for when the element finishes updating };

function formatter(value, settings) { return value.toFixed(settings.decimals); } }(jQuery)); /*

* textillate.js
* http://jschr.github.com/textillate
* MIT licensed
*
* Copyright (C) 2012-2013 Jordan Schroter
*/

(function ($) {

 "use strict"; 
 function isInEffect (effect) {
   return /In/.test(effect) || $.inArray(effect, $.fn.textillate.defaults.inEffects) >= 0;
 };
 function isOutEffect (effect) {
   return /Out/.test(effect) || $.inArray(effect, $.fn.textillate.defaults.outEffects) >= 0;
 };
 // custom get data api method
 function getData (node) {
   var attrs = node.attributes || []
     , data = {};
   if (!attrs.length) return data;
   $.each(attrs, function (i, attr) {
     if (/^data-in-*/.test(attr.nodeName)) {
       data.in = data.in || {};
       data.in[attr.nodeName.replace(/data-in-/, )] = attr.nodeValue;
     } else if (/^data-out-*/.test(attr.nodeName)) {
       data.out = data.out || {};
       data.out[attr.nodeName.replace(/data-out-/, )] = attr.nodeValue;
     } else if (/^data-*/.test(attr.nodeName)) {
       data[attr.nodeName] = attr.nodeValue;
     }
   })
   return data;
 }
 function shuffle (o) {
     for (var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
     return o;
 }
 function animate ($c, effect, cb) {
   $c.addClass('animated ' + effect)
     .css('visibility', 'visible')
     .show();
   $c.one('animationend webkitAnimationEnd oAnimationEnd', function () {
       $c.removeClass('animated ' + effect);
       cb && cb();
   });
 }
 function animateChars ($chars, options, cb) {
   var that = this
     , count = $chars.length;
   if (!count) {
     cb && cb();
     return;
   } 
   if (options.shuffle) $chars = shuffle($chars);
   if (options.reverse) $chars = $chars.toArray().reverse();
   $.each($chars, function (i, c) {
     var $char = $(c);
     
     function complete () {
       if (isInEffect(options.effect)) {
         $char.css('visibility', 'visible');
       } else if (isOutEffect(options.effect)) {
         $char.css('visibility', 'hidden');
       }
       count -= 1;
       if (!count && cb) cb();
     }
     var delay = options.sync ? options.delay : options.delay * i * options.delayScale;
     $char.text() ? 
       setTimeout(function () { animate($char, options.effect, complete) }, delay) :
       complete();
   });
 };
 var Textillate = function (element, options) {
   var base = this
     , $element = $(element);
   base.init = function () {
     base.$texts = $element.find(options.selector);
     
     if (!base.$texts.length) {
base.$texts = $('
  • ' + $element.html() + '
');
       $element.html(base.$texts);
     }
     base.$texts.hide();
     base.$current = $('')
       .text(base.$texts.find(':first-child').html())
       .prependTo($element);
     if (isInEffect(options.effect)) {
       base.$current.css('visibility', 'hidden');
     } else if (isOutEffect(options.effect)) {
       base.$current.css('visibility', 'visible');
     }
     base.setOptions(options);
     setTimeout(function () {
       base.options.autoStart && base.start();
     }, base.options.initialDelay)
   };
   base.setOptions = function (options) {
     base.options = options;
   };
   base.triggerEvent = function (name) {
     var e = $.Event(name + '.tlt');
     $element.trigger(e, base);
     return e;
   };
   base.in = function (index, cb) {
     index = index || 0;
      
     var $elem = base.$texts.find(':nth-child(' + (index + 1) + ')')
       , options = $.extend({}, base.options, getData($elem))
       , $chars;
     $elem.addClass('current');
     base.triggerEvent('inAnimationBegin');
     base.$current
       .text($elem.html())
       .lettering('words');
     base.$current.find('[class^="word"]')
         .css({ 
           'display': 'inline-block',
           // fix for poor ios performance
           '-webkit-transform': 'translate3d(0,0,0)',
              '-moz-transform': 'translate3d(0,0,0)',
                '-o-transform': 'translate3d(0,0,0)',
                   'transform': 'translate3d(0,0,0)'
         })
         .each(function () { $(this).lettering() });
     $chars = base.$current
       .find('[class^="char"]')
       .css('display', 'inline-block');
     if (isInEffect(options.in.effect)) {
       $chars.css('visibility', 'hidden');
     } else if (isOutEffect(options.in.effect)) {
       $chars.css('visibility', 'visible');
     }
     base.currentIndex = index;
     animateChars($chars, options.in, function () {
       base.triggerEvent('inAnimationEnd');
       if (options.in.callback) options.in.callback();
       if (cb) cb(base);
     });
   };
   base.out = function (cb) {
     var $elem = base.$texts.find(':nth-child(' + (base.currentIndex + 1) + ')')
       , $chars = base.$current.find('[class^="char"]')
       , options = $.extend({}, base.options, getData($elem));
     base.triggerEvent('outAnimationBegin');
     animateChars($chars, options.out, function () {
       $elem.removeClass('current');
       base.triggerEvent('outAnimationEnd');
       if (options.out.callback) options.out.callback();
       if (cb) cb(base);
     });
   };
   base.start = function (index) {
     base.triggerEvent('start');
     (function run (index) {
       base.in(index, function () {
         var length = base.$texts.children().length;
         index += 1;
         
         if (!base.options.loop && index >= length) {
           if (base.options.callback) base.options.callback();
           base.triggerEvent('end');
         } else {
           index = index % length;
           setTimeout(function () {
             base.out(function () {
               run(index)
             });
           }, base.options.minDisplayTime);
         }
       });
     }(index || 0));
   };
   base.init();
 }
 $.fn.textillate = function (settings, args) {
   return this.each(function () {
     var $this = $(this)
       , data = $this.data('textillate')
       , options = $.extend(true, {}, $.fn.textillate.defaults, getData(this), typeof settings == 'object' && settings);
     if (!data) { 
       $this.data('textillate', (data = new Textillate(this, options)));
     } else if (typeof settings == 'string') {
       data[settings].apply(data, [].concat(args));
     } else {
       data.setOptions.call(data, options);
     }
   })
 };
 
 $.fn.textillate.defaults = {
   selector: '.texts',
   loop: false,
   minDisplayTime: 2000,
   initialDelay: 0,
   in: {
     effect: 'fadeInLeftBig',
     delayScale: 1.5,
     delay: 50,
     sync: false,
     reverse: false,
     shuffle: false,
     callback: function () {}
   },
   out: {
     effect: 'hinge',
     delayScale: 1.5,
     delay: 50,
     sync: false,
     reverse: false,
     shuffle: false,
     callback: function () {}
   },
   autoStart: true,
   inEffects: [],
   outEffects: [ 'hinge' ],
   callback: function () {}
 };

}(jQuery)); /*global jQuery */ /*!

  • Lettering.JS 0.6.1
  • Copyright 2010, Dave Rupert http://daverupert.com
  • Released under the WTFPL license
  • http://sam.zoy.org/wtfpl/
  • Thanks to Paul Irish - http://paulirish.com - for the feedback.
  • Date: Mon Sep 20 17:14:00 2010 -0600
  • /

(function($){ function injector(t, splitter, klass, after) { var a = t.text().split(splitter), inject = ; if (a.length) { $(a).each(function(i, item) { inject += ''+item+''+after; }); t.empty().append(inject); } }

var methods = { init : function() {

return this.each(function() { injector($(this), , 'char', ); });

},

words : function() {

return this.each(function() { injector($(this), ' ', 'word', ' '); });

},

lines : function() {

return this.each(function() { var r = "eefec303079ad17405c889e092e105b0"; // Because it's hard to split a
tag consistently across browsers, // (*ahem* IE *ahem*), we replaces all
instances with an md5 hash // (of the word "split"). If you're trying to use this plugin on that // md5 hash string, it will fail because you're being ridiculous. injector($(this).children("br").replaceWith(r).end(), r, 'line', ); });

} };

$.fn.lettering = function( method ) { // Method calling logic if ( method && methods[method] ) { return methods[ method ].apply( this, [].slice.call( arguments, 1 )); } else if ( method === 'letters' || ! method ) { return methods.init.apply( this, [].slice.call( arguments, 0 ) ); // always pass an array } $.error( 'Method ' + method + ' does not exist on jQuery.lettering' ); return this; };

})(jQuery); // Generated by CoffeeScript 1.6.3 /* Easy pie chart is a jquery plugin to display simple animated pie charts for only one value

Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.

Built on top of the jQuery library (http://jquery.com)

@source: http://github.com/rendro/easy-pie-chart/ @autor: Robert Fleischmann @version: 1.2.2

Inspired by: http://dribbble.com/shots/631074-Simple-Pie-Charts-II?list=popular&offset=210 Thanks to Philip Thrasher for the jquery plugin boilerplate for coffee script

  • /

(function($) {

 $.easyPieChart = function(el, options) {
   var addScaleLine, animateLine, drawLine, easeInOutQuad, rAF, renderBackground, renderScale, renderTrack,
     _this = this;
   this.el = el;
   this.$el = $(el);
   this.$el.data("easyPieChart", this);
   this.init = function() {
     var percent, scaleBy;
     _this.options = $.extend({}, $.easyPieChart.defaultOptions, options);
     percent = parseInt(_this.$el.data('percent'), 10);
     _this.percentage = 0;
     _this.canvas = $("<canvas width='" + _this.options.size + "' height='" + _this.options.size + "'></canvas>").get(0);
     _this.$el.append(_this.canvas);
     if (typeof G_vmlCanvasManager !== "undefined" && G_vmlCanvasManager !== null) {
       G_vmlCanvasManager.initElement(_this.canvas);
     }
     _this.ctx = _this.canvas.getContext('2d');
     if (window.devicePixelRatio > 1) {
       scaleBy = window.devicePixelRatio;
       $(_this.canvas).css({
         width: _this.options.size,
         height: _this.options.size
       });
       _this.canvas.width *= scaleBy;
       _this.canvas.height *= scaleBy;
       _this.ctx.scale(scaleBy, scaleBy);
     }
     _this.ctx.translate(_this.options.size / 2, _this.options.size / 2);
     _this.ctx.rotate(_this.options.rotate * Math.PI / 180);
     _this.$el.addClass('easyPieChart');
     _this.$el.css({
       width: _this.options.size,
       height: _this.options.size,
       lineHeight: "" + _this.options.size + "px"
     });
     _this.update(percent);
     return _this;
   };
   this.update = function(percent) {
     percent = parseFloat(percent) || 0;
     if (_this.options.animate === false) {
       drawLine(percent);
     } else {
       animateLine(_this.percentage, percent);
     }
     return _this;
   };
   renderScale = function() {
     var i, _i, _results;
     _this.ctx.fillStyle = _this.options.scaleColor;
     _this.ctx.lineWidth = 1;
     _results = [];
     for (i = _i = 0; _i <= 24; i = ++_i) {
       _results.push(addScaleLine(i));
     }
     return _results;
   };
   addScaleLine = function(i) {
     var offset;
     offset = i % 6 === 0 ? 0 : _this.options.size * 0.017;
     _this.ctx.save();
     _this.ctx.rotate(i * Math.PI / 12);
     _this.ctx.fillRect(_this.options.size / 2 - offset, 0, -_this.options.size * 0.05 + offset, 1);
     _this.ctx.restore();
   };
   renderTrack = function() {
     var offset;
     offset = _this.options.size / 2 - _this.options.lineWidth / 2;
     if (_this.options.scaleColor !== false) {
       offset -= _this.options.size * 0.08;
     }
     _this.ctx.beginPath();
     _this.ctx.arc(0, 0, offset, 0, Math.PI * 2, true);
     _this.ctx.closePath();
     _this.ctx.strokeStyle = _this.options.trackColor;
     _this.ctx.lineWidth = _this.options.lineWidth;
     _this.ctx.stroke();
   };
   renderBackground = function() {
     if (_this.options.scaleColor !== false) {
       renderScale();
     }
     if (_this.options.trackColor !== false) {
       renderTrack();
     }
   };
   drawLine = function(percent) {
     var offset;
     renderBackground();
     _this.ctx.strokeStyle = $.isFunction(_this.options.barColor) ? _this.options.barColor(percent) : _this.options.barColor;
     _this.ctx.lineCap = _this.options.lineCap;
     _this.ctx.lineWidth = _this.options.lineWidth;
     offset = _this.options.size / 2 - _this.options.lineWidth / 2;
     if (_this.options.scaleColor !== false) {
       offset -= _this.options.size * 0.08;
     }
     _this.ctx.save();
     _this.ctx.rotate(-Math.PI / 2);
     _this.ctx.beginPath();
     _this.ctx.arc(0, 0, offset, 0, Math.PI * 2 * percent / 100, false);
     _this.ctx.stroke();
     _this.ctx.restore();
   };
   rAF = (function() {
     return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) {
       return window.setTimeout(callback, 1000 / 60);
     };
   })();
   animateLine = function(from, to) {
     var anim, startTime;
     _this.options.onStart.call(_this);
     _this.percentage = to;
     startTime = Date.now();
     anim = function() {
       var currentValue, process;
       process = Date.now() - startTime;
       if (process < _this.options.animate) {
         rAF(anim);
       }
       _this.ctx.clearRect(-_this.options.size / 2, -_this.options.size / 2, _this.options.size, _this.options.size);
       renderBackground.call(_this);
       currentValue = [easeInOutQuad(process, from, to - from, _this.options.animate)];
       _this.options.onStep.call(_this, currentValue);
       drawLine.call(_this, currentValue);
       if (process >= _this.options.animate) {
         return _this.options.onStop.call(_this, currentValue, to);
       }
     };
     rAF(anim);
   };
   easeInOutQuad = function(t, b, c, d) {
     var easeIn, easing;
     easeIn = function(t) {
       return Math.pow(t, 2);
     };
     easing = function(t) {
       if (t < 1) {
         return easeIn(t);
       } else {
         return 2 - easeIn((t / 2) * -2 + 2);
       }
     };
     t /= d / 2;
     return c / 2 * easing(t) + b;
   };
   return this.init();
 };
 $.easyPieChart.defaultOptions = {
   barColor: '#ef1e25',
   trackColor: '#f2f2f2',
   scaleColor: '#dfe0e0',
   lineCap: 'round',
   rotate: 0,
   size: 110,
   lineWidth: 3,
   animate: false,
   onStart: $.noop,
   onStop: $.noop,
   onStep: $.noop
 };
 $.fn.easyPieChart = function(options) {
   return $.each(this, function(i, el) {
     var $el, instanceOptions;
     $el = $(el);
     if (!$el.data('easyPieChart')) {
       instanceOptions = $.extend({}, options, $el.data());
       return $el.data('easyPieChart', new $.easyPieChart(el, instanceOptions));
     }
   });
 };
 return void 0;

})(jQuery); /* jquery.nicescroll 3.5.4 InuYaksa*2013 MIT http://areaaperta.com/nicescroll */(function(e){"function"===typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var y=!1,C=!1,J=5E3,K=2E3,x=0,F=["ms","moz","webkit","o"],s=window.requestAnimationFrame||!1,v=window.cancelAnimationFrame||!1;if(!s)for(var L in F){var D=F[L];s||(s=window[D+"RequestAnimationFrame"]);v||(v=window[D+"CancelAnimationFrame"]||window[D+"CancelRequestAnimationFrame"])}var z=window.MutationObserver||window.WebKitMutationObserver||!1,G={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242", cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0, enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:0.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:function(){var e=document.getElementsByTagName("script"),e=e[e.length-1].src.split("?")[0];return 0<e.split("/").length?e.split("/").slice(0,-1).join("/")+"/":""}()},E=!1,M=function(){if(E)return E; var e=document.createElement("DIV"),b={haspointerlock:"pointerLockElement"in document||"mozPointerLockElement"in document||"webkitPointerLockElement"in document};b.isopera="opera"in window;b.isopera12=b.isopera&&"getUserMedia"in navigator;b.isoperamini="[object OperaMini]"===Object.prototype.toString.call(window.operamini);b.isie="all"in document&&"attachEvent"in e&&!b.isopera;b.isieold=b.isie&&!("msInterpolationMode"in e.style);b.isie7=b.isie&&!b.isieold&&(!("documentMode"in document)||7==document.documentMode); b.isie8=b.isie&&"documentMode"in document&&8==document.documentMode;b.isie9=b.isie&&"performance"in window&&9<=document.documentMode;b.isie10=b.isie&&"performance"in window&&10<=document.documentMode;b.isie9mobile=/iemobile.9/i.test(navigator.userAgent);b.isie9mobile&&(b.isie9=!1);b.isie7mobile=!b.isie9mobile&&b.isie7&&/iemobile/i.test(navigator.userAgent);b.ismozilla="MozAppearance"in e.style;b.iswebkit="WebkitAppearance"in e.style;b.ischrome="chrome"in window;b.ischrome22=b.ischrome&&b.haspointerlock; b.ischrome26=b.ischrome&&"transition"in e.style;b.cantouch="ontouchstart"in document.documentElement||"ontouchstart"in window;b.hasmstouch=window.navigator.msPointerEnabled||!1;b.ismac=/^mac$/i.test(navigator.platform);b.isios=b.cantouch&&/iphone|ipad|ipod/i.test(navigator.platform);b.isios4=b.isios&&!("seal"in Object);b.isandroid=/android/i.test(navigator.userAgent);b.trstyle=!1;b.hastransform=!1;b.hastranslate3d=!1;b.transitionstyle=!1;b.hastransition=!1;b.transitionend=!1;for(var h=["transform", "msTransform","webkitTransform","MozTransform","OTransform"],k=0;k<h.length;k++)if("undefined"!=typeof e.style[h[k]]){b.trstyle=h[k];break}b.hastransform=!1!=b.trstyle;b.hastransform&&(e.style[b.trstyle]="translate3d(1px,2px,3px)",b.hastranslate3d=/translate3d/.test(e.style[b.trstyle]));b.transitionstyle=!1;b.prefixstyle="";b.transitionend=!1;for(var h="transition webkitTransition MozTransition OTransition OTransition msTransition KhtmlTransition".split(" "),l=" -webkit- -moz- -o- -o -ms- -khtml-".split(" "), q="transitionend webkitTransitionEnd transitionend otransitionend oTransitionEnd msTransitionEnd KhtmlTransitionEnd".split(" "),k=0;k<h.length;k++)if(h[k]in e.style){b.transitionstyle=h[k];b.prefixstyle=l[k];b.transitionend=q[k];break}b.ischrome26&&(b.prefixstyle=l[1]);b.hastransition=b.transitionstyle;a:{h=["-moz-grab","-webkit-grab","grab"];if(b.ischrome&&!b.ischrome22||b.isie)h=[];for(k=0;k<h.length;k++)if(l=h[k],e.style.cursor=l,e.style.cursor==l){h=l;break a}h="url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur),n-resize"}b.cursorgrabvalue= h;b.hasmousecapture="setCapture"in e;b.hasMutationObserver=!1!==z;return E=b},N=function(g,b){function h(){var c=a.win;if("zIndex"in c)return c.zIndex();for(;0<c.length&&9!=c[0].nodeType;){var b=c.css("zIndex");if(!isNaN(b)&&0!=b)return parseInt(b);c=c.parent()}return!1}function k(c,b,f){b=c.css(b);c=parseFloat(b);return isNaN(c)?(c=w[b]||0,f=3==c?f?a.win.outerHeight()-a.win.innerHeight():a.win.outerWidth()-a.win.innerWidth():1,a.isie8&&c&&(c+=1),f?c:0):c}function l(c,b,f,e){a._bind(c,b,function(a){a= a?a:window.event;var e={original:a,target:a.target||a.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==a.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){a.preventDefault?a.preventDefault():a.returnValue=!1;return!1},stopImmediatePropagation:function(){a.stopImmediatePropagation?a.stopImmediatePropagation():a.cancelBubble=!0}};"mousewheel"==b?(e.deltaY=-0.025*a.wheelDelta,a.wheelDeltaX&&(e.deltaX=-0.025*a.wheelDeltaX)):e.deltaY=a.detail;return f.call(c,e)},e)}function q(c,b,f){var e,d; 0==c.deltaMode?(e=-Math.floor(c.deltaX*(a.opt.mousescrollstep/54)),d=-Math.floor(c.deltaY*(a.opt.mousescrollstep/54))):1==c.deltaMode&&(e=-Math.floor(c.deltaX*a.opt.mousescrollstep),d=-Math.floor(c.deltaY*a.opt.mousescrollstep));b&&(a.opt.oneaxismousemode&&0==e&&d)&&(e=d,d=0);e&&(a.scrollmom&&a.scrollmom.stop(),a.lastdeltax+=e,a.debounced("mousewheelx",function(){var c=a.lastdeltax;a.lastdeltax=0;a.rail.drag||a.doScrollLeftBy(c)},15));if(d){if(a.opt.nativeparentscrolling&&f&&!a.ispage&&!a.zoomactive)if(0> d){if(a.getScrollTop()>=a.page.maxh)return!0}else if(0>=a.getScrollTop())return!0;a.scrollmom&&a.scrollmom.stop();a.lastdeltay+=d;a.debounced("mousewheely",function(){var c=a.lastdeltay;a.lastdeltay=0;a.rail.drag||a.doScrollBy(c)},15)}c.stopImmediatePropagation();return c.preventDefault()}var a=this;this.version="3.5.4";this.name="nicescroll";this.me=b;this.opt={doc:e("body"),win:!1};e.extend(this.opt,G);this.opt.snapbackspeed=80;if(g)for(var p in a.opt)"undefined"!=typeof g[p]&&(a.opt[p]=g[p]);this.iddoc= (this.doc=a.opt.doc)&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/^BODY|HTML/.test(a.opt.win?a.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=!1!==a.opt.win;this.win=a.opt.win||(this.ispage?e(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?e(window):this.win;this.body=e("body");this.iframe=this.isfixed=this.viewport=!1;this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName;this.istextarea="TEXTAREA"==this.win[0].nodeName;this.forcescreen=!1;this.canshowonmouseevent= "scroll"!=a.opt.autohidemode;this.page=this.view=this.onzoomout=this.onzoomin=this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;this.observerremover=this.observer=this.scrollmom=this.scrollrunning=this.isrtlmode=!1;do this.id="ascrail"+K++;while(document.getElementById(this.id));this.hasmousefocus= this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail=!1;this.visibility=!0;this.hidden=this.locked=!1;this.cursoractive=!0;this.wheelprevented=!1;this.overflowx=a.opt.overflowx;this.overflowy=a.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltay=this.lastdeltax=0;this.detected=M();var d=e.extend({},this.detected);this.ishwscroll=(this.canhwscroll=d.hastransform&&a.opt.hwacceleration)&& a.haswrapper;this.istouchcapable=!1;d.cantouch&&(d.ischrome&&!d.isios&&!d.isandroid)&&(this.istouchcapable=!0,d.cantouch=!1);d.cantouch&&(d.ismozilla&&!d.isios&&!d.isandroid)&&(this.istouchcapable=!0,d.cantouch=!1);a.opt.enablemouselockapi||(d.hasmousecapture=!1,d.haspointerlock=!1);this.delayed=function(c,b,f,e){var d=a.delaylist[c],h=(new Date).getTime();if(!e&&d&&d.tt)return!1;d&&d.tt&&clearTimeout(d.tt);if(d&&d.last+f>h&&!d.tt)a.delaylist[c]={last:h+f,tt:setTimeout(function(){a&&(a.delaylist[c].tt= 0,b.call())},f)};else if(!d||!d.tt)a.delaylist[c]={last:h,tt:0},setTimeout(function(){b.call()},0)};this.debounced=function(c,b,f){var d=a.delaylist[c];(new Date).getTime();a.delaylist[c]=b;d||setTimeout(function(){var b=a.delaylist[c];a.delaylist[c]=!1;b.call()},f)};var r=!1;this.synched=function(c,b){a.synclist[c]=b;(function(){r||(s(function(){r=!1;for(c in a.synclist){var b=a.synclist[c];b&&b.call(a);a.synclist[c]=!1}}),r=!0)})();return c};this.unsynched=function(c){a.synclist[c]&&(a.synclist[c]= !1)};this.css=function(c,b){for(var f in b)a.saved.css.push([c,f,c.css(f)]),c.css(f,b[f])};this.scrollTop=function(c){return"undefined"==typeof c?a.getScrollTop():a.setScrollTop(c)};this.scrollLeft=function(c){return"undefined"==typeof c?a.getScrollLeft():a.setScrollLeft(c)};BezierClass=function(a,b,f,d,e,h,k){this.st=a;this.ed=b;this.spd=f;this.p1=d||0;this.p2=e||1;this.p3=h||0;this.p4=k||1;this.ts=(new Date).getTime();this.df=this.ed-this.st};BezierClass.prototype={B2:function(a){return 3*a*a*(1- a)},B3:function(a){return 3*a*(1-a)*(1-a)},B4:function(a){return(1-a)*(1-a)*(1-a)},getNow:function(){var a=1-((new Date).getTime()-this.ts)/this.spd,b=this.B2(a)+this.B3(a)+this.B4(a);return 0>a?this.ed:this.st+Math.round(this.df*b)},update:function(a,b){this.st=this.getNow();this.ed=a;this.spd=b;this.ts=(new Date).getTime();this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};d.hastranslate3d&&d.isios&&this.doc.css("-webkit-backface-visibility", "hidden");var t=function(){var c=a.doc.css(d.trstyle);return c&&"matrix"==c.substr(0,6)?c.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/):!1};this.getScrollTop=function(c){if(!c){if(c=t())return 16==c.length?-c[13]:-c[5];if(a.timerscroll&&a.timerscroll.bz)return a.timerscroll.bz.getNow()}return a.doc.translate.y};this.getScrollLeft=function(c){if(!c){if(c=t())return 16==c.length?-c[12]:-c[4];if(a.timerscroll&&a.timerscroll.bh)return a.timerscroll.bh.getNow()}return a.doc.translate.x}; this.notifyScrollEvent=document.createEvent?function(a){var b=document.createEvent("UIEvents");b.initUIEvent("scroll",!1,!0,window,1);a.dispatchEvent(b)}:document.fireEvent?function(a){var b=document.createEventObject();a.fireEvent("onscroll");b.cancelBubble=!0}:function(a,b){};d.hastranslate3d&&a.opt.enabletranslate3d?(this.setScrollTop=function(c,b){a.doc.translate.y=c;a.doc.translate.ty=-1*c+"px";a.doc.css(d.trstyle,"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");b||a.notifyScrollEvent(a.win[0])}, this.setScrollLeft=function(c,b){a.doc.translate.x=c;a.doc.translate.tx=-1*c+"px";a.doc.css(d.trstyle,"translate3d("+a.doc.translate.tx+","+a.doc.translate.ty+",0px)");b||a.notifyScrollEvent(a.win[0])}):(this.setScrollTop=function(c,b){a.doc.translate.y=c;a.doc.translate.ty=-1*c+"px";a.doc.css(d.trstyle,"translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");b||a.notifyScrollEvent(a.win[0])},this.setScrollLeft=function(c,b){a.doc.translate.x=c;a.doc.translate.tx=-1*c+"px";a.doc.css(d.trstyle, "translate("+a.doc.translate.tx+","+a.doc.translate.ty+")");b||a.notifyScrollEvent(a.win[0])})}else this.getScrollTop=function(){return a.docscroll.scrollTop()},this.setScrollTop=function(c){return a.docscroll.scrollTop(c)},this.getScrollLeft=function(){return a.docscroll.scrollLeft()},this.setScrollLeft=function(c){return a.docscroll.scrollLeft(c)};this.getTarget=function(a){return!a?!1:a.target?a.target:a.srcElement?a.srcElement:!1};this.hasParent=function(a,b){if(!a)return!1;for(var f=a.target|| a.srcElement||a||!1;f&&f.id!=b;)f=f.parentNode||!1;return!1!==f};var w={thin:1,medium:3,thick:5};this.getOffset=function(){if(a.isfixed)return{top:parseFloat(a.win.css("top")),left:parseFloat(a.win.css("left"))};if(!a.viewport)return a.win.offset();var c=a.win.offset(),b=a.viewport.offset();return{top:c.top-b.top+a.viewport.scrollTop(),left:c.left-b.left+a.viewport.scrollLeft()}};this.updateScrollBar=function(c){if(a.ishwscroll)a.rail.css({height:a.win.innerHeight()}),a.railh&&a.railh.css({width:a.win.innerWidth()}); else{var b=a.getOffset(),f=b.top,d=b.left,f=f+k(a.win,"border-top-width",!0);a.win.outerWidth();a.win.innerWidth();var d=d+(a.rail.align?a.win.outerWidth()-k(a.win,"border-right-width")-a.rail.width:k(a.win,"border-left-width")),e=a.opt.railoffset;e&&(e.top&&(f+=e.top),a.rail.align&&e.left&&(d+=e.left));a.locked||a.rail.css({top:f,left:d,height:c?c.h:a.win.innerHeight()});a.zoom&&a.zoom.css({top:f+1,left:1==a.rail.align?d-20:d+a.rail.width+4});a.railh&&!a.locked&&(f=b.top,d=b.left,c=a.railh.align? f+k(a.win,"border-top-width",!0)+a.win.innerHeight()-a.railh.height:f+k(a.win,"border-top-width",!0),d+=k(a.win,"border-left-width"),a.railh.css({top:c,left:d,width:a.railh.width}))}};this.doRailClick=function(c,b,f){var d;a.locked||(a.cancelEvent(c),b?(b=f?a.doScrollLeft:a.doScrollTop,d=f?(c.pageX-a.railh.offset().left-a.cursorwidth/2)*a.scrollratio.x:(c.pageY-a.rail.offset().top-a.cursorheight/2)*a.scrollratio.y,b(d)):(b=f?a.doScrollLeftBy:a.doScrollBy,d=f?a.scroll.x:a.scroll.y,c=f?c.pageX-a.railh.offset().left: c.pageY-a.rail.offset().top,f=f?a.view.w:a.view.h,d>=c?b(f):b(-f)))};a.hasanimationframe=s;a.hascancelanimationframe=v;a.hasanimationframe?a.hascancelanimationframe||(v=function(){a.cancelAnimationFrame=!0}):(s=function(a){return setTimeout(a,15-Math.floor(+new Date/1E3)%16)},v=clearInterval);this.init=function(){a.saved.css=[];if(d.isie7mobile||d.isoperamini)return!0;d.hasmstouch&&a.css(a.ispage?e("html"):a.win,{"-ms-touch-action":"none"});a.zindex="auto";a.zindex=!a.ispage&&"auto"==a.opt.zindex? h()||"auto":a.opt.zindex;!a.ispage&&"auto"!=a.zindex&&a.zindex>x&&(x=a.zindex);a.isie&&(0==a.zindex&&"auto"==a.opt.zindex)&&(a.zindex="auto");if(!a.ispage||!d.cantouch&&!d.isieold&&!d.isie9mobile){var c=a.docscroll;a.ispage&&(c=a.haswrapper?a.win:a.doc);d.isie9mobile||a.css(c,{"overflow-y":"hidden"});a.ispage&&d.isie7&&("BODY"==a.doc[0].nodeName?a.css(e("html"),{"overflow-y":"hidden"}):"HTML"==a.doc[0].nodeName&&a.css(e("body"),{"overflow-y":"hidden"}));d.isios&&(!a.ispage&&!a.haswrapper)&&a.css(e("body"), {"-webkit-overflow-scrolling":"touch"});var b=e(document.createElement("div"));b.css({position:"relative",top:0,"float":"right",width:a.opt.cursorwidth,height:"0px","background-color":a.opt.cursorcolor,border:a.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,"border-radius":a.opt.cursorborderradius});b.hborder=parseFloat(b.outerHeight()-b.innerHeight());a.cursor=b;var f=e(document.createElement("div")); f.attr("id",a.id);f.addClass("nicescroll-rails");var u,k,g=["left","right"],l;for(l in g)k=g[l],(u=a.opt.railpadding[k])?f.css("padding-"+k,u+"px"):a.opt.railpadding[k]=0;f.append(b);f.width=Math.max(parseFloat(a.opt.cursorwidth),b.outerWidth())+a.opt.railpadding.left+a.opt.railpadding.right;f.css({width:f.width+"px",zIndex:a.zindex,background:a.opt.background,cursor:"default"});f.visibility=!0;f.scrollable=!0;f.align="left"==a.opt.railalign?0:1;a.rail=f;b=a.rail.drag=!1;a.opt.boxzoom&&(!a.ispage&& !d.isieold)&&(b=document.createElement("div"),a.bind(b,"click",a.doZoom),a.zoom=e(b),a.zoom.css({cursor:"pointer","z-index":a.zindex,backgroundImage:"url("+a.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),a.opt.dblclickzoom&&a.bind(a.win,"dblclick",a.doZoom),d.cantouch&&a.opt.gesturezoom&&(a.ongesturezoom=function(c){1.5<c.scale&&a.doZoomIn(c);0.8>c.scale&&a.doZoomOut(c);return a.cancelEvent(c)},a.bind(a.win,"gestureend",a.ongesturezoom)));a.railh=!1;if(a.opt.horizrailenabled){a.css(c, {"overflow-x":"hidden"});b=e(document.createElement("div"));b.css({position:"relative",top:0,height:a.opt.cursorwidth,width:"0px","background-color":a.opt.cursorcolor,border:a.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":a.opt.cursorborderradius,"-moz-border-radius":a.opt.cursorborderradius,"border-radius":a.opt.cursorborderradius});b.wborder=parseFloat(b.outerWidth()-b.innerWidth());a.cursorh=b;var m=e(document.createElement("div"));m.attr("id",a.id+"-hr");m.addClass("nicescroll-rails"); m.height=Math.max(parseFloat(a.opt.cursorwidth),b.outerHeight());m.css({height:m.height+"px",zIndex:a.zindex,background:a.opt.background});m.append(b);m.visibility=!0;m.scrollable=!0;m.align="top"==a.opt.railvalign?0:1;a.railh=m;a.railh.drag=!1}a.ispage?(f.css({position:"fixed",top:"0px",height:"100%"}),f.align?f.css({right:"0px"}):f.css({left:"0px"}),a.body.append(f),a.railh&&(m.css({position:"fixed",left:"0px",width:"100%"}),m.align?m.css({bottom:"0px"}):m.css({top:"0px"}),a.body.append(m))):(a.ishwscroll? ("static"==a.win.css("position")&&a.css(a.win,{position:"relative"}),c="HTML"==a.win[0].nodeName?a.body:a.win,a.zoom&&(a.zoom.css({position:"absolute",top:1,right:0,"margin-right":f.width+4}),c.append(a.zoom)),f.css({position:"absolute",top:0}),f.align?f.css({right:0}):f.css({left:0}),c.append(f),m&&(m.css({position:"absolute",left:0,bottom:0}),m.align?m.css({bottom:0}):m.css({top:0}),c.append(m))):(a.isfixed="fixed"==a.win.css("position"),c=a.isfixed?"fixed":"absolute",a.isfixed||(a.viewport=a.getViewport(a.win[0])), a.viewport&&(a.body=a.viewport,!1==/fixed|relative|absolute/.test(a.viewport.css("position"))&&a.css(a.viewport,{position:"relative"})),f.css({position:c}),a.zoom&&a.zoom.css({position:c}),a.updateScrollBar(),a.body.append(f),a.zoom&&a.body.append(a.zoom),a.railh&&(m.css({position:c}),a.body.append(m))),d.isios&&a.css(a.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),d.isie&&a.opt.disableoutline&&a.win.attr("hideFocus","true"),d.iswebkit&&a.opt.disableoutline&& a.win.css({outline:"none"}));!1===a.opt.autohidemode?(a.autohidedom=!1,a.rail.css({opacity:a.opt.cursoropacitymax}),a.railh&&a.railh.css({opacity:a.opt.cursoropacitymax})):!0===a.opt.autohidemode||"leave"===a.opt.autohidemode?(a.autohidedom=e().add(a.rail),d.isie8&&(a.autohidedom=a.autohidedom.add(a.cursor)),a.railh&&(a.autohidedom=a.autohidedom.add(a.railh)),a.railh&&d.isie8&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"scroll"==a.opt.autohidemode?(a.autohidedom=e().add(a.rail),a.railh&&(a.autohidedom= a.autohidedom.add(a.railh))):"cursor"==a.opt.autohidemode?(a.autohidedom=e().add(a.cursor),a.railh&&(a.autohidedom=a.autohidedom.add(a.cursorh))):"hidden"==a.opt.autohidemode&&(a.autohidedom=!1,a.hide(),a.locked=!1);if(d.isie9mobile)a.scrollmom=new H(a),a.onmangotouch=function(c){c=a.getScrollTop();var b=a.getScrollLeft();if(c==a.scrollmom.lastscrolly&&b==a.scrollmom.lastscrollx)return!0;var f=c-a.mangotouch.sy,d=b-a.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(f,2)))){var n=0> f?-1:1,e=0>d?-1:1,h=+new Date;a.mangotouch.lazy&&clearTimeout(a.mangotouch.lazy);80<h-a.mangotouch.tm||a.mangotouch.dry!=n||a.mangotouch.drx!=e?(a.scrollmom.stop(),a.scrollmom.reset(b,c),a.mangotouch.sy=c,a.mangotouch.ly=c,a.mangotouch.sx=b,a.mangotouch.lx=b,a.mangotouch.dry=n,a.mangotouch.drx=e,a.mangotouch.tm=h):(a.scrollmom.stop(),a.scrollmom.update(a.mangotouch.sx-d,a.mangotouch.sy-f),a.mangotouch.tm=h,f=Math.max(Math.abs(a.mangotouch.ly-c),Math.abs(a.mangotouch.lx-b)),a.mangotouch.ly=c,a.mangotouch.lx= b,2<f&&(a.mangotouch.lazy=setTimeout(function(){a.mangotouch.lazy=!1;a.mangotouch.dry=0;a.mangotouch.drx=0;a.mangotouch.tm=0;a.scrollmom.doMomentum(30)},100)))}},f=a.getScrollTop(),m=a.getScrollLeft(),a.mangotouch={sy:f,ly:f,dry:0,sx:m,lx:m,drx:0,lazy:!1,tm:0},a.bind(a.docscroll,"scroll",a.onmangotouch);else{if(d.cantouch||a.istouchcapable||a.opt.touchbehavior||d.hasmstouch){a.scrollmom=new H(a);a.ontouchstart=function(c){if(c.pointerType&&2!=c.pointerType)return!1;a.hasmoving=!1;if(!a.locked){if(d.hasmstouch)for(var b= c.target?c.target:!1;b;){var f=e(b).getNiceScroll();if(0<f.length&&f[0].me==a.me)break;if(0<f.length)return!1;if("DIV"==b.nodeName&&b.id==a.id)break;b=b.parentNode?b.parentNode:!1}a.cancelScroll();if((b=a.getTarget(c))&&/INPUT/i.test(b.nodeName)&&/range/i.test(b.type))return a.stopPropagation(c);!("clientX"in c)&&"changedTouches"in c&&(c.clientX=c.changedTouches[0].clientX,c.clientY=c.changedTouches[0].clientY);a.forcescreen&&(f=c,c={original:c.original?c.original:c},c.clientX=f.screenX,c.clientY= f.screenY);a.rail.drag={x:c.clientX,y:c.clientY,sx:a.scroll.x,sy:a.scroll.y,st:a.getScrollTop(),sl:a.getScrollLeft(),pt:2,dl:!1};if(a.ispage||!a.opt.directionlockdeadzone)a.rail.drag.dl="f";else{var f=e(window).width(),n=e(window).height(),h=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),k=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),n=Math.max(0,k-n),f=Math.max(0,h-f);a.rail.drag.ck=!a.rail.scrollable&&a.railh.scrollable?0<n?"v":!1:a.rail.scrollable&& !a.railh.scrollable?0<f?"h":!1:!1;a.rail.drag.ck||(a.rail.drag.dl="f")}a.opt.touchbehavior&&(a.isiframe&&d.isie)&&(f=a.win.position(),a.rail.drag.x+=f.left,a.rail.drag.y+=f.top);a.hasmoving=!1;a.lastmouseup=!1;a.scrollmom.reset(c.clientX,c.clientY);if(!d.cantouch&&!this.istouchcapable&&!d.hasmstouch){if(!b||!/INPUT|SELECT|TEXTAREA/i.test(b.nodeName))return!a.ispage&&d.hasmousecapture&&b.setCapture(),a.opt.touchbehavior?(b.onclick&&!b._onclick&&(b._onclick=b.onclick,b.onclick=function(c){if(a.hasmoving)return!1; b._onclick.call(this,c)}),a.cancelEvent(c)):a.stopPropagation(c);/SUBMIT|CANCEL|BUTTON/i.test(e(b).attr("type"))&&(pc={tg:b,click:!1},a.preventclick=pc)}}};a.ontouchend=function(c){if(c.pointerType&&2!=c.pointerType)return!1;if(a.rail.drag&&2==a.rail.drag.pt&&(a.scrollmom.doMomentum(),a.rail.drag=!1,a.hasmoving&&(a.lastmouseup=!0,a.hideCursor(),d.hasmousecapture&&document.releaseCapture(),!d.cantouch)))return a.cancelEvent(c)};var q=a.opt.touchbehavior&&a.isiframe&&!d.hasmousecapture;a.ontouchmove= function(c,b){if(c.pointerType&&2!=c.pointerType)return!1;if(a.rail.drag&&2==a.rail.drag.pt){if(d.cantouch&&"undefined"==typeof c.original)return!0;a.hasmoving=!0;a.preventclick&&!a.preventclick.click&&(a.preventclick.click=a.preventclick.tg.onclick||!1,a.preventclick.tg.onclick=a.onpreventclick);c=e.extend({original:c},c);"changedTouches"in c&&(c.clientX=c.changedTouches[0].clientX,c.clientY=c.changedTouches[0].clientY);if(a.forcescreen){var f=c;c={original:c.original?c.original:c};c.clientX=f.screenX; c.clientY=f.screenY}f=ofy=0;if(q&&!b){var n=a.win.position(),f=-n.left;ofy=-n.top}var h=c.clientY+ofy,n=h-a.rail.drag.y,k=c.clientX+f,u=k-a.rail.drag.x,g=a.rail.drag.st-n;a.ishwscroll&&a.opt.bouncescroll?0>g?g=Math.round(g/2):g>a.page.maxh&&(g=a.page.maxh+Math.round((g-a.page.maxh)/2)):(0>g&&(h=g=0),g>a.page.maxh&&(g=a.page.maxh,h=0));if(a.railh&&a.railh.scrollable){var l=a.rail.drag.sl-u;a.ishwscroll&&a.opt.bouncescroll?0>l?l=Math.round(l/2):l>a.page.maxw&&(l=a.page.maxw+Math.round((l-a.page.maxw)/ 2)):(0>l&&(k=l=0),l>a.page.maxw&&(l=a.page.maxw,k=0))}f=!1;if(a.rail.drag.dl)f=!0,"v"==a.rail.drag.dl?l=a.rail.drag.sl:"h"==a.rail.drag.dl&&(g=a.rail.drag.st);else{var n=Math.abs(n),u=Math.abs(u),m=a.opt.directionlockdeadzone;if("v"==a.rail.drag.ck){if(n>m&&u<=0.3*n)return a.rail.drag=!1,!0;u>m&&(a.rail.drag.dl="f",e("body").scrollTop(e("body").scrollTop()))}else if("h"==a.rail.drag.ck){if(u>m&&n<=0.3*u)return a.rail.drag=!1,!0;n>m&&(a.rail.drag.dl="f",e("body").scrollLeft(e("body").scrollLeft()))}}a.synched("touchmove", function(){a.rail.drag&&2==a.rail.drag.pt&&(a.prepareTransition&&a.prepareTransition(0),a.rail.scrollable&&a.setScrollTop(g),a.scrollmom.update(k,h),a.railh&&a.railh.scrollable?(a.setScrollLeft(l),a.showCursor(g,l)):a.showCursor(g),d.isie10&&document.selection.clear())});d.ischrome&&a.istouchcapable&&(f=!1);if(f)return a.cancelEvent(c)}}}a.onmousedown=function(c,b){if(!(a.rail.drag&&1!=a.rail.drag.pt)){if(a.locked)return a.cancelEvent(c);a.cancelScroll();a.rail.drag={x:c.clientX,y:c.clientY,sx:a.scroll.x, sy:a.scroll.y,pt:1,hr:!!b};var f=a.getTarget(c);!a.ispage&&d.hasmousecapture&&f.setCapture();a.isiframe&&!d.hasmousecapture&&(a.saved.csspointerevents=a.doc.css("pointer-events"),a.css(a.doc,{"pointer-events":"none"}));a.hasmoving=!1;return a.cancelEvent(c)}};a.onmouseup=function(c){if(a.rail.drag&&(d.hasmousecapture&&document.releaseCapture(),a.isiframe&&!d.hasmousecapture&&a.doc.css("pointer-events",a.saved.csspointerevents),1==a.rail.drag.pt))return a.rail.drag=!1,a.hasmoving&&a.triggerScrollEnd(), a.cancelEvent(c)};a.onmousemove=function(c){if(a.rail.drag&&1==a.rail.drag.pt){if(d.ischrome&&0==c.which)return a.onmouseup(c);a.cursorfreezed=!0;a.hasmoving=!0;if(a.rail.drag.hr){a.scroll.x=a.rail.drag.sx+(c.clientX-a.rail.drag.x);0>a.scroll.x&&(a.scroll.x=0);var b=a.scrollvaluemaxw;a.scroll.x>b&&(a.scroll.x=b)}else a.scroll.y=a.rail.drag.sy+(c.clientY-a.rail.drag.y),0>a.scroll.y&&(a.scroll.y=0),b=a.scrollvaluemax,a.scroll.y>b&&(a.scroll.y=b);a.synched("mousemove",function(){a.rail.drag&&1==a.rail.drag.pt&& (a.showCursor(),a.rail.drag.hr?a.doScrollLeft(Math.round(a.scroll.x*a.scrollratio.x),a.opt.cursordragspeed):a.doScrollTop(Math.round(a.scroll.y*a.scrollratio.y),a.opt.cursordragspeed))});return a.cancelEvent(c)}};if(d.cantouch||a.opt.touchbehavior)a.onpreventclick=function(c){if(a.preventclick)return a.preventclick.tg.onclick=a.preventclick.click,a.preventclick=!1,a.cancelEvent(c)},a.bind(a.win,"mousedown",a.ontouchstart),a.onclick=d.isios?!1:function(c){return a.lastmouseup?(a.lastmouseup=!1,a.cancelEvent(c)): !0},a.opt.grabcursorenabled&&d.cursorgrabvalue&&(a.css(a.ispage?a.doc:a.win,{cursor:d.cursorgrabvalue}),a.css(a.rail,{cursor:d.cursorgrabvalue}));else{var p=function(c){if(a.selectiondrag){if(c){var b=a.win.outerHeight();c=c.pageY-a.selectiondrag.top;0<c&&c=b&&(c-=b);a.selectiondrag.df=c}0!=a.selectiondrag.df&&(a.doScrollBy(2*-Math.floor(a.selectiondrag.df/6)),a.debounced("doselectionscroll",function(){p()},50))}};a.hasTextSelected="getSelection"in document?function(){return 0<document.getSelection().rangeCount}: "selection"in document?function(){return"None"!=document.selection.type}:function(){return!1};a.onselectionstart=function(c){a.ispage||(a.selectiondrag=a.win.offset())};a.onselectionend=function(c){a.selectiondrag=!1};a.onselectiondrag=function(c){a.selectiondrag&&a.hasTextSelected()&&a.debounced("selectionscroll",function(){p(c)},250)}}d.hasmstouch&&(a.css(a.rail,{"-ms-touch-action":"none"}),a.css(a.cursor,{"-ms-touch-action":"none"}),a.bind(a.win,"MSPointerDown",a.ontouchstart),a.bind(document, "MSPointerUp",a.ontouchend),a.bind(document,"MSPointerMove",a.ontouchmove),a.bind(a.cursor,"MSGestureHold",function(a){a.preventDefault()}),a.bind(a.cursor,"contextmenu",function(a){a.preventDefault()}));this.istouchcapable&&(a.bind(a.win,"touchstart",a.ontouchstart),a.bind(document,"touchend",a.ontouchend),a.bind(document,"touchcancel",a.ontouchend),a.bind(document,"touchmove",a.ontouchmove));a.bind(a.cursor,"mousedown",a.onmousedown);a.bind(a.cursor,"mouseup",a.onmouseup);a.railh&&(a.bind(a.cursorh, "mousedown",function(c){a.onmousedown(c,!0)}),a.bind(a.cursorh,"mouseup",a.onmouseup));if(a.opt.cursordragontouch||!d.cantouch&&!a.opt.touchbehavior)a.rail.css({cursor:"default"}),a.railh&&a.railh.css({cursor:"default"}),a.jqbind(a.rail,"mouseenter",function(){if(!a.win.is(":visible"))return!1;a.canshowonmouseevent&&a.showCursor();a.rail.active=!0}),a.jqbind(a.rail,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()}),a.opt.sensitiverail&&(a.bind(a.rail,"click",function(c){a.doRailClick(c, !1,!1)}),a.bind(a.rail,"dblclick",function(c){a.doRailClick(c,!0,!1)}),a.bind(a.cursor,"click",function(c){a.cancelEvent(c)}),a.bind(a.cursor,"dblclick",function(c){a.cancelEvent(c)})),a.railh&&(a.jqbind(a.railh,"mouseenter",function(){if(!a.win.is(":visible"))return!1;a.canshowonmouseevent&&a.showCursor();a.rail.active=!0}),a.jqbind(a.railh,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()}),a.opt.sensitiverail&&(a.bind(a.railh,"click",function(c){a.doRailClick(c,!1,!0)}),a.bind(a.railh, "dblclick",function(c){a.doRailClick(c,!0,!0)}),a.bind(a.cursorh,"click",function(c){a.cancelEvent(c)}),a.bind(a.cursorh,"dblclick",function(c){a.cancelEvent(c)})));!d.cantouch&&!a.opt.touchbehavior?(a.bind(d.hasmousecapture?a.win:document,"mouseup",a.onmouseup),a.bind(document,"mousemove",a.onmousemove),a.onclick&&a.bind(document,"click",a.onclick),!a.ispage&&a.opt.enablescrollonselection&&(a.bind(a.win[0],"mousedown",a.onselectionstart),a.bind(document,"mouseup",a.onselectionend),a.bind(a.cursor, "mouseup",a.onselectionend),a.cursorh&&a.bind(a.cursorh,"mouseup",a.onselectionend),a.bind(document,"mousemove",a.onselectiondrag)),a.zoom&&(a.jqbind(a.zoom,"mouseenter",function(){a.canshowonmouseevent&&a.showCursor();a.rail.active=!0}),a.jqbind(a.zoom,"mouseleave",function(){a.rail.active=!1;a.rail.drag||a.hideCursor()}))):(a.bind(d.hasmousecapture?a.win:document,"mouseup",a.ontouchend),a.bind(document,"mousemove",a.ontouchmove),a.onclick&&a.bind(document,"click",a.onclick),a.opt.cursordragontouch&& (a.bind(a.cursor,"mousedown",a.onmousedown),a.bind(a.cursor,"mousemove",a.onmousemove),a.cursorh&&a.bind(a.cursorh,"mousedown",function(c){a.onmousedown(c,!0)}),a.cursorh&&a.bind(a.cursorh,"mousemove",a.onmousemove)));a.opt.enablemousewheel&&(a.isiframe||a.bind(d.isie&&a.ispage?document:a.win,"mousewheel",a.onmousewheel),a.bind(a.rail,"mousewheel",a.onmousewheel),a.railh&&a.bind(a.railh,"mousewheel",a.onmousewheelhr));!a.ispage&&(!d.cantouch&&!/HTML|^BODY/.test(a.win[0].nodeName))&&(a.win.attr("tabindex")|| a.win.attr({tabindex:J++}),a.jqbind(a.win,"focus",function(c){y=a.getTarget(c).id||!0;a.hasfocus=!0;a.canshowonmouseevent&&a.noticeCursor()}),a.jqbind(a.win,"blur",function(c){y=!1;a.hasfocus=!1}),a.jqbind(a.win,"mouseenter",function(c){C=a.getTarget(c).id||!0;a.hasmousefocus=!0;a.canshowonmouseevent&&a.noticeCursor()}),a.jqbind(a.win,"mouseleave",function(){C=!1;a.hasmousefocus=!1;a.rail.drag||a.hideCursor()}))}a.onkeypress=function(c){if(a.locked&&0==a.page.maxh)return!0;c=c?c:window.e;var b=a.getTarget(c); if(b&&/INPUT|TEXTAREA|SELECT|OPTION/.test(b.nodeName)&&(!b.getAttribute("type")&&!b.type||!/submit|button|cancel/i.tp)||e(b).attr("contenteditable"))return!0;if(a.hasfocus||a.hasmousefocus&&!y||a.ispage&&!y&&!C){b=c.keyCode;if(a.locked&&27!=b)return a.cancelEvent(c);var f=c.ctrlKey||!1,n=c.shiftKey||!1,d=!1;switch(b){case 38:case 63233:a.doScrollBy(72);d=!0;break;case 40:case 63235:a.doScrollBy(-72);d=!0;break;case 37:case 63232:a.railh&&(f?a.doScrollLeft(0):a.doScrollLeftBy(72),d=!0);break;case 39:case 63234:a.railh&& (f?a.doScrollLeft(a.page.maxw):a.doScrollLeftBy(-72),d=!0);break;case 33:case 63276:a.doScrollBy(a.view.h);d=!0;break;case 34:case 63277:a.doScrollBy(-a.view.h);d=!0;break;case 36:case 63273:a.railh&&f?a.doScrollPos(0,0):a.doScrollTo(0);d=!0;break;case 35:case 63275:a.railh&&f?a.doScrollPos(a.page.maxw,a.page.maxh):a.doScrollTo(a.page.maxh);d=!0;break;case 32:a.opt.spacebarenabled&&(n?a.doScrollBy(a.view.h):a.doScrollBy(-a.view.h),d=!0);break;case 27:a.zoomactive&&(a.doZoom(),d=!0)}if(d)return a.cancelEvent(c)}}; a.opt.enablekeyboard&&a.bind(document,d.isopera&&!d.isopera12?"keypress":"keydown",a.onkeypress);a.bind(document,"keydown",function(c){c.ctrlKey&&(a.wheelprevented=!0)});a.bind(document,"keyup",function(c){c.ctrlKey||(a.wheelprevented=!1)});a.bind(window,"resize",a.lazyResize);a.bind(window,"orientationchange",a.lazyResize);a.bind(window,"load",a.lazyResize);if(d.ischrome&&!a.ispage&&!a.haswrapper){var r=a.win.attr("style"),f=parseFloat(a.win.css("width"))+1;a.win.css("width",f);a.synched("chromefix", function(){a.win.attr("style",r)})}a.onAttributeChange=function(c){a.lazyResize(250)};!a.ispage&&!a.haswrapper&&(!1!==z?(a.observer=new z(function(c){c.forEach(a.onAttributeChange)}),a.observer.observe(a.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),a.observerremover=new z(function(c){c.forEach(function(c){if(0<c.removedNodes.length)for(var b in c.removedNodes)if(c.removedNodes[b]==a.win[0])return a.remove()})}),a.observerremover.observe(a.win[0].parentNode,{childList:!0,characterData:!1, attributes:!1,subtree:!1})):(a.bind(a.win,d.isie&&!d.isie9?"propertychange":"DOMAttrModified",a.onAttributeChange),d.isie9&&a.win[0].attachEvent("onpropertychange",a.onAttributeChange),a.bind(a.win,"DOMNodeRemoved",function(c){c.target==a.win[0]&&a.remove()})));!a.ispage&&a.opt.boxzoom&&a.bind(window,"resize",a.resizeZoom);a.istextarea&&a.bind(a.win,"mouseup",a.lazyResize);a.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var I=function(c){a.iframexd=!1;try{var b="contentDocument"in this?this.contentDocument: this.contentWindow.document}catch(f){a.iframexd=!0,b=!1}if(a.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;a.forcescreen=!0;a.isiframe&&(a.iframe={doc:e(b),html:a.doc.contents().find("html")[0],body:a.doc.contents().find("body")[0]},a.getContentSize=function(){return{w:Math.max(a.iframe.html.scrollWidth,a.iframe.body.scrollWidth),h:Math.max(a.iframe.html.scrollHeight,a.iframe.body.scrollHeight)}},a.docscroll=e(a.iframe.body));!d.isios&&(a.opt.iframeautoresize&& !a.isiframe)&&(a.win.scrollTop(0),a.doc.height(""),c=Math.max(b.getElementsByTagName("html")[0].scrollHeight,b.body.scrollHeight),a.doc.height(c));a.lazyResize(30);d.isie7&&a.css(e(a.iframe.html),{"overflow-y":"hidden"});a.css(e(a.iframe.body),{"overflow-y":"hidden"});d.isios&&a.haswrapper&&a.css(e(b.body),{"-webkit-transform":"translate3d(0,0,0)"});"contentWindow"in this?a.bind(this.contentWindow,"scroll",a.onscroll):a.bind(b,"scroll",a.onscroll);a.opt.enablemousewheel&&a.bind(b,"mousewheel",a.onmousewheel); a.opt.enablekeyboard&&a.bind(b,d.isopera?"keypress":"keydown",a.onkeypress);if(d.cantouch||a.opt.touchbehavior)a.bind(b,"mousedown",a.ontouchstart),a.bind(b,"mousemove",function(c){a.ontouchmove(c,!0)}),a.opt.grabcursorenabled&&d.cursorgrabvalue&&a.css(e(b.body),{cursor:d.cursorgrabvalue});a.bind(b,"mouseup",a.ontouchend);a.zoom&&(a.opt.dblclickzoom&&a.bind(b,"dblclick",a.doZoom),a.ongesturezoom&&a.bind(b,"gestureend",a.ongesturezoom))};this.doc[0].readyState&&"complete"==this.doc[0].readyState&& setTimeout(function(){I.call(a.doc[0],!1)},500);a.bind(this.doc,"load",I)}};this.showCursor=function(c,b){a.cursortimeout&&(clearTimeout(a.cursortimeout),a.cursortimeout=0);if(a.rail){a.autohidedom&&(a.autohidedom.stop().css({opacity:a.opt.cursoropacitymax}),a.cursoractive=!0);if(!a.rail.drag||1!=a.rail.drag.pt)"undefined"!=typeof c&&!1!==c&&(a.scroll.y=Math.round(1*c/a.scrollratio.y)),"undefined"!=typeof b&&(a.scroll.x=Math.round(1*b/a.scrollratio.x));a.cursor.css({height:a.cursorheight,top:a.scroll.y}); a.cursorh&&(!a.rail.align&&a.rail.visibility?a.cursorh.css({width:a.cursorwidth,left:a.scroll.x+a.rail.width}):a.cursorh.css({width:a.cursorwidth,left:a.scroll.x}),a.cursoractive=!0);a.zoom&&a.zoom.stop().css({opacity:a.opt.cursoropacitymax})}};this.hideCursor=function(c){!a.cursortimeout&&(a.rail&&a.autohidedom&&!(a.hasmousefocus&&"leave"==a.opt.autohidemode))&&(a.cursortimeout=setTimeout(function(){if(!a.rail.active||!a.showonmouseevent)a.autohidedom.stop().animate({opacity:a.opt.cursoropacitymin}), a.zoom&&a.zoom.stop().animate({opacity:a.opt.cursoropacitymin}),a.cursoractive=!1;a.cursortimeout=0},c||a.opt.hidecursordelay))};this.noticeCursor=function(c,b,f){a.showCursor(b,f);a.rail.active||a.hideCursor(c)};this.getContentSize=a.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:a.haswrapper?function(){return{w:a.doc.outerWidth()+parseInt(a.win.css("paddingLeft"))+ parseInt(a.win.css("paddingRight")),h:a.doc.outerHeight()+parseInt(a.win.css("paddingTop"))+parseInt(a.win.css("paddingBottom"))}}:function(){return{w:a.docscroll[0].scrollWidth,h:a.docscroll[0].scrollHeight}};this.onResize=function(c,b){if(!a||!a.win)return!1;if(!a.haswrapper&&!a.ispage){if("none"==a.win.css("display"))return a.visibility&&a.hideRail().hideRailHr(),!1;!a.hidden&&!a.visibility&&a.showRail().showRailHr()}var f=a.page.maxh,d=a.page.maxw,e=a.view.w;a.view={w:a.ispage?a.win.width():parseInt(a.win[0].clientWidth), h:a.ispage?a.win.height():parseInt(a.win[0].clientHeight)};a.page=b?b:a.getContentSize();a.page.maxh=Math.max(0,a.page.h-a.view.h);a.page.maxw=Math.max(0,a.page.w-a.view.w);if(a.page.maxh==f&&a.page.maxw==d&&a.view.w==e){if(a.ispage)return a;f=a.win.offset();if(a.lastposition&&(d=a.lastposition,d.top==f.top&&d.left==f.left))return a;a.lastposition=f}0==a.page.maxh?(a.hideRail(),a.scrollvaluemax=0,a.scroll.y=0,a.scrollratio.y=0,a.cursorheight=0,a.setScrollTop(0),a.rail.scrollable=!1):a.rail.scrollable= !0;0==a.page.maxw?(a.hideRailHr(),a.scrollvaluemaxw=0,a.scroll.x=0,a.scrollratio.x=0,a.cursorwidth=0,a.setScrollLeft(0),a.railh.scrollable=!1):a.railh.scrollable=!0;a.locked=0==a.page.maxh&&0==a.page.maxw;if(a.locked)return a.ispage||a.updateScrollBar(a.view),!1;!a.hidden&&!a.visibility?a.showRail().showRailHr():!a.hidden&&!a.railh.visibility&&a.showRailHr();a.istextarea&&(a.win.css("resize")&&"none"!=a.win.css("resize"))&&(a.view.h-=20);a.cursorheight=Math.min(a.view.h,Math.round(a.view.h*(a.view.h/ a.page.h)));a.cursorheight=a.opt.cursorfixedheight?a.opt.cursorfixedheight:Math.max(a.opt.cursorminheight,a.cursorheight);a.cursorwidth=Math.min(a.view.w,Math.round(a.view.w*(a.view.w/a.page.w)));a.cursorwidth=a.opt.cursorfixedheight?a.opt.cursorfixedheight:Math.max(a.opt.cursorminheight,a.cursorwidth);a.scrollvaluemax=a.view.h-a.cursorheight-a.cursor.hborder;a.railh&&(a.railh.width=0<a.page.maxh?a.view.w-a.rail.width:a.view.w,a.scrollvaluemaxw=a.railh.width-a.cursorwidth-a.cursorh.wborder);a.ispage|| a.updateScrollBar(a.view);a.scrollratio={x:a.page.maxw/a.scrollvaluemaxw,y:a.page.maxh/a.scrollvaluemax};a.getScrollTop()>a.page.maxh?a.doScrollTop(a.page.maxh):(a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y)),a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)),a.cursoractive&&a.noticeCursor());a.scroll.y&&0==a.getScrollTop()&&a.doScrollTo(Math.floor(a.scroll.y*a.scrollratio.y));return a};this.resize=a.onResize;this.lazyResize=function(c){c=isNaN(c)?30:c;a.delayed("resize",a.resize, c);return a};this._bind=function(c,b,f,d){a.events.push({e:c,n:b,f:f,b:d,q:!1});c.addEventListener?c.addEventListener(b,f,d||!1):c.attachEvent?c.attachEvent("on"+b,f):c["on"+b]=f};this.jqbind=function(c,b,f){a.events.push({e:c,n:b,f:f,q:!0});e(c).bind(b,f)};this.bind=function(c,b,f,e){var h="jquery"in c?c[0]:c;"mousewheel"==b?"onwheel"in a.win?a._bind(h,"wheel",f,e||!1):(c="undefined"!=typeof document.onmousewheel?"mousewheel":"DOMMouseScroll",l(h,c,f,e||!1),"DOMMouseScroll"==c&&l(h,"MozMousePixelScroll", f,e||!1)):h.addEventListener?(d.cantouch&&/mouseup|mousedown|mousemove/.test(b)&&a._bind(h,"mousedown"==b?"touchstart":"mouseup"==b?"touchend":"touchmove",function(a){if(a.touches){if(2>a.touches.length){var c=a.touches.length?a.touches[0]:a;c.original=a;f.call(this,c)}}else a.changedTouches&&(c=a.changedTouches[0],c.original=a,f.call(this,c))},e||!1),a._bind(h,b,f,e||!1),d.cantouch&&"mouseup"==b&&a._bind(h,"touchcancel",f,e||!1)):a._bind(h,b,function(c){if((c=c||window.event||!1)&&c.srcElement)c.target= c.srcElement;"pageY"in c||(c.pageX=c.clientX+document.documentElement.scrollLeft,c.pageY=c.clientY+document.documentElement.scrollTop);return!1===f.call(h,c)||!1===e?a.cancelEvent(c):!0})};this._unbind=function(a,b,f,d){a.removeEventListener?a.removeEventListener(b,f,d):a.detachEvent?a.detachEvent("on"+b,f):a["on"+b]=!1};this.unbindAll=function(){for(var c=0;c<a.events.length;c++){var b=a.events[c];b.q?b.e.unbind(b.n,b.f):a._unbind(b.e,b.n,b.f,b.b)}};this.cancelEvent=function(a){a=a.original?a.original: a?a:window.event||!1;if(!a)return!1;a.preventDefault&&a.preventDefault();a.stopPropagation&&a.stopPropagation();a.preventManipulation&&a.preventManipulation();a.cancelBubble=!0;a.cancel=!0;return a.returnValue=!1};this.stopPropagation=function(a){a=a.original?a.original:a?a:window.event||!1;if(!a)return!1;if(a.stopPropagation)return a.stopPropagation();a.cancelBubble&&(a.cancelBubble=!0);return!1};this.showRail=function(){if(0!=a.page.maxh&&(a.ispage||"none"!=a.win.css("display")))a.visibility=!0, a.rail.visibility=!0,a.rail.css("display","block");return a};this.showRailHr=function(){if(!a.railh)return a;if(0!=a.page.maxw&&(a.ispage||"none"!=a.win.css("display")))a.railh.visibility=!0,a.railh.css("display","block");return a};this.hideRail=function(){a.visibility=!1;a.rail.visibility=!1;a.rail.css("display","none");return a};this.hideRailHr=function(){if(!a.railh)return a;a.railh.visibility=!1;a.railh.css("display","none");return a};this.show=function(){a.hidden=!1;a.locked=!1;return a.showRail().showRailHr()}; this.hide=function(){a.hidden=!0;a.locked=!0;return a.hideRail().hideRailHr()};this.toggle=function(){return a.hidden?a.show():a.hide()};this.remove=function(){a.stop();a.cursortimeout&&clearTimeout(a.cursortimeout);a.doZoomOut();a.unbindAll();d.isie9&&a.win[0].detachEvent("onpropertychange",a.onAttributeChange);!1!==a.observer&&a.observer.disconnect();!1!==a.observerremover&&a.observerremover.disconnect();a.events=null;a.cursor&&a.cursor.remove();a.cursorh&&a.cursorh.remove();a.rail&&a.rail.remove(); a.railh&&a.railh.remove();a.zoom&&a.zoom.remove();for(var c=0;c<a.saved.css.length;c++){var b=a.saved.css[c];b[0].css(b[1],"undefined"==typeof b[2]?"":b[2])}a.saved=!1;a.me.data("__nicescroll","");var f=e.nicescroll;f.each(function(c){if(this&&this.id===a.id){delete f[c];for(var b=++c;b<f.length;b++,c++)f[c]=f[b];f.length--;f.length&&delete f[f.length]}});for(var h in a)a[h]=null,delete a[h];a=null};this.scrollstart=function(c){this.onscrollstart=c;return a};this.scrollend=function(c){this.onscrollend= c;return a};this.scrollcancel=function(c){this.onscrollcancel=c;return a};this.zoomin=function(c){this.onzoomin=c;return a};this.zoomout=function(c){this.onzoomout=c;return a};this.isScrollable=function(a){a=a.target?a.target:a;if("OPTION"==a.nodeName)return!0;for(;a&&1==a.nodeType&&!/^BODY|HTML/.test(a.nodeName);){var b=e(a),b=b.css("overflowY")||b.css("overflowX")||b.css("overflow")||"";if(/scroll|auto/.test(b))return a.clientHeight!=a.scrollHeight;a=a.parentNode?a.parentNode:!1}return!1};this.getViewport= function(a){for(a=a&&a.parentNode?a.parentNode:!1;a&&1==a.nodeType&&!/^BODY|HTML/.test(a.nodeName);){var b=e(a);if(/fixed|absolute/.test(b.css("position")))return b;var f=b.css("overflowY")||b.css("overflowX")||b.css("overflow")||"";if(/scroll|auto/.test(f)&&a.clientHeight!=a.scrollHeight||0<b.getNiceScroll().length)return b;a=a.parentNode?a.parentNode:!1}return a?e(a):!1};this.triggerScrollEnd=function(){if(a.onscrollend){var c=a.getScrollLeft(),b=a.getScrollTop();a.onscrollend.call(a,{type:"scrollend", current:{x:c,y:b},end:{x:c,y:b}})}};this.onmousewheel=function(c){if(!a.wheelprevented){if(a.locked)return a.debounced("checkunlock",a.resize,250),!0;if(a.rail.drag)return a.cancelEvent(c);"auto"==a.opt.oneaxismousemode&&0!=c.deltaX&&(a.opt.oneaxismousemode=!1);if(a.opt.oneaxismousemode&&0==c.deltaX&&!a.rail.scrollable)return a.railh&&a.railh.scrollable?a.onmousewheelhr(c):!0;var b=+new Date,f=!1;a.opt.preservenativescrolling&&a.checkarea+600<b&&(a.nativescrollingarea=a.isScrollable(c),f=!0);a.checkarea= b;if(a.nativescrollingarea)return!0;if(c=q(c,!1,f))a.checkarea=0;return c}};this.onmousewheelhr=function(c){if(!a.wheelprevented){if(a.locked||!a.railh.scrollable)return!0;if(a.rail.drag)return a.cancelEvent(c);var b=+new Date,f=!1;a.opt.preservenativescrolling&&a.checkarea+600<b&&(a.nativescrollingarea=a.isScrollable(c),f=!0);a.checkarea=b;return a.nativescrollingarea?!0:a.locked?a.cancelEvent(c):q(c,!0,f)}};this.stop=function(){a.cancelScroll();a.scrollmon&&a.scrollmon.stop();a.cursorfreezed=!1; a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.noticeCursor();return a};this.getTransitionSpeed=function(b){var d=Math.round(10*a.opt.scrollspeed);b=Math.min(d,Math.round(b/20*a.opt.scrollspeed));return 20<b?b:0};a.opt.smoothscroll?a.ishwscroll&&d.hastransition&&a.opt.usetransition?(this.prepareTransition=function(b,e){var f=e?20<b?b:0:a.getTransitionSpeed(b),h=f?d.prefixstyle+"transform "+f+"ms ease-out":"";if(!a.lasttransitionstyle||a.lasttransitionstyle!=h)a.lasttransitionstyle= h,a.doc.css(d.transitionstyle,h);return f},this.doScrollLeft=function(b,d){var f=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,f,d)},this.doScrollTop=function(b,d){var f=a.scrollrunning?a.newscrollx:a.getScrollLeft();a.doScrollPos(f,b,d)},this.doScrollPos=function(b,e,f){var h=a.getScrollTop(),g=a.getScrollLeft();(0>(a.newscrolly-h)*(e-h)||0>(a.newscrollx-g)*(b-g))&&a.cancelScroll();!1==a.opt.bouncescroll&&(0>e?e=0:e>a.page.maxh&&(e=a.page.maxh),0>b?b=0:b>a.page.maxw&&(b=a.page.maxw)); if(a.scrollrunning&&b==a.newscrollx&&e==a.newscrolly)return!1;a.newscrolly=e;a.newscrollx=b;a.newscrollspeed=f||!1;if(a.timer)return!1;a.timer=setTimeout(function(){var f=a.getScrollTop(),h=a.getScrollLeft(),g,k;g=b-h;k=e-f;g=Math.round(Math.sqrt(Math.pow(g,2)+Math.pow(k,2)));g=a.newscrollspeed&&1<a.newscrollspeed?a.newscrollspeed:a.getTransitionSpeed(g);a.newscrollspeed&&1>=a.newscrollspeed&&(g*=a.newscrollspeed);a.prepareTransition(g,!0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm); 0<g&&(!a.scrollrunning&&a.onscrollstart&&a.onscrollstart.call(a,{type:"scrollstart",current:{x:h,y:f},request:{x:b,y:e},end:{x:a.newscrollx,y:a.newscrolly},speed:g}),d.transitionend?a.scrollendtrapped||(a.scrollendtrapped=!0,a.bind(a.doc,d.transitionend,a.onScrollTransitionEnd,!1)):(a.scrollendtrapped&&clearTimeout(a.scrollendtrapped),a.scrollendtrapped=setTimeout(a.onScrollTransitionEnd,g)),a.timerscroll={bz:new BezierClass(f,a.newscrolly,g,0,0,0.58,1),bh:new BezierClass(h,a.newscrollx,g,0,0,0.58, 1)},a.cursorfreezed||(a.timerscroll.tm=setInterval(function(){a.showCursor(a.getScrollTop(),a.getScrollLeft())},60)));a.synched("doScroll-set",function(){a.timer=0;a.scrollendtrapped&&(a.scrollrunning=!0);a.setScrollTop(a.newscrolly);a.setScrollLeft(a.newscrollx);if(!a.scrollendtrapped)a.onScrollTransitionEnd()})},50)},this.cancelScroll=function(){if(!a.scrollendtrapped)return!0;var b=a.getScrollTop(),e=a.getScrollLeft();a.scrollrunning=!1;d.transitionend||clearTimeout(d.transitionend);a.scrollendtrapped= !1;a._unbind(a.doc,d.transitionend,a.onScrollTransitionEnd);a.prepareTransition(0);a.setScrollTop(b);a.railh&&a.setScrollLeft(e);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);a.timerscroll=!1;a.cursorfreezed=!1;a.showCursor(b,e);return a},this.onScrollTransitionEnd=function(){a.scrollendtrapped&&a._unbind(a.doc,d.transitionend,a.onScrollTransitionEnd);a.scrollendtrapped=!1;a.prepareTransition(0);a.timerscroll&&a.timerscroll.tm&&clearInterval(a.timerscroll.tm);a.timerscroll=!1;var b= a.getScrollTop(),e=a.getScrollLeft();a.setScrollTop(b);a.railh&&a.setScrollLeft(e);a.noticeCursor(!1,b,e);a.cursorfreezed=!1;0>b?b=0:b>a.page.maxh&&(b=a.page.maxh);0>e?e=0:e>a.page.maxw&&(e=a.page.maxw);if(b!=a.newscrolly||e!=a.newscrollx)return a.doScrollPos(e,b,a.opt.snapbackspeed);a.onscrollend&&a.scrollrunning&&a.triggerScrollEnd();a.scrollrunning=!1}):(this.doScrollLeft=function(b,d){var f=a.scrollrunning?a.newscrolly:a.getScrollTop();a.doScrollPos(b,f,d)},this.doScrollTop=function(b,d){var f= a.scrollrunning?a.newscrollx:a.getScrollLeft();a.doScrollPos(f,b,d)},this.doScrollPos=function(b,d,f){function e(){if(a.cancelAnimationFrame)return!0;a.scrollrunning=!0;if(p=1-p)return a.timer=s(e)||1;var b=0,c=sy=a.getScrollTop();if(a.dst.ay){var c=a.bzscroll?a.dst.py+a.bzscroll.getNow()*a.dst.ay:a.newscrolly,f=c-sy;if(0>f&&c<a.newscrolly||0<f&&c>a.newscrolly)c=a.newscrolly;a.setScrollTop(c);c==a.newscrolly&&(b=1)}else b=1;var d=sx=a.getScrollLeft();if(a.dst.ax){d=a.bzscroll?a.dst.px+a.bzscroll.getNow()* a.dst.ax:a.newscrollx;f=d-sx;if(0>f&&d<a.newscrollx||0<f&&d>a.newscrollx)d=a.newscrollx;a.setScrollLeft(d);d==a.newscrollx&&(b+=1)}else b+=1;2==b?(a.timer=0,a.cursorfreezed=!1,a.bzscroll=!1,a.scrollrunning=!1,0>c?c=0:c>a.page.maxh&&(c=a.page.maxh),0>d?d=0:d>a.page.maxw&&(d=a.page.maxw),d!=a.newscrollx||c!=a.newscrolly?a.doScrollPos(d,c):a.onscrollend&&a.triggerScrollEnd()):a.timer=s(e)||1}d="undefined"==typeof d||!1===d?a.getScrollTop(!0):d;if(a.timer&&a.newscrolly==d&&a.newscrollx==b)return!0;a.timer&& v(a.timer);a.timer=0;var h=a.getScrollTop(),g=a.getScrollLeft();(0>(a.newscrolly-h)*(d-h)||0>(a.newscrollx-g)*(b-g))&&a.cancelScroll();a.newscrolly=d;a.newscrollx=b;if(!a.bouncescroll||!a.rail.visibility)0>a.newscrolly?a.newscrolly=0:a.newscrolly>a.page.maxh&&(a.newscrolly=a.page.maxh);if(!a.bouncescroll||!a.railh.visibility)0>a.newscrollx?a.newscrollx=0:a.newscrollx>a.page.maxw&&(a.newscrollx=a.page.maxw);a.dst={};a.dst.x=b-g;a.dst.y=d-h;a.dst.px=g;a.dst.py=h;var k=Math.round(Math.sqrt(Math.pow(a.dst.x, 2)+Math.pow(a.dst.y,2)));a.dst.ax=a.dst.x/k;a.dst.ay=a.dst.y/k;var l=0,q=k;0==a.dst.x?(l=h,q=d,a.dst.ay=1,a.dst.py=0):0==a.dst.y&&(l=g,q=b,a.dst.ax=1,a.dst.px=0);k=a.getTransitionSpeed(k);f&&1>=f&&(k*=f);a.bzscroll=0<k?a.bzscroll?a.bzscroll.update(q,k):new BezierClass(l,q,k,0,1,0,1):!1;if(!a.timer){(h==a.page.maxh&&d>=a.page.maxh||g==a.page.maxw&&b>=a.page.maxw)&&a.checkContentSize();var p=1;a.cancelAnimationFrame=!1;a.timer=1;a.onscrollstart&&!a.scrollrunning&&a.onscrollstart.call(a,{type:"scrollstart", current:{x:g,y:h},request:{x:b,y:d},end:{x:a.newscrollx,y:a.newscrolly},speed:k});e();(h==a.page.maxh&&d>=h||g==a.page.maxw&&b>=g)&&a.checkContentSize();a.noticeCursor()}},this.cancelScroll=function(){a.timer&&v(a.timer);a.timer=0;a.bzscroll=!1;a.scrollrunning=!1;return a}):(this.doScrollLeft=function(b,d){var f=a.getScrollTop();a.doScrollPos(b,f,d)},this.doScrollTop=function(b,d){var f=a.getScrollLeft();a.doScrollPos(f,b,d)},this.doScrollPos=function(b,d,f){var e=b>a.page.maxw?a.page.maxw:b;0>e&& (e=0);var h=d>a.page.maxh?a.page.maxh:d;0>h&&(h=0);a.synched("scroll",function(){a.setScrollTop(h);a.setScrollLeft(e)})},this.cancelScroll=function(){});this.doScrollBy=function(b,d){var f=0,f=d?Math.floor((a.scroll.y-b)*a.scrollratio.y):(a.timer?a.newscrolly:a.getScrollTop(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.h/2);f<-e?f=-e:f>a.page.maxh+e&&(f=a.page.maxh+e)}a.cursorfreezed=!1;py=a.getScrollTop(!0);if(0>f&&0>=py)return a.noticeCursor();if(f>a.page.maxh&&py>=a.page.maxh)return a.checkContentSize(), a.noticeCursor();a.doScrollTop(f)};this.doScrollLeftBy=function(b,d){var f=0,f=d?Math.floor((a.scroll.x-b)*a.scrollratio.x):(a.timer?a.newscrollx:a.getScrollLeft(!0))-b;if(a.bouncescroll){var e=Math.round(a.view.w/2);f<-e?f=-e:f>a.page.maxw+e&&(f=a.page.maxw+e)}a.cursorfreezed=!1;px=a.getScrollLeft(!0);if(0>f&&0>=px||f>a.page.maxw&&px>=a.page.maxw)return a.noticeCursor();a.doScrollLeft(f)};this.doScrollTo=function(b,d){d&&Math.round(b*a.scrollratio.y);a.cursorfreezed=!1;a.doScrollTop(b)};this.checkContentSize= function(){var b=a.getContentSize();(b.h!=a.page.h||b.w!=a.page.w)&&a.resize(!1,b)};a.onscroll=function(b){a.rail.drag||a.cursorfreezed||a.synched("scroll",function(){a.scroll.y=Math.round(a.getScrollTop()*(1/a.scrollratio.y));a.railh&&(a.scroll.x=Math.round(a.getScrollLeft()*(1/a.scrollratio.x)));a.noticeCursor()})};a.bind(a.docscroll,"scroll",a.onscroll);this.doZoomIn=function(b){if(!a.zoomactive){a.zoomactive=!0;a.zoomrestore={style:{}};var h="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "), f=a.win[0].style,g;for(g in h){var k=h[g];a.zoomrestore.style[k]="undefined"!=typeof f[k]?f[k]:""}a.zoomrestore.style.width=a.win.css("width");a.zoomrestore.style.height=a.win.css("height");a.zoomrestore.padding={w:a.win.outerWidth()-a.win.width(),h:a.win.outerHeight()-a.win.height()};d.isios4&&(a.zoomrestore.scrollTop=e(window).scrollTop(),e(window).scrollTop(0));a.win.css({position:d.isios4?"absolute":"fixed",top:0,left:0,"z-index":x+100,margin:"0px"});h=a.win.css("backgroundColor");(""==h||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(h))&& a.win.css("backgroundColor","#fff");a.rail.css({"z-index":x+101});a.zoom.css({"z-index":x+102});a.zoom.css("backgroundPosition","0px -18px");a.resizeZoom();a.onzoomin&&a.onzoomin.call(a);return a.cancelEvent(b)}};this.doZoomOut=function(b){if(a.zoomactive)return a.zoomactive=!1,a.win.css("margin",""),a.win.css(a.zoomrestore.style),d.isios4&&e(window).scrollTop(a.zoomrestore.scrollTop),a.rail.css({"z-index":a.zindex}),a.zoom.css({"z-index":a.zindex}),a.zoomrestore=!1,a.zoom.css("backgroundPosition", "0px 0px"),a.onResize(),a.onzoomout&&a.onzoomout.call(a),a.cancelEvent(b)};this.doZoom=function(b){return a.zoomactive?a.doZoomOut(b):a.doZoomIn(b)};this.resizeZoom=function(){if(a.zoomactive){var b=a.getScrollTop();a.win.css({width:e(window).width()-a.zoomrestore.padding.w+"px",height:e(window).height()-a.zoomrestore.padding.h+"px"});a.onResize();a.setScrollTop(Math.min(a.page.maxh,b))}};this.init();e.nicescroll.push(this)},H=function(e){var b=this;this.nc=e;this.steptime=this.lasttime=this.speedy= this.speedx=this.lasty=this.lastx=0;this.snapy=this.snapx=!1;this.demuly=this.demulx=0;this.lastscrolly=this.lastscrollx=-1;this.timer=this.chky=this.chkx=0;this.time=function(){return+new Date};this.reset=function(e,g){b.stop();var l=b.time();b.steptime=0;b.lasttime=l;b.speedx=0;b.speedy=0;b.lastx=e;b.lasty=g;b.lastscrollx=-1;b.lastscrolly=-1};this.update=function(e,g){var l=b.time();b.steptime=l-b.lasttime;b.lasttime=l;var l=g-b.lasty,q=e-b.lastx,a=b.nc.getScrollTop(),p=b.nc.getScrollLeft(),a=a+ l,p=p+q;b.snapx=0>p||p>b.nc.page.maxw;b.snapy=0>a||a>b.nc.page.maxh;b.speedx=q;b.speedy=l;b.lastx=e;b.lasty=g};this.stop=function(){b.nc.unsynched("domomentum2d");b.timer&&clearTimeout(b.timer);b.timer=0;b.lastscrollx=-1;b.lastscrolly=-1};this.doSnapy=function(e,g){var l=!1;0>g?(g=0,l=!0):g>b.nc.page.maxh&&(g=b.nc.page.maxh,l=!0);0>e?(e=0,l=!0):e>b.nc.page.maxw&&(e=b.nc.page.maxw,l=!0);l?b.nc.doScrollPos(e,g,b.nc.opt.snapbackspeed):b.nc.triggerScrollEnd()};this.doMomentum=function(e){var g=b.time(), l=e?g+e:b.lasttime;e=b.nc.getScrollLeft();var q=b.nc.getScrollTop(),a=b.nc.page.maxh,p=b.nc.page.maxw;b.speedx=0<p?Math.min(60,b.speedx):0;b.speedy=0<a?Math.min(60,b.speedy):0;l=l&&60>=g-l;if(0>q||q>a||0>e||e>p)l=!1;e=b.speedx&&l?b.speedx:!1;if(b.speedy&&l&&b.speedy||e){var d=Math.max(16,b.steptime);50<d&&(e=d/50,b.speedx*=e,b.speedy*=e,d=50);b.demulxy=0;b.lastscrollx=b.nc.getScrollLeft();b.chkx=b.lastscrollx;b.lastscrolly=b.nc.getScrollTop();b.chky=b.lastscrolly;var r=b.lastscrollx,t=b.lastscrolly, s=function(){var c=600<b.time()-g?0.04:0.02;if(b.speedx&&(r=Math.floor(b.lastscrollx-b.speedx*(1-b.demulxy)),b.lastscrollx=r,0>r||r>p))c=0.1;if(b.speedy&&(t=Math.floor(b.lastscrolly-b.speedy*(1-b.demulxy)),b.lastscrolly=t,0>t||t>a))c=0.1;b.demulxy=Math.min(1,b.demulxy+c);b.nc.synched("domomentum2d",function(){b.speedx&&(b.nc.getScrollLeft()!=b.chkx&&b.stop(),b.chkx=r,b.nc.setScrollLeft(r));b.speedy&&(b.nc.getScrollTop()!=b.chky&&b.stop(),b.chky=t,b.nc.setScrollTop(t));b.timer||(b.nc.hideCursor(), b.doSnapy(r,t))});1>b.demulxy?b.timer=setTimeout(s,d):(b.stop(),b.nc.hideCursor(),b.doSnapy(r,t))};s()}else b.doSnapy(b.nc.getScrollLeft(),b.nc.getScrollTop())}},w=e.fn.scrollTop;e.cssHooks.pageYOffset={get:function(g,b,h){return(b=e.data(g,"__nicescroll")||!1)&&b.ishwscroll?b.getScrollTop():w.call(g)},set:function(g,b){var h=e.data(g,"__nicescroll")||!1;h&&h.ishwscroll?h.setScrollTop(parseInt(b)):w.call(g,b);return this}};e.fn.scrollTop=function(g){if("undefined"==typeof g){var b=this[0]?e.data(this[0], "__nicescroll")||!1:!1;return b&&b.ishwscroll?b.getScrollTop():w.call(this)}return this.each(function(){var b=e.data(this,"__nicescroll")||!1;b&&b.ishwscroll?b.setScrollTop(parseInt(g)):w.call(e(this),g)})};var A=e.fn.scrollLeft;e.cssHooks.pageXOffset={get:function(g,b,h){return(b=e.data(g,"__nicescroll")||!1)&&b.ishwscroll?b.getScrollLeft():A.call(g)},set:function(g,b){var h=e.data(g,"__nicescroll")||!1;h&&h.ishwscroll?h.setScrollLeft(parseInt(b)):A.call(g,b);return this}};e.fn.scrollLeft=function(g){if("undefined"== typeof g){var b=this[0]?e.data(this[0],"__nicescroll")||!1:!1;return b&&b.ishwscroll?b.getScrollLeft():A.call(this)}return this.each(function(){var b=e.data(this,"__nicescroll")||!1;b&&b.ishwscroll?b.setScrollLeft(parseInt(g)):A.call(e(this),g)})};var B=function(g){var b=this;this.length=0;this.name="nicescrollarray";this.each=function(e){for(var g=0,a=0;g<b.length;g++)e.call(b[g],a++);return b};this.push=function(e){b[b.length]=e;b.length++};this.eq=function(e){return b[e]};if(g)for(var h=0;h<g.length;h++){var k= e.data(g[h],"__nicescroll")||!1;k&&(this[this.length]=k,this.length++)}return this};(function(e,b,h){for(var k=0;k<b.length;k++)h(e,b[k])})(B.prototype,"show hide toggle onResize resize remove stop doScrollPos".split(" "),function(e,b){e[b]=function(){var e=arguments;return this.each(function(){this[b].apply(this,e)})}});e.fn.getNiceScroll=function(g){return"undefined"==typeof g?new B(this):this[g]&&e.data(this[g],"__nicescroll")||!1};e.extend(e.expr[":"],{nicescroll:function(g){return e.data(g,"__nicescroll")? !0:!1}});e.fn.niceScroll=function(g,b){"undefined"==typeof b&&("object"==typeof g&&!("jquery"in g))&&(b=g,g=!1);var h=new B;"undefined"==typeof b&&(b={});g&&(b.doc=e(g),b.win=e(this));var k=!("doc"in b);!k&&!("win"in b)&&(b.win=e(this));this.each(function(){var g=e(this).data("__nicescroll")||!1;g||(b.doc=k?e(this):b.doc,g=new N(b,e(this)),e(this).data("__nicescroll",g));h.push(g)});return 1==h.length?h[0]:h};window.NiceScroll={getjQuery:function(){return e}};e.nicescroll||(e.nicescroll=new B,e.nicescroll.options= G)}); /* Plugin: jQuery Parallax Version 1.1.3 Author: Ian Lunn Twitter: @IanLunn Author URL: http://www.ianlunn.co.uk/ Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/

Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html

  • /

(function( $ ){ var $window = $(window); var windowHeight = $window.height();

$window.resize(function () { windowHeight = $window.height(); });

$.fn.parallax = function(xpos, speedFactor, outerHeight) { var $this = $(this); var getHeight; var firstTop; var paddingTop = 0;

//get the starting position of each element to have parallax applied to it $this.each(function(){ firstTop = $this.offset().top; });

if (outerHeight) { getHeight = function(jqo) { return jqo.outerHeight(true); }; } else { getHeight = function(jqo) { return jqo.height(); }; }

// setup defaults if arguments aren't specified if (arguments.length < 1 || xpos === null) xpos = "50%"; if (arguments.length < 2 || speedFactor === null) speedFactor = 0.1; if (arguments.length < 3 || outerHeight === null) outerHeight = true;

// function to be called whenever the window is scrolled or resized function update(){ var pos = $window.scrollTop();

$this.each(function(){ var $element = $(this); var top = $element.offset().top; var height = getHeight($element);

// Check if totally above or totally below viewport if (top + height < pos || top > pos + windowHeight) { return; }

$this.css('backgroundPosition', xpos + " " + Math.round((firstTop - pos) * speedFactor) + "px"); }); }

$window.bind('scroll', update).resize(update); update(); }; })(jQuery);


/******************************************** - THEMEPUNCH TOOLS Ver. 1.0 - Last Update of Tools 09.10.2013

                                                                                          • /



/*!

* VERSION: 1.11.2
* DATE: 2013-11-20
* UPDATES AND DOCS AT: http://www.greensock.com
*
* @license Copyright (c) 2008-2013, GreenSock. All rights reserved.
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
* Club GreenSock members, the software agreement that was issued with your membership.
* 
* @author: Jack Doyle, jack@greensock.com
*/

(function(t){"use strict";var e=t.GreenSockGlobals||t;if(!e.TweenLite){var i,s,r,n,a,o=function(t){var i,s=t.split("."),r=e;for(i=0;s.length>i;i++)r[s[i]]=r=r[s[i]]||{};return r},l=o("com.greensock"),h=1e-10,_=[].slice,u=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e}}(),f={},p=function(i,s,r,n){this.sc=f[i]?f[i].sc:[],f[i]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(l){for(var h,_,u,m,c=s.length,d=c;--c>-1;)(h=f[s[c]]||new p(s[c],[])).gsClass?(a[c]=h.gsClass,d--):l&&h.sc.push(this);if(0===d&&r)for(_=("com.greensock."+i).split("."),u=_.pop(),m=o(_.join("."))[u]=this.gsClass=r.apply(r,a),n&&(e[u]=m,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+i.split(".").join("/"),[],function(){return m}):"undefined"!=typeof module&&module.exports&&(module.exports=m)),c=0;this.sc.length>c;c++)this.sc[c].check()},this.check(!0)},c=t._gsDefine=function(t,e,i,s){return new p(t,e,i,s)},d=l._class=function(t,e,i){return e=e||function(){},c(t,[],function(){return e},i),e};c.globals=e;var v=[0,0,1,1],g=[],T=d("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?v.concat(e):v},!0),w=T.map={},P=T.register=function(t,e,i,s){for(var r,n,a,o,h=e.split(","),_=h.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--_>-1;)for(n=h[_],r=s?d("easing."+n,null,!0):l.easing[n]||{},a=u.length;--a>-1;)o=u[a],w[n+"."+o]=w[o+n]=r[o]=t.getRatio?t:t[o]||new t};for(r=T.prototype,r._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:.5>t?s/2:1-s/2},i=["Linear","Quad","Cubic","Quart","Quint,Strong"],s=i.length;--s>-1;)r=i[s]+",Power"+s,P(new T(null,null,1,s),r,"easeOut",!0),P(new T(null,null,2,s),r,"easeIn"+(0===s?",easeNone":"")),P(new T(null,null,3,s),r,"easeInOut");w.linear=l.easing.Linear.easeIn,w.swing=l.easing.Quad.easeInOut;var y=d("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});r=y.prototype,r.addEventListener=function(t,e,i,s,r){r=r||0;var o,l,h=this._listeners[t],_=0;for(null==h&&(this._listeners[t]=h=[]),l=h.length;--l>-1;)o=h[l],o.c===e&&o.s===i?h.splice(l,1):0===_&&r>o.pr&&(_=l+1);h.splice(_,0,{c:e,s:i,up:s,pr:r}),this!==n||a||n.wake()},r.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return s.splice(i,1),void 0},r.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)s=r[e],s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};var b=t.requestAnimationFrame,k=t.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},S=A();for(i=["ms","moz","webkit","o"],s=i.length;--s>-1&&!b;)b=t[i[s]+"RequestAnimationFrame"],k=t[i[s]+"CancelAnimationFrame"]||t[i[s]+"CancelRequestAnimationFrame"];d("Ticker",function(t,e){var i,s,r,o,l,h=this,_=A(),m=e!==!1&&b,f=function(t){S=A(),h.time=(S-_)/1e3;var e,n=h.time-l;(!i||n>0||t===!0)&&(h.frame++,l+=n+(n>=o?.004:o-n),e=!0),t!==!0&&(r=s(f)),e&&h.dispatchEvent("tick")};y.call(h),h.time=h.frame=0,h.tick=function(){f(!0)},h.sleep=function(){null!=r&&(m&&k?k(r):clearTimeout(r),s=u,r=null,h===n&&(a=!1))},h.wake=function(){null!==r&&h.sleep(),s=0===i?u:m&&b?b:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},h===n&&(a=!0),f(2)},h.fps=function(t){return arguments.length?(i=t,o=1/(i||60),l=this.time+o,h.wake(),void 0):i},h.useRAF=function(t){return arguments.length?(h.sleep(),m=t,h.fps(i),void 0):m},h.fps(t),setTimeout(function(){m&&(!r||5>h.frame)&&h.useRAF(!1)},1500)}),r=l.Ticker.prototype=new l.events.EventDispatcher,r.constructor=l.Ticker;var x=d("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,Q){a||n.wake();var i=this.vars.useFrames?G:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});n=x.ticker=new l.Ticker,r=x.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var C=function(){a&&A()-S>2e3&&n.wake(),setTimeout(C,2e3)};C(),r.play=function(t,e){return arguments.length&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},r.reverse=function(t,e){return arguments.length&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return a||n.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},r.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||n.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&this.render(t,e,!1)}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},r.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._totalTime,!0)),this):this._reversed},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){a||t||n.wake();var e=this._timeline,i=e.rawTime(),s=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=s,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==s&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var R=d("core.SimpleTimeline",function(t){x.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=R.prototype=new x,r.constructor=R,r.kill()._gc=!1,r._first=r._last=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(s=t._startTime;i&&i._startTime>s;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},r.rawTime=function(){return a||n.wake(),this._totalTime};var D=d("TweenLite",function(e,i,s){if(x.call(this,i,s),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?j[D.defaultOverwrite]:"number"==typeof l?l>>0:j[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=_.call(e,0),this._propLookup=[],this._siblings=[],r=0;a.length>r;r++)n=a[r],n?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(_.call(n,0))):(this._siblings[r]=B(n,this,!1),1===l&&this._siblings[r].length>1&&q(n,this,null,1,this._siblings[r])):(n=a[r--]=D.selector(n),"string"==typeof n&&a.splice(r+1,1)):a.splice(r--,1);else this._propLookup={},this._siblings=B(e,this,!1),1===l&&this._siblings.length>1&&q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),E=function(e){return e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},I=function(t,e){var i,s={};for(i in t)F[i]||i in e&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!N[i]||N[i]&&N[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s};r=D.prototype=new x,r.constructor=D,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=!1,D.version="1.11.2",D.defaultEase=r._ease=new T(null,null,1,1),D.defaultOverwrite="auto",D.ticker=n,D.autoSleep=!0,D.selector=t.$||t.jQuery||function(e){return t.$?(D.selector=t.$,t.$(e)):t.document?t.document.getElementById("#"===e.charAt(0)?e.substr(1):e):e};var O=D._internals={isArray:m,isSelector:E},N=D._plugins={},L=D._tweenLookup={},U=0,F=O.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},G=x._rootFramesTimeline=new R,Q=x._rootTimeline=new R;Q._startTime=n.time,G._startTime=n.frame,Q._active=G._active=!0,x._updateRoot=function(){if(Q.render((n.time-Q._startTime)*Q._timeScale,!1,!1),G.render((n.frame-G._startTime)*G._timeScale,!1,!1),!(n.frame%120)){var t,e,i;for(i in L){for(e=L[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete L[i]}if(i=Q._first,(!i||i._paused)&&D.autoSleep&&!G._first&&1===n._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||n.sleep()}}},n.addEventListener("tick",x._updateRoot);var B=function(t,e,i){var s,r,n=t._gsTweenID;if(L[n||(t._gsTweenID=n="t"+U++)]||(L[n]={target:t,tweens:[]}),e&&(s=L[n].tweens,s[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return L[n].tweens},q=function(t,e,i,s,r){var n,a,o,l;if(1===s||s>=4){for(l=r.length,n=0;l>n;n++)if((o=r[n])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===s)break;return a}var _,u=e._startTime+h,m=[],f=0,p=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(_=_||$(e,0,p),0===$(o,_,p)&&(m[f++]=o)):u>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale+h>u&&((p||!o._initted)&&2e-10>=u-o._startTime||(m[f++]=o)));for(n=f;--n>-1;)o=m[n],2===s&&o._kill(i,t)&&(a=!0),(2!==s||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(a=!0);return a},$=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return n/=r,n>e?n-e:i&&n===e||!t._initted&&2*h>n-e?h:(n+=t.totalDuration()/t._timeScale/r)>e+h?0:n-e-h};r._init=function(){var t,e,i,s,r=this.vars,n=this._overwrittenProps,a=this._duration,o=r.immediateRender,l=r.ease;if(r.startAt){if(this._startAt&&this._startAt.render(-1,!0),r.startAt.overwrite=0,r.startAt.immediateRender=!0,this._startAt=D.to(this.target,0,r.startAt),o)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(r.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else{i={};for(s in r)F[s]&&"autoCSS"!==s||(i[s]=r[s]);if(i.overwrite=0,i.data="isFromStart",this._startAt=D.to(this.target,0,i),r.immediateRender){if(0===this._time)return}else this._startAt.render(-1,!0)}if(this._ease=l?l instanceof T?r.easeParams instanceof Array?l.config.apply(l,r.easeParams):l:"function"==typeof l?new T(l,r.easeParams):w[l]||D.defaultEase:D.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],n?n[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,n);if(e&&D._onPluginEvent("_onInitAllProps",this),n&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(e,i,s,r){var n,a,o,l,h,_;if(null==e)return!1;this.vars.css||e.style&&e!==t&&e.nodeType&&N.css&&this.vars.autoCSS!==!1&&I(this.vars,e);for(n in this.vars){if(_=this.vars[n],F[n])_&&(_ instanceof Array||_.push&&m(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[n]=_=this._swapSelfInParams(_,this));else if(N[n]&&(l=new N[n])._onInitTween(e,this.vars[n],this)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:n,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[n]=h={_next:this._firstPT,t:e,p:n,f:"function"==typeof e[n],n:n,pg:!1,pr:0},h.s=h.f?e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(e[n]),h.c="string"==typeof _&&"="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*Number(_.substr(2)):Number(_)-h.s||0;h&&h._next&&(h._next._prev=h)}return r&&this._kill(r,e)?this._initProps(e,i,s,r):this._overwrite>1&&this._firstPT&&s.length>1&&q(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r)):o},r.render=function(t,e,i){var s,r,n,a,o=this._time,l=this._duration;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete"),0===l&&(a=this._rawPrevTime,(0===t||0>a||a===h)&&a!==t&&(i=!0,a>h&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&this._rawPrevTime>h)&&(r="onReverseComplete",s=this._reversed),0>t?(this._active=!1,0===l&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=a=!e||t?t:h)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,m=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===m?_*=_:2===m?_*=_*_:3===m?_*=_*_*_:4===m&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:.5>t/l?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;this._time&&!s?this.ratio=this._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||g))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||i&&0===this._time&&0===o||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||g),0===l&&this._rawPrevTime===h&&a!==h&&(this._rawPrevTime=0)))}},r._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var i,s,r,n,a,o,l,h;if((m(e)||E(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(o=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){l=t||a,h=t!==s&&"all"!==s&&t!==a&&("object"!=typeof t||!t._tempKill);for(r in l)(n=a[r])&&(n.pg&&n.t._kill(l)&&(o=!0),n.pg&&0!==n.t._overwriteProps.length||(n._prev?n._prev._next=n._next:n===this._firstPT&&(this._firstPT=n._next),n._next&&(n._next._prev=n._prev),n._next=n._prev=null),delete a[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return o},r.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},r._enabled=function(t,e){if(a||n.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=B(s[i],this,!0);else this._siblings=B(this.target,this,!0)}return x.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?D._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new D(t,e,s)},D.delayedCall=function(t,e,i,s,r){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:s,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,useFrames:r,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:D.selector(t)||t;var i,s,r,n;if((m(t)||E(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(D.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else for(s=B(t).concat(),i=s.length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var s=D.getTweensOf(t,e),r=s.length;--r>-1;)s[r]._kill(i,t)};var M=d("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=M.prototype},!0);if(r=M.prototype,M.version="1.10.1",M.API=2,r._firstPT=null,r._addTween=function(t,e,i,s,r,n){var a,o;return null!=s&&(a="number"==typeof s||"="!==s.charAt(1)?Number(s)-i:parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:t,p:e,s:i,c:a,f:"function"==typeof t[e],n:r||e,r:n},o._next&&(o._next._prev=o),o):void 0},r.setRatio=function(t){for(var e,i=this._firstPT,s=1e-6;i;)e=i.c*t+i.s,i.r?e=0|e+(e>0?.5:-.5):s>e&&e>-s&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},r._kill=function(t){var e,i=this._overwriteProps,s=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},r._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},D._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},M.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===M.API&&(N[(new t[e])._propName]=t[e]);return!0},c.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=d("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){M.call(this,i,s),this._overwriteProps=r||[]},t.global===!0),o=a.prototype=new M(i);o.constructor=a,a.API=t.API;for(e in n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,M.activate([a]),a},i=t._gsQueue){for(s=0;i.length>s;s++)i[s]();for(r in f)f[r].func||t.console.log("GSAP encountered missing dependency: com.greensock."+r)}a=!1}})(window); (window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,s,r=window.GreenSockGlobals||window,n=r.com.greensock,a=2*Math.PI,o=Math.PI/2,h=n._class,l=function(e,i){var s=h("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,s},_=t.register||function(){},u=function(t,e,i,s){var r=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return _(r,t),r},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var s=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t){return new s(t)},s},f=u("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),d=m.prototype=new t;return d.constructor=m,d.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),d.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),d=e.prototype=new t,d.constructor=e,d.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=e.config=function(t){return new e(t)},i=h("easing.RoughEase",function(e){e=e||{};for(var i,s,r,n,a,o,h=e.taper||"none",l=[],_=0,u=0|(e.points||20),p=u,f=e.randomize!==!1,m=e.clamp===!0,d=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/u*p,s=d?d.getRatio(i):i,"none"===h?r=g:"out"===h?(n=1-i,r=n*n*g):"in"===h?r=i*i*g:.5>i?(n=2*i,r=.5*n*n*g):(n=2*(1-i),r=.5*n*n*g),f?s+=Math.random()*r-.5*r:p%2?s+=.5*r:s-=.5*r,m&&(s>1?s=1:0>s&&(s=0)),l[_++]={x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),p=u;--p>-1;)a=l[p],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),d=i.prototype=new t,d.constructor=i,d.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},d.config=function(t){return new i(t)},i.ease=new i,u("Bounce",l("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),s=function(e,i,s){var r=h("easing."+e,function(t,e){this._p1=t||1,this._p2=e||s,this._p3=this._p2/a*(Math.asin(1/this._p1)||0)},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t,e){return new r(t,e)},r},u("Elastic",s("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),s("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2))},.3),s("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),u("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",l("SineOut",function(t){return Math.sin(t*o)}),l("SineIn",function(t){return-Math.cos(t*o)+1}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(r.SlowMo,"SlowMo","ease,"),_(i,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),f},!0)}),window._gsDefine&&window._gsQueue.pop()(); (window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,s,r,n,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o={},l=a.prototype=new t("css");l.constructor=a,a.version="1.11.2",a.API=2,a.defaultTransformPerspective=0,l="px",a.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l};var h,u,_,p,f,c,d=/(?:\d|\-\d|\.\d|\-\.\d)+/g,m=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,g=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/[^\d\-\.]/g,y=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/,x=/opacity:([^;]*)/,w=/alpha\(opacity *=.+?\)/i,b=/^(rgb|hsl)/,P=/([A-Z])/g,S=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,k=function(t,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,M=Math.PI/180,L=180/Math.PI,N={},X=document,F=X.createElement("div"),I=X.createElement("img"),E=a._internals={_specialProps:o},Y=navigator.userAgent,z=function(){var t,e=Y.indexOf("Android"),i=X.createElement("div");return _=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===e||Number(Y.substr(e+8,1))>3),f=_&&6>Number(Y.substr(Y.indexOf("Version/")+8,1)),p=-1!==Y.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y),c=parseFloat(RegExp.$1),i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",t=i.getElementsByTagName("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),U=function(t){return T.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},B=function(t){window.console&&console.log(t)},j="",V="",q=function(t,e){e=e||F;var i,s,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;--s>-1&&void 0===r[i[s]+t];);return s>=0?(V=3===s?"ms":i[s],j="-"+V.toLowerCase()+"-",V+t):null},W=X.defaultView?X.defaultView.getComputedStyle:function(){},Q=a.getStyle=function(t,e,i,s,r){var n;return z||"opacity"!==e?(!s&&t.style[e]?n=t.style[e]:(i=i||W(t,null))?(t=i.getPropertyValue(e.replace(P,"-$1").toLowerCase()),n=t||i.length?t:i[e]):t.currentStyle&&(n=t.currentStyle[e]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):U(t)},Z=function(t,e,i,s,r){if("px"===s||!s)return i;if("auto"===s||!i)return 0;var n,a=C.test(e),o=t,l=F.style,h=0>i;return h&&(i=-i),"%"===s&&-1!==e.indexOf("border")?n=i/100*(a?t.clientWidth:t.clientHeight):(l.cssText="border:0 solid red;position:"+Q(t,"position")+";line-height:0;","%"!==s&&o.appendChild?l[a?"borderLeftWidth":"borderTopWidth"]=i+s:(o=t.parentNode||X.body,l[a?"width":"height"]=i+s),o.appendChild(F),n=parseFloat(F[a?"offsetWidth":"offsetHeight"]),o.removeChild(F),0!==n||r||(n=Z(t,e,i,s,!0))),h?-n:n},H=function(t,e,i){if("absolute"!==Q(t,"position",i))return 0;var s="left"===e?"Left":"Top",r=Q(t,"margin"+s,i);return t["offset"+s]-(Z(t,e,parseFloat(r),r.replace(y,""))||0)},$=function(t,e){var i,s,r={};if(e=e||W(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(S,k)]=e.getPropertyValue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0!==r[i]&&(r[i.replace(S,k)]=e[i]);return z||(r.opacity=U(t)),s=be(t,e,!1),r.rotation=s.rotation,r.skewX=s.skewX,r.scaleX=s.scaleX,r.scaleY=s.scaleY,r.x=s.x,r.y=s.y,we&&(r.z=s.z,r.rotationX=s.rotationX,r.rotationY=s.rotationY,r.scaleZ=s.scaleZ),r.filters&&delete r.filters,r},G=function(t,e,i,s,r){var n,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof n||"string"==typeof n)&&(l[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(v,"")?n:0:H(t,a),void 0!==h[a]&&(o=new _e(h,a,h[a],o)));if(s)for(a in s)"className"!==a&&(l[a]=s[a]);return{difs:l,firstMPT:o}},K={width:["Left","Right"],height:["Top","Bottom"]},J=["marginLeft","marginRight","marginTop","marginBottom"],te=function(t,e,i){var s=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=K[e],n=r.length;for(i=i||W(t,null);--n>-1;)s-=parseFloat(Q(t,"padding"+r[n],i,!0))||0,s-=parseFloat(Q(t,"border"+r[n]+"Width",i,!0))||0;return s},ee=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e&&(e.oxp=-1!==s.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===s.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(s.replace(v,"")),e.oy=parseFloat(r.replace(v,""))),s+" "+r+(i.length>2?" "+i[2]:"")},ie=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},se=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},re=function(t,e,i,s){var r,n,a,o,l=1e-6;return null==t?o=e:"number"==typeof t?o=t:(r=360,n=t.split("_"),a=Number(n[0].replace(v,""))*(-1===t.indexOf("rad")?1:L)-("="===t.charAt(1)?0:e),n.length&&(s&&(s[i]=e+a),-1!==t.indexOf("short")&&(a%=r,a!==a%(r/2)&&(a=0>a?a+r:a-r)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*r)%r-(0|a/r)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(0|a/r)*r)),o=e+a),l>o&&o>-l&&(o=0),o},ne={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ae=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},oe=function(t){var e,i,s,r,n,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ne[t]?ne[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+e+e+i+i+s+s),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(d),r=Number(t[0])%360/360,n=Number(t[1])/100,a=Number(t[2])/100,i=.5>=a?a*(n+1):a+n-a*n,e=2*a-i,t.length>3&&(t[3]=Number(t[3])),t[0]=ae(r+1/3,e,i),t[1]=ae(r,e,i),t[2]=ae(r-1/3,e,i),t):(t=t.match(d)||ne.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):ne.black},le="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in ne)le+="|"+l+"\\b";le=RegExp(le+")","gi");var he=function(t,e,i,s){if(null==t)return function(t){return t};var r,n=e?(t.match(le)||[""])[0]:"",a=t.split(n).join("").match(g)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,_=u>0?a[0].replace(d,""):"";return u?r=e?function(t){var e,p,f,c;if("number"==typeof t)t+=_;else if(s&&D.test(t)){for(c=t.replace(D,"|").split("|"),f=0;c.length>f;f++)c[f]=r(c[f]);return c.join(",")}if(e=(t.match(le)||[n])[0],p=t.split(e).join("").match(g)||[],f=p.length,u>f--)for(;u>++f;)p[f]=i?p[0|(f-1)/2]:a[f];return o+p.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,p;if("number"==typeof t)t+=_;else if(s&&D.test(t)){for(n=t.replace(D,"|").split("|"),p=0;n.length>p;p++)n[p]=r(n[p]);return n.join(",")}if(e=t.match(g)||[],p=e.length,u>p--)for(;u>++p;)e[p]=i?e[0|(p-1)/2]:a[p];return o+e.join(h)+l}:function(t){return t}},ue=function(t){return t=t.split(","),function(e,i,s,r,n,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,o,n,a)}},_e=(E._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,r,n=this.data,a=n.proxy,o=n.firstMPT,l=1e-6;o;)e=a[o.v],o.r?e=e>0?0|e+.5:0|e-.5:l>e&&e>-l&&(e=0),o.t[o.p]=e,o=o._next;if(n.autoRotate&&(n.autoRotate.rotation=a.rotation),1===t)for(o=n.firstMPT;o;){if(i=o.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,s=1;i.l>s;s++)r+=i["xn"+s]+i["xs"+(s+1)];i.e=r}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&(s._prev=this,this._next=s)}),pe=(E._parseToProxy=function(t,e,i,s,r,n){var a,o,l,h,u,_=s,p={},f={},c=i._transform,d=N;for(i._transform=null,N=e,s=u=i.parse(t,e,s,r),N=d,n&&(i._transform=c,_&&(_._prev=null,_._prev&&(_._prev._next=null)));s&&s!==_;){if(1>=s.type&&(o=s.p,f[o]=s.s+s.c,p[o]=s.s,n||(h=new _e(s,"s",o,h,s.r),s.c=0),1===s.type))for(a=s.l;--a>0;)l="xn"+a,o=s.p+"_"+l,f[o]=s.data[l],p[o]=s[l],n||(h=new _e(s,l,o,h,s.rxp[l]));s=s._next}return{proxy:p,end:f,firstMPT:h,pt:u}},E.CSSPropTween=function(t,e,s,r,a,o,l,h,u,_,p){this.t=t,this.p=e,this.s=s,this.c=r,this.n=l||e,t instanceof pe||n.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===_?s:_,this.e=void 0===p?s+r:p,a&&(this._next=a,a._prev=this)}),fe=a.parseComplex=function(t,e,i,s,r,n,a,o,l,u){i=i||n||"",a=new pe(t,e,0,0,a,u?2:1,null,!1,o,i,s),s+="";var _,p,f,c,g,v,y,T,x,w,P,S,R=i.split(", ").join(",").split(" "),k=s.split(", ").join(",").split(" "),C=R.length,A=h!==!1;for((-1!==s.indexOf(",")||-1!==i.indexOf(","))&&(R=R.join(" ").replace(D,", ").split(" "),k=k.join(" ").replace(D,", ").split(" "),C=R.length),C!==k.length&&(R=(n||"").split(" "),C=R.length),a.plugin=l,a.setRatio=u,_=0;C>_;_++)if(c=R[_],g=k[_],T=parseFloat(c),T||0===T)a.appendXtra("",T,ie(g,T),g.replace(m,""),A&&-1!==g.indexOf("px"),!0);else if(r&&("#"===c.charAt(0)||ne[c]||b.test(c)))S=","===g.charAt(g.length-1)?"),":")",c=oe(c),g=oe(g),x=c.length+g.length>6,x&&!z&&0===g[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[_]).join("transparent")):(z||(x=!1),a.appendXtra(x?"rgba(":"rgb(",c[0],g[0]-c[0],",",!0,!0).appendXtra("",c[1],g[1]-c[1],",",!0).appendXtra("",c[2],g[2]-c[2],x?",":S,!0),x&&(c=4>c.length?1:c[3],a.appendXtra("",c,(4>g.length?1:g[3])-c,S,!1)));else if(v=c.match(d)){if(y=g.match(m),!y||y.length!==v.length)return a;for(f=0,p=0;v.length>p;p++)P=v[p],w=c.indexOf(P,f),a.appendXtra(c.substr(f,w-f),Number(P),ie(y[p],P),"",A&&"px"===c.substr(w+P.length,2),0===p),f=w+P.length;a["xs"+a.l]+=c.substr(f)}else a["xs"+a.l]+=a.l?" "+c:c;if(-1!==s.indexOf("=")&&a.data){for(S=a.xs0+a.data.s,_=1;a.l>_;_++)S+=a["xs"+_]+a.data["xn"+_];a.e=S+a["xs"+_]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},ce=9;for(l=pe.prototype,l.l=l.pr=0;--ce>0;)l["xn"+ce]=0,l["xs"+ce]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new pe(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(s||""),a)};var de=function(t,e){e=e||{},this.p=e.prefix?q(t)||t:t,o[t]=o[this.p]=this,this.format=e.formatter||he(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},me=E._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var s,r,n=t.split(","),a=e.defaultValue;for(i=i||[a],s=0;n.length>s;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||a,r=new de(n[s],e)},ge=function(t){if(!o[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";me(t,{parser:function(t,i,s,r,n,a,l){var h=(window.GreenSockGlobals||window).com.greensock.plugins[e];return h?(h._cssRegister(),o[s].parse(t,i,s,r,n,a,l)):(B("Error: "+e+" js file not loaded."),n)}})}};l=de.prototype,l.parseComplex=function(t,e,i,s,r,n){var a,o,l,h,u,_,p=this.keyword;if(this.multi&&(D.test(i)||D.test(e)?(o=e.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&(u=e.indexOf(p),_=i.indexOf(p),u!==_&&(i=-1===_?l:o,i[a]+=" "+p));e=o.join(", "),i=l.join(", ")}return fe(t,this.p,e,i,this.clrs,this.dflt,s,this.pr,r,n)},l.parse=function(t,e,i,s,n,a){return this.parseComplex(t.style,this.format(Q(t,this.p,r,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialProp=function(t,e,i){me(t,{parser:function(t,s,r,n,a,o){var l=new pe(t,r,0,0,a,2,r,!1,i);return l.plugin=o,l.setRatio=e(t,s,n._tween,r),l},priority:i})};var ve="scaleX,scaleY,scaleZ,x,y,z,skewX,rotation,rotationX,rotationY,perspective".split(","),ye=q("transform"),Te=j+"transform",xe=q("transformOrigin"),we=null!==q("perspective"),be=function(t,e,i,s){if(t._gsTransform&&i&&!s)return t._gsTransform;var r,n,o,l,h,u,_,p,f,c,d,m,g,v=i?t._gsTransform||{skewY:0}:{skewY:0},y=0>v.scaleX,T=2e-5,x=1e5,w=179.99,b=w*M,P=we?parseFloat(Q(t,xe,e,!1,"0 0 0").split(" ")[2])||v.zOrigin||0:0;for(ye?r=Q(t,Te,e,!0):t.currentStyle&&(r=t.currentStyle.filter.match(A),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),v.x||0,v.y||0].join(","):""),n=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],o=n.length;--o>-1;)l=Number(n[o]),n[o]=(h=l-(l|=0))?(0|h*x+(0>h?-.5:.5))/x+l:l;if(16===n.length){var S=n[8],R=n[9],k=n[10],C=n[12],O=n[13],D=n[14];if(v.zOrigin&&(D=-v.zOrigin,C=S*D-n[12],O=R*D-n[13],D=k*D+v.zOrigin-n[14]),!i||s||null==v.rotationX){var N,X,F,I,E,Y,z,U=n[0],B=n[1],j=n[2],V=n[3],q=n[4],W=n[5],Z=n[6],H=n[7],$=n[11],G=Math.atan2(Z,k),K=-b>G||G>b;v.rotationX=G*L,G&&(I=Math.cos(-G),E=Math.sin(-G),N=q*I+S*E,X=W*I+R*E,F=Z*I+k*E,S=q*-E+S*I,R=W*-E+R*I,k=Z*-E+k*I,$=H*-E+$*I,q=N,W=X,Z=F),G=Math.atan2(S,U),v.rotationY=G*L,G&&(Y=-b>G||G>b,I=Math.cos(-G),E=Math.sin(-G),N=U*I-S*E,X=B*I-R*E,F=j*I-k*E,R=B*E+R*I,k=j*E+k*I,$=V*E+$*I,U=N,B=X,j=F),G=Math.atan2(B,W),v.rotation=G*L,G&&(z=-b>G||G>b,I=Math.cos(-G),E=Math.sin(-G),U=U*I+q*E,X=B*I+W*E,W=B*-E+W*I,Z=j*-E+Z*I,B=X),z&&K?v.rotation=v.rotationX=0:z&&Y?v.rotation=v.rotationY=0:Y&&K&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(U*U+B*B)*x+.5)/x,v.scaleY=(0|Math.sqrt(W*W+R*R)*x+.5)/x,v.scaleZ=(0|Math.sqrt(Z*Z+k*k)*x+.5)/x,v.skewX=0,v.perspective=$?1/(0>$?-$:$):0,v.x=C,v.y=O,v.z=D}}else if(!(we&&!s&&n.length&&v.x===n[4]&&v.y===n[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===Q(t,"display",e))){var J=n.length>=6,te=J?n[0]:1,ee=n[1]||0,ie=n[2]||0,se=J?n[3]:1;v.x=n[4]||0,v.y=n[5]||0,u=Math.sqrt(te*te+ee*ee),_=Math.sqrt(se*se+ie*ie),p=te||ee?Math.atan2(ee,te)*L:v.rotation||0,f=ie||se?Math.atan2(ie,se)*L+p:v.skewX||0,c=u-Math.abs(v.scaleX||0),d=_-Math.abs(v.scaleY||0),Math.abs(f)>90&&270>Math.abs(f)&&(y?(u*=-1,f+=0>=p?180:-180,p+=0>=p?180:-180):(_*=-1,f+=0>=f?180:-180)),m=(p-v.rotation)%180,g=(f-v.skewX)%180,(void 0===v.skewX||c>T||-T>c||d>T||-T>d||m>-w&&w>m&&false|m*x||g>-w&&w>g&&false|g*x)&&(v.scaleX=u,v.scaleY=_,v.rotation=p,v.skewX=f),we&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(a.defaultTransformPerspective)||0,v.scaleZ=1)}v.zOrigin=P;for(o in v)T>v[o]&&v[o]>-T&&(v[o]=0);return i&&(t._gsTransform=v),v},Pe=function(t){var e,i,s=this.data,r=-s.rotation*M,n=r+s.skewX*M,a=1e5,o=(0|Math.cos(r)*s.scaleX*a)/a,l=(0|Math.sin(r)*s.scaleX*a)/a,h=(0|Math.sin(n)*-s.scaleY*a)/a,u=(0|Math.cos(n)*s.scaleY*a)/a,_=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-h,h=-i,e=p.filter,_.filter="";var f,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==p.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,w=s.x,b=s.y;if(null!=s.ox&&(f=(s.oxp?.01*m*s.ox:s.ox)-m/2,d=(s.oyp?.01*g*s.oy:s.oy)-g/2,w+=f-(f*o+d*l),b+=d-(f*h+d*u)),v?(f=m/2,d=g/2,x+=", Dx="+(f-(f*o+d*l)+w)+", Dy="+(d-(f*h+d*u)+b)+")"):x+=", sizingMethod='auto expand')",_.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(O,x):x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.indexOf("Dx=0, Dy=0")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf("gradient("&&e.indexOf("Alpha"))&&_.removeAttribute("filter")),!v){var P,S,R,k=8>c?1:-1;for(f=s.ieOffsetX||0,d=s.ieOffsetY||0,s.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),s.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),ce=0;4>ce;ce++)S=J[ce],P=p[S],i=-1!==P.indexOf("px")?parseFloat(P):Z(this.t,S,parseFloat(P),P.replace(y,""))||0,R=i!==s[S]?2>ce?-s.ieOffsetX:-s.ieOffsetY:2>ce?f-s.ieOffsetX:d-s.ieOffsetY,_[S]=(s[S]=Math.round(i-R*(0===ce||2===ce?1:k)))+"px"}}},Se=function(){var t,e,i,s,r,n,a,o,l,h,u,_,f,c,d,m,g,v,y,T,x,w,b,P,S,R,k=this.data,C=this.t.style,A=k.rotation*M,O=k.scaleX,D=k.scaleY,L=k.scaleZ,N=k.perspective;if(p&&(P=C.top?"top":C.bottom?"bottom":parseFloat(Q(this.t,"top",null,!1))?"bottom":"top",T=Q(this.t,P,null,!1),S=parseFloat(T)||0,R=T.substr((S+"").length)||"px",k._ffFix=!k._ffFix,C[P]=(k._ffFix?S+.05:S-.05)+R,S=1e-4,S>O&&O>-S&&(O=L=2e-5),S>D&&D>-S&&(D=L=2e-5)),A||k.skewX)v=Math.cos(A),y=Math.sin(A),t=v,r=y,k.skewX&&(A-=k.skewX*M,v=Math.cos(A),y=Math.sin(A)),e=-y,n=v;else{if(!(k.rotationY||k.rotationX||1!==L||N))return C[ye]="translate3d("+k.x+"px,"+k.y+"px,"+k.z+"px)"+(1!==O||1!==D?" scale("+O+","+D+")":""),void 0;t=n=1,e=r=0}u=1,i=s=a=o=l=h=_=f=c=0,d=N?-1/N:0,m=k.zOrigin,g=1e5,A=k.rotationY*M,A&&(v=Math.cos(A),y=Math.sin(A),l=u*-y,f=d*-y,i=t*y,a=r*y,u*=v,d*=v,t*=v,r*=v),A=k.rotationX*M,A&&(v=Math.cos(A),y=Math.sin(A),T=e*v+i*y,x=n*v+a*y,w=h*v+u*y,b=c*v+d*y,i=e*-y+i*v,a=n*-y+a*v,u=h*-y+u*v,d=c*-y+d*v,e=T,n=x,h=w,c=b),1!==L&&(i*=L,a*=L,u*=L,d*=L),1!==D&&(e*=D,n*=D,h*=D,c*=D),1!==O&&(t*=O,r*=O,l*=O,f*=O),m&&(_-=m,s=i*_,o=a*_,_=u*_+m),s=(T=(s+=k.x)-(s|=0))?(0|T*g+(0>T?-.5:.5))/g+s:s,o=(T=(o+=k.y)-(o|=0))?(0|T*g+(0>T?-.5:.5))/g+o:o,_=(T=(_+=k.z)-(_|=0))?(0|T*g+(0>T?-.5:.5))/g+_:_,C[ye]="matrix3d("+[(0|t*g)/g,(0|r*g)/g,(0|l*g)/g,(0|f*g)/g,(0|e*g)/g,(0|n*g)/g,(0|h*g)/g,(0|c*g)/g,(0|i*g)/g,(0|a*g)/g,(0|u*g)/g,(0|d*g)/g,s,o,_,N?1+-_/N:1].join(",")+")"},Re=function(){var t,e,i,s,r,n,a,o,l,h=this.data,u=this.t,_=u.style;p&&(t=_.top?"top":_.bottom?"bottom":parseFloat(Q(u,"top",null,!1))?"bottom":"top",e=Q(u,t,null,!1),i=parseFloat(e)||0,s=e.substr((i+"").length)||"px",h._ffFix=!h._ffFix,_[t]=(h._ffFix?i+.05:i-.05)+s),h.rotation||h.skewX?(r=h.rotation*M,n=r-h.skewX*M,a=1e5,o=h.scaleX*a,l=h.scaleY*a,_[ye]="matrix("+(0|Math.cos(r)*o)/a+","+(0|Math.sin(r)*o)/a+","+(0|Math.sin(n)*-l)/a+","+(0|Math.cos(n)*l)/a+","+h.x+","+h.y+")"):_[ye]="matrix("+h.scaleX+",0,0,"+h.scaleY+","+h.x+","+h.y+")"};me("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D",{parser:function(t,e,i,s,n,a,o){if(s._transform)return n;var l,h,u,_,p,f,c,d=s._transform=be(t,r,!0,o.parseTransform),m=t.style,g=1e-6,v=ve.length,y=o,T={};if("string"==typeof y.transform&&ye)u=m.cssText,m[ye]=y.transform,m.display="block",l=be(t,null,!1),m.cssText=u;else if("object"==typeof y){if(l={scaleX:se(null!=y.scaleX?y.scaleX:y.scale,d.scaleX),scaleY:se(null!=y.scaleY?y.scaleY:y.scale,d.scaleY),scaleZ:se(null!=y.scaleZ?y.scaleZ:y.scale,d.scaleZ),x:se(y.x,d.x),y:se(y.y,d.y),z:se(y.z,d.z),perspective:se(y.transformPerspective,d.perspective)},c=y.directionalRotation,null!=c)if("object"==typeof c)for(u in c)y[u]=c[u];else y.rotation=c;l.rotation=re("rotation"in y?y.rotation:"shortRotation"in y?y.shortRotation+"_short":"rotationZ"in y?y.rotationZ:d.rotation,d.rotation,"rotation",T),we&&(l.rotationX=re("rotationX"in y?y.rotationX:"shortRotationX"in y?y.shortRotationX+"_short":d.rotationX||0,d.rotationX,"rotationX",T),l.rotationY=re("rotationY"in y?y.rotationY:"shortRotationY"in y?y.shortRotationY+"_short":d.rotationY||0,d.rotationY,"rotationY",T)),l.skewX=null==y.skewX?d.skewX:re(y.skewX,d.skewX),l.skewY=null==y.skewY?d.skewY:re(y.skewY,d.skewY),(h=l.skewY-d.skewY)&&(l.skewX+=h,l.rotation+=h)}for(null!=y.force3D&&(d.force3D=y.force3D,f=!0),p=d.force3D||d.z||d.rotationX||d.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,p||null==y.scale||(l.scaleZ=1);--v>-1;)i=ve[v],_=l[i]-d[i],(_>g||-g>_||null!=N[i])&&(f=!0,n=new pe(d,i,d[i],_,n),i in T&&(n.e=T[i]),n.xs0=0,n.plugin=a,s._overwriteProps.push(n.n));return _=y.transformOrigin,(_||we&&p&&d.zOrigin)&&(ye?(f=!0,i=xe,_=(_||Q(t,i,r,!1,"50% 50%"))+"",n=new pe(m,i,0,0,n,-1,"transformOrigin"),n.b=m[i],n.plugin=a,we?(u=d.zOrigin,_=_.split(" "),d.zOrigin=(_.length>2&&(0===u||"0px"!==_[2])?parseFloat(_[2]):u)||0,n.xs0=n.e=m[i]=_[0]+" "+(_[1]||"50%")+" 0px",n=new pe(d,"zOrigin",0,0,n,-1,n.n),n.b=u,n.xs0=n.e=d.zOrigin):n.xs0=n.e=m[i]=_):ee(_+"",d)),f&&(s._transformType=p||3===this._transformType?3:2),n},prefix:!0}),me("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),me("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,a){e=this.format(e);var o,l,h,u,_,p,f,c,d,m,g,v,y,T,x,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],P=t.style;for(d=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),o=e.split(" "),l=0;b.length>l;l++)this.p.indexOf("border")&&(b[l]=q(b[l])),_=u=Q(t,b[l],r,!1,"0px"),-1!==_.indexOf(" ")&&(u=_.split(" "),_=u[0],u=u[1]),p=h=o[l],f=parseFloat(_),v=_.substr((f+"").length),y="="===p.charAt(1),y?(c=parseInt(p.charAt(0)+"1",10),p=p.substr(2),c*=parseFloat(p),g=p.substr((c+"").length-(0>c?1:0))||""):(c=parseFloat(p),g=p.substr((c+"").length)),""===g&&(g=s[i]||v),g!==v&&(T=Z(t,"borderLeft",f,v),x=Z(t,"borderTop",f,v),"%"===g?(_=100*(T/d)+"%",u=100*(x/m)+"%"):"em"===g?(w=Z(t,"borderLeft",1,"em"),_=T/w+"em",u=x/w+"em"):(_=T+"px",u=x+"px"),y&&(p=parseFloat(_)+c+g,h=parseFloat(u)+c+g)),a=fe(P,b[l],_+" "+u,p+" "+h,!1,"0px",a);return a},prefix:!0,formatter:he("0px 0px 0px 0px",!1,!0)}),me("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,s,n,a){var o,l,h,u,_,p,f="background-position",d=r||W(t,null),m=this.format((d?c?d.getPropertyValue(f+"-x")+" "+d.getPropertyValue(f+"-y"):d.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&(p=Q(t,"backgroundImage").replace(R,""),p&&"none"!==p)){for(o=m.split(" "),l=g.split(" "),I.setAttribute("src",p),h=2;--h>-1;)m=o[h],u=-1!==m.indexOf("%"),u!==(-1!==l[h].indexOf("%"))&&(_=0===h?t.offsetWidth-I.width:t.offsetHeight-I.height,o[h]=u?parseFloat(m)/100*_+"px":100*(parseFloat(m)/_)+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,n,a)},formatter:ee}),me("backgroundSize",{defaultValue:"0 0",formatter:ee}),me("perspective",{defaultValue:"0px",prefix:!0}),me("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),me("transformStyle",{prefix:!0}),me("backfaceVisibility",{prefix:!0}),me("userSelect",{prefix:!0}),me("margin",{parser:ue("marginTop,marginRight,marginBottom,marginLeft")}),me("padding",{parser:ue("paddingTop,paddingRight,paddingBottom,paddingLeft")}),me("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,n,a){var o,l,h;return 9>c?(l=t.currentStyle,h=8>c?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(Q(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),me("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),me("autoRound,strictUnits",{parser:function(t,e,i,s,r){return r}}),me("border",{defaultValue:"0px solid #000",parser:function(t,e,i,s,n,a){return this.parseComplex(t.style,this.format(Q(t,"borderTopWidth",r,!1,"0px")+" "+Q(t,"borderTopStyle",r,!1,"solid")+" "+Q(t,"borderTopColor",r,!1,"#000")),this.format(e),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(le)||["#000"])[0]}}),me("float,cssFloat,styleFloat",{parser:function(t,e,i,s,r){var n=t.style,a="cssFloat"in n?"cssFloat":"styleFloat";return new pe(n,a,0,0,r,-1,i,!1,0,n[a],e)}});var ke=function(t){var e,i=this.t,s=i.filter||Q(this.data,"filter"),r=0|this.s+this.c*t;100===r&&(-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),e=!Q(this.data,"filter")):(i.filter=s.replace(w,""),e=!0)),e||(this.xn1&&(i.filter=s=s||"alpha(opacity="+r+")"),-1===s.indexOf("opacity")?0===r&&this.xn1||(i.filter=s+" alpha(opacity="+r+")"):i.filter=s.replace(T,"opacity="+r))};me("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,s,n,a){var o=parseFloat(Q(t,"opacity",r,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===Q(t,"visibility",r)&&0!==e&&(o=0),z?n=new pe(l,"opacity",o,e-o,n):(n=new pe(l,"opacity",100*o,100*(e-o),n),n.xn1=h?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=ke),h&&(n=new pe(l,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),n.xs0="inherit",s._overwriteProps.push(n.n),s._overwriteProps.push(i)),n}});var Ce=function(t,e){e&&(t.removeProperty?t.removeProperty(e.replace(P,"-$1").toLowerCase()):t.removeAttribute(e))},Ae=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.className=0===t?this.b:this.e;for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ce(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)};me("className",{parser:function(t,e,s,n,a,o,l){var h,u,_,p,f,c=t.className,d=t.style.cssText;if(a=n._classNamePT=new pe(t,s,0,0,a,2),a.setRatio=Ae,a.pr=-11,i=!0,a.b=c,u=$(t,r),_=t._gsClassPT){for(p={},f=_.data;f;)p[f.p]=1,f=f._next;_.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:c.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),n._tween._duration&&(t.className=a.e,h=G(t,u,$(t),l,p),t.className=c,a.data=h.firstMPT,t.style.cssText=d,a=a.xfirst=n.parse(t,h.difs,a,o)),a}});var Oe=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,s,r,n=this.t.style,a=o.transform.parse;if("all"===this.e)n.cssText="",r=!0;else for(e=this.e.split(","),s=e.length;--s>-1;)i=e[s],o[i]&&(o[i].parse===a?r=!0:i="transformOrigin"===i?xe:o[i].p),Ce(n,i);r&&(Ce(n,ye),this.t._gsTransform&&delete this.t._gsTransform)}};for(me("clearProps",{parser:function(t,e,s,r,n){return n=new pe(t,s,0,0,n,2),n.setRatio=Oe,n.e=e,n.pr=-10,n.data=r._tween,i=!0,n}}),l="bezier,throwProps,physicsProps,physics2D".split(","),ce=l.length;ce--;)ge(l[ce]);l=a.prototype,l._firstPT=null,l._onInitTween=function(t,e,o){if(!t.nodeType)return!1;this._target=t,this._tween=o,this._vars=e,h=e.autoRound,i=!1,s=e.suffixMap||a.suffixMap,r=W(t,""),n=this._overwriteProps;var l,p,c,d,m,g,v,y,T,w=t.style;if(u&&""===w.zIndex&&(l=Q(t,"zIndex",r),("auto"===l||""===l)&&(w.zIndex=0)),"string"==typeof e&&(d=w.cssText,l=$(t,r),w.cssText=d+";"+e,l=G(t,l,$(t)).difs,!z&&x.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=d),this._firstPT=p=this.parse(t,e,null),this._transformType){for(T=3===this._transformType,ye?_&&(u=!0,""===w.zIndex&&(v=Q(t,"zIndex",r),("auto"===v||""===v)&&(w.zIndex=0)),f&&(w.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):w.zoom=1,c=p;c&&c._next;)c=c._next;y=new pe(t,"transform",0,0,null,2),this._linkCSSP(y,null,c),y.setRatio=T&&we?Se:ye?Re:Pe,y.data=this._transform||be(t,r,!0),n.pop()}if(i){for(;p;){for(g=p._next,c=d;c&&c.pr>p.pr;)c=c._next;(p._prev=c?c._prev:m)?p._prev._next=p:d=p,(p._next=c)?c._prev=p:m=p,p=g}this._firstPT=d}return!0},l.parse=function(t,e,i,n){var a,l,u,_,p,f,c,d,m,g,v=t.style;for(a in e)f=e[a],l=o[a],l?i=l.parse(t,f,a,this,i,n,e):(p=Q(t,a,r)+"",m="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&b.test(f)?(m||(f=oe(f),f=(f.length>3?"rgba(":"rgb(")+f.join(",")+")"),i=fe(v,a,p,f,!0,"transparent",i,0,n)):!m||-1===f.indexOf(" ")&&-1===f.indexOf(",")?(u=parseFloat(p),c=u||0===u?p.substr((u+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(u=te(t,a,r),c="px"):"left"===a||"top"===a?(u=H(t,a,r),c="px"):(u="opacity"!==a?0:1,c="")),g=m&&"="===f.charAt(1),g?(_=parseInt(f.charAt(0)+"1",10),f=f.substr(2),_*=parseFloat(f),d=f.replace(y,"")):(_=parseFloat(f),d=m?f.substr((_+"").length)||"":""),""===d&&(d=s[a]||c),f=_||0===_?(g?_+u:_)+d:e[a],c!==d&&""!==d&&(_||0===_)&&(u||0===u)&&(u=Z(t,a,u,c),"%"===d?(u/=Z(t,a,100,"%")/100,u>100&&(u=100),e.strictUnits!==!0&&(p=u+"%")):"em"===d?u/=Z(t,a,1,"em"):(_=Z(t,a,_,d),d="px"),g&&(_||0===_)&&(f=_+u+d)),g&&(_+=u),!u&&0!==u||!_&&0!==_?void 0!==v[a]&&(f||"NaN"!=f+""&&null!=f)?(i=new pe(v,a,_||u||0,0,i,-1,a,!1,0,p,f),i.xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:p):B("invalid "+a+" tween value: "+e[a]):(i=new pe(v,a,u,_-u,i,0,a,h!==!1&&("px"===d||"zIndex"===a),0,p,f),i.xs0=d)):i=fe(v,a,p,f,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.plugin=n);return i},l.setRatio=function(t){var e,i,s,r=this._firstPT,n=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=e>0?0|e+.5:0|e-.5:n>e&&e>-n&&(e=0),r.type)if(1===r.type)if(s=r.l,2===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,s=1;r.l>s;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},l._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||be(this._target,r,!0)},l._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},l._kill=function(e){var i,s,r,n=e;if(e.autoAlpha||e.alpha){n={};for(s in e)n[s]=e[s];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return e.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),t.prototype._kill.call(this,n)};var De=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;--r>-1;)De(t[r],e,i);else for(s=t.childNodes,r=s.length;--r>-1;)n=s[r],a=n.type,n.style&&(e.push($(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||De(n,e,i)};return a.cascadeTo=function(t,i,s){var r,n,a,o=e.to(t,i,s),l=[o],h=[],u=[],_=[],p=e._internals.reservedProps;for(t=o._targets||o.target,De(t,h,_),o.render(i,!0),De(t,u),o.render(0,!0),o._enabled(!0),r=_.length;--r>-1;)if(n=G(_[r],h[r],u[r]),n.firstMPT){n=n.difs;for(a in s)p[a]&&(n[a]=s[a]);l.push(e.to(_[r],i,n))}return l},t.activate([a]),a},!0)}),window._gsDefine&&window._gsQueue.pop()();

// WAIT FOR IMAGES /*

* waitForImages 1.4
* -----------------
* Provides a callback when all images have loaded in your given selector.
* http://www.alexanderdickson.com/
*
*
* Copyright (c) 2011 Alex Dickson
* Licensed under the MIT licenses.
* See website for more info.
*
*/

(function(e,t){ e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})}; e.fn.swipe=function(t){if(!this)return false;var n={fingers:1,threshold:75,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,click:null,triggerOnTouchEnd:true,allowPageScroll:"auto"};var r="left";var i="right";var s="up";var o="down";var u="none";var f="horizontal";var l="vertical";var c="auto";var h="start";var p="move";var d="end";var v="cancel";var m="ontouchstart"in window,g=m?"touchstart":"mousedown",y=m?"touchmove":"mousemove",b=m?"touchend":"mouseup",w="touchcancel";var E="start";if(t.allowPageScroll==undefined&&(t.swipe!=undefined||t.swipeStatus!=undefined))t.allowPageScroll=u;if(t)e.extend(n,t);return this.each(function(){function t(){var e=S();if(e<=45&&e>=0)return r;else if(e<=360&&e>=315)return r;else if(e>=135&&e<=225)return i;else if(e>45&&e<135)return o;else return s}function S(){var e=H.x-B.x;var t=B.y-H.y;var n=Math.atan2(t,e);var r=Math.round(n*180/Math.PI);if(r<0)r=360-Math.abs(r);return r}function x(){return Math.round(Math.sqrt(Math.pow(B.x-H.x,2)+Math.pow(B.y-H.y,2)))}function T(e,t){if(n.allowPageScroll==u){e.preventDefault()}else{var a=n.allowPageScroll==c;switch(t){case r:if(n.swipeLeft&&a||!a&&n.allowPageScroll!=f)e.preventDefault();break;case i:if(n.swipeRight&&a||!a&&n.allowPageScroll!=f)e.preventDefault();break;case s:if(n.swipeUp&&a||!a&&n.allowPageScroll!=l)e.preventDefault();break;case o:if(n.swipeDown&&a||!a&&n.allowPageScroll!=l)e.preventDefault();break}}}function N(e,t){if(n.swipeStatus)n.swipeStatus.call(_,e,t,direction||null,distance||0);if(t==v){if(n.click&&(P==1||!m)&&(isNaN(distance)||distance==0))n.click.call(_,e,e.target)}if(t==d){if(n.swipe){n.swipe.call(_,e,direction,distance)}switch(direction){case r:if(n.swipeLeft)n.swipeLeft.call(_,e,direction,distance);break;case i:if(n.swipeRight)n.swipeRight.call(_,e,direction,distance);break;case s:if(n.swipeUp)n.swipeUp.call(_,e,direction,distance);break;case o:if(n.swipeDown)n.swipeDown.call(_,e,direction,distance);break}}}function C(e){P=0;H.x=0;H.y=0;B.x=0;B.y=0;F.x=0;F.y=0}function L(e){e.preventDefault();distance=x();direction=t();if(n.triggerOnTouchEnd){E=d;if((P==n.fingers||!m)&&B.x!=0){if(distance>=n.threshold){N(e,E);C(e)}else{E=v;N(e,E);C(e)}}else{E=v;N(e,E);C(e)}}else if(E==p){E=v;N(e,E);C(e)}M.removeEventListener(y,A,false);M.removeEventListener(b,L,false)}function A(e){if(E==d||E==v)return;var r=m?e.touches[0]:e;B.x=r.pageX;B.y=r.pageY;direction=t();if(m){P=e.touches.length}E=p;T(e,direction);if(P==n.fingers||!m){distance=x();if(n.swipeStatus)N(e,E,direction,distance);if(!n.triggerOnTouchEnd){if(distance>=n.threshold){E=d;N(e,E);C(e)}}}else{E=v;N(e,E);C(e)}}function O(e){var t=m?e.touches[0]:e;E=h;if(m){P=e.touches.length}distance=0;direction=null;if(P==n.fingers||!m){H.x=B.x=t.pageX;H.y=B.y=t.pageY;if(n.swipeStatus)N(e,E)}else{C(e)}M.addEventListener(y,A,false);M.addEventListener(b,L,false)}var M=this;var _=e(this);var D=null;var P=0;var H={x:0,y:0};var B={x:0,y:0};var F={x:0,y:0};try{this.addEventListener(g,O,false);this.addEventListener(w,C)}catch(I){}})} })(jQuery)


/**************************************************************************

* jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider
* @version: 4.1.1 (02.12.2013)
* @requires jQuery v1.7 or later (tested on 1.9)
* @author ThemePunch
                                                                                                                                                    • /
function revslider_showDoubleJqueryError(e){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="
This includes make eliminates the revolution slider libraries, and make it not work.";t+="

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: <b>Put JS Includes To Body</b> option to true.";t+="
    2. Find the double jquery.js include and remove it.";t=""+t+"";jQuery(e).show().html(t)}(function(e,t){function n(e){var t=[],n;var r=window.location.href.slice(window.location.href.indexOf(e)+1).split("_");for(var i=0;i<r.length;i++){r[i]=r[i].replace("%3D","=");n=r[i].split("=");t.push(n[0]);t[n[0]]=n[1]}return t}function r(n,r){try{if(r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"){if(r.hideThumbsUnderResoluition>e(window).width())e(".tp-bullets").css({display:"none"});else e(".tp-bullets").css({display:"block"})}}catch(i){}n.find(".defaultimg").each(function(t){b(e(this),r)});var s=0;if(r.forceFullWidth=="on")s=0-r.container.parent().offset().left;try{n.parent().find(".tp-bannershadow").css({width:r.width,left:s})}catch(i){}var o=n.find(">ul >li:eq("+r.act+") .slotholder");var a=n.find(">ul >li:eq("+r.next+") .slotholder");T(n,r);a.find(".defaultimg").css({opacity:0});o.find(".defaultimg").css({opacity:1});a.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t)n.data("kenburn").restart()});var f=n.find(">ul >li:eq("+r.next+")");q(f,r,true);u(r,n);y(n,r)}function s(){var e=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"];var t=false;for(i in e){if(navigator.userAgent.split(e[i]).length>1){t=true}}return t}function o(t,n){var r=e('<div style="display:none;"/>').appendTo(e("body"));r.html("");var i=r.find("a").length;r.remove();return i}function u(e,t){e.cd=0;if(e.videoplaying!=true){var n=t.find(".tp-bannertimer");if(n.length>0){n.stop();n.css({width:"0%"});n.animate({width:"100%"},{duration:e.delay-100,queue:false,easing:"linear"})}clearTimeout(e.thumbtimer);e.thumbtimer=setTimeout(function(){c(t);y(t,e)},200)}}function a(e,t){e.cd=0;var n=t.find(".tp-bannertimer");if(n.length>0){n.stop(true,true);n.css({width:"0%"})}clearTimeout(e.thumbtimer)}function f(e,t){e.cd=0;N(t,e);var n=t.find(".tp-bannertimer");if(n.length>0){n.stop();n.css({width:"0%"});if(e.videoplaying!=true)n.animate({width:"100%"},{duration:e.delay-100,queue:false,easing:"linear"})}}function l(n,r){var i=n.parent();if(r.navigationType=="thumb"||r.navsecond=="both"){i.append('
')}var s=i.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");var o=s.parent();o.width(r.thumbWidth*r.thumbAmount);o.height(r.thumbHeight);o.parent().width(r.thumbWidth*r.thumbAmount);o.parent().height(r.thumbHeight);n.find(">ul:first >li").each(function(e){var i=n.find(">ul:first >li:eq("+e+")");if(i.data("thumb")!=t)var o=i.data("thumb");else var o=i.find("img:first").attr("src");s.append('
<img src="'+o+'">
');var u=s.find(".bullet:first")});var u=10;s.find(".bullet").each(function(t){var i=e(this);if(t==r.slideamount-1)i.addClass("last");if(t==0)i.addClass("first");i.width(r.thumbWidth);i.height(r.thumbHeight);if(uul:first >li").length;var l=s.parent().width();r.thumbWidth=u;if(l<a){e(document).mousemove(function(t){e("body").data("mousex",t.pageX)});s.parent().mouseenter(function(){var t=e(this);t.addClass("over");var r=t.offset();var i=e("body").data("mousex")-r.left;var s=t.width();var o=t.find(".bullet:first").outerWidth(true);var u=o*n.find(">ul:first >li").length;var a=u-s+15;var f=a/s;i=i-30;var l=0-i*f;if(l>0)l=0;if(l<0-u+s)l=0-u+s;h(t,l,200)});s.parent().mousemove(function(){var t=e(this);var r=t.offset();var i=e("body").data("mousex")-r.left;var s=t.width();var o=t.find(".bullet:first").outerWidth(true);var u=o*n.find(">ul:first >li").length-1;var a=u-s+15;var f=a/s;i=i-3;if(i<6)i=0;if(i+3>s-6)i=s;var l=0-i*f;if(l>0)l=0;if(l<0-u+s)l=0-u+s;h(t,l,0)});s.parent().mouseleave(function(){var t=e(this);t.removeClass("over");c(n)})}}function c(e){var t=e.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");var n=t.parent();var r=n.offset();var i=n.find(".bullet:first").outerWidth(true);var s=n.find(".bullet.selected").index()*i;var o=n.width();var i=n.find(".bullet:first").outerWidth(true);var u=i*e.find(">ul:first >li").length;var a=u-o;var f=a/o;var l=0-s;if(l>0)l=0;if(l<0-u+o)l=0-u+o;if(!n.hasClass("over")){h(n,l,200)}}function h(e,t,n){TweenLite.to(e.find(".tp-thumbcontainer"),.2,{left:t,ease:Power3.easeOut,overwrite:"auto"})}function p(t,n){if(n.navigationType=="bullet"||n.navigationType=="both"){t.parent().append('
')}var r=t.parent().find(".tp-bullets");t.find(">ul:first >li").each(function(e){var n=t.find(">ul:first >li:eq("+e+") img:first").attr("src");r.append('
');var i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var i=e(this);if(r==n.slideamount-1)i.addClass("last");if(r==0)i.addClass("first");i.click(function(){var e=false;if(n.navigationArrows=="withbullet"||n.navigationArrows=="nexttobullets"){if(i.index()-1==n.act)e=true}else{if(i.index()==n.act)e=true}if(n.transition==0&&!e){if(n.navigationArrows=="withbullet"||n.navigationArrows=="nexttobullets"){n.next=i.index()-1}else{n.next=i.index()}f(n,t)}})});r.append('
');y(t,n)}function d(e,n){var r=e.find(".tp-bullets");var i="";var s=n.navigationStyle;if(n.navigationArrows=="none")i="visibility:hidden;display:none";n.soloArrowStyle="default";if(n.navigationArrows!="none"&&n.navigationArrows!="nexttobullets")s=n.soloArrowStyle;e.parent().append('
');e.parent().append('
');e.parent().find(".tp-rightarrow").click(function(){if(n.transition==0){if(e.data("showus")!=t&&e.data("showus")!=-1)n.next=e.data("showus")-1;else n.next=n.next+1;e.data("showus",-1);if(n.next>=n.slideamount)n.next=0;if(n.next<0)n.next=0;if(n.act!=n.next)f(n,e)}});e.parent().find(".tp-leftarrow").click(function(){if(n.transition==0){n.next=n.next-1;n.leftarrowpressed=1;if(n.next<0)n.next=n.slideamount-1;f(n,e)}});y(e,n)}function v(n,r){e(document).keydown(function(e){if(r.transition==0&&e.keyCode==39){if(n.data("showus")!=t&&n.data("showus")!=-1)r.next=n.data("showus")-1;else r.next=r.next+1;n.data("showus",-1);if(r.next>=r.slideamount)r.next=0;if(r.next<0)r.next=0;if(r.act!=r.next)f(r,n)}if(r.transition==0&&e.keyCode==37){r.next=r.next-1;r.leftarrowpressed=1;if(r.next<0)r.next=r.slideamount-1;f(r,n)}});y(n,r)}function m(e,t){if(t.touchenabled=="on")e.swipe({data:e,swipeRight:function(){if(t.transition==0){t.next=t.next-1;t.leftarrowpressed=1;if(t.next<0)t.next=t.slideamount-1;f(t,e)}},swipeLeft:function(){if(t.transition==0){t.next=t.next+1;if(t.next==t.slideamount)t.next=0;f(t,e)}},allowPageScroll:"auto"})}function g(e,t){var n=e.parent().find(".tp-bullets");var r=e.parent().find(".tparrows");if(n==null){e.append('
');var n=e.parent().find(".tp-bullets")}if(r==null){e.append('
');var r=e.parent().find(".tparrows")}e.data("hidethumbs",t.hideThumbs);n.addClass("hidebullets");r.addClass("hidearrows");n.hover(function(){n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){n.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))});r.hover(function(){n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){n.removeClass("hovered")});e.on("mouseenter",function(){e.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")});e.on("mouseleave",function(){e.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))})}function y(t,n){var r=t.parent();var i=r.find(".tp-bullets");if(n.navigationType=="thumb"){i.find(".thumb").each(function(t){var r=e(this);r.css({width:n.thumbWidth*n.bw+"px",height:n.thumbHeight*n.bh+"px"})});var s=i.find(".tp-mask");s.width(n.thumbWidth*n.thumbAmount*n.bw);s.height(n.thumbHeight*n.bh);s.parent().width(n.thumbWidth*n.thumbAmount*n.bw);s.parent().height(n.thumbHeight*n.bh)}var o=r.find(".tp-leftarrow");var u=r.find(".tp-rightarrow");if(n.navigationType=="thumb"&&n.navigationArrows=="nexttobullets")n.navigationArrows="solo";if(n.navigationArrows=="nexttobullets"){o.prependTo(i).css({"float":"left"});u.insertBefore(i.find(".tpclear")).css({"float":"left"})}var a=0;if(n.forceFullWidth=="on")a=0-n.container.parent().offset().left;if(n.navigationArrows!="none"&&n.navigationArrows!="nexttobullets"){o.css({position:"absolute"});u.css({position:"absolute"});if(n.soloArrowLeftValign=="center")o.css({top:"50%",marginTop:n.soloArrowLeftVOffset-Math.round(o.innerHeight()/2)+"px"});if(n.soloArrowLeftValign=="bottom")o.css({top:"auto",bottom:0+n.soloArrowLeftVOffset+"px"});if(n.soloArrowLeftValign=="top")o.css({bottom:"auto",top:0+n.soloArrowLeftVOffset+"px"});if(n.soloArrowLeftHalign=="center")o.css({left:"50%",marginLeft:a+n.soloArrowLeftHOffset-Math.round(o.innerWidth()/2)+"px"});if(n.soloArrowLeftHalign=="left")o.css({left:0+n.soloArrowLeftHOffset+a+"px"});if(n.soloArrowLeftHalign=="right")o.css({right:0+n.soloArrowLeftHOffset-a+"px"});if(n.soloArrowRightValign=="center")u.css({top:"50%",marginTop:n.soloArrowRightVOffset-Math.round(u.innerHeight()/2)+"px"});if(n.soloArrowRightValign=="bottom")u.css({top:"auto",bottom:0+n.soloArrowRightVOffset+"px"});if(n.soloArrowRightValign=="top")u.css({bottom:"auto",top:0+n.soloArrowRightVOffset+"px"});if(n.soloArrowRightHalign=="center")u.css({left:"50%",marginLeft:a+n.soloArrowRightHOffset-Math.round(u.innerWidth()/2)+"px"});if(n.soloArrowRightHalign=="left")u.css({left:0+n.soloArrowRightHOffset+a+"px"});if(n.soloArrowRightHalign=="right")u.css({right:0+n.soloArrowRightHOffset-a+"px"});if(o.position()!=null)o.css({top:Math.round(parseInt(o.position().top,0))+"px"});if(u.position()!=null)u.css({top:Math.round(parseInt(u.position().top,0))+"px"})}if(n.navigationArrows=="none"){o.css({visibility:"hidden"});u.css({visibility:"hidden"})}if(n.navigationVAlign=="center")i.css({top:"50%",marginTop:n.navigationVOffset-Math.round(i.innerHeight()/2)+"px"});if(n.navigationVAlign=="bottom")i.css({bottom:0+n.navigationVOffset+"px"});if(n.navigationVAlign=="top")i.css({top:0+n.navigationVOffset+"px"});if(n.navigationHAlign=="center")i.css({left:"50%",marginLeft:a+n.navigationHOffset-Math.round(i.innerWidth()/2)+"px"});if(n.navigationHAlign=="left")i.css({left:0+n.navigationHOffset+a+"px"});if(n.navigationHAlign=="right")i.css({right:0+n.navigationHOffset-a+"px"})}function b(n,r){r.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:r.container.height()});r.container.closest(".rev_slider_wrapper").css({height:r.container.height()});r.width=parseInt(r.container.width(),0);r.height=parseInt(r.container.height(),0);r.bw=r.width/r.startwidth;r.bh=r.height/r.startheight;if(r.bh>r.bw)r.bh=r.bw;if(r.bh<r.bw)r.bw=r.bh;if(r.bw<r.bh)r.bh=r.bw;if(r.bh>1){r.bw=1;r.bh=1}if(r.bw>1){r.bw=1;r.bh=1}r.height=Math.round(r.startheight*(r.width/r.startwidth));if(r.height>r.startheight&&r.autoHeight!="on")r.height=r.startheight;if(r.fullScreen=="on"){r.height=r.bw*r.startheight;var i=r.container.parent().width();var s=e(window).height();if(r.fullScreenOffsetContainer!=t){try{var o=r.fullScreenOffsetContainer.split(",");e.each(o,function(t,n){s=s-e(n).outerHeight(true);if(s<r.minFullScreenHeight)s=r.minFullScreenHeight})}catch(u){}}r.container.parent().height(s);r.container.css({height:"100%"});r.height=s}else{r.container.height(r.height)}r.slotw=Math.ceil(r.width/r.slots);if(r.fullSreen=="on")r.sloth=Math.ceil(e(window).height()/r.slots);else r.sloth=Math.ceil(r.height/r.slots);if(r.autoHeight=="on")r.sloth=Math.ceil(n.height()/r.slots)}function w(n,r){n.find(".tp-caption").each(function(){e(this).addClass(e(this).data("transition"));e(this).addClass("start")});n.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:n.parent().css("maxHeight")});if(r.autoHeight=="on"){n.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"});n.css({maxHeight:"none"});n.parent().css({maxHeight:"none"})}n.find(">ul:first >li").each(function(n){var r=e(this);r.css({width:"100%",height:"100%",overflow:"hidden"});if(r.data("link")!=t){var i=r.data("link");var s="_self";var o=2;if(r.data("slideindex")=="back")o=0;var u=r.data("linktoslide");if(r.data("target")!=t)s=r.data("target");if(i=="slide"){r.append('')}else{u="no";r.append('')}}});n.parent().css({overflow:"visible"});n.find(">ul:first >li >img").each(function(n){var i=e(this);i.addClass("defaultimg");if(i.data("lazyload")!=t&&i.data("lazydone")!=1){}else{b(i,r)}i.wrap('
");if(r.dottedOverlay!="none"&&r.dottedOverlay!=t)i.closest(".slotholder").append('
');var s=i.attr("src");var u=i.data("lazyload");var a=i.data("bgfit");var f=i.data("bgrepeat");var l=i.data("bgposition");if(a==t)a="cover";if(f==t)f="no-repeat";if(l==t)l="center center";var c=i.closest(".slotholder");i.replaceWith('
');if(o(8)){c.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"});c.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+s+'" style="width:100%">')}i.css({opacity:0});i.data("li-id",n)})}function E(e,n,r,i){var s=e;var u=s.find(".defaultimg");var a=s.data("zoomstart");var f=s.data("rotationstart");if(u.data("currotate")!=t)f=u.data("currotate");if(u.data("curscale")!=t)a=u.data("curscale");b(u,n);var l=u.data("src");var c=u.css("background-color");var h=n.width;var p=n.height;if(n.autoHeight=="on")p=n.container.height();var d=u.data("fxof");if(d==t)d=0;fullyoff=0;var v=0;var m=u.data("bgfit");var g=u.data("bgrepeat");var y=u.data("bgposition");if(m==t)m="cover";if(g==t)g="no-repeat";if(y==t)y="center center";if(s.data("kenburns")=="on"){m=a;if(m.toString().length<4)m=A(m,s,n)}if(o(8)){var w=l;l=""}if(i=="horizontal"){if(!r)var v=0-n.slotw;for(var E=0;E<n.slots;E++){s.append('
'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+w+'" style="width:100%">');x(s,n)}}}else{if(!r)var v=0-n.sloth;for(var E=0;E<n.slots+2;E++){s.append('
'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+w+'" style="width:100%">');x(s,n)}}}}function S(e,n,r){var i=e;var s=i.find(".defaultimg");var u=i.data("zoomstart");var a=i.data("rotationstart");if(s.data("currotate")!=t)a=s.data("currotate");if(s.data("curscale")!=t)u=s.data("curscale")*100;b(s,n);var f=s.data("src");var l=s.css("backgroundColor");var c=n.width;var h=n.height;if(n.autoHeight=="on")h=n.container.height();var p=s.data("fxof");if(p==t)p=0;fullyoff=0;var d=0;if(o(8)){var v=f;f=""}var m=0;if(n.sloth>n.slotw)m=n.sloth;else m=n.slotw;if(!r){var d=0-m}n.slotw=m;n.sloth=m;var g=0;var y=0;var w=s.data("bgfit");var E=s.data("bgrepeat");var S=s.data("bgposition");if(w==t)w="cover";if(E==t)E="no-repeat";if(S==t)S="center center";if(i.data("kenburns")=="on"){w=u;if(w.toString().length<4)w=A(w,i,n)}for(var T=0;T<n.slots;T++){y=0;for(var N=0;N<n.slots;N++){i.append('
'+'
'+'
'+"
");y=y+m;if(o(8)){i.find(".slot ").last().find(".slotslide").append('<img src="'+v+'">');x(i,n)}if(u!=t&&a!=t)TweenLite.set(i.find(".slot").last(),{rotationZ:a})}g=g+m}}function x(e,t){if(o(8)){var n=e.find(".ieeightfallbackimage");if(t.startwidth/t.startheight<e.data("owidth")/e.data("oheight"))n.css({width:"auto",height:"100%"});else n.css({width:"100%",height:"auto"});var r=n.width(),i=n.height();if(e.data("bgposition")=="center center")n.css({position:"absolute",top:t.height/2-i/2+"px",left:t.width/2-r/2+"px"});if(e.data("bgposition")=="center top"||e.data("bgposition")=="top center")n.css({position:"absolute",top:"0px",left:t.width/2-r/2+"px"});if(e.data("bgposition")=="center bottom"||e.data("bgposition")=="bottom center")n.css({position:"absolute",bottom:"0px",left:t.width/2-r/2+"px"});if(e.data("bgposition")=="right top"||e.data("bgposition")=="top right")n.css({position:"absolute",top:"0px",right:"0px"});if(e.data("bgposition")=="right bottom"||e.data("bgposition")=="bottom right")n.css({position:"absolute",bottom:"0px",right:"0px"});if(e.data("bgposition")=="right center"||e.data("bgposition")=="center right")n.css({position:"absolute",top:t.height/2-i/2+"px",right:"0px"});if(e.data("bgposition")=="left bottom"||e.data("bgposition")=="bottom left")n.css({position:"absolute",bottom:"0px",left:"0px"});if(e.data("bgposition")=="left center"||e.data("bgposition")=="center left")n.css({position:"absolute",top:t.height/2-i/2+"px",left:"0px"})}}function T(n,r,i){if(i==t)i==80;setTimeout(function(){n.find(".slotholder .slot").each(function(){clearTimeout(e(this).data("tout"));e(this).remove()});r.transition=0},i)}function N(e,n){try{var r=e.find(">ul:first-child >li:eq("+n.act+")")}catch(i){var r=e.find(">ul:first-child >li:eq(1)")}n.lastslide=n.act;var s=e.find(">ul:first-child >li:eq("+n.next+")");var o=s.find(".defaultimg");if(o.data("lazyload")!=t&&o.data("lazyload")!="undefined"&&o.data("lazydone")!=1){o.css({backgroundImage:'url("'+s.find(".defaultimg").data("lazyload")+'")'});o.data("src",s.find(".defaultimg").data("lazyload"));o.data("lazydone",1);o.data("orgw",0);s.data("loadeddone",1);e.find(".tp-loader").css({display:"block"}).transition({opacity:1,duration:300});var f=new Image;f.onload=function(){setTimeout(function(){a(n,e)},180);s.waitForImages(function(){o.data("lazydone",1);s.data("owidth",f.width);s.data("oheight",f.height);s.find(".slotholder").data("owidth",f.width);s.find(".slotholder").data("oheight",f.height);setTimeout(function(){u(n,e)},190);b(o,n);y(e,n);b(o,n);C(e,n);e.find(".tp-loader").transition({opacity:0,duration:300});setTimeout(function(){e.find(".tp-loader").css({display:"none"})},2200)})};f.src=s.find(".defaultimg").data("lazyload")}else{if(s.data("loadeddone")==t){var f=new Image;f.onload=function(){s.data("loadeddone",1);s.data("owidth",f.width);s.data("oheight",f.height);s.find(".slotholder").data("owidth",f.width);s.find(".slotholder").data("oheight",f.height);s.waitForImages(function(){b(o,n);y(e,n);b(o,n);C(e,n)})};f.src=s.find(".defaultimg").data("src")}else{C(e,n)}}}function C(n,r){function x(){e.each(v,function(e,t){if(t[0]==p||t[8]==p){l=t[1];d=t[2];y=b}b=b+1})}n.trigger("revolution.slide.onbeforeswap");r.transition=1;r.videoplaying=false;try{var i=n.find(">ul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var u=n.find(">ul:first-child >li:eq("+r.next+")");var a=i.find(".slotholder");var f=u.find(".slotholder");i.css({visibility:"visible"});u.css({visibility:"visible"});if(f.data("kenburns")=="on")k(n,r);if(r.ie){if(p=="boxfade")p="boxslide";if(p=="slotfade-vertical")p="slotzoom-vertical";if(p=="slotfade-horizontal")p="slotzoom-horizontal"}if(u.data("delay")!=t){r.cd=0;r.delay=u.data("delay")}else{r.delay=r.origcd}i.css({left:"0px",top:"0px"});u.css({left:"0px",top:"0px"});if(u.data("differentissplayed")=="prepared"){u.data("differentissplayed","done");u.data("transition",u.data("savedtransition"));u.data("slotamount",u.data("savedslotamount"));u.data("masterspeed",u.data("savedmasterspeed"))}if(u.data("fstransition")!=t&&u.data("differentissplayed")!="done"){u.data("savedtransition",u.data("transition"));u.data("savedslotamount",u.data("slotamount"));u.data("savedmasterspeed",u.data("masterspeed"));u.data("transition",u.data("fstransition"));u.data("slotamount",u.data("fsslotamount"));u.data("masterspeed",u.data("fsmasterspeed"));u.data("differentissplayed","prepared")}var l=0;var c=u.data("transition").split(",");var h=u.data("nexttransid");if(h==t){h=0;u.data("nexttransid",h)}else{h=h+1;if(h==c.length)h=0;u.data("nexttransid",h)}var p=c[h];var d=0;if(p=="slidehorizontal"){p="slideleft";if(r.leftarrowpressed==1)p="slideright"}if(p=="slidevertical"){p="slideup";if(r.leftarrowpressed==1)p="slidedown"}var v=[["boxslide",0,1,10,0,"box",false,null,0],["boxfade",1,0,10,0,"box",false,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",true,false,2],["slotslide-vertical",3,0,0,200,"vertical",true,false,3],["curtain-1",4,3,0,0,"horizontal",true,true,4],["curtain-2",5,3,0,0,"horizontal",true,true,5],["curtain-3",6,3,25,0,"horizontal",true,true,6],["slotzoom-horizontal",7,0,0,400,"horizontal",true,true,7],["slotzoom-vertical",8,0,0,0,"vertical",true,true,8],["slotfade-horizontal",9,0,0,500,"horizontal",true,null,9],["slotfade-vertical",10,0,0,500,"vertical",true,null,10],["fade",11,0,1,300,"horizontal",true,null,11],["slideleft",12,0,1,0,"horizontal",true,true,12],["slideup",13,0,1,0,"horizontal",true,true,13],["slidedown",14,0,1,0,"horizontal",true,true,14],["slideright",15,0,1,0,"horizontal",true,true,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",false,true,17],["3dcurtain-vertical",18,0,10,100,"horizontal",false,true,18],["cubic",19,0,20,600,"horizontal",false,true,19],["cube",19,0,20,600,"horizontal",false,true,20],["flyin",20,0,4,600,"vertical",false,true,21],["turnoff",21,0,1,1600,"horizontal",false,true,22],["incube",22,0,20,600,"horizontal",false,true,23],["cubic-horizontal",23,0,20,500,"vertical",false,true,24],["cube-horizontal",23,0,20,500,"vertical",false,true,25],["incube-horizontal",24,0,20,500,"vertical",false,true,26],["turnoff-vertical",25,0,1,1600,"horizontal",false,true,27],["fadefromright",12,1,1,0,"horizontal",true,true,28],["fadefromleft",15,1,1,0,"horizontal",true,true,29],["fadefromtop",14,1,1,0,"horizontal",true,true,30],["fadefrombottom",13,1,1,0,"horizontal",true,true,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",true,true,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",true,true,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",true,true,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",true,true,35],["parallaxtoright",12,3,1,0,"horizontal",true,true,36],["parallaxtoleft",15,3,1,0,"horizontal",true,true,37],["parallaxtotop",14,3,1,0,"horizontal",true,true,38],["parallaxtobottom",13,3,1,0,"horizontal",true,true,39],["scaledownfromright",12,4,1,0,"horizontal",true,true,40],["scaledownfromleft",15,4,1,0,"horizontal",true,true,41],["scaledownfromtop",14,4,1,0,"horizontal",true,true,42],["scaledownfrombottom",13,4,1,0,"horizontal",true,true,43],["zoomout",13,5,1,0,"horizontal",true,true,44],["zoomin",13,6,1,0,"horizontal",true,true,45],["notransition",26,0,1,0,"horizontal",true,null,46]];var m=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45];var g=[16,17,18,19,20,21,22,23,24,25,26,27];var l=0;var d=1;var y=0;var b=0;var w=new Array;if(p=="random"){p=Math.round(Math.random()*v.length-1);if(p>v.length-1)p=v.length-1}if(p=="random-static"){p=Math.round(Math.random()*m.length-1);if(p>m.length-1)p=m.length-1;p=m[p]}if(p=="random-premium"){p=Math.round(Math.random()*g.length-1);if(p>g.length-1)p=g.length-1;p=g[p]}x();if(o(8)&&l>15&&l<28){p=Math.round(Math.random()*m.length-1);if(p>m.length-1)p=m.length-1;p=m[p];b=0;x()}var T=-1;if(r.leftarrowpressed==1||r.act>r.next)T=1;r.leftarrowpressed=0;if(l>26)l=26;if(l<0)l=0;var N=300;if(u.data("masterspeed")!=t&&u.data("masterspeed")>99&&u.data("masterspeed")<4001)N=u.data("masterspeed");w=v[y];n.parent().find(".bullet").each(function(){var t=e(this);t.removeClass("selected");if(r.navigationArrows=="withbullet"||r.navigationArrows=="nexttobullets"){if(t.index()-1==r.next)t.addClass("selected")}else{if(t.index()==r.next)t.addClass("selected")}});n.find(">li").each(function(){var t=e(this);if(t.index!=r.act&&t.index!=r.next)t.css({"z-index":16})});i.css({"z-index":18});u.css({"z-index":20});u.css({opacity:0});if(i.index()!=u.index()&&r.firststart!=1){W(i,r)}q(u,r);if(u.data("slotamount")==t||u.data("slotamount")<1){r.slots=Math.round(Math.random()*12+4);if(p=="boxslide")r.slots=Math.round(Math.random()*6+3);else if(p=="flyin")r.slots=Math.round(Math.random()*4+1)}else{r.slots=u.data("slotamount")}if(u.data("rotate")==t)r.rotate=0;else if(u.data("rotate")==999)r.rotate=Math.round(Math.random()*360);else r.rotate=u.data("rotate");if(!e.support.transition||r.ie||r.ie9)r.rotate=0;if(r.firststart==1){i.css({opacity:0});r.firststart=0}N=N+w[4];if((l==4||l==5||l==6)&&r.slots<3)r.slots=3;if(w[3]!=0)r.slots=Math.min(r.slots,w[3]);if(l==9)r.slots=r.width/20;if(l==10)r.slots=r.height/20;if(w[5]=="box"){if(w[7]!=null)S(a,r,w[7]);if(w[6]!=null)S(f,r,w[6])}else if(w[5]=="vertical"||w[5]=="horizontal"){if(w[7]!=null)E(a,r,w[7],w[5]);if(w[6]!=null)E(f,r,w[6],w[5])}if(l<12||l>16)u.css({opacity:1});if(l==0){f.find(".defaultimg").css({opacity:0});var C=Math.ceil(r.height/r.sloth);var L=0;f.find(".slotslide").each(function(t){var s=e(this);L=L+1;if(L==C)L=0;TweenLite.fromTo(s,N/600,{opacity:0,top:0-r.sloth,left:0-r.slotw,rotation:r.rotate},{opacity:1,transformPerspective:600,top:0,left:0,scale:1,rotation:0,delay:(t*15+L*30)/1500,ease:Power2.easeOut,onComplete:function(){if(t==r.slots*r.slots-1){P(n,r,f,a,u,i)}}})})}if(l==1){f.find(".defaultimg").css({opacity:0});var A;f.find(".slotslide").each(function(t){var n=e(this);rand=Math.random()*N+300;rand2=Math.random()*500+200;if(rand+rand2>A)A=rand2+rand2;TweenLite.fromTo(n,rand/1e3,{opacity:0,transformPerspective:600,rotation:r.rotate},{opacity:1,ease:Power2.easeInOut,rotation:0,delay:rand2/1e3})});setTimeout(function(){P(n,r,f,a,u,i)},N+300)}if(l==2){f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);TweenLite.to(t,N/1e3,{left:r.slotw,rotation:0-r.rotate,onComplete:function(){P(n,r,f,a,u,i)}})});f.find(".slotslide").each(function(){var t=e(this);TweenLite.fromTo(t,N/1e3,{left:0-r.slotw,rotation:r.rotate,transformPerspective:600},{left:0,rotation:0,ease:Power2.easeOut,onComplete:function(){P(n,r,f,a,u,i)}})})}if(l==3){f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);TweenLite.to(t,N/1e3,{top:r.sloth,rotation:r.rotate,transformPerspective:600,onComplete:function(){P(n,r,f,a,u,i)}})});f.find(".slotslide").each(function(){var t=e(this);TweenLite.fromTo(t,N/1e3,{top:0-r.sloth,rotation:r.rotate,transformPerspective:600},{top:0,rotation:0,ease:Power2.easeOut,onComplete:function(){P(n,r,f,a,u,i)}})})}if(l==4||l==5){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var O=N/1e3;var M=O;a.find(".slotslide").each(function(t){var n=e(this);var i=t*O/r.slots;if(l==5)i=(r.slots-t-1)*O/r.slots/1.5;TweenLite.to(n,O*3,{transformPerspective:600,top:0+r.height,opacity:.5,rotation:r.rotate,ease:Power2.easeInOut,delay:i})});f.find(".slotslide").each(function(t){var s=e(this);var o=t*O/r.slots;if(l==5)o=(r.slots-t-1)*O/r.slots/1.5;TweenLite.fromTo(s,O*3,{top:0-r.height,opacity:.5,rotation:r.rotate,transformPerspective:600},{top:0,opacity:1,rotation:0,ease:Power2.easeInOut,delay:o,onComplete:function(){if(t==r.slots-1){P(n,r,f,a,u,i)}}})})}if(l==6){if(r.slots<2)r.slots=2;f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);a.find(".slotslide").each(function(t){var n=e(this);if(t<r.slots/2)var i=(t+2)*60;else var i=(2+r.slots-t)*60;TweenLite.to(n,(N+i)/1e3,{top:0+r.height,opacity:1,rotation:r.rotate,transformPerspective:600,ease:Power2.easeInOut})});f.find(".slotslide").each(function(t){var s=e(this);if(t<r.slots/2)var o=(t+2)*60;else var o=(2+r.slots-t)*60;TweenLite.fromTo(s,(N+o)/1e3,{top:0-r.height,opacity:1,rotation:r.rotate,transformPerspective:600},{top:0,opacity:1,rotation:0,ease:Power2.easeInOut,onComplete:function(){if(t==Math.round(r.slots/2)){P(n,r,f,a,u,i)}}})})}if(l==7){N=N*2;f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);a.find(".slotslide").each(function(){var t=e(this).find("div");TweenLite.to(t,N/1e3,{left:0-r.slotw/2+"px",top:0-r.height/2+"px",width:r.slotw*2+"px",height:r.height*2+"px",opacity:0,rotation:r.rotate,transformPerspective:600,ease:Power2.easeOut})});f.find(".slotslide").each(function(t){var s=e(this).find("div");TweenLite.fromTo(s,N/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*r.slotw+"px",ease:Power2.easeOut,top:0+"px",width:r.width,height:r.height,opacity:1,rotation:0,delay:.1,onComplete:function(){P(n,r,f,a,u,i)}})})}if(l==8){N=N*3;f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this).find("div");TweenLite.to(t,N/1e3,{left:0-r.width/2+"px",top:0-r.sloth/2+"px",width:r.width*2+"px",height:r.sloth*2+"px",transformPerspective:600,opacity:0,rotation:r.rotate})});f.find(".slotslide").each(function(t){var s=e(this).find("div");TweenLite.fromTo(s,N/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0+"px",top:0-t*r.sloth+"px",width:f.find(".defaultimg").data("neww")+"px",height:f.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0,onComplete:function(){P(n,r,f,a,u,i)}})})}if(l==9||l==10){f.find(".defaultimg").css({opacity:0});var _=0;f.find(".slotslide").each(function(t){var n=e(this);_++;TweenLite.fromTo(n,N/1e3,{opacity:0,transformPerspective:600,left:0,top:0},{opacity:1,ease:Power2.easeInOut,delay:t*4/1e3})});setTimeout(function(){P(n,r,f,a,u,i)},N+_*4)}if(l==11||l==26){f.find(".defaultimg").css({opacity:0,position:"relative"});var _=0;if(l==26)N=0;f.find(".slotslide").each(function(t){var n=e(this);TweenLite.fromTo(n,N/1e3,{opacity:0},{opacity:1,ease:Power2.easeInOut})});setTimeout(function(){P(n,r,f,a,u,i)},N+15)}if(l==12||l==13||l==14||l==15){setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);f.find(".defaultimg").css({opacity:0});var D=r.width;var H=r.height;var B=f.find(".slotslide");if(r.fullWidth=="on"||r.fullSreen=="on"){D=B.width();H=B.height()}var j=0;var F=0;if(l==12)j=D;else if(l==15)j=0-D;else if(l==13)F=H;else if(l==14)F=0-H;var I=1;var R=1;var U=1;var z=Power2.easeInOut;var X=Power2.easeInOut;var V=N/1e3;var $=V;if(d==1)I=0;if(d==2)I=0;if(d==3){z=Power2.easeInOut;X=Power1.easeInOut;i.css({position:"absolute","z-index":20});u.css({position:"absolute","z-index":15});V=N/1200}if(d==4||d==5)R=.6;if(d==6)R=1.4;if(d==5||d==6){U=1.4;I=0;D=0;H=0;j=0;F=0}if(d==6)U=.6;TweenLite.fromTo(B,V,{left:j,top:F,scale:U,opacity:I,rotation:r.rotate},{opacity:1,rotation:0,left:0,top:0,scale:1,ease:X,onComplete:function(){P(n,r,f,a,u,i);i.css({position:"absolute","z-index":18});u.css({position:"absolute","z-index":20})}});var J=a.find(".slotslide");if(d==4||d==5){D=0;H=0}if(d!=1){if(l==12)TweenLite.to(J,$,{left:0-D+"px",scale:R,opacity:I,rotation:r.rotate,ease:z});else if(l==15)TweenLite.to(J,$,{left:D+"px",scale:R,opacity:I,rotation:r.rotate,ease:z});else if(l==13)TweenLite.to(J,$,{top:0-H+"px",scale:R,opacity:I,rotation:r.rotate,ease:z});else if(l==14)TweenLite.to(J,$,{top:H+"px",scale:R,opacity:I,rotation:r.rotate,ease:z})}u.css({opacity:1})}if(l==16){i.css({position:"absolute","z-index":20});u.css({position:"absolute","z-index":15});i.wrapInner('
');i.find(".tp-half-one").clone(true).appendTo(i).addClass("tp-half-two");i.find(".tp-half-two").removeClass("tp-half-one");var D=r.width;var H=r.height;if(r.autoHeight=="on")H=n.height();i.find(".tp-half-one .defaultimg").wrap('
');i.find(".tp-half-two .defaultimg").wrap('
');i.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"});i.find(".tp-half-two .tp-caption").wrapAll('
');TweenLite.set(i.find(".tp-half-two"),{width:D,height:H,overflow:"hidden",zIndex:15,position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"});TweenLite.set(i.find(".tp-half-one"),{width:D,height:H/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"});var K=i.find(".defaultimg");var Q=Math.round(Math.random()*20-10);var G=Math.round(Math.random()*20-10);var Y=Math.round(Math.random()*20-10);var Z=Math.random()*.4-.2;var et=Math.random()*.4-.2;var tt=Math.random()*1+1;var nt=Math.random()*1+1;TweenLite.fromTo(i.find(".tp-half-one"),N/1e3,{width:D,height:H/2,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"},{scale:tt,rotation:Q,y:0-H-H/4,ease:Power2.easeInOut});setTimeout(function(){TweenLite.set(i.find(".tp-half-one"),{overflow:"hidden"})},50);TweenLite.fromTo(i.find(".tp-half-one"),N/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:N/2e3});TweenLite.fromTo(i.find(".tp-half-two"),N/1e3,{width:D,height:H,overflow:"hidden",position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"},{scale:nt,rotation:G,y:H+H/4,ease:Power2.easeInOut});TweenLite.fromTo(i.find(".tp-half-two"),N/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:N/2e3});if(i.html()!=null)TweenLite.fromTo(u,(N-200)/1e3,{opacity:0,scale:.8,x:r.width*Z,y:H*et,rotation:Y,transformPerspective:600,transformOrigin:"center center"},{rotation:0,scale:1,x:0,y:0,opacity:1,ease:Power2.easeInOut});f.find(".defaultimg").css({opacity:1});setTimeout(function(){i.css({position:"absolute","z-index":18});u.css({position:"absolute","z-index":20});f.find(".defaultimg").css({opacity:1});a.find(".defaultimg").css({opacity:0});if(i.find(".tp-half-one").length>0){i.find(".tp-half-one .defaultimg").unwrap();i.find(".tp-half-one .slotholder").unwrap()}i.find(".tp-half-two").remove();r.transition=0;r.act=r.next},N);u.css({opacity:1})}if(l==17){f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}})})}if(l==18){f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/500,{opacity:0,rotationY:310,scale:.9,rotationX:10,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}})})}if(l==19||l==22){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var rt=u.css("z-index");var it=i.css("z-index");var st=90;var I=1;if(T==1)st=-90;if(l==19){var ot="center center -"+r.height/2;I=0}else{var ot="center center "+r.height/2}TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:-40,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(N/4e3)});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:-40,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(N/4e3)});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:0,rotationY:r.rotate,opacity:I,top:0,scale:.8,transformPerspective:600,transformOrigin:ot,rotationX:st},{left:0,rotationY:0,opacity:1,top:0,z:0,scale:1,rotationX:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/3e3})});a.find(".slotslide").each(function(t){var s=e(this);var o=-90;if(T==1)o=90;TweenLite.fromTo(s,N/1e3,{opacity:1,rotationY:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationX:0},{opacity:1,rotationY:r.rotate,top:0,scale:.8,rotationX:o,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}if(l==20){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var rt=u.css("z-index");var it=i.css("z-index");if(T==1){var ut=-r.width;var st=70;var ot="left center -"+r.height/2}else{var ut=r.width;var st=-70;var ot="right center -"+r.height/2}f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1500,{left:ut,rotationX:40,z:-600,opacity:I,top:0,transformPerspective:600,transformOrigin:ot,rotationY:st},{left:0,delay:t*50/1e3,ease:Power2.easeInOut});TweenLite.fromTo(s,N/1e3,{rotationX:40,z:-600,opacity:I,top:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:st},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/2e3})});a.find(".slotslide").each(function(t){var s=e(this);if(T!=1){var o=-r.width;var l=70;var c="left center -"+r.height/2}else{var o=r.width;var l=-70;var c="right center -"+r.height/2}TweenLite.fromTo(s,N/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,transformPerspective:600,transformOrigin:c,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:o,scale:.8,rotationY:l,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}if(l==21||l==25){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var rt=u.css("z-index");var it=i.css("z-index");if(T==1){var ut=-r.width;var st=110;if(l==25){var ot="center top 0";rot2=-st;st=r.rotate}else{var ot="left center 0";rot2=r.rotate}}else{var ut=r.width;var st=-110;if(l==25){var ot="center bottom 0";rot2=-st;st=r.rotate}else{var ot="right center 0";rot2=r.rotate}}f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1500,{left:0,rotationX:rot2,z:0,opacity:0,top:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:st},{left:0,rotationX:0,top:0,z:0,scale:1,rotationY:0,delay:t*100/1e3+N/1e4,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.3,{opacity:1,delay:t*100/1e3+N*.2/2e3+N/1e4})});if(T!=1){var ut=-r.width;var st=90;if(l==25){var ot="center top 0";rot2=-st;st=r.rotate}else{var ot="left center 0";rot2=r.rotate}}else{var ut=r.width;var st=-90;if(l==25){var ot="center bottom 0";rot2=-st;st=r.rotate}else{var ot="right center 0";rot2=r.rotate}}a.find(".slotslide").each(function(t){var n=e(this);TweenLite.fromTo(n,N/3e3,{left:0,rotationX:0,z:0,opacity:1,top:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,scale:1,rotationY:st,delay:t*100/1e3,ease:Power1.easeInOut});TweenLite.to(n,.2,{opacity:0,delay:t*50/1e3+(N/3e3-N/1e4)})})}if(l==23||l==24){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var rt=u.css("z-index");var it=i.css("z-index");var st=-90;if(T==1)st=90;var I=1;if(l==23){var ot="center center -"+r.width/2;I=0}else{var ot="center center "+r.width/2}var at=0;TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:-90,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(N/4e3)});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:-90,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(N/4e3)});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:at,rotationX:r.rotate,opacity:I,top:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:st},{left:0,rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/3e3})});st=90;if(T==1)st=-90;a.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:0,opacity:1,rotationX:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:0},{left:at,opacity:1,rotationX:r.rotate,top:0,scale:1,rotationY:st,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)P(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}var ft={};ft.slideIndex=r.next+1;n.trigger("revolution.slide.onchange",ft);setTimeout(function(){n.trigger("revolution.slide.onafterswap")},N);n.trigger("revolution.slide.onvideostop")}function k(n,r){try{var i=n.find(">ul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var o=n.find(">ul:first-child >li:eq("+r.next+")");var u=i.find(".slotholder");var a=o.find(".slotholder");a.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t)n.data("kenburn").restart();TweenLite.killTweensOf(n,false);TweenLite.set(n,{scale:1,rotationZ:0});n.data("bgposition",a.data("bgposition"));n.data("currotate",a.data("rotationstart"));n.data("curscale",a.data("bgfit"))})}function L(n,r){try{var i=n.find(">ul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var u=n.find(">ul:first-child >li:eq("+r.next+")");var a=i.find(".slotholder");var f=u.find(".slotholder");var l=f.data("bgposition"),c=f.data("bgpositionend"),h=f.data("zoomstart")/100,p=f.data("zoomend")/100,d=f.data("rotationstart"),v=f.data("rotationend"),m=f.data("bgfit"),g=f.data("bgfitend"),y=f.data("easeme"),b=f.data("duration")/1e3;if(m==t)m=100;if(g==t)g=100;m=A(m,f,r);g=A(g,f,r);if(h==t)h=1;if(p==t)p=1;if(d==t)d=0;if(v==t)v=0;if(h<1)h=1;if(p<1)p=1;f.find(".defaultimg").each(function(){var t=e(this);t.data("kenburn",TweenLite.fromTo(t,b,{transformPerspective:1200,backgroundSize:m,z:0,backgroundPosition:l,rotationZ:d},{yoyo:2,rotationZ:v,ease:y,backgroundSize:g,backgroundPosition:c,onUpdate:function(){t.data("bgposition",t.css("backgroundPosition"));if(!o(8))t.data("currotate",D(t));if(!o(8))t.data("curscale",t.css("backgroundSize"))}}))})}function A(e,t,n){var r=t.data("owidth");var i=t.data("oheight");var s=n.container.width()/r;var o=i*s;var u=o/n.container.height()*e;return e+"% "+u+"%"}function O(e){var t=e.css("-webkit-transform")||e.css("-moz-transform")||e.css("-ms-transform")||e.css("-o-transform")||e.css("transform");return t}function M(e){return e.replace(/^matrix(3d)?\((.*)\)$/,"$2").split(/, /)}function _(e){var t=M(O(e)),n=1;if(t[0]!=="none"){var r=t[0],i=t[1],s=10;n=Math.round(Math.sqrt(r*r+i*i)*s)/s}return n}function D(e){var t=e.css("-webkit-transform")||e.css("-moz-transform")||e.css("-ms-transform")||e.css("-o-transform")||e.css("transform");if(t!=="none"){var n=t.split("(")[1].split(")")[0].split(",");var r=n[0];var i=n[1];var s=Math.round(Math.atan2(i,r)*(180/Math.PI))}else{var s=0}return s<0?s+=360:s}function P(e,t,n,r,i,s){T(e,t);n.find(".defaultimg").css({opacity:1});if(i.index()!=s.index())r.find(".defaultimg").css({opacity:0});t.act=t.next;c(e);if(n.data("kenburns")=="on")L(e,t)}function H(t){var n=t.target.getVideoEmbedCode();var r=e("#"+n.split('id="')[1].split('"')[0]);var i=r.closest(".tp-simpleresponsive");var s=r.parent().data("player");if(t.data==YT.PlayerState.PLAYING){var o=i.find(".tp-bannertimer");var u=o.data("opt");o.stop();if(r.closest(".tp-caption").data("volume")=="mute")s.mute();u.videoplaying=true;u.videostartednow=1}else{var o=i.find(".tp-bannertimer");var u=o.data("opt");if(t.data!=-1){if(u.conthover==0)o.animate({width:"100%"},{duration:u.delay-u.cd-100,queue:false,easing:"linear"});u.videoplaying=false;u.videostoppednow=1}}if(t.data==0&&u.nextslideatend==true)u.container.revnext()}function B(e,t,n){if(e.addEventListener)e.addEventListener(t,n,false);else e.attachEvent(t,n,false)}function j(t,n){var r=$f(t);var i=e("#"+t);var s=i.closest(".tp-simpleresponsive");r.addEvent("ready",function(e){if(n)r.api("play");r.addEvent("play",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");t.stop();n.videoplaying=true;if(i.closest(".tp-caption").data("volume")=="mute")r.api("setVolume","0")});r.addEvent("finish",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");if(n.conthover==0)t.animate({width:"100%"},{duration:n.delay-n.cd-100,queue:false,easing:"linear"});n.videoplaying=false;n.videostartednow=1;if(n.nextslideatend==true)n.container.revnext()});r.addEvent("pause",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");if(n.conthover==0)t.animate({width:"100%"},{duration:n.delay-n.cd-100,queue:false,easing:"linear"});n.videoplaying=false;n.videostoppednow=1})})}function F(n,r){if(r==t)r=e(n["b"]).attr("id");var i=e("#"+r);var s=i.closest(".tp-simpleresponsive");n.on("play",function(){if(i.closest(".tp-caption").data("volume")=="mute")n.volume(0);var t=e("body").find(".tp-bannertimer");var r=t.data("opt");t.stop();try{r.videoplaying=true}catch(s){}});n.on("pause",function(){var e=s.find(".tp-bannertimer");var t=e.data("opt");if(t.conthover==0)e.animate({width:"100%"},{duration:t.delay-t.cd-100,queue:false,easing:"linear"});t.videoplaying=false;t.videostoppednow=1});n.on("ended",function(){var e=s.find(".tp-bannertimer");var t=e.data("opt");if(t.conthover==0)e.animate({width:"100%"},{duration:t.delay-t.cd-100,queue:false,easing:"linear"});t.videoplaying=false;t.videostoppednow=1;if(t.nextslideatend==true)t.container.revnext()});n.on("loadedmetadata",function(e){var n=0;var r=0;for(var o in this){try{if(this[o].hasOwnProperty("videoWidth"))n=this[o].videoWidth;if(this[o].hasOwnProperty("videoHeight"))r=this[o].videoHeight}catch(u){}}var a=n/r;if(i.data("mediaAspect")==t)i.data("mediaAspect",a);if(i.closest(".tp-caption").data("forcecover")==1)I(i,s)})}function I(e,t){var n=t.width();var r=t.height();var i=e.data("mediaAspect");var s=n/r;e.parent().find(".vjs-poster").css({width:"100%",height:"100%"});if(s<i){e.width(r*i).height(r);e.css("top",0).css("left",-(r*i-n)/2).css("height",r);e.find(".vjs-tech").css("width",r*i)}else{e.width(n).height(n/i);e.css("top",-(n/i-r)/2).css("left",0).css("height",n/i);e.find(".vjs-tech").css("width","100%")}}function q(n,r,i){var s=0;var o=0;n.find(".tp-caption").each(function(n){s=r.width/2-r.startwidth*r.bw/2;var u=r.bw;var a=r.bh;if(r.fullScreen=="on")o=r.height/2-r.startheight*r.bh/2;if(r.autoHeight=="on")o=r.container.height()/2-r.startheight*r.bh/2;if(o<0)o=0;var f=e(this);var l=0;if(r.width<r.hideCaptionAtLimit&&f.data("captionhidden")=="on"){f.addClass("tp-hidden-caption");l=1}else{if(r.width<r.hideAllCaptionAtLimit||r.width<r.hideAllCaptionAtLilmit){f.addClass("tp-hidden-caption");l=1}else{f.removeClass("tp-hidden-caption")}}if(l==0){if(f.data("linktoslide")!=t&&!f.hasClass("hasclicklistener")){f.addClass("hasclicklistener");f.css({cursor:"pointer"});if(f.data("linktoslide")!="no"){f.click(function(){var t=e(this);var n=t.data("linktoslide");if(n!="next"&&n!="prev"){r.container.data("showus",n);r.container.parent().find(".tp-rightarrow").click()}else if(n=="next")r.container.parent().find(".tp-rightarrow").click();else if(n=="prev")r.container.parent().find(".tp-leftarrow").click()})}}if(s<0)s=0;var c="iframe"+Math.round(Math.random()*1e3+1);if(f.find("iframe").length>0||f.find("video").length>0){if(f.data("autoplayonlyfirsttime")==true||f.data("autoplayonlyfirsttime")=="true"){f.data("autoplay",true)}f.find("iframe").each(function(){var n=e(this);r.nextslideatend=f.data("nextslideatend");if(f.data("thumbimage")!=t&&f.data("thumbimage").length>2&&f.data("autoplay")!=true&&!i){f.find(".tp-thumb-image").remove();f.append('
')}if(n.attr("src").toLowerCase().indexOf("youtube")>=0){if(!n.hasClass("HasListener")){try{n.attr("id",c);var s;if(f.data("autoplay")==true)s=new YT.Player(c,{events:{onStateChange:H,onReady:function(e){e.target.playVideo()}}});else s=new YT.Player(c,{events:{onStateChange:H}});n.addClass("HasListener");f.data("player",s)}catch(o){}}else{if(f.data("autoplay")==true){var s=f.data("player");f.data("timerplay",setTimeout(function(){if(f.data("forcerewind")=="on")s.seekTo(0);s.playVideo()},f.data("start")))}}f.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){f.find(".tp-thumb-image").remove()}});var t=f.data("player");t.playVideo()})}else{if(n.attr("src").toLowerCase().indexOf("vimeo")>=0){if(!n.hasClass("HasListener")){n.addClass("HasListener");n.attr("id",c);var u=n.attr("src");var a={},l=u,h=/([^&=]+)=([^&]*)/g,p;while(p=h.exec(l)){a[decodeURIComponent(p[1])]=decodeURIComponent(p[2])}if(a["player_id"]!=t)u=u.replace(a["player_id"],c);else u=u+"&player_id="+c;try{u=u.replace("api=0","api=1")}catch(o){}u=u+"&api=1";n.attr("src",u);var s=f.find("iframe")[0];$f(s).addEvent("ready",function(){j(c,f.data("autoplay"))})}else{if(f.data("autoplay")==true){var n=f.find("iframe");var d=n.attr("id");var v=$f(d);f.data("timerplay",setTimeout(function(){if(f.data("forcerewind")=="on")v.api("seekTo",0);v.api("play")},f.data("start")))}}f.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){f.find(".tp-thumb-image").remove()}});var t=f.find("iframe");var n=t.attr("id");var r=$f(n);r.api("play")})}}});if(f.find("video").length>0){f.find("video").each(function(n){var i=e(this).parent();if(f.data("dottedoverlay")!="none"&&f.data("dottedoverlay")!=t)if(f.find(".tp-dottedoverlay").length!=1)i.append('
');var s=16/9;if(f.data("aspectratio")=="4:3")s=4/3;i.data("mediaAspect",s);I(i,r.container);if(i.hasClass("video-js")){r.nextslideatend=f.data("nextslideatend");if(!i.hasClass("HasListener")){i.addClass("HasListener");var o="videoid_"+Math.round(Math.random()*1e3+1);i.attr("id",o);videojs(o).ready(function(){F(this,o)})}else{o=i.attr("id")}i.find(".vjs-poster").css({display:"block"});if(f.data("autoplay")==true){var u=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){u.stop();r.videoplaying=true},200);videojs(o).ready(function(){var e=this;try{if(f.data("forcerewind")=="on")e.currentTime(0)}catch(t){}i.data("timerplay",setTimeout(function(){if(f.data("forcerewind")=="on")e.currentTime(0);if(i.closest(".tp-caption").data("volume")=="mute")e.volume(0);setTimeout(function(){e.play(0);i.find(".vjs-poster").css({display:"none"})},50)},10+f.data("start")))})}if(i.data("ww")==t)i.data("ww",i.width());if(i.data("hh")==t)i.data("hh",i.height());videojs(o).ready(function(){if(!f.hasClass("fullscreenvideo")){var e=videojs(o);try{e.width(i.data("ww")*r.bw);e.height(i.data("hh")*r.bh)}catch(t){}}});if(i.closest(".tp-caption").data("forcecover")==1){I(i,r.container);i.addClass("fullcoveredvideo")}}})}if(f.data("autoplay")==true){var h=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){h.stop();r.videoplaying=true},200);r.videoplaying=true;if(f.data("autoplayonlyfirsttime")==true||f.data("autoplayonlyfirsttime")=="true"){f.data("autoplay",false);f.data("autoplayonlyfirsttime",false)}}}var p=0;var d=0;if(f.find("img").length>0){var v=f.find("img");if(v.data("ww")==t)v.data("ww",v.width());if(v.data("hh")==t)v.data("hh",v.height());var m=v.data("ww");var g=v.data("hh");v.width(m*r.bw);v.height(g*r.bh);p=v.width();d=v.height()}else{if(f.find("iframe").length>0||f.find(".video-js").length>0){var v=f.find("iframe");v.css({display:"block"});if(f.data("ww")==t){f.data("ww",v.width())}if(f.data("hh")==t)f.data("hh",v.height());var m=f.data("ww");var g=f.data("hh");var y=f;if(y.data("fsize")==t)y.data("fsize",parseInt(y.css("font-size"),0)||0);if(y.data("pt")==t)y.data("pt",parseInt(y.css("paddingTop"),0)||0);if(y.data("pb")==t)y.data("pb",parseInt(y.css("paddingBottom"),0)||0);if(y.data("pl")==t)y.data("pl",parseInt(y.css("paddingLeft"),0)||0);if(y.data("pr")==t)y.data("pr",parseInt(y.css("paddingRight"),0)||0);if(y.data("mt")==t)y.data("mt",parseInt(y.css("marginTop"),0)||0);if(y.data("mb")==t)y.data("mb",parseInt(y.css("marginBottom"),0)||0);if(y.data("ml")==t)y.data("ml",parseInt(y.css("marginLeft"),0)||0);if(y.data("mr")==t)y.data("mr",parseInt(y.css("marginRight"),0)||0);if(y.data("bt")==t)y.data("bt",parseInt(y.css("borderTop"),0)||0);if(y.data("bb")==t)y.data("bb",parseInt(y.css("borderBottom"),0)||0);if(y.data("bl")==t)y.data("bl",parseInt(y.css("borderLeft"),0)||0);if(y.data("br")==t)y.data("br",parseInt(y.css("borderRight"),0)||0);if(y.data("lh")==t)y.data("lh",parseInt(y.css("lineHeight"),0)||0);var b=r.width;var w=r.height;if(b>r.startwidth)b=r.startwidth;if(w>r.startheight)w=r.startheight;if(!f.hasClass("fullscreenvideo"))f.css({"font-size":y.data("fsize")*r.bw+"px","padding-top":y.data("pt")*r.bh+"px","padding-bottom":y.data("pb")*r.bh+"px","padding-left":y.data("pl")*r.bw+"px","padding-right":y.data("pr")*r.bw+"px","margin-top":y.data("mt")*r.bh+"px","margin-bottom":y.data("mb")*r.bh+"px","margin-left":y.data("ml")*r.bw+"px","margin-right":y.data("mr")*r.bw+"px","border-top":y.data("bt")*r.bh+"px","border-bottom":y.data("bb")*r.bh+"px","border-left":y.data("bl")*r.bw+"px","border-right":y.data("br")*r.bw+"px","line-height":y.data("lh")*r.bh+"px",height:g*r.bh+"px","white-space":"nowrap"});else{s=0;o=0;f.data("x",0);f.data("y",0);var E=r.height;if(r.autoHeight=="on")E=r.container.height();f.css({width:r.width,height:E})}v.width(m*r.bw);v.height(g*r.bh);p=v.width();d=v.height()}else{f.find(".tp-resizeme, .tp-resizeme *").each(function(){z(e(this),r)});if(f.hasClass("tp-resizeme")){f.find("*").each(function(){z(e(this),r)})}z(f,r);d=f.outerHeight(true);p=f.outerWidth(true);var S=f.outerHeight();var x=f.css("backgroundColor");f.find(".frontcorner").css({borderWidth:S+"px",left:0-S+"px",borderRight:"0px solid transparent",borderTopColor:x});f.find(".frontcornertop").css({borderWidth:S+"px",left:0-S+"px",borderRight:"0px solid transparent",borderBottomColor:x});f.find(".backcorner").css({borderWidth:S+"px",right:0-S+"px",borderLeft:"0px solid transparent",borderBottomColor:x});f.find(".backcornertop").css({borderWidth:S+"px",right:0-S+"px",borderLeft:"0px solid transparent",borderTopColor:x})}}if(r.fullScreenAlignForce=="on"){u=1;a=1;s=0;o=0}if(f.data("voffset")==t)f.data("voffset",0);if(f.data("hoffset")==t)f.data("hoffset",0);var T=f.data("voffset")*u;var N=f.data("hoffset")*u;var C=r.startwidth*u;var k=r.startheight*u;if(r.fullScreenAlignForce=="on"){C=r.container.width();k=r.container.height()}if(f.data("x")=="center"||f.data("xcenter")=="center"){f.data("xcenter","center");f.data("x",(C/2-f.outerWidth(true)/2)/u+N)}if(f.data("x")=="left"||f.data("xleft")=="left"){f.data("xleft","left");f.data("x",0/u+N)}if(f.data("x")=="right"||f.data("xright")=="right"){f.data("xright","right");f.data("x",(C-f.outerWidth(true)+N)/u)}if(f.data("y")=="center"||f.data("ycenter")=="center"){f.data("ycenter","center");f.data("y",(k/2-f.outerHeight(true)/2)/a+T)}if(f.data("y")=="top"||f.data("ytop")=="top"){f.data("ytop","top");f.data("y",0/r.bh+T)}if(f.data("y")=="bottom"||f.data("ybottom")=="bottom"){f.data("ybottom","bottom");f.data("y",(k-f.outerHeight(true)+T)/u)}if(f.data("start")==t)f.data("start",1e3);var L=f.data("easing");if(L==t)L="Power1.easeOut";var A=f.data("start")/1e3;var O=f.data("speed")/1e3;var M=u*f.data("x")+s;var _=r.bh*f.data("y")+o;if(r.fullScreenAlignForce=="on")_=f.data("y")+o;TweenLite.killTweensOf(f,false);clearTimeout(f.data("reversetimer"));var D=0,P=M,B=_,q=2,U=1,W=0,V=1,$=1,J=1,K=0,Q=0,G=0,Y=0,Z=0,et=0,tt=0,nt="center,center",rt=300,it=0,st=false,ot=0;if(f.data("repeat")!=t)it=f.data("repeat");if(f.data("yoyo")!=t)st=f.data("yoyo");if(f.data("repeatdelay")!=t)ot=f.data("repeatdelay");if(f.hasClass("customin")){var ut=f.data("customin").split(";");e.each(ut,function(e,t){t=t.split(":");var n=t[0],r=t[1];if(n=="rotationX")Q=parseInt(r,0);if(n=="rotationY")G=parseInt(r,0);if(n=="rotationZ")Y=parseInt(r,0);if(n=="scaleX")$=parseFloat(r);if(n=="scaleY")J=parseFloat(r);if(n=="opacity")tt=parseFloat(r);if(n=="skewX")Z=parseInt(r,0);if(n=="skewY")et=parseInt(r,0);if(n=="x")P=M+parseInt(r,0);if(n=="y")B=_+parseInt(r,0);if(n=="z")q=parseInt(r,0);if(n=="transformOrigin")nt=r.toString();if(n=="transformPerspective")rt=parseInt(r,0)})}if(f.hasClass("randomrotate")){V=Math.random()*3+1;K=Math.round(Math.random()*200-100);P=M+Math.round(Math.random()*200-100);B=_+Math.round(Math.random()*200-100)}if(f.hasClass("lfr")||f.hasClass("skewfromright"))P=15+r.width;if(f.hasClass("lfl")||f.hasClass("skewfromleft"))P=-15-p;if(f.hasClass("sfl")|f.hasClass("skewfromleftshort"))P=M-50;if(f.hasClass("sfr")|f.hasClass("skewfromrightshort"))P=M+50;if(f.hasClass("lft"))B=-25-d;if(f.hasClass("lfb"))B=25+r.height;if(f.hasClass("sft"))B=_-50;if(f.hasClass("sfb"))B=_+50;if(f.hasClass("skewfromright")||f.hasClass("skewfromrightshort"))Z=-85;if(f.hasClass("skewfromleft")||f.hasClass("skewfromleftshort"))Z=85;if(R().toLowerCase()=="safari"){Q=0;G=0}P=Math.round(P);B=Math.round(B);M=Math.round(M);_=Math.round(_);if(f.hasClass("customin")){f.data("anim",TweenLite.fromTo(f,O,{scaleX:$,scaleY:J,rotationX:Q,rotationY:G,rotationZ:Y,x:0,y:0,left:P,top:B,z:q,opacity:tt,transformPerspective:rt,transformOrigin:nt,visibility:"hidden"},{left:M,top:_,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:A,ease:L,overwrite:"all"}))}else{f.data("anim",TweenLite.fromTo(f,O,{scale:V,rotationX:0,rotationY:0,skewY:0,rotation:K,left:P+"px",top:B+"px",opacity:0,z:0,x:0,y:0,skewX:Z,transformPerspective:600,visibility:"visible"},{left:M+"px",top:_+"px",scale:1,skewX:0,rotation:0,z:0,visibility:"visible",opacity:1,delay:A,ease:L,overwrite:"all",yoyo:st,repeat:it,repeatDelay:ot}))}f.data("killall",setTimeout(function(){f.css({transform:"none","-moz-transform":"none","-webkit-transform":"none"})},O*1e3+A*1e3+20));f.data("timer",setTimeout(function(){if(f.hasClass("fullscreenvideo"))f.css({display:"block"})},f.data("start")));if(f.data("end")!=t)X(f,r,f.data("end")/1e3)}});var u=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");u.data("opt",r)}function R(){var e=navigator.appName,t=navigator.userAgent,n;var r=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);if(r&&(n=t.match(/version\/([\.\d]+)/i))!=null)r[2]=n[1];r=r?[r[1],r[2]]:[e,navigator.appVersion,"-?"];return r[0]}function U(){var e=navigator.appName,t=navigator.userAgent,n;var r=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);if(r&&(n=t.match(/version\/([\.\d]+)/i))!=null)r[2]=n[1];r=r?[r[1],r[2]]:[e,navigator.appVersion,"-?"];return r[1]}function z(e,n){if(e.data("fsize")==t)e.data("fsize",parseInt(e.css("font-size"),0)||0);if(e.data("pt")==t)e.data("pt",parseInt(e.css("paddingTop"),0)||0);if(e.data("pb")==t)e.data("pb",parseInt(e.css("paddingBottom"),0)||0);if(e.data("pl")==t)e.data("pl",parseInt(e.css("paddingLeft"),0)||0);if(e.data("pr")==t)e.data("pr",parseInt(e.css("paddingRight"),0)||0);if(e.data("mt")==t)e.data("mt",parseInt(e.css("marginTop"),0)||0);if(e.data("mb")==t)e.data("mb",parseInt(e.css("marginBottom"),0)||0);if(e.data("ml")==t)e.data("ml",parseInt(e.css("marginLeft"),0)||0);if(e.data("mr")==t)e.data("mr",parseInt(e.css("marginRight"),0)||0);if(e.data("bt")==t)e.data("bt",parseInt(e.css("borderTopWidth"),0)||0);if(e.data("bb")==t)e.data("bb",parseInt(e.css("borderBottomWidth"),0)||0);if(e.data("bl")==t)e.data("bl",parseInt(e.css("borderLeftWidth"),0)||0);if(e.data("br")==t)e.data("br",parseInt(e.css("borderRightWidth"),0)||0);if(e.data("lh")==t)e.data("lh",parseInt(e.css("lineHeight"),0)||0);if(e.data("minwidth")==t)e.data("minwidth",parseInt(e.css("minWidth"),0)||0);if(e.data("minheight")==t)e.data("minheight",parseInt(e.css("minHeight"),0)||0);if(e.data("maxwidth")==t)e.data("maxwidth",parseInt(e.css("maxWidth"),0)||"none");if(e.data("maxheight")==t)e.data("maxheight",parseInt(e.css("maxHeight"),0)||"none");if(e.data("wan")==t)e.data("wan",e.css("-webkit-transition"));if(e.data("moan")==t)e.data("moan",e.css("-moz-animation-transition"));if(e.data("man")==t)e.data("man",e.css("-ms-animation-transition"));if(e.data("ani")==t)e.data("ani",e.css("transition"));e.css("-webkit-transition","none");e.css("-moz-transition","none");e.css("-ms-transition","none");e.css("transition","none");TweenLite.set(e,{fontSize:Math.round(e.data("fsize")*n.bw)+"px",paddingTop:Math.round(e.data("pt")*n.bh)+"px",paddingBottom:Math.round(e.data("pb")*n.bh)+"px",paddingLeft:Math.round(e.data("pl")*n.bw)+"px",paddingRight:Math.round(e.data("pr")*n.bw)+"px",marginTop:e.data("mt")*n.bh+"px",marginBottom:e.data("mb")*n.bh+"px",marginLeft:e.data("ml")*n.bw+"px",marginRight:e.data("mr")*n.bw+"px",borderTopWidth:Math.round(e.data("bt")*n.bh)+"px",borderBottomWidth:Math.round(e.data("bb")*n.bh)+"px",borderLeftWidth:Math.round(e.data("bl")*n.bw)+"px",borderRightWidth:Math.round(e.data("br")*n.bw)+"px",lineHeight:Math.round(e.data("lh")*n.bh)+"px",whiteSpace:"nowrap",minWidth:e.data("minwidth")*n.bw+"px",minHeight:e.data("minheight")*n.bh+"px"});setTimeout(function(){e.css("-webkit-transition",e.data("wan"));e.css("-moz-transition",e.data("moan"));e.css("-ms-transition",e.data("man"));e.css("transition",e.data("ani"))},30);if(e.data("maxheight")!="none")e.css({maxHeight:e.data("maxheight")*n.bh+"px"});if(e.data("maxwidth")!="none")e.css({maxWidth:e.data("maxwidth")*n.bw+"px"})}function W(t,n){t.find(".tp-caption").each(function(t){var r=e(this);if(r.find("iframe").length>0){try{var i=r.find("iframe");var s=i.attr("id");var o=$f(s);o.api("pause");clearTimeout(r.data("timerplay"))}catch(u){}try{var a=r.data("player");a.stopVideo();clearTimeout(r.data("timerplay"))}catch(u){}}if(r.find("video").length>0){try{r.find("video").each(function(t){var n=e(this).parent();var r=n.attr("id");clearTimeout(n.data("timerplay"));videojs(r).ready(function(){var e=this;e.pause()})})}catch(u){}}try{X(r,n,0)}catch(u){}})}function X(n,r,i){var s=n.data("endspeed");if(s==t)s=n.data("speed");s=s/1e3;var o=n.data("endeasing");if(o==t)o=Power1.easeInOut;if(n.hasClass("ltr")||n.hasClass("ltl")||n.hasClass("str")||n.hasClass("stl")||n.hasClass("ltt")||n.hasClass("ltb")||n.hasClass("stt")||n.hasClass("stb")||n.hasClass("skewtoright")||n.hasClass("skewtorightshort")||n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort")){S=0;if(n.hasClass("skewtoright")||n.hasClass("skewtorightshort"))S=35;if(n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort"))S=-35;var u=0;var a=0;if(n.hasClass("ltr")||n.hasClass("skewtoright"))u=r.width+60;else if(n.hasClass("ltl")||n.hasClass("skewtoleft"))u=0-(r.width+60);else if(n.hasClass("ltt"))a=0-(r.height+60);else if(n.hasClass("ltb"))a=r.height+60;else if(n.hasClass("str")||n.hasClass("skewtorightshort")){u=50;oo=0}else if(n.hasClass("stl")||n.hasClass("skewtoleftshort")){u=-50;oo=0}else if(n.hasClass("stt")){a=-50;oo=0}else if(n.hasClass("stb")){a=50;oo=0}if(n.hasClass("skewtorightshort"))u=u+220;if(n.hasClass("skewtoleftshort"))u=u-220;n.data("outanim",TweenLite.to(n,s,{x:u,y:a,scale:1,rotation:0,skewX:S,opacity:0,delay:i,z:0,overwrite:"auto",ease:o,onStart:function(){if(n.data("anim")!=t)n.data("anim").pause()}}))}else if(n.hasClass("randomrotateout")){n.data("outanim",TweenLite.to(n,s,{left:Math.random()*r.width,top:Math.random()*r.height,scale:Math.random()*2+.3,rotation:Math.random()*360-180,z:0,opacity:0,delay:i,ease:o,onStart:function(){if(n.data("anim")!=t)n.data("anim").pause()}}))}else if(n.hasClass("fadeout")){n.data("outanim",TweenLite.to(n,s,{opacity:0,delay:i,ease:o,onStart:function(){if(n.data("anim")!=t)n.data("anim").pause()}}))}else if(n.hasClass("customout")){var f=0,l=0,c=0,h=2,p=1,d=0,v=1,m=1,g=1,y=0,b=0,w=0,E=0,S=0,x=0,T=0,N="center,center",C=300;var k=n.data("customout").split(";");e.each(k,function(e,t){t=t.split(":");var n=t[0],r=t[1];if(n=="rotationX")b=parseInt(r,0);if(n=="rotationY")w=parseInt(r,0);if(n=="rotationZ")E=parseInt(r,0);if(n=="scaleX")m=parseFloat(r);if(n=="scaleY")g=parseFloat(r);if(n=="opacity")T=parseFloat(r);if(n=="skewX")S=parseInt(r,0);if(n=="skewY")x=parseInt(r,0);if(n=="x")l=parseInt(r,0);if(n=="y")c=parseInt(r,0);if(n=="z")h=parseInt(r);if(n=="transformOrigin")N=r;if(n=="transformPerspective")C=parseInt(r,0)});n.data("outanim",TweenLite.to(n,s,{scaleX:m,scaleY:g,rotationX:b,rotationY:w,rotationZ:E,x:l,y:c,z:h,opacity:T,delay:i,ease:o,overwrite:"auto",onStart:function(){if(n.data("anim")!=t)n.data("anim").pause();TweenLite.set(n,{transformPerspective:C,transformOrigin:N,overwrite:"auto"})}}))}else{clearTimeout(n.data("reversetimer"));n.data("reversetimer",setTimeout(function(){n.data("anim").reverse()},i*1e3))}}function V(t,n){t.children().each(function(){try{e(this).die("click")}catch(t){}try{e(this).die("mouseenter")}catch(t){}try{e(this).die("mouseleave")}catch(t){}try{e(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(r){}clearInterval(n.cdint);t=null}function $(n,r){r.cd=0;r.loop=0;if(r.stopAfterLoops!=t&&r.stopAfterLoops>-1)r.looptogo=r.stopAfterLoops;else r.looptogo=9999999;if(r.stopAtSlide!=t&&r.stopAtSlide>-1)r.lastslidetoshow=r.stopAtSlide;else r.lastslidetoshow=999;r.stopLoop="off";if(r.looptogo==0)r.stopLoop="on";if(r.slideamount>1&&!(r.stopAfterLoops==0&&r.stopAtSlide==1)){var i=n.find(".tp-bannertimer");if(i.length>0){i.css({width:"0%"});if(r.videoplaying!=true)i.animate({width:"100%"},{duration:r.delay-100,queue:false,easing:"linear"})}i.data("opt",r);r.cdint=setInterval(function(){if(e("body").find(n).length==0)V(n,r);if(n.data("conthover-changed")==1){r.conthover=n.data("conthover");n.data("conthover-changed",0)}if(r.conthover!=1&&r.videoplaying!=true&&r.width>r.hideSliderAtLimit){r.cd=r.cd+100}if(r.fullWidth!="on")if(r.width>r.hideSliderAtLimit)n.parent().removeClass("tp-hide-revslider");else n.parent().addClass("tp-hide-revslider");if(r.videostartednow==1){n.trigger("revolution.slide.onvideoplay");r.videostartednow=0}if(r.videostoppednow==1){n.trigger("revolution.slide.onvideostop");r.videostoppednow=0}if(r.cd>=r.delay){r.cd=0;r.act=r.next;r.next=r.next+1;if(r.next>n.find(">ul >li").length-1){r.next=0;r.looptogo=r.looptogo-1;if(r.looptogo<=0){r.stopLoop="on"}}if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){clearInterval(r.cdint);n.find(".tp-bannertimer").css({visibility:"hidden"});n.trigger("revolution.slide.onstop")}N(n,r);if(i.length>0){i.css({width:"0%"});if(r.videoplaying!=true)i.animate({width:"100%"},{duration:r.delay-100,queue:false,easing:"linear"})}}},100);n.hover(function(){if(r.onHoverStop=="on"){r.conthover=1;i.stop();n.trigger("revolution.slide.onpause");var s=n.find(">ul >li:eq("+r.next+") .slotholder");s.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t)n.data("kenburn").pause()})}},function(){if(n.data("conthover")!=1){n.trigger("revolution.slide.onresume");r.conthover=0;if(r.onHoverStop=="on"&&r.videoplaying!=true){i.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"})}var s=n.find(">ul >li:eq("+r.next+") .slotholder");s.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t)n.data("kenburn").play()})}})}}e.fn.extend({revolution:function(i){e.fn.revolution.defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",dottedOverlay:"none",forceFullWidth:"off"};i=e.extend({},e.fn.revolution.defaults,i);return this.each(function(){var o=i;if(o.fullWidth!="on"&&o.fullScreen!="on")o.autoHeight="off";if(o.fullScreen=="on")o.autoHeight="on";if(o.fullWidth!="on"&&o.fullScreen!="on")forceFulWidth="off";var u=e(this);if(o.fullWidth=="on"&&o.autoHeight=="off")u.css({maxHeight:o.startheight+"px"});if(s()&&o.hideThumbsOnMobile=="on"&&o.navigationType=="thumb")o.navigationType="none";if(s()&&o.hideBulletsOnMobile=="on"&&o.navigationType=="bullet")o.navigationType="none";if(s()&&o.hideBulletsOnMobile=="on"&&o.navigationType=="both")o.navigationType="none";if(s()&&o.hideArrowsOnMobile=="on")o.navigationArrows="none";if(o.forceFullWidth=="on"){var a=u.parent().offset().left;var f=u.parent().css("marginBottom");var c=u.parent().css("marginTop");if(f==t)f=0;if(c==t)c=0;u.parent().wrap('
');u.closest(".forcefullwidth_wrapper_tp_banner").append('
');u.css({backgroundColor:u.parent().css("backgroundColor"),backgroundImage:u.parent().css("backgroundImage")});u.parent().css({left:0-a+"px",position:"absolute",width:e(window).width()});o.width=e(window).width()}try{if(o.hideThumbsUnderResolution>e(window).width()&&o.hideThumbsUnderResolution!=0){u.parent().find(".tp-bullets.tp-thumbs").css({display:"none"})}else{u.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}}catch(h){}if(!u.hasClass("revslider-initialised")){u.addClass("revslider-initialised");if(u.attr("id")==t)u.attr("id","revslider-"+Math.round(Math.random()*1e3+5));o.firefox13=false;o.ie=!e.support.opacity;o.ie9=document.documentMode==9;var y=e.fn.jquery.split("."),b=parseFloat(y[0]),E=parseFloat(y[1]),S=parseFloat(y[2]||"0");if(b==1&&E<7){u.html('
The Current Version of jQuery:'+y+"
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
")}if(b>1)o.ie=false;if(!e.support.transition)e.fn.transition=e.fn.animate;u.find(".caption").each(function(){e(this).addClass("tp-caption")});if(s()){u.find(".tp-caption").each(function(){if(e(this).data("autoplay")==true)e(this).data("autoplay",false)})}var x=0;var T=0;var C=0;u.find(".tp-caption iframe").each(function(t){try{if(e(this).attr("src").indexOf("you")>0&&x==0){x=1;var n=document.createElement("script");n.src="http://www.youtube.com/player_api";var r=document.getElementsByTagName("script")[0];var i=true;e("head").find("*").each(function(){if(e(this).attr("src")=="http://www.youtube.com/player_api")i=false});if(i)r.parentNode.insertBefore(n,r)}}catch(s){}});u.find(".tp-caption iframe").each(function(t){try{if(e(this).attr("src").indexOf("vim")>0&&T==0){T=1;var n=document.createElement("script");n.src="http://a.vimeocdn.com/js/froogaloop2.min.js";var r=document.getElementsByTagName("script")[0];var i=true;e("head").find("*").each(function(){if(e(this).attr("src")=="http://a.vimeocdn.com/js/froogaloop2.min.js")i=false});if(i)r.parentNode.insertBefore(n,r)}}catch(s){}});u.find(".tp-caption video").each(function(t){try{if(e(this).hasClass("video-js")&&C==0){C=1;var n=document.createElement("script");n.src=o.videoJsPath+"video.js";var r=document.getElementsByTagName("script")[0];var i=true;e("head").find("*").each(function(){if(e(this).attr("src")==o.videoJsPath+"video.js")i=false});if(i){r.parentNode.insertBefore(n,r);e("head").append('<link rel="stylesheet" type="text/css" href="'+o.videoJsPath+'video-js.min.css" media="screen" />');e("head").append('<script> videojs.options.flash.swf = "'+o.videoJsPath+'video-js.swf";</script>')}}}catch(s){}});if(o.shuffle=="on"){for(var k=0;kul:first-child >li").length;k++){var L=Math.round(Math.random()*u.find(">ul:first-child >li").length);u.find(">ul:first-child >li:eq("+L+")").prependTo(u.find(">ul:first-child"))}}o.slots=4;o.act=-1;o.next=0;if(o.startWithSlide!=t)o.next=o.startWithSlide;var A=n("#")[0];if(A.length<9){if(A.split("slide").length>1){var O=parseInt(A.split("slide")[1],0);if(O<1)O=1;if(O>u.find(">ul:first >li").length)O=u.find(">ul:first >li").length;o.next=O-1}}o.origcd=o.delay;o.firststart=1;if(o.navigationHOffset==t)o.navOffsetHorizontal=0;if(o.navigationVOffset==t)o.navOffsetVertical=0;u.append('
');if(u.find(".tp-bannertimer").length==0)u.append('');var M=u.find(".tp-bannertimer");if(M.length>0){M.css({width:"0%"})}u.addClass("tp-simpleresponsive");o.container=u;o.slideamount=u.find(">ul:first >li").length;if(u.height()==0)u.height(o.startheight);if(o.startwidth==t||o.startwidth==0)o.startwidth=u.width();if(o.startheight==t||o.startheight==0)o.startheight=u.height();o.width=u.width();o.height=u.height();o.bw=o.startwidth/u.width();o.bh=o.startheight/u.height();if(o.width!=o.startwidth){o.height=Math.round(o.startheight*(o.width/o.startwidth));u.height(o.height)}if(o.shadow!=0){u.parent().append('
');var a=0;if(o.forceFullWidth=="on")a=0-o.container.parent().offset().left;u.parent().find(".tp-bannershadow").css({width:o.width,left:a})}u.find("ul").css({display:"none"});var _=u;if(o.lazyLoad=="on"){var D=u.find("ul >li >img").first();if(D.data("lazyload")!=t)D.attr("src",D.data("lazyload"));D.data("lazydone",1);_=D.parent()}_.waitForImages(function(){u.find("ul").css({display:"block"});w(u,o);if(o.slideamount>1)p(u,o);if(o.slideamount>1)l(u,o);if(o.slideamount>1)d(u,o);if(o.keyboardNavigation=="on")v(u,o);m(u,o);if(o.hideThumbs>0)g(u,o);u.waitForImages(function(){u.find(".tp-loader").fadeOut(600);setTimeout(function(){N(u,o);if(o.slideamount>1)$(u,o);u.trigger("revolution.slide.onloaded")},600)})});e(window).resize(function(){if(e("body").find(u)!=0)if(o.forceFullWidth=="on"){var t=o.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;o.container.parent().css({left:0-t+"px",width:e(window).width()})}if(u.outerWidth(true)!=o.width){r(u,o)}});try{if(o.hideThumbsUnderResoluition!=0&&o.navigationType=="thumb"){if(o.hideThumbsUnderResoluition>e(window).width())e(".tp-bullets").css({display:"none"});else e(".tp-bullets").css({display:"block"})}}catch(h){}u.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=e("body").find(o.fullScreenOffsetContainer).height()}catch(n){}try{t=t-e(this).data("scrolloffset")}catch(n){}e("body,html").animate({scrollTop:u.offset().top+u.find(">ul >li").height()-t+"px"},{duration:400})})}})},revscroll:function(t){return this.each(function(){var n=e(this);e("body,html").animate({scrollTop:n.offset().top+n.find(">ul >li").height()-t+"px"},{duration:400})})},revredraw:function(t){return this.each(function(){var t=e(this);var n=t.parent().find(".tp-bannertimer");var i=n.data("opt");r(t,i)})},revpause:function(t){return this.each(function(){var t=e(this);t.data("conthover",1);t.data("conthover-changed",1);t.trigger("revolution.slide.onpause");var n=t.parent().find(".tp-bannertimer");n.stop()})},revresume:function(t){return this.each(function(){var t=e(this);t.data("conthover",0);t.data("conthover-changed",1);t.trigger("revolution.slide.onresume");var n=t.parent().find(".tp-bannertimer");var r=n.data("opt");n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"})})},revnext:function(t){return this.each(function(){var t=e(this);t.parent().find(".tp-rightarrow").click()})},revprev:function(t){return this.each(function(){var t=e(this);t.parent().find(".tp-leftarrow").click()})},revmaxslide:function(t){return e(this).find(">ul:first-child >li").length},revcurrentslide:function(t){var n=e(this);var r=n.parent().find(".tp-bannertimer");var i=r.data("opt");return i.act},revlastslide:function(t){var n=e(this);var r=n.parent().find(".tp-bannertimer");var i=r.data("opt");return i.lastslide},revshowslide:function(t){return this.each(function(){var n=e(this);n.data("showus",t);n.parent().find(".tp-rightarrow").click()})}});})(jQuery)

/* ----------------- Start JS Document ----------------- */

var $ = jQuery.noConflict();

// Page Loader $(window).load(function(){ $('#loader').fadeOut(); });

$(document).ready(function($) { "use strict";


/*----------------------------------------------------*/ /* Hidder Header /*----------------------------------------------------*/

var headerEle = function(){ var $headerHeight = $('header').height(); $('.hidden-header').css({ 'height' : $headerHeight + "px" }); };

$(window).load(function () { headerEle(); });

$(window).resize(function () { headerEle(); });



/*----------------------------------------------------*/ /* Nice-Scroll /*----------------------------------------------------*/

$("html").niceScroll({ scrollspeed: 60, mousescrollstep: 38, cursorwidth: 6, cursorborder: 0, cursorcolor: '#111', autohidemode: false, zindex: 9999999, horizrailenabled: false, cursorborderradius: 0, });



/*----------------------------------------------------*/ /* Nav Menu & Search /*----------------------------------------------------*/

$(".nav > li:has(ul)").addClass("drop"); $(".nav > li.drop > ul").addClass("dropdown"); $(".nav > li.drop > ul.dropdown ul").addClass("sup-dropdown");

$('.show-search').click(function() { $('.search-form').fadeIn(300); $('.search-form input').focus(); }); $('.search-form input').blur(function() { $('.search-form').fadeOut(300); });



/*----------------------------------------------------*/ /* Back Top Link /*----------------------------------------------------*/

   var offset = 200;
   var duration = 500;
   $(window).scroll(function() {
       if ($(this).scrollTop() > offset) {
           $('.back-to-top').fadeIn(400);
       } else {
           $('.back-to-top').fadeOut(400);
       }
   });
   $('.back-to-top').click(function(event) {
       event.preventDefault();
       $('html, body').animate({scrollTop: 0}, 600);
       return false;
   })



/*----------------------------------------------------*/ /* Sliders & Carousel /*----------------------------------------------------*/

////------- Touch Slider var time = 4.4, $progressBar, $bar, $elem, isPause, tick, percentTime; $('.touch-slider').each(function(){ var owl = jQuery(this), sliderNav = $(this).attr('data-slider-navigation'), sliderPag = $(this).attr('data-slider-pagination'), sliderProgressBar = $(this).attr('data-slider-progress-bar');

if ( sliderNav == 'false' || sliderNav == '0' ) { var returnSliderNav = false }else { var returnSliderNav = true }

if ( sliderPag == 'true' || sliderPag == '1' ) { var returnSliderPag = true }else { var returnSliderPag = false }

if ( sliderProgressBar == 'true' || sliderProgressBar == '1' ) { var returnSliderProgressBar = progressBar var returnAutoPlay = false }else { var returnSliderProgressBar = false var returnAutoPlay = true }

owl.owlCarousel({ navigation : returnSliderNav, pagination: returnSliderPag, slideSpeed : 400, paginationSpeed : 400, lazyLoad : true, singleItem: true, autoHeight : true, autoPlay: returnAutoPlay, stopOnHover: returnAutoPlay, transitionStyle : "fade", afterInit : returnSliderProgressBar, afterMove : moved, startDragging : pauseOnDragging });

});

   function progressBar(elem){

$elem = elem; buildProgressBar(); start();

   }
   function buildProgressBar(){
$progressBar = $("
",{

id:"progressBar" });

$bar = $("
",{

id:"bar" }); $progressBar.append($bar).prependTo($elem);

   }

function start() { percentTime = 0; isPause = false; tick = setInterval(interval, 10);

   };

   function interval() {

if(isPause === false){ percentTime += 1 / time; $bar.css({ width: percentTime+"%" }); if(percentTime >= 100){ $elem.trigger('owl.next') } }

   }
   function pauseOnDragging(){
     isPause = true;
   }
   function moved(){
     clearTimeout(tick);
     start();
   }


////------- Projects Carousel $(".projects-carousel").owlCarousel({ navigation : true, pagination: false, slideSpeed : 400, stopOnHover: true,

   	autoPlay: 3000,
   	items : 4,
   	itemsDesktopSmall : [900,3],

itemsTablet: [600,2], itemsMobile : [479, 1] });


////------- Testimonials Carousel $(".testimonials-carousel").owlCarousel({ navigation : true, pagination: false, slideSpeed : 2500, stopOnHover: true,

   	autoPlay: 3000,
   	singleItem:true,

autoHeight : true, transitionStyle : "fade" });



////------- Testimonials Carousel $(".fullwidth-projects-carousel").owlCarousel({ navigation : false, pagination: false, slideSpeed : 400, stopOnHover: true,

   	autoPlay: 3000,
   	items : 5,
   	itemsDesktopSmall : [900,3],

itemsTablet: [600,2], itemsMobile : [479, 1] });


////------- Custom Carousel $('.custom-carousel').each(function(){ var owl = jQuery(this), itemsNum = $(this).attr('data-appeared-items'), sliderNavigation = $(this).attr('data-navigation');

if ( sliderNavigation == 'false' || sliderNavigation == '0' ) { var returnSliderNavigation = false }else { var returnSliderNavigation = true } if( itemsNum == 1) { var returndeskitemsNum = 1; var desksmallitemsNum = 1; var tabletitemsNum = 1; } else if (itemsNum >= 2 && itemsNum < 4) { var deskitemsNum = itemsNum; var desksmallitemsNum = itemsNum - 1; var tabletitemsNum = itemsNum - 1; } else if (itemsNum >= 4 && itemsNum < 8) { var deskitemsNum = itemsNum -1; var desksmallitemsNum = itemsNum - 2; var tabletitemsNum = itemsNum - 3; } else { var deskitemsNum = itemsNum -3; var desksmallitemsNum = itemsNum - 6; var tabletitemsNum = itemsNum - 8; } owl.owlCarousel({ slideSpeed : 300, stopOnHover: true, autoPlay: 3000, navigation : returnSliderNavigation, pagination: false, lazyLoad : true, items : itemsNum, itemsDesktop : [1000,deskitemsNum], itemsDesktopSmall : [900,desksmallitemsNum], itemsTablet: [600,tabletitemsNum], itemsMobile : false, transitionStyle : "goDown", }); });



/*----------------------------------------------------*/ /* Tabs /*----------------------------------------------------*/

$('#myTab a').click(function (e) { e.preventDefault() $(this).tab('show') })



/*----------------------------------------------------*/ /* Css3 Transition /*----------------------------------------------------*/

$('*').each(function(){ if($(this).attr('data-animation')) { var $animationName = $(this).attr('data-animation'), $animationDelay = "delay-"+$(this).attr('data-animation-delay'); $(this).appear(function() { $(this).addClass('animated').addClass($animationName); $(this).addClass('animated').addClass($animationDelay); }); } });



/*----------------------------------------------------*/ /* Pie Charts /*----------------------------------------------------*/

var pieChartClass = 'pieChart',

       pieChartLoadedClass = 'pie-chart-loaded';

function initPieCharts() { var chart = $('.' + pieChartClass); chart.each(function() { $(this).appear(function() { var $this = $(this), chartBarColor = ($this.data('bar-color')) ? $this.data('bar-color') : "#F54F36", chartBarWidth = ($this.data('bar-width')) ? ($this.data('bar-width')) : 150 if( !$this.hasClass(pieChartLoadedClass) ) { $this.easyPieChart({ animate: 2000, size: chartBarWidth, lineWidth: 2, scaleColor: false, trackColor: "#eee", barColor: chartBarColor, }).addClass(pieChartLoadedClass); } }); }); } initPieCharts();



/*----------------------------------------------------*/ /* Animation Progress Bars /*----------------------------------------------------*/

$("[data-progress-animation]").each(function() {

var $this = $(this);

$this.appear(function() {

var delay = ($this.attr("data-appear-animation-delay") ? $this.attr("data-appear-animation-delay") : 1);

if(delay > 1) $this.css("animation-delay", delay + "ms");

setTimeout(function() { $this.animate({width: $this.attr("data-progress-animation")}, 800);}, delay);

}, {accX: 0, accY: -50});

});



/*----------------------------------------------------*/ /* Milestone Counter /*----------------------------------------------------*/

jQuery('.milestone-block').each(function() { jQuery(this).appear(function() { var $endNum = parseInt(jQuery(this).find('.milestone-number').text()); jQuery(this).find('.milestone-number').countTo({ from: 0, to: $endNum, speed: 4000, refreshInterval: 60, }); },{accX: 0, accY: 0}); });



/*----------------------------------------------------*/ /* Nivo Lightbox /*----------------------------------------------------*/

$('.lightbox').nivoLightbox({ effect: 'fadeScale', keyboardNav: true, errorMessage: 'The requested content cannot be loaded. Please try again later.' });



/*----------------------------------------------------*/ /* Change Slider Nav Icons /*----------------------------------------------------*/

$('.touch-slider').find('.owl-prev').html('<i class="icon-left-open-big"></i>'); $('.touch-slider').find('.owl-next').html('<i class="icon-right-open-big"></i>'); $('.touch-carousel, .testimonials-carousel').find('.owl-prev').html('<i class="icon-angle-left"></i>'); $('.touch-carousel, .testimonials-carousel').find('.owl-next').html('<i class="icon-angle-right"></i>'); $('.read-more').append('<i class="icon-right-open-mini"></i>');



/*----------------------------------------------------*/ /* Tooltips & Fit Vids & Parallax & Text Animations /*----------------------------------------------------*/

$("body").fitVids();

$('.sh-tooltip').tooltip();

$('.bg-parallax').each(function() { $(this).parallax("30%", 0.2); });

$('.tlt').textillate({ loop: true, in: { effect: 'fadeInUp', delayScale: 2, delay: 50, sync: false, shuffle: false, reverse: true, }, out: { effect: 'fadeOutUp', delayScale: 2, delay: 50, sync: false, shuffle: false, reverse: true, }, });



/*----------------------------------------------------*/ /* Sticky Header /*----------------------------------------------------*/

(function() {

var docElem = document.documentElement, didScroll = false, changeHeaderOn = 100; document.querySelector( 'header' );

function init() { window.addEventListener( 'scroll', function() { if( !didScroll ) { didScroll = true; setTimeout( scrollPage, 250 ); } }, false ); }

function scrollPage() { var sy = scrollY(); if ( sy >= changeHeaderOn ) { $('.top-bar').slideUp(300); $("header").addClass("fixed-header"); $('.navbar-brand').css({ 'padding-top' : 19 + "px", 'padding-bottom' : 19 + "px" });

if (/iPhone|iPod|BlackBerry/i.test(navigator.userAgent) || $(window).width() < 479 ){ $('.navbar-default .navbar-nav > li > a').css({ 'padding-top' : 0 + "px", 'padding-bottom' : 0 + "px" }) }else{ $('.navbar-default .navbar-nav > li > a').css({ 'padding-top' : 20 + "px", 'padding-bottom' : 20 + "px" }) $('.search-side').css({ 'margin-top' : -7 + "px" }); };

} else { $('.top-bar').slideDown(300); $("header").removeClass("fixed-header"); $('.navbar-brand').css({ 'padding-top' : 27 + "px", 'padding-bottom' : 27 + "px" });

if (/iPhone|iPod|BlackBerry/i.test(navigator.userAgent) || $(window).width() < 479 ){ $('.navbar-default .navbar-nav > li > a').css({ 'padding-top' : 0 + "px", 'padding-bottom' : 0 + "px" }) }else{ $('.navbar-default .navbar-nav > li > a').css({ 'padding-top' : 28 + "px", 'padding-bottom' : 28 + "px" }) $('.search-side').css({ 'margin-top' : 0 + "px" }); };

} didScroll = false; }

function scrollY() { return window.pageYOffset || docElem.scrollTop; }

init();


})(); });



/*----------------------------------------------------*/ /* Portfolio Isotope /*----------------------------------------------------*/

jQuery(window).load(function(){

var $container = $('#portfolio'); $container.isotope({ layoutMode : 'masonry', filter: '*', animationOptions: { duration: 750, easing: 'linear', queue: false, } });

$('.portfolio-filter ul a').click(function(){ var selector = $(this).attr('data-filter'); $container.isotope({ filter: selector, animationOptions: { duration: 750, easing: 'linear', queue: false, } }); return false; });

var $optionSets = $('.portfolio-filter ul'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = $(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.portfolio-filter ul'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); });

}); /* ----------------- End JS Document ----------------- */





// Styles Switcher JS function setActiveStyleSheet(title) {

 var i, a, main;
 for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
   if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
     a.disabled = true;
     if(a.getAttribute("title") == title) a.disabled = false;
   }
 }

}

function getActiveStyleSheet() {

 var i, a;
 for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
   if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
 }
 return null;

}

function getPreferredStyleSheet() {

 var i, a;
 for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
   if(a.getAttribute("rel").indexOf("style") != -1
      && a.getAttribute("rel").indexOf("alt") == -1
      && a.getAttribute("title")
      ) return a.getAttribute("title");
 }
 return null;

}

function createCookie(name,value,days) {

 if (days) {
   var date = new Date();
   date.setTime(date.getTime()+(days*24*60*60*1000));
   var expires = "; expires="+date.toGMTString();
 }
 else expires = "";
 document.cookie = name+"="+value+expires+"; path=/";

}

function readCookie(name) {

 var nameEQ = name + "=";
 var ca = document.cookie.split(';');
 for(var i=0;i < ca.length;i++) {
   var c = ca[i];
   while (c.charAt(0)==' ') c = c.substring(1,c.length);
   if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
 }
 return null;

}

window.onload = function(e) {

 var cookie = readCookie("style");
 var title = cookie ? cookie : getPreferredStyleSheet();
 setActiveStyleSheet(title);

}

window.onunload = function(e) {

 var title = getActiveStyleSheet();
 createCookie("style", title, 365);

}

var cookie = readCookie("style"); var title = cookie ? cookie : getPreferredStyleSheet(); setActiveStyleSheet(title);


$(document).ready(function(){

// Styles Switcher $(document).ready(function(){ $('.open-switcher').click(function(){ if($(this).hasClass('show-switcher')) { $('.switcher-box').css({'left': 0}); $('.open-switcher').removeClass('show-switcher'); $('.open-switcher').addClass('hide-switcher'); }else if(jQuery(this).hasClass('hide-switcher')) { $('.switcher-box').css({'left': '-212px'}); $('.open-switcher').removeClass('hide-switcher'); $('.open-switcher').addClass('show-switcher'); } }); });

//Top Bar Switcher $(".topbar-style").change(function(){ if( $(this).val() == 1){ $(".top-bar").removeClass("dark-bar"), $(".top-bar").removeClass("color-bar"), $(window).resize(); } else if( $(this).val() == 2){ $(".top-bar").removeClass("color-bar"), $(".top-bar").addClass("dark-bar"), $(window).resize(); } else if( $(this).val() == 3){ $(".top-bar").removeClass("dark-bar"), $(".top-bar").addClass("color-bar"), $(window).resize(); } });

//Layout Switcher $(".layout-style").change(function(){ if( $(this).val() == 1){ $("#container").removeClass("boxed-page"), $(window).resize(); } else{ $("#container").addClass("boxed-page"), $(window).resize(); } });

//Background Switcher $('.switcher-box .bg-list li a').click(function() { var current = $('.switcher-box select[id=layout-style]').find('option:selected').val(); if(current == '2') { var bg = $(this).css("backgroundImage"); $("body").css("backgroundImage",bg); } else { alert('Please select boxed layout'); } });

});

  • slidebg1
    A Solution
    that we need!
    This is a subheadline text sentence
    Sed ut perspiciatis unde omnis iste natus error sit voluptatem
    accusantium doloremque laudantium, totam rem aperiam.
  • slidebg1
    A Solution
    that we need!
    This is a subheadline text sentence
    Sed ut perspiciatis unde omnis iste natus error sit voluptatem
    accusantium doloremque laudantium, totam rem aperiam.

The Problem

We're finding an alternative, and ultimately non-addictive, solution that can be used in place of today's standard painkillers.

Read more...

The Solution

Based on current research from leaders in the field, we're proposing the genetic modification and replication of the Mambalgin compound.

Read more...

The Process

Utilizing advanced genetic engineering, we've created a unique process by which we can synthesize a new class of pain medications.

Read more...

The Applications

Our research is far reaching and has the potential to completely transform the medical industry with non-addictive pain management.

Read more...

Mamba: An entry into iGEM 2014

Our team from Georgia State University has been working to successfully insert and purify mambalgin, a protein component of the venom of Dendroaspis Polylepis, better known as the Black Mamba. The mambalgin peptide is a powerful analgesic that directly blocks pain transmission in the peripheral nervous system (Diochot et al, 2012) by targeting acid sensing ion channels within nociceptors beneath the epidermis. Furthermore, recombinant purification of mambalgin could assist in developing anti-venom without the attendant risk of harvesting venom directly from snakes.

Read More

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex commodo consequat. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolor laudantium, totam rem aperiam, eaque ipsa quae inventore.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex commodo consequat. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolor laudantium, totam rem aperiam, eaque ipsa quae inventore.

From the Lab

Partners & Sponsors

H4 Title Goes Here

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat.