diff --git a/Asp2017.csproj b/Asp2017.csproj index 46bd2ffa..8bffe8ff 100644 --- a/Asp2017.csproj +++ b/Asp2017.csproj @@ -11,7 +11,8 @@ - + + diff --git a/ClientApp/app/app.component.html b/ClientApp/app/app.component.html index a3e3bf9b..0345c682 100644 --- a/ClientApp/app/app.component.html +++ b/ClientApp/app/app.component.html @@ -1,5 +1,5 @@
- +
diff --git a/ClientApp/app/app.component.scss b/ClientApp/app/app.component.scss index 481063dc..e8dba1c1 100644 --- a/ClientApp/app/app.component.scss +++ b/ClientApp/app/app.component.scss @@ -1,4 +1,4 @@ -$navbar-default-bg: #312312; +$navbar-default-bg: #312312; $light-orange: #ff8c00; $navbar-default-color: $light-orange; @@ -6,7 +6,9 @@ $navbar-default-color: $light-orange; $icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/'; @import "~bootstrap-sass/assets/stylesheets/bootstrap"; +/*@import '~bootstrap/dist/css/bootstrap.min.css';*/ +@import "./css/browser.styles"; /* *** Overall APP Styling can go here *** diff --git a/ClientApp/app/app.component.ts b/ClientApp/app/app.component.ts index 02b91787..7a6a75ed 100644 --- a/ClientApp/app/app.component.ts +++ b/ClientApp/app/app.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit, OnDestroy, Inject, ViewEncapsulation, RendererFactory2, PLATFORM_ID } from '@angular/core'; +import { Component, OnInit, OnDestroy, Inject, ViewEncapsulation, RendererFactory2, PLATFORM_ID, Injector } from '@angular/core'; import { Router, NavigationEnd, ActivatedRoute, PRIMARY_OUTLET } from '@angular/router'; import { Meta, Title, DOCUMENT, MetaDefinition } from '@angular/platform-browser'; import { Subscription } from 'rxjs/Subscription'; @@ -7,10 +7,10 @@ import { LinkService } from './shared/link.service'; // i18n support import { TranslateService } from '@ngx-translate/core'; -import { REQUEST } from './shared/constants/request'; +import { REQUEST } from '@nguniversal/aspnetcore-engine'; @Component({ - selector: 'app', + selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], encapsulation: ViewEncapsulation.None @@ -23,6 +23,7 @@ export class AppComponent implements OnInit, OnDestroy { private defaultPageTitle: string = 'My App'; private routerSub$: Subscription; + private request; constructor( private router: Router, @@ -31,7 +32,7 @@ export class AppComponent implements OnInit, OnDestroy { private meta: Meta, private linkService: LinkService, public translate: TranslateService, - @Inject(REQUEST) private request + private injector: Injector ) { // this language will be used as a fallback when a translation isn't found in the current language translate.setDefaultLang('en'); @@ -39,6 +40,8 @@ export class AppComponent implements OnInit, OnDestroy { // the lang to use, if the lang isn't available, it will use the current loader to get them translate.use('en'); + this.request = this.injector.get(REQUEST); + console.log(`What's our REQUEST Object look like?`); console.log(`The Request object only really exists on the Server, but on the Browser we can at least see Cookies`); console.log(this.request); diff --git a/ClientApp/app/app.module.browser.ts b/ClientApp/app/app.module.browser.ts index ac318d44..3878e8a4 100644 --- a/ClientApp/app/app.module.browser.ts +++ b/ClientApp/app/app.module.browser.ts @@ -1,16 +1,17 @@ -import { NgModule } from '@angular/core'; +import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { APP_BASE_HREF } from '@angular/common'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { ORIGIN_URL } from './shared/constants/baseurl.constants'; +import { ORIGIN_URL, REQUEST } from '@nguniversal/aspnetcore-engine'; import { AppModuleShared } from './app.module'; import { AppComponent } from './app.component'; -import { REQUEST } from './shared/constants/request'; -import { BrowserTransferStateModule } from '../modules/transfer-state/browser-transfer-state.module'; - +import { BrowserTransferStateModule } from '@angular/platform-browser'; import { BrowserPrebootModule } from 'preboot/browser'; +import '../../ClientApp/jquery.plugins/jquery.themepunch.plugins.min.js'; +import '../../ClientApp/jquery.plugins/jquery.themepunch.revolution.min.js'; + export function getOriginUrl() { return window.location.origin; } @@ -23,12 +24,8 @@ export function getRequest() { @NgModule({ bootstrap: [AppComponent], imports: [ - BrowserModule.withServerTransition({ - appId: 'my-app-id' // make sure this matches with your Server NgModule - }), BrowserPrebootModule.replayEvents(), BrowserAnimationsModule, - BrowserTransferStateModule, // Our Common AppModule AppModuleShared diff --git a/ClientApp/app/app.module.server.ts b/ClientApp/app/app.module.server.ts index 9e22b71e..25711851 100644 --- a/ClientApp/app/app.module.server.ts +++ b/ClientApp/app/app.module.server.ts @@ -5,33 +5,28 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { AppModuleShared } from './app.module'; import { AppComponent } from './app.component'; -import { ServerTransferStateModule } from '../modules/transfer-state/server-transfer-state.module'; -import { TransferState } from '../modules/transfer-state/transfer-state'; +import { ServerTransferStateModule } from '@angular/platform-server'; import { ServerPrebootModule } from 'preboot/server'; @NgModule({ bootstrap: [AppComponent], imports: [ - BrowserModule.withServerTransition({ - appId: 'my-app-id' // make sure this matches with your Browser NgModule - }), + // Our Common AppModule + AppModuleShared, + ServerModule, - ServerPrebootModule.recordEvents({ appRoot: 'app' }), + ServerPrebootModule.recordEvents({ appRoot: 'app-root' }), NoopAnimationsModule, - ServerTransferStateModule, - - // Our Common AppModule - AppModuleShared + // HttpTransferCacheModule still needs fixes for 5.0 + // Leave this commented out for now, as it breaks Server-renders + // Looking into fixes for this! - @MarkPieszak + // ServerTransferStateModule // <-- broken for the time-being with ASP.NET ] }) export class AppModule { - constructor(private transferState: TransferState) { } + constructor() { } - // Gotcha (needs to be an arrow function) - ngOnBootstrap = () => { - this.transferState.inject(); - } } diff --git a/ClientApp/app/app.module.ts b/ClientApp/app/app.module.ts index 1c492f1d..c0c9a551 100644 --- a/ClientApp/app/app.module.ts +++ b/ClientApp/app/app.module.ts @@ -2,7 +2,13 @@ import { NgModule, Inject } from '@angular/core'; import { RouterModule, PreloadAllModules } from '@angular/router'; import { CommonModule, APP_BASE_HREF } from '@angular/common'; import { HttpModule, Http } from '@angular/http'; +import { HttpClientModule, HttpClient } from '@angular/common/http'; import { FormsModule } from '@angular/forms'; +import { BrowserModule, BrowserTransferStateModule } from '@angular/platform-browser'; +import { TransferHttpCacheModule } from '@nguniversal/common'; +import { ReactiveFormsModule } from '@angular/forms'; +import { FormlyModule } from '@ngx-formly/core'; +import { FormlyBootstrapModule } from '@ngx-formly/bootstrap'; import { Ng2BootstrapModule } from 'ngx-bootstrap'; @@ -12,21 +18,20 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader'; import { AppComponent } from './app.component'; import { NavMenuComponent } from './components/navmenu/navmenu.component'; +import { CircularJsonPipe } from './components/json-circ/json-circ.pipe'; +import { CoverSlideModuleComponent } from './components/cover-slide-module/cover-slide-module.component'; import { HomeComponent } from './containers/home/home.component'; import { UsersComponent } from './containers/users/users.component'; import { UserDetailComponent } from './components/user-detail/user-detail.component'; import { CounterComponent } from './containers/counter/counter.component'; -// import { ChatComponent } from './containers/chat/chat.component'; import { NotFoundComponent } from './containers/not-found/not-found.component'; import { NgxBootstrapComponent } from './containers/ngx-bootstrap-demo/ngx-bootstrap.component'; import { LinkService } from './shared/link.service'; import { UserService } from './shared/user.service'; -// import { ConnectionResolver } from './shared/route.resolver'; -import { ORIGIN_URL } from './shared/constants/baseurl.constants'; -import { TransferHttpModule } from '../modules/transfer-http/transfer-http.module'; +import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine'; -export function createTranslateLoader(http: Http, baseHref) { +export function createTranslateLoader(http: HttpClient, baseHref) { // Temporary Azure hack if (baseHref === null && typeof window !== 'undefined') { baseHref = window.location.origin; @@ -43,24 +48,33 @@ export function createTranslateLoader(http: Http, baseHref) { UsersComponent, UserDetailComponent, HomeComponent, - // ChatComponent, NotFoundComponent, - NgxBootstrapComponent + NgxBootstrapComponent, + CircularJsonPipe, + CoverSlideModuleComponent ], imports: [ CommonModule, - HttpModule, + BrowserModule.withServerTransition({ + appId: 'my-app-id' // make sure this matches with your Server NgModule + }), + HttpClientModule, + TransferHttpCacheModule, + BrowserTransferStateModule, + + FormsModule, + ReactiveFormsModule, + FormlyModule.forRoot(), + FormlyBootstrapModule, Ng2BootstrapModule.forRoot(), // You could also split this up if you don't want the Entire Module imported - TransferHttpModule, // Our Http TransferData method - // i18n support TranslateModule.forRoot({ loader: { provide: TranslateLoader, useFactory: (createTranslateLoader), - deps: [Http, [ORIGIN_URL]] + deps: [HttpClient, [ORIGIN_URL]] } }), @@ -145,9 +159,9 @@ export function createTranslateLoader(http: Http, baseHref) { providers: [ LinkService, UserService, - // ConnectionResolver, TranslateModule - ] + ], + bootstrap: [AppComponent] }) export class AppModuleShared { } diff --git a/ClientApp/app/components/cover-slide-module/cover-slide-module.component.html b/ClientApp/app/components/cover-slide-module/cover-slide-module.component.html new file mode 100644 index 00000000..ea2f027e --- /dev/null +++ b/ClientApp/app/components/cover-slide-module/cover-slide-module.component.html @@ -0,0 +1,350 @@ +
+ + +
+ + +
+
+
    + + +
  • + + slidebg1 + + +
    + New Zealand Tax
    Solutions +
    + + +
    + Paid Taxes in New Zealand or you need a tax number? +
    + + +
    + This is the right place for you! + +
    + + + + + + + + +
    + +
    + +
  • + + +
  • + + slidebg2 + + +
    + Easy to use online process +
    + + +
    + Takes less than 10 minutes to finish the process +
    + + +
    + Adaptive form asking only the details relevant for you +
    + + +
    + Free online calculator +
    + + +
    + Maximum refund legally possible +
    + + +
    + Flat fee (no additional hidden fees) +
    + + +
    + Access our website from any device +
    + + +
    + Always know the stage of your application +
    + + +
    + Secure 128-bit encrypted SSL link +
    + + +
    + +
    + + +
    + +
    + +
  • + + +
  • + + slidebg3 + + +
    + Australian Tax Solutions +
    + + +
    + Worked in Australia? With our refunds averaging $2000 +
    + + +
    + You are at the right place. We will help you too. +
    + + + + + + + + +
    + +
    + + +
    + +
    + +
  • + +
+ +
+
+ + + + + +
+ + +
diff --git a/ClientApp/app/components/cover-slide-module/cover-slide-module.component.scss b/ClientApp/app/components/cover-slide-module/cover-slide-module.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/ClientApp/app/components/cover-slide-module/cover-slide-module.component.ts b/ClientApp/app/components/cover-slide-module/cover-slide-module.component.ts new file mode 100644 index 00000000..a7df8712 --- /dev/null +++ b/ClientApp/app/components/cover-slide-module/cover-slide-module.component.ts @@ -0,0 +1,162 @@ +import { Component, OnInit, Inject, PLATFORM_ID, ElementRef, AfterViewInit, AfterContentInit } from '@angular/core'; +import { isPlatformBrowser, isPlatformServer } from '@angular/common'; +import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine'; +import { ActivatedRoute } from '@angular/router' + +declare var $: any; + +@Component({ + selector: 'app-cover-slide-module', + templateUrl: './cover-slide-module.component.html', + styleUrls: ['./cover-slide-module.component.scss'] +}) +export class CoverSlideModuleComponent implements OnInit, AfterViewInit { + + constructor( + @Inject(ORIGIN_URL) public baseUrl: string, + private route: ActivatedRoute, + @Inject(PLATFORM_ID) private platformId: Object, + private elementRef: ElementRef) { } + + urls: any = { + "base": `${this.baseUrl}`, + "socialNetworks": { + "faceBook": "https://www.facebook.com/GetTaxSolutions.Tax.Refund/", + "twitter": "https://twitter.com/GetTaxSolution", + "gPlus": "https://business.google.com/b/109044652006131958539/dashboard", + "linkedIn": "https://www.linkedin.com/in/gettaxsolutions-corp-146804122?trk=nav_responsive_tab_profile", + "tumblr": "https://gettaxsolutions.tumblr.com" + }, + "aboutUs": "/about-us", + "aboutUsMsg": "about-us", + "ourFees": "/tax-refundable/our-fees", + "ourFeesMsg": "Check Our Fees Section for more details", + "termAndConditions": "/tax-back/term-and-conditions", + "termAndConditionsMsg": "GetTaxSolutions Terms and Conditions", + "docManagementPolicy": "/tax-back/doc-management-policy", + "docManagementPolicyMsg": "GetTaxSolutions Documents Management Policy", + "privacyPolicy": "/tax-refund/privacy-policy", + "privacyPolicyMsg": "GetTaxSolutions Privacy Policy", + "cookiesPolicy": "/tax-refund/cookies-policy", + "cookiesPolicyMsg": "GetTaxSolutions Cookies Policy", + "account": { + "login": "/login", + "register": "/register" + }, + "footer": "#footer", + "services": { + "profile": { + "all": "/refundable-taxes/services", + "allMsg": "Check our Australian & New Zealand Tax Refund Solutions", + "au": "/refundable-taxes/services/australia", + "auMsg": "Our Australian Tax Refund Services – Australian Tax return, Superannuation refund, TFN and ABN", + "nz": "/refundable-taxes/services/new-zealand", + "nzMsg": "Our New Zealand Tax Refund Services – New Zealand Tax return & IRD Number assistance" + }, + "australian": { + "itr": { + "url": "/refund/australia/income-tax-return-itr", + "form": "/support-form", + "msg": "Free Estimation if you are due a tax Refund from Australia", + "faq": "/faq" + }, + "superannuation": { + "url": "/refund/australia/superannuation", + "form": "/support-form", + "msg": "Australian Superannuation Refund Application", + "faq": "/faq" + }, + + "tfn": { + "url": "/refund/australia/tax-file-number-tfn", + "form": "/support-form", + "msg": "Apply for Tax File Number with us.", + "faq": "/faq" + }, + + "abn": { + "url": "/refund/australia/business-number-abn", + "form": "/support-form", + "msg": "Apply for ABN with us", + "faq": "/faq" + } + }, + "newZeanland": { + "itr": { + "url": "/refund/new-zealand/income-tax-return-itr", + "form": "/support-form", + "msg": "Free Estimation if you are due a New Zealand Tax Refund", + "faq": "/faq" + }, + "ird": { + "url": "/refund/new-zealand/ird-number", + "form": "/support-form", + "msg": "Apply for IRD Number with us", + "faq": "/faq" + } + } + } + }; + + ngOnInit() { + + } + + + ngAfterViewInit() { + try { + if (isPlatformBrowser(this.platformId)) { + var revapi: any; + revapi = $('.fullwidthbanner').revolution({ + + delay: 9000, + startwidth: 1140, + startheight: 450, + hideThumbs: 200, + + thumbWidth: 100, + thumbHeight: 50, + thumbAmount: 3, + + navigationType: "none", + navigationArrows: "solo", + navigationStyle: "round", + + touchenabled: "on", + onHoverStop: "on", + + navigationHAlign: "center", + navigationVAlign: "bottom", + navigationHOffset: 0, + navigationVOffset: 20, + + soloArrowLeftHalign: "left", + soloArrowLeftValign: "center", + soloArrowLeftHOffset: 20, + soloArrowLeftVOffset: 0, + + soloArrowRightHalign: "right", + soloArrowRightValign: "center", + soloArrowRightHOffset: 20, + soloArrowRightVOffset: 0, + + shadow: 0, + fullWidth: "on", + fullScreen: "off", + lazyLoad: "on", + + stopLoop: "off", + stopAfterLoops: -1, + stopAtSlide: -1, + + shuffle: "off", + + hideSliderAtLimit: 0, + hideCaptionAtLimit: 0, + hideAllCaptionAtLilmit: 0, + startWithSlide: 0 + }); + } + } catch (e) { alert('Error'); } + } +} diff --git a/ClientApp/app/components/json-circ/json-circ.pipe.ts b/ClientApp/app/components/json-circ/json-circ.pipe.ts new file mode 100644 index 00000000..6b2bda09 --- /dev/null +++ b/ClientApp/app/components/json-circ/json-circ.pipe.ts @@ -0,0 +1,11 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import * as JSON from 'circular-json'; + +@Pipe({ name: 'circularJson' }) +export class CircularJsonPipe implements PipeTransform { + + public transform(obj: any): string { + return JSON.stringify(obj, null, 2); + } + +} diff --git a/ClientApp/app/components/navmenu/navmenu.component.html b/ClientApp/app/components/navmenu/navmenu.component.html index bd6eadda..08e1b0fc 100644 --- a/ClientApp/app/components/navmenu/navmenu.component.html +++ b/ClientApp/app/components/navmenu/navmenu.component.html @@ -8,7 +8,7 @@ - Angular 4 Universal & ASP.NET Core + Angular 5 Universal & ASP.NET Core
diff --git a/ClientApp/app/components/navmenu/navmenu.component.ts b/ClientApp/app/components/navmenu/navmenu.component.ts index ac36f036..fb0cf22c 100644 --- a/ClientApp/app/components/navmenu/navmenu.component.ts +++ b/ClientApp/app/components/navmenu/navmenu.component.ts @@ -1,23 +1,23 @@ import { Component } from '@angular/core'; @Component({ - selector: 'nav-menu', + selector: 'app-nav-menu', templateUrl: './navmenu.component.html', styleUrls: ['./navmenu.component.css'] }) export class NavMenuComponent { - collapse: string = "collapse"; + collapse: string = 'collapse'; collapseNavbar(): void { if (this.collapse.length > 1) { - this.collapse = ""; + this.collapse = ''; } else { - this.collapse = "collapse"; + this.collapse = 'collapse'; } } collapseMenu() { - this.collapse = "collapse" + this.collapse = 'collapse'; } } diff --git a/ClientApp/app/components/user-detail/user-detail.component.ts b/ClientApp/app/components/user-detail/user-detail.component.ts index 9db88355..d21d3415 100644 --- a/ClientApp/app/components/user-detail/user-detail.component.ts +++ b/ClientApp/app/components/user-detail/user-detail.component.ts @@ -3,7 +3,7 @@ import { IUser } from '../../models/User'; import { UserService } from '../../shared/user.service'; @Component({ - selector: 'user-detail', + selector: 'app-user-detail', templateUrl: './user-detail.component.html' }) export class UserDetailComponent { diff --git a/ClientApp/app/containers/counter/counter.component.html b/ClientApp/app/containers/counter/counter.component.html index cc2bbd59..bb802df8 100644 --- a/ClientApp/app/containers/counter/counter.component.html +++ b/ClientApp/app/containers/counter/counter.component.html @@ -5,3 +5,35 @@

Counter

Current count: {{ currentCount }}

+ +
+ +

==================================Form============================

+
+
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+
+
+
FORM DATA:
+
{{userMessageModel | json}}

+

Form

+
{{cform | json}}
+

Fields

+
{{ userMessageFields | circularJson }}
+

Options

+
{{userOptions | circularJson}}
diff --git a/ClientApp/app/containers/counter/counter.component.ts b/ClientApp/app/containers/counter/counter.component.ts index 69de17d9..2786b959 100644 --- a/ClientApp/app/containers/counter/counter.component.ts +++ b/ClientApp/app/containers/counter/counter.component.ts @@ -1,7 +1,9 @@ import { Component } from '@angular/core'; +import { FormGroup } from '@angular/forms'; +import { FormlyFieldConfig } from '@ngx-formly/core'; @Component({ - selector: 'counter', + selector: 'app-counter', templateUrl: './counter.component.html' }) export class CounterComponent { @@ -10,4 +12,49 @@ export class CounterComponent { public incrementCounter() { this.currentCount++; } + + cform = new FormGroup({}); + + userMessageModel: any = {}; // { Email: "", Comment: "", Name: "", Id: 1 }; + + userOptions = { + formState: { + myState: 'State' + } + }; + + userMessageFields: Array = [ + { + type: 'input', + key: 'Email', + templateOptions: { + label: 'Email', + required: true, + width: 6 + } + }, + { + type: 'input', + key: 'Name', + templateOptions: { + label: 'Name', + required: true, + width: 6 + } + }, + { + type: 'textarea', + key: 'Comment', + templateOptions: { + label: 'Add Your Comment', + required: true, + width: 12, + rows: 10 + } + } + ]; + + sendUserMessage(userMessageModel) { + console.log(userMessageModel); + } } diff --git a/ClientApp/app/containers/home/home.component.html b/ClientApp/app/containers/home/home.component.html index 06d801e7..b00c395d 100644 --- a/ClientApp/app/containers/home/home.component.html +++ b/ClientApp/app/containers/home/home.component.html @@ -1,18 +1,22 @@ -

{{ title }}

+

{{ title }}

- Enjoy the latest features from .NET Core & Angular 4.0! + Enjoy the latest features from .NET Core & Angular 5.0!
For more info check the repo here: AspNetCore-Angular2-Universal repo

+ + + +

{{ 'HOME_FEATURE_LIST_TITLE' | translate }}

  • ASP.NET Core 2.0 :: ( Visual Studio 2017 )
  • - Angular 4.* front-end UI framework + Angular 5.* front-end UI framework
    • Angular **platform-server** (aka: Universal) - server-side rendering for SEO, deep-linking, and incredible performance.
    • @@ -22,17 +26,10 @@

      {{ 'HOME_FEATURE_LIST_TITLE' | translate }}

    • The latest TypeScript 2.* features -
    • Webpack
        -
      • Hot Module Reloading/Replacement for an amazing development experience.
      • Tree-shaking
      @@ -40,7 +37,6 @@

      {{ 'HOME_FEATURE_LIST_TITLE' | translate }}

    • Bootstrap (ngx-bootstrap) : Bootstrap capable of being rendered even on the server.
    • Unit testing via karma & jasmine.
    • -
diff --git a/ClientApp/app/containers/home/home.component.ts b/ClientApp/app/containers/home/home.component.ts index 3065c0b1..ff10f2d4 100644 --- a/ClientApp/app/containers/home/home.component.ts +++ b/ClientApp/app/containers/home/home.component.ts @@ -8,7 +8,7 @@ import { TranslateService } from '@ngx-translate/core'; }) export class HomeComponent implements OnInit { - title: string = 'Angular 4.0 Universal & ASP.NET Core 2.0 advanced starter-kit'; + title: string = 'Angular 5.x Universal & ASP.NET Core 2.0 advanced starter-kit'; // Use "constructor"s only for dependency injection constructor( diff --git a/ClientApp/app/containers/lazy/lazy.component.ts b/ClientApp/app/containers/lazy/lazy.component.ts index 25d6d1a4..97d260fd 100644 --- a/ClientApp/app/containers/lazy/lazy.component.ts +++ b/ClientApp/app/containers/lazy/lazy.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; @Component({ - selector: 'lazy-view', + selector: 'app-lazy-view', template: `

Lazy-Loaded Component!

diff --git a/ClientApp/app/containers/not-found/not-found.component.ts b/ClientApp/app/containers/not-found/not-found.component.ts index e39faa05..c59a5f8f 100644 --- a/ClientApp/app/containers/not-found/not-found.component.ts +++ b/ClientApp/app/containers/not-found/not-found.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'not-found', + selector: 'app-not-found', templateUrl: './not-found.component.html' }) export class NotFoundComponent implements OnInit { diff --git a/ClientApp/app/containers/users/users.component.html b/ClientApp/app/containers/users/users.component.html index 5bb77691..1e661476 100644 --- a/ClientApp/app/containers/users/users.component.html +++ b/ClientApp/app/containers/users/users.component.html @@ -26,4 +26,4 @@

Users

- + diff --git a/ClientApp/app/containers/users/users.component.ts b/ClientApp/app/containers/users/users.component.ts index 9dd28781..35cc8517 100644 --- a/ClientApp/app/containers/users/users.component.ts +++ b/ClientApp/app/containers/users/users.component.ts @@ -7,7 +7,7 @@ import { IUser } from '../../models/User'; import { UserService } from '../../shared/user.service'; @Component({ - selector: 'users', + selector: 'app-users', templateUrl: './users.component.html', styleUrls: ['./users.component.css'], animations: [ @@ -31,15 +31,16 @@ export class UsersComponent implements OnInit { selectedUser: IUser; // Use "constructor"s only for dependency injection - constructor(private userService: UserService) { } + constructor( + private userService: UserService + ) { } // Here you want to handle anything with @Input()'s @Output()'s // Data retrieval / etc - this is when the Component is "ready" and wired up ngOnInit() { this.userService.getUsers().subscribe(result => { - console.log('Get user result: ', result); - console.log('TransferHttp [GET] /api/users/allresult', result); - this.users = result as IUser[]; + console.log('HttpClient [GET] /api/users/allresult', result); + this.users = result; }); } @@ -50,10 +51,8 @@ export class UsersComponent implements OnInit { deleteUser(user) { this.userService.deleteUser(user).subscribe(result => { console.log('Delete user result: ', result); - if (result.ok) { - let position = this.users.indexOf(user); - this.users.splice(position, 1); - } + let position = this.users.indexOf(user); + this.users.splice(position, 1); }, error => { console.log(`There was an issue. ${error._body}.`); }); @@ -62,9 +61,7 @@ export class UsersComponent implements OnInit { addUser(newUserName) { this.userService.addUser(newUserName).subscribe(result => { console.log('Post user result: ', result); - if (result.ok) { - this.users.push(result.json()); - } + this.users.push(result); }, error => { console.log(`There was an issue. ${error._body}.`); }); diff --git a/ClientApp/app/css/animate.scss b/ClientApp/app/css/animate.scss new file mode 100644 index 00000000..d4b92d9c --- /dev/null +++ b/ClientApp/app/css/animate.scss @@ -0,0 +1,3591 @@ +.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; +} diff --git a/ClientApp/app/css/assets/arrow_large_left.png b/ClientApp/app/css/assets/arrow_large_left.png new file mode 100644 index 00000000..d0e0f427 Binary files /dev/null and b/ClientApp/app/css/assets/arrow_large_left.png differ diff --git a/ClientApp/app/css/assets/arrow_large_right.png b/ClientApp/app/css/assets/arrow_large_right.png new file mode 100644 index 00000000..c1c23e3e Binary files /dev/null and b/ClientApp/app/css/assets/arrow_large_right.png differ diff --git a/ClientApp/app/css/assets/arrow_left.png b/ClientApp/app/css/assets/arrow_left.png new file mode 100644 index 00000000..b71957fa Binary files /dev/null and b/ClientApp/app/css/assets/arrow_left.png differ diff --git a/ClientApp/app/css/assets/arrow_left2.png b/ClientApp/app/css/assets/arrow_left2.png new file mode 100644 index 00000000..b5694484 Binary files /dev/null and b/ClientApp/app/css/assets/arrow_left2.png differ diff --git a/ClientApp/app/css/assets/arrow_right.png b/ClientApp/app/css/assets/arrow_right.png new file mode 100644 index 00000000..76f81f51 Binary files /dev/null and b/ClientApp/app/css/assets/arrow_right.png differ diff --git a/ClientApp/app/css/assets/arrow_right2.png b/ClientApp/app/css/assets/arrow_right2.png new file mode 100644 index 00000000..c6a27262 Binary files /dev/null and b/ClientApp/app/css/assets/arrow_right2.png differ diff --git a/ClientApp/app/css/assets/arrowleft.png b/ClientApp/app/css/assets/arrowleft.png new file mode 100644 index 00000000..2e7daf8e Binary files /dev/null and b/ClientApp/app/css/assets/arrowleft.png differ diff --git a/ClientApp/app/css/assets/arrowright.png b/ClientApp/app/css/assets/arrowright.png new file mode 100644 index 00000000..0702b883 Binary files /dev/null and b/ClientApp/app/css/assets/arrowright.png differ diff --git a/ClientApp/app/css/assets/arrows.psd b/ClientApp/app/css/assets/arrows.psd new file mode 100644 index 00000000..ade2810a Binary files /dev/null and b/ClientApp/app/css/assets/arrows.psd differ diff --git a/ClientApp/app/css/assets/black50.png b/ClientApp/app/css/assets/black50.png new file mode 100644 index 00000000..01e9141d Binary files /dev/null and b/ClientApp/app/css/assets/black50.png differ diff --git a/ClientApp/app/css/assets/boxed_bgtile.png b/ClientApp/app/css/assets/boxed_bgtile.png new file mode 100644 index 00000000..7068133b Binary files /dev/null and b/ClientApp/app/css/assets/boxed_bgtile.png differ diff --git a/ClientApp/app/css/assets/bullet.png b/ClientApp/app/css/assets/bullet.png new file mode 100644 index 00000000..1203f8ad Binary files /dev/null and b/ClientApp/app/css/assets/bullet.png differ diff --git a/ClientApp/app/css/assets/bullet_boxed.png b/ClientApp/app/css/assets/bullet_boxed.png new file mode 100644 index 00000000..7e28118f Binary files /dev/null and b/ClientApp/app/css/assets/bullet_boxed.png differ diff --git a/ClientApp/app/css/assets/bullets.png b/ClientApp/app/css/assets/bullets.png new file mode 100644 index 00000000..eca59779 Binary files /dev/null and b/ClientApp/app/css/assets/bullets.png differ diff --git a/ClientApp/app/css/assets/bullets.psd b/ClientApp/app/css/assets/bullets.psd new file mode 100644 index 00000000..181523b6 Binary files /dev/null and b/ClientApp/app/css/assets/bullets.psd differ diff --git a/ClientApp/app/css/assets/bullets2.png b/ClientApp/app/css/assets/bullets2.png new file mode 100644 index 00000000..bf3c7f21 Binary files /dev/null and b/ClientApp/app/css/assets/bullets2.png differ diff --git a/ClientApp/app/css/assets/coloredbg.png b/ClientApp/app/css/assets/coloredbg.png new file mode 100644 index 00000000..db75b7a1 Binary files /dev/null and b/ClientApp/app/css/assets/coloredbg.png differ diff --git a/ClientApp/app/css/assets/grain.png b/ClientApp/app/css/assets/grain.png new file mode 100644 index 00000000..d892efe4 Binary files /dev/null and b/ClientApp/app/css/assets/grain.png differ diff --git a/ClientApp/app/css/assets/gridtile.png b/ClientApp/app/css/assets/gridtile.png new file mode 100644 index 00000000..b07e3964 Binary files /dev/null and b/ClientApp/app/css/assets/gridtile.png differ diff --git a/ClientApp/app/css/assets/gridtile_3x3.png b/ClientApp/app/css/assets/gridtile_3x3.png new file mode 100644 index 00000000..6f2c31d5 Binary files /dev/null and b/ClientApp/app/css/assets/gridtile_3x3.png differ diff --git a/ClientApp/app/css/assets/gridtile_3x3_white.png b/ClientApp/app/css/assets/gridtile_3x3_white.png new file mode 100644 index 00000000..a8830fcb Binary files /dev/null and b/ClientApp/app/css/assets/gridtile_3x3_white.png differ diff --git a/ClientApp/app/css/assets/gridtile_white.png b/ClientApp/app/css/assets/gridtile_white.png new file mode 100644 index 00000000..7f2599ef Binary files /dev/null and b/ClientApp/app/css/assets/gridtile_white.png differ diff --git a/ClientApp/app/css/assets/large_left.png b/ClientApp/app/css/assets/large_left.png new file mode 100644 index 00000000..896d084f Binary files /dev/null and b/ClientApp/app/css/assets/large_left.png differ diff --git a/ClientApp/app/css/assets/large_right.png b/ClientApp/app/css/assets/large_right.png new file mode 100644 index 00000000..43db6f67 Binary files /dev/null and b/ClientApp/app/css/assets/large_right.png differ diff --git a/ClientApp/app/css/assets/loader.gif b/ClientApp/app/css/assets/loader.gif new file mode 100644 index 00000000..53dd589f Binary files /dev/null and b/ClientApp/app/css/assets/loader.gif differ diff --git a/ClientApp/app/css/assets/loader2.gif b/ClientApp/app/css/assets/loader2.gif new file mode 100644 index 00000000..4ec1dda3 Binary files /dev/null and b/ClientApp/app/css/assets/loader2.gif differ diff --git a/ClientApp/app/css/assets/navigdots.png b/ClientApp/app/css/assets/navigdots.png new file mode 100644 index 00000000..3c0ea2f5 Binary files /dev/null and b/ClientApp/app/css/assets/navigdots.png differ diff --git a/ClientApp/app/css/assets/navigdots_bgtile.png b/ClientApp/app/css/assets/navigdots_bgtile.png new file mode 100644 index 00000000..84f1c287 Binary files /dev/null and b/ClientApp/app/css/assets/navigdots_bgtile.png differ diff --git a/ClientApp/app/css/assets/shadow1.png b/ClientApp/app/css/assets/shadow1.png new file mode 100644 index 00000000..55293a19 Binary files /dev/null and b/ClientApp/app/css/assets/shadow1.png differ diff --git a/ClientApp/app/css/assets/shadow2.png b/ClientApp/app/css/assets/shadow2.png new file mode 100644 index 00000000..8d0f298b Binary files /dev/null and b/ClientApp/app/css/assets/shadow2.png differ diff --git a/ClientApp/app/css/assets/shadow3.png b/ClientApp/app/css/assets/shadow3.png new file mode 100644 index 00000000..2ceccf84 Binary files /dev/null and b/ClientApp/app/css/assets/shadow3.png differ diff --git a/ClientApp/app/css/assets/small_arrows.psd b/ClientApp/app/css/assets/small_arrows.psd new file mode 100644 index 00000000..5a60813e Binary files /dev/null and b/ClientApp/app/css/assets/small_arrows.psd differ diff --git a/ClientApp/app/css/assets/small_left.png b/ClientApp/app/css/assets/small_left.png new file mode 100644 index 00000000..0fb36a64 Binary files /dev/null and b/ClientApp/app/css/assets/small_left.png differ diff --git a/ClientApp/app/css/assets/small_left_boxed.png b/ClientApp/app/css/assets/small_left_boxed.png new file mode 100644 index 00000000..59cd3bc0 Binary files /dev/null and b/ClientApp/app/css/assets/small_left_boxed.png differ diff --git a/ClientApp/app/css/assets/small_right.png b/ClientApp/app/css/assets/small_right.png new file mode 100644 index 00000000..b83563a4 Binary files /dev/null and b/ClientApp/app/css/assets/small_right.png differ diff --git a/ClientApp/app/css/assets/small_right_boxed.png b/ClientApp/app/css/assets/small_right_boxed.png new file mode 100644 index 00000000..d89a0954 Binary files /dev/null and b/ClientApp/app/css/assets/small_right_boxed.png differ diff --git a/ClientApp/app/css/assets/timer.png b/ClientApp/app/css/assets/timer.png new file mode 100644 index 00000000..8e2ee79a Binary files /dev/null and b/ClientApp/app/css/assets/timer.png differ diff --git a/ClientApp/app/css/assets/timerdot.png b/ClientApp/app/css/assets/timerdot.png new file mode 100644 index 00000000..0174d3d6 Binary files /dev/null and b/ClientApp/app/css/assets/timerdot.png differ diff --git a/ClientApp/app/css/assets/transparent.jpg b/ClientApp/app/css/assets/transparent.jpg new file mode 100644 index 00000000..f0e511b2 Binary files /dev/null and b/ClientApp/app/css/assets/transparent.jpg differ diff --git a/ClientApp/app/css/assets/white50.png b/ClientApp/app/css/assets/white50.png new file mode 100644 index 00000000..32426051 Binary files /dev/null and b/ClientApp/app/css/assets/white50.png differ diff --git a/ClientApp/app/css/browser.styles.scss b/ClientApp/app/css/browser.styles.scss new file mode 100644 index 00000000..1002cb35 --- /dev/null +++ b/ClientApp/app/css/browser.styles.scss @@ -0,0 +1,7 @@ +/*@import "./gts-nav-wizard.css";*/ +@import "./settings"; +@import "./style"; +@import "./responsive"; +@import "./animate"; +@import "./colors/blue"; +@import "./fontello"; diff --git a/ClientApp/app/css/carousel/owl.carousel.theme.css b/ClientApp/app/css/carousel/owl.carousel.theme.css new file mode 100644 index 00000000..3530917f --- /dev/null +++ b/ClientApp/app/css/carousel/owl.carousel.theme.css @@ -0,0 +1,242 @@ +/* +* Owl Carousel Owl Theme +*/ + +.owl-theme { + text-align: center; +} + +/* Styling Next and Prev buttons */ + +.touch-slider .owl-nav div { + position: absolute; + top: 50%; + height: 60px; + line-height: 60px; + display: inline-block; + zoom: 1; + padding: 0 1px; + *display: inline; + border-radius: 50%; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + -o-border-radius: 50%; + background: #444; + filter: Alpha(Opacity=60); + 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-nav div { + filter: Alpha(Opacity=100); + opacity: 1; +} + +.touch-slider .owl-nav 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-nav 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-nav div i { + font-size: 1.8em; + color: #fff; +} + +.touch-slider .owl-nav div:hover { + background-color: #00afd1; +} + +.touch-carousel .owl-nav { + position: absolute; + top: -50px; + right: 2px; +} + +.touch-carousel.projects-carousel .owl-nav { + right: 12px; +} + +.touch-carousel.navigation-2 .owl-nav { + position: relative; + top: 0; + right: 0; +} + +.touch-carousel.navigation-2.clients-carousel .owl-nav { + top: -8px; +} + +.touch-carousel.navigation-2 .owl-nav div, .touch-carousel.navigation-3 .owl-nav div { + background-color: #f2f2f2; +} + +.touch-carousel.navigation-2 .owl-nav div i, .touch-carousel.navigation-3 .owl-nav 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-nav { + position: absolute; + top: 0; + right: 0; + width: 100%; +} + +.touch-carousel.navigation-2 .owl-nav div, .touch-carousel.navigation-3 .owl-nav 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-nav { + right: 9px; +} + +.touch-carousel .owl-nav div, .testimonials-carousel .owl-nav div { + height: 22px; + width: 22px; + line-height: 22px; + display: inline-block; + zoom: 1; + *display: inline; + -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-nav div i, .testimonials-carousel .owl-nav 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-nav div i { + color: #fff; +} + +.touch-carousel .owl-nav div:hover i { + color: #fff; + text-shadow: 0 1px 1px rgba(0,0,0,.3); +} + +.testimonials-carousel .owl-nav div:hover { + background-color: #fff; + box-shadow: 0 1px 1px rgba(0,0,0,.2); +} + + +/* Styling Pagination*/ + +.owl-dots { + position: absolute; + width: 100%; + left: 0; + bottom: 5px; +} + +.owl-theme .owl-dot { + display: inline-block; + zoom: 1; + *display: inline; +} + +.owl-theme .owl-dot span { + display: block; + width: 16px; + height: 16px; + margin: 2px 4px; + filter: Alpha(Opacity=50); + 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-dot span { + filter: Alpha(Opacity=100); + opacity: 1; +} + +.owl-theme .owl-dot.active span, +.owl-theme .owl-dot:hover span { + border-color: #0A95D8; +} + +/* If PaginationNumbers is true */ +.owl-theme .owl-dot 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; +} + +/* +#bar { + width: 0%; + max-width: 100%; + height: 4px; + background: #444; + filter: Alpha(Opacity=50); + opacity: 0.5; +} + +#progressBar { + position: absolute; + top: 0; + z-index: 99; + width: 100%; +}*/ + +/* preloading images */ +/*.owl-item.loading { + min-height: 150px; + background: url(./css/images/icons/ajaxloader.gif) no-repeat center center +}*/ diff --git a/ClientApp/app/css/colors/beige.css b/ClientApp/app/css/colors/beige.css new file mode 100644 index 00000000..eee537c1 --- /dev/null +++ b/ClientApp/app/css/colors/beige.css @@ -0,0 +1,309 @@ +a { + color: #fdb655; +} + +.accent-color { + color: #fdb655; +} + +.accent-color-bg { + background-color: #fdb655; +} + +.top-bar a:hover { + color: #fdb655; +} + +.section-overlay { + background-color: #fdb655; +} + +.top-bar.color-bar { + background-color: #fdb655; +} + +.service-box .read-more { + color: #fdb655; +} + +a.main-button, input[type="submit"] { + background-color: #fdb655; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #fdb655; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #fdb655; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #fdb655; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #fdb655; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #fdb655; +} + +ul.breadcrumbs li a:hover { + color: #fdb655; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #fdb655; +} + +.tp-caption.color-bg { + background-color: #fdb655; +} + +.team-member .member-socail a.mail:hover i { + background-color: #fdb655; +} + +.post-share a.mail:hover { + background-color: #fdb655; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #fdb655; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #fdb655; +} + +.latest-posts-classic .post-title a:hover { + color: #fdb655; +} + +.latest-posts-classic .read-more { + color: #fdb655; +} + +.panel-title a { + color: #fdb655; +} + +.panel-title a:hover { + color: #fdb655; +} + +.milestone-block .milestone-icon { + background-color: #fdb655; +} + +.milestone-block .milestone-icon:after { + background-color: #fdb655; +} + +.milestone-block .milestone-number { + color: #fdb655; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #fdb655; +} + +.btn-system { + background-color: #fdb655; +} + +.btn-system.border-btn { + border-color: #fdb655; + color: #fdb655; +} + +.btn-system.border-btn:hover { + background-color: #fdb655; +} + +.btn-system.border-btn.btn-wite:hover { + color: #fdb655; +} + +.btn-system.btn-wite{ + color: #fdb655; +} + +ul.icons-list li i { + color: #fdb655; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #fdb655; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #fdb655; +} + +.icon-small { + text-shadow: 0 0 0 #fdb655; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #fdb655; +} +.icon-medium { + text-shadow: 0 0 0 #fdb655; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #fdb655; +} + +.icon-large { + text-shadow: 0 0 0 #fdb655; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #fdb655; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.icon-effect-1:after { + background-color: #fdb655; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #fdb655; +} + +.icon-effect-2 { + color: #fdb655; + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.icon-effect-2:after { + background-color: #fdb655; +} + +.icon-effect-3 { + color: #fdb655; + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.icon-effect-4 { + color: #fdb655; + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.icon-effect-5 { + color: #fdb655; + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.icon-effect-6 { + color: #fdb655; + box-shadow: 0 0 0 3px #fdb655; + -o-box-shadow: 0 0 0 3px #fdb655; + -moz-box-shadow: 0 0 0 3px #fdb655; + -webkit-box-shadow: 0 0 0 3px #fdb655; +} + +.team-member .member-photo .member-name span { + background-color: #fdb655; +} + +.classic-title span { + border-bottom-color: #fdb655; +} + +.portfolio-filter li a:hover { + color: #fdb655; +} + +.portfolio-filter li a.selected { + border-color: #fdb655; + background-color: #fdb655; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #fdb655; +} + +.project-content h4 span { + border-bottom-color: #fdb655; +} + +.recent-projects h4.title span { + border-bottom-color: #fdb655; +} + +ul.post-meta li a:hover { + color: #fdb655; +} + +#pagination span.current { + border-color: #fdb655; + background-color: #fdb655; +} + +#pagination a:hover { + color: #fdb655; +} + +.post-tags-list a:hover { + background-color: #fdb655; +} + +.post-share a.mail { + background-color: #fdb655; +} + +.sidebar a:hover { + color: #fdb655; +} + +.widget-search .search-btn { + background-color: #fdb655; +} + +.sidebar .tagcloud a:hover { + background-color: #fdb655; +} + +.back-to-top:hover i { + background-color: #fdb655; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #fdb655; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #fdb655; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #fdb655; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #fdb655; +} diff --git a/ClientApp/app/css/colors/blue.scss b/ClientApp/app/css/colors/blue.scss new file mode 100644 index 00000000..78115e72 --- /dev/null +++ b/ClientApp/app/css/colors/blue.scss @@ -0,0 +1,309 @@ +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.active-menu > a { + 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.active-menu > a, .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; +} + +#pagination span.current { + border-color: #00afd1; + background-color: #00afd1; +} + +#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-nav div:hover { + background-color: #00afd1; +} + +.touch-carousel .owl-nav div:hover { + background-color: #00afd1; +} + +.testimonials-carousel .owl-nav div { + background-color: #00afd1; +} + +.testimonials-carousel .owl-nav div:hover i { + color: #00afd1; +} diff --git a/ClientApp/app/css/colors/cyan.css b/ClientApp/app/css/colors/cyan.css new file mode 100644 index 00000000..dec2dcd9 --- /dev/null +++ b/ClientApp/app/css/colors/cyan.css @@ -0,0 +1,309 @@ +a { + color: #27bebe; +} + +.accent-color { + color: #27bebe; +} + +.accent-color-bg { + background-color: #27bebe; +} + +.top-bar a:hover { + color: #27bebe; +} + +.section-overlay { + background-color: #27bebe; +} + +.top-bar.color-bar { + background-color: #27bebe; +} + +.service-box .read-more { + color: #27bebe; +} + +a.main-button, input[type="submit"] { + background-color: #27bebe; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #27bebe; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #27bebe; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #27bebe; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #27bebe; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #27bebe; +} + +ul.breadcrumbs li a:hover { + color: #27bebe; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #27bebe; +} + +.tp-caption.color-bg { + background-color: #27bebe; +} + +.team-member .member-socail a.mail:hover i { + background-color: #27bebe; +} + +.post-share a.mail:hover { + background-color: #27bebe; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #27bebe; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #27bebe; +} + +.latest-posts-classic .post-title a:hover { + color: #27bebe; +} + +.latest-posts-classic .read-more { + color: #27bebe; +} + +.panel-title a { + color: #27bebe; +} + +.panel-title a:hover { + color: #27bebe; +} + +.milestone-block .milestone-icon { + background-color: #27bebe; +} + +.milestone-block .milestone-icon:after { + background-color: #27bebe; +} + +.milestone-block .milestone-number { + color: #27bebe; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #27bebe; +} + +.btn-system { + background-color: #27bebe; +} + +.btn-system.border-btn { + border-color: #27bebe; + color: #27bebe; +} + +.btn-system.border-btn:hover { + background-color: #27bebe; +} + +.btn-system.border-btn.btn-wite:hover { + color: #27bebe; +} + +.btn-system.btn-wite{ + color: #27bebe; +} + +ul.icons-list li i { + color: #27bebe; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #27bebe; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #27bebe; +} + +.icon-small { + text-shadow: 0 0 0 #27bebe; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #27bebe; +} +.icon-medium { + text-shadow: 0 0 0 #27bebe; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #27bebe; +} + +.icon-large { + text-shadow: 0 0 0 #27bebe; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #27bebe; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.icon-effect-1:after { + background-color: #27bebe; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #27bebe; +} + +.icon-effect-2 { + color: #27bebe; + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.icon-effect-2:after { + background-color: #27bebe; +} + +.icon-effect-3 { + color: #27bebe; + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.icon-effect-4 { + color: #27bebe; + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.icon-effect-5 { + color: #27bebe; + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.icon-effect-6 { + color: #27bebe; + box-shadow: 0 0 0 3px #27bebe; + -o-box-shadow: 0 0 0 3px #27bebe; + -moz-box-shadow: 0 0 0 3px #27bebe; + -webkit-box-shadow: 0 0 0 3px #27bebe; +} + +.team-member .member-photo .member-name span { + background-color: #27bebe; +} + +.classic-title span { + border-bottom-color: #27bebe; +} + +.portfolio-filter li a:hover { + color: #27bebe; +} + +.portfolio-filter li a.selected { + border-color: #27bebe; + background-color: #27bebe; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #27bebe; +} + +.project-content h4 span { + border-bottom-color: #27bebe; +} + +.recent-projects h4.title span { + border-bottom-color: #27bebe; +} + +ul.post-meta li a:hover { + color: #27bebe; +} + +#pagination span.current { + border-color: #27bebe; + background-color: #27bebe; +} + +#pagination a:hover { + color: #27bebe; +} + +.post-tags-list a:hover { + background-color: #27bebe; +} + +.post-share a.mail { + background-color: #27bebe; +} + +.sidebar a:hover { + color: #27bebe; +} + +.widget-search .search-btn { + background-color: #27bebe; +} + +.sidebar .tagcloud a:hover { + background-color: #27bebe; +} + +.back-to-top:hover i { + background-color: #27bebe; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #27bebe; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #27bebe; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #27bebe; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #27bebe; +} diff --git a/ClientApp/app/css/colors/green.css b/ClientApp/app/css/colors/green.css new file mode 100644 index 00000000..c0cf645d --- /dev/null +++ b/ClientApp/app/css/colors/green.css @@ -0,0 +1,309 @@ +a { + color: #94c523; +} + +.accent-color { + color: #94c523; +} + +.accent-color-bg { + background-color: #94c523; +} + +.top-bar a:hover { + color: #94c523; +} + +.section-overlay { + background-color: #94c523; +} + +.top-bar.color-bar { + background-color: #94c523; +} + +.service-box .read-more { + color: #94c523; +} + +a.main-button, input[type="submit"] { + background-color: #94c523; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #94c523; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #94c523; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #94c523; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #94c523; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #94c523; +} + +ul.breadcrumbs li a:hover { + color: #94c523; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #94c523; +} + +.tp-caption.color-bg { + background-color: #94c523; +} + +.team-member .member-socail a.mail:hover i { + background-color: #94c523; +} + +.post-share a.mail:hover { + background-color: #94c523; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #94c523; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #94c523; +} + +.latest-posts-classic .post-title a:hover { + color: #94c523; +} + +.latest-posts-classic .read-more { + color: #94c523; +} + +.panel-title a { + color: #94c523; +} + +.panel-title a:hover { + color: #94c523; +} + +.milestone-block .milestone-icon { + background-color: #94c523; +} + +.milestone-block .milestone-icon:after { + background-color: #94c523; +} + +.milestone-block .milestone-number { + color: #94c523; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #94c523; +} + +.btn-system { + background-color: #94c523; +} + +.btn-system.border-btn { + border-color: #94c523; + color: #94c523; +} + +.btn-system.border-btn:hover { + background-color: #94c523; +} + +.btn-system.border-btn.btn-wite:hover { + color: #94c523; +} + +.btn-system.btn-wite{ + color: #94c523; +} + +ul.icons-list li i { + color: #94c523; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #94c523; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #94c523; +} + +.icon-small { + text-shadow: 0 0 0 #94c523; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #94c523; +} +.icon-medium { + text-shadow: 0 0 0 #94c523; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #94c523; +} + +.icon-large { + text-shadow: 0 0 0 #94c523; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #94c523; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.icon-effect-1:after { + background-color: #94c523; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #94c523; +} + +.icon-effect-2 { + color: #94c523; + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.icon-effect-2:after { + background-color: #94c523; +} + +.icon-effect-3 { + color: #94c523; + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.icon-effect-4 { + color: #94c523; + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.icon-effect-5 { + color: #94c523; + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.icon-effect-6 { + color: #94c523; + box-shadow: 0 0 0 3px #94c523; + -o-box-shadow: 0 0 0 3px #94c523; + -moz-box-shadow: 0 0 0 3px #94c523; + -webkit-box-shadow: 0 0 0 3px #94c523; +} + +.team-member .member-photo .member-name span { + background-color: #94c523; +} + +.classic-title span { + border-bottom-color: #94c523; +} + +.portfolio-filter li a:hover { + color: #94c523; +} + +.portfolio-filter li a.selected { + border-color: #94c523; + background-color: #94c523; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #94c523; +} + +.project-content h4 span { + border-bottom-color: #94c523; +} + +.recent-projects h4.title span { + border-bottom-color: #94c523; +} + +ul.post-meta li a:hover { + color: #94c523; +} + +#pagination span.current { + border-color: #94c523; + background-color: #94c523; +} + +#pagination a:hover { + color: #94c523; +} + +.post-tags-list a:hover { + background-color: #94c523; +} + +.post-share a.mail { + background-color: #94c523; +} + +.sidebar a:hover { + color: #94c523; +} + +.widget-search .search-btn { + background-color: #94c523; +} + +.sidebar .tagcloud a:hover { + background-color: #94c523; +} + +.back-to-top:hover i { + background-color: #94c523; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #94c523; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #94c523; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #94c523; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #94c523; +} diff --git a/ClientApp/app/css/colors/jade.css b/ClientApp/app/css/colors/jade.css new file mode 100644 index 00000000..1e3bbbf6 --- /dev/null +++ b/ClientApp/app/css/colors/jade.css @@ -0,0 +1,309 @@ +a { + color: #0bb586; +} + +.accent-color { + color: #0bb586; +} + +.accent-color-bg { + background-color: #0bb586; +} + +.top-bar a:hover { + color: #0bb586; +} + +.section-overlay { + background-color: #0bb586; +} + +.top-bar.color-bar { + background-color: #0bb586; +} + +.service-box .read-more { + color: #0bb586; +} + +a.main-button, input[type="submit"] { + background-color: #0bb586; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #0bb586; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #0bb586; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #0bb586; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #0bb586; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #0bb586; +} + +ul.breadcrumbs li a:hover { + color: #0bb586; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #0bb586; +} + +.tp-caption.color-bg { + background-color: #0bb586; +} + +.team-member .member-socail a.mail:hover i { + background-color: #0bb586; +} + +.post-share a.mail:hover { + background-color: #0bb586; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #0bb586; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #0bb586; +} + +.latest-posts-classic .post-title a:hover { + color: #0bb586; +} + +.latest-posts-classic .read-more { + color: #0bb586; +} + +.panel-title a { + color: #0bb586; +} + +.panel-title a:hover { + color: #0bb586; +} + +.milestone-block .milestone-icon { + background-color: #0bb586; +} + +.milestone-block .milestone-icon:after { + background-color: #0bb586; +} + +.milestone-block .milestone-number { + color: #0bb586; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #0bb586; +} + +.btn-system { + background-color: #0bb586; +} + +.btn-system.border-btn { + border-color: #0bb586; + color: #0bb586; +} + +.btn-system.border-btn:hover { + background-color: #0bb586; +} + +.btn-system.border-btn.btn-wite:hover { + color: #0bb586; +} + +.btn-system.btn-wite{ + color: #0bb586; +} + +ul.icons-list li i { + color: #0bb586; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #0bb586; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #0bb586; +} + +.icon-small { + text-shadow: 0 0 0 #0bb586; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #0bb586; +} +.icon-medium { + text-shadow: 0 0 0 #0bb586; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #0bb586; +} + +.icon-large { + text-shadow: 0 0 0 #0bb586; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #0bb586; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.icon-effect-1:after { + background-color: #0bb586; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #0bb586; +} + +.icon-effect-2 { + color: #0bb586; + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.icon-effect-2:after { + background-color: #0bb586; +} + +.icon-effect-3 { + color: #0bb586; + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.icon-effect-4 { + color: #0bb586; + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.icon-effect-5 { + color: #0bb586; + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.icon-effect-6 { + color: #0bb586; + box-shadow: 0 0 0 3px #0bb586; + -o-box-shadow: 0 0 0 3px #0bb586; + -moz-box-shadow: 0 0 0 3px #0bb586; + -webkit-box-shadow: 0 0 0 3px #0bb586; +} + +.team-member .member-photo .member-name span { + background-color: #0bb586; +} + +.classic-title span { + border-bottom-color: #0bb586; +} + +.portfolio-filter li a:hover { + color: #0bb586; +} + +.portfolio-filter li a.selected { + border-color: #0bb586; + background-color: #0bb586; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #0bb586; +} + +.project-content h4 span { + border-bottom-color: #0bb586; +} + +.recent-projects h4.title span { + border-bottom-color: #0bb586; +} + +ul.post-meta li a:hover { + color: #0bb586; +} + +#pagination span.current { + border-color: #0bb586; + background-color: #0bb586; +} + +#pagination a:hover { + color: #0bb586; +} + +.post-tags-list a:hover { + background-color: #0bb586; +} + +.post-share a.mail { + background-color: #0bb586; +} + +.sidebar a:hover { + color: #0bb586; +} + +.widget-search .search-btn { + background-color: #0bb586; +} + +.sidebar .tagcloud a:hover { + background-color: #0bb586; +} + +.back-to-top:hover i { + background-color: #0bb586; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #0bb586; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #0bb586; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #0bb586; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #0bb586; +} diff --git a/ClientApp/app/css/colors/orange.css b/ClientApp/app/css/colors/orange.css new file mode 100644 index 00000000..a86f3157 --- /dev/null +++ b/ClientApp/app/css/colors/orange.css @@ -0,0 +1,309 @@ +a { + color: #f36510; +} + +.accent-color { + color: #f36510; +} + +.accent-color-bg { + background-color: #f36510; +} + +.top-bar a:hover { + color: #f36510; +} + +.section-overlay { + background-color: #f36510; +} + +.top-bar.color-bar { + background-color: #f36510; +} + +.service-box .read-more { + color: #f36510; +} + +a.main-button, input[type="submit"] { + background-color: #f36510; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #f36510; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #f36510; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #f36510; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #f36510; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #f36510; +} + +ul.breadcrumbs li a:hover { + color: #f36510; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #f36510; +} + +.tp-caption.color-bg { + background-color: #f36510; +} + +.team-member .member-socail a.mail:hover i { + background-color: #f36510; +} + +.post-share a.mail:hover { + background-color: #f36510; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #f36510; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #f36510; +} + +.latest-posts-classic .post-title a:hover { + color: #f36510; +} + +.latest-posts-classic .read-more { + color: #f36510; +} + +.panel-title a { + color: #f36510; +} + +.panel-title a:hover { + color: #f36510; +} + +.milestone-block .milestone-icon { + background-color: #f36510; +} + +.milestone-block .milestone-icon:after { + background-color: #f36510; +} + +.milestone-block .milestone-number { + color: #f36510; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #f36510; +} + +.btn-system { + background-color: #f36510; +} + +.btn-system.border-btn { + border-color: #f36510; + color: #f36510; +} + +.btn-system.border-btn:hover { + background-color: #f36510; +} + +.btn-system.border-btn.btn-wite:hover { + color: #f36510; +} + +.btn-system.btn-wite{ + color: #f36510; +} + +ul.icons-list li i { + color: #f36510; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #f36510; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #f36510; +} + +.icon-small { + text-shadow: 0 0 0 #f36510; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #f36510; +} +.icon-medium { + text-shadow: 0 0 0 #f36510; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #f36510; +} + +.icon-large { + text-shadow: 0 0 0 #f36510; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #f36510; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.icon-effect-1:after { + background-color: #f36510; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #f36510; +} + +.icon-effect-2 { + color: #f36510; + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.icon-effect-2:after { + background-color: #f36510; +} + +.icon-effect-3 { + color: #f36510; + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.icon-effect-4 { + color: #f36510; + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.icon-effect-5 { + color: #f36510; + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.icon-effect-6 { + color: #f36510; + box-shadow: 0 0 0 3px #f36510; + -o-box-shadow: 0 0 0 3px #f36510; + -moz-box-shadow: 0 0 0 3px #f36510; + -webkit-box-shadow: 0 0 0 3px #f36510; +} + +.team-member .member-photo .member-name span { + background-color: #f36510; +} + +.classic-title span { + border-bottom-color: #f36510; +} + +.portfolio-filter li a:hover { + color: #f36510; +} + +.portfolio-filter li a.selected { + border-color: #f36510; + background-color: #f36510; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #f36510; +} + +.project-content h4 span { + border-bottom-color: #f36510; +} + +.recent-projects h4.title span { + border-bottom-color: #f36510; +} + +ul.post-meta li a:hover { + color: #f36510; +} + +#pagination span.current { + border-color: #f36510; + background-color: #f36510; +} + +#pagination a:hover { + color: #f36510; +} + +.post-tags-list a:hover { + background-color: #f36510; +} + +.post-share a.mail { + background-color: #f36510; +} + +.sidebar a:hover { + color: #f36510; +} + +.widget-search .search-btn { + background-color: #f36510; +} + +.sidebar .tagcloud a:hover { + background-color: #f36510; +} + +.back-to-top:hover i { + background-color: #f36510; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #f36510; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #f36510; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #f36510; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #f36510; +} diff --git a/ClientApp/app/css/colors/peach.css b/ClientApp/app/css/colors/peach.css new file mode 100644 index 00000000..af28dbd7 --- /dev/null +++ b/ClientApp/app/css/colors/peach.css @@ -0,0 +1,309 @@ +a { + color: #f49237; +} + +.accent-color { + color: #f49237; +} + +.accent-color-bg { + background-color: #f49237; +} + +.top-bar a:hover { + color: #f49237; +} + +.section-overlay { + background-color: #f49237; +} + +.top-bar.color-bar { + background-color: #f49237; +} + +.service-box .read-more { + color: #f49237; +} + +a.main-button, input[type="submit"] { + background-color: #f49237; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #f49237; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #f49237; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #f49237; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #f49237; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #f49237; +} + +ul.breadcrumbs li a:hover { + color: #f49237; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #f49237; +} + +.tp-caption.color-bg { + background-color: #f49237; +} + +.team-member .member-socail a.mail:hover i { + background-color: #f49237; +} + +.post-share a.mail:hover { + background-color: #f49237; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #f49237; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #f49237; +} + +.latest-posts-classic .post-title a:hover { + color: #f49237; +} + +.latest-posts-classic .read-more { + color: #f49237; +} + +.panel-title a { + color: #f49237; +} + +.panel-title a:hover { + color: #f49237; +} + +.milestone-block .milestone-icon { + background-color: #f49237; +} + +.milestone-block .milestone-icon:after { + background-color: #f49237; +} + +.milestone-block .milestone-number { + color: #f49237; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #f49237; +} + +.btn-system { + background-color: #f49237; +} + +.btn-system.border-btn { + border-color: #f49237; + color: #f49237; +} + +.btn-system.border-btn:hover { + background-color: #f49237; +} + +.btn-system.border-btn.btn-wite:hover { + color: #f49237; +} + +.btn-system.btn-wite{ + color: #f49237; +} + +ul.icons-list li i { + color: #f49237; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #f49237; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #f49237; +} + +.icon-small { + text-shadow: 0 0 0 #f49237; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #f49237; +} +.icon-medium { + text-shadow: 0 0 0 #f49237; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #f49237; +} + +.icon-large { + text-shadow: 0 0 0 #f49237; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #f49237; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.icon-effect-1:after { + background-color: #f49237; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #f49237; +} + +.icon-effect-2 { + color: #f49237; + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.icon-effect-2:after { + background-color: #f49237; +} + +.icon-effect-3 { + color: #f49237; + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.icon-effect-4 { + color: #f49237; + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.icon-effect-5 { + color: #f49237; + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.icon-effect-6 { + color: #f49237; + box-shadow: 0 0 0 3px #f49237; + -o-box-shadow: 0 0 0 3px #f49237; + -moz-box-shadow: 0 0 0 3px #f49237; + -webkit-box-shadow: 0 0 0 3px #f49237; +} + +.team-member .member-photo .member-name span { + background-color: #f49237; +} + +.classic-title span { + border-bottom-color: #f49237; +} + +.portfolio-filter li a:hover { + color: #f49237; +} + +.portfolio-filter li a.selected { + border-color: #f49237; + background-color: #f49237; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #f49237; +} + +.project-content h4 span { + border-bottom-color: #f49237; +} + +.recent-projects h4.title span { + border-bottom-color: #f49237; +} + +ul.post-meta li a:hover { + color: #f49237; +} + +#pagination span.current { + border-color: #f49237; + background-color: #f49237; +} + +#pagination a:hover { + color: #f49237; +} + +.post-tags-list a:hover { + background-color: #f49237; +} + +.post-share a.mail { + background-color: #f49237; +} + +.sidebar a:hover { + color: #f49237; +} + +.widget-search .search-btn { + background-color: #f49237; +} + +.sidebar .tagcloud a:hover { + background-color: #f49237; +} + +.back-to-top:hover i { + background-color: #f49237; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #f49237; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #f49237; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #f49237; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #f49237; +} diff --git a/ClientApp/app/css/colors/pink.css b/ClientApp/app/css/colors/pink.css new file mode 100644 index 00000000..135720ec --- /dev/null +++ b/ClientApp/app/css/colors/pink.css @@ -0,0 +1,309 @@ +a { + color: #f1505b; +} + +.accent-color { + color: #f1505b; +} + +.accent-color-bg { + background-color: #f1505b; +} + +.top-bar a:hover { + color: #f1505b; +} + +.section-overlay { + background-color: #f1505b; +} + +.top-bar.color-bar { + background-color: #f1505b; +} + +.service-box .read-more { + color: #f1505b; +} + +a.main-button, input[type="submit"] { + background-color: #f1505b; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #f1505b; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #f1505b; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #f1505b; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #f1505b; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #f1505b; +} + +ul.breadcrumbs li a:hover { + color: #f1505b; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #f1505b; +} + +.tp-caption.color-bg { + background-color: #f1505b; +} + +.team-member .member-socail a.mail:hover i { + background-color: #f1505b; +} + +.post-share a.mail:hover { + background-color: #f1505b; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #f1505b; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #f1505b; +} + +.latest-posts-classic .post-title a:hover { + color: #f1505b; +} + +.latest-posts-classic .read-more { + color: #f1505b; +} + +.panel-title a { + color: #f1505b; +} + +.panel-title a:hover { + color: #f1505b; +} + +.milestone-block .milestone-icon { + background-color: #f1505b; +} + +.milestone-block .milestone-icon:after { + background-color: #f1505b; +} + +.milestone-block .milestone-number { + color: #f1505b; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #f1505b; +} + +.btn-system { + background-color: #f1505b; +} + +.btn-system.border-btn { + border-color: #f1505b; + color: #f1505b; +} + +.btn-system.border-btn:hover { + background-color: #f1505b; +} + +.btn-system.border-btn.btn-wite:hover { + color: #f1505b; +} + +.btn-system.btn-wite{ + color: #f1505b; +} + +ul.icons-list li i { + color: #f1505b; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #f1505b; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #f1505b; +} + +.icon-small { + text-shadow: 0 0 0 #f1505b; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #f1505b; +} +.icon-medium { + text-shadow: 0 0 0 #f1505b; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #f1505b; +} + +.icon-large { + text-shadow: 0 0 0 #f1505b; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #f1505b; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.icon-effect-1:after { + background-color: #f1505b; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #f1505b; +} + +.icon-effect-2 { + color: #f1505b; + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.icon-effect-2:after { + background-color: #f1505b; +} + +.icon-effect-3 { + color: #f1505b; + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.icon-effect-4 { + color: #f1505b; + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.icon-effect-5 { + color: #f1505b; + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.icon-effect-6 { + color: #f1505b; + box-shadow: 0 0 0 3px #f1505b; + -o-box-shadow: 0 0 0 3px #f1505b; + -moz-box-shadow: 0 0 0 3px #f1505b; + -webkit-box-shadow: 0 0 0 3px #f1505b; +} + +.team-member .member-photo .member-name span { + background-color: #f1505b; +} + +.classic-title span { + border-bottom-color: #f1505b; +} + +.portfolio-filter li a:hover { + color: #f1505b; +} + +.portfolio-filter li a.selected { + border-color: #f1505b; + background-color: #f1505b; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #f1505b; +} + +.project-content h4 span { + border-bottom-color: #f1505b; +} + +.recent-projects h4.title span { + border-bottom-color: #f1505b; +} + +ul.post-meta li a:hover { + color: #f1505b; +} + +#pagination span.current { + border-color: #f1505b; + background-color: #f1505b; +} + +#pagination a:hover { + color: #f1505b; +} + +.post-tags-list a:hover { + background-color: #f1505b; +} + +.post-share a.mail { + background-color: #f1505b; +} + +.sidebar a:hover { + color: #f1505b; +} + +.widget-search .search-btn { + background-color: #f1505b; +} + +.sidebar .tagcloud a:hover { + background-color: #f1505b; +} + +.back-to-top:hover i { + background-color: #f1505b; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #f1505b; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #f1505b; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #f1505b; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #f1505b; +} diff --git a/ClientApp/app/css/colors/purple.css b/ClientApp/app/css/colors/purple.css new file mode 100644 index 00000000..21b46c63 --- /dev/null +++ b/ClientApp/app/css/colors/purple.css @@ -0,0 +1,309 @@ +a { + color: #6a3da3; +} + +.accent-color { + color: #6a3da3; +} + +.accent-color-bg { + background-color: #6a3da3; +} + +.top-bar a:hover { + color: #6a3da3; +} + +.section-overlay { + background-color: #6a3da3; +} + +.top-bar.color-bar { + background-color: #6a3da3; +} + +.service-box .read-more { + color: #6a3da3; +} + +a.main-button, input[type="submit"] { + background-color: #6a3da3; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #6a3da3; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #6a3da3; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #6a3da3; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #6a3da3; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #6a3da3; +} + +ul.breadcrumbs li a:hover { + color: #6a3da3; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #6a3da3; +} + +.tp-caption.color-bg { + background-color: #6a3da3; +} + +.team-member .member-socail a.mail:hover i { + background-color: #6a3da3; +} + +.post-share a.mail:hover { + background-color: #6a3da3; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #6a3da3; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #6a3da3; +} + +.latest-posts-classic .post-title a:hover { + color: #6a3da3; +} + +.latest-posts-classic .read-more { + color: #6a3da3; +} + +.panel-title a { + color: #6a3da3; +} + +.panel-title a:hover { + color: #6a3da3; +} + +.milestone-block .milestone-icon { + background-color: #6a3da3; +} + +.milestone-block .milestone-icon:after { + background-color: #6a3da3; +} + +.milestone-block .milestone-number { + color: #6a3da3; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #6a3da3; +} + +.btn-system { + background-color: #6a3da3; +} + +.btn-system.border-btn { + border-color: #6a3da3; + color: #6a3da3; +} + +.btn-system.border-btn:hover { + background-color: #6a3da3; +} + +.btn-system.border-btn.btn-wite:hover { + color: #6a3da3; +} + +.btn-system.btn-wite{ + color: #6a3da3; +} + +ul.icons-list li i { + color: #6a3da3; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #6a3da3; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #6a3da3; +} + +.icon-small { + text-shadow: 0 0 0 #6a3da3; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #6a3da3; +} +.icon-medium { + text-shadow: 0 0 0 #6a3da3; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #6a3da3; +} + +.icon-large { + text-shadow: 0 0 0 #6a3da3; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #6a3da3; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.icon-effect-1:after { + background-color: #6a3da3; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #6a3da3; +} + +.icon-effect-2 { + color: #6a3da3; + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.icon-effect-2:after { + background-color: #6a3da3; +} + +.icon-effect-3 { + color: #6a3da3; + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.icon-effect-4 { + color: #6a3da3; + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.icon-effect-5 { + color: #6a3da3; + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.icon-effect-6 { + color: #6a3da3; + box-shadow: 0 0 0 3px #6a3da3; + -o-box-shadow: 0 0 0 3px #6a3da3; + -moz-box-shadow: 0 0 0 3px #6a3da3; + -webkit-box-shadow: 0 0 0 3px #6a3da3; +} + +.team-member .member-photo .member-name span { + background-color: #6a3da3; +} + +.classic-title span { + border-bottom-color: #6a3da3; +} + +.portfolio-filter li a:hover { + color: #6a3da3; +} + +.portfolio-filter li a.selected { + border-color: #6a3da3; + background-color: #6a3da3; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #6a3da3; +} + +.project-content h4 span { + border-bottom-color: #6a3da3; +} + +.recent-projects h4.title span { + border-bottom-color: #6a3da3; +} + +ul.post-meta li a:hover { + color: #6a3da3; +} + +#pagination span.current { + border-color: #6a3da3; + background-color: #6a3da3; +} + +#pagination a:hover { + color: #6a3da3; +} + +.post-tags-list a:hover { + background-color: #6a3da3; +} + +.post-share a.mail { + background-color: #6a3da3; +} + +.sidebar a:hover { + color: #6a3da3; +} + +.widget-search .search-btn { + background-color: #6a3da3; +} + +.sidebar .tagcloud a:hover { + background-color: #6a3da3; +} + +.back-to-top:hover i { + background-color: #6a3da3; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #6a3da3; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #6a3da3; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #6a3da3; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #6a3da3; +} diff --git a/ClientApp/app/css/colors/red.css b/ClientApp/app/css/colors/red.css new file mode 100644 index 00000000..492d3612 --- /dev/null +++ b/ClientApp/app/css/colors/red.css @@ -0,0 +1,309 @@ +a { + color: #ee3733; +} + +.accent-color { + color: #ee3733; +} + +.accent-color-bg { + background-color: #ee3733; +} + +.top-bar a:hover { + color: #ee3733; +} + +.section-overlay { + background-color: #ee3733; +} + +.top-bar.color-bar { + background-color: #ee3733; +} + +.service-box .read-more { + color: #ee3733; +} + +a.main-button, input[type="submit"] { + background-color: #ee3733; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #ee3733; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #ee3733; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #ee3733; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #ee3733; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #ee3733; +} + +ul.breadcrumbs li a:hover { + color: #ee3733; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #ee3733; +} + +.tp-caption.color-bg { + background-color: #ee3733; +} + +.team-member .member-socail a.mail:hover i { + background-color: #ee3733; +} + +.post-share a.mail:hover { + background-color: #ee3733; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #ee3733; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #ee3733; +} + +.latest-posts-classic .post-title a:hover { + color: #ee3733; +} + +.latest-posts-classic .read-more { + color: #ee3733; +} + +.panel-title a { + color: #ee3733; +} + +.panel-title a:hover { + color: #ee3733; +} + +.milestone-block .milestone-icon { + background-color: #ee3733; +} + +.milestone-block .milestone-icon:after { + background-color: #ee3733; +} + +.milestone-block .milestone-number { + color: #ee3733; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #ee3733; +} + +.btn-system { + background-color: #ee3733; +} + +.btn-system.border-btn { + border-color: #ee3733; + color: #ee3733; +} + +.btn-system.border-btn:hover { + background-color: #ee3733; +} + +.btn-system.border-btn.btn-wite:hover { + color: #ee3733; +} + +.btn-system.btn-wite{ + color: #ee3733; +} + +ul.icons-list li i { + color: #ee3733; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #ee3733; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #ee3733; +} + +.icon-small { + text-shadow: 0 0 0 #ee3733; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #ee3733; +} +.icon-medium { + text-shadow: 0 0 0 #ee3733; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #ee3733; +} + +.icon-large { + text-shadow: 0 0 0 #ee3733; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #ee3733; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.icon-effect-1:after { + background-color: #ee3733; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #ee3733; +} + +.icon-effect-2 { + color: #ee3733; + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.icon-effect-2:after { + background-color: #ee3733; +} + +.icon-effect-3 { + color: #ee3733; + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.icon-effect-4 { + color: #ee3733; + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.icon-effect-5 { + color: #ee3733; + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.icon-effect-6 { + color: #ee3733; + box-shadow: 0 0 0 3px #ee3733; + -o-box-shadow: 0 0 0 3px #ee3733; + -moz-box-shadow: 0 0 0 3px #ee3733; + -webkit-box-shadow: 0 0 0 3px #ee3733; +} + +.team-member .member-photo .member-name span { + background-color: #ee3733; +} + +.classic-title span { + border-bottom-color: #ee3733; +} + +.portfolio-filter li a:hover { + color: #ee3733; +} + +.portfolio-filter li a.selected { + border-color: #ee3733; + background-color: #ee3733; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #ee3733; +} + +.project-content h4 span { + border-bottom-color: #ee3733; +} + +.recent-projects h4.title span { + border-bottom-color: #ee3733; +} + +ul.post-meta li a:hover { + color: #ee3733; +} + +#pagination span.current { + border-color: #ee3733; + background-color: #ee3733; +} + +#pagination a:hover { + color: #ee3733; +} + +.post-tags-list a:hover { + background-color: #ee3733; +} + +.post-share a.mail { + background-color: #ee3733; +} + +.sidebar a:hover { + color: #ee3733; +} + +.widget-search .search-btn { + background-color: #ee3733; +} + +.sidebar .tagcloud a:hover { + background-color: #ee3733; +} + +.back-to-top:hover i { + background-color: #ee3733; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #ee3733; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #ee3733; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #ee3733; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #ee3733; +} diff --git a/ClientApp/app/css/colors/sky-blue.css b/ClientApp/app/css/colors/sky-blue.css new file mode 100644 index 00000000..842512b4 --- /dev/null +++ b/ClientApp/app/css/colors/sky-blue.css @@ -0,0 +1,309 @@ +a { + color: #38cbcb; +} + +.accent-color { + color: #38cbcb; +} + +.accent-color-bg { + background-color: #38cbcb; +} + +.top-bar a:hover { + color: #38cbcb; +} + +.section-overlay { + background-color: #38cbcb; +} + +.top-bar.color-bar { + background-color: #38cbcb; +} + +.service-box .read-more { + color: #38cbcb; +} + +a.main-button, input[type="submit"] { + background-color: #38cbcb; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #38cbcb; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #38cbcb; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #38cbcb; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #38cbcb; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #38cbcb; +} + +ul.breadcrumbs li a:hover { + color: #38cbcb; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #38cbcb; +} + +.tp-caption.color-bg { + background-color: #38cbcb; +} + +.team-member .member-socail a.mail:hover i { + background-color: #38cbcb; +} + +.post-share a.mail:hover { + background-color: #38cbcb; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #38cbcb; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #38cbcb; +} + +.latest-posts-classic .post-title a:hover { + color: #38cbcb; +} + +.latest-posts-classic .read-more { + color: #38cbcb; +} + +.panel-title a { + color: #38cbcb; +} + +.panel-title a:hover { + color: #38cbcb; +} + +.milestone-block .milestone-icon { + background-color: #38cbcb; +} + +.milestone-block .milestone-icon:after { + background-color: #38cbcb; +} + +.milestone-block .milestone-number { + color: #38cbcb; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #38cbcb; +} + +.btn-system { + background-color: #38cbcb; +} + +.btn-system.border-btn { + border-color: #38cbcb; + color: #38cbcb; +} + +.btn-system.border-btn:hover { + background-color: #38cbcb; +} + +.btn-system.border-btn.btn-wite:hover { + color: #38cbcb; +} + +.btn-system.btn-wite{ + color: #38cbcb; +} + +ul.icons-list li i { + color: #38cbcb; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #38cbcb; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #38cbcb; +} + +.icon-small { + text-shadow: 0 0 0 #38cbcb; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #38cbcb; +} +.icon-medium { + text-shadow: 0 0 0 #38cbcb; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #38cbcb; +} + +.icon-large { + text-shadow: 0 0 0 #38cbcb; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #38cbcb; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.icon-effect-1:after { + background-color: #38cbcb; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #38cbcb; +} + +.icon-effect-2 { + color: #38cbcb; + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.icon-effect-2:after { + background-color: #38cbcb; +} + +.icon-effect-3 { + color: #38cbcb; + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.icon-effect-4 { + color: #38cbcb; + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.icon-effect-5 { + color: #38cbcb; + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.icon-effect-6 { + color: #38cbcb; + box-shadow: 0 0 0 3px #38cbcb; + -o-box-shadow: 0 0 0 3px #38cbcb; + -moz-box-shadow: 0 0 0 3px #38cbcb; + -webkit-box-shadow: 0 0 0 3px #38cbcb; +} + +.team-member .member-photo .member-name span { + background-color: #38cbcb; +} + +.classic-title span { + border-bottom-color: #38cbcb; +} + +.portfolio-filter li a:hover { + color: #38cbcb; +} + +.portfolio-filter li a.selected { + border-color: #38cbcb; + background-color: #38cbcb; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #38cbcb; +} + +.project-content h4 span { + border-bottom-color: #38cbcb; +} + +.recent-projects h4.title span { + border-bottom-color: #38cbcb; +} + +ul.post-meta li a:hover { + color: #38cbcb; +} + +#pagination span.current { + border-color: #38cbcb; + background-color: #38cbcb; +} + +#pagination a:hover { + color: #38cbcb; +} + +.post-tags-list a:hover { + background-color: #38cbcb; +} + +.post-share a.mail { + background-color: #38cbcb; +} + +.sidebar a:hover { + color: #38cbcb; +} + +.widget-search .search-btn { + background-color: #38cbcb; +} + +.sidebar .tagcloud a:hover { + background-color: #38cbcb; +} + +.back-to-top:hover i { + background-color: #38cbcb; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #38cbcb; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #38cbcb; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #38cbcb; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #38cbcb; +} diff --git a/ClientApp/app/css/colors/yellow.css b/ClientApp/app/css/colors/yellow.css new file mode 100644 index 00000000..d9f0987a --- /dev/null +++ b/ClientApp/app/css/colors/yellow.css @@ -0,0 +1,309 @@ +a { + color: #f8ba01; +} + +.accent-color { + color: #f8ba01; +} + +.accent-color-bg { + background-color: #f8ba01; +} + +.top-bar a:hover { + color: #f8ba01; +} + +.section-overlay { + background-color: #f8ba01; +} + +.top-bar.color-bar { + background-color: #f8ba01; +} + +.service-box .read-more { + color: #f8ba01; +} + +a.main-button, input[type="submit"] { + background-color: #f8ba01; +} + +.navbar-default .navbar-nav > li:hover > a, +.navbar-default .navbar-nav > li.active-menu > a { + color: #f8ba01; +} + +.dropdown > li:hover > a, .sup-dropdown li:hover > a { + color: #f8ba01; +} + +.navbar-default .navbar-nav > li > a:after { + background-color: #f8ba01; +} + +.navbar-default .navbar-nav > li.active-menu > a, .navbar-default .navbar-nav > li:hover > a { + border-color: #f8ba01; +} + +.dropdown li a.active, .sup-dropdown li a.active { + color: #f8ba01; +} + +ul.breadcrumbs li a:hover { + color: #f8ba01; +} + +.full-width-recent-projects .portfolio-item:hover .portfolio-thumb .thumb-overlay { + background-color: #f8ba01; +} + +.tp-caption.color-bg { + background-color: #f8ba01; +} + +.team-member .member-socail a.mail:hover i { + background-color: #f8ba01; +} + +.post-share a.mail:hover { + background-color: #f8ba01; +} + +.progress .progress-bar.progress-bar-primary { + background-color: #f8ba01; +} + +.latest-posts-classic .left-meta-post .post-type i { + background-color: #f8ba01; +} + +.latest-posts-classic .post-title a:hover { + color: #f8ba01; +} + +.latest-posts-classic .read-more { + color: #f8ba01; +} + +.panel-title a { + color: #f8ba01; +} + +.panel-title a:hover { + color: #f8ba01; +} + +.milestone-block .milestone-icon { + background-color: #f8ba01; +} + +.milestone-block .milestone-icon:after { + background-color: #f8ba01; +} + +.milestone-block .milestone-number { + color: #f8ba01; +} + +.pricing-tables .pricing-table.highlight-plan .plan-name h3 { + color: #f8ba01; +} + +.btn-system { + background-color: #f8ba01; +} + +.btn-system.border-btn { + border-color: #f8ba01; + color: #f8ba01; +} + +.btn-system.border-btn:hover { + background-color: #f8ba01; +} + +.btn-system.border-btn.btn-wite:hover { + color: #f8ba01; +} + +.btn-system.btn-wite{ + color: #f8ba01; +} + +ul.icons-list li i { + color: #f8ba01; +} + +.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { + background-color: #f8ba01; +} + +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { + color: #f8ba01; +} + +.icon-small { + text-shadow: 0 0 0 #f8ba01; +} + +.icon-small:hover, .service-box:hover .icon-small { + color: #f8ba01; +} +.icon-medium { + text-shadow: 0 0 0 #f8ba01; +} + +.icon-medium:hover, .service-box:hover .icon-medium { + color: #f8ba01; +} + +.icon-large { + text-shadow: 0 0 0 #f8ba01; +} + +.icon-large:hover, .service-box:hover .icon-large { + color: #f8ba01; +} + +.icon-effect-1 { + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.icon-effect-1:after { + background-color: #f8ba01; +} + +.icon-effect-1:hover, .service-box:hover .icon-effect-1 { + color: #f8ba01; +} + +.icon-effect-2 { + color: #f8ba01; + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.icon-effect-2:after { + background-color: #f8ba01; +} + +.icon-effect-3 { + color: #f8ba01; + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.icon-effect-4 { + color: #f8ba01; + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.icon-effect-5 { + color: #f8ba01; + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.icon-effect-6 { + color: #f8ba01; + box-shadow: 0 0 0 3px #f8ba01; + -o-box-shadow: 0 0 0 3px #f8ba01; + -moz-box-shadow: 0 0 0 3px #f8ba01; + -webkit-box-shadow: 0 0 0 3px #f8ba01; +} + +.team-member .member-photo .member-name span { + background-color: #f8ba01; +} + +.classic-title span { + border-bottom-color: #f8ba01; +} + +.portfolio-filter li a:hover { + color: #f8ba01; +} + +.portfolio-filter li a.selected { + border-color: #f8ba01; + background-color: #f8ba01; +} + +.portfolio-item:hover .portfolio-details h4 { + color: #f8ba01; +} + +.project-content h4 span { + border-bottom-color: #f8ba01; +} + +.recent-projects h4.title span { + border-bottom-color: #f8ba01; +} + +ul.post-meta li a:hover { + color: #f8ba01; +} + +#pagination span.current { + border-color: #f8ba01; + background-color: #f8ba01; +} + +#pagination a:hover { + color: #f8ba01; +} + +.post-tags-list a:hover { + background-color: #f8ba01; +} + +.post-share a.mail { + background-color: #f8ba01; +} + +.sidebar a:hover { + color: #f8ba01; +} + +.widget-search .search-btn { + background-color: #f8ba01; +} + +.sidebar .tagcloud a:hover { + background-color: #f8ba01; +} + +.back-to-top:hover i { + background-color: #f8ba01; +} + +.touch-slider .owl-controls.clickable .owl-buttons div:hover { + background-color: #f8ba01; +} + +.touch-carousel .owl-controls.clickable .owl-buttons div:hover { + background-color: #f8ba01; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div { + background-color: #f8ba01; +} + +.testimonials-carousel .owl-controls.clickable .owl-buttons div:hover i { + color: #f8ba01; +} diff --git a/ClientApp/app/css/font/fontello.eot b/ClientApp/app/css/font/fontello.eot new file mode 100644 index 00000000..71180fa5 Binary files /dev/null and b/ClientApp/app/css/font/fontello.eot differ diff --git a/ClientApp/app/css/font/fontello.svg b/ClientApp/app/css/font/fontello.svg new file mode 100644 index 00000000..bcf27807 --- /dev/null +++ b/ClientApp/app/css/font/fontello.svg @@ -0,0 +1,1019 @@ + + + +Copyright (C) 2013 by original authors @ fontello.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ClientApp/app/css/font/fontello.ttf b/ClientApp/app/css/font/fontello.ttf new file mode 100644 index 00000000..f4353a20 Binary files /dev/null and b/ClientApp/app/css/font/fontello.ttf differ diff --git a/ClientApp/app/css/font/fontello.woff b/ClientApp/app/css/font/fontello.woff new file mode 100644 index 00000000..dd3b7188 Binary files /dev/null and b/ClientApp/app/css/font/fontello.woff differ diff --git a/ClientApp/app/css/font/revicons.eot b/ClientApp/app/css/font/revicons.eot new file mode 100644 index 00000000..955dc3f1 Binary files /dev/null and b/ClientApp/app/css/font/revicons.eot differ diff --git a/ClientApp/app/css/font/revicons.svg b/ClientApp/app/css/font/revicons.svg new file mode 100644 index 00000000..2ec696b5 --- /dev/null +++ b/ClientApp/app/css/font/revicons.svg @@ -0,0 +1,54 @@ + + + +Copyright (C) 2013 by original authors @ fontello.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ClientApp/app/css/font/revicons.ttf b/ClientApp/app/css/font/revicons.ttf new file mode 100644 index 00000000..4e8df989 Binary files /dev/null and b/ClientApp/app/css/font/revicons.ttf differ diff --git a/ClientApp/app/css/font/revicons.woff b/ClientApp/app/css/font/revicons.woff new file mode 100644 index 00000000..6d3ea4d9 Binary files /dev/null and b/ClientApp/app/css/font/revicons.woff differ diff --git a/ClientApp/app/css/fontello-ie7.css b/ClientApp/app/css/fontello-ie7.css new file mode 100644 index 00000000..72b06547 --- /dev/null +++ b/ClientApp/app/css/fontello-ie7.css @@ -0,0 +1,1020 @@ +[class^="icon-"], [class*=" icon-"] { + font-family: 'fontello'; + font-style: normal; + font-weight: normal; + + /* fix buttons height */ + line-height: 1em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ +} + +.icon-glass { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wallet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-search-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mail-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mail-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-empty-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-half { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-half-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-users-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-male { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-female { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-video-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-videocam-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-picture-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-large-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-list-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-circled-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-squared-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-squared-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-squared-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-help-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-help-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-home-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-unlink { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link-ext-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attach-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-open-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-open-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pin-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tag-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tags-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bookmark-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bookmark-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag-checkered { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-up-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-down-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-up-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-down-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-download-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-download-cloud-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-cloud-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply-all { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-forward-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-quote-left-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-quote-right-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-code-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-export-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-export-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pencil-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pencil-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-edit-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-print-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-retweet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-keyboard { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gamepad { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-comment-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chat-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-comment-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chat-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bell-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bell-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-location-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-direction-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-compass-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trash-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-docs { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-text-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-inv-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-text-inv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-empty-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-open-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-box-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rss-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rss-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-phone-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-phone-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-menu-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wrench-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-basket-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-login { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-logout { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mic-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mute { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-off-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-up-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-headphones-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clock-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lightbulb-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-block-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-full-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-full-alt-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-small-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-vertical-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-horizontal-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-move-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-in-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-out-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-dir { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-dir { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-dir { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-dir { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-circled-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-circled-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-circled-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-circled-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-double-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-double-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-double-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-angle-double-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-hand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-hand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-hand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-hand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cw-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ccw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-arrows-cw-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-level-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-level-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shuffle-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-exchange-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-collapse { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-collapse-top { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-expand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-collapse-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play-circled2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stop-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pause-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-end-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-end-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-start-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-start-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-fw-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-bw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eject-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-target-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-signal-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-award-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-desktop-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-laptop-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tablet-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mobile-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-inbox { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sun-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flash-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-moon-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-umbrella-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flight { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fighter-jet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-leaf-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-font { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bold { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-italic { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-text-height { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-text-width { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-align-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-align-center { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-align-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-align-justify { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-indent-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-indent-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-bullet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-numbered { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-strike { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-underline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-superscript { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-subscript { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-table { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-columns { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-crop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-scissors-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-paste { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-briefcase-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-suitcase { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ellipsis { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ellipsis-vert { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-road { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-qrcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-barcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-book-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ajust { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tint { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-check-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-check-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-circle-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dot-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-asterisk { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gift-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fire { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-magnet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-bar-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ticket-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-credit-card-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-floppy { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-megaphone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-hdd { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-key-4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fork { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rocket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bug { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-certificate-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tasks { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-filter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-beaker { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-magic { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-truck { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-money { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-euro { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pound { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dollar { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rupee { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-yen { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-renminbi { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-try { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-won { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bitcoin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-alt-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-alt-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-name-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-name-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-number-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-number-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-hammer { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sitemap { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-spinner { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-coffee-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-food { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-beer-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-md { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stethoscope { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ambulance { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-medkit { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-h-sigh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-hospital { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-building { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-smile { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-frown { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-meh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-anchor-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-terminal { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eraser { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-puzzle-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shield { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-extinguisher { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bullseye { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wheelchair { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-adn { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-android { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-apple { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bitbucket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bitbucket-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-css3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dribbble-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dropbox { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flickr-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-foursquare { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-circled-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gittip { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gplus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gplus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-html5 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-instagramm { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linux { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-maxcdn { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pagelines { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest-circled-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-renren { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-skype-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stackexchange { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stackoverflow { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trello { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumblr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumblr-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vimeo-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vkontakte { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-weibo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-windows { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-xing { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-xing-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-youtube { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-youtube-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-youtube-play { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-blank { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lemon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-note { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-note-beamed { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-music-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-search-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flashlight { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mail-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-empty-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-empty-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-users-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-add { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-video-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-picture-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-layout { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-menu-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-check-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-squared-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-squared-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-help-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-help-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-back { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-home-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attach-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-open-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tag-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bookmark-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bookmarks { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-up-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-down-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-download-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-cloud-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply-all-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-forward-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-quote { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-code-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-export-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pencil-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-feather { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-print-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-retweet-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-keyboard-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-comment-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chat-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bell-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-alert { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vcard { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-address { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-location-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-map { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-direction-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-compass-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cup { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trash-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-docs-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-landscape { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-text-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-text-inv-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-newspaper { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-book-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-book-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-box-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rss-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-phone-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tools { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-share { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shareable { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-basket-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bag { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-login-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mic-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mute-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sound { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clock-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-hourglass { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lamp { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-light-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-light-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-adjust { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-block-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-full-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-small-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-popup { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-publish { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-window { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-arrow-combo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-open-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-open-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-open-mini { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open-mini { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open-mini { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-open-mini { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-open-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-open-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-dir-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-dir-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-dir-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-dir-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-bold { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-bold { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-bold { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-bold { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-thin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-thin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-thin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-thin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ccw-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cw-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-arrows-ccw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-level-down-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-level-up-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shuffle-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-loop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-switch { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stop-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pause-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-record { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-end-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-to-start-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-forward { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-backward { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-progress-0 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-progress-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-progress-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-progress-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-target-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-palette { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list-add { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-signal-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trophy { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-battery { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-back-in-time { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-monitor { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mobile-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-network { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cd { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-inbox-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-install { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-thunder { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flash-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-moon-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flight-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-paper-plane { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-leaf-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lifebuoy { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mouse { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-briefcase-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-suitcase-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dot { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dot-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dot-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-brush { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-magnet-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-infinity { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-erase { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-pie { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-line { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-bar-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-area { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tape { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-graduation-cap { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-language { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ticket-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-water { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-droplet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-air { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-credit-card-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-floppy-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clipboard { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-megaphone-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-database { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-drive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bucket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thermometer { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-key-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-cascade { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-branch { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-tree { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-line { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-parallel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rocket-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gauge-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-traffic-cone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-by { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-nc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-nc-eu { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-nc-jp { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-sa { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-nd { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-pd { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-zero { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-music-3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-remix { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flickr-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flickr-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vimeo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vimeo-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-squared-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gplus-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gplus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumblr-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumblr-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dribbble-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dribbble-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stumbleupon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stumbleupon-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lastfm { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lastfm-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rdio { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rdio-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-spotify { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-spotify-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-qq { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-instagram { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dropbox-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-evernote { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flattr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-skype-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-skype-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-renren-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sina-weibo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-paypal { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-picasa { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-soundcloud { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mixi { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-behance { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-google-circles { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vkontakte-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-smashing { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sweden { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-db-shape { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-logo-db { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-music-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-music { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-search-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mail { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-users-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-users { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-add-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-add-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-delete-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-delete { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-video { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-videocam-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-videocam { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-picture-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-picture { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-large-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-list-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-th-list { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-alt-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-circled-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cancel-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-minus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-divide-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-divide { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eq-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eq { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-home-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attach-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attach { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-open-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pin-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tag { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tags { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bookmark { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flag-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-download-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-download { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-cloud-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-upload-cloud { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-reply { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-forward-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-forward { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-code-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-code { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-export-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-export { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pencil { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pen { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-feather-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-edit { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-print { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-comment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chat { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chat-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bell { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attention-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-warning-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-warning { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-contacts { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vcard-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-address-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-location-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-map-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-direction-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-compass { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-text { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-add { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-remove { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-news { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-add { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-folder-delete { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-archive-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-box { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rss-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-phone-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-phone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-menu-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-menu { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wrench-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wrench { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-basket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar-outlilne { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mic-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mic { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-low { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-middle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-volume-high { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-headphones { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clock { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wristwatch { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stopwatch { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lightbulb { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-block-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-block { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-full-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-full { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-normal-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-resize-normal { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-move-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-move { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-popup-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-in-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-out-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-popup-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-down-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-left-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-right-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-up-small { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cw-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-arrows-cw-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-arrows-cw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-loop-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-loop-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-loop-alt-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-loop-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shuffle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-play { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stop-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-stop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pause-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pause { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-fw-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fast-fw { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rewind-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rewind { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-record-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-record-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eject-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eject { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eject-alt-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eject-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bat1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bat2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bat3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bat4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-bat-charge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plug { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-target-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-target { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wifi-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wifi { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-laptop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tablet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mobile { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-contrast { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-alt-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sun { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sun-filled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flash-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-moon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-waves-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-waves { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-rain { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-sun { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-drizzle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-snow { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-flash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-wind { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wind { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plane-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-plane { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-leaf { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lifebuoy-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-briefcase { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-brush-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pipette { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-power-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-power { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-check-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-check { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-gift { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-temperatire { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-alt-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-bar-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-bar { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-pie-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-chart-pie-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-ticket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-credit-card { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clipboard-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-database-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-key-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-key { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-split { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-merge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-parallel-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flow-cross { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-certificate-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-certificate { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-scissors-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-scissors { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flask { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-wine { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-coffee { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-beer { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-anchor-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-anchor { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-puzzle-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-puzzle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tree { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calculator { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-infinity-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-infinity-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pi-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pi { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-at { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-at-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-looped-square-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-looped-square-interest { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-alphabet-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-alphabet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-numeric-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sort-numeric { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dribbble-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-dribbble { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-facebook { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flickr-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-flickr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-github { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lastfm-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lastfm-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pinterest-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-skype-outline { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-skype { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumbler-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tumbler { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vimeo-circled-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-vimeo-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-music-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-search-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mail-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-heart-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-star-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-user-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-videocam-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-camera-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-photo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-attach-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lock-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-eye-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tag-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-thumbs-up-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-pencil-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-comment-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-location-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cup-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-trash-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-doc-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-note-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cog-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-params { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-calendar-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-sound-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-clock-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-lightbulb-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-tv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-desktop-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-mobile-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cd-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-inbox-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-globe-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cloud-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-paper-plane-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-fire-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-graduation-cap-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-megaphone-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-database-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-key-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-beaker-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-truck-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-money-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-food-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-shop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-diamond { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-t-shirt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-cc-share { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } \ No newline at end of file diff --git a/ClientApp/app/css/fontello-ie7.min.css b/ClientApp/app/css/fontello-ie7.min.css new file mode 100644 index 00000000..2e812879 --- /dev/null +++ b/ClientApp/app/css/fontello-ie7.min.css @@ -0,0 +1 @@ +[class^="icon-"],[class*=" icon-"]{font-family:'fontello';font-style:normal;font-weight:normal;line-height:1em}.icon-glass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wallet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-search-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mail-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mail-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-empty-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-half{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-half-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-users-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-male{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-female{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-video-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-videocam-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-picture-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-large-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-list-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-circled-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-squared-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-squared-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-squared-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-help-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-help-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-home-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-unlink{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link-ext{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link-ext-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attach-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-open-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-open-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pin-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tag-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tags-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bookmark-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bookmark-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag-checkered{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-up-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-down-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-up-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-down-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-download-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-download-cloud-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-cloud-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply-all{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-forward-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-quote-left-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-quote-right-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-code-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-export-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-export-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pencil-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pencil-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-edit-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-print-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-retweet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-keyboard{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gamepad{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-comment-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chat-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-comment-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chat-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bell-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bell-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-location-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-direction-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-compass-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trash-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-docs{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-text-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-inv-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-text-inv{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-empty-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-open-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-box-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rss-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rss-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-phone-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-phone-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-menu-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wrench-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-basket-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-login{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-logout{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mic-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mute{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-off-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-up-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-headphones-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clock-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lightbulb-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-block-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-full-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-full-alt-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-small-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-vertical-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-horizontal-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-move-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-in-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-out-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-dir{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-dir{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-dir{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-dir{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-circled-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-circled-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-circled-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-circled-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-double-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-double-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-double-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-angle-double-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-hand{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-hand{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-hand{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-hand{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cw-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ccw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-arrows-cw-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-level-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-level-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shuffle-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-exchange-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-collapse{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-collapse-top{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-expand{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-collapse-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play-circled2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stop-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pause-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-end-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-end-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-start-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-start-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-fw-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-bw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eject-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-target-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-signal-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-award-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-desktop-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-laptop-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tablet-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mobile-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-inbox{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sun-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flash-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-moon-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-umbrella-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flight{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fighter-jet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-leaf-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-font{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-italic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-text-height{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-text-width{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-align-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-align-center{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-align-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-align-justify{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-indent-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-indent-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-bullet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-numbered{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-strike{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-underline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-superscript{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-subscript{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-table{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-columns{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-crop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-scissors-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-paste{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-briefcase-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-suitcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ellipsis{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ellipsis-vert{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-road{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-qrcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-barcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-book-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ajust{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tint{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-check-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-check-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-circle-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dot-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-asterisk{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gift-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fire{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-magnet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-bar-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ticket-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-credit-card-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-floppy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-megaphone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-hdd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-key-4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fork{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rocket{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bug{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-certificate-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tasks{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-filter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-beaker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-magic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-truck{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-money{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-euro{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pound{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dollar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rupee{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-yen{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-renminbi{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-try{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-won{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bitcoin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-alt-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-alt-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-name-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-name-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-number-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-number-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-hammer{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gauge{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sitemap{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-spinner{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-coffee-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-food{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-beer-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-md{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stethoscope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ambulance{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-medkit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-h-sigh{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-hospital{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-building{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-smile{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-frown{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-meh{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-anchor-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-terminal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eraser{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-puzzle-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shield{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-extinguisher{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bullseye{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wheelchair{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-adn{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-android{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-apple{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bitbucket{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bitbucket-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-css3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dribbble-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dropbox{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flickr-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-foursquare{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-circled-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gittip{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gplus-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gplus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-html5{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-instagramm{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linux{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-maxcdn{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pagelines{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest-circled-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-renren{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-skype-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stackexchange{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stackoverflow{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trello{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumblr{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumblr-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vimeo-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vkontakte{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-weibo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-windows{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-xing{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-xing-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-youtube{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-youtube-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-youtube-play{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lemon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-note{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-note-beamed{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-music-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-search-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flashlight{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mail-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-empty-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-empty-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-users-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-add{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-video-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-picture-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-layout{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-menu-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-check-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-squared{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-squared-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-squared-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-help-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-help-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-back{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-home-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attach-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-open-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tag-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bookmark-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bookmarks{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-up-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-down-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-download-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-cloud-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply-all-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-forward-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-quote{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-code-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-export-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pencil-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-feather{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-print-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-retweet-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-keyboard-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-comment-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chat-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bell-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-alert{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vcard{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-address{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-location-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-map{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-direction-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-compass-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cup{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trash-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-docs-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-landscape{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-text-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-text-inv-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-newspaper{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-book-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-book-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-archive{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-box-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rss-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-phone-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tools{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-share{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shareable{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-basket-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-login-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mic-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mute-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sound{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clock-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-hourglass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lamp{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-light-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-light-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-adjust{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-block-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-full-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-small-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-popup{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-publish{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-window{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-arrow-combo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-open-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-open-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-open-mini{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open-mini{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open-mini{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-open-mini{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-open-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-open-big{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-dir-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-dir-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-dir-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-dir-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-thin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-thin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-thin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-thin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ccw-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cw-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-arrows-ccw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-level-down-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-level-up-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shuffle-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-loop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-switch{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stop-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pause-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-record{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-end-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-to-start-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-progress-0{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-progress-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-progress-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-progress-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-target-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-palette{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-list-add{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-signal-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trophy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-battery{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-back-in-time{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-monitor{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mobile-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-network{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-inbox-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-install{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-thunder{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flash-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-moon-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flight-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-paper-plane{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-leaf-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lifebuoy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mouse{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-briefcase-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-suitcase-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dot{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dot-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dot-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-brush{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-magnet-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-infinity{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-erase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-pie{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-line{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-bar-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-area{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tape{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-graduation-cap{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-language{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ticket-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-water{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-droplet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-air{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-credit-card-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-floppy-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clipboard{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-megaphone-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-database{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-drive{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bucket{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thermometer{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-key-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-cascade{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-branch{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-tree{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-line{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-parallel{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rocket-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gauge-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-traffic-cone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-by{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-nc{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-nc-eu{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-nc-jp{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-sa{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-nd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-pd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-zero{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-music-3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-remix{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flickr-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flickr-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vimeo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vimeo-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-squared-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gplus-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gplus-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumblr-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumblr-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dribbble-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dribbble-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stumbleupon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stumbleupon-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lastfm{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lastfm-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rdio{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rdio-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-spotify{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-spotify-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-qq{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-instagram{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dropbox-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-evernote{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flattr{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-skype-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-skype-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-renren-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sina-weibo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-paypal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-picasa{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-soundcloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mixi{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-behance{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-google-circles{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vkontakte-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-smashing{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sweden{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-db-shape{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-logo-db{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-music-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-music{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-search-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-search{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mail{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-users-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-users{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-add-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-add-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-delete-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-delete{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-video{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-videocam-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-videocam{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-picture-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-picture{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-large-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-large{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-list-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-th-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ok{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-alt-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-circled-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cancel-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-minus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-divide-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-divide{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eq-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eq{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-info{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-home-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-home{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attach-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attach{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-open-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pin-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tags{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bookmark{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flag-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-download-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-cloud-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-upload-cloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-reply{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-forward-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-code-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-code{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-export-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-export{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pencil{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pen{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-feather-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-edit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-print{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-comment{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chat{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chat-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bell{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attention-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-warning-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-warning{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-contacts{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vcard-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-address-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-location-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-location{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-map-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-direction-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-direction{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-compass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-text{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-add{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-remove{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-news{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-add{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-folder-delete{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-archive-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-box{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rss-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rss{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-phone-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-menu-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-menu{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wrench-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wrench{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-basket{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar-outlilne{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mic-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-low{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-middle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-volume-high{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-headphones{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wristwatch{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stopwatch{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lightbulb{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-block-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-block{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-full-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-full{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-normal-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-resize-normal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-move-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-move{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-popup-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-in-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-in{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-out-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-zoom-out{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-popup-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-down-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-left-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-right-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-up-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cw-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-arrows-cw-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-arrows-cw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-loop-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-loop-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-loop-alt-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-loop-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shuffle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-play{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stop-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-stop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pause-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pause{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-fw-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fast-fw{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rewind-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rewind{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-record-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-record-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eject-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eject{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eject-alt-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eject-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bat1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bat2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bat3{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bat4{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-bat-charge{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plug{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-target-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-target{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wifi-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wifi{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-desktop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-laptop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tablet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mobile{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-contrast{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-alt-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sun{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sun-filled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flash-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-moon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-waves-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-waves{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-rain{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-sun{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-drizzle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-snow{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-flash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-wind{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wind{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plane-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-plane{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-leaf{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lifebuoy-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-briefcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-brush-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pipette{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-power-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-power{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-check-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-check{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-gift{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-temperatire{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-alt-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-bar-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-bar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-pie-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-chart-pie-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-ticket{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-credit-card{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clipboard-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-database-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-key-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-key{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-split{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-merge{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-parallel-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flow-cross{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-certificate-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-certificate{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-scissors-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-scissors{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flask{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-wine{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-coffee{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-beer{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-anchor-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-anchor{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-puzzle-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-puzzle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tree{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calculator{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-infinity-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-infinity-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pi-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pi{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-at{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-at-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-looped-square-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-looped-square-interest{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-alphabet-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-alphabet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-numeric-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sort-numeric{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dribbble-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-dribbble{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-facebook{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flickr-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-flickr{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-github{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lastfm-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lastfm-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-linkedin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pinterest-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-skype-outline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-skype{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumbler-circled{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tumbler{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-twitter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vimeo-circled-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-vimeo-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-music-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-search-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mail-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-heart-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-star-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-user-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-videocam-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-camera-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-photo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-attach-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lock-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-eye-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tag-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-thumbs-up-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-pencil-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-comment-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-location-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cup-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-trash-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-doc-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-note-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cog-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-params{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-calendar-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-sound-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-clock-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-lightbulb-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-tv{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-desktop-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-mobile-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cd-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-inbox-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-globe-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cloud-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-paper-plane-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-fire-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-graduation-cap-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-megaphone-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-database-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-key-2{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-beaker-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-truck-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-money-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-food-1{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-shop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-diamond{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-t-shirt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')}.icon-cc-share{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = ' ')} diff --git a/ClientApp/app/css/fontello.scss b/ClientApp/app/css/fontello.scss new file mode 100644 index 00000000..c04009dd --- /dev/null +++ b/ClientApp/app/css/fontello.scss @@ -0,0 +1,1060 @@ +@font-face { + font-family: 'fontello'; + src: url('./css/font/fontello.eot?99886049'); + src: url('./css/font/fontello.eot?99886049#iefix') format('embedded-opentype'), + url('./css/font/fontello.woff?99886049') format('woff'), + url('./css/font/fontello.ttf?99886049') format('truetype'), + url('./css/font/fontello.svg?99886049#fontello') 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: 'fontello'; + src: url('./font/fontello.svg?99886049#fontello') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "fontello"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .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); */ +} + +.icon-glass:before { content: '\e800'; } /* '' */ +.icon-wallet:before { content: '\e949'; } /* '' */ +.icon-search-4:before { content: '\e91d'; } /* '' */ +.icon-mail-4:before { content: '\e91e'; } /* '' */ +.icon-mail-alt:before { content: '\e91f'; } /* '' */ +.icon-heart-4:before { content: '\e920'; } /* '' */ +.icon-heart-empty-2:before { content: '\e921'; } /* '' */ +.icon-star-4:before { content: '\e922'; } /* '' */ +.icon-star-empty:before { content: '\e923'; } /* '' */ +.icon-star-half:before { content: '\e924'; } /* '' */ +.icon-star-half-alt:before { content: '\e925'; } /* '' */ +.icon-user-4:before { content: '\e926'; } /* '' */ +.icon-users-2:before { content: '\e927'; } /* '' */ +.icon-male:before { content: '\e928'; } /* '' */ +.icon-female:before { content: '\e929'; } /* '' */ +.icon-video-3:before { content: '\e92a'; } /* '' */ +.icon-videocam-2:before { content: '\e92b'; } /* '' */ +.icon-picture-3:before { content: '\e92c'; } /* '' */ +.icon-camera-4:before { content: '\e92d'; } /* '' */ +.icon-camera-alt:before { content: '\e92e'; } /* '' */ +.icon-th-large-1:before { content: '\e95f'; } /* '' */ +.icon-th-1:before { content: '\e960'; } /* '' */ +.icon-th-list-1:before { content: '\e961'; } /* '' */ +.icon-ok-2:before { content: '\e962'; } /* '' */ +.icon-ok-circled:before { content: '\e963'; } /* '' */ +.icon-ok-circled2:before { content: '\e964'; } /* '' */ +.icon-ok-squared:before { content: '\e965'; } /* '' */ +.icon-cancel-3:before { content: '\e966'; } /* '' */ +.icon-cancel-circled-2:before { content: '\e967'; } /* '' */ +.icon-cancel-circled2:before { content: '\e968'; } /* '' */ +.icon-plus-3:before { content: '\eb34'; } /* '' */ +.icon-plus-circled:before { content: '\eb35'; } /* '' */ +.icon-plus-squared:before { content: '\eb36'; } /* '' */ +.icon-plus-squared-small:before { content: '\eb37'; } /* '' */ +.icon-minus-3:before { content: '\eb38'; } /* '' */ +.icon-minus-circled:before { content: '\eb39'; } /* '' */ +.icon-minus-squared:before { content: '\eb3a'; } /* '' */ +.icon-minus-squared-alt:before { content: '\eb3b'; } /* '' */ +.icon-minus-squared-small:before { content: '\eb3c'; } /* '' */ +.icon-help-2:before { content: '\eb3d'; } /* '' */ +.icon-help-circled:before { content: '\eb3e'; } /* '' */ +.icon-info-circled:before { content: '\eb3f'; } /* '' */ +.icon-info-3:before { content: '\eb40'; } /* '' */ +.icon-home-3:before { content: '\eb41'; } /* '' */ +.icon-link-3:before { content: '\eb42'; } /* '' */ +.icon-unlink:before { content: '\eb43'; } /* '' */ +.icon-link-ext:before { content: '\eb44'; } /* '' */ +.icon-link-ext-alt:before { content: '\eb45'; } /* '' */ +.icon-attach-4:before { content: '\eb46'; } /* '' */ +.icon-lock-4:before { content: '\eb47'; } /* '' */ +.icon-lock-open-3:before { content: '\eb48'; } /* '' */ +.icon-lock-open-alt:before { content: '\eb49'; } /* '' */ +.icon-pin-2:before { content: '\eb4a'; } /* '' */ +.icon-eye-4:before { content: '\eb4b'; } /* '' */ +.icon-eye-off:before { content: '\eb4c'; } /* '' */ +.icon-tag-4:before { content: '\eb4d'; } /* '' */ +.icon-tags-1:before { content: '\eb4e'; } /* '' */ +.icon-bookmark-2:before { content: '\eb4f'; } /* '' */ +.icon-bookmark-empty:before { content: '\eb50'; } /* '' */ +.icon-flag-2:before { content: '\eb51'; } /* '' */ +.icon-flag-empty:before { content: '\eb52'; } /* '' */ +.icon-flag-checkered:before { content: '\eb53'; } /* '' */ +.icon-thumbs-up-3:before { content: '\eb54'; } /* '' */ +.icon-thumbs-down-2:before { content: '\eb55'; } /* '' */ +.icon-thumbs-up-alt:before { content: '\eb56'; } /* '' */ +.icon-thumbs-down-alt:before { content: '\eb57'; } /* '' */ +.icon-download-3:before { content: '\eb58'; } /* '' */ +.icon-upload-3:before { content: '\eb59'; } /* '' */ +.icon-download-cloud-1:before { content: '\eb5a'; } /* '' */ +.icon-upload-cloud-3:before { content: '\eb5b'; } /* '' */ +.icon-reply-2:before { content: '\eb5c'; } /* '' */ +.icon-reply-all:before { content: '\eb5d'; } /* '' */ +.icon-forward-2:before { content: '\eb5e'; } /* '' */ +.icon-quote-left-1:before { content: '\eb5f'; } /* '' */ +.icon-quote-right-1:before { content: '\eb60'; } /* '' */ +.icon-code-2:before { content: '\eb61'; } /* '' */ +.icon-export-2:before { content: '\eb62'; } /* '' */ +.icon-export-alt:before { content: '\eb63'; } /* '' */ +.icon-pencil-4:before { content: '\eb64'; } /* '' */ +.icon-pencil-squared:before { content: '\eb65'; } /* '' */ +.icon-edit-1:before { content: '\eb66'; } /* '' */ +.icon-print-2:before { content: '\eb67'; } /* '' */ +.icon-retweet:before { content: '\eb68'; } /* '' */ +.icon-keyboard:before { content: '\eb69'; } /* '' */ +.icon-gamepad:before { content: '\eb6a'; } /* '' */ +.icon-comment-4:before { content: '\eb6b'; } /* '' */ +.icon-chat-3:before { content: '\eb6c'; } /* '' */ +.icon-comment-empty:before { content: '\eb6d'; } /* '' */ +.icon-chat-empty:before { content: '\eb6e'; } /* '' */ +.icon-bell-2:before { content: '\eb6f'; } /* '' */ +.icon-bell-alt:before { content: '\eb70'; } /* '' */ +.icon-attention-alt:before { content: '\eb71'; } /* '' */ +.icon-attention-2:before { content: '\eb72'; } /* '' */ +.icon-attention-circled:before { content: '\eb73'; } /* '' */ +.icon-location-4:before { content: '\eb74'; } /* '' */ +.icon-direction-2:before { content: '\eb75'; } /* '' */ +.icon-compass-3:before { content: '\eb76'; } /* '' */ +.icon-trash-4:before { content: '\eb77'; } /* '' */ +.icon-doc-4:before { content: '\eb78'; } /* '' */ +.icon-docs:before { content: '\eb79'; } /* '' */ +.icon-doc-text-2:before { content: '\eb7a'; } /* '' */ +.icon-doc-inv-1:before { content: '\eb7b'; } /* '' */ +.icon-doc-text-inv:before { content: '\eb7c'; } /* '' */ +.icon-folder-3:before { content: '\eb7d'; } /* '' */ +.icon-folder-open:before { content: '\eb7e'; } /* '' */ +.icon-folder-empty-1:before { content: '\eb7f'; } /* '' */ +.icon-folder-open-empty:before { content: '\eb80'; } /* '' */ +.icon-box-3:before { content: '\eb81'; } /* '' */ +.icon-rss-3:before { content: '\eb82'; } /* '' */ +.icon-rss-squared:before { content: '\eb83'; } /* '' */ +.icon-phone-2:before { content: '\eb84'; } /* '' */ +.icon-phone-squared:before { content: '\eb85'; } /* '' */ +.icon-menu-2:before { content: '\eb86'; } /* '' */ +.icon-cog-4:before { content: '\eb87'; } /* '' */ +.icon-cog-alt:before { content: '\eb88'; } /* '' */ +.icon-wrench-2:before { content: '\eb89'; } /* '' */ +.icon-basket-2:before { content: '\eb8a'; } /* '' */ +.icon-calendar-4:before { content: '\eb8b'; } /* '' */ +.icon-calendar-empty:before { content: '\eb8c'; } /* '' */ +.icon-login:before { content: '\eb8d'; } /* '' */ +.icon-logout:before { content: '\eb8e'; } /* '' */ +.icon-mic-3:before { content: '\eb8f'; } /* '' */ +.icon-mute:before { content: '\eb90'; } /* '' */ +.icon-volume-off-2:before { content: '\eb91'; } /* '' */ +.icon-volume-down:before { content: '\eb92'; } /* '' */ +.icon-volume-up-1:before { content: '\eb93'; } /* '' */ +.icon-headphones-2:before { content: '\eb94'; } /* '' */ +.icon-clock-4:before { content: '\eb95'; } /* '' */ +.icon-lightbulb-2:before { content: '\eb96'; } /* '' */ +.icon-block-3:before { content: '\eb97'; } /* '' */ +.icon-resize-full-3:before { content: '\eb98'; } /* '' */ +.icon-resize-full-alt-1:before { content: '\eb99'; } /* '' */ +.icon-resize-small-2:before { content: '\eb9a'; } /* '' */ +.icon-resize-vertical-1:before { content: '\eb9b'; } /* '' */ +.icon-resize-horizontal-1:before { content: '\eb9c'; } /* '' */ +.icon-move-2:before { content: '\eb9d'; } /* '' */ +.icon-zoom-in-1:before { content: '\eb9e'; } /* '' */ +.icon-zoom-out-1:before { content: '\eb9f'; } /* '' */ +.icon-down-circled2:before { content: '\eba0'; } /* '' */ +.icon-up-circled2:before { content: '\eba1'; } /* '' */ +.icon-left-circled2:before { content: '\eba2'; } /* '' */ +.icon-right-circled2:before { content: '\eba3'; } /* '' */ +.icon-down-dir:before { content: '\eba4'; } /* '' */ +.icon-up-dir:before { content: '\eba5'; } /* '' */ +.icon-left-dir:before { content: '\eba6'; } /* '' */ +.icon-right-dir:before { content: '\eba7'; } /* '' */ +.icon-down-open:before { content: '\eba8'; } /* '' */ +.icon-left-open-2:before { content: '\eba9'; } /* '' */ +.icon-right-open-2:before { content: '\ebaa'; } /* '' */ +.icon-up-open:before { content: '\ebab'; } /* '' */ +.icon-angle-left:before { content: '\ebac'; } /* '' */ +.icon-angle-right:before { content: '\ebad'; } /* '' */ +.icon-angle-up:before { content: '\ebae'; } /* '' */ +.icon-angle-down:before { content: '\ebaf'; } /* '' */ +.icon-angle-circled-left:before { content: '\ebb0'; } /* '' */ +.icon-angle-circled-right:before { content: '\ebb1'; } /* '' */ +.icon-angle-circled-up:before { content: '\ebb2'; } /* '' */ +.icon-angle-circled-down:before { content: '\ebb3'; } /* '' */ +.icon-angle-double-left:before { content: '\ebb4'; } /* '' */ +.icon-angle-double-right:before { content: '\ebb5'; } /* '' */ +.icon-angle-double-up:before { content: '\ebb6'; } /* '' */ +.icon-angle-double-down:before { content: '\ebb7'; } /* '' */ +.icon-down-3:before { content: '\ebb8'; } /* '' */ +.icon-left-3:before { content: '\ebb9'; } /* '' */ +.icon-right-3:before { content: '\ebba'; } /* '' */ +.icon-up-3:before { content: '\ebbb'; } /* '' */ +.icon-down-big:before { content: '\ebbc'; } /* '' */ +.icon-left-big:before { content: '\ebbd'; } /* '' */ +.icon-right-big:before { content: '\ebbe'; } /* '' */ +.icon-up-big:before { content: '\ebbf'; } /* '' */ +.icon-right-hand:before { content: '\ebc0'; } /* '' */ +.icon-left-hand:before { content: '\ebc1'; } /* '' */ +.icon-up-hand:before { content: '\ebc2'; } /* '' */ +.icon-down-hand:before { content: '\ebc3'; } /* '' */ +.icon-left-circled:before { content: '\ebc4'; } /* '' */ +.icon-right-circled:before { content: '\ebc5'; } /* '' */ +.icon-up-circled:before { content: '\ebc6'; } /* '' */ +.icon-down-circled:before { content: '\ebc7'; } /* '' */ +.icon-cw-3:before { content: '\ebc8'; } /* '' */ +.icon-ccw:before { content: '\ebc9'; } /* '' */ +.icon-arrows-cw-1:before { content: '\ebca'; } /* '' */ +.icon-level-up:before { content: '\ebcb'; } /* '' */ +.icon-level-down:before { content: '\ebcc'; } /* '' */ +.icon-shuffle-2:before { content: '\ebcd'; } /* '' */ +.icon-exchange-1:before { content: '\ebce'; } /* '' */ +.icon-collapse:before { content: '\ebcf'; } /* '' */ +.icon-collapse-top:before { content: '\ebd0'; } /* '' */ +.icon-expand:before { content: '\ebd1'; } /* '' */ +.icon-collapse-left:before { content: '\ebd2'; } /* '' */ +.icon-play-3:before { content: '\ebd3'; } /* '' */ +.icon-play-circled:before { content: '\ebd4'; } /* '' */ +.icon-play-circled2:before { content: '\ebd5'; } /* '' */ +.icon-stop-3:before { content: '\ebd6'; } /* '' */ +.icon-pause-3:before { content: '\ebd7'; } /* '' */ +.icon-to-end-2:before { content: '\ebd8'; } /* '' */ +.icon-to-end-alt:before { content: '\ebd9'; } /* '' */ +.icon-to-start-2:before { content: '\ebda'; } /* '' */ +.icon-to-start-alt:before { content: '\ebdb'; } /* '' */ +.icon-fast-fw-1:before { content: '\ebdc'; } /* '' */ +.icon-fast-bw:before { content: '\ebdd'; } /* '' */ +.icon-eject-2:before { content: '\ebde'; } /* '' */ +.icon-target-3:before { content: '\ebdf'; } /* '' */ +.icon-signal-2:before { content: '\ebe0'; } /* '' */ +.icon-award-1:before { content: '\ebe1'; } /* '' */ +.icon-desktop-2:before { content: '\ebe2'; } /* '' */ +.icon-laptop-1:before { content: '\ebe3'; } /* '' */ +.icon-tablet-1:before { content: '\ebe4'; } /* '' */ +.icon-mobile-4:before { content: '\ebe5'; } /* '' */ +.icon-inbox:before { content: '\ebe6'; } /* '' */ +.icon-globe-3:before { content: '\ebe7'; } /* '' */ +.icon-sun-2:before { content: '\ebe8'; } /* '' */ +.icon-cloud-4:before { content: '\ebe9'; } /* '' */ +.icon-flash-3:before { content: '\ebea'; } /* '' */ +.icon-moon-3:before { content: '\ebeb'; } /* '' */ +.icon-umbrella-1:before { content: '\ebec'; } /* '' */ +.icon-flight:before { content: '\ebed'; } /* '' */ +.icon-fighter-jet:before { content: '\ebee'; } /* '' */ +.icon-leaf-2:before { content: '\ebef'; } /* '' */ +.icon-font:before { content: '\ebf0'; } /* '' */ +.icon-bold:before { content: '\ebf1'; } /* '' */ +.icon-italic:before { content: '\ebf2'; } /* '' */ +.icon-text-height:before { content: '\ebf3'; } /* '' */ +.icon-text-width:before { content: '\ebf4'; } /* '' */ +.icon-align-left:before { content: '\ebf5'; } /* '' */ +.icon-align-center:before { content: '\ebf6'; } /* '' */ +.icon-align-right:before { content: '\ebf7'; } /* '' */ +.icon-align-justify:before { content: '\ebf8'; } /* '' */ +.icon-list-2:before { content: '\ebf9'; } /* '' */ +.icon-indent-left:before { content: '\ebfa'; } /* '' */ +.icon-indent-right:before { content: '\ebfb'; } /* '' */ +.icon-list-bullet:before { content: '\ebfc'; } /* '' */ +.icon-list-numbered:before { content: '\ebfd'; } /* '' */ +.icon-strike:before { content: '\ebfe'; } /* '' */ +.icon-underline:before { content: '\ebff'; } /* '' */ +.icon-superscript:before { content: '\ec00'; } /* '' */ +.icon-subscript:before { content: '\ec01'; } /* '' */ +.icon-table:before { content: '\ec02'; } /* '' */ +.icon-columns:before { content: '\ec03'; } /* '' */ +.icon-crop:before { content: '\ec04'; } /* '' */ +.icon-scissors-1:before { content: '\ec05'; } /* '' */ +.icon-paste:before { content: '\ec06'; } /* '' */ +.icon-briefcase-2:before { content: '\ec07'; } /* '' */ +.icon-suitcase:before { content: '\ec08'; } /* '' */ +.icon-ellipsis:before { content: '\ec09'; } /* '' */ +.icon-ellipsis-vert:before { content: '\ec0a'; } /* '' */ +.icon-off:before { content: '\ec0b'; } /* '' */ +.icon-road:before { content: '\ec0c'; } /* '' */ +.icon-list-alt:before { content: '\ec0d'; } /* '' */ +.icon-qrcode:before { content: '\ec0e'; } /* '' */ +.icon-barcode:before { content: '\ec0f'; } /* '' */ +.icon-book-2:before { content: '\ec10'; } /* '' */ +.icon-ajust:before { content: '\ec11'; } /* '' */ +.icon-tint:before { content: '\ec12'; } /* '' */ +.icon-check-2:before { content: '\ec13'; } /* '' */ +.icon-check-empty:before { content: '\ec14'; } /* '' */ +.icon-circle:before { content: '\ec15'; } /* '' */ +.icon-circle-empty:before { content: '\ec16'; } /* '' */ +.icon-dot-circled:before { content: '\ec17'; } /* '' */ +.icon-asterisk:before { content: '\ec18'; } /* '' */ +.icon-gift-1:before { content: '\ec19'; } /* '' */ +.icon-fire:before { content: '\ec1a'; } /* '' */ +.icon-magnet:before { content: '\ec1b'; } /* '' */ +.icon-chart-bar-3:before { content: '\ec1c'; } /* '' */ +.icon-ticket-2:before { content: '\ec1d'; } /* '' */ +.icon-credit-card-2:before { content: '\ec1e'; } /* '' */ +.icon-floppy:before { content: '\ec1f'; } /* '' */ +.icon-megaphone:before { content: '\ec20'; } /* '' */ +.icon-hdd:before { content: '\ec21'; } /* '' */ +.icon-key-4:before { content: '\ec22'; } /* '' */ +.icon-fork:before { content: '\ec23'; } /* '' */ +.icon-rocket:before { content: '\ec24'; } /* '' */ +.icon-bug:before { content: '\ec25'; } /* '' */ +.icon-certificate-1:before { content: '\ec26'; } /* '' */ +.icon-tasks:before { content: '\ec27'; } /* '' */ +.icon-filter:before { content: '\ec28'; } /* '' */ +.icon-beaker:before { content: '\ec29'; } /* '' */ +.icon-magic:before { content: '\ec2a'; } /* '' */ +.icon-truck:before { content: '\ec2b'; } /* '' */ +.icon-money:before { content: '\ec2c'; } /* '' */ +.icon-euro:before { content: '\ec2d'; } /* '' */ +.icon-pound:before { content: '\ec2e'; } /* '' */ +.icon-dollar:before { content: '\ec2f'; } /* '' */ +.icon-rupee:before { content: '\ec30'; } /* '' */ +.icon-yen:before { content: '\ec31'; } /* '' */ +.icon-renminbi:before { content: '\ec32'; } /* '' */ +.icon-try:before { content: '\ec33'; } /* '' */ +.icon-won:before { content: '\ec34'; } /* '' */ +.icon-bitcoin:before { content: '\ec35'; } /* '' */ +.icon-sort:before { content: '\ec36'; } /* '' */ +.icon-sort-down:before { content: '\ec37'; } /* '' */ +.icon-sort-up:before { content: '\ec38'; } /* '' */ +.icon-sort-alt-up:before { content: '\ec39'; } /* '' */ +.icon-sort-alt-down:before { content: '\ec3a'; } /* '' */ +.icon-sort-name-up:before { content: '\ec3b'; } /* '' */ +.icon-sort-name-down:before { content: '\ec3c'; } /* '' */ +.icon-sort-number-up:before { content: '\ec3d'; } /* '' */ +.icon-sort-number-down:before { content: '\ec3e'; } /* '' */ +.icon-hammer:before { content: '\ec3f'; } /* '' */ +.icon-gauge:before { content: '\ec40'; } /* '' */ +.icon-sitemap:before { content: '\ec41'; } /* '' */ +.icon-spinner:before { content: '\ec42'; } /* '' */ +.icon-coffee-1:before { content: '\ec43'; } /* '' */ +.icon-food:before { content: '\ec44'; } /* '' */ +.icon-beer-1:before { content: '\ec45'; } /* '' */ +.icon-user-md:before { content: '\ec46'; } /* '' */ +.icon-stethoscope:before { content: '\ec47'; } /* '' */ +.icon-ambulance:before { content: '\ec48'; } /* '' */ +.icon-medkit:before { content: '\ec49'; } /* '' */ +.icon-h-sigh:before { content: '\ec4a'; } /* '' */ +.icon-hospital:before { content: '\ec4b'; } /* '' */ +.icon-building:before { content: '\ec4c'; } /* '' */ +.icon-smile:before { content: '\ec4d'; } /* '' */ +.icon-frown:before { content: '\ec4e'; } /* '' */ +.icon-meh:before { content: '\ec4f'; } /* '' */ +.icon-anchor-1:before { content: '\ec50'; } /* '' */ +.icon-terminal:before { content: '\ec51'; } /* '' */ +.icon-eraser:before { content: '\ec52'; } /* '' */ +.icon-puzzle-1:before { content: '\ec53'; } /* '' */ +.icon-shield:before { content: '\ec54'; } /* '' */ +.icon-extinguisher:before { content: '\ec55'; } /* '' */ +.icon-bullseye:before { content: '\ec56'; } /* '' */ +.icon-wheelchair:before { content: '\ec57'; } /* '' */ +.icon-adn:before { content: '\ec58'; } /* '' */ +.icon-android:before { content: '\ec59'; } /* '' */ +.icon-apple:before { content: '\ec5a'; } /* '' */ +.icon-bitbucket:before { content: '\ec5b'; } /* '' */ +.icon-bitbucket-squared:before { content: '\ec5c'; } /* '' */ +.icon-css3:before { content: '\ec5d'; } /* '' */ +.icon-dribbble-2:before { content: '\ec5e'; } /* '' */ +.icon-dropbox:before { content: '\ec5f'; } /* '' */ +.icon-facebook-2:before { content: '\ec60'; } /* '' */ +.icon-facebook-squared:before { content: '\ec61'; } /* '' */ +.icon-flickr-2:before { content: '\ec62'; } /* '' */ +.icon-foursquare:before { content: '\ec63'; } /* '' */ +.icon-github-2:before { content: '\ec64'; } /* '' */ +.icon-github-squared:before { content: '\ec65'; } /* '' */ +.icon-github-circled-2:before { content: '\ec66'; } /* '' */ +.icon-gittip:before { content: '\ec67'; } /* '' */ +.icon-gplus-squared:before { content: '\ec68'; } /* '' */ +.icon-gplus:before { content: '\ec69'; } /* '' */ +.icon-html5:before { content: '\ec6a'; } /* '' */ +.icon-instagramm:before { content: '\ec6b'; } /* '' */ +.icon-linkedin-squared:before { content: '\ec6c'; } /* '' */ +.icon-linux:before { content: '\ec6d'; } /* '' */ +.icon-linkedin-2:before { content: '\ec6e'; } /* '' */ +.icon-maxcdn:before { content: '\ec6f'; } /* '' */ +.icon-pagelines:before { content: '\ec70'; } /* '' */ +.icon-pinterest-circled-2:before { content: '\ec71'; } /* '' */ +.icon-pinterest-squared:before { content: '\ec72'; } /* '' */ +.icon-renren:before { content: '\ec73'; } /* '' */ +.icon-skype-2:before { content: '\ec74'; } /* '' */ +.icon-stackexchange:before { content: '\ec75'; } /* '' */ +.icon-stackoverflow:before { content: '\ec76'; } /* '' */ +.icon-trello:before { content: '\ec77'; } /* '' */ +.icon-tumblr:before { content: '\ec78'; } /* '' */ +.icon-tumblr-squared:before { content: '\ec79'; } /* '' */ +.icon-twitter-squared:before { content: '\ec7a'; } /* '' */ +.icon-twitter-2:before { content: '\ec7b'; } /* '' */ +.icon-vimeo-squared:before { content: '\ec7c'; } /* '' */ +.icon-vkontakte:before { content: '\ec7d'; } /* '' */ +.icon-weibo:before { content: '\ec7e'; } /* '' */ +.icon-windows:before { content: '\ec7f'; } /* '' */ +.icon-xing:before { content: '\ec80'; } /* '' */ +.icon-xing-squared:before { content: '\ec81'; } /* '' */ +.icon-youtube:before { content: '\ec82'; } /* '' */ +.icon-youtube-squared:before { content: '\ec83'; } /* '' */ +.icon-youtube-play:before { content: '\ec84'; } /* '' */ +.icon-blank:before { content: '\ec85'; } /* '' */ +.icon-lemon:before { content: '\ec86'; } /* '' */ +.icon-note:before { content: '\e813'; } /* '' */ +.icon-note-beamed:before { content: '\e812'; } /* '' */ +.icon-music-1:before { content: '\e811'; } /* '' */ +.icon-search-1:before { content: '\e810'; } /* '' */ +.icon-flashlight:before { content: '\e80f'; } /* '' */ +.icon-mail-1:before { content: '\e80e'; } /* '' */ +.icon-heart-1:before { content: '\e80d'; } /* '' */ +.icon-heart-empty-1:before { content: '\e80c'; } /* '' */ +.icon-star-1:before { content: '\e80b'; } /* '' */ +.icon-star-empty-1:before { content: '\e80a'; } /* '' */ +.icon-user-1:before { content: '\e809'; } /* '' */ +.icon-users-1:before { content: '\e826'; } /* '' */ +.icon-user-add:before { content: '\e808'; } /* '' */ +.icon-video-1:before { content: '\e807'; } /* '' */ +.icon-picture-1:before { content: '\e806'; } /* '' */ +.icon-camera-1:before { content: '\e804'; } /* '' */ +.icon-layout:before { content: '\e805'; } /* '' */ +.icon-menu-1:before { content: '\e803'; } /* '' */ +.icon-check-1:before { content: '\e802'; } /* '' */ +.icon-cancel-1:before { content: '\e801'; } /* '' */ +.icon-cancel-circled-1:before { content: '\e83e'; } /* '' */ +.icon-cancel-squared:before { content: '\e83f'; } /* '' */ +.icon-plus-1:before { content: '\e840'; } /* '' */ +.icon-plus-circled-1:before { content: '\e841'; } /* '' */ +.icon-plus-squared-1:before { content: '\e842'; } /* '' */ +.icon-minus-1:before { content: '\e843'; } /* '' */ +.icon-minus-circled-1:before { content: '\e844'; } /* '' */ +.icon-minus-squared-1:before { content: '\e845'; } /* '' */ +.icon-help-1:before { content: '\e846'; } /* '' */ +.icon-help-circled-1:before { content: '\e847'; } /* '' */ +.icon-info-1:before { content: '\e848'; } /* '' */ +.icon-info-circled-1:before { content: '\e827'; } /* '' */ +.icon-back:before { content: '\e828'; } /* '' */ +.icon-home-1:before { content: '\e829'; } /* '' */ +.icon-link-1:before { content: '\e825'; } /* '' */ +.icon-attach-1:before { content: '\e824'; } /* '' */ +.icon-lock-1:before { content: '\e81e'; } /* '' */ +.icon-lock-open-1:before { content: '\e81c'; } /* '' */ +.icon-eye-1:before { content: '\e81b'; } /* '' */ +.icon-tag-1:before { content: '\e814'; } /* '' */ +.icon-bookmark-1:before { content: '\e870'; } /* '' */ +.icon-bookmarks:before { content: '\e86f'; } /* '' */ +.icon-flag-1:before { content: '\e86e'; } /* '' */ +.icon-thumbs-up-1:before { content: '\e86d'; } /* '' */ +.icon-thumbs-down-1:before { content: '\e867'; } /* '' */ +.icon-download-1:before { content: '\e868'; } /* '' */ +.icon-upload-1:before { content: '\e869'; } /* '' */ +.icon-upload-cloud-1:before { content: '\e86a'; } /* '' */ +.icon-reply-1:before { content: '\e86b'; } /* '' */ +.icon-reply-all-1:before { content: '\e86c'; } /* '' */ +.icon-forward-1:before { content: '\e849'; } /* '' */ +.icon-quote:before { content: '\e84a'; } /* '' */ +.icon-code-1:before { content: '\e84b'; } /* '' */ +.icon-export-1:before { content: '\e82a'; } /* '' */ +.icon-pencil-1:before { content: '\e82d'; } /* '' */ +.icon-feather:before { content: '\e82e'; } /* '' */ +.icon-print-1:before { content: '\e81f'; } /* '' */ +.icon-retweet-1:before { content: '\e81d'; } /* '' */ +.icon-keyboard-1:before { content: '\e81a'; } /* '' */ +.icon-comment-1:before { content: '\e815'; } /* '' */ +.icon-chat-1:before { content: '\e871'; } /* '' */ +.icon-bell-1:before { content: '\e876'; } /* '' */ +.icon-attention-1:before { content: '\e877'; } /* '' */ +.icon-alert:before { content: '\e87c'; } /* '' */ +.icon-vcard:before { content: '\e866'; } /* '' */ +.icon-address:before { content: '\e863'; } /* '' */ +.icon-location-1:before { content: '\e862'; } /* '' */ +.icon-map:before { content: '\e85f'; } /* '' */ +.icon-direction-1:before { content: '\e85e'; } /* '' */ +.icon-compass-1:before { content: '\e85c'; } /* '' */ +.icon-cup:before { content: '\e859'; } /* '' */ +.icon-trash-1:before { content: '\e858'; } /* '' */ +.icon-doc-1:before { content: '\e84c'; } /* '' */ +.icon-docs-1:before { content: '\e82b'; } /* '' */ +.icon-doc-landscape:before { content: '\e82c'; } /* '' */ +.icon-doc-text-1:before { content: '\e82f'; } /* '' */ +.icon-doc-text-inv-1:before { content: '\e820'; } /* '' */ +.icon-newspaper:before { content: '\e823'; } /* '' */ +.icon-book-open:before { content: '\e819'; } /* '' */ +.icon-book-1:before { content: '\e816'; } /* '' */ +.icon-folder-1:before { content: '\e872'; } /* '' */ +.icon-archive:before { content: '\e875'; } /* '' */ +.icon-box-1:before { content: '\e878'; } /* '' */ +.icon-rss-1:before { content: '\e87b'; } /* '' */ +.icon-phone-1:before { content: '\e865'; } /* '' */ +.icon-cog-1:before { content: '\e864'; } /* '' */ +.icon-tools:before { content: '\e861'; } /* '' */ +.icon-share:before { content: '\e860'; } /* '' */ +.icon-shareable:before { content: '\e85d'; } /* '' */ +.icon-basket-1:before { content: '\e85b'; } /* '' */ +.icon-bag:before { content: '\e85a'; } /* '' */ +.icon-calendar-1:before { content: '\e857'; } /* '' */ +.icon-login-1:before { content: '\e84d'; } /* '' */ +.icon-mic-1:before { content: '\e831'; } /* '' */ +.icon-mute-1:before { content: '\e830'; } /* '' */ +.icon-sound:before { content: '\e821'; } /* '' */ +.icon-volume:before { content: '\e822'; } /* '' */ +.icon-clock-1:before { content: '\e818'; } /* '' */ +.icon-hourglass:before { content: '\e817'; } /* '' */ +.icon-lamp:before { content: '\e873'; } /* '' */ +.icon-light-down:before { content: '\e874'; } /* '' */ +.icon-light-up:before { content: '\e879'; } /* '' */ +.icon-adjust:before { content: '\e87a'; } /* '' */ +.icon-block-1:before { content: '\e87d'; } /* '' */ +.icon-resize-full-1:before { content: '\e87e'; } /* '' */ +.icon-resize-small-1:before { content: '\e87f'; } /* '' */ +.icon-popup:before { content: '\e886'; } /* '' */ +.icon-publish:before { content: '\e885'; } /* '' */ +.icon-window:before { content: '\e887'; } /* '' */ +.icon-arrow-combo:before { content: '\e888'; } /* '' */ +.icon-down-circled-1:before { content: '\e856'; } /* '' */ +.icon-left-circled-1:before { content: '\e84e'; } /* '' */ +.icon-right-circled-1:before { content: '\e851'; } /* '' */ +.icon-up-circled-1:before { content: '\e832'; } /* '' */ +.icon-down-open-1:before { content: '\e833'; } /* '' */ +.icon-left-open-1:before { content: '\e834'; } /* '' */ +.icon-right-open-1:before { content: '\e835'; } /* '' */ +.icon-up-open-1:before { content: '\e836'; } /* '' */ +.icon-down-open-mini:before { content: '\e837'; } /* '' */ +.icon-left-open-mini:before { content: '\e892'; } /* '' */ +.icon-right-open-mini:before { content: '\e893'; } /* '' */ +.icon-up-open-mini:before { content: '\e894'; } /* '' */ +.icon-down-open-big:before { content: '\e895'; } /* '' */ +.icon-left-open-big:before { content: '\e896'; } /* '' */ +.icon-right-open-big:before { content: '\e897'; } /* '' */ +.icon-up-open-big:before { content: '\e880'; } /* '' */ +.icon-down-1:before { content: '\e883'; } /* '' */ +.icon-left-1:before { content: '\e884'; } /* '' */ +.icon-right-1:before { content: '\e88c'; } /* '' */ +.icon-up-1:before { content: '\e889'; } /* '' */ +.icon-down-dir-1:before { content: '\e855'; } /* '' */ +.icon-left-dir-1:before { content: '\e84f'; } /* '' */ +.icon-right-dir-1:before { content: '\e850'; } /* '' */ +.icon-up-dir-1:before { content: '\e83d'; } /* '' */ +.icon-down-bold:before { content: '\e83c'; } /* '' */ +.icon-left-bold:before { content: '\e83b'; } /* '' */ +.icon-right-bold:before { content: '\e83a'; } /* '' */ +.icon-up-bold:before { content: '\e839'; } /* '' */ +.icon-down-thin:before { content: '\e838'; } /* '' */ +.icon-left-thin:before { content: '\e891'; } /* '' */ +.icon-right-thin:before { content: '\e890'; } /* '' */ +.icon-up-thin:before { content: '\e899'; } /* '' */ +.icon-ccw-1:before { content: '\e88f'; } /* '' */ +.icon-cw-1:before { content: '\e898'; } /* '' */ +.icon-arrows-ccw:before { content: '\e88e'; } /* '' */ +.icon-level-down-1:before { content: '\e881'; } /* '' */ +.icon-level-up-1:before { content: '\e882'; } /* '' */ +.icon-shuffle-1:before { content: '\e88d'; } /* '' */ +.icon-loop:before { content: '\e88b'; } /* '' */ +.icon-switch:before { content: '\e88a'; } /* '' */ +.icon-play-1:before { content: '\e854'; } /* '' */ +.icon-stop-1:before { content: '\e853'; } /* '' */ +.icon-pause-1:before { content: '\e852'; } /* '' */ +.icon-record:before { content: '\e8ab'; } /* '' */ +.icon-to-end-1:before { content: '\e8aa'; } /* '' */ +.icon-to-start-1:before { content: '\e8a9'; } /* '' */ +.icon-fast-forward:before { content: '\e8a8'; } /* '' */ +.icon-fast-backward:before { content: '\e8a1'; } /* '' */ +.icon-progress-0:before { content: '\e8a2'; } /* '' */ +.icon-progress-1:before { content: '\e8ef'; } /* '' */ +.icon-progress-2:before { content: '\e8ee'; } /* '' */ +.icon-progress-3:before { content: '\e8ed'; } /* '' */ +.icon-target-1:before { content: '\e8ec'; } /* '' */ +.icon-palette:before { content: '\e8eb'; } /* '' */ +.icon-list-1:before { content: '\e8ea'; } /* '' */ +.icon-list-add:before { content: '\e8e9'; } /* '' */ +.icon-signal-1:before { content: '\e8e8'; } /* '' */ +.icon-trophy:before { content: '\e8b2'; } /* '' */ +.icon-battery:before { content: '\e8bd'; } /* '' */ +.icon-back-in-time:before { content: '\e8b0'; } /* '' */ +.icon-monitor:before { content: '\e8af'; } /* '' */ +.icon-mobile-1:before { content: '\e8ae'; } /* '' */ +.icon-network:before { content: '\e8ad'; } /* '' */ +.icon-cd:before { content: '\e8ac'; } /* '' */ +.icon-inbox-1:before { content: '\e8c1'; } /* '' */ +.icon-install:before { content: '\e8c2'; } /* '' */ +.icon-globe-1:before { content: '\e8c3'; } /* '' */ +.icon-cloud-1:before { content: '\e8a0'; } /* '' */ +.icon-cloud-thunder:before { content: '\e8a3'; } /* '' */ +.icon-flash-1:before { content: '\e8f0'; } /* '' */ +.icon-moon-1:before { content: '\e8f5'; } /* '' */ +.icon-flight-1:before { content: '\e8f6'; } /* '' */ +.icon-paper-plane:before { content: '\e8f7'; } /* '' */ +.icon-leaf-1:before { content: '\e8f8'; } /* '' */ +.icon-lifebuoy:before { content: '\e8ff'; } /* '' */ +.icon-mouse:before { content: '\e901'; } /* '' */ +.icon-briefcase-1:before { content: '\e902'; } /* '' */ +.icon-suitcase-1:before { content: '\e8b3'; } /* '' */ +.icon-dot:before { content: '\e8b1'; } /* '' */ +.icon-dot-2:before { content: '\e8bc'; } /* '' */ +.icon-dot-3:before { content: '\e8be'; } /* '' */ +.icon-brush:before { content: '\e8bf'; } /* '' */ +.icon-magnet-1:before { content: '\e8c0'; } /* '' */ +.icon-infinity:before { content: '\e8c7'; } /* '' */ +.icon-erase:before { content: '\e8c6'; } /* '' */ +.icon-chart-pie:before { content: '\e8c5'; } /* '' */ +.icon-chart-line:before { content: '\e8c4'; } /* '' */ +.icon-chart-bar-1:before { content: '\e89f'; } /* '' */ +.icon-chart-area:before { content: '\e8a4'; } /* '' */ +.icon-tape:before { content: '\e8f1'; } /* '' */ +.icon-graduation-cap:before { content: '\e8f4'; } /* '' */ +.icon-language:before { content: '\e8fb'; } /* '' */ +.icon-ticket-1:before { content: '\e8fa'; } /* '' */ +.icon-water:before { content: '\e8f9'; } /* '' */ +.icon-droplet:before { content: '\e8fe'; } /* '' */ +.icon-air:before { content: '\e904'; } /* '' */ +.icon-credit-card-1:before { content: '\e903'; } /* '' */ +.icon-floppy-1:before { content: '\e8b4'; } /* '' */ +.icon-clipboard:before { content: '\e8bb'; } /* '' */ +.icon-megaphone-1:before { content: '\e8d8'; } /* '' */ +.icon-database:before { content: '\e8df'; } /* '' */ +.icon-drive:before { content: '\e8e0'; } /* '' */ +.icon-bucket:before { content: '\e8e1'; } /* '' */ +.icon-thermometer:before { content: '\e8c8'; } /* '' */ +.icon-key-1:before { content: '\e8cf'; } /* '' */ +.icon-flow-cascade:before { content: '\e8d0'; } /* '' */ +.icon-flow-branch:before { content: '\e8d1'; } /* '' */ +.icon-flow-tree:before { content: '\e89e'; } /* '' */ +.icon-flow-line:before { content: '\e8a6'; } /* '' */ +.icon-flow-parallel:before { content: '\e8f2'; } /* '' */ +.icon-rocket-1:before { content: '\e8f3'; } /* '' */ +.icon-gauge-1:before { content: '\e8fc'; } /* '' */ +.icon-traffic-cone:before { content: '\e900'; } /* '' */ +.icon-cc:before { content: '\e8fd'; } /* '' */ +.icon-cc-by:before { content: '\e905'; } /* '' */ +.icon-cc-nc:before { content: '\e906'; } /* '' */ +.icon-cc-nc-eu:before { content: '\e907'; } /* '' */ +.icon-cc-nc-jp:before { content: '\e8b5'; } /* '' */ +.icon-cc-sa:before { content: '\e8ba'; } /* '' */ +.icon-cc-nd:before { content: '\e8d9'; } /* '' */ +.icon-cc-pd:before { content: '\e8de'; } /* '' */ +.icon-cc-zero:before { content: '\e8e7'; } /* '' */ +.icon-music-3:before { content: '\e91c'; } /* '' */ +.icon-cc-remix:before { content: '\e8c9'; } /* '' */ +.icon-github-1:before { content: '\e8ce'; } /* '' */ +.icon-github-circled-1:before { content: '\e8d3'; } /* '' */ +.icon-flickr-1:before { content: '\e8d2'; } /* '' */ +.icon-flickr-circled:before { content: '\e89d'; } /* '' */ +.icon-vimeo:before { content: '\e8a7'; } /* '' */ +.icon-vimeo-circled:before { content: '\e915'; } /* '' */ +.icon-twitter-1:before { content: '\e916'; } /* '' */ +.icon-twitter-circled:before { content: '\e917'; } /* '' */ +.icon-facebook-1:before { content: '\e918'; } /* '' */ +.icon-facebook-circled:before { content: '\e90e'; } /* '' */ +.icon-facebook-squared-1:before { content: '\e90d'; } /* '' */ +.icon-gplus-1:before { content: '\e90a'; } /* '' */ +.icon-gplus-circled:before { content: '\e909'; } /* '' */ +.icon-pinterest:before { content: '\e8b6'; } /* '' */ +.icon-pinterest-circled-1:before { content: '\e8b9'; } /* '' */ +.icon-tumblr-1:before { content: '\e8da'; } /* '' */ +.icon-tumblr-circled:before { content: '\e8dd'; } /* '' */ +.icon-linkedin-1:before { content: '\e8e6'; } /* '' */ +.icon-linkedin-circled:before { content: '\e8e3'; } /* '' */ +.icon-dribbble-1:before { content: '\e8ca'; } /* '' */ +.icon-dribbble-circled:before { content: '\e8cd'; } /* '' */ +.icon-stumbleupon:before { content: '\e8d4'; } /* '' */ +.icon-stumbleupon-circled:before { content: '\e8d7'; } /* '' */ +.icon-lastfm:before { content: '\e89c'; } /* '' */ +.icon-lastfm-circled:before { content: '\e8a5'; } /* '' */ +.icon-rdio:before { content: '\e914'; } /* '' */ +.icon-rdio-circled:before { content: '\e91a'; } /* '' */ +.icon-spotify:before { content: '\e919'; } /* '' */ +.icon-spotify-circled:before { content: '\e910'; } /* '' */ +.icon-qq:before { content: '\e90f'; } /* '' */ +.icon-instagram:before { content: '\e90c'; } /* '' */ +.icon-dropbox-1:before { content: '\e90b'; } /* '' */ +.icon-evernote:before { content: '\e908'; } /* '' */ +.icon-flattr:before { content: '\e8b7'; } /* '' */ +.icon-skype-1:before { content: '\e8b8'; } /* '' */ +.icon-skype-circled:before { content: '\e8db'; } /* '' */ +.icon-renren-1:before { content: '\e8dc'; } /* '' */ +.icon-sina-weibo:before { content: '\e8e5'; } /* '' */ +.icon-paypal:before { content: '\e8e4'; } /* '' */ +.icon-picasa:before { content: '\e8cb'; } /* '' */ +.icon-soundcloud:before { content: '\e8cc'; } /* '' */ +.icon-mixi:before { content: '\e8d5'; } /* '' */ +.icon-behance:before { content: '\e8d6'; } /* '' */ +.icon-google-circles:before { content: '\e89b'; } /* '' */ +.icon-vkontakte-1:before { content: '\e89a'; } /* '' */ +.icon-smashing:before { content: '\e913'; } /* '' */ +.icon-sweden:before { content: '\e912'; } /* '' */ +.icon-db-shape:before { content: '\e91b'; } /* '' */ +.icon-logo-db:before { content: '\e911'; } /* '' */ +.icon-music-outline:before { content: '\e969'; } /* '' */ +.icon-music:before { content: '\e96a'; } /* '' */ +.icon-search-outline:before { content: '\e96b'; } /* '' */ +.icon-search:before { content: '\e96c'; } /* '' */ +.icon-mail:before { content: '\e96d'; } /* '' */ +.icon-heart:before { content: '\e96e'; } /* '' */ +.icon-heart-filled:before { content: '\e96f'; } /* '' */ +.icon-star:before { content: '\e970'; } /* '' */ +.icon-star-filled:before { content: '\e971'; } /* '' */ +.icon-user-outline:before { content: '\e972'; } /* '' */ +.icon-user:before { content: '\e973'; } /* '' */ +.icon-users-outline:before { content: '\e974'; } /* '' */ +.icon-users:before { content: '\e975'; } /* '' */ +.icon-user-add-outline:before { content: '\e976'; } /* '' */ +.icon-user-add-1:before { content: '\e977'; } /* '' */ +.icon-user-delete-outline:before { content: '\e978'; } /* '' */ +.icon-user-delete:before { content: '\e979'; } /* '' */ +.icon-video:before { content: '\e97a'; } /* '' */ +.icon-videocam-outline:before { content: '\e97b'; } /* '' */ +.icon-videocam:before { content: '\e97c'; } /* '' */ +.icon-picture-outline:before { content: '\e97d'; } /* '' */ +.icon-picture:before { content: '\e97e'; } /* '' */ +.icon-camera-outline:before { content: '\e97f'; } /* '' */ +.icon-camera:before { content: '\e980'; } /* '' */ +.icon-th-outline:before { content: '\e981'; } /* '' */ +.icon-th:before { content: '\e982'; } /* '' */ +.icon-th-large-outline:before { content: '\e983'; } /* '' */ +.icon-th-large:before { content: '\e984'; } /* '' */ +.icon-th-list-outline:before { content: '\e985'; } /* '' */ +.icon-th-list:before { content: '\e986'; } /* '' */ +.icon-ok-outline:before { content: '\e987'; } /* '' */ +.icon-ok:before { content: '\e988'; } /* '' */ +.icon-cancel-outline:before { content: '\e989'; } /* '' */ +.icon-cancel:before { content: '\e98a'; } /* '' */ +.icon-cancel-alt:before { content: '\e98b'; } /* '' */ +.icon-cancel-alt-filled:before { content: '\e98c'; } /* '' */ +.icon-cancel-circled-outline:before { content: '\e98d'; } /* '' */ +.icon-cancel-circled:before { content: '\e98e'; } /* '' */ +.icon-plus-outline:before { content: '\e98f'; } /* '' */ +.icon-plus:before { content: '\e990'; } /* '' */ +.icon-minus-outline:before { content: '\e991'; } /* '' */ +.icon-minus:before { content: '\e992'; } /* '' */ +.icon-divide-outline:before { content: '\e993'; } /* '' */ +.icon-divide:before { content: '\e994'; } /* '' */ +.icon-eq-outline:before { content: '\e995'; } /* '' */ +.icon-eq:before { content: '\e996'; } /* '' */ +.icon-info-outline:before { content: '\e997'; } /* '' */ +.icon-info:before { content: '\e998'; } /* '' */ +.icon-home-outline:before { content: '\e999'; } /* '' */ +.icon-home:before { content: '\e99a'; } /* '' */ +.icon-link-outline:before { content: '\e99b'; } /* '' */ +.icon-link:before { content: '\e99c'; } /* '' */ +.icon-attach-outline:before { content: '\e99d'; } /* '' */ +.icon-attach:before { content: '\e99e'; } /* '' */ +.icon-lock:before { content: '\e99f'; } /* '' */ +.icon-lock-filled:before { content: '\e9a0'; } /* '' */ +.icon-lock-open:before { content: '\e9a1'; } /* '' */ +.icon-lock-open-filled:before { content: '\e9a2'; } /* '' */ +.icon-pin-outline:before { content: '\e9a3'; } /* '' */ +.icon-pin:before { content: '\e9a4'; } /* '' */ +.icon-eye-outline:before { content: '\e9a5'; } /* '' */ +.icon-eye:before { content: '\e9a6'; } /* '' */ +.icon-tag:before { content: '\e9a7'; } /* '' */ +.icon-tags:before { content: '\e9a8'; } /* '' */ +.icon-bookmark:before { content: '\e9a9'; } /* '' */ +.icon-flag:before { content: '\e9aa'; } /* '' */ +.icon-flag-filled:before { content: '\e9ab'; } /* '' */ +.icon-thumbs-up:before { content: '\e9ac'; } /* '' */ +.icon-thumbs-down:before { content: '\e9ad'; } /* '' */ +.icon-download-outline:before { content: '\e9ae'; } /* '' */ +.icon-download:before { content: '\e9af'; } /* '' */ +.icon-upload-outline:before { content: '\e9b0'; } /* '' */ +.icon-upload:before { content: '\e9b1'; } /* '' */ +.icon-upload-cloud-outline:before { content: '\e9b2'; } /* '' */ +.icon-upload-cloud:before { content: '\e9b3'; } /* '' */ +.icon-reply-outline:before { content: '\e9b4'; } /* '' */ +.icon-reply:before { content: '\e9b5'; } /* '' */ +.icon-forward-outline:before { content: '\e9b6'; } /* '' */ +.icon-forward:before { content: '\e9b7'; } /* '' */ +.icon-code-outline:before { content: '\e9b8'; } /* '' */ +.icon-code:before { content: '\e9b9'; } /* '' */ +.icon-export-outline:before { content: '\e9ba'; } /* '' */ +.icon-export:before { content: '\e9bb'; } /* '' */ +.icon-pencil:before { content: '\e9bc'; } /* '' */ +.icon-pen:before { content: '\e9bd'; } /* '' */ +.icon-feather-1:before { content: '\e9be'; } /* '' */ +.icon-edit:before { content: '\e9bf'; } /* '' */ +.icon-print:before { content: '\e9c0'; } /* '' */ +.icon-comment:before { content: '\e9c1'; } /* '' */ +.icon-chat:before { content: '\e9c2'; } /* '' */ +.icon-chat-alt:before { content: '\e9c3'; } /* '' */ +.icon-bell:before { content: '\e9c4'; } /* '' */ +.icon-attention:before { content: '\e9c5'; } /* '' */ +.icon-attention-filled:before { content: '\e9c6'; } /* '' */ +.icon-warning-empty:before { content: '\e9c7'; } /* '' */ +.icon-warning:before { content: '\e9c8'; } /* '' */ +.icon-contacts:before { content: '\e9c9'; } /* '' */ +.icon-vcard-1:before { content: '\e9ca'; } /* '' */ +.icon-address-1:before { content: '\e9cb'; } /* '' */ +.icon-location-outline:before { content: '\e9cc'; } /* '' */ +.icon-location:before { content: '\e9cd'; } /* '' */ +.icon-map-1:before { content: '\e9ce'; } /* '' */ +.icon-direction-outline:before { content: '\e9cf'; } /* '' */ +.icon-direction:before { content: '\e9d0'; } /* '' */ +.icon-compass:before { content: '\e9d1'; } /* '' */ +.icon-trash:before { content: '\e9d2'; } /* '' */ +.icon-doc:before { content: '\e9d3'; } /* '' */ +.icon-doc-text:before { content: '\e9d4'; } /* '' */ +.icon-doc-add:before { content: '\e9d5'; } /* '' */ +.icon-doc-remove:before { content: '\e9d6'; } /* '' */ +.icon-news:before { content: '\e9d7'; } /* '' */ +.icon-folder:before { content: '\e9d8'; } /* '' */ +.icon-folder-add:before { content: '\e9d9'; } /* '' */ +.icon-folder-delete:before { content: '\e9da'; } /* '' */ +.icon-archive-1:before { content: '\e9db'; } /* '' */ +.icon-box:before { content: '\e9dc'; } /* '' */ +.icon-rss-outline:before { content: '\e9dd'; } /* '' */ +.icon-rss:before { content: '\e9de'; } /* '' */ +.icon-phone-outline:before { content: '\e9df'; } /* '' */ +.icon-phone:before { content: '\e9e0'; } /* '' */ +.icon-menu-outline:before { content: '\e9e1'; } /* '' */ +.icon-menu:before { content: '\e9e2'; } /* '' */ +.icon-cog-outline:before { content: '\e9e3'; } /* '' */ +.icon-cog:before { content: '\e9e4'; } /* '' */ +.icon-wrench-outline:before { content: '\e9e5'; } /* '' */ +.icon-wrench:before { content: '\e9e6'; } /* '' */ +.icon-basket:before { content: '\e9e7'; } /* '' */ +.icon-calendar-outlilne:before { content: '\e9e8'; } /* '' */ +.icon-calendar:before { content: '\e9e9'; } /* '' */ +.icon-mic-outline:before { content: '\e9ea'; } /* '' */ +.icon-mic:before { content: '\e9eb'; } /* '' */ +.icon-volume-off:before { content: '\e9ec'; } /* '' */ +.icon-volume-low:before { content: '\e9ed'; } /* '' */ +.icon-volume-middle:before { content: '\e9ee'; } /* '' */ +.icon-volume-high:before { content: '\e9ef'; } /* '' */ +.icon-headphones:before { content: '\e9f0'; } /* '' */ +.icon-clock:before { content: '\e9f1'; } /* '' */ +.icon-wristwatch:before { content: '\e9f2'; } /* '' */ +.icon-stopwatch:before { content: '\e9f3'; } /* '' */ +.icon-lightbulb:before { content: '\e9f4'; } /* '' */ +.icon-block-outline:before { content: '\e9f5'; } /* '' */ +.icon-block:before { content: '\e9f6'; } /* '' */ +.icon-resize-full-outline:before { content: '\e9f7'; } /* '' */ +.icon-resize-full:before { content: '\e9f8'; } /* '' */ +.icon-resize-normal-outline:before { content: '\e9f9'; } /* '' */ +.icon-resize-normal:before { content: '\e9fa'; } /* '' */ +.icon-move-outline:before { content: '\e9fb'; } /* '' */ +.icon-move:before { content: '\e9fc'; } /* '' */ +.icon-popup-1:before { content: '\e9fd'; } /* '' */ +.icon-zoom-in-outline:before { content: '\e9fe'; } /* '' */ +.icon-zoom-in:before { content: '\e9ff'; } /* '' */ +.icon-zoom-out-outline:before { content: '\ea00'; } /* '' */ +.icon-zoom-out:before { content: '\ea01'; } /* '' */ +.icon-popup-2:before { content: '\ea02'; } /* '' */ +.icon-left-open-outline:before { content: '\ea03'; } /* '' */ +.icon-left-open:before { content: '\ea04'; } /* '' */ +.icon-right-open-outline:before { content: '\ea05'; } /* '' */ +.icon-right-open:before { content: '\ea06'; } /* '' */ +.icon-down:before { content: '\ea07'; } /* '' */ +.icon-left:before { content: '\ea08'; } /* '' */ +.icon-right:before { content: '\ea09'; } /* '' */ +.icon-up:before { content: '\ea0a'; } /* '' */ +.icon-down-outline:before { content: '\ea0b'; } /* '' */ +.icon-left-outline:before { content: '\ea0c'; } /* '' */ +.icon-right-outline:before { content: '\ea0d'; } /* '' */ +.icon-up-outline:before { content: '\ea0e'; } /* '' */ +.icon-down-small:before { content: '\ea0f'; } /* '' */ +.icon-left-small:before { content: '\ea10'; } /* '' */ +.icon-right-small:before { content: '\ea11'; } /* '' */ +.icon-up-small:before { content: '\ea12'; } /* '' */ +.icon-cw-outline:before { content: '\ea13'; } /* '' */ +.icon-cw:before { content: '\ea14'; } /* '' */ +.icon-arrows-cw-outline:before { content: '\ea15'; } /* '' */ +.icon-arrows-cw:before { content: '\ea16'; } /* '' */ +.icon-loop-outline:before { content: '\ea17'; } /* '' */ +.icon-loop-1:before { content: '\ea18'; } /* '' */ +.icon-loop-alt-outline:before { content: '\ea19'; } /* '' */ +.icon-loop-alt:before { content: '\ea1a'; } /* '' */ +.icon-shuffle:before { content: '\ea1b'; } /* '' */ +.icon-play-outline:before { content: '\ea1c'; } /* '' */ +.icon-play:before { content: '\ea1d'; } /* '' */ +.icon-stop-outline:before { content: '\ea1e'; } /* '' */ +.icon-stop:before { content: '\ea1f'; } /* '' */ +.icon-pause-outline:before { content: '\ea20'; } /* '' */ +.icon-pause:before { content: '\ea21'; } /* '' */ +.icon-fast-fw-outline:before { content: '\ea22'; } /* '' */ +.icon-fast-fw:before { content: '\ea23'; } /* '' */ +.icon-rewind-outline:before { content: '\ea24'; } /* '' */ +.icon-rewind:before { content: '\ea25'; } /* '' */ +.icon-record-outline:before { content: '\ea26'; } /* '' */ +.icon-record-1:before { content: '\ea27'; } /* '' */ +.icon-eject-outline:before { content: '\ea28'; } /* '' */ +.icon-eject:before { content: '\ea29'; } /* '' */ +.icon-eject-alt-outline:before { content: '\ea2a'; } /* '' */ +.icon-eject-alt:before { content: '\ea2b'; } /* '' */ +.icon-bat1:before { content: '\ea2c'; } /* '' */ +.icon-bat2:before { content: '\ea2d'; } /* '' */ +.icon-bat3:before { content: '\ea2e'; } /* '' */ +.icon-bat4:before { content: '\ea2f'; } /* '' */ +.icon-bat-charge:before { content: '\ea30'; } /* '' */ +.icon-plug:before { content: '\ea31'; } /* '' */ +.icon-target-outline:before { content: '\ea32'; } /* '' */ +.icon-target:before { content: '\ea33'; } /* '' */ +.icon-wifi-outline:before { content: '\ea34'; } /* '' */ +.icon-wifi:before { content: '\ea35'; } /* '' */ +.icon-desktop:before { content: '\ea36'; } /* '' */ +.icon-laptop:before { content: '\ea37'; } /* '' */ +.icon-tablet:before { content: '\ea38'; } /* '' */ +.icon-mobile:before { content: '\ea39'; } /* '' */ +.icon-contrast:before { content: '\ea3a'; } /* '' */ +.icon-globe-outline:before { content: '\ea3b'; } /* '' */ +.icon-globe:before { content: '\ea3c'; } /* '' */ +.icon-globe-alt-outline:before { content: '\ea3d'; } /* '' */ +.icon-globe-alt:before { content: '\ea3e'; } /* '' */ +.icon-sun:before { content: '\ea3f'; } /* '' */ +.icon-sun-filled:before { content: '\ea40'; } /* '' */ +.icon-cloud:before { content: '\ea41'; } /* '' */ +.icon-flash-outline:before { content: '\ea42'; } /* '' */ +.icon-flash:before { content: '\ea43'; } /* '' */ +.icon-moon:before { content: '\ea44'; } /* '' */ +.icon-waves-outline:before { content: '\ea45'; } /* '' */ +.icon-waves:before { content: '\ea46'; } /* '' */ +.icon-rain:before { content: '\ea47'; } /* '' */ +.icon-cloud-sun:before { content: '\ea48'; } /* '' */ +.icon-drizzle:before { content: '\ea49'; } /* '' */ +.icon-snow:before { content: '\ea4a'; } /* '' */ +.icon-cloud-flash:before { content: '\ea4b'; } /* '' */ +.icon-cloud-wind:before { content: '\ea4c'; } /* '' */ +.icon-wind:before { content: '\ea4d'; } /* '' */ +.icon-plane-outline:before { content: '\ea4e'; } /* '' */ +.icon-plane:before { content: '\ea4f'; } /* '' */ +.icon-leaf:before { content: '\ea50'; } /* '' */ +.icon-lifebuoy-1:before { content: '\ea51'; } /* '' */ +.icon-briefcase:before { content: '\ea52'; } /* '' */ +.icon-brush-1:before { content: '\ea53'; } /* '' */ +.icon-pipette:before { content: '\ea54'; } /* '' */ +.icon-power-outline:before { content: '\ea55'; } /* '' */ +.icon-power:before { content: '\ea56'; } /* '' */ +.icon-check-outline:before { content: '\ea57'; } /* '' */ +.icon-check:before { content: '\ea58'; } /* '' */ +.icon-gift:before { content: '\ea59'; } /* '' */ +.icon-temperatire:before { content: '\ea5a'; } /* '' */ +.icon-chart-outline:before { content: '\ea5b'; } /* '' */ +.icon-chart:before { content: '\ea5c'; } /* '' */ +.icon-chart-alt-outline:before { content: '\ea5d'; } /* '' */ +.icon-chart-alt:before { content: '\ea5e'; } /* '' */ +.icon-chart-bar-outline:before { content: '\ea5f'; } /* '' */ +.icon-chart-bar:before { content: '\ea60'; } /* '' */ +.icon-chart-pie-outline:before { content: '\ea61'; } /* '' */ +.icon-chart-pie-1:before { content: '\ea62'; } /* '' */ +.icon-ticket:before { content: '\ea63'; } /* '' */ +.icon-credit-card:before { content: '\ea64'; } /* '' */ +.icon-clipboard-1:before { content: '\ea65'; } /* '' */ +.icon-database-2:before { content: '\ea66'; } /* '' */ +.icon-key-outline:before { content: '\ea67'; } /* '' */ +.icon-key:before { content: '\ea68'; } /* '' */ +.icon-flow-split:before { content: '\ea69'; } /* '' */ +.icon-flow-merge:before { content: '\ea6a'; } /* '' */ +.icon-flow-parallel-1:before { content: '\ea6b'; } /* '' */ +.icon-flow-cross:before { content: '\ea6c'; } /* '' */ +.icon-certificate-outline:before { content: '\ea6d'; } /* '' */ +.icon-certificate:before { content: '\ea6e'; } /* '' */ +.icon-scissors-outline:before { content: '\ea6f'; } /* '' */ +.icon-scissors:before { content: '\ea70'; } /* '' */ +.icon-flask:before { content: '\ea71'; } /* '' */ +.icon-wine:before { content: '\ea72'; } /* '' */ +.icon-coffee:before { content: '\ea73'; } /* '' */ +.icon-beer:before { content: '\ea74'; } /* '' */ +.icon-anchor-outline:before { content: '\ea75'; } /* '' */ +.icon-anchor:before { content: '\ea76'; } /* '' */ +.icon-puzzle-outline:before { content: '\ea77'; } /* '' */ +.icon-puzzle:before { content: '\ea78'; } /* '' */ +.icon-tree:before { content: '\ea79'; } /* '' */ +.icon-calculator:before { content: '\ea7a'; } /* '' */ +.icon-infinity-outline:before { content: '\ea7b'; } /* '' */ +.icon-infinity-1:before { content: '\ea7c'; } /* '' */ +.icon-pi-outline:before { content: '\ea7d'; } /* '' */ +.icon-pi:before { content: '\ea7e'; } /* '' */ +.icon-at:before { content: '\ea7f'; } /* '' */ +.icon-at-circled:before { content: '\ea80'; } /* '' */ +.icon-looped-square-outline:before { content: '\ea81'; } /* '' */ +.icon-looped-square-interest:before { content: '\ea82'; } /* '' */ +.icon-sort-alphabet-outline:before { content: '\ea83'; } /* '' */ +.icon-sort-alphabet:before { content: '\ea84'; } /* '' */ +.icon-sort-numeric-outline:before { content: '\ea85'; } /* '' */ +.icon-sort-numeric:before { content: '\ea86'; } /* '' */ +.icon-dribbble-circled-1:before { content: '\ea87'; } /* '' */ +.icon-dribbble:before { content: '\ea88'; } /* '' */ +.icon-facebook-circled-1:before { content: '\ea89'; } /* '' */ +.icon-facebook:before { content: '\ea8a'; } /* '' */ +.icon-flickr-circled-1:before { content: '\ea8b'; } /* '' */ +.icon-flickr:before { content: '\ea8c'; } /* '' */ +.icon-github-circled:before { content: '\ea8d'; } /* '' */ +.icon-github:before { content: '\ea8e'; } /* '' */ +.icon-lastfm-circled-1:before { content: '\ea8f'; } /* '' */ +.icon-lastfm-1:before { content: '\ea90'; } /* '' */ +.icon-linkedin-circled-1:before { content: '\ea91'; } /* '' */ +.icon-linkedin:before { content: '\ea92'; } /* '' */ +.icon-pinterest-circled:before { content: '\ea93'; } /* '' */ +.icon-pinterest-1:before { content: '\ea94'; } /* '' */ +.icon-skype-outline:before { content: '\ea95'; } /* '' */ +.icon-skype:before { content: '\ea96'; } /* '' */ +.icon-tumbler-circled:before { content: '\ea97'; } /* '' */ +.icon-tumbler:before { content: '\ea98'; } /* '' */ +.icon-twitter-circled-1:before { content: '\ea99'; } /* '' */ +.icon-twitter:before { content: '\ea9a'; } /* '' */ +.icon-vimeo-circled-1:before { content: '\ea9b'; } /* '' */ +.icon-vimeo-1:before { content: '\ea9c'; } /* '' */ +.icon-music-2:before { content: '\e95e'; } /* '' */ +.icon-search-2:before { content: '\e959'; } /* '' */ +.icon-mail-2:before { content: '\e958'; } /* '' */ +.icon-heart-2:before { content: '\e953'; } /* '' */ +.icon-star-2:before { content: '\e952'; } /* '' */ +.icon-user-2:before { content: '\e94d'; } /* '' */ +.icon-videocam-1:before { content: '\e94c'; } /* '' */ +.icon-camera-2:before { content: '\e947'; } /* '' */ +.icon-photo:before { content: '\e946'; } /* '' */ +.icon-attach-2:before { content: '\e943'; } /* '' */ +.icon-lock-2:before { content: '\e942'; } /* '' */ +.icon-eye-2:before { content: '\e93f'; } /* '' */ +.icon-tag-2:before { content: '\e93e'; } /* '' */ +.icon-thumbs-up-2:before { content: '\e93b'; } /* '' */ +.icon-pencil-2:before { content: '\e93a'; } /* '' */ +.icon-comment-2:before { content: '\e937'; } /* '' */ +.icon-location-2:before { content: '\e936'; } /* '' */ +.icon-cup-1:before { content: '\e933'; } /* '' */ +.icon-trash-2:before { content: '\e932'; } /* '' */ +.icon-doc-2:before { content: '\e92f'; } /* '' */ +.icon-note-1:before { content: '\e95d'; } /* '' */ +.icon-cog-2:before { content: '\e95a'; } /* '' */ +.icon-params:before { content: '\e957'; } /* '' */ +.icon-calendar-2:before { content: '\e954'; } /* '' */ +.icon-sound-1:before { content: '\e951'; } /* '' */ +.icon-clock-2:before { content: '\e94e'; } /* '' */ +.icon-lightbulb-1:before { content: '\e94b'; } /* '' */ +.icon-tv:before { content: '\e948'; } /* '' */ +.icon-desktop-1:before { content: '\e945'; } /* '' */ +.icon-mobile-2:before { content: '\e944'; } /* '' */ +.icon-cd-1:before { content: '\e941'; } /* '' */ +.icon-inbox-2:before { content: '\e940'; } /* '' */ +.icon-globe-2:before { content: '\e93d'; } /* '' */ +.icon-cloud-2:before { content: '\e93c'; } /* '' */ +.icon-paper-plane-1:before { content: '\e939'; } /* '' */ +.icon-fire-1:before { content: '\e938'; } /* '' */ +.icon-graduation-cap-1:before { content: '\e935'; } /* '' */ +.icon-megaphone-2:before { content: '\e934'; } /* '' */ +.icon-database-1:before { content: '\e931'; } /* '' */ +.icon-key-2:before { content: '\e930'; } /* '' */ +.icon-beaker-1:before { content: '\e95c'; } /* '' */ +.icon-truck-1:before { content: '\e95b'; } /* '' */ +.icon-money-1:before { content: '\e956'; } /* '' */ +.icon-food-1:before { content: '\e955'; } /* '' */ +.icon-shop:before { content: '\e950'; } /* '' */ +.icon-diamond:before { content: '\e94f'; } /* '' */ +.icon-t-shirt:before { content: '\e94a'; } /* '' */ +.icon-cc-share:before { content: '\e8e2'; } /* '' */ diff --git a/ClientApp/app/css/gts-nav-wizard.css b/ClientApp/app/css/gts-nav-wizard.css new file mode 100644 index 00000000..d42ea6d6 --- /dev/null +++ b/ClientApp/app/css/gts-nav-wizard.css @@ -0,0 +1,207 @@ +ul.nav-wizard { + background-color: #f9f9f9; + border: 1px solid #d4d4d4; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + *zoom: 1; + position: relative; + overflow: hidden; + padding: 0; +} +ul.nav-wizard:before { + display: block; + position: absolute; + left: 0px; + right: 0px; + top: 46px; + height: 47px; + border-top: 1px solid #d4d4d4; + border-bottom: 1px solid #d4d4d4; + z-index: 11; + content: " "; +} +ul.nav-wizard:after { + display: block; + position: absolute; + left: 0px; + right: 0px; + top: 138px; + height: 47px; + border-top: 1px solid #d4d4d4; + border-bottom: 1px solid #d4d4d4; + z-index: 11; + content: " "; +} +ul.nav-wizard li { + position: relative; + float: left; + height: 46px; + display: inline-block; + text-align: middle; + padding: 0; /*0 20px 0 30px;*/ + margin: 0; + font-size: 16px; + line-height: 46px; +} +ul.nav-wizard li a { + color: #468847; + /*background-color: #dff0d8;*/ + padding: 0; + padding: 0 20px 0 25px; +} +ul.nav-wizard li a:hover { + background-color: transparent; +} +ul.nav-wizard li.done a { + background-color: #dff0d8 !important; +} + +ul.nav-wizard li.done a:hover { + background-color: #dfe9d8 !important; +} + +ul.nav-wizard li:not(:last-child):before { + position: absolute; + display: block; + border: 24px solid transparent; + border-left: 16px solid #d4d4d4; + border-right: 0; + top: -1px; + z-index: 10; + content: ''; + right: -16px; +} +ul.nav-wizard li:not(:last-child):after { + position: absolute; + display: block; + border: 24px solid transparent; + /*border-left: 16px solid #dff0d8;*/ + border-left: 16px solid #ededed; + border-right: 0; + top: -1px; + z-index: 10; + content: ''; + right: -15px; +} +ul.nav-wizard li.done:not(:last-child):after { + border-left: 16px solid #dff0d8; +} +ul.nav-wizard li:hover:not(:last-child):after { + border-left: 16px solid #dfe9d8; +} + +ul.nav-wizard li.editing { + color: #3a87ad; + background: #d9edf7; +} +ul.nav-wizard li.editing:not(:last-child):after { + border-left: 16px solid #d9edf7; +} +ul.nav-wizard li.editing a, +ul.nav-wizard li.editing a:active, +ul.nav-wizard li.editing a:visited, +ul.nav-wizard li.editing a:focus { + color: #3a87ad; + background: #d9edf7; +} +ul.nav-wizard .editing ~ li { + color: #999999; + background: #ededed; +} +/*ul.nav-wizard .editing ~ li:not(:last-child):after { + border-left: 16px solid #ededed; +}*/ +ul.nav-wizard .editing ~ li:hover:not(:last-child):after { + border-left: 16px solid #dfe9d8; +} +ul.nav-wizard .editing ~ li a, +ul.nav-wizard .editing ~ li a:active, +ul.nav-wizard .editing ~ li a:visited, +ul.nav-wizard .editing ~ li a:focus { + color: #999999; + background: #ededed; +} + +ul.nav-wizard.nav-wizard-backnav li:hover { + color: #468847; + background: #f6fbfd; +} +ul.nav-wizard.nav-wizard-backnav li:not(:last-child):hover:after { + border-left: 16px solid #f6fbfd; +} +ul.nav-wizard.nav-wizard-backnav li:hover a, +ul.nav-wizard.nav-wizard-backnav li:hover a:active, +ul.nav-wizard.nav-wizard-backnav li:hover a:visited, +ul.nav-wizard.nav-wizard-backnav li:hover a:focus { + color: #468847; + background: #f6fbfd; +} + +ul.nav-wizard.nav-wizard-backnav .editing ~ li { + color: #999999; + background: #ededed; +} +ul.nav-wizard.nav-wizard-backnav .editing ~ li:not(:last-child):after { + border-left: 16px solid #ededed; +} +ul.nav-wizard.nav-wizard-backnav .editing ~ li a, +ul.nav-wizard.nav-wizard-backnav .editing ~ li a:active, +ul.nav-wizard.nav-wizard-backnav .editing ~ li a:visited, +ul.nav-wizard.nav-wizard-backnav .editing ~ li a:focus { + color: #999999; + background: #ededed; +} + + +/*set current selection styles*/ + +ul.nav-wizard li.current { + color: #3a87ad; + background: #d9edf7; +} +ul.nav-wizard li.current:not(:last-child):after { + border-left: 16px solid #d9edf7; +} +ul.nav-wizard li.current a, +ul.nav-wizard li.current a:active, +ul.nav-wizard li.current a:visited, +ul.nav-wizard li.current a:focus { + color: #3a87ad; + background: #d9edf7; +} +ul.nav-wizard .current ~ li { + color: #999999; + background: #ededed; +} +ul.nav-wizard .current ~ li:not(:last-child):after { + border-left: 16px solid #ededed; +} +ul.nav-wizard .current ~ li a, +ul.nav-wizard .current ~ li a:active, +ul.nav-wizard .current ~ li a:visited, +ul.nav-wizard .current ~ li a:focus { + color: #999999; + background: #ededed; +} +ul.nav-wizard.nav-wizard-backnav .current ~ li { + color: #999999; + background: #ededed; +} +ul.nav-wizard.nav-wizard-backnav .current ~ li:not(:last-child):after { + border-left: 16px solid #ededed; +} +ul.nav-wizard.nav-wizard-backnav .current ~ li a, +ul.nav-wizard.nav-wizard-backnav .current ~ li a:active, +ul.nav-wizard.nav-wizard-backnav .current ~ li a:visited, +ul.nav-wizard.nav-wizard-backnav .current ~ li a:focus { + color: #999999; + background: #ededed; +} +/*END set current selection styles*/ + +/*stop events content default. ng-click stop to work for that items*/ +.steps-indicator li.default { + pointer-events: none; +} +/*END stop events content default*/ \ No newline at end of file diff --git a/ClientApp/app/css/images/1920x500-bg.png b/ClientApp/app/css/images/1920x500-bg.png new file mode 100644 index 00000000..e0de40fe Binary files /dev/null and b/ClientApp/app/css/images/1920x500-bg.png differ diff --git a/ClientApp/app/css/images/aboutus-1.jpg b/ClientApp/app/css/images/aboutus-1.jpg new file mode 100644 index 00000000..59dc9d05 Binary files /dev/null and b/ClientApp/app/css/images/aboutus-1.jpg differ diff --git a/ClientApp/app/css/images/aboutus-2.jpg b/ClientApp/app/css/images/aboutus-2.jpg new file mode 100644 index 00000000..6766213e Binary files /dev/null and b/ClientApp/app/css/images/aboutus-2.jpg differ diff --git a/ClientApp/app/css/images/aboutus-3.jpg b/ClientApp/app/css/images/aboutus-3.jpg new file mode 100644 index 00000000..a53f28d4 Binary files /dev/null and b/ClientApp/app/css/images/aboutus-3.jpg differ diff --git a/ClientApp/app/css/images/au-itr.jpg b/ClientApp/app/css/images/au-itr.jpg new file mode 100644 index 00000000..51cd7a88 Binary files /dev/null and b/ClientApp/app/css/images/au-itr.jpg differ diff --git a/ClientApp/app/css/images/au-itr_large.jpg b/ClientApp/app/css/images/au-itr_large.jpg new file mode 100644 index 00000000..6d145c83 Binary files /dev/null and b/ClientApp/app/css/images/au-itr_large.jpg differ diff --git a/ClientApp/app/css/images/au_abn.jpg b/ClientApp/app/css/images/au_abn.jpg new file mode 100644 index 00000000..5849b16e Binary files /dev/null and b/ClientApp/app/css/images/au_abn.jpg differ diff --git a/ClientApp/app/css/images/au_abn_large.jpg b/ClientApp/app/css/images/au_abn_large.jpg new file mode 100644 index 00000000..f0e4e23b Binary files /dev/null and b/ClientApp/app/css/images/au_abn_large.jpg differ diff --git a/ClientApp/app/css/images/au_superannuation.jpg b/ClientApp/app/css/images/au_superannuation.jpg new file mode 100644 index 00000000..b6fd498d Binary files /dev/null and b/ClientApp/app/css/images/au_superannuation.jpg differ diff --git a/ClientApp/app/css/images/au_superannuation2.jpg b/ClientApp/app/css/images/au_superannuation2.jpg new file mode 100644 index 00000000..2f150830 Binary files /dev/null and b/ClientApp/app/css/images/au_superannuation2.jpg differ diff --git a/ClientApp/app/css/images/au_superannuation2_large.jpg b/ClientApp/app/css/images/au_superannuation2_large.jpg new file mode 100644 index 00000000..7fcfda62 Binary files /dev/null and b/ClientApp/app/css/images/au_superannuation2_large.jpg differ diff --git a/ClientApp/app/css/images/au_superannuation_large.jpg b/ClientApp/app/css/images/au_superannuation_large.jpg new file mode 100644 index 00000000..d5bb2a17 Binary files /dev/null and b/ClientApp/app/css/images/au_superannuation_large.jpg differ diff --git a/ClientApp/app/css/images/au_tfn.jpg b/ClientApp/app/css/images/au_tfn.jpg new file mode 100644 index 00000000..cde5908a Binary files /dev/null and b/ClientApp/app/css/images/au_tfn.jpg differ diff --git a/ClientApp/app/css/images/au_tfn_large.jpg b/ClientApp/app/css/images/au_tfn_large.jpg new file mode 100644 index 00000000..4c8bdafa Binary files /dev/null and b/ClientApp/app/css/images/au_tfn_large.jpg differ diff --git a/ClientApp/app/css/images/australia_fluttering_flag_64.png b/ClientApp/app/css/images/australia_fluttering_flag_64.png new file mode 100644 index 00000000..5c70e63b Binary files /dev/null and b/ClientApp/app/css/images/australia_fluttering_flag_64.png differ diff --git a/ClientApp/app/css/images/browser.png b/ClientApp/app/css/images/browser.png new file mode 100644 index 00000000..f7afd9ed Binary files /dev/null and b/ClientApp/app/css/images/browser.png differ diff --git a/ClientApp/app/css/images/c1.png b/ClientApp/app/css/images/c1.png new file mode 100644 index 00000000..21278682 Binary files /dev/null and b/ClientApp/app/css/images/c1.png differ diff --git a/ClientApp/app/css/images/c2.png b/ClientApp/app/css/images/c2.png new file mode 100644 index 00000000..9e08763a Binary files /dev/null and b/ClientApp/app/css/images/c2.png differ diff --git a/ClientApp/app/css/images/c3.png b/ClientApp/app/css/images/c3.png new file mode 100644 index 00000000..13d0bdc1 Binary files /dev/null and b/ClientApp/app/css/images/c3.png differ diff --git a/ClientApp/app/css/images/c4.png b/ClientApp/app/css/images/c4.png new file mode 100644 index 00000000..f9c738e5 Binary files /dev/null and b/ClientApp/app/css/images/c4.png differ diff --git a/ClientApp/app/css/images/c5.png b/ClientApp/app/css/images/c5.png new file mode 100644 index 00000000..f3537fdf Binary files /dev/null and b/ClientApp/app/css/images/c5.png differ diff --git a/ClientApp/app/css/images/c6.png b/ClientApp/app/css/images/c6.png new file mode 100644 index 00000000..397a618d Binary files /dev/null and b/ClientApp/app/css/images/c6.png differ diff --git a/ClientApp/app/css/images/c7.png b/ClientApp/app/css/images/c7.png new file mode 100644 index 00000000..4f0e5f2d Binary files /dev/null and b/ClientApp/app/css/images/c7.png differ diff --git a/ClientApp/app/css/images/c8.png b/ClientApp/app/css/images/c8.png new file mode 100644 index 00000000..3ebfc3b2 Binary files /dev/null and b/ClientApp/app/css/images/c8.png differ diff --git a/ClientApp/app/css/images/company_logo.png b/ClientApp/app/css/images/company_logo.png new file mode 100644 index 00000000..a816a343 Binary files /dev/null and b/ClientApp/app/css/images/company_logo.png differ diff --git a/ClientApp/app/css/images/decor_inside.png b/ClientApp/app/css/images/decor_inside.png new file mode 100644 index 00000000..02f3321e Binary files /dev/null and b/ClientApp/app/css/images/decor_inside.png differ diff --git a/ClientApp/app/css/images/decor_inside_white.png b/ClientApp/app/css/images/decor_inside_white.png new file mode 100644 index 00000000..a3679f14 Binary files /dev/null and b/ClientApp/app/css/images/decor_inside_white.png differ diff --git a/ClientApp/app/css/images/decor_testimonial.png b/ClientApp/app/css/images/decor_testimonial.png new file mode 100644 index 00000000..949e5644 Binary files /dev/null and b/ClientApp/app/css/images/decor_testimonial.png differ diff --git a/ClientApp/app/css/images/favicon.png b/ClientApp/app/css/images/favicon.png new file mode 100644 index 00000000..985a53c9 Binary files /dev/null and b/ClientApp/app/css/images/favicon.png differ diff --git a/ClientApp/app/css/images/gettaxsolutions_logo2.png b/ClientApp/app/css/images/gettaxsolutions_logo2.png new file mode 100644 index 00000000..8c097bd9 Binary files /dev/null and b/ClientApp/app/css/images/gettaxsolutions_logo2.png differ diff --git a/ClientApp/app/css/images/gradient/g30.png b/ClientApp/app/css/images/gradient/g30.png new file mode 100644 index 00000000..48595b75 Binary files /dev/null and b/ClientApp/app/css/images/gradient/g30.png differ diff --git a/ClientApp/app/css/images/gradient/g40.png b/ClientApp/app/css/images/gradient/g40.png new file mode 100644 index 00000000..d82af00c Binary files /dev/null and b/ClientApp/app/css/images/gradient/g40.png differ diff --git a/ClientApp/app/css/images/hands-on-kb.jpg b/ClientApp/app/css/images/hands-on-kb.jpg new file mode 100644 index 00000000..99668547 Binary files /dev/null and b/ClientApp/app/css/images/hands-on-kb.jpg differ diff --git a/ClientApp/app/css/images/icons/ajaxloader.gif b/ClientApp/app/css/images/icons/ajaxloader.gif new file mode 100644 index 00000000..3c329ffe Binary files /dev/null and b/ClientApp/app/css/images/icons/ajaxloader.gif differ diff --git a/ClientApp/app/css/images/icons/grabbing.png b/ClientApp/app/css/images/icons/grabbing.png new file mode 100644 index 00000000..85491df0 Binary files /dev/null and b/ClientApp/app/css/images/icons/grabbing.png differ diff --git a/ClientApp/app/css/images/icons/loader.gif b/ClientApp/app/css/images/icons/loader.gif new file mode 100644 index 00000000..53dd589f Binary files /dev/null and b/ClientApp/app/css/images/icons/loader.gif differ diff --git a/ClientApp/app/css/images/laptop-with-blank-screen-on-white.jpg b/ClientApp/app/css/images/laptop-with-blank-screen-on-white.jpg new file mode 100644 index 00000000..bcb06147 Binary files /dev/null and b/ClientApp/app/css/images/laptop-with-blank-screen-on-white.jpg differ diff --git a/ClientApp/app/css/images/laptop111.png b/ClientApp/app/css/images/laptop111.png new file mode 100644 index 00000000..a880e5e4 Binary files /dev/null and b/ClientApp/app/css/images/laptop111.png differ diff --git a/ClientApp/app/css/images/lightbox/close.png b/ClientApp/app/css/images/lightbox/close.png new file mode 100644 index 00000000..e802c69d Binary files /dev/null and b/ClientApp/app/css/images/lightbox/close.png differ diff --git a/ClientApp/app/css/images/lightbox/close@2x.png b/ClientApp/app/css/images/lightbox/close@2x.png new file mode 100644 index 00000000..60b37fa2 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/close@2x.png differ diff --git a/ClientApp/app/css/images/lightbox/loading.GIF b/ClientApp/app/css/images/lightbox/loading.GIF new file mode 100644 index 00000000..a1789564 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/loading.GIF differ diff --git a/ClientApp/app/css/images/lightbox/loading@2x.GIF b/ClientApp/app/css/images/lightbox/loading@2x.GIF new file mode 100644 index 00000000..c866f881 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/loading@2x.GIF differ diff --git a/ClientApp/app/css/images/lightbox/next.png b/ClientApp/app/css/images/lightbox/next.png new file mode 100644 index 00000000..462b64e4 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/next.png differ diff --git a/ClientApp/app/css/images/lightbox/next@2x.png b/ClientApp/app/css/images/lightbox/next@2x.png new file mode 100644 index 00000000..f246ae93 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/next@2x.png differ diff --git a/ClientApp/app/css/images/lightbox/prev.png b/ClientApp/app/css/images/lightbox/prev.png new file mode 100644 index 00000000..eda62a7e Binary files /dev/null and b/ClientApp/app/css/images/lightbox/prev.png differ diff --git a/ClientApp/app/css/images/lightbox/prev@2x.png b/ClientApp/app/css/images/lightbox/prev@2x.png new file mode 100644 index 00000000..49a2e4d6 Binary files /dev/null and b/ClientApp/app/css/images/lightbox/prev@2x.png differ diff --git a/ClientApp/app/css/images/loader.gif b/ClientApp/app/css/images/loader.gif new file mode 100644 index 00000000..7746bd30 Binary files /dev/null and b/ClientApp/app/css/images/loader.gif differ diff --git a/ClientApp/app/css/images/logo-icon.png b/ClientApp/app/css/images/logo-icon.png new file mode 100644 index 00000000..44e331e4 Binary files /dev/null and b/ClientApp/app/css/images/logo-icon.png differ diff --git a/ClientApp/app/css/images/macbook.png b/ClientApp/app/css/images/macbook.png new file mode 100644 index 00000000..1649df27 Binary files /dev/null and b/ClientApp/app/css/images/macbook.png differ diff --git a/ClientApp/app/css/images/map.png b/ClientApp/app/css/images/map.png new file mode 100644 index 00000000..2d1687cb Binary files /dev/null and b/ClientApp/app/css/images/map.png differ diff --git a/ClientApp/app/css/images/marker.png b/ClientApp/app/css/images/marker.png new file mode 100644 index 00000000..8325f1c1 Binary files /dev/null and b/ClientApp/app/css/images/marker.png differ diff --git a/ClientApp/app/css/images/new_zealand_fluttering_flag_64.png b/ClientApp/app/css/images/new_zealand_fluttering_flag_64.png new file mode 100644 index 00000000..afab4ed5 Binary files /dev/null and b/ClientApp/app/css/images/new_zealand_fluttering_flag_64.png differ diff --git a/ClientApp/app/css/images/nz-ird.jpg b/ClientApp/app/css/images/nz-ird.jpg new file mode 100644 index 00000000..ca6b737e Binary files /dev/null and b/ClientApp/app/css/images/nz-ird.jpg differ diff --git a/ClientApp/app/css/images/nz-ird2.jpg b/ClientApp/app/css/images/nz-ird2.jpg new file mode 100644 index 00000000..7e67ed6d Binary files /dev/null and b/ClientApp/app/css/images/nz-ird2.jpg differ diff --git a/ClientApp/app/css/images/nz-ird2_large.jpg b/ClientApp/app/css/images/nz-ird2_large.jpg new file mode 100644 index 00000000..89df8306 Binary files /dev/null and b/ClientApp/app/css/images/nz-ird2_large.jpg differ diff --git a/ClientApp/app/css/images/nz-ird_large.jpg b/ClientApp/app/css/images/nz-ird_large.jpg new file mode 100644 index 00000000..fd4fe38b Binary files /dev/null and b/ClientApp/app/css/images/nz-ird_large.jpg differ diff --git a/ClientApp/app/css/images/nz-itr.jpg b/ClientApp/app/css/images/nz-itr.jpg new file mode 100644 index 00000000..01c6459c Binary files /dev/null and b/ClientApp/app/css/images/nz-itr.jpg differ diff --git a/ClientApp/app/css/images/nz-itr_large.jpg b/ClientApp/app/css/images/nz-itr_large.jpg new file mode 100644 index 00000000..5712e153 Binary files /dev/null and b/ClientApp/app/css/images/nz-itr_large.jpg differ diff --git a/ClientApp/app/css/images/patterns/1.png b/ClientApp/app/css/images/patterns/1.png new file mode 100644 index 00000000..37fcd078 Binary files /dev/null and b/ClientApp/app/css/images/patterns/1.png differ diff --git a/ClientApp/app/css/images/patterns/10.png b/ClientApp/app/css/images/patterns/10.png new file mode 100644 index 00000000..8c6bb568 Binary files /dev/null and b/ClientApp/app/css/images/patterns/10.png differ diff --git a/ClientApp/app/css/images/patterns/11.png b/ClientApp/app/css/images/patterns/11.png new file mode 100644 index 00000000..e19a7a60 Binary files /dev/null and b/ClientApp/app/css/images/patterns/11.png differ diff --git a/ClientApp/app/css/images/patterns/12.png b/ClientApp/app/css/images/patterns/12.png new file mode 100644 index 00000000..6e01b3d6 Binary files /dev/null and b/ClientApp/app/css/images/patterns/12.png differ diff --git a/ClientApp/app/css/images/patterns/13.png b/ClientApp/app/css/images/patterns/13.png new file mode 100644 index 00000000..20922820 Binary files /dev/null and b/ClientApp/app/css/images/patterns/13.png differ diff --git a/ClientApp/app/css/images/patterns/14.png b/ClientApp/app/css/images/patterns/14.png new file mode 100644 index 00000000..0557b66e Binary files /dev/null and b/ClientApp/app/css/images/patterns/14.png differ diff --git a/ClientApp/app/css/images/patterns/2.png b/ClientApp/app/css/images/patterns/2.png new file mode 100644 index 00000000..fcc321d7 Binary files /dev/null and b/ClientApp/app/css/images/patterns/2.png differ diff --git a/ClientApp/app/css/images/patterns/3.png b/ClientApp/app/css/images/patterns/3.png new file mode 100644 index 00000000..fe1a40d7 Binary files /dev/null and b/ClientApp/app/css/images/patterns/3.png differ diff --git a/ClientApp/app/css/images/patterns/4.png b/ClientApp/app/css/images/patterns/4.png new file mode 100644 index 00000000..ca28fcf8 Binary files /dev/null and b/ClientApp/app/css/images/patterns/4.png differ diff --git a/ClientApp/app/css/images/patterns/5.png b/ClientApp/app/css/images/patterns/5.png new file mode 100644 index 00000000..a8f2a852 Binary files /dev/null and b/ClientApp/app/css/images/patterns/5.png differ diff --git a/ClientApp/app/css/images/patterns/6.png b/ClientApp/app/css/images/patterns/6.png new file mode 100644 index 00000000..66464831 Binary files /dev/null and b/ClientApp/app/css/images/patterns/6.png differ diff --git a/ClientApp/app/css/images/patterns/7.png b/ClientApp/app/css/images/patterns/7.png new file mode 100644 index 00000000..f135b782 Binary files /dev/null and b/ClientApp/app/css/images/patterns/7.png differ diff --git a/ClientApp/app/css/images/patterns/8.png b/ClientApp/app/css/images/patterns/8.png new file mode 100644 index 00000000..d54e8899 Binary files /dev/null and b/ClientApp/app/css/images/patterns/8.png differ diff --git a/ClientApp/app/css/images/patterns/9.png b/ClientApp/app/css/images/patterns/9.png new file mode 100644 index 00000000..fc037113 Binary files /dev/null and b/ClientApp/app/css/images/patterns/9.png differ diff --git a/ClientApp/app/css/images/portfolio-01.jpg b/ClientApp/app/css/images/portfolio-01.jpg new file mode 100644 index 00000000..1cf4fbc4 Binary files /dev/null and b/ClientApp/app/css/images/portfolio-01.jpg differ diff --git a/ClientApp/app/css/images/portfolio-02.jpg b/ClientApp/app/css/images/portfolio-02.jpg new file mode 100644 index 00000000..d5497584 Binary files /dev/null and b/ClientApp/app/css/images/portfolio-02.jpg differ diff --git a/ClientApp/app/css/images/portfolio-03.jpg b/ClientApp/app/css/images/portfolio-03.jpg new file mode 100644 index 00000000..524c9fbe Binary files /dev/null and b/ClientApp/app/css/images/portfolio-03.jpg differ diff --git a/ClientApp/app/css/images/portfolio-04.jpg b/ClientApp/app/css/images/portfolio-04.jpg new file mode 100644 index 00000000..2e9ddc65 Binary files /dev/null and b/ClientApp/app/css/images/portfolio-04.jpg differ diff --git a/ClientApp/app/css/images/portfolio-05.jpg b/ClientApp/app/css/images/portfolio-05.jpg new file mode 100644 index 00000000..d3557a25 Binary files /dev/null and b/ClientApp/app/css/images/portfolio-05.jpg differ diff --git a/ClientApp/app/css/images/portfolio-06.jpg b/ClientApp/app/css/images/portfolio-06.jpg new file mode 100644 index 00000000..8e7ac17d Binary files /dev/null and b/ClientApp/app/css/images/portfolio-06.jpg differ diff --git a/ClientApp/app/css/images/portfolio-07.jpg b/ClientApp/app/css/images/portfolio-07.jpg new file mode 100644 index 00000000..9c88969c Binary files /dev/null and b/ClientApp/app/css/images/portfolio-07.jpg differ diff --git a/ClientApp/app/css/images/portfolio-08.jpg b/ClientApp/app/css/images/portfolio-08.jpg new file mode 100644 index 00000000..019427f9 Binary files /dev/null and b/ClientApp/app/css/images/portfolio-08.jpg differ diff --git a/ClientApp/app/css/images/portfolio-09.jpg b/ClientApp/app/css/images/portfolio-09.jpg new file mode 100644 index 00000000..632d52ae Binary files /dev/null and b/ClientApp/app/css/images/portfolio-09.jpg differ diff --git a/ClientApp/app/css/images/service-ABN.jpg b/ClientApp/app/css/images/service-ABN.jpg new file mode 100644 index 00000000..096556b5 Binary files /dev/null and b/ClientApp/app/css/images/service-ABN.jpg differ diff --git a/ClientApp/app/css/images/service-Australian Income.jpg b/ClientApp/app/css/images/service-Australian Income.jpg new file mode 100644 index 00000000..bc3fca90 Binary files /dev/null and b/ClientApp/app/css/images/service-Australian Income.jpg differ diff --git a/ClientApp/app/css/images/service-IRD Number.jpg b/ClientApp/app/css/images/service-IRD Number.jpg new file mode 100644 index 00000000..e3ff7e5e Binary files /dev/null and b/ClientApp/app/css/images/service-IRD Number.jpg differ diff --git a/ClientApp/app/css/images/service-NZ Income.jpg b/ClientApp/app/css/images/service-NZ Income.jpg new file mode 100644 index 00000000..de2b27d2 Binary files /dev/null and b/ClientApp/app/css/images/service-NZ Income.jpg differ diff --git a/ClientApp/app/css/images/service-Superannuation.jpg b/ClientApp/app/css/images/service-Superannuation.jpg new file mode 100644 index 00000000..a53c69dc Binary files /dev/null and b/ClientApp/app/css/images/service-Superannuation.jpg differ diff --git a/ClientApp/app/css/images/service-TFN.jpg b/ClientApp/app/css/images/service-TFN.jpg new file mode 100644 index 00000000..1f3ec9e0 Binary files /dev/null and b/ClientApp/app/css/images/service-TFN.jpg differ diff --git a/ClientApp/app/css/images/slide-01-bg.jpg b/ClientApp/app/css/images/slide-01-bg.jpg new file mode 100644 index 00000000..6a1914c6 Binary files /dev/null and b/ClientApp/app/css/images/slide-01-bg.jpg differ diff --git a/ClientApp/app/css/images/slide-01-image-01.png b/ClientApp/app/css/images/slide-01-image-01.png new file mode 100644 index 00000000..c989a8ab Binary files /dev/null and b/ClientApp/app/css/images/slide-01-image-01.png differ diff --git a/ClientApp/app/css/images/slide-01-image-02.png b/ClientApp/app/css/images/slide-01-image-02.png new file mode 100644 index 00000000..25e18b3f Binary files /dev/null and b/ClientApp/app/css/images/slide-01-image-02.png differ diff --git a/ClientApp/app/css/images/slide-02-bg.jpg b/ClientApp/app/css/images/slide-02-bg.jpg new file mode 100644 index 00000000..22b398e1 Binary files /dev/null and b/ClientApp/app/css/images/slide-02-bg.jpg differ diff --git a/ClientApp/app/css/images/slide-02-bg_large.jpg b/ClientApp/app/css/images/slide-02-bg_large.jpg new file mode 100644 index 00000000..268e9ad8 Binary files /dev/null and b/ClientApp/app/css/images/slide-02-bg_large.jpg differ diff --git a/ClientApp/app/css/images/slide-02-image-01.png b/ClientApp/app/css/images/slide-02-image-01.png new file mode 100644 index 00000000..4c5b5d90 Binary files /dev/null and b/ClientApp/app/css/images/slide-02-image-01.png differ diff --git a/ClientApp/app/css/images/slide-03-bg.jpg b/ClientApp/app/css/images/slide-03-bg.jpg new file mode 100644 index 00000000..7f87da04 Binary files /dev/null and b/ClientApp/app/css/images/slide-03-bg.jpg differ diff --git a/ClientApp/app/css/images/slide-03-image-01.png b/ClientApp/app/css/images/slide-03-image-01.png new file mode 100644 index 00000000..ce14d667 Binary files /dev/null and b/ClientApp/app/css/images/slide-03-image-01.png differ diff --git a/ClientApp/app/css/images/slide-03-image-02.png b/ClientApp/app/css/images/slide-03-image-02.png new file mode 100644 index 00000000..ee3c523a Binary files /dev/null and b/ClientApp/app/css/images/slide-03-image-02.png differ diff --git a/ClientApp/app/css/images/under-construction.gif b/ClientApp/app/css/images/under-construction.gif new file mode 100644 index 00000000..dede0eba Binary files /dev/null and b/ClientApp/app/css/images/under-construction.gif differ diff --git a/ClientApp/app/css/images/vella-pic.png b/ClientApp/app/css/images/vella-pic.png new file mode 100644 index 00000000..8072aa52 Binary files /dev/null and b/ClientApp/app/css/images/vella-pic.png differ diff --git a/ClientApp/app/css/images/vella.png b/ClientApp/app/css/images/vella.png new file mode 100644 index 00000000..29f4356c Binary files /dev/null and b/ClientApp/app/css/images/vella.png differ diff --git a/ClientApp/app/css/images/vella2.png b/ClientApp/app/css/images/vella2.png new file mode 100644 index 00000000..f6a764ca Binary files /dev/null and b/ClientApp/app/css/images/vella2.png differ diff --git a/ClientApp/app/css/images/video/flashmediaelement.swf b/ClientApp/app/css/images/video/flashmediaelement.swf new file mode 100644 index 00000000..c5d205a0 Binary files /dev/null and b/ClientApp/app/css/images/video/flashmediaelement.swf differ diff --git a/ClientApp/app/css/images/video/poster.gif b/ClientApp/app/css/images/video/poster.gif new file mode 100644 index 00000000..96712480 Binary files /dev/null and b/ClientApp/app/css/images/video/poster.gif differ diff --git a/ClientApp/app/css/images/video/poster.jpg b/ClientApp/app/css/images/video/poster.jpg new file mode 100644 index 00000000..72839127 Binary files /dev/null and b/ClientApp/app/css/images/video/poster.jpg differ diff --git a/ClientApp/app/css/images/video/video.mp4 b/ClientApp/app/css/images/video/video.mp4 new file mode 100644 index 00000000..c4ff59a7 Binary files /dev/null and b/ClientApp/app/css/images/video/video.mp4 differ diff --git a/ClientApp/app/css/images/video/video.ogv b/ClientApp/app/css/images/video/video.ogv new file mode 100644 index 00000000..ea4c68d4 Binary files /dev/null and b/ClientApp/app/css/images/video/video.ogv differ diff --git a/ClientApp/app/css/images/video/video.webm b/ClientApp/app/css/images/video/video.webm new file mode 100644 index 00000000..368fdbf2 Binary files /dev/null and b/ClientApp/app/css/images/video/video.webm differ diff --git a/ClientApp/app/css/responsive.scss b/ClientApp/app/css/responsive.scss new file mode 100644 index 00000000..770e37d2 --- /dev/null +++ b/ClientApp/app/css/responsive.scss @@ -0,0 +1,321 @@ +@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-top: 8px !important; + padding-bottom: 8px !important; /*padding: 25px 15px;*/ + width: 75% !important; + } + + .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; + } + + .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; + } + +} diff --git a/ClientApp/app/css/settings.scss b/ClientApp/app/css/settings.scss new file mode 100644 index 00000000..6a0f2af2 --- /dev/null +++ b/ClientApp/app/css/settings.scss @@ -0,0 +1,1389 @@ +/*----------------------------------------------------------------------------- + + - 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(./css/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(./css/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(./css/assets/shadow1.png) no-repeat; background-size:100% 100%; width:890px; height:60px; bottom:-60px;} +.tp-bannershadow.tp-shadow2 { background:url(./css/assets/shadow2.png) no-repeat; background-size:100% 100%; width:890px; height:60px;bottom:-60px;} +.tp-bannershadow.tp-shadow3 { background:url(./css/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(./css/assets/gridtile.png)} +.tp-dottedoverlay.twoxtwowhite { background:url(./css/assets/gridtile_white.png)} +.tp-dottedoverlay.threexthree { background:url(./css/assets/gridtile_3x3.png)} +.tp-dottedoverlay.threexthreewhite { background:url(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/assets/large_left.png) no-Repeat top left; width:40px; height:40px; } +.tp-rightarrow { z-index:100;cursor:pointer; position:relative; background:url(./css/assets/large_right.png) no-Repeat top left; width:40px; height:40px; } + + +.tp-leftarrow.round { z-index:100;cursor:pointer; position:relative; background:url(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/assets/large_left.png) no-Repeat 0 0; width:40px; height:40px; + + } +.tp-rightarrow.default { z-index:100;cursor:pointer; position:relative; background:url(./css/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(./css/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(./css/assets/coloredbg.png) repeat;} + +.tp-loader { background:url(./css/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(./css/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('./css/font/revicons.eot?5510888'); + src: url('./css/font/revicons.eot?5510888#iefix') format('embedded-opentype'), + url('./css/font/revicons.woff?5510888') format('woff'), + url('./css/font/revicons.ttf?5510888') format('truetype'), + url('./css/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('./css/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'; } /* '' */ diff --git a/ClientApp/app/css/style.scss b/ClientApp/app/css/style.scss new file mode 100644 index 00000000..5029e853 --- /dev/null +++ b/ClientApp/app/css/style.scss @@ -0,0 +1,5916 @@ +/* CSS Document */ + +/* + Theme Name: Venda + Description: Venda - Responsive Template + Version: 1.0 + Author: ZoOm-Arts + Website: http://zoom-arts.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(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800); +@import url(https://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(./css/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; +} + +input[type="submit"][disabled='disabled'] { + background-color: #D6D6D6; +} + +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; +} + +#content { + padding: 50px 0; +} + +#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; +} + +.keyboard-module .section { + overflow: hidden; +} + +.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; +} + +#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; +} + +#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 .topLoginPanel a { + color:#444; +} + +.top-bar.dark-bar .topLoginPanel a:hover { + color: #444 !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, + .top-bar .contact-details li:nth-of-type(1) 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 .topLoginPanel li { + width:100%; +} + + +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; +} + +top-nav-menu { + width: 100%; + display:flex; +} + +.navbar { + margin-bottom: 0; + padding: 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.active-menu > a, .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.active-menu > a:after { + opacity: 1; +} + +.navbar-default .navbar-nav .dropdown { + position: absolute; + left: 0; + top: 100%; + width: 100%; + /*width: 180px;*/ + background-color: #fff; + /*visibility: hidden;*/ + display:none; + 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;*/ + display:block; + 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"], +#contact-form input[type="text"], +#contact-form textarea, +#respond input[type="text"], +#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, +#contact-form input[type="text"]:focus, +#contact-form textarea:focus, +#respond input[type="text"]:focus, +#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 +} + +#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-important-info { + border-color: #1abc9c; +} +.panel-important-info > .panel-heading { + background: #1abc9c; +} + +.white-text { + color: white; +} + +.green-text { + color: #1abc9c !important; +} + +.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; + z-index: 1; +} + +.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*/ +#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; +} + +#pagination span.current { + color: #fff; +} + +#pagination a:hover { + border-color: #ddd; +} + +#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; +} + +#comments .comments-list { + padding: 0; + margin: 0 0 35px 0; +} + +#comments .comments-title { + font-weight: 500; + margin-bottom: 20px; +} + +#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; +} + +#comments .comments-list li ul { + padding-left: 80px; +} + +#comments .avatar { + float: left; +} + +#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; +} + +#comments .comment-content { + padding-left: 72px; +} + +#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; +} + +#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(./css/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(./css/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(./css/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(./css/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(./css/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(./css/images/lightbox/loading@2x.gif); + background-size: 32px 32px; + } + .nivo-lightbox-theme-default .nivo-lightbox-prev { + background-image: url(./css/images/lightbox/prev@2x.png); + background-size: 48px 48px; + } + .nivo-lightbox-theme-default .nivo-lightbox-next { + background-image: url(./css/images/lightbox/next@2x.png); + background-size: 48px 48px; + } + .nivo-lightbox-theme-default .nivo-lightbox-close { + background-image: url(./css/images/lightbox/close@2x.png); + background-size: 16px 16px; + } + +} + + +/******* 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(./css/images/patterns/1.png) repeat; +} +.switcher-box .bg-list li a.bg2 { + background: url(./css/images/patterns/2.png) repeat; +} +.switcher-box .bg-list li a.bg3 { + background: url(./css/images/patterns/3.png) repeat; +} +.switcher-box .bg-list li a.bg4 { + background: url(./css/images/patterns/4.png) repeat; +} +.switcher-box .bg-list li a.bg5 { + background: url(./css/images/patterns/5.png) repeat; +} +.switcher-box .bg-list li a.bg6 { + background: url(./css/images/patterns/6.png) repeat; +} +.switcher-box .bg-list li a.bg7 { + background: url(./css/images/patterns/7.png) repeat; +} +.switcher-box .bg-list li a.bg8 { + background: url(./css/images/patterns/8.png) repeat; +} +.switcher-box .bg-list li a.bg9 { + background: url(./css/images/patterns/9.png) repeat; +} +.switcher-box .bg-list li a.bg10 { + background: url(./css/images/patterns/10.png) repeat; +} +.switcher-box .bg-list li a.bg11 { + background: url(./css/images/patterns/11.png) repeat; +} +.switcher-box .bg-list li a.bg12 { + background: url(./css/images/patterns/12.png) repeat; +} +.switcher-box .bg-list li a.bg13 { + background: url(./css/images/patterns/13.png) repeat; +} +.switcher-box .bg-list li a.bg14 { + background: url(./css/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(./css/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; +} + + +/*Bootstrap override*/ +#btnLogin { + margin-right:10px; + min-width: 100px; +} + +.topLoginItem { + line-height: 28px; + height: 33px; +} + +.topLoginPanel { + display: inline-block; + vertical-align: middle; +} + +@media (max-width: 768px) { + .btn-responsive { + padding:2px 4px; + font-size:80%; + line-height: 1; + border-radius:3px; + } +} + +@media (min-width: 769px) and (max-width: 992px) { + .btn-responsive { + padding:4px 9px; + font-size:90%; + line-height: 1.2; + } +} + +.modal { + z-index: 99999999 !important; +} + +/* Old Site.css*/ + +/*animate ng-view when routing*/ +.view-animate-container { + position: relative; + min-height: 100px !important; + background: white; + overflow: hidden; +} + +.view-animate { + padding: 10px; +} + +.view-animate.ng-enter { + transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s; + display: block; + width: 100%; + border-left: 1px solid #f6f6f6; + position: relative; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 10px; +} + +view-animate.ng-leave { + transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s; + display: block; + width: 100%; + border-left: 1px solid #f6f6f6; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 10px; +} + +.view-animate.ng-enter { + left: 100%; +} + +.view-animate.ng-enter.ng-enter-active { + left: 0; +} + +.view-animate.ng-leave.ng-leave-active { + left: -100%; +} + +.noAnimate { + -webkit-transition: none !important; + transition: none !important; +} +/*END animate ng-view when routing*/ + +.formly-field { + margin-bottom: 16px; +} + + + +/* messages fanciness */ +.my-messages { + position: relative; +} + +.my-messages, .validation-message { + opacity: 1; + transition: .2s linear all; +} + +formly-validation-message, .validation-message { + font-size: .8em; + position: absolute; + width: 100%; + color: #a94442; + line-height: initial; +} + +.my-messages.ng-enter.ng-enter-active, +.validation-message.ng-enter.ng-enter-active { + opacity: 1; + top: 0; +} + +.my-messages.ng-enter, +.validation-message.ng-enter { + opacity: 0; + top: -10px; +} + +.my-messages.ng-leave, +.validation-message.ng-leave { + opacity: 1; + top: 0; +} + +.my-messages.ng-leave-active, +.validation-message.ng-leave-active { + opacity: 0; + top: -10px; +} + +.has-error .control-label, +.has-error .form-control-label { + font-weight: bold; + margin-bottom: 0; +} + +label { + margin-bottom: 0; +} + +.panel-primary > .panel-heading { + padding: 5px 10px; +} + +.formly .panel-body { + padding: 0; +} + +.formly .formly-field { + margin-bottom: 0; + padding: 0 10px; +} + +.formly .row { + padding: 0; + margin: 0; +} + + + +/*Payment styles*/ +/*-------------------- +Shared Variables +--------------------*/ + +/*$small-screen: 476px; +$grey: #111; +$blue: #5db6e8; +$darkBlue: #282c37; +$red: #E53A40; +$green: #8CD790; +$white: #fff; +$radius: 4px; +$bouncy: cubic-bezier(.20, 1.3, .7, 1);*/ + +/*-------------------- +General +--------------------*/ + +/*// Position form at the center of the page +html, +body { + font-size: 100%; + height: 100%; + color: $darkBlue; + font-family: sans-serif; + padding: 0; + margin: 0; +} + +header { + z-index: 2; + transform: translate(0, 5.5em); + transition: all .5s ease; + &.header-slide { + transform: translate(0, 0); + } +} + +h1 { + font-weight: 100; + font-size: 1.4em; + display: block; +}*/ + +/*.form-container { + display: flex; + background-color: #EEE; + justify-content: center; + align-items: center; + height: 100%; + flex-direction: column; + border: 1em solid #fff; + box-sizing: border-box; + position: relative; + + @media (max-width: $small-screen) { + border: none; + } +} + +.cardinfo-wrapper { + display: flex; + justify-content: space-around; +} + +.bg-illustration { + position: absolute; + bottom: 0; + left: 0; + z-index: 0; + svg { + width: 100%; + } +} + +.card-shape { + border-radius: 6px; + padding: 2em 2em 1em; + + @media (max-width: $small-screen) { + padding: 2em 1.5em 1em; + } +} + +#my-sample-form { + background-color: #FFF; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12); + padding: 8em 3em 2em; + width: 20em; + margin-bottom: 2em; + transition: all 600ms $bouncy; + animation: cardIntro 500ms $bouncy; + z-index: 1; + + &:hover { + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06); + } + + @media (max-width: $small-screen) { + box-sizing: border-box; + padding: 7em 2em 2em; + width: 100%; + } + // Change background color based on the card type + &.visa { + @extend .card-shape; + color: $white; + background-color: #0D4AA2; + } + &.master-card { + @extend .card-shape; + color: $white; + background-color: #363636; + background: linear-gradient(115deg,#d82332, #d82332 50%, #f1ad3d 50%, #f1ad3d); + } + &.maestro { + @extend .card-shape; + color: $white; + background-color: #363636; + background: linear-gradient(115deg,#009ddd, #009ddd 50%, #ed1c2e 50%, #ed1c2e); + } + &.american-express { + @extend .card-shape; + color: $white; + background-color: #007CC3; + } + &.discover { + @extend .card-shape; + color: $white; + background-color: #ff6000; + background: linear-gradient(#d14310, #f7961e); + } + &.unionpay, &.jcb, &.diners-club { + @extend .card-shape; + color: $white; + background-color: #363636; + } +} + +.cardinfo-label { + display: block; + font-size: 11px; + margin-bottom: 0.5em; + text-transform: uppercase; +} + +.cardinfo-exp-date { + margin-right: 1em; + width: 100%; +} + +.cardinfo-cvv { + width: 100%; +} + +#button-pay { + cursor: pointer; + width: 16em; + font-size: 15px; + border: 0; + padding: 1.2em 1em; + color: #fff; + background: #282c37; + border-radius: $radius; + z-index: 0; + transform: translateY(-100px); + transition: all 500ms $bouncy; + opacity: 0; + -webkit-appearance: none; + + &:hover { + background: lighten(#282c37, 20%); + } + &:active { + animation: cardIntro 200ms $bouncy; + } + &.show-button { + transform: translateY(0); + opacity: 1; + } +} + +.cardinfo-card-number { + position: relative; +} + +#card-image { + position: absolute; + top: 2em; + right: 1em; + width: 44px; + height: 28px; + background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/346994/card_sprite.png); + background-size: 86px 458px; + border-radius: $radius; + background-position: -100px 0; + background-repeat: no-repeat; + margin-bottom: 1em; + &.visa { + background-position: 0 -398px; + } + &.master-card { + background-position: 0 -281px; + } + &.american-express { + background-position: 0 -370px; + } + &.discover { + background-position: 0 -163px; + } + &.maestro { + background-position: 0 -251px; + } + &.jcb { + background-position: 0 -221px; + } + &.diners-club { + background-position: 0 -133px; + } +}*/ + +/*-------------------- +Inputs +--------------------*/ + +/*// Styling for input wrappers, internal font styles are handled in javascript*/ +/*.input-wrapper { + border-radius: 2px; + background: rgba(255, 255, 255, 0.86); + height: 2.75em; + border: 1px solid #eee; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06); + padding: 5px 10px; + margin-bottom: 1em; +} + +.cardinfo-card-number, +.cardinfo-exp-date, +.cardinfo-cvv { + transition: transform 0.3s; +}*/ + +/*// Change styles of the input wrappers using Braintree's provided classes. +// Styles the wrapper of the focused input*/ +/*.braintree-hosted-fields-focused { + border-color: $blue; +} + +// Styles the wrapper of the invalid input +.braintree-hosted-fields-invalid { + border-color: $red; + animation: shake 500ms $bouncy both; + transform: translate3d(0, 0, 0); + backface-visibility: hidden; + perspective: 1000px; +}*/ + + +/*-------------------- +Animations +--------------------*/ + +/*@keyframes cardIntro { + 0% { + transform: scale(0.8) translate(0, 0); + opacity: 0; + } + 100% { + transform: scale(1) translate(0, 0); + opacity: 1; + } +} + +@keyframes shake { + 10%, + 90% { + transform: translate3d(-1px, 0, 0); + } + 20%, + 80% { + transform: translate3d(1px, 0, 0); + } + 30%, + 50%, + 70% { + transform: translate3d(-3px, 0, 0); + } + 40%, + 60% { + transform: translate3d(3px, 0, 0); + } +}*/ +.payment-container { + padding: 15px; + text-align: center; +} + +.payment-container section { + text-align: initial; +} + +/*End payment styles*/ + +#dropzone { + margin-bottom: 3rem; +} + +.dropzone { + border: 2px dashed #0087F7; + border-radius: 5px; + background: white; +} + +.dropzone .dz-message { + font-weight: 400; +} + +.dropzone .dz-message .note { + font-size: 0.8em; + font-weight: 200; + display: block; + margin-top: 1.4rem; +} + + +/* The MIT License */ +.dropzone, +.dropzone *, +.dropzone-previews, +.dropzone-previews * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.dropzone { + position: relative; + background: rgba(0,0,0,0.02); + padding: 1em; +} + +.dropzone.dz-clickable { + cursor: pointer; +} + +.dropzone.dz-clickable .dz-message, +.dropzone.dz-clickable .dz-message span { + cursor: pointer; +} + +.dropzone.dz-clickable * { + cursor: default; +} + +.dropzone .dz-message { + opacity: 1; + -ms-filter: none; + filter: none; +} + +.dropzone.dz-drag-hover { + border-color: rgba(0,0,0,0.15); + background: rgba(0,0,0,0.04); +} + +.dropzone.dz-started .dz-message { + display: none; +} + +.dropzone .dz-preview, +.dropzone-previews .dz-preview { + background: rgba(255,255,255,0.8); + position: relative; + display: inline-block; + margin: 5px; + vertical-align: top; + border: 1px solid #acacac; + padding: 2px; +} + +.dropzone .dz-preview.dz-file-preview [data-dz-thumbnail], +.dropzone-previews .dz-preview.dz-file-preview [data-dz-thumbnail] { + display: none; +} + +.dropzone .dz-preview .dz-details, +.dropzone-previews .dz-preview .dz-details { + width: 100px; + /*height: 100px;*/ + position: relative; + background: #ebebeb; + padding: 5px; + margin-bottom: 22px; + display: none; +} + +.dropzone .dz-preview .dz-details .dz-filename, +.dropzone-previews .dz-preview .dz-details .dz-filename { + overflow: hidden; + height: 100%; +} + +.dropzone .dz-preview .dz-details img, +.dropzone-previews .dz-preview .dz-details img { + position: absolute; + top: 0; + left: 0; + width: 100px; + height: 100px; +} + +.dropzone .dz-preview .dz-details .dz-size, +.dropzone-previews .dz-preview .dz-details .dz-size { + position: absolute; + bottom: -28px; + left: 3px; + height: 28px; + line-height: 28px; +} + +.dropzone .dz-preview.dz-error .dz-error-mark, +.dropzone-previews .dz-preview.dz-error .dz-error-mark { + display: block; +} + +.dropzone .dz-preview.dz-success .dz-success-mark, +.dropzone-previews .dz-preview.dz-success .dz-success-mark { + display: block; +} + +.dropzone .dz-preview:hover .dz-details img, +.dropzone-previews .dz-preview:hover .dz-details img { + display: none; +} + +.dropzone .dz-preview .dz-success-mark, +.dropzone-previews .dz-preview .dz-success-mark, +.dropzone .dz-preview .dz-error-mark, +.dropzone-previews .dz-preview .dz-error-mark { + display: none; + position: absolute; + width: 40px; + height: 40px; + font-size: 30px; + text-align: center; + right: -10px; + top: -10px; +} + +.dropzone .dz-preview .dz-success-mark, +.dropzone-previews .dz-preview .dz-success-mark { + color: #8cc657; +} + +.dropzone .dz-preview .dz-error-mark, +.dropzone-previews .dz-preview .dz-error-mark { + color: #ee162d; +} + +.dropzone .dz-preview .dz-progress, +.dropzone-previews .dz-preview .dz-progress { + position: absolute; + top: 100px; + left: 6px; + right: 6px; + height: 6px; + background: #d7d7d7; + display: none; +} + +.dropzone .dz-preview .dz-progress .dz-upload, +.dropzone-previews .dz-preview .dz-progress .dz-upload { + display: block; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 0%; + background-color: #8cc657; +} + +.dropzone .dz-preview.dz-processing .dz-progress, +.dropzone-previews .dz-preview.dz-processing .dz-progress { + display: block; +} + +.dropzone .dz-preview .dz-error-message, +.dropzone-previews .dz-preview .dz-error-message { + display: none; + position: absolute; + top: -5px; + left: -20px; + background: rgba(245,245,245,0.8); + padding: 8px 10px; + color: #800; + min-width: 140px; + max-width: 500px; + z-index: 500; +} + +.dropzone .dz-preview:hover.dz-error .dz-error-message, +.dropzone-previews .dz-preview:hover.dz-error .dz-error-message { + display: block; +} + +.dropzone { + min-height: 60px; + -webkit-border-radius: 3px; + border-radius: 3px; + background: rgba(0,0,0,0.03); + padding: 3px; + margin-bottom: 5px; +} + +.dropzone .dz-default.dz-message { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transition: opacity 0.3s ease-in-out; + -moz-transition: opacity 0.3s ease-in-out; + -o-transition: opacity 0.3s ease-in-out; + -ms-transition: opacity 0.3s ease-in-out; + transition: opacity 0.3s ease-in-out; + /*background-image: url("./css/images/spritemap.png");*/ + background-repeat: no-repeat; + background-position: 0 0; + position: absolute; + width: 428px; + height: 123px; + margin-left: -214px; + margin-top: -61.5px; + top: 50%; + left: 50%; +} + +@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) { + .dropzone .dz-default.dz-message { + /*background-image: url("./css/images/spritemap@2x.png");*/ + -webkit-background-size: 428px 406px; + -moz-background-size: 428px 406px; + background-size: 428px 406px; + } +} + +.dropzone .dz-default.dz-message span { + display: none; +} + +.dropzone.dz-square .dz-default.dz-message { + background-position: 0 -123px; + width: 268px; + margin-left: -134px; + height: 174px; + margin-top: -87px; +} + +.dropzone.dz-drag-hover .dz-message { + opacity: 0.15; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)"; + filter: alpha(opacity=15); +} + +.dropzone.dz-started .dz-message { + display: block; + height: 1px; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} + +.dropzone .dz-preview, +.dropzone-previews .dz-preview { + -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.16); + box-shadow: 1px 1px 4px rgba(0,0,0,0.16); + font-size: 14px; +} + +.dropzone .dz-preview.dz-image-preview:hover .dz-details img, +.dropzone-previews .dz-preview.dz-image-preview:hover .dz-details img { + display: block; + opacity: 0.1; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)"; + filter: alpha(opacity=10); +} + +.dropzone .dz-preview.dz-success .dz-success-mark, +.dropzone-previews .dz-preview.dz-success .dz-success-mark { + opacity: 1; + -ms-filter: none; + filter: none; +} + +.dropzone .dz-preview.dz-error .dz-error-mark, +.dropzone-previews .dz-preview.dz-error .dz-error-mark { + opacity: 1; + -ms-filter: none; + filter: none; +} + +.dropzone .dz-preview.dz-error .dz-progress .dz-upload, +.dropzone-previews .dz-preview.dz-error .dz-progress .dz-upload { + background: #ee1e2d; +} + +.dropzone .dz-preview .dz-error-mark, +.dropzone-previews .dz-preview .dz-error-mark, +.dropzone .dz-preview .dz-success-mark, +.dropzone-previews .dz-preview .dz-success-mark { + display: block; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.4s ease-in-out; + -moz-transition: opacity 0.4s ease-in-out; + -o-transition: opacity 0.4s ease-in-out; + -ms-transition: opacity 0.4s ease-in-out; + transition: opacity 0.4s ease-in-out; + /*background-image: url("./css/images/spritemap.png");*/ + background-repeat: no-repeat; +} + +@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) { + .dropzone .dz-preview .dz-error-mark, + .dropzone-previews .dz-preview .dz-error-mark, + .dropzone .dz-preview .dz-success-mark, + .dropzone-previews .dz-preview .dz-success-mark { + /*background-image: url("./css/images/spritemap@2x.png");*/ + -webkit-background-size: 428px 406px; + -moz-background-size: 428px 406px; + background-size: 428px 406px; + } +} + +.dropzone .dz-preview .dz-error-mark span, +.dropzone-previews .dz-preview .dz-error-mark span, +.dropzone .dz-preview .dz-success-mark span, +.dropzone-previews .dz-preview .dz-success-mark span { + display: none; +} + +.dropzone .dz-preview .dz-error-mark, +.dropzone-previews .dz-preview .dz-error-mark { + background-position: -268px -123px; +} + +.dropzone .dz-preview .dz-success-mark, +.dropzone-previews .dz-preview .dz-success-mark { + background-position: -268px -163px; +} + +.dropzone .dz-preview .dz-progress .dz-upload, +.dropzone-previews .dz-preview .dz-progress .dz-upload { + -webkit-animation: loading 0.4s linear infinite; + -moz-animation: loading 0.4s linear infinite; + -o-animation: loading 0.4s linear infinite; + -ms-animation: loading 0.4s linear infinite; + animation: loading 0.4s linear infinite; + -webkit-transition: width 0.3s ease-in-out; + -moz-transition: width 0.3s ease-in-out; + -o-transition: width 0.3s ease-in-out; + -ms-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + -webkit-border-radius: 2px; + border-radius: 2px; + position: absolute; + top: 0; + left: 0; + width: 0%; + height: 100%; + /*background-image: url("./css/images/spritemap.png");*/ + background-repeat: repeat-x; + background-position: 0px -400px; +} + +@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) { + .dropzone .dz-preview .dz-progress .dz-upload, + .dropzone-previews .dz-preview .dz-progress .dz-upload { + /*background-image: url("./css/images/spritemap@2x.png");*/ + -webkit-background-size: 428px 406px; + -moz-background-size: 428px 406px; + background-size: 428px 406px; + } +} + +.dropzone .dz-preview.dz-success .dz-progress, +.dropzone-previews .dz-preview.dz-success .dz-progress { + display: block; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.4s ease-in-out; + -moz-transition: opacity 0.4s ease-in-out; + -o-transition: opacity 0.4s ease-in-out; + -ms-transition: opacity 0.4s ease-in-out; + transition: opacity 0.4s ease-in-out; +} + +.dropzone .dz-preview .dz-error-message, +.dropzone-previews .dz-preview .dz-error-message { + display: block; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.3s ease-in-out; + -moz-transition: opacity 0.3s ease-in-out; + -o-transition: opacity 0.3s ease-in-out; + -ms-transition: opacity 0.3s ease-in-out; + transition: opacity 0.3s ease-in-out; +} + +.dropzone .dz-preview:hover.dz-error .dz-error-message, +.dropzone-previews .dz-preview:hover.dz-error .dz-error-message { + opacity: 1; + -ms-filter: none; + filter: none; +} + +.dropzone a.dz-remove, +.dropzone-previews a.dz-remove { + background-image: -webkit-linear-gradient(top, #fafafa, #eee); + background-image: -moz-linear-gradient(top, #fafafa, #eee); + background-image: -o-linear-gradient(top, #fafafa, #eee); + background-image: -ms-linear-gradient(top, #fafafa, #eee); + background-image: linear-gradient(to bottom, #fafafa, #eee); + -webkit-border-radius: 2px; + border-radius: 2px; + border: 1px solid #eee; + text-decoration: none; + display: block; + padding: 4px 5px; + text-align: center; + color: #aaa; + margin-top: 6px; +} + +.dropzone a.dz-remove:hover, +.dropzone-previews a.dz-remove:hover { + color: #666; +} + +@-moz-keyframes loading { + from { + background-position: 0 -400px; + } + + to { + background-position: -7px -400px; + } +} + +@-webkit-keyframes loading { + from { + background-position: 0 -400px; + } + + to { + background-position: -7px -400px; + } +} + +@-o-keyframes loading { + from { + background-position: 0 -400px; + } + + to { + background-position: -7px -400px; + } +} + +@keyframes loading { + from { + background-position: 0 -400px; + } + + to { + background-position: -7px -400px; + } +} + +/*PayPal button styles*/ +.paypal-button-logo { + display: inline-block; + border: 1px solid #aaa; + border-right: 0; + border-radius: 3px 0 0 3px; + vertical-align: top; + box-sizing: content-box !important; +} + +.paypal-button-logo { + width: 24px; + height: 24px; +} + +.paypal-style-checkout .paypal-button-logo { + display: none; +} + +.paypal-button.paypal-size-medium .paypal-button-logo { + width: 30px; + height: 30px; +} + +.paypal-button-content img { + width: 63px; + height: 16px; + margin: 1px 0 0 1px; +} + +.paypal-button-content img { + vertical-align: middle; + padding: 0 !important; + display: inline !important; + background: none !important; + border: none !important; + box-sizing: content-box !important; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium .paypal-button-content img { + height: 24px; + line-height: 34px; + margin-top: -4px; + margin-right: 4px; + padding-right: 0; +} + +.paypal-button.paypal-size-medium .paypal-button-content img { + width: 71px; + height: 19px; + margin: 2px 0 0 1px; +} + + +.paypal-button { + white-space: nowrap; + overflow: hidden; + margin: 0; + padding: 0; + background: 0; + border: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; + text-transform: none; + font-weight: 500; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; + cursor: pointer; + z-index: 0; +} + +.paypal-button-content { + height: 16px; + display: inline-block; + font-size: 9.5px !important; + line-height: 16px !important; +} + +.paypal-button { + white-space: nowrap; + overflow: hidden; + margin: 0; + padding: 0; + background: 0; + border: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; + text-transform: none; + font-weight: 500; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; + cursor: pointer; + z-index: 0; +} + +.paypal-button:disabled { + opacity: 0.6; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium { + max-width: 230px !important; + width: auto; + margin-top: 10px; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium .paypal-button-content { + height: 30px !important; + max-height: 30px !important; + padding-left: 6px; + padding-right: 6px; + margin-left: 2px; + margin-top: 2px; + margin-right: 2px; + width: 210px; + display: inline-block; + overflow: visible; + border-top-left-radius: 15px; + border-bottom-left-radius: 15px; + border-top-right-radius: 15px; + border-bottom-right-radius: 15px; + border: none; + font-size: 12px !important; + line-height: 34px !important; + vertical-align: middle; +} + +.paypal-button.paypal-style-checkout.paypal-color-gold .paypal-button-content { + background: #ffc439; + color: #000; + text-shadow: 0px 1px 0 #ffdc88; +} + +.paypal-button.paypal-size-medium .paypal-button-content { + height: 19px; + font-size: 10px !important; + line-height: 19px !important; + padding: 5px 8px 6px; + min-width: 71px !important; +} + +.paypal-button-content { + padding: 4px 8px 4px; + border: 1px solid transparent; + border-radius: 0 3px 3px 0; + min-width: 57px !important; + box-sizing: content-box !important; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium .paypal-button-content { + height: 30px !important; + max-height: 30px !important; + padding-left: 6px; + padding-right: 6px; + margin-left: 2px; + margin-top: 2px; + margin-right: 2px; + width: 210px; + display: inline-block; + overflow: visible; + border-top-left-radius: 15px; + border-bottom-left-radius: 15px; + border-top-right-radius: 15px; + border-bottom-right-radius: 15px; + border: none; + font-size: 12px !important; + line-height: 34px !important; + vertical-align: middle; +} + +.paypal-button.paypal-style-checkout.paypal-color-gold .paypal-button-content { + background: #ffc439; + color: #000; + text-shadow: 0px 1px 0 #ffdc88; +} + +.paypal-button.paypal-size-medium .paypal-button-content { + height: 19px; + font-size: 10px !important; + line-height: 19px !important; + padding: 5px 8px 6px; + min-width: 71px !important; +} + +.paypal-button.paypal-style-checkout .paypal-button-content { + padding-top: 0; + padding-bottom: 0; + position: relative; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium .paypal-button-content::before { + content: ""; + padding: 2px; + top: -2px; + left: -2px; + position: absolute; + z-index: -1; + width: 100%; + height: 100%; + border-top-left-radius: 17px; + border-bottom-left-radius: 17px; + border-top-right-radius: 17px; + border-bottom-right-radius: 17px; +} + +.paypal-button.paypal-style-checkout.paypal-color-gold .paypal-button-content::before { + background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffdc88), to(#d9a630)) 0 100%; + background: -webkit-linear-gradient(#ffdc88, #d9a630) 0 100%; + background: -moz-linear-gradient(#ffdc88, #d9a630) 0 100%; + background: -o-linear-gradient(#ffdc88, #d9a630) 0 100%; + background: linear-gradient(to bottom, #ffdc88, #d9a630) 0 100%; +} + +#paypal-img { + background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjQsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMjM1cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDIzNSA2MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjM1IDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNzkuMjU1LDE0Ljc2NWgtMTMuMjFjLTAuOTAzLDAtMS42NzEsMC42NTMtMS44MSwxLjU0NWwtNS4zMzksMzMuODU5DQoJCQkJYy0wLjEwMywwLjY2NSwwLjQwOSwxLjI3NiwxLjA5LDEuMjc2aDYuNzdjMC42MzEsMCwxLjE3Mi0wLjQ2NywxLjI3LTEuMDg5bDEuNTEyLTkuNTk4YzAuMTQ0LTAuODg2LDAuOTExLTEuNTQ3LDEuODE0LTEuNTQ3DQoJCQkJaDQuMTc3YzguNjk2LDAsMTMuNzE1LTQuMjA5LDE1LjAyOC0xMi41NThjMC41ODgtMy42NDIsMC4wMTktNi41MTItMS42ODUtOC41MTlDMTg2Ljk5OCwxNS45MywxODMuNjY0LDE0Ljc2NSwxNzkuMjU1LDE0Ljc2NXoNCgkJCQkgTTE4MC43NzYsMjcuMTI3Yy0wLjcyMSw0Ljc0LTQuMzQ2LDQuNzQtNy44NDYsNC43NGgtMS45OTFsMS40LTguODQ5YzAuMDgyLTAuNTMxLDAuNTQ4LTAuOTI0LDEuMDg0LTAuOTI0aDAuOTEyDQoJCQkJYzIuMzg1LDAsNC42NCwwLDUuODAzLDEuMzQ4QzE4MC44MjYsMjQuMjU5LDE4MS4wNCwyNS40NjQsMTgwLjc3NiwyNy4xMjd6Ii8+DQoJCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNODUuMDc3LDE0Ljc2NUg3MS44NjhjLTAuOTAzLDAtMS42NzEsMC42NTMtMS44MSwxLjU0NWwtNS4zMzUsMzMuODU5DQoJCQkJYy0wLjExMSwwLjY2NSwwLjQwNSwxLjI3NiwxLjA4NiwxLjI3Nmg2LjMwNGMwLjg5NiwwLDEuNjY3LTAuNjYxLDEuODExLTEuNTU1bDEuNDQzLTkuMTMyYzAuMTM4LTAuODg2LDAuOTA1LTEuNTQ3LDEuODA5LTEuNTQ3DQoJCQkJaDQuMThjOC42OTgsMCwxMy43MTUtNC4yMDksMTUuMDI3LTEyLjU1OGMwLjU4NC0zLjY0MiwwLjAyNS02LjUxMi0xLjY4MS04LjUxOUM5Mi44MjMsMTUuOTMsODkuNDksMTQuNzY1LDg1LjA3NywxNC43NjV6DQoJCQkJIE04Ni42MDEsMjcuMTI3Yy0wLjcyNCw0Ljc0LTQuMzQ2LDQuNzQtNy44NDEsNC43NGgtMS45OThsMS40MDItOC44NDljMC4wODItMC41MzEsMC41MzktMC45MjQsMS4wODMtMC45MjRoMC45MTUNCgkJCQljMi4zODMsMCw0LjYzOCwwLDUuNzksMS4zNDhDODYuNjQ3LDI0LjI1OSw4Ni44NTUsMjUuNDY0LDg2LjYwMSwyNy4xMjd6Ii8+DQoJCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI0LjU0LDI2Ljk3N2gtNi4zMTdjLTAuNTQ2LDAtMS4wMDgsMC4zOTYtMS4wOSwwLjkzMmwtMC4yODEsMS43NjZsLTAuNDQzLTAuNjM5DQoJCQkJYy0xLjM2OC0xLjk4Ni00LjQxOS0yLjY1My03LjQ2Ny0yLjY1M2MtNi45ODMsMC0xMi45NTEsNS4yOS0xNC4xMTIsMTIuNzIzYy0wLjYwOSwzLjY5OCwwLjI1Miw3LjI0MSwyLjM1Myw5LjcwOQ0KCQkJCWMxLjkyOSwyLjI3Miw0LjY4NiwzLjIxMiw3Ljk2MywzLjIxMmM1LjYzMywwLDguNzUyLTMuNjEzLDguNzUyLTMuNjEzbC0wLjI3OSwxLjc1N2MtMC4xMDgsMC42NjUsMC40MDksMS4yNzYsMS4wODMsMS4yNzZoNS42OTcNCgkJCQljMC45MDEsMCwxLjY2Ny0wLjY2MSwxLjgxMi0xLjU1NWwzLjQyLTIxLjY0NEMxMjUuNzMzLDI3LjU4LDEyNS4yMjIsMjYuOTc3LDEyNC41NCwyNi45Nzd6IE0xMTUuNzMsMzkuMjg0DQoJCQkJYy0wLjYxMywzLjYxMy0zLjQ4MSw2LjAzOC03LjE0LDYuMDM4Yy0xLjgyNywwLTMuMjk4LTAuNTg4LTQuMjQ1LTEuNzA3Yy0wLjkzNi0xLjEwNS0xLjI4My0yLjY4NS0wLjk5My00LjQ0MQ0KCQkJCWMwLjU3MS0zLjU3OCwzLjQ4NS02LjA4OCw3LjA4OC02LjA4OGMxLjgwMSwwLDMuMjU2LDAuNTk2LDQuMjExLDEuNzI5QzExNS42MjUsMzUuOTQ3LDExNi4wMDUsMzcuNTMxLDExNS43MywzOS4yODR6Ii8+DQoJCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjE4LjcxNywyNi45NzdoLTYuMzI0Yy0wLjU0MywwLTEuMDAxLDAuMzk2LTEuMDg5LDAuOTMybC0wLjI3NSwxLjc2NmwtMC40NDItMC42MzkNCgkJCQljLTEuMzcxLTEuOTg2LTQuNDE5LTIuNjUzLTcuNDY3LTIuNjUzYy02Ljk4NSwwLTEyLjk1MSw1LjI5LTE0LjExMiwxMi43MjNjLTAuNjA0LDMuNjk4LDAuMjU2LDcuMjQxLDIuMzUzLDkuNzA5DQoJCQkJYzEuOTI5LDIuMjcyLDQuNjgzLDMuMjEyLDcuOTU5LDMuMjEyYzUuNjM0LDAsOC43NTgtMy42MTMsOC43NTgtMy42MTNsLTAuMjgyLDEuNzU3Yy0wLjEwNywwLjY2NSwwLjQwOCwxLjI3NiwxLjA4NSwxLjI3Nmg1LjY5OA0KCQkJCWMwLjkwMSwwLDEuNjY1LTAuNjYxLDEuODEtMS41NTVsMy40MjMtMjEuNjQ0QzIxOS45MTIsMjcuNTgsMjE5LjM5NiwyNi45NzcsMjE4LjcxNywyNi45Nzd6IE0yMDkuOTA2LDM5LjI4NA0KCQkJCWMtMC42MTEsMy42MTMtMy40NzYsNi4wMzgtNy4xMzksNi4wMzhjLTEuODMzLDAtMy4zLTAuNTg4LTQuMjQzLTEuNzA3Yy0wLjkzOS0xLjEwNS0xLjI4Ny0yLjY4NS0wLjk4OS00LjQ0MQ0KCQkJCWMwLjU2OS0zLjU3OCwzLjQ3Ni02LjA4OCw3LjA4MS02LjA4OGMxLjgwMywwLDMuMjU4LDAuNTk2LDQuMjIxLDEuNzI5QzIwOS44MDMsMzUuOTQ3LDIxMC4xODEsMzcuNTMxLDIwOS45MDYsMzkuMjg0eiIvPg0KCQkJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTE1OC4yMTYsMjYuOTc3aC02LjM1N2MtMC42MDcsMC0xLjE3MiwwLjMwMi0xLjUxNCwwLjgwNGwtOC43NjksMTIuOTEzbC0zLjcxNi0xMi40MQ0KCQkJCWMtMC4yMzMtMC43NzUtMC45NDUtMS4zMDctMS43NTMtMS4zMDdoLTYuMjUyYy0wLjc1NCwwLTEuMjc4LDAuNzM5LTEuMDQxLDEuNDU2bDYuOTk5LDIwLjUzN2wtNi41NzksOS4yODkNCgkJCQljLTAuNTE5LDAuNzI5LDAsMS43NDEsMC44OTIsMS43NDFoNi4zNTJjMC41OTgsMCwxLjE2NS0wLjMwMiwxLjUwOC0wLjc5MWwyMS4xMzQtMzAuNTA0DQoJCQkJQzE1OS42MjcsMjcuOTc0LDE1OS4xMDQsMjYuOTc3LDE1OC4yMTYsMjYuOTc3eiIvPg0KCQkJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTIyNi4xNjgsMTUuNjg5bC01LjQxOSwzNC40OGMtMC4xMDQsMC42NjUsMC40MTMsMS4yNzYsMS4wODgsMS4yNzZoNS40NQ0KCQkJCWMwLjkwNSwwLDEuNjczLTAuNjYxLDEuODExLTEuNTU1bDUuMzUxLTMzLjg1NmMwLjEwNC0wLjY2OC0wLjQxNi0xLjI3LTEuMDkyLTEuMjdoLTYuMQ0KCQkJCUMyMjYuNzE1LDE0Ljc2NSwyMjYuMjU2LDE1LjE2LDIyNi4xNjgsMTUuNjg5eiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMzkuMjE4LDIwLjQ2NWMwLjYyOC0zLjk5My0wLjAwNi02LjcxLTIuMTY2LTkuMTcxYy0yLjM4LTIuNzEtNi42NzYtMy44NzItMTIuMTc2LTMuODcySDguOTINCgkJCWMtMS4xMjYsMC0yLjA4LDAuODE3LTIuMjU4LDEuOTI5TDAuMDE3LDUxLjQ4N2MtMC4xMzIsMC44MzIsMC41MTQsMS41ODUsMS4zNTIsMS41ODVoOS44NTRsLTAuNjgyLDQuMzEyDQoJCQljLTAuMTE0LDAuNzI5LDAuNDUzLDEuMzgzLDEuMTg0LDEuMzgzaDguMzA3YzAuOTgzLDAsMS44MTgtMC43MTEsMS45NzMtMS42ODVsMC4wODItMC40MjRsMS41NjQtOS45MTlsMC4wOTktMC41NDINCgkJCWMwLjE1MS0wLjk3LDAuOTkzLTEuNjg4LDEuOTczLTEuNjg4aDEuMjQ3YzguMDQsMCwxNC4zNDMtMy4yNjksMTYuMTc4LTEyLjcyNmMwLjc3NS0zLjk1MywwLjM3My03LjI0NS0xLjY1NS05LjU2Mg0KCQkJQzQwLjg3NSwyMS41MTksNDAuMTA3LDIwLjkzOCwzOS4yMTgsMjAuNDY1TDM5LjIxOCwyMC40NjUiLz4NCgkJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTM5LjIxOCwyMC40NjVjMC42MjgtMy45OTMtMC4wMDYtNi43MS0yLjE2Ni05LjE3MWMtMi4zOC0yLjcxLTYuNjc2LTMuODcyLTEyLjE3Ni0zLjg3Mkg4LjkyDQoJCQljLTEuMTI2LDAtMi4wOCwwLjgxNy0yLjI1OCwxLjkyOUwwLjAxNyw1MS40ODdjLTAuMTMyLDAuODMyLDAuNTE0LDEuNTg1LDEuMzUyLDEuNTg1aDkuODU0bDIuNDczLTE1LjY4OWwtMC4wNzksMC40ODgNCgkJCWMwLjE3OS0xLjExMSwxLjEyNi0xLjkyOSwyLjI1MS0xLjkyOWg0LjY4M2M5LjE5NCwwLDE2LjM5NC0zLjczOSwxOC41MDItMTQuNTQzQzM5LjExMSwyMS4wODIsMzkuMTY0LDIwLjc3MSwzOS4yMTgsMjAuNDY1Ii8+DQoJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNi4zNTcsMjAuNTIxYzAuMTAzLTAuNjcyLDAuNTMzLTEuMjE3LDEuMTExLTEuNDkyYzAuMjYyLTAuMTIyLDAuNTUyLTAuMTksMC44NTktMC4xOWgxMi41MQ0KCQkJYzEuNDgyLDAsMi44NjcsMC4wOTQsNC4xMjcsMC4yOThjMC4zNTgsMC4wNTQsMC43MSwwLjEyNiwxLjA1NSwwLjE5N2MwLjM0MSwwLjA3OCwwLjY3NCwwLjE2MywwLjk5LDAuMjU4DQoJCQljMC4xNjQsMC4wNDQsMC4zMjMsMC4wOTQsMC40NzUsMC4xNDNjMC42MjEsMC4yMDgsMS4xOTksMC40NTMsMS43MzIsMC43MzFjMC42MjgtMy45OTMtMC4wMDYtNi43MS0yLjE2Ni05LjE3MQ0KCQkJYy0yLjM4LTIuNzEtNi42NzYtMy44NzItMTIuMTc2LTMuODcySDguOTJjLTEuMTI2LDAtMi4wOCwwLjgxNy0yLjI1OCwxLjkyOUwwLjAxNyw1MS40ODdjLTAuMTMyLDAuODMyLDAuNTE0LDEuNTg1LDEuMzUyLDEuNTg1DQoJCQloOS44NTRsMi40NzMtMTUuNjg5TDE2LjM1NywyMC41MjF6Ii8+DQoJPC9nPg0KCTxnPg0KCQk8cGF0aCBmaWxsPSIjMDA5Q0RFIiBkPSJNMTc5LjI1NSwxMS4wOTJoLTEzLjIxYy0wLjkwMywwLTEuNjcxLDAuNjUzLTEuODEsMS41NDdsLTUuMzM5LDMzLjg1Ng0KCQkJYy0wLjEwMywwLjY2OCwwLjQwOSwxLjI3OSwxLjA5LDEuMjc5aDYuNzdjMC42MzEsMCwxLjE3Mi0wLjQ2NiwxLjI3LTEuMDkybDEuNTEyLTkuNTk1YzAuMTQ0LTAuODksMC45MTEtMS41NSwxLjgxNC0xLjU1aDQuMTc3DQoJCQljOC42OTYsMCwxMy43MTUtNC4yMSwxNS4wMjgtMTIuNTU1YzAuNTg4LTMuNjQzLDAuMDE5LTYuNTExLTEuNjg1LTguNTIxQzE4Ni45OTgsMTIuMjU5LDE4My42NjQsMTEuMDkyLDE3OS4yNTUsMTEuMDkyeg0KCQkJIE0xODAuNzc2LDIzLjQ1NmMtMC43MjEsNC43NDItNC4zNDYsNC43NDItNy44NDYsNC43NDJoLTEuOTkxbDEuNC04Ljg0N2MwLjA4Mi0wLjUzNCwwLjU0OC0wLjkyOSwxLjA4NC0wLjkyOWgwLjkxMg0KCQkJYzIuMzg1LDAsNC42NCwwLDUuODAzLDEuMzUyQzE4MC44MjYsMjAuNTg3LDE4MS4wNCwyMS43OTIsMTgwLjc3NiwyMy40NTZ6Ii8+DQoJCTxwYXRoIGZpbGw9IiMwMDMwODciIGQ9Ik04NS4wNzcsMTEuMDkySDcxLjg2OGMtMC45MDMsMC0xLjY3MSwwLjY1My0xLjgxLDEuNTQ3bC01LjMzNSwzMy44NTYNCgkJCWMtMC4xMTEsMC42NjgsMC40MDUsMS4yNzksMS4wODYsMS4yNzloNi4zMDRjMC44OTYsMCwxLjY2Ny0wLjY2LDEuODExLTEuNTU5bDEuNDQzLTkuMTI4YzAuMTM4LTAuODksMC45MDUtMS41NSwxLjgwOS0xLjU1aDQuMTgNCgkJCWM4LjY5OCwwLDEzLjcxNS00LjIxLDE1LjAyNy0xMi41NTVjMC41ODQtMy42NDMsMC4wMjUtNi41MTEtMS42ODEtOC41MjFDOTIuODIzLDEyLjI1OSw4OS40OSwxMS4wOTIsODUuMDc3LDExLjA5MnoNCgkJCSBNODYuNjAxLDIzLjQ1NmMtMC43MjQsNC43NDItNC4zNDYsNC43NDItNy44NDEsNC43NDJoLTEuOTk4bDEuNDAyLTguODQ3YzAuMDgyLTAuNTM0LDAuNTM5LTAuOTI5LDEuMDgzLTAuOTI5aDAuOTE1DQoJCQljMi4zODMsMCw0LjYzOCwwLDUuNzksMS4zNTJDODYuNjQ3LDIwLjU4Nyw4Ni44NTUsMjEuNzkyLDg2LjYwMSwyMy40NTZ6Ii8+DQoJCTxwYXRoIGZpbGw9IiMwMDMwODciIGQ9Ik0xMjQuNTQsMjMuMzA2aC02LjMxN2MtMC41NDYsMC0xLjAwOCwwLjM5NC0xLjA5LDAuOTMzbC0wLjI4MSwxLjc2M2wtMC40NDMtMC42MzgNCgkJCWMtMS4zNjgtMS45ODYtNC40MTktMi42NTItNy40NjctMi42NTJjLTYuOTgzLDAtMTIuOTUxLDUuMjkyLTE0LjExMiwxMi43MmMtMC42MDksMy43MDEsMC4yNTIsNy4yNDUsMi4zNTMsOS43MTMNCgkJCWMxLjkyOSwyLjI3Miw0LjY4NiwzLjIxMiw3Ljk2MywzLjIxMmM1LjYzMywwLDguNzUyLTMuNjE3LDguNzUyLTMuNjE3bC0wLjI3OSwxLjc1N2MtMC4xMDgsMC42NjgsMC40MDksMS4yNzksMS4wODMsMS4yNzloNS42OTcNCgkJCWMwLjkwMSwwLDEuNjY3LTAuNjYsMS44MTItMS41NTlsMy40Mi0yMS42NDFDMTI1LjczMywyMy45MDgsMTI1LjIyMiwyMy4zMDYsMTI0LjU0LDIzLjMwNnogTTExNS43MywzNS42MQ0KCQkJYy0wLjYxMywzLjYxNy0zLjQ4MSw2LjAzOC03LjE0LDYuMDM4Yy0xLjgyNywwLTMuMjk4LTAuNTg4LTQuMjQ1LTEuNzA3Yy0wLjkzNi0xLjEwNC0xLjI4My0yLjY4Mi0wLjk5My00LjQzOA0KCQkJYzAuNTcxLTMuNTc4LDMuNDg1LTYuMDg3LDcuMDg4LTYuMDg3YzEuODAxLDAsMy4yNTYsMC41OTYsNC4yMTEsMS43MjdDMTE1LjYyNSwzMi4yNzUsMTE2LjAwNSwzMy44NjEsMTE1LjczLDM1LjYxeiIvPg0KCQk8cGF0aCBmaWxsPSIjMDA5Q0RFIiBkPSJNMjE4LjcxNywyMy4zMDZoLTYuMzI0Yy0wLjU0MywwLTEuMDAxLDAuMzk0LTEuMDg5LDAuOTMzbC0wLjI3NSwxLjc2M2wtMC40NDItMC42MzgNCgkJCWMtMS4zNzEtMS45ODYtNC40MTktMi42NTItNy40NjctMi42NTJjLTYuOTg1LDAtMTIuOTUxLDUuMjkyLTE0LjExMiwxMi43MmMtMC42MDQsMy43MDEsMC4yNTYsNy4yNDUsMi4zNTMsOS43MTMNCgkJCWMxLjkyOSwyLjI3Miw0LjY4MywzLjIxMiw3Ljk1OSwzLjIxMmM1LjYzNCwwLDguNzU4LTMuNjE3LDguNzU4LTMuNjE3bC0wLjI4MiwxLjc1N2MtMC4xMDcsMC42NjgsMC40MDgsMS4yNzksMS4wODUsMS4yNzloNS42OTgNCgkJCWMwLjkwMSwwLDEuNjY1LTAuNjYsMS44MS0xLjU1OWwzLjQyMy0yMS42NDFDMjE5LjkxMiwyMy45MDgsMjE5LjM5NiwyMy4zMDYsMjE4LjcxNywyMy4zMDZ6IE0yMDkuOTA2LDM1LjYxDQoJCQljLTAuNjExLDMuNjE3LTMuNDc2LDYuMDM4LTcuMTM5LDYuMDM4Yy0xLjgzMywwLTMuMy0wLjU4OC00LjI0My0xLjcwN2MtMC45MzktMS4xMDQtMS4yODctMi42ODItMC45ODktNC40MzgNCgkJCWMwLjU2OS0zLjU3OCwzLjQ3Ni02LjA4Nyw3LjA4MS02LjA4N2MxLjgwMywwLDMuMjU4LDAuNTk2LDQuMjIxLDEuNzI3QzIwOS44MDMsMzIuMjc1LDIxMC4xODEsMzMuODYxLDIwOS45MDYsMzUuNjF6Ii8+DQoJCTxwYXRoIGZpbGw9IiMwMDMwODciIGQ9Ik0xNTguMjE2LDIzLjMwNmgtNi4zNTdjLTAuNjA3LDAtMS4xNzIsMC4zMDEtMS41MTQsMC44MDNsLTguNzY5LDEyLjkxNWwtMy43MTYtMTIuNDEzDQoJCQljLTAuMjMzLTAuNzc1LTAuOTQ1LTEuMzA1LTEuNzUzLTEuMzA1aC02LjI1MmMtMC43NTQsMC0xLjI3OCwwLjczOC0xLjA0MSwxLjQ1Nmw2Ljk5OSwyMC41MzhsLTYuNTc5LDkuMjg0DQoJCQljLTAuNTE5LDAuNzMzLDAsMS43NDYsMC44OTIsMS43NDZoNi4zNTJjMC41OTgsMCwxLjE2NS0wLjMwMiwxLjUwOC0wLjc5MWwyMS4xMzQtMzAuNTA1DQoJCQlDMTU5LjYyNywyNC4zMDIsMTU5LjEwNCwyMy4zMDYsMTU4LjIxNiwyMy4zMDZ6Ii8+DQoJCTxwYXRoIGZpbGw9IiMwMDlDREUiIGQ9Ik0yMjYuMTY4LDEyLjAxOWwtNS40MTksMzQuNDc3Yy0wLjEwNCwwLjY2OCwwLjQxMywxLjI3OSwxLjA4OCwxLjI3OWg1LjQ1YzAuOTA1LDAsMS42NzMtMC42NiwxLjgxMS0xLjU1OQ0KCQkJbDUuMzUxLTMzLjg1NGMwLjEwNC0wLjY2Ny0wLjQxNi0xLjI3LTEuMDkyLTEuMjdoLTYuMUMyMjYuNzE1LDExLjA5MiwyMjYuMjU2LDExLjQ4OCwyMjYuMTY4LDEyLjAxOXoiLz4NCgk8L2c+DQoJPHBhdGggZmlsbD0iIzAwOUNERSIgZD0iTTM5LjIxOCwxNi43OTVjMC42MjgtMy45OTUtMC4wMDYtNi43MTItMi4xNjYtOS4xNzJjLTIuMzgtMi43MTEtNi42NzYtMy44NzMtMTIuMTc2LTMuODczSDguOTINCgkJYy0xLjEyNiwwLTIuMDgsMC44MTctMi4yNTgsMS45MjlMMC4wMTcsNDcuODE2Yy0wLjEzMiwwLjgzMywwLjUxNCwxLjU4NSwxLjM1MiwxLjU4NWg5Ljg1NGwtMC42ODIsNC4zMDkNCgkJYy0wLjExNCwwLjczMywwLjQ1MywxLjM4NiwxLjE4NCwxLjM4Nmg4LjMwN2MwLjk4MywwLDEuODE4LTAuNzEsMS45NzMtMS42ODhsMC4wODItMC40MmwxLjU2NC05LjkxOWwwLjA5OS0wLjU0Ng0KCQljMC4xNTEtMC45NjcsMC45OTMtMS42ODUsMS45NzMtMS42ODVoMS4yNDdjOC4wNCwwLDE0LjM0My0zLjI3LDE2LjE3OC0xMi43MjljMC43NzUtMy45NTIsMC4zNzMtNy4yNDMtMS42NTUtOS41NTkNCgkJQzQwLjg3NSwxNy44NDksNDAuMTA3LDE3LjI2OCwzOS4yMTgsMTYuNzk1TDM5LjIxOCwxNi43OTUiLz4NCgk8cGF0aCBmaWxsPSIjMDEyMTY5IiBkPSJNMzkuMjE4LDE2Ljc5NWMwLjYyOC0zLjk5NS0wLjAwNi02LjcxMi0yLjE2Ni05LjE3MmMtMi4zOC0yLjcxMS02LjY3Ni0zLjg3My0xMi4xNzYtMy44NzNIOC45Mg0KCQljLTEuMTI2LDAtMi4wOCwwLjgxNy0yLjI1OCwxLjkyOUwwLjAxNyw0Ny44MTZjLTAuMTMyLDAuODMzLDAuNTE0LDEuNTg1LDEuMzUyLDEuNTg1aDkuODU0bDIuNDczLTE1LjY4OWwtMC4wNzksMC40ODUNCgkJYzAuMTc5LTEuMTExLDEuMTI2LTEuOTI5LDIuMjUxLTEuOTI5aDQuNjgzYzkuMTk0LDAsMTYuMzk0LTMuNzM1LDE4LjUwMi0xNC41NDJDMzkuMTExLDE3LjQxMiwzOS4xNjQsMTcuMDk4LDM5LjIxOCwxNi43OTUiLz4NCgk8cGF0aCBmaWxsPSIjMDAzMDg3IiBkPSJNMTYuMzU3LDE2Ljg0OGMwLjEwMy0wLjY3LDAuNTMzLTEuMjE2LDEuMTExLTEuNDkxYzAuMjYyLTAuMTIzLDAuNTUyLTAuMTkxLDAuODU5LTAuMTkxaDEyLjUxDQoJCWMxLjQ4MiwwLDIuODY3LDAuMDk0LDQuMTI3LDAuMjk4YzAuMzU4LDAuMDUzLDAuNzEsMC4xMjYsMS4wNTUsMC4xOTZjMC4zNDEsMC4wODEsMC42NzQsMC4xNjMsMC45OSwwLjI2DQoJCWMwLjE2NCwwLjA0MiwwLjMyMywwLjA5MiwwLjQ3NSwwLjE0NGMwLjYyMSwwLjIwOCwxLjE5OSwwLjQ1MSwxLjczMiwwLjczMWMwLjYyOC0zLjk5NS0wLjAwNi02LjcxMi0yLjE2Ni05LjE3Mg0KCQljLTIuMzgtMi43MTEtNi42NzYtMy44NzMtMTIuMTc2LTMuODczSDguOTJjLTEuMTI2LDAtMi4wOCwwLjgxNy0yLjI1OCwxLjkyOUwwLjAxNyw0Ny44MTZjLTAuMTMyLDAuODMzLDAuNTE0LDEuNTg1LDEuMzUyLDEuNTg1DQoJCWg5Ljg1NGwyLjQ3My0xNS42ODlMMTYuMzU3LDE2Ljg0OHoiLz4NCjwvZz4NCjwvc3ZnPg0K") no-repeat !important; + /*background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIzIDcuMjUgMzUuNSAzNS41IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KCTxnIGZpbGw9IiMwMDJmODYiPg0KCQk8cGF0aCBkPSJtMzIuNDE4IDEwLjAyYy0xLjY3Mi0xLjkxLTQuNjk5LTIuNzI3LTguNTctMi43MjdoLTExLjIzNGMtLjc5MyAwLTEuNDY1LjU3NC0xLjU5IDEuMzU1bC00LjY4IDI5LjY3MmMtLjA5LjU4Mi4zNjMgMS4xMTMuOTUzIDEuMTEzaDYuOTM4bDEuNzQyLTExLjA1LS4wNTUuMzQ4Yy4xMjUtLjc4MS43OTMtMS4zNTUgMS41ODItMS4zNTVoMy4yOTdjNi40NzcgMCAxMS41NDctMi42MzMgMTMuMDMtMTAuMjM4LjA0My0uMjI3LjA4Mi0uNDQ1LjExMy0uNjYuNDQxLTIuODEzIDAtNC43MjctMS41MjMtNi40NTciLz4NCgkJPHBhdGggZD0ibTE3Ljg0OCAxNi41MTZjLjA3NC0uNDczLjM3OS0uODU1Ljc4NS0xLjA1MS4xODQtLjA5LjM5MS0uMTM3LjYwNS0uMTM3aDguODA5YzEuMDQzIDAgMi4wMi4wNjYgMi45MDIuMjExLjI1OC4wMzkuNTA0LjA4Ni43NDIuMTQxLjI0Mi4wNTUuNDczLjExMy42OTkuMTguMTEzLjAzNS4yMjcuMDY2LjMzNi4xMDIuNDM0LjE0OC44NDQuMzE2IDEuMjE1LjUxNi40NDEtMi44MTMgMC00LjcyNy0xLjUyMy02LjQ1Ny0xLjY3Ni0xLjkxLTQuNjk5LTIuNzI3LTguNTctMi43MjdoLTExLjIzNGMtLjc5MyAwLTEuNDY1LjU3NC0xLjU5IDEuMzU1bC00LjY3NiAyOS42NjhjLS4wOTQuNTg2LjM1OSAxLjExNy45NDkgMS4xMTdoNi45MzhsMS43NDItMTEuMDVaIi8+DQoJPC9nPg0KCTxwYXRoIGQ9Im0zMy45NDEgMTYuNDc3Yy0uMDMxLjIxNS0uMDcuNDM0LS4xMTMuNjYtMS40OCA3LjYwNS02LjU1MSAxMC4yMzgtMTMuMDMgMTAuMjM4aC0zLjI5N2MtLjc4OSAwLTEuNDU3LjU3NC0xLjU4MiAxLjM1NWwtMS42ODggMTAuNzAzLS40NzcgMy4wMzVjLS4wODIuNTEyLjMxMy45NzcuODMyLjk3N2g1Ljg0OGMuNjkxIDAgMS4yODEtLjUwNCAxLjM4Ny0xLjE4OGwuMDU5LS4yOTcgMS4xMDItNi45ODQuMDctLjM4N2MuMTA5LS42ODQuNjk1LTEuMTg4IDEuMzkxLTEuMTg4aC44NzVjNS42NjQgMCAxMC4xLTIuMzAxIDExLjM5NS04Ljk1Ny41MzktMi43ODEuMjYyLTUuMTAyLTEuMTcyLTYuNzM0LS40MzQtLjQ5Mi0uOTczLS45MDItMS42MDItMS4yMzQiIGZpbGw9IiMwMDljZGUiLz4NCgk8cGF0aCBkPSJtMzIuMzkxIDE1Ljg1OWMtLjIyMy0uMDY2LS40NTctLjEyNS0uNjk5LS4xOC0uMjM4LS4wNTEtLjQ4NC0uMDk4LS43MzgtLjE0MS0uODkxLS4xNDUtMS44NjMtLjIxMS0yLjkwNi0uMjExaC04LjgwOWMtLjIxOSAwLS40MjIuMDQ3LS42MDUuMTM3LS40MS4xOTUtLjcxMS41NzgtLjc4NSAxLjA1MWwtMS44NzEgMTEuODY3LS4wNTUuMzQ4Yy4xMjUtLjc4MS43OTMtMS4zNTUgMS41ODItMS4zNTVoMy4yOTdjNi40NzcgMCAxMS41NDctMi42MzMgMTMuMDMtMTAuMjM4LjA0My0uMjI3LjA4Mi0uNDQ1LjExMy0uNjYtLjM3NS0uMTk1LS43NzctLjM2Ny0xLjIxNS0uNTEyLS4xMDktLjAzOS0uMjIzLS4wNzQtLjMzNi0uMTA1IiBmaWxsPSIjMDEyMDY5Ii8+DQo8L3N2Zz4=") !important;*/ + -webkit-background-size: c 100% 100% !important; + -moz-background-size: 100% 100% !important; + -o-background-size: 100% 100% !important; + background-size: 100% 100% !important; + height: 24px; + line-height: 34px; + /*margin-top: -4px; + margin-right: 4px;*/ + width: 71px; + margin: 4px 0 0 39px; + vertical-align: middle; + padding: 0 !important; + display: block !important; + /*background: none !important;*/ + border: none !important; + box-sizing: content-box !important; + float: left; +} + +#checkout-label { + float: left; + margin-left: 7px; +} + +.paypal-button.paypal-style-checkout.paypal-size-medium .paypal-button-tag-content { + line-height: 12px; + font-size: 10px; + margin-top: 4px; + color: #003366; + display: block; + text-align: center; + width: auto; +} + +.paypal-button-tag-content { + line-height: 10px; + width: 100%; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: normal; + font-size: 9.25px; + color: #003366; + display: inline-block; + width: 80%; + margin-top: -1px; + margin-top: -1px; +} + +#paypal-button-container.disabled, #paypal-button-container[disabled] { + cursor: default; + opacity: 0.45; + filter: alpha(opacity=65); + box-shadow: none; + pointer-events: none; +} + + +/* CSS for Credit Card Payment form */ +.credit-card-box .panel-title { + display: inline; + font-weight: bold; +} + +.credit-card-box.panel-default > .panel-heading { + background-color: #f5f5f5 !important; + width: 100% !important; +} + +.credit-card-box .form-control.error { + border-color: red; + outline: 0; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6); +} + +.credit-card-box label.error { + font-weight: bold; + color: red; + padding: 2px 8px; + margin-top: 2px; +} + +.credit-card-box .payment-errors { + font-weight: bold; + color: red; + padding: 2px 8px; + margin-top: 2px; +} + +.credit-card-box label { + display: block; +} +/* The old "center div vertically" hack */ +.credit-card-box .display-table { + display: table; +} + +.credit-card-box .display-tr { + display: table-row; +} + +.credit-card-box .display-td { + display: table-cell; + vertical-align: middle; + width: 50%; +} +/* Just looks nicer */ +.credit-card-box .panel-heading img { + min-width: 180px; +} + +#card-container { + height: 260px; + margin-top: 40px; +} + +#content-gplus { + position: relative; + float: left; + margin: 0 10px; +} + +.back-to-top, .cc-window { + z-index: 9999999999; +} +/* End Old Site.css*/ diff --git a/ClientApp/app/jquery.plugins/contact.form.js b/ClientApp/app/jquery.plugins/contact.form.js new file mode 100644 index 00000000..2cc4b0b3 --- /dev/null +++ b/ClientApp/app/jquery.plugins/contact.form.js @@ -0,0 +1,44 @@ +$(document).ready(function(){ + + //submission scripts + $('.contactForm').submit( function(){ + //statements to validate the form + var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; + var email = document.getElementById('e-mail'); + if (!filter.test(email.value)) { + $('.email-missing').css({'opacity': 1 }); + } else {$('.email-missing').css({'opacity': 0 });} + if (document.cform.name.value == "") { + $('.name-missing').css({'opacity': 1 }); + } else {$('.name-missing').css({'opacity': 0 });} + if (document.cform.message.value == "") { + $('.message-missing').css({'opacity': 1 }); + } else {$('.message-missing').css({'opacity': 0 });} + if ((document.cform.name.value == "") || (!filter.test(email.value)) || (document.cform.message.value == "")){ + return false; + } + + if ((document.cform.name.value != "") && (filter.test(email.value)) && (document.cform.message.value != "")) { + + //show the loading bar + $('.loader').append(); + + ////send the ajax request + //$.post('mail.php',{name:$('#name').val(), + // email:$('#e-mail').val(), + // message:$('#message').val()}, + + ////return the data + //function(data){ + // //hide the graphic + // $('.loader').append(data).slideDown(800); + //}); + + //waits 2000, then closes the form and fades out + setTimeout('$(".mail_response").slideUp(800)', 6000); + + //stay on the page + return false; + } + }); +}); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/count-to.js b/ClientApp/app/jquery.plugins/count-to.js new file mode 100644 index 00000000..594698ae --- /dev/null +++ b/ClientApp/app/jquery.plugins/count-to.js @@ -0,0 +1,80 @@ +(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)); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/init.revolution.main-slider.js b/ClientApp/app/jquery.plugins/init.revolution.main-slider.js new file mode 100644 index 00000000..82bed988 --- /dev/null +++ b/ClientApp/app/jquery.plugins/init.revolution.main-slider.js @@ -0,0 +1,54 @@ + var revapi; + jQuery(document).ready(function () { + alert('test'); + + revapi = jQuery('.fullwidthbanner').revolution({ + + delay: 9000, + startwidth: 1140, + startheight: 450, + hideThumbs: 200, + + thumbWidth: 100, + thumbHeight: 50, + thumbAmount: 3, + + navigationType: "none", + navigationArrows: "solo", + navigationStyle: "round", + + touchenabled: "on", + onHoverStop: "on", + + navigationHAlign: "center", + navigationVAlign: "bottom", + navigationHOffset: 0, + navigationVOffset: 20, + + soloArrowLeftHalign: "left", + soloArrowLeftValign: "center", + soloArrowLeftHOffset: 20, + soloArrowLeftVOffset: 0, + + soloArrowRightHalign: "right", + soloArrowRightValign: "center", + soloArrowRightHOffset: 20, + soloArrowRightVOffset: 0, + + shadow: 0, + fullWidth: "on", + fullScreen: "off", + lazyLoad: "on", + + stopLoop: "off", + stopAfterLoops: -1, + stopAtSlide: -1, + + shuffle: "off", + + hideSliderAtLimit: 0, + hideCaptionAtLimit: 0, + hideAllCaptionAtLilmit: 0, + startWithSlide: 0, + }); + }); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/jquery.appear.js b/ClientApp/app/jquery.plugins/jquery.appear.js new file mode 100644 index 00000000..ecc5001a --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.appear.js @@ -0,0 +1,150 @@ +/* + * 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); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/jquery.easypiechart.min.js b/ClientApp/app/jquery.plugins/jquery.easypiechart.min.js new file mode 100644 index 00000000..22906726 --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.easypiechart.min.js @@ -0,0 +1,190 @@ +// 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 = $("").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); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/jquery.fitvids.js b/ClientApp/app/jquery.plugins/jquery.fitvids.js new file mode 100644 index 00000000..a8551f6e --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.fitvids.js @@ -0,0 +1,74 @@ +/*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 = '­'; + + 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 ); diff --git a/ClientApp/app/jquery.plugins/jquery.isotope.min.js b/ClientApp/app/jquery.plugins/jquery.isotope.min.js new file mode 100644 index 00000000..c5edd575 --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.isotope.min.js @@ -0,0 +1,13 @@ +/** + * 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"+d+"{#modernizr{height:3px}}"+"").appendTo("head"),g=b('
').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;eg?1:f0&&(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;ed&&(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;id&&(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); diff --git a/ClientApp/app/jquery.plugins/jquery.lettering.js b/ClientApp/app/jquery.plugins/jquery.lettering.js new file mode 100644 index 00000000..4515590c --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.lettering.js @@ -0,0 +1,66 @@ +/*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); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/jquery.migrate.js b/ClientApp/app/jquery.plugins/jquery.migrate.js new file mode 100644 index 00000000..aca4d8fe --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.migrate.js @@ -0,0 +1,498 @@ +/*! + * 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 ); \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/jquery.min.js b/ClientApp/app/jquery.plugins/jquery.min.js new file mode 100644 index 00000000..76d21a46 --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.min.js @@ -0,0 +1,6 @@ +/*! 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="",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="","#"===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="",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="
a",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>"!==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=/\s*$/g,At={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_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>");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>")+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("'); + } + + // ADD VIMEO IFRAME IF NEEDED + if (vimeoid!=undefined && String(vimeoid).length>1 && nextcaption.find('iframe').length==0) { + if (location.protocol === 'https:') + httpprefix = "https"; + + nextcaption.append(''); + } + + // ADD HTML5 VIDEO IF NEEDED + if ((videomp!=undefined || videowebm!=undefined) && nextcaption.find('video').length==0) { + + if (videocontrols!="controls") videocontrols=""; + var apptxt = ''; + nextcaption.append(apptxt); + + if (videocontrols=="controls") + nextcaption.append('
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'); + } + + // RESET DEFAULTS + var autoplaywason = false; + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" || nextcaption.data('autoplay')==true) { + nextcaption.data('autoplay',true); + autoplaywason = true; + } + + + nextcaption.find('iframe').each(function() { + var ifr=jQuery(this); + + punchgs.TweenLite.to(ifr,0.1,{autoAlpha:1, zIndex:0, transformStyle:"preserve-3d",z:0,rotationX:0,force3D:"auto"}); + if (is_mobile()) { + var oldsrc = ifr.attr('src'); + ifr.attr('src',""); + ifr.attr('src',oldsrc); + } + + + // START YOUTUBE HANDLING + opt.nextslideatend = nextcaption.data('nextslideatend'); + + // IF VIDEOPOSTER EXISTING + if (nextcaption.data('videoposter')!=undefined && nextcaption.data('videoposter').length>2 && nextcaption.data('autoplay')!=true && !internrecalled) { + if (nextcaption.find('.tp-thumb-image').length==0) + nextcaption.append('
'); + else + punchgs.TweenLite.set(nextcaption.find('.tp-thumb-image'),{autoAlpha:1}); + } + + // IF IFRAME IS A YOUTUBE FRAME + if (ifr.attr('src').toLowerCase().indexOf('youtube')>=0) { + + // IF LISTENER DOES NOT EXIST YET + if (!ifr.hasClass("HasListener")) { + try { + ifr.attr('id',frameID); + var player; + var ytint = setInterval(function() { + if (YT !=undefined) + if (typeof YT.Player != undefined && typeof YT.Player !="undefined") { + player = new YT.Player(frameID, { + events: { + "onStateChange": onPlayerStateChange, + 'onReady': function(event) { + var embedCode = event.target.getVideoEmbedCode(), + ytcont = jQuery('#'+embedCode.split('id="')[1].split('"')[0]), + nextcaption = ytcont.closest('.tp-caption'), + videorate = nextcaption.data('videorate'), + videostart = nextcaption.data('videostart'); + + + if (videorate!=undefined) + event.target.setPlaybackRate(parseFloat(videorate)); + + /*if (nextcaption.data('autoplay')==true || autoplaywason) + event.target.playVideo();*/ + + if (!is_mobile() && nextcaption.data('autoplay')==true || autoplaywason) { + nextcaption.data('timerplay',setTimeout(function() { + event.target.playVideo(); + },nextcaption.data('start'))); + } + + // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED + nextcaption.find('.tp-thumb-image').click(function() { + punchgs.TweenLite.to(jQuery(this),0.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}) + if (!is_mobile()) { + player.playVideo(); + } + }) + + } + } + }); + } + ifr.addClass("HasListener"); + nextcaption.data('player',player); + clearInterval(ytint); + }, 100) + } catch(e) {} + } else { + if (!recalled) { + var player=nextcaption.data('player'); + if (nextcaption.data('forcerewind')=="on" && !is_mobile()) + player.seekTo(0); + + if (!is_mobile() && nextcaption.data('autoplay')==true || autoplaywason) { + nextcaption.data('timerplay',setTimeout(function() { + player.playVideo(); + },nextcaption.data('start'))); + } + } + } // END YOUTUBE HANDLING + + + } else + + // START VIMEO HANDLING + if (ifr.attr('src').toLowerCase().indexOf('vimeo')>=0) { + if (!ifr.hasClass("HasListener")) { + ifr.addClass("HasListener"); + ifr.attr('id',frameID); + var isrc = ifr.attr('src'); + var queryParameters = {}, queryString = isrc, + re = /([^&=]+)=([^&]*)/g, m; + // Creates a map with the query string parameters + while (m = re.exec(queryString)) { + queryParameters[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); + } + + if (queryParameters['player_id']!=undefined) + isrc = isrc.replace(queryParameters['player_id'],frameID); + else + isrc=isrc+"&player_id="+frameID; + + try{ isrc = isrc.replace('api=0','api=1'); } catch(e) {} + + isrc=isrc+"&api=1"; + + ifr.attr('src',isrc); + var player = nextcaption.find('iframe')[0]; + var vimint = setInterval(function() { + if ($f !=undefined){ + if (typeof $f(frameID).api != undefined && typeof $f(frameID).api !="undefined") { + + $f(player).addEvent('ready', function(){ + vimeoready_auto(frameID,autoplaywason) + }); + clearInterval(vimint); + } + } + },100); + + } else { + if (!recalled) { + if (!is_mobile() && (nextcaption.data('autoplay')==true || nextcaption.data('forcerewind')=="on")) { + + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var froogaloop = $f(id); + if (nextcaption.data('forcerewind')=="on") + froogaloop.api("seekTo",0); + nextcaption.data('timerplay',setTimeout(function() { + if (nextcaption.data('autoplay')==true) + froogaloop.api("play"); + },nextcaption.data('start'))); + } + } + }// END HAS LISTENER HANDLING + } // END OF VIMEO HANDLING + }); // END OF LOOP THROUGH IFRAMES + + + + // START OF HTML5 VIDEOS + if ((is_mobile() && nextcaption.data('disablevideoonmobile')==1) ||isIE(8)) nextcaption.find('video').remove(); + //if (is_mobile() && jQuery(window).width()<569) nextcaption.find('video').remove() + + if (nextcaption.find('video').length>0) { + nextcaption.find('video').each(function(i) { + + var video = this, + jvideo = jQuery(this); + + + if (!jvideo.parent().hasClass("html5vid")) + jvideo.wrap('
'); + + var html5vid = jvideo.parent(); + + // WAITING FOR META DATAS + + addEvent(video,'loadedmetadata',function(html5vid) { + html5vid.data('metaloaded',1); + }(html5vid)); + + + clearInterval(html5vid.data('interval')); + html5vid.data('interval',setInterval(function() { + if (html5vid.data('metaloaded')==1 || video.duration!=NaN) { + clearInterval(html5vid.data('interval')); + // FIRST TIME LOADED THE HTML5 VIDEO + if (!html5vid.hasClass("HasListener")) { + html5vid.addClass("HasListener"); + + if (nextcaption.data('dottedoverlay')!="none" && nextcaption.data('dottedoverlay')!=undefined) + if (nextcaption.find('.tp-dottedoverlay').length!=1) + html5vid.append('
'); + + if (jvideo.attr('control') == undefined ) { + if (html5vid.find('.tp-video-play-button').length==0) + html5vid.append('
'); + html5vid.find('video, .tp-poster, .tp-video-play-button').click(function() { + if (html5vid.hasClass("videoisplaying")) + video.pause(); + else + video.play(); + }) + } + + if (nextcaption.data('forcecover')==1 || nextcaption.hasClass('fullscreenvideo')) { + if (nextcaption.data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + nextcaption.addClass("fullcoveredvideo"); + } + html5vid.css({width:"100%", height:"100%"}); + } + + + + var playButton = nextcaption.find('.tp-vid-play-pause')[0], + muteButton = nextcaption.find('.tp-vid-mute')[0], + fullScreenButton = nextcaption.find('.tp-vid-full-screen')[0], + seekBar = nextcaption.find('.tp-seek-bar')[0], + volumeBar = nextcaption.find('.tp-volume-bar')[0]; + + if (playButton!=undefined) { + // Event listener for the play/pause button + addEvent(playButton,"click", function() { + if (video.paused == true) + // Play the video + video.play(); + else + // Pause the video + video.pause(); + }); + + // Event listener for the mute button + addEvent(muteButton,"click", function() { + if (video.muted == false) { + // Mute the video + video.muted = true; + + // Update the button text + muteButton.innerHTML = "Unmute"; + } else { + // Unmute the video + video.muted = false; + + // Update the button text + muteButton.innerHTML = "Mute"; + } + }); + + // Event listener for the full-screen button + addEvent(fullScreenButton,"click", function() { + if (video.requestFullscreen) { + video.requestFullscreen(); + } else if (video.mozRequestFullScreen) { + video.mozRequestFullScreen(); // Firefox + } else if (video.webkitRequestFullscreen) { + video.webkitRequestFullscreen(); // Chrome and Safari + } + }); + + + // Event listener for the seek bar + addEvent(seekBar,"change", function() { + // Calculate the new time + var time = video.duration * (seekBar.value / 100); + // Update the video time + video.currentTime = time; + }); + + + // Update the seek bar as the video plays + addEvent(video,"timeupdate", function() { + // Calculate the slider value + var value = (100 / video.duration) * video.currentTime; + + // Update the slider value + seekBar.value = value; + }); + + // Pause the video when the seek handle is being dragged + addEvent(seekBar,"mousedown", function() { + video.pause(); + }); + + // Play the video when the seek handle is dropped + addEvent(seekBar,"mouseup", function() { + video.play(); + }); + + // Event listener for the volume bar + addEvent(volumeBar,"change", function() { + // Update the video volume + video.volume = volumeBar.value; + }); + } + + + // VIDEO EVENT LISTENER FOR "PLAY" + addEvent(video,"play",function() { + if (nextcaption.data('volume')=="mute") + video.muted=true; + + html5vid.addClass("videoisplaying"); + + if (nextcaption.data('videoloop')=="loopandnoslidestop") { + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + } else { + + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + opt.container.trigger('revolution.slide.onvideoplay'); + } + + var playButton = nextcaption.find('.tp-vid-play-pause')[0], + muteButton = nextcaption.find('.tp-vid-mute')[0]; + if (playButton!=undefined) + playButton.innerHTML = "Pause"; + if (muteButton!=undefined && video.muted) + muteButton.innerHTML = "Unmute"; + }); + + // VIDEO EVENT LISTENER FOR "PAUSE" + addEvent(video,"pause",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + var playButton = nextcaption.find('.tp-vid-play-pause')[0]; + if (playButton!=undefined) + playButton.innerHTML = "Play"; + + }); + + // VIDEO EVENT LISTENER FOR "END" + addEvent(video,"ended",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + if (opt.nextslideatend==true) + opt.container.revnext(); + }); + + } // END OF LISTENER DECLARATION + + var autoplaywason = false; + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true") + autoplaywason = true; + + var mediaaspect=16/9; + if (nextcaption.data('aspectratio')=="4:3") mediaaspect=4/3; + html5vid.data('mediaAspect',mediaaspect); + + if (html5vid.closest('.tp-caption').data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + } + + jvideo.css({display:"block"}); + opt.nextslideatend = nextcaption.data('nextslideatend'); + + // IF VIDEO SHOULD BE AUTOPLAYED + if (nextcaption.data('autoplay')==true || autoplaywason==true) { + + + if (nextcaption.data('videoloop')=="loopandnoslidestop") { + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + } else { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + opt.container.trigger('revolution.slide.onvideoplay'); + } + + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + html5vid.data('timerplay',setTimeout(function() { + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + + video.play(); + },10+nextcaption.data('start'))); + } + + if (html5vid.data('ww') == undefined) html5vid.data('ww',jvideo.attr('width')); + if (html5vid.data('hh') == undefined) html5vid.data('hh',jvideo.attr('height')); + + if (!nextcaption.hasClass("fullscreenvideo") && nextcaption.data('forcecover')==1) { + try{ + html5vid.width(html5vid.data('ww')*opt.bw); + html5vid.height(html5vid.data('hh')*opt.bh); + } catch(e) {} + } + + clearInterval(html5vid.data('interval')); + } + }),100); // END OF SET INTERVAL + + }); + } // END OF HTML5 VIDEO FUNCTIONS + + // IF AUTOPLAY IS ON, WE NEED SOME STOP FUNCTION ON + if (nextcaption.data('autoplay')==true) { + setTimeout(function() { + + if (nextcaption.data('videoloop')!="loopandnoslidestop") { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + } + },200) + if (nextcaption.data('videoloop')!="loopandnoslidestop") { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + } + + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { + nextcaption.data('autoplay',false); + nextcaption.data('autoplayonlyfirsttime',false); + } + } + } + + + + + // NEW ENGINE + //if (nextcaption.hasClass("randomrotate") && (opt.ie || opt.ie9)) nextcaption.removeClass("randomrotate").addClass("sfb"); + // nextcaption.removeClass('noFilterClass'); + + + + var imw =0; + var imh = 0; + + if (nextcaption.find('img').length>0) { + var im = nextcaption.find('img'); + if (im.width()==0) im.css({width:"auto"}); + if (im.height()==0) im.css({height:"auto"}); + + if (im.data('ww') == undefined && im.width()>0) im.data('ww',im.width()); + if (im.data('hh') == undefined && im.height()>0) im.data('hh',im.height()); + + var ww = im.data('ww'); + var hh = im.data('hh'); + + if (ww==undefined) ww=0; + if (hh==undefined) hh=0; + + im.width(ww*opt.bw); + im.height(hh*opt.bh); + imw = im.width(); + imh = im.height(); + } else { + + if (nextcaption.find('iframe').length>0 || nextcaption.find('video').length>0) { + + var html5vid = false, + im = nextcaption.find('iframe'); + if (im.length==0) { + im = nextcaption.find('video'); + html5vid = true; + } + im.css({display:"block"}); + + if (nextcaption.data('ww') == undefined) nextcaption.data('ww',im.width()); + if (nextcaption.data('hh') == undefined) nextcaption.data('hh',im.height()); + + var ww = nextcaption.data('ww'), + hh = nextcaption.data('hh'); + + var nc =nextcaption; + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTop'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottom'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeft'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRight'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); + + // IE8 FIX FOR AUTO LINEHEIGHT + if (nc.data('lh')=="auto") nc.data('lh',nc.data('fsize')+4); + + var fvwidth=opt.width, + fvheight=opt.height; + if (fvwidth>opt.startwidth) fvwidth=opt.startwidth; + if (fvheight>opt.startheight) fvheight=opt.startheight; + + if (!nextcaption.hasClass('fullscreenvideo')) + nextcaption.css({ + + 'font-size': (nc.data('fsize') * opt.bw)+"px", + + 'padding-top': (nc.data('pt') * opt.bh) + "px", + 'padding-bottom': (nc.data('pb') * opt.bh) + "px", + 'padding-left': (nc.data('pl') * opt.bw) + "px", + 'padding-right': (nc.data('pr') * opt.bw) + "px", + + 'margin-top': (nc.data('mt') * opt.bh) + "px", + 'margin-bottom': (nc.data('mb') * opt.bh) + "px", + 'margin-left': (nc.data('ml') * opt.bw) + "px", + 'margin-right': (nc.data('mr') * opt.bw) + "px", + + 'border-top': (nc.data('bt') * opt.bh) + "px", + 'border-bottom': (nc.data('bb') * opt.bh) + "px", + 'border-left': (nc.data('bl') * opt.bw) + "px", + 'border-right': (nc.data('br') * opt.bw) + "px", + + 'line-height': (nc.data('lh') * opt.bh) + "px", + 'height':(hh*opt.bh)+'px' + }); + else { + + offsetx=0; offsety=0; + nextcaption.data('x',0) + nextcaption.data('y',0) + + var ovhh = opt.height + if (opt.autoHeight=="on") + ovhh = opt.container.height() + nextcaption.css({ + + 'width':opt.width, + 'height':ovhh + }); + } + + if (html5vid == false) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + else + + if (nextcaption.data('forcecover')!=1 && !nextcaption.hasClass('fullscreenvideo')) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + + imw = im.width(); + imh = im.height(); + } + + else { + + + nextcaption.find('.tp-resizeme, .tp-resizeme *').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + + if (nextcaption.hasClass("tp-resizeme")) { + nextcaption.find('*').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + } + + calcCaptionResponsive(nextcaption,opt); + + imh=nextcaption.outerHeight(true); + imw=nextcaption.outerWidth(true); + + // NEXTCAPTION FRONTCORNER CHANGES + var ncch = nextcaption.outerHeight(); + var bgcol = nextcaption.css('backgroundColor'); + nextcaption.find('.frontcorner').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderTopColor':bgcol + }); + + nextcaption.find('.frontcornertop').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcorner').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcornertop').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderTopColor':bgcol + }); + + } + + + } + + if (opt.fullScreenAlignForce == "on") { + //xbw = 1; + //xbh = 1; + offsetx=0; + offsety=0; + } + + + + if (nextcaption.data('voffset')==undefined) nextcaption.data('voffset',0); + if (nextcaption.data('hoffset')==undefined) nextcaption.data('hoffset',0); + + var vofs= nextcaption.data('voffset')*xbw; + var hofs= nextcaption.data('hoffset')*xbw; + + var crw = opt.startwidth*xbw; + var crh = opt.startheight*xbw; + + if (opt.fullScreenAlignForce == "on") { + crw = opt.container.width(); + crh = opt.container.height(); + } + + + + // CENTER THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') { + nextcaption.data('xcenter','center'); + //nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2)/xbw+ hofs); + nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2) + hofs); + + + } + + // ALIGN LEFT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="left" || nextcaption.data('xleft')=='left') { + nextcaption.data('xleft','left'); + + nextcaption.data('x',(0)/xbw+hofs); + + } + + // ALIGN RIGHT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="right" || nextcaption.data('xright')=='right') { + nextcaption.data('xright','right'); + nextcaption.data('x',((crw - nextcaption.outerWidth(true))+hofs)/xbw); + //konsole.log("crw:"+crw+" width:"+nextcaption.outerWidth(true)+" xbw:"+xbw); + //konsole.log("x-pos:"+nextcaption.data('x')) + } + + + // CENTER THE CAPTION VERTICALLY + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') { + nextcaption.data('ycenter','center'); + nextcaption.data('y',(crh/2 - nextcaption.outerHeight(true)/2) + vofs); + } + + // ALIGN TOP THE CAPTION VERTICALLY + if (nextcaption.data('y')=="top" || nextcaption.data('ytop')=='top') { + nextcaption.data('ytop','top'); + nextcaption.data('y',(0)/opt.bh+vofs); + + } + + // ALIGN BOTTOM THE CAPTION VERTICALLY + if (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom') { + nextcaption.data('ybottom','bottom'); + nextcaption.data('y',((crh - nextcaption.outerHeight(true))+vofs)/xbw); + + } + + + + // THE TRANSITIONS OF CAPTIONS + // MDELAY AND MSPEED + if (nextcaption.data('start') == undefined) nextcaption.data('start',1000); + + + + var easedata=nextcaption.data('easing'); + if (easedata==undefined) easedata="punchgs.Power1.easeOut"; + + + var mdelay = nextcaption.data('start')/1000, + mspeed = nextcaption.data('speed')/1000; + + + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') + var calcx = (nextcaption.data('x')+offsetx); + else { + + var calcx = (xbw*nextcaption.data('x')+offsetx); + } + + + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') + var calcy = (nextcaption.data('y')+offsety); + else { + //if (opt.fullScreenAlignForce == "on" && (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom')) + // opt.bh = 1; + + var calcy = (opt.bh*nextcaption.data('y')+offsety); + } + + + punchgs.TweenLite.set(nextcaption,{top:calcy,left:calcx,overwrite:"auto"}); + + if (staticdirection == 0) + internrecalled = true; + + if (nextcaption.data('timeline')!=undefined && !internrecalled) { + if (staticdirection!=2) + nextcaption.data('timeline').gotoAndPlay(0); + internrecalled = true; + } + + if (!internrecalled) { + + + + // CLEAR THE TIMELINE, SINCE IT CAN BE DAMAGED, OR PAUSED AT A FEW PART + if (nextcaption.data('timeline')!=undefined) { + //nextcaption.data('timeline').clear(); + } + + var tl = new punchgs.TimelineLite({smoothChildTiming:true,onStart:tlstart}); + tl.pause(); + + + if (opt.fullScreenAlignForce == "on") { + //calcy = nextcaption.data('y')+offsety; + } + + var animobject = nextcaption; + if (nextcaption.data('mySplitText') !=undefined) nextcaption.data('mySplitText').revert(); + + + if (nextcaption.data('splitin') == "chars" || nextcaption.data('splitin') == "words" || nextcaption.data('splitin') == "lines" || nextcaption.data('splitout') == "chars" || nextcaption.data('splitout') == "words" || nextcaption.data('splitout') == "lines") { + if (nextcaption.find('a').length>0) + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + else + if (nextcaption.find('.tp-layer-inner-rotation').length>0) + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption.find('.tp-layer-inner-rotation'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + else + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + + nextcaption.addClass("splitted"); + } + + if (nextcaption.data('splitin') == "chars") + animobject = nextcaption.data('mySplitText').chars; + + + if (nextcaption.data('splitin') == "words") + animobject = nextcaption.data('mySplitText').words; + + + if (nextcaption.data('splitin') == "lines") + animobject = nextcaption.data('mySplitText').lines; + + + + var frm = newAnimObject(); + var endfrm = newAnimObject(); + + + if (nextcaption.data('repeat')!=undefined) repeatV = nextcaption.data('repeat'); + if (nextcaption.data('yoyo')!=undefined) yoyoV = nextcaption.data('yoyo'); + if (nextcaption.data('repeatdelay')!=undefined) repeatdelayV = nextcaption.data('repeatdelay'); + + var ncc = nextcaption.attr('class'); + + // WHICH ANIMATION TYPE SHOULD BE USED + if (ncc.match("customin")) frm = getAnimDatas(frm,nextcaption.data('customin')); + else + if (ncc.match("randomrotate")) { + + frm.scale = Math.random()*3+1; + frm.rotation = Math.round(Math.random()*200-100); + frm.x = Math.round(Math.random()*200-100); + frm.y = Math.round(Math.random()*200-100); + } + else + if (ncc.match('lfr') || ncc.match('skewfromright')) frm.x = 15+opt.width; + else + if (ncc.match('lfl') || ncc.match('skewfromleft')) frm.x = -15-imw; + else + if (ncc.match('sfl') || ncc.match('skewfromleftshort')) frm.x = -50; + else + if (ncc.match('sfr') || ncc.match('skewfromrightshort')) frm.x = 50; + else + if (ncc.match('lft')) frm.y = -25 - imh; + else + if (ncc.match('lfb')) frm.y = 25 + opt.height; + else + if (ncc.match('sft')) frm.y = -50; + else + if (ncc.match('sfb')) frm.y = 50; + + + if (ncc.match('skewfromright') || nextcaption.hasClass('skewfromrightshort')) frm.skewX = -85 + else + if (ncc.match('skewfromleft') || nextcaption.hasClass('skewfromleftshort')) frm.skewX = 85 + + + if (ncc.match("fade") || ncc.match('sft') || ncc.match('sfl') || ncc.match('sfb') || ncc.match('skewfromleftshort') || ncc.match('sfr') || ncc.match('skewfromrightshort')) + frm.opacity = 0; + + // FOR SAFARI WE NEED TO REMOVE 3D ROTATIONS + if (get_browser().toLowerCase()=="safari") { + //frm.rotationX=0;frm.rotationY=0; + } + + var elemdelay = (nextcaption.data('elementdelay') == undefined) ? 0 : nextcaption.data('elementdelay'); + endfrm.ease = frm.ease = (nextcaption.data('easing') == undefined) ? punchgs.Power1.easeInOut : nextcaption.data('easing'); + + + // DISTANCES SHOULD BE RESIZED ALSO + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + endfrm.data = new Object(); + endfrm.data.oldx = endfrm.x; + endfrm.data.oldy = endfrm.y; + + frm.x = frm.x * xbw; + frm.y = frm.y * xbw; + + var newtl = new punchgs.TimelineLite(); + + + if (staticdirection != 2) { + + // CHANGE to punchgs.TweenLite. if Yoyo and Repeat is used. Dont forget to laod the Right Tools for it !! + if (ncc.match("customin")) { + if (animobject != nextcaption) + tl.add(punchgs.TweenLite.set(nextcaption, { force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',delay:0,overwrite:"all"})); + frm.visibility = "hidden"; + endfrm.visibility = "visible"; + endfrm.overwrite = "all"; + endfrm.opacity = 1; + endfrm.onComplete = animcompleted(); + endfrm.delay = mdelay; + endfrm.force3D="auto" + + tl.add(newtl.staggerFromTo(animobject,mspeed,frm,endfrm,elemdelay),"frame0"); + + } else { + + frm.visibility = "visible"; + frm.transformPerspective = 600; + if (animobject != nextcaption) + tl.add(punchgs.TweenLite.set(nextcaption, { force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',delay:0,overwrite:"all"})); + + endfrm.visibility = "visible"; + endfrm.delay = mdelay; + endfrm.onComplete = animcompleted(); + endfrm.opacity = 1; + endfrm.force3D="auto"; + if (ncc.match("randomrotate") && animobject != nextcaption) { + + for (var i=0;i0) { + var params = getAnimSteps(spframe); + + addMoveCaption(nextcaption,opt,params,"frame"+(index+10),xbw) + + } + }) + } // END OF ANIMATION STEPS + + tl = nextcaption.data('timeline'); + // IF THERE IS ANY EXIT ANIM DEFINED + // For Static Layers -> 1 -> In, 2-> Out 0-> Ignore -1-> Not Static + if ((nextcaption.data('end')!=undefined) && (staticdirection==-1 || staticdirection==2)) { + endMoveCaption(nextcaption,opt,nextcaption.data('end')/1000,frm,"frame99",xbw); + } else { + if (staticdirection==-1 || staticdirection==2) + endMoveCaption(nextcaption,opt,999999,frm,"frame99",xbw); + else + endMoveCaption(nextcaption,opt,200,frm,"frame99",xbw); + } + + // SAVE THE TIMELINE IN DOM ELEMENT + tl = nextcaption.data('timeline'); + nextcaption.data('timeline',tl); + callCaptionLoops(nextcaption,xbw); + tl.resume(); + } + } + + if (internrecalled) { + killCaptionLoops(nextcaption); + callCaptionLoops(nextcaption,xbw); + + if (nextcaption.data('timeline') != undefined) { + var tweens = nextcaption.data('timeline').getTweensOf(); + jQuery.each(tweens,function(index,tween) { + if (tween.vars.data != undefined) { + var newx = tween.vars.data.oldx * xbw; + var newy = tween.vars.data.oldy * xbw; + if (tween.progress() !=1 && tween.progress()!=0) { + try{ + //tween.updateTo({x:newx, y:newy},true); + tween.vars.x = newx; + tween.vary.y = newy; + } catch(e) { + + } + } else { + if (tween.progress()==1) { + punchgs.TweenLite.set(tween.target,{x:newx,y:newy}); + } + } + } + }) + } + } + + }) + + var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); + bt.data('opt',opt); + + + + if (mtl != undefined) setTimeout(function() { + mtl.resume(); + },30); + + } + + + var get_browser = function(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[0]; + } + var get_browser_version = function(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[1]; + } + + ///////////////////////////////////////////////////////////////// + // - CALCULATE THE RESPONSIVE SIZES OF THE CAPTIONS - // + ///////////////////////////////////////////////////////////////// + var calcCaptionResponsive = function(nc,opt) { + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTopWidth'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottomWidth'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeftWidth'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRightWidth'),0) || 0); + + if (nc.data('ls') == undefined) nc.data('ls',parseInt(nc.css('letterSpacing'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || "auto"); + if (nc.data('minwidth') == undefined) nc.data('minwidth',parseInt(nc.css('minWidth'),0) || 0); + if (nc.data('minheight') == undefined) nc.data('minheight',parseInt(nc.css('minHeight'),0) || 0); + if (nc.data('maxwidth') == undefined) nc.data('maxwidth',parseInt(nc.css('maxWidth'),0) || "none"); + if (nc.data('maxheight') == undefined) nc.data('maxheight',parseInt(nc.css('maxHeight'),0) || "none"); + if (nc.data('wii') == undefined) nc.data('wii',parseInt(nc.css('width'),0) || 0); + if (nc.data('hii') == undefined) nc.data('hii',parseInt(nc.css('height'),0) || 0); + + if (nc.data('wan') == undefined) nc.data('wan',nc.css("-webkit-transition")); + if (nc.data('moan') == undefined) nc.data('moan',nc.css("-moz-animation-transition")); + if (nc.data('man') == undefined) nc.data('man',nc.css("-ms-animation-transition")); + if (nc.data('ani') == undefined) nc.data('ani',nc.css("transition")); + + // IE8 FIX FOR AUTO LINEHEIGHT + if (nc.data('lh')=="auto") nc.data('lh',nc.data('fsize')+4); + + + + + if (!nc.hasClass("tp-splitted")) { + + + nc.css("-webkit-transition", "none"); + nc.css("-moz-transition", "none"); + nc.css("-ms-transition", "none"); + nc.css("transition", "none"); + + punchgs.TweenLite.set(nc,{ + fontSize: Math.round((nc.data('fsize') * opt.bw))+"px", + + letterSpacing:Math.floor((nc.data('ls') * opt.bw))+"px", + + paddingTop: Math.round((nc.data('pt') * opt.bh)) + "px", + paddingBottom: Math.round((nc.data('pb') * opt.bh)) + "px", + paddingLeft: Math.round((nc.data('pl') * opt.bw)) + "px", + paddingRight: Math.round((nc.data('pr') * opt.bw)) + "px", + + marginTop: (nc.data('mt') * opt.bh) + "px", + marginBottom: (nc.data('mb') * opt.bh) + "px", + marginLeft: (nc.data('ml') * opt.bw) + "px", + marginRight: (nc.data('mr') * opt.bw) + "px", + + borderTopWidth: Math.round((nc.data('bt') * opt.bh)) + "px", + borderBottomWidth: Math.round((nc.data('bb') * opt.bh)) + "px", + borderLeftWidth: Math.round((nc.data('bl') * opt.bw)) + "px", + borderRightWidth: Math.round((nc.data('br') * opt.bw)) + "px", + + lineHeight: Math.round((nc.data('lh') * opt.bh)) + "px", + minWidth:(nc.data('minwidth') * opt.bw) + "px", + minHeight:(nc.data('minheight') * opt.bh) + "px", + + /* width:(nc.data('wii') * opt.bw) + "px", + height:(nc.data('hii') * opt.bh) + "px", */ + + overwrite:"auto" + }); + setTimeout(function() { + nc.css("-webkit-transition", nc.data('wan')); + nc.css("-moz-transition", nc.data('moan')); + nc.css("-ms-transition", nc.data('man')); + nc.css("transition", nc.data('ani')); + + },30); + + //konsole.log(nc.data('maxwidth')+" "+nc.data('maxheight')); + if (nc.data('maxheight')!='none') + nc.css({'maxHeight':(nc.data('maxheight') * opt.bh) + "px"}); + + + if (nc.data('maxwidth')!='none') + nc.css({'maxWidth':(nc.data('maxwidth') * opt.bw) + "px"}); + } + } + + + /****************************** + - CAPTION LOOPS - + ********************************/ + + + var callCaptionLoops = function(nextcaption,factor) { + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pendulum').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var startdeg = el.data('startdeg')==undefined ? -20 : el.data('startdeg'), + enddeg = el.data('enddeg')==undefined ? 20 : el.data('enddeg'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('ease'); + + startdeg = startdeg * factor; + enddeg = enddeg * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:enddeg,transformOrigin:origin},{rotation:startdeg,ease:easing,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-rotate').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var startdeg = el.data('startdeg')==undefined ? 0 : el.data('startdeg'), + enddeg = el.data('enddeg')==undefined ? 360 : el.data('enddeg'); + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + startdeg = startdeg * factor; + enddeg = enddeg * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-slideloop').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var xs = el.data('xs')==undefined ? 0 : el.data('xs'), + ys = el.data('ys')==undefined ? 0 : el.data('ys'), + xe = el.data('xe')==undefined ? 0 : el.data('xe'), + ye = el.data('ye')==undefined ? 0 : el.data('ye'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + xs = xs * factor; + ys = ys * factor; + xe = xe * factor; + ye = ye * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",x:xs,y:ys},{x:xe,y:ye,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",x:xe,y:ye},{x:xs,y:ys,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pulse').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var zoomstart = el.data('zoomstart')==undefined ? 0 : el.data('zoomstart'), + zoomend = el.data('zoomend')==undefined ? 0 : el.data('zoomend'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",scale:zoomstart},{scale:zoomend,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",scale:zoomend},{scale:zoomstart,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + nextcaption.find('.rs-wave').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + + var angle= el.data('angle')==undefined ? 10 : el.data('angle'), + radius = el.data('radius')==undefined ? 10 : el.data('radius'), + speed = el.data('speed')==undefined ? -20 : el.data('speed'), + origin = el.data('origin')==undefined ? -20 : el.data('origin'); + + angle = angle*factor; + radius = radius * factor; + + var angobj = {a:0, ang : angle, element:el, unit:radius}; + + + el.data('timeline').append(new punchgs.TweenLite.fromTo(angobj,speed, + { a:360 }, + { a:0, + force3D:"auto", + ease:punchgs.Linear.easeNone, + onUpdate:function() { + + var rad = angobj.a * (Math.PI / 180); + punchgs.TweenLite.to(angobj.element,0.1,{force3D:"auto",x:Math.cos(rad) * angobj.unit, y:angobj.unit * (1 - Math.sin(rad))}); + + }, + onComplete:function() { + el.data('timeline').restart(); + } + } + )); + } + + }) + } + + var killCaptionLoops = function(nextcaption) { + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave').each(function() { + var el = jQuery(this); + if (el.data('timeline')!=undefined) { + el.data('timeline').pause(); + el.data('timeline',null); + } + }); + } + + ////////////////////////// + // REMOVE THE CAPTIONS // + ///////////////////////// + var removeTheCaptions = function(actli,opt) { + + var removetime = 0; + + var allcaptions = actli.find('.tp-caption'), + allstaticcaptions = opt.container.find('.tp-static-layers').find('.tp-caption'); + + + jQuery.each(allstaticcaptions, function(index,staticcapt) { + allcaptions.push(staticcapt); + }); + + allcaptions.each(function(i) { + + + + var staticdirection = -1; // 1 -> In, 2-> Out 0-> Ignore -1-> Not Static + + var nextcaption=jQuery(this); + if (nextcaption.hasClass("tp-static-layer")) { + + if (nextcaption.data('startslide') == -1 || nextcaption.data('startslide') == "-1") + nextcaption.data('startslide',0); + + if (nextcaption.data('endslide') == -1 || nextcaption.data('endslide') == "-1") + nextcaption.data('endslide',opt.slideamount); + + + + // IF STATIC ITEM CURRENTLY NOT VISIBLE + if (nextcaption.hasClass("tp-is-shown")) { + + if ((nextcaption.data('startslide') > opt.next) || + (nextcaption.data('endslide') < opt.next)) { + + staticdirection = 2; + nextcaption.removeClass("tp-is-shown"); + } else { + staticdirection = 0; + } + } else { + staticdirection = 2; + } + + + + } + + + + if (staticdirection != 0 ) { + + killCaptionLoops(nextcaption); + + if (nextcaption.find('iframe').length>0) { + // VIMEO VIDEO PAUSE + //if (nextcaption.data('vimeoid')!=undefined && String(nextcaption.data('vimeoid')).length>0) + punchgs.TweenLite.to(nextcaption.find('iframe'),0.2,{autoAlpha:0}); + if (is_mobile()) nextcaption.find('iframe').remove(); + try { + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var froogaloop = $f(id); + froogaloop.api("pause"); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + + try { + var player=nextcaption.data('player'); + player.stopVideo(); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + } + + // IF HTML5 VIDEO IS EMBEDED + if (nextcaption.find('video').length>0) { + try{ + nextcaption.find('video').each(function(i) { + var html5vid = jQuery(this).parent(); + var videoID =html5vid.attr('id'); + clearTimeout(html5vid.data('timerplay')); + var video = this; + video.pause(); + }) + }catch(e) {} + } // END OF VIDEO JS FUNCTIONS + try { + + //var tl = punchgs.TimelineLite.exportRoot(); + var tl = nextcaption.data('timeline'); + var endstarts = tl.getLabelTime("frame99"); + var curtime = tl.time(); + if (endstarts>curtime) { + + // WE NEED TO STOP ALL OTHER NIMATIONS + var tweens = tl.getTweensOf(nextcaption); + jQuery.each(tweens,function(index,tw) { + + if (index!=0) + tw.pause(); + }); + if (nextcaption.css('opacity')!=0) { + var spp = nextcaption.data('endspeed') == undefined ? nextcaption.data('speed') : nextcaption.data('endspeed'); + if (spp>removetime) removetime =spp; + tl.play("frame99"); + } else + tl.progress(1,false); + } + + } catch(e) {} + + } + + }); + + return removetime; + } + + ////////////////////////////// + // MOVE THE CAPTIONS // + //////////////////////////// + var addMoveCaption = function(nextcaption,opt,params,frame,downscale) { + var tl = nextcaption.data('timeline'); + + var newtl = new punchgs.TimelineLite(); + + var animobject = nextcaption; + + if (params.typ == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (params.typ == "words") animobject = nextcaption.data('mySplitText').words; + else + if (params.typ == "lines") animobject = nextcaption.data('mySplitText').lines; + params.animation.ease = params.ease; + + if (params.animation.rotationZ !=undefined) params.animation.rotation = params.animation.rotationZ; + params.animation.data = new Object(); + params.animation.data.oldx = params.animation.x; + params.animation.data.oldy = params.animation.y; + + params.animation.x = params.animation.x * downscale; + params.animation.y = params.animation.y * downscale; + + + tl.add(newtl.staggerTo(animobject,params.speed,params.animation,params.elementdelay),params.start); + tl.addLabel(frame,params.start); + + nextcaption.data('timeline',tl); + + } + ////////////////////////////// + // MOVE OUT THE CAPTIONS // + //////////////////////////// + var endMoveCaption = function(nextcaption,opt,mdelay,backwards,frame,downscale) { + + var tl = nextcaption.data('timeline'), + newtl = new punchgs.TimelineLite(); + + var frm = newAnimObject(), + mspeed= (nextcaption.data('endspeed') == undefined) ? nextcaption.data('speed') : nextcaption.data('endspeed'), + ncc = nextcaption.attr('class'); + + frm.ease = (nextcaption.data('endeasing') == undefined) ? punchgs.Power1.easeInOut : nextcaption.data('endeasing'); + + mspeed = mspeed/1000; + + + + if (ncc.match('ltr') || + ncc.match('ltl') || + ncc.match('str') || + ncc.match('stl') || + ncc.match('ltt') || + ncc.match('ltb') || + ncc.match('stt') || + ncc.match('stb') || + ncc.match('skewtoright') || + ncc.match('skewtorightshort') || + ncc.match('skewtoleft') || + ncc.match('skewtoleftshort') || + ncc.match('fadeout') || + ncc.match("randomrotateout")) + { + + if (ncc.match('skewtoright') || ncc.match('skewtorightshort')) frm.skewX = 35 + else + if (ncc.match('skewtoleft') || ncc.match('skewtoleftshort')) frm.skewX = -35 + + + if (ncc.match('ltr') || ncc.match('skewtoright')) + frm.x=opt.width+60; + else if (ncc.match('ltl') || ncc.match('skewtoleft')) + frm.x=0-(opt.width+60); + else if (ncc.match('ltt')) + frm.y=0-(opt.height+60); + else if (ncc.match('ltb')) + frm.y=opt.height+60; + else if (ncc.match('str') || ncc.match('skewtorightshort')) { + frm.x=50;frm.opacity=0; + } else if (ncc.match('stl') || ncc.match('skewtoleftshort')) { + frm.x=-50;frm.opacity=0; + } else if (ncc.match('stt')) { + frm.y=-50;frm.opacity=0; + } else if (ncc.match('stb')) { + frm.y=50;frm.opacity=0; + } else if (ncc.match("randomrotateout")) { + frm.x = Math.random()*opt.width; + frm.y = Math.random()*opt.height; + frm.scale = Math.random()*2+0.3; + frm.rotation = Math.random()*360-180; + frm.opacity = 0; + } else if (ncc.match('fadeout')) { + frm.opacity = 0; + } + + if (ncc.match('skewtorightshort')) frm.x = 270; + else + if (ncc.match('skewtoleftshort')) frm.x = -270 + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + frm.overwrite="auto"; + var animobject = nextcaption; + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + //tl.add(punchgs.TweenLite.to(nextcaption,mspeed,frm),mdelay); + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + + } + + else + + if (nextcaption.hasClass("customout")) { + + frm = getAnimDatas(frm,nextcaption.data('customout')); + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + frm.onStart = function() { + + punchgs.TweenLite.set(nextcaption,{ + transformPerspective:frm.transformPerspective, + transformOrigin:frm.transformOrigin, + overwrite:"auto" + }); + } + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + } + + else { + backwards.delay = 0; + tl.add(punchgs.TweenLite.to(nextcaption,mspeed,backwards),mdelay); + } + + + tl.addLabel(frame,mdelay); + + nextcaption.data('timeline',tl); + } + + /////////////////////////// + // REMOVE THE LISTENERS // + /////////////////////////// + var removeAllListeners = function(container,opt) { + container.children().each(function() { + try{ jQuery(this).die('click'); } catch(e) {} + try{ jQuery(this).die('mouseenter');} catch(e) {} + try{ jQuery(this).die('mouseleave');} catch(e) {} + try{ jQuery(this).unbind('hover');} catch(e) {} + }) + try{ container.die('click','mouseenter','mouseleave');} catch(e) {} + clearInterval(opt.cdint); + container=null; + } + + /////////////////////////// + // - countDown - // + ///////////////////////// + var countDown = function(container,opt) { + opt.cd=0; + opt.loop=0; + if (opt.stopAfterLoops!=undefined && opt.stopAfterLoops>-1) + opt.looptogo=opt.stopAfterLoops; + else + opt.looptogo=9999999; + + if (opt.stopAtSlide!=undefined && opt.stopAtSlide>-1) + opt.lastslidetoshow=opt.stopAtSlide; + else + opt.lastslidetoshow=999; + + opt.stopLoop="off"; + + if (opt.looptogo==0) opt.stopLoop="on"; + + + if (opt.slideamount >1 && !(opt.stopAfterLoops==0 && opt.stopAtSlide==1) ) { + var bt=container.find('.tp-bannertimer'); + + + // LISTENERS //container.trigger('stoptimer'); + container.on('stoptimer',function() { + var bt = jQuery(this).find('.tp-bannertimer'); + bt.data('tween').pause(); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + container.on('starttimer',function() { + + if (opt.conthover!=1 && opt.videoplaying!=true && opt.width>opt.hideSliderAtLimit && opt.bannertimeronpause != true && opt.overnav !=true) + if ((opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) || opt.noloopanymore == 1) + opt.noloopanymore = 1; + else { + + bt.css({visibility:"visible"}); + bt.data('tween').resume(); + } + + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + container.on('restarttimer',function() { + var bt = jQuery(this).find('.tp-bannertimer'); + if ((opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) || opt.noloopanymore == 1) + opt.noloopanymore = 1; + else { + + bt.css({visibility:"visible"}); + bt.data('tween').kill(); + bt.data('tween',punchgs.TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:countDownNext,delay:1})); + + } + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + + container.on('nulltimer',function() { + bt.data('tween').pause(0); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + + + + var countDownNext = function() { + if (jQuery('body').find(container).length==0) { + removeAllListeners(container,opt); + clearInterval(opt.cdint); + } + + container.trigger("revolution.slide.slideatend"); + + //STATE OF API CHANGED -> MOVE TO AIP BETTER + if (container.data('conthover-changed') == 1) { + opt.conthover= container.data('conthover'); + container.data('conthover-changed',0); + } + + // SWAP TO NEXT BANNER + opt.act=opt.next; + opt.next=opt.next+1; + + if (opt.next>container.find('>ul >li').length-1) { + opt.next=0; + opt.looptogo=opt.looptogo-1; + + if (opt.looptogo<=0) { + opt.stopLoop="on"; + + } + } + + // STOP TIMER IF NO LOOP NO MORE NEEDED. + + if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) { + container.find('.tp-bannertimer').css({'visibility':'hidden'}); + container.trigger('revolution.slide.onstop'); + opt.noloopanymore = 1; + } else { + bt.data('tween').restart(); + } + + // SWAP THE SLIDES + swapSlide(container,opt); + + } + + bt.data('tween',punchgs.TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:countDownNext,delay:1})); + bt.data('opt',opt); + + + container.hover( + function() { + + if (opt.onHoverStop=="on" && (!is_mobile())) { + container.trigger('stoptimer'); + + container.trigger('revolution.slide.onpause'); + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').pause(); + } + }); + } + }, + function() { + if (container.data('conthover')!=1) { + container.trigger('revolution.slide.onresume'); + container.trigger('starttimer'); + + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').play(); + } + }); + } + }); + } + } + + + ////////////////// + // IS MOBILE ?? // + ////////////////// + var is_mobile = function() { + var agents = ['android', 'webos', 'iphone', 'ipad', 'blackberry','Android', 'webos', ,'iPod', 'iPhone', 'iPad', 'Blackberry', 'BlackBerry']; + var ismobile=false; + for(var i in agents) { + + if (navigator.userAgent.split(agents[i]).length>1) { + ismobile = true; + + } + } + return ismobile; + } + + + +/************************************************************************** + * Revolution Slider - PAN ZOOM MODULE + * @version: 1.0 (03.06.2013) + * @author ThemePunch +**************************************************************************/ + + /*********************************************** + - KEN BURN BACKGROUND FIT CALCULATOR - + ***********************************************/ + var calculateKenBurnScales = function(proc,sloth,opt) { + var ow = sloth.data('owidth'); + var oh = sloth.data('oheight'); + + if (ow / oh > opt.width / opt.height) { + var factor = (opt.container.width() /ow); + var nheight = oh * factor; + var hfactor = (nheight / opt.container.height())*proc; + proc = proc * (100/hfactor); + hfactor = 100; + proc = proc; + return (proc+"% "+hfactor+"%"+" 1"); + } else { + var factor = (opt.container.width() /ow); + var nheight = oh * factor; + var hfactor = (nheight / opt.container.height())*proc; + return (proc+"% "+hfactor+"%"); + } + } + + + + /****************************** + - startKenBurn - + ********************************/ + var startKenBurn = function(container,opt,recalc,prepareonly) { + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'), + nextsh = nextli.find('.slotholder'), + bgps = nextsh.data('bgposition'), + bgpe = nextsh.data('bgpositionend'), + zos = nextsh.data('zoomstart')/100, + zoe = nextsh.data('zoomend')/100, + ros = nextsh.data('rotationstart'), + roe = nextsh.data('rotationend'), + bgfs = nextsh.data('bgfit'), + bgfe = nextsh.data('bgfitend'), + easeme = nextsh.data('easeme'), + dur = nextsh.data('duration')/1000, + bgfb = 100; + + + if (bgfs==undefined) bgfs=100; + if (bgfe==undefined) bgfe=100; + var obgfs = bgfs, + obgfe = bgfe; + + bgfs = calculateKenBurnScales(bgfs,nextsh,opt); + bgfe = calculateKenBurnScales(bgfe,nextsh,opt); + bgfb = calculateKenBurnScales(100,nextsh,opt); + + + if (zos==undefined) zos=1; + if (zoe==undefined) zoe=1; + if (ros==undefined) ros=0; + if (roe==undefined) roe=0; + + if (zos<1) zos=1; + if (zoe<1) zoe=1; + + + var imgobj = new Object(); + imgobj.w = parseInt(bgfb.split(" ")[0],0), + imgobj.h = parseInt(bgfb.split(" ")[1],0); + + var turned = false; + if (bgfb.split(" ")[2] == "1") { + turned = true; + } + + nextsh.find('.defaultimg').each(function() { + var defimg = jQuery(this); + if (nextsh.find('.kenburnimg').length==0) + nextsh.append('
'); + else { + nextsh.find('.kenburnimg img').css({width:imgobj.w+'%',height:imgobj.h+'%'}); + } + + + + var kbimg = nextsh.find('.kenburnimg img'); + + + var imgs = calculateKenBurnImgPos(opt,bgps,bgfs,kbimg,turned), + imge = calculateKenBurnImgPos(opt,bgpe,bgfe,kbimg,turned); + + if (turned) { + imgs.w = obgfs/100; + imge.w = obgfe/100; + } + + + + if (prepareonly) { + + punchgs.TweenLite.set(kbimg,{autoAlpha:0, + transformPerspective:1200, + transformOrigin:"0% 0%", + top:0,left:0, + scale:imgs.w, + x:imgs.x, + y:imgs.y}); + var sx = imgs.w, + ww = (sx * kbimg.width()) - opt.width, + hh = (sx * kbimg.height()) - opt.height, + hor = Math.abs((imgs.x / ww)*100), + ver = Math.abs((imgs.y / hh)*100); + if (hh==0) ver =0; + if (ww == 0) hor = 0; + defimg.data('bgposition',hor+"% "+ver+"%"); + if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); + if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); + + nextsh.find('.kenburnimg').remove(); + } + else + defimg.data('kenburn',punchgs.TweenLite.fromTo(kbimg,dur,{autoAlpha:1, force3D:punchgs.force3d, transformOrigin:"0% 0%", top:0,left:0, scale:imgs.w, x:imgs.x, y:imgs.y},{autoAlpha:1,rotationZ:roe,ease:easeme, x:imge.x, y:imge.y,scale:imge.w,onUpdate:function() { + var sx = kbimg[0]._gsTransform.scaleX; + var ww = (sx * kbimg.width()) - opt.width, + hh = (sx * kbimg.height()) - opt.height, + hor = Math.abs((kbimg[0]._gsTransform.x / ww)*100), + ver = Math.abs((kbimg[0]._gsTransform.y / hh)*100); + if (hh==0) ver =0; + if (ww == 0) hor = 0; + + defimg.data('bgposition',hor+"% "+ver+"%"); + + if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); + if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); + //punchgs.TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); + }})); + }) + } + + /************************************************* + - CALCULATE KENBURNS IMAGE POSITIONS - + **************************************************/ + + var calculateKenBurnImgPos = function(opt,bgp,bgf,img,turned) { + var imgobj = new Object; + + if (!turned) + imgobj.w = parseInt(bgf.split(" ")[0],0) / 100; + else + imgobj.w = parseInt(bgf.split(" ")[1],0) / 100; + + switch(bgp) { + case "left top": + case "top left": + imgobj.x = 0; + imgobj.y = 0; + break; + case "center top": + case "top center": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = 0; + break; + case "top right": + case "right top": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = 0; + + break; + case "center left": + case "left center": + imgobj.x = 0; + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + break; + case "center center": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + + break; + case "center right": + case "right center": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + + break; + case "bottom left": + case "left bottom": + imgobj.x =0; + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + + break; + case "bottom center": + case "center bottom": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + break; + case "bottom right": + case "right bottom": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + break; + } + + + + return imgobj; + } + + /****************************** + - GET ROTATION DEGREES - + ********************************/ + var getRotationDegrees = function(obj) { + var matrix = obj.css("-webkit-transform") || + obj.css("-moz-transform") || + obj.css("-ms-transform") || + obj.css("-o-transform") || + obj.css("transform"); + if(matrix !== 'none') { + var values = matrix.split('(')[1].split(')')[0].split(','); + var a = values[0]; + var b = values[1]; + var angle = Math.round(Math.atan2(b, a) * (180/Math.PI)); + } else { var angle = 0; } + return (angle < 0) ? angle +=360 : angle; + } + + + /****************************** + - STOP KEN BURN - + ********************************/ + var stopKenBurn = function(container,opt) { + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + + var actsh = actli.find('.slotholder'); + var nextsh = nextli.find('.slotholder'); + + container.find('.defaultimg').each(function() { + var defimg = jQuery(this); + punchgs.TweenLite.killTweensOf(defimg,false); + punchgs.TweenLite.set(defimg,{scale:1,rotationZ:0}); + punchgs.TweenLite.killTweensOf(defimg.data('kenburn img'),false); + if (defimg.data('kenburn') != undefined) { + defimg.data('kenburn').pause(); + } + if (defimg.data('currotate') != undefined && defimg.data('bgposition') !=undefined && defimg.data('curscale') != undefined) + punchgs.TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); + if (defimg!= undefined && defimg.data('kenburn img') != undefined && defimg.data('kenburn img').length>0) punchgs.TweenLite.set(defimg.data('kenburn img'),{autoAlpha:0}); + + }); + } + +//// END OF KENBURNS EXTNESION + + + + +/************************************************************************** + * Revolution Slider - PARALLAX MODULE + * @version: 1.1 (23.06.2013) + * @author ThemePunch +**************************************************************************/ + + /****************************** + - PARALLAX EFFECT - + ********************************/ + var checkForParallax = function(container,opt) { + if (is_mobile() && opt.parallaxDisableOnMobile=="on") return false; + + container.find('>ul:first-child >li').each(function() { + var li = jQuery(this); + for (var i = 1; i<=10;i++) + li.find('.rs-parallaxlevel-'+i).each(function() { + var pw = jQuery(this); + pw.wrap('
'); + }); + }) + + + + if (opt.parallax=="mouse" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + container.mouseenter(function(event) { + var currslide = container.find('.current-sr-slide-visible'); + var t = container.offset().top, + l = container.offset().left, + ex = (event.pageX-l), + ey = (event.pageY-t); + currslide.data("enterx",ex); + currslide.data("entery",ey); + + }) + + container.on('mousemove.hoverdir, mouseleave.hoverdir',function(event) { + var currslide = container.find('.current-sr-slide-visible'); + switch (event.type) { + + case "mousemove": + + var t = container.offset().top, + l = container.offset().left, + mh = currslide.data("enterx"), + mv = currslide.data("entery"), + diffh = (mh - (event.pageX - l)), + diffv = (mv - (event.pageY - t)); + + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = diffh * pl, + offsv = diffv * pl; + if (opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") + punchgs.TweenLite.to(pc,0.4,{force3D:"auto",x:offsh,ease:punchgs.Power3.easeOut,overwrite:"all"}); + else + punchgs.TweenLite.to(pc,0.4,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"}); + }) + + break; + case "mouseleave": + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this); + if (opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") + punchgs.TweenLite.to(pc,1.5,{force3D:"auto",x:0,ease:punchgs.Power3.easeOut}); + else + punchgs.TweenLite.to(pc,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut}); + }) + break; + } + }); + + if (is_mobile()) + window.ondeviceorientation = function(event) { + var y = Math.round(event.beta || 0), + x = Math.round(event.gamma || 0); + + var currslide = container.find('.current-sr-slide-visible'); + + + if (jQuery(window).width() > jQuery(window).height()){ + var xx = x; + x = y; + y = xx; + + } + + var curh = 360/container.width() * x, + curv = 180/container.height() * y; + + + + + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = curh * pl, + offsv = curv * pl; + punchgs.TweenLite.to(pc,0.2,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut}); + }) + + // y: -90 -> +90, x:-180 -> +180 + + //jQuery('.logo-container').html("h:"+curh+" v:"+curv); + } + } + if (opt.parallax=="scroll" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + jQuery(window).on('scroll',function(event) { + scrollParallax(container,opt); + }); + } + } + + /*************************************** + - SET POST OF SCROLL PARALLAX - + ***************************************/ + var scrollParallax = function(container,opt) { + if (is_mobile() && opt.parallaxDisableOnMobile=="on") return false; + var t = container.offset().top, + st = jQuery(window).scrollTop(), + dist = t+container.height()/2, + mv = t+container.height()/2 - st, + wh = jQuery(window).height()/2, + diffv= wh - mv; + + if (dist
'); + } + var bullets = cap.find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'); + var bup = bullets.parent(); + + bup.width(opt.thumbWidth*opt.thumbAmount); + bup.height(opt.thumbHeight); + bup.parent().width(opt.thumbWidth*opt.thumbAmount); + bup.parent().height(opt.thumbHeight); + + container.find('>ul:first >li').each(function(i) { + var li= container.find(">ul:first >li:eq("+i+")"); + var bgcolor = li.find(".defaultimg").css("backgroundColor"); + if (li.data('thumb') !=undefined) + var src= li.data('thumb') + else + var src=li.find("img:first").attr('src'); + + + bullets.append('
'); + var bullet= bullets.find('.bullet:first'); + }); + //bullets.append('
'); + var minwidth=10; + + + // ADD THE BULLET CLICK FUNCTION HERE + bullets.find('.bullet').each(function(i) { + var bul = jQuery(this); + + if (i==opt.slideamount-1) bul.addClass('last'); + if (i==0) bul.addClass('first'); + bul.width(opt.thumbWidth); + bul.height(opt.thumbHeight); + + if (minwidthul:first >li').length; + + var thumbconwidth=bullets.parent().width(); + opt.thumbWidth = minwidth; + + + + //////////////////////// + // SLIDE TO POSITION // + //////////////////////// + if (thumbconwidthul:first >li').length, + diff=(max- thumbconwidth)+15, + steps = diff / thumbconwidth; + + $this.addClass("over"); + x=x-30; + + //ANIMATE TO POSITION + var pos=(0-((x)*steps)); + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + moveThumbSliderToPosition($this,pos,200); + }); + + bullets.parent().mousemove(function() { + + var $this=jQuery(this), + offset = $this.offset(), + x = jQuery('body').data('mousex')-offset.left, + thumbconwidth=$this.width(), + minwidth=$this.find('.bullet:first').outerWidth(true), + max=minwidth*container.find('>ul:first >li').length-1, + diff=(max- thumbconwidth)+15, + steps = diff / thumbconwidth; + + x=x-3; + if (x<6) x=0; + if (x+3>thumbconwidth-6) x=thumbconwidth; + + //ANIMATE TO POSITION + var pos=(0-((x)*steps)); + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + moveThumbSliderToPosition($this,pos,0); + + }); + + bullets.parent().mouseleave(function() { + var $this=jQuery(this); + $this.removeClass("over"); + moveSelectedThumb(container); + }); + } + + + } + + + /////////////////////////////// + // SelectedThumbInPosition // + ////////////////////////////// + var moveSelectedThumb = function(container) { + + var bullets=container.parent().find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'), + $this=bullets.parent(), + offset = $this.offset(), + minwidth=$this.find('.bullet:first').outerWidth(true), + x = $this.find('.bullet.selected').index() * minwidth, + thumbconwidth=$this.width(), + minwidth=$this.find('.bullet:first').outerWidth(true), + max=minwidth*container.find('>ul:first >li').length, + diff=(max- thumbconwidth), + steps = diff / thumbconwidth, + pos=0-x; + + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + if (!$this.hasClass("over")) { + moveThumbSliderToPosition($this,pos,200); + } + } + + + //////////////////////////////////// + // MOVE THUMB SLIDER TO POSITION // + /////////////////////////////////// + var moveThumbSliderToPosition = function($this,pos,speed) { + punchgs.TweenLite.to($this.find('.tp-thumbcontainer'),0.2,{force3D:"auto",left:pos,ease:punchgs.Power3.easeOut,overwrite:"auto"}); + } +})(jQuery); + + + +/// END OF THUMBNAIL EXTNESIONS + + + + + + +// SOME ERROR MESSAGES IN CASE THE PLUGIN CAN NOT BE LOADED +function revslider_showDoubleJqueryError(sliderID) { + var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include."; + errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work."; + errorMessage += "

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true."; + errorMessage += "
    2. Find the double jquery.js include and remove it."; + errorMessage = "" + errorMessage + "" + jQuery(sliderID).show().html(errorMessage); +} + diff --git a/ClientApp/app/jquery.plugins/jquery.themepunch.revolution.min.js b/ClientApp/app/jquery.plugins/jquery.themepunch.revolution.min.js new file mode 100644 index 00000000..0b5070c2 --- /dev/null +++ b/ClientApp/app/jquery.plugins/jquery.themepunch.revolution.min.js @@ -0,0 +1,3879 @@ +/************************************************************************** + * 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: Put JS Includes To Body 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('
').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('
'); + 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 (u < i.outerWidth(true)) u = i.outerWidth(true); + i.click(function() { + if (r.transition == 0 && i.index() != r.act) { + r.next = i.index(); + f(r, n) + } + }) + }); + var a = u * n.find(">ul: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('') + } + 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(''); + 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(''); + 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(''); + 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() { + if (n && n.data && n.data("anim")) { + 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(''); + e("head").append('') + } + } + } catch (s) {} + }); + if (o.shuffle == "on") { + for (var k = 0; k < u.find(">ul: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) \ No newline at end of file diff --git a/ClientApp/app/jquery.plugins/mediaelement-and-player.js b/ClientApp/app/jquery.plugins/mediaelement-and-player.js new file mode 100644 index 00000000..df2561a4 --- /dev/null +++ b/ClientApp/app/jquery.plugins/mediaelement-and-player.js @@ -0,0 +1,5097 @@ +/*! +* MediaElement.js +* HTML5
'); + if (scalestart!=undefined && rotatestart!=undefined) + TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); + if (isIE(8)) { + sh.find('.slot ').last().find('.slotslide').append(''); + ieimgposition(sh,opt); + } + } + } + + + + + } + + + + /////////////////////// + // PREPARE THE SLIDE // + ////////////////////// + function prepareOneSlideBox(slotholder,opt,visible) { + + var sh=slotholder; + var img = sh.find('.defaultimg'); + + var scalestart = sh.data('zoomstart'); + var rotatestart = sh.data('rotationstart'); + + if (img.data('currotate')!=undefined) + rotatestart = img.data('currotate'); + if (img.data('curscale')!=undefined) + scalestart = img.data('curscale')*100; + + + + + setSize(img,opt) + var src = img.data('src'); + var bgcolor=img.css('backgroundColor'); + + var w = opt.width; + var h = opt.height; + if (opt.autoHeight=="on") + h = opt.container.height(); + + var fulloff = img.data("fxof"); + if (fulloff==undefined) fulloff=0; + + fullyoff=0; + + + + var off=0; + + + if (isIE(8)) { + var imgsrc=src; + src=""; + } + + // SET THE MINIMAL SIZE OF A BOX + var basicsize = 0; + if (opt.sloth>opt.slotw) + basicsize=opt.sloth + else + basicsize=opt.slotw; + + + if (!visible) { + var off=0-basicsize; + } + + opt.slotw = basicsize; + opt.sloth = basicsize; + var x=0; + var y=0; + + var bgfit = img.data('bgfit'); + var bgrepeat = img.data('bgrepeat'); + var bgposition = img.data('bgposition'); + + if (bgfit==undefined) bgfit="cover"; + if (bgrepeat==undefined) bgrepeat="no-repeat"; + if (bgposition==undefined) bgposition="center center"; + + if (sh.data('kenburns')=="on") { + bgfit=scalestart; + if (bgfit.toString().length<4) + bgfit = calculateKenBurnScales(bgfit,sh,opt); + } + + for (var j=0;j'+ + + '
'+ + + '
'+ + '
'); + y=y+basicsize; + + if (isIE(8)) { + + sh.find('.slot ').last().find('.slotslide').append(''); + ieimgposition(sh,opt); + } + + if (scalestart!=undefined && rotatestart!=undefined) + TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); + } + x=x+basicsize; + } + } + + /*********************************************** + - MOVE IE8 IMAGE IN RIGHT POSITION - + ***********************************************/ + + function ieimgposition(nextsh,opt) { + + if (isIE(8)) { + + var ie8img = nextsh.find('.ieeightfallbackimage'); + + var ie8w = ie8img.width(), + ie8h = ie8img.height(); + + + + if (opt.startwidth/opt.startheight 0) + loadAllPrepared(element,found); + else { + clearInterval(inter); + if (call!=undefined) call(); + } + + },100) + } + + + ////////////////////////////// + // // + // - SWAP THE SLIDES - // + // // + //////////////////////////// + function swapSlide(container,opt) { + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + opt.lastslide=opt.act; + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + var defimg= nextli.find('.defaultimg'); + + + opt.bannertimeronpause = true; + container.trigger('stoptimer'); + opt.cd=0; + + if (defimg.data('lazyload') !=undefined && defimg.data('lazyload') !="undefined" && defimg.data('lazydone') !=1 ) { + + if (!isIE(8)) + defimg.css({backgroundImage:'url("'+nextli.find('.defaultimg').data('lazyload')+'")'}); + else { + defimg.attr('src',nextli.find('.defaultimg').data('lazyload')); + } + + defimg.data('src',nextli.find('.defaultimg').data('lazyload')); + defimg.data('lazydone',1); + defimg.data('orgw',0); + nextli.data('loadeddone',1); + + TweenLite.set(container.find('.tp-loader'),{display:"block",opacity:0}); + TweenLite.to(container.find('.tp-loader'),0.3,{autoAlpha:1}); + + waitForLoads(nextli,function() { + swapSlideCall(opt,defimg,container) + },opt); + + } else { + + if (nextli.data('loadeddone')===undefined) { + nextli.data('loadeddone',1); + waitForLoads(nextli,function() { + swapSlideCall(opt,defimg,container) + },opt); + } else + + swapSlideCall(opt,defimg,container) + } + } + + function swapSlideCall(opt,defimg,container) { + opt.bannertimeronpause = false; + + opt.cd=0; + container.trigger('nulltimer'); + TweenLite.to(container.find('.tp-loader'),0.3,{autoAlpha:0}); + setSize(defimg,opt); + setBulPos(container,opt); + setSize(defimg,opt); + swapSlideProgress(container,opt); + + } + + /****************************** + - SWAP SLIDE PROGRESS - + ********************************/ + /*!SWAP SLIDE*/ + function swapSlideProgress(container,opt) { + + + container.trigger('revolution.slide.onbeforeswap'); + + + opt.transition = 1; + opt.videoplaying = false; + //konsole.log("VideoPlay set to False due swapSlideProgress"); + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + + var actsh = actli.find('.slotholder'); + var nextsh = nextli.find('.slotholder'); + actli.css({'visibility':'visible'}); + nextli.css({'visibility':'visible'}); + + if (nextsh.data('kenburns')=="on") { + stopKenBurn(container,opt); + TweenLite.set(container.find('.kenburnimg img'),{autoAlpha:0}); + } + + + if (opt.ie) { + if (comingtransition=="boxfade") comingtransition = "boxslide"; + if (comingtransition=="slotfade-vertical") comingtransition = "slotzoom-vertical"; + if (comingtransition=="slotfade-horizontal") comingtransition = "slotzoom-horizontal"; + } + + + // IF DELAY HAS BEEN SET VIA THE SLIDE, WE TAKE THE NEW VALUE, OTHER WAY THE OLD ONE... + if (nextli.data('delay')!=undefined) { + opt.cd=0; + opt.delay=nextli.data('delay'); + } else { + opt.delay=opt.origcd; + } + + container.trigger('restarttimer'); + + // RESET POSITION AND FADES OF LI'S + actli.css({'left':'0px','top':'0px'}); + nextli.css({'left':'0px','top':'0px'}); + + + // IF THERE IS AN OTHER FIRST SLIDE START HAS BEED SELECTED + if (nextli.data('differentissplayed') =='prepared') { + nextli.data('differentissplayed','done'); + nextli.data('transition',nextli.data('savedtransition')); + nextli.data('slotamount',nextli.data('savedslotamount')); + nextli.data('masterspeed',nextli.data('savedmasterspeed')); + } + + + if (nextli.data('fstransition') != undefined && nextli.data('differentissplayed') !="done") { + nextli.data('savedtransition',nextli.data('transition')); + nextli.data('savedslotamount',nextli.data('slotamount')); + nextli.data('savedmasterspeed',nextli.data('masterspeed')); + + nextli.data('transition',nextli.data('fstransition')); + nextli.data('slotamount',nextli.data('fsslotamount')); + nextli.data('masterspeed',nextli.data('fsmasterspeed')); + + nextli.data('differentissplayed','prepared'); + } + + /////////////////////////////////////// + // TRANSITION CHOOSE - RANDOM EFFECTS// + /////////////////////////////////////// + var nexttrans = 0; + + + var transtext = nextli.data('transition').split(","); + var curtransid = nextli.data('nexttransid'); + if (curtransid == undefined) { + curtransid=0; + nextli.data('nexttransid',curtransid); + } else { + curtransid=curtransid+1; + if (curtransid==transtext.length) curtransid=0; + nextli.data('nexttransid',curtransid); + + } + + + + var comingtransition = transtext[curtransid]; + var specials = 0; + + if (opt.parallax=="scroll" && opt.parallaxFirstGo==undefined) { + opt.parallaxFirstGo = true; + scrollParallax(container,opt); + setTimeout(function() { + scrollParallax(container,opt); + },210); + setTimeout(function() { + scrollParallax(container,opt); + },420); + + } + + /*if (opt.ffnn == undefined) opt.ffnn=0; + comingtransition=opt.ffnn; + opt.ffnn=opt.ffnn+1; + if (opt.ffnn>46) opt.ffnn=0;*/ + + + /* Transition Name , + Transition Code, + Transition Sub Code, + Max Slots, + MasterSpeed Delays, + Preparing Slots (box,slideh, slidev), + Call on nextsh (null = no, true/false for visibility first preparing), + Call on actsh (null = no, true/false for visibility first preparing), + */ + + if (comingtransition=="slidehorizontal") { + comingtransition = "slideleft" + if (opt.leftarrowpressed==1) + comingtransition = "slideright" + } + + if (comingtransition=="slidevertical") { + comingtransition = "slideup" + if (opt.leftarrowpressed==1) + comingtransition = "slidedown" + } + + + var transitionsArray = [ ['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 flatTransitions = [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 premiumTransitions = [16,17,18,19,20,21,22,23,24,25,26,27] + + var nexttrans =0; + var specials = 1; + var STAindex = 0; + var indexcounter =0; + var STA = new Array; + + + // RANDOM TRANSITIONS + if (comingtransition == "random") { + comingtransition = Math.round(Math.random()*transitionsArray.length-1); + if (comingtransition>transitionsArray.length-1) comingtransition=transitionsArray.length-1; + } + + // RANDOM FLAT TRANSITIONS + if (comingtransition == "random-static") { + comingtransition = Math.round(Math.random()*flatTransitions.length-1); + if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; + comingtransition = flatTransitions[comingtransition]; + } + + // RANDOM PREMIUM TRANSITIONS + if (comingtransition == "random-premium") { + comingtransition = Math.round(Math.random()*premiumTransitions.length-1); + if (comingtransition>premiumTransitions.length-1) comingtransition=premiumTransitions.length-1; + comingtransition = premiumTransitions[comingtransition]; + } + + //joomla only change: avoid papercut transition (16), change it to every other premium transition + if(opt.isJoomla == true && comingtransition == 16){ + comingtransition = Math.round(Math.random()*premiumTransitions.length-2) + 1; + if (comingtransition>premiumTransitions.length-1) comingtransition=premiumTransitions.length-1; + comingtransition = premiumTransitions[comingtransition]; + } + + findTransition(); + + // CHECK IF WE HAVE IE8 AND THAN FALL BACK ON FLAT TRANSITIONS + if (isIE(8) && nexttrans>15 && nexttrans<28) { + comingtransition = Math.round(Math.random()*flatTransitions.length-1); + if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; + comingtransition = flatTransitions[comingtransition]; + indexcounter =0; + findTransition(); + } + + function findTransition() { + // FIND THE RIGHT TRANSITION PARAMETERS HERE + jQuery.each(transitionsArray,function(inde,trans) { + if (trans[0] == comingtransition || trans[8] == comingtransition) { + nexttrans = trans[1]; + specials = trans[2]; + STAindex = indexcounter; + } + indexcounter = indexcounter+1; + }) + } + + + + var direction=-1; + if (opt.leftarrowpressed==1 || opt.act>opt.next) direction=1; + + + + opt.leftarrowpressed=0; + + if (nexttrans>26) nexttrans = 26; + if (nexttrans<0) nexttrans = 0; + + + // DEFINE THE MASTERSPEED FOR THE SLIDE // + var masterspeed=300; + if (nextli.data('masterspeed')!=undefined && nextli.data('masterspeed')>99 && nextli.data('masterspeed')<4001) + masterspeed = nextli.data('masterspeed'); + + // PREPARED DEFAULT SETTINGS PER TRANSITION + STA = transitionsArray[STAindex]; + + + + + + ///////////////////////////////////////////// + // SET THE BULLETS SELECTED OR UNSELECTED // + ///////////////////////////////////////////// + + + container.parent().find(".bullet").each(function() { + var bul = jQuery(this); + bul.removeClass("selected"); + + if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") { + if (bul.index()-1 == opt.next) bul.addClass('selected'); + + } else { + + if (bul.index() == opt.next) bul.addClass('selected'); + + } + }); + + + + ////////////////////////////////////////////////////////////////// + // SET THE NEXT CAPTION AND REMOVE THE LAST CAPTION // + ////////////////////////////////////////////////////////////////// + + container.find('>li').each(function() { + var li = jQuery(this); + if (li.index!=opt.act && li.index!=opt.next) li.css({'z-index':16}); + }); + + actli.css({'z-index':18}); + nextli.css({'z-index':20}); + nextli.css({'opacity':0}); + + + /////////////////////////// + // ANIMATE THE CAPTIONS // + /////////////////////////// + + if (actli.index() != nextli.index() && opt.firststart!=1) { + removeTheCaptions(actli,opt); + + } + animateTheCaptions(nextli, opt); + + + + + ///////////////////////////////////////////// + // SET THE ACTUAL AMOUNT OF SLIDES !! // + // SET A RANDOM AMOUNT OF SLOTS // + /////////////////////////////////////////// + if (nextli.data('slotamount')==undefined || nextli.data('slotamount')<1) { + opt.slots=Math.round(Math.random()*12+4); + if (comingtransition=="boxslide") + opt.slots=Math.round(Math.random()*6+3); + else + if (comingtransition=="flyin") + opt.slots=Math.round(Math.random()*4+1); + } else { + opt.slots=nextli.data('slotamount'); + + } + + ///////////////////////////////////////////// + // SET THE ACTUAL AMOUNT OF SLIDES !! // + // SET A RANDOM AMOUNT OF SLOTS // + /////////////////////////////////////////// + if (nextli.data('rotate')==undefined) + opt.rotate = 0 + else + if (nextli.data('rotate')==999) + opt.rotate=Math.round(Math.random()*360); + else + opt.rotate=nextli.data('rotate'); + if (!jQuery.support.transition || opt.ie || opt.ie9) opt.rotate=0; + + + + ////////////////////////////// + // FIRST START // + ////////////////////////////// + + if (opt.firststart==1) { + actli.css({'opacity':0}); + opt.firststart=0; + } + + + // HERE COMES THE TRANSITION ENGINE + + // ADJUST MASTERSPEED + masterspeed = masterspeed + STA[4]; + + if ((nexttrans==4 || nexttrans==5 || nexttrans==6) && opt.slots<3 ) opt.slots=3; + + // ADJUST SLOTS + if (STA[3] != 0) opt.slots = Math.min(opt.slots,STA[3]); + if (nexttrans==9) opt.slots = opt.width/20; + if (nexttrans==10) opt.slots = opt.height/20; + + + + + // PREPAREONESLIDEBOX + if (STA[5] == "box") { + if (STA[7] !=null) prepareOneSlideBox(actsh,opt,STA[7]); + if (STA[6] !=null) prepareOneSlideBox(nextsh,opt,STA[6]); + } else + + if (STA[5] == "vertical" || STA[5] == "horizontal") { + if (STA[7] !=null) prepareOneSlideSlot(actsh,opt,STA[7],STA[5]); + if (STA[6] !=null) prepareOneSlideSlot(nextsh,opt,STA[6],STA[5]); + } + + // SHOW FIRST LI + if (nexttrans<12 || nexttrans>16) nextli.css({'opacity':1}); + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==0) { // BOXSLIDE + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + var maxz = Math.ceil(opt.height/opt.sloth); + var curz = 0; + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + curz=curz+1; + if (curz==maxz) curz=0; + + TweenLite.fromTo(ss,(masterspeed)/600, + {opacity:0,top:(0-opt.sloth),left:(0-opt.slotw),rotation:opt.rotate}, + {opacity:1,transformPerspective:600,top:0,left:0,scale:1,rotation:0,delay:((j)*15 + (curz)*30)/1500, ease:Power2.easeOut,onComplete:function() { + if (j==(opt.slots*opt.slots)-1) { + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + + }}); + }); + } + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==1) { + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + var maxtime; + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + rand=Math.random()*masterspeed+300; + rand2=Math.random()*500+200; + + if (rand+rand2>maxtime) maxtime = rand2+rand2; + + + TweenLite.fromTo(ss,rand/1000, + {opacity:0,transformPerspective:600,rotation:opt.rotate}, + {opacity:1, ease:Power2.easeInOut,rotation:0,delay:rand2/1000}) + + + + }); + + setTimeout(function() { + letItFree(container,opt,nextsh,actsh,nextli,actli) + },masterspeed+300); + + } + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==2) { + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this); + + TweenLite.to(ss,masterspeed/1000,{left:opt.slotw, rotation:(0-opt.rotate),onComplete:function() { + letItFree(container,opt,nextsh,actsh,nextli,actli) + + }}); + + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function() { + var ss=jQuery(this); + + TweenLite.fromTo(ss,masterspeed/1000, + {left:0-opt.slotw, rotation:opt.rotate,transformPerspective:600}, + {left:0, rotation:0,ease:Power2.easeOut,onComplete:function() { + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }); + + }); + } + + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==3) { + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this); + TweenLite.to(ss,masterspeed/1000,{top:opt.sloth,rotation:opt.rotate,transformPerspective:600,onComplete:function() { + letItFree(container,opt,nextsh,actsh,nextli,actli) + }}); + + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function() { + var ss=jQuery(this); + + TweenLite.fromTo(ss,masterspeed/1000, + {top:0-opt.sloth,rotation:opt.rotate,transformPerspective:600}, + {top:0,rotation:0,ease:Power2.easeOut,onComplete:function() { + letItFree(container,opt,nextsh,actsh,nextli,actli) + }}); + + }); + } + + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==4 || nexttrans==5) { + + //SET DEFAULT IMG UNVISIBLE + + + + + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + var cspeed = (masterspeed)/1000; + var ticker = cspeed; + + + + actsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + var del = (i*cspeed)/opt.slots; + if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; + TweenLite.to(ss,cspeed*3,{transformPerspective:600,top:0+opt.height,opacity:0.5,rotation:opt.rotate,ease:Power2.easeInOut,delay:del}); + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + var del = (i*cspeed)/opt.slots; + if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; + TweenLite.fromTo(ss,cspeed*3, + {top:(0-opt.height),opacity:0.5,rotation:opt.rotate,transformPerspective:600}, + {top:0,opacity:1,rotation:0,ease:Power2.easeInOut,delay:del,onComplete:function() { + if (i==opt.slots-1) { + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }}); + + }); + + + } + + + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==6) { + + + if (opt.slots<2) opt.slots=2; + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + + actsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + + if (i'); + + actli.find('.tp-half-one').clone(true).appendTo(actli).addClass("tp-half-two"); + actli.find('.tp-half-two').removeClass('tp-half-one'); + + var oow = opt.width; + var ooh = opt.height; + if (opt.autoHeight=="on") + ooh = container.height(); + + + actli.find('.tp-half-one .defaultimg').wrap('
') + + actli.find('.tp-half-two .defaultimg').wrap('
') + + actli.find('.tp-half-two .defaultimg').css({position:'absolute',top:'-50%'}); + + actli.find('.tp-half-two .tp-caption').wrapAll('
'); + + TweenLite.set(actli.find('.tp-half-two'), + {width:oow,height:ooh,overflow:'hidden',zIndex:15,position:'absolute',top:ooh/2,left:'0px',transformPerspective:600,transformOrigin:"center bottom"}); + + TweenLite.set(actli.find('.tp-half-one'), + {width:oow,height:ooh/2,overflow:'visible',zIndex:10,position:'absolute',top:'0px',left:'0px',transformPerspective:600,transformOrigin:"center top"}); + + + + // ANIMATE THE CUTS + var img=actli.find('.defaultimg'); + + + var ro1=Math.round(Math.random()*20-10); + var ro2=Math.round(Math.random()*20-10); + var ro3=Math.round(Math.random()*20-10); + var xof = Math.random()*0.4-0.2; + var yof = Math.random()*0.4-0.2; + var sc1=Math.random()*1+1; + var sc2=Math.random()*1+1; + + + TweenLite.fromTo(actli.find('.tp-half-one'),masterspeed/1000, + {width:oow,height:ooh/2,position:'absolute',top:'0px',left:'0px',transformPerspective:600,transformOrigin:"center top"}, + {scale:sc1,rotation:ro1,y:(0-ooh-ooh/4),ease:Power2.easeInOut}); + setTimeout(function() { + TweenLite.set(actli.find('.tp-half-one'),{overflow:'hidden'}); + },50); + TweenLite.fromTo(actli.find('.tp-half-one'),masterspeed/2000,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:masterspeed/2000}); + + TweenLite.fromTo(actli.find('.tp-half-two'),masterspeed/1000, + {width:oow,height:ooh,overflow:'hidden',position:'absolute',top:ooh/2,left:'0px',transformPerspective:600,transformOrigin:"center bottom"}, + {scale:sc2,rotation:ro2,y:ooh+ooh/4,ease:Power2.easeInOut}); + + TweenLite.fromTo(actli.find('.tp-half-two'),masterspeed/2000,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:masterspeed/2000}); + + if (actli.html()!=null) + TweenLite.fromTo(nextli,(masterspeed-200)/1000,{opacity:0,scale:0.8,x:opt.width*xof, y:ooh*yof,rotation:ro3,transformPerspective:600,transformOrigin:"center center"},{rotation:0,scale:1,x:0,y:0,opacity:1,ease:Power2.easeInOut}); + + nextsh.find('.defaultimg').css({'opacity':1}); + setTimeout(function() { + + + // CLEAN UP BEFORE WE START + actli.css({'position':'absolute','z-index':18}); + nextli.css({'position':'absolute','z-index':20}); + nextsh.find('.defaultimg').css({'opacity':1}); + actsh.find('.defaultimg').css({'opacity':0}); + if (actli.find('.tp-half-one').length>0) { + actli.find('.tp-half-one .defaultimg').unwrap(); + actli.find('.tp-half-one .slotholder').unwrap(); + + } + actli.find('.tp-half-two').remove(); + opt.transition = 0; + opt.act = opt.next; + + },masterspeed); + nextli.css({'opacity':1}); + + } + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XVII. // + /////////////////////////////////////// + if (nexttrans==17) { // 3D CURTAIN HORIZONTAL + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + TweenLite.fromTo(ss,(masterspeed)/800, + {opacity:0,rotationY:0,scale:0.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:j*0.06,onComplete:function() { + if (j==opt.slots-1) letItFree(container,opt,nextsh,actsh,nextli,actli) + }}); + + }); + } + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XVIII. // + /////////////////////////////////////// + if (nexttrans==18) { // 3D CURTAIN VERTICAL + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + TweenLite.fromTo(ss,(masterspeed)/500, + {opacity:0,rotationY:310,scale:0.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:j*0.06,onComplete:function() { + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + }}); + + }); + + + + } + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XIX. // + /////////////////////////////////////// + + + if (nexttrans==19 || nexttrans==22) { // IN CUBE + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'); + var chix2=actli.css('z-index'); + + var rot = 90; + var op = 1; + if (direction==1) rot = -90; + + if (nexttrans==19) { + var torig = "center center -"+opt.height/2; + op=0; + + } else { + var torig = "center center "+opt.height/2; + + } + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + //if (nexttrans==129) { + TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-40}); + TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:-40,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(masterspeed/4000)}); + TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-40}); + TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:-40,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(masterspeed/4000)}); + //} + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + TweenLite.fromTo(ss,masterspeed/1000, + {left:0,rotationY:opt.rotate,opacity:op,top:0,scale:0.8,transformPerspective:600,transformOrigin:torig,rotationX:rot}, + {left:0,rotationY:0,opacity:1,top:0,z:0, scale:1,rotationX:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }); + TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/3000}); + + }); + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + var rot = -90; + if (direction==1) rot = 90; + + TweenLite.fromTo(ss,masterspeed/1000, + {opacity:1,rotationY:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:torig, rotationX:0}, + {opacity:1,rotationY:opt.rotate,top:0, scale:0.8,rotationX:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }); + TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); + + + }); + } + + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==20 ) { // FLYIN + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'); + var chix2=actli.css('z-index'); + + + if (direction==1) { + var ofx = -opt.width + var rot =70; + var torig = "left center -"+opt.height/2; + } else { + var ofx = opt.width; + var rot = -70; + var torig = "right center -"+opt.height/2; + } + + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + //ss.css({overflow:'visible'}); + TweenLite.fromTo(ss,masterspeed/1500, + {left:ofx,rotationX:40,z:-600, opacity:op,top:0,transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0, delay:(j*50)/1000,ease:Power2.easeInOut}); + + TweenLite.fromTo(ss,masterspeed/1000, + {rotationX:40,z:-600, opacity:op,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {rotationX:0,opacity:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }); + TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/2000}); + + }); + + + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + //ss.css({overflow:'visible'}); + if (direction!=1) { + var ofx = -opt.width + var rot =70; + var torig = "left center -"+opt.height/2; + } else { + var ofx = opt.width; + var rot = -70; + var torig = "right center -"+opt.height/2; + } + TweenLite.fromTo(ss,masterspeed/1000, + {opacity:1,rotationX:0,top:0,z:0,scale:1,left:0, transformPerspective:600,transformOrigin:torig, rotationY:0}, + {opacity:1,rotationX:40,top:0, z:-600, left:ofx, scale:0.8,rotationY:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) } + }); + TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); + + + }); + } + + + + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==21 || nexttrans==25) { // TURNOFF + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'); + var chix2=actli.css('z-index'); + + + if (direction==1) { + var ofx = -opt.width + var rot =110; + + if (nexttrans==25) { + var torig = "center top 0" + rot2 = -rot; + rot = opt.rotate; + } else { + var torig = "left center 0"; + rot2 = opt.rotate; + } + + } else { + var ofx = opt.width; + var rot = -110; + if (nexttrans==25) { + var torig = "center bottom 0" + rot2 = -rot; + rot = opt.rotate; + } else { + var torig = "right center 0"; + rot2 = opt.rotate; + } + } + + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + + TweenLite.fromTo(ss,masterspeed/1500, + {left:0,rotationX:rot2,z:0, opacity:0,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0,rotationX:0,top:0,z:0, scale:1,rotationY:0, delay:(j*100)/1000+masterspeed/10000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + } + }); + TweenLite.to(ss,0.3,{opacity:1,delay:(j*100)/1000+(masterspeed*0.2)/2000+masterspeed/10000}); + + }); + + + + if (direction!=1) { + var ofx = -opt.width + var rot = 90; + + if (nexttrans==25) { + var torig = "center top 0" + rot2 = -rot; + rot = opt.rotate; + } else { + var torig = "left center 0"; + rot2 = opt.rotate; + } + + } else { + var ofx = opt.width; + var rot = -90; + if (nexttrans==25) { + var torig = "center bottom 0" + rot2 = -rot; + rot = opt.rotate; + } else { + var torig = "right center 0"; + rot2 = opt.rotate; + } + } + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + + TweenLite.fromTo(ss,masterspeed/3000, + {left:0,rotationX:0,z:0, opacity:1,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:0}, + {left:0,rotationX:rot2,top:0,z:0, scale:1,rotationY:rot, delay:(j*100)/1000,ease:Power1.easeInOut}); + TweenLite.to(ss,0.2,{opacity:0,delay:(j*50)/1000+(masterspeed/3000 - (masterspeed/10000))}); + + + }); + } + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==23 || nexttrans == 24) { // cube-horizontal - inboxhorizontal + + + //SET DEFAULT IMG UNVISIBLE + nextsh.find('.defaultimg').css({'opacity':0}); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'); + var chix2=actli.css('z-index'); + + var rot = -90; + if (direction==1) + rot = 90; + + var op = 1; + + + if (nexttrans==23) { + var torig = "center center -"+opt.width/2; + op=0; + + } else { + var torig = "center center "+opt.width/2; + + } + + + var opx=0; + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-90}); + TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:-90,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(masterspeed/4000)}); + TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-90}); + TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:-90,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(masterspeed/4000)}); + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + TweenLite.fromTo(ss,masterspeed/1000, + {left:opx,rotationX:opt.rotate,opacity:op,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0,rotationX:0,opacity:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli); + + } + }); + TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/3000}); + + }); + + rot = 90; + if (direction==1) + rot = -90; + + + + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + TweenLite.fromTo(ss,masterspeed/1000, + {left:0,opacity:1,rotationX:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:torig, rotationY:0}, + {left:opx,opacity:1,rotationX:opt.rotate,top:0, scale:1,rotationY:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { + + if (j==opt.slots-1) + letItFree(container,opt,nextsh,actsh,nextli,actli) + + } + }); + TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); + + + }); + } + + + var data={}; + data.slideIndex=opt.next+1; + container.trigger('revolution.slide.onchange',data); + setTimeout(function() { container.trigger('revolution.slide.onafterswap'); },masterspeed); + container.trigger('revolution.slide.onvideostop'); + + } + + + function getActNextli(container,opt) { + + } + + + /****************************** + - PARALLAX EFFECT - + ********************************/ + function checkForParallax(container,opt) { + container.find('>ul:first-child >li').each(function() { + var li = jQuery(this); + for (var i = 0; i<10;i++) + li.find('.rs-parallaxlevel-'+i).wrapAll('
'); + }) + + + + if (opt.parallax=="mouse" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + container.on('mousemove.hoverdir, mouseleave.hoverdir',function(event) { + + switch (event.type) { + case "mousemove": + var t = container.offset().top, + l = container.offset().left, + mv = t + container.height()/2, + mh = l + container.width() / 2, + diffh = (mh - event.pageX), + diffv = (mv - event.pageY); + + jQuery(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = diffh * pl, + offsv = diffv * pl; + + TweenLite.to(pc,0.2,{x:offsh,y:offsv,ease:Power3.easeOut}); + }) + + break; + case "mouseleave": + jQuery(".tp-parallax-container").each(function() { + var pc = jQuery(this); + TweenLite.to(pc,0.4,{x:0,y:0,ease:Power3.easeOut}); + }) + break; + } + }); + + if (is_mobile()) + window.ondeviceorientation = function(event) { + var y = Math.round(event.beta || 0), + x = Math.round(event.gamma || 0), + curh = 360/container.width() * x, + curv = 180/container.height() * y; + + jQuery(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = curh * pl, + offsv = curv * pl; + TweenLite.to(pc,0.2,{x:offsh,y:offsv,ease:Power3.easeOut}); + }) + + // y: -90 -> +90, x:-180 -> +180 + + //jQuery('.logo-container').html("h:"+curh+" v:"+curv); + } + } + if (opt.parallax=="scroll" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + jQuery(window).on('scroll',function(event) { + scrollParallax(container,opt); + }); + } + } + + /*************************************** + - SET POST OF SCROLL PARALLAX - + ***************************************/ + function scrollParallax(container,opt) { + var t = container.offset().top, + st = jQuery(window).scrollTop(), + dist = t+container.height()/2, + mv = t+container.height()/2 - st, + wh = jQuery(window).height()/2, + diffv= wh - mv; + + if (distul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + + var actsh = actli.find('.slotholder'); + var nextsh = nextli.find('.slotholder'); + + nextsh.find('.defaultimg').each(function() { + var defimg = jQuery(this); + if (defimg.data('kenburn')!=undefined) { + defimg.data('kenburn').restart(); + } + TweenLite.killTweensOf(defimg,false); + TweenLite.set(defimg,{scale:1,rotationZ:0}); +// + defimg.data('bgposition',nextsh.data('bgposition')); + defimg.data('currotate',nextsh.data('rotationstart')); + defimg.data('curscale',nextsh.data('bgfit')); + + + }); + /*actsh.find('.defaultimg').each(function() { + var defimg = jQuery(this); + TweenLite.killTweensOf(defimg,false); + TweenLite.set(defimg,{scale:1,rotationZ:0}); + if (defimg.data('oldbgposition')!=undefined) + defimg.data('bgposition',defimg.data('oldbgposition')); + + defimg.data('currotate',nextsh.data('rotationstart')); + defimg.data('curscale',nextsh.data('zoomstart')/100); + + });*/ + + } + + + /****************************** + - startKenBurn - + ********************************/ + function startKenBurn(container,opt,recalc) { + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + + var actsh = actli.find('.slotholder'); + var nextsh = nextli.find('.slotholder'); + + var + bgps = nextsh.data('bgposition'), + bgpe = nextsh.data('bgpositionend'), + zos = nextsh.data('zoomstart')/100, + zoe = nextsh.data('zoomend')/100, + ros = nextsh.data('rotationstart'), + roe = nextsh.data('rotationend'), + bgfs = nextsh.data('bgfit'), + bgfe = nextsh.data('bgfitend'), + easeme = nextsh.data('easeme'), + dur = nextsh.data('duration')/1000, + bgfb = 100; + + + if (bgfs==undefined) bgfs=100; + if (bgfe==undefined) bgfe=100; + + bgfs = calculateKenBurnScales(bgfs,nextsh,opt); + bgfe = calculateKenBurnScales(bgfe,nextsh,opt); + bgfb = calculateKenBurnScales(100,nextsh,opt); + + + + if (zos==undefined) zos=1; + if (zoe==undefined) zoe=1; + if (ros==undefined) ros=0; + if (roe==undefined) roe=0; + + if (zos<1) zos=1; + if (zoe<1) zoe=1; + + + var imgobj = new Object(); + imgobj.w = parseInt(bgfb.split(" ")[0],0), + imgobj.h = parseInt(bgfb.split(" ")[1],0); + + + + nextsh.find('.defaultimg').each(function() { + var defimg = jQuery(this); + if (nextsh.find('.kenburnimg').length==0) + nextsh.append('
'); + + + var kbimg = nextsh.find('.kenburnimg img'); + + var imgs = calculateKenBurnImgPos(opt,bgps,bgfs,kbimg), + imge = calculateKenBurnImgPos(opt,bgpe,bgfe,kbimg); + + + defimg.data('kenburn',TweenLite.fromTo(kbimg,dur,{autoAlpha:1,transformPerspective:1200, transformOrigin:"0% 0%", top:0,left:0, scale:imgs.w, x:imgs.x, y:imgs.y},{autoAlpha:1,rotationZ:roe,ease:easeme, x:imge.x, y:imge.y,scale:imge.w,onUpdate:function() { + + var sx = kbimg[0]._gsTransform.scaleX; + var ww = (sx * kbimg.width()) - opt.width, + hh = (sx * kbimg.height()) - opt.height, + hor = Math.abs((kbimg[0]._gsTransform.x / ww)*100), + ver = Math.abs((kbimg[0]._gsTransform.y / hh)*100); + defimg.data('bgposition',hor+"% "+ver+"%"); + if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); + if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); + TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); + + }})); + + + + + }) + } + + + function calculateKenBurnImgPos(opt,bgp,bgf,img) { + var imgobj = new Object; + + imgobj.w = parseInt(bgf.split(" ")[0],0) / 100; + + switch(bgp) { + case "left top": + case "top left": + imgobj.x = 0; + imgobj.y = 0; + break; + case "center top": + case "top center": + imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; + imgobj.y = 0; + break; + case "top right": + case "right top": + imgobj.x = ((0-img.width()) * imgobj.w) + opt.width; + imgobj.y = 0; + + break; + case "center left": + case "left center": + imgobj.x = 0; + imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; + break; + case "center center": + imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; + imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; + + break; + case "center right": + case "right center": + imgobj.x = ((0-img.width()) * imgobj.w) + opt.width; + imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; + + break; + case "bottom left": + case "left bottom": + imgobj.x =0; + imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; + + break; + case "bottom center": + case "center bottom": + imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; + imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; + break; + case "bottom right": + case "right bottom": + imgobj.x = ((0-img.width()) * imgobj.w) + opt.width;; + imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; + break; + } + + + return imgobj; + } + + + /*********************************************** + - KEN BURN BACKGROUND FIT CALCULATOR - + ***********************************************/ + function calculateKenBurnScales(proc,sloth,opt) { + var ow = sloth.data('owidth'); + var oh = sloth.data('oheight'); + + var factor = (opt.container.width() /ow); + var nheight = oh * factor; + + var hfactor = (nheight / opt.container.height())*proc; + + + + return (proc+"% "+hfactor+"%"); + } + + + /****************************************************** + - CALCULATE CURRENT SCALE AND ROTATION - + *******************************************************/ + + function getMatrix(obj) { + var matrix = obj.css("-webkit-transform") || + obj.css("-moz-transform") || + obj.css("-ms-transform") || + obj.css("-o-transform") || + obj.css("transform"); + return matrix; + }; + + function parseMatrix(_str) { + return _str.replace(/^matrix(3d)?\((.*)\)$/,'$2').split(/, /); + } + + function getScaleDegrees(obj) { + var matrix = parseMatrix(getMatrix(obj)), + scale = 1; + + if(matrix[0] !== 'none') { + var a = matrix[0], + b = matrix[1], + d = 10; + scale = Math.round( Math.sqrt( a*a + b*b ) * d ) / d; + } + + return scale; + }; + + function getRotationDegrees(obj) { + var matrix = obj.css("-webkit-transform") || + obj.css("-moz-transform") || + obj.css("-ms-transform") || + obj.css("-o-transform") || + obj.css("transform"); + if(matrix !== 'none') { + var values = matrix.split('(')[1].split(')')[0].split(','); + var a = values[0]; + var b = values[1]; + var angle = Math.round(Math.atan2(b, a) * (180/Math.PI)); + } else { var angle = 0; } + return (angle < 0) ? angle +=360 : angle; + } + + /************************************** + - GIVE FREE THE TRANSITIOSN - + **************************************/ + function letItFree(container,opt,nextsh,actsh,nextli,actli) { + removeSlots(container,opt); + nextsh.find('.defaultimg').css({'opacity':1}); + if (nextli.index()!=actli.index()) actsh.find('.defaultimg').css({'opacity':0}); + opt.act=opt.next; + moveSelectedThumb(container); + if (nextsh.data('kenburns')=="on") + startKenBurn(container,opt); + } + + + ////////////////////////////////////////// + // CHANG THE YOUTUBE PLAYER STATE HERE // + //////////////////////////////////////// + function onPlayerStateChange(event) { + + var embedCode = event.target.getVideoEmbedCode(); + var ytcont = jQuery('#'+embedCode.split('id="')[1].split('"')[0]) + var container = ytcont.closest('.tp-simpleresponsive'); + var player = ytcont.parent().data('player'); + + if (event.data == YT.PlayerState.PLAYING) { + + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + + if (ytcont.closest('.tp-caption').data('volume')=="mute") + player.mute(); + + opt.videoplaying=true; + container.trigger('stoptimer'); + //konsole.log("VideoPlay set to True due onPlayerStateChange PLAYING"); + container.trigger('revolution.slide.onvideoplay'); //opt.videostartednow=1; + + + } else { + + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + if (event.data!=-1) { + opt.videoplaying=false; + container.trigger('playtimer'); + container.trigger('revolution.slide.onvideostop'); //opt.videostoppednow=1; + + } + + } + if (event.data==0 && opt.nextslideatend==true) + opt.container.revnext(); + + + } + + + + //////////////////////// + // VIMEO ADD EVENT ///// + //////////////////////// + function addEvent(element, eventName, callback) { + + if (element.addEventListener) element.addEventListener(eventName, callback, false); + else + element.attachEvent(eventName, callback, false); + } + + + + ///////////////////////////////////// + // EVENT HANDLING FOR VIMEO VIDEOS // + ///////////////////////////////////// + + function vimeoready_auto(player_id,autoplay) { + + var froogaloop = $f(player_id); + var vimcont = jQuery('#'+player_id); + var container = vimcont.closest('.tp-simpleresponsive'); + + + froogaloop.addEvent('ready', function(data) { + if(autoplay) froogaloop.api('play'); + + froogaloop.addEvent('play', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + opt.videoplaying=true; + container.trigger('stoptimer'); + if (vimcont.closest('.tp-caption').data('volume')=="mute") + froogaloop.api('setVolume',"0"); + //konsole.log("VideoPlay set to True due vimeoready_auto PLAYING"); + }); + + froogaloop.addEvent('finish', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.videoplaying=false; + container.trigger('playtimer'); + //konsole.log("VideoPlay set to False due vimeoready_auto FINISH"); + container.trigger('revolution.slide.onvideoplay'); //opt.videostartednow=1; + if (opt.nextslideatend==true) + opt.container.revnext(); + + }); + + froogaloop.addEvent('pause', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.videoplaying=false; + container.trigger('playtimer'); + //konsole.log("VideoPlay set to False due vimeoready_auto PAUSE"); + container.trigger('revolution.slide.onvideostop'); //opt.videostoppednow=1; + }); + }); + } + + + + ///////////////////////////////////// + // RESIZE HTML5VIDEO FOR FULLSCREEN// + ///////////////////////////////////// + function updateHTML5Size(pc,container) { + var windowW = container.width(); + var windowH = container.height(); + var mediaAspect = pc.data('mediaAspect'); + + + var windowAspect = windowW/windowH; + + pc.css({position:"absolute"}); + var video = pc.find('video'); + + if (windowAspect < mediaAspect) { + // taller + pc + .width(windowH*mediaAspect) + .height(windowH); + pc + .css('top',0) + .css('left',-(windowH*mediaAspect-windowW)/2) + .css('height',windowH); + + /* video + .width(windowH*mediaAspect) + .height(windowH); + video + .css('top',0) + .css('left',-(windowH*mediaAspect-windowW)/2) + .css('height',windowH); */ + + + } else { + // wider + pc + .width(windowW) + .height(windowW/mediaAspect); + pc + .css('top',-(windowW/mediaAspect-windowH)/2) + .css('left',0) + .css('height',windowW/mediaAspect); + + /* video + .width(windowW) + .height(windowW/mediaAspect); + video + .css('top',-(windowW/mediaAspect-windowH)/2) + .css('left',0) + .css('height',windowW/mediaAspect);*/ + + } + + + } + + + + ///////////////////////////////////// + // - CREATE ANIMATION OBJECT - // + ///////////////////////////////////// + + function newAnimObject() { + var a = new Object(); + a.x=0; + a.y=0; + a.rotationX = 0; + a.rotationY = 0; + a.rotationZ = 0; + a.scale = 1; + a.scaleX = 1; + a.scaleY = 1; + a.skewX = 0; + a.skewY = 0; + a.opacity=0; + a.transformOrigin = "center, center"; + a.transformPerspective = 400; + a.rotation = 0; + return a; + } + + /////////////////////////////////////////////////// + // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS // + /////////////////////////////////////////////////// + function getAnimDatas(frm,data) { + + var customarray = data.split(';'); + jQuery.each(customarray,function(index,param) { + + param = param.split(":") + + var w = param[0], + v = param[1]; + if (w=="rotationX") frm.rotationX = parseInt(v,0); + if (w=="rotationY") frm.rotationY = parseInt(v,0); + if (w=="rotationZ") frm.rotationZ = parseInt(v,0); + if (w=="rotationZ") frm.rotation = parseInt(v,0); + if (w=="scaleX") frm.scaleX = parseFloat(v); + if (w=="scaleY") frm.scaleY = parseFloat(v); + if (w=="opacity") frm.opacity = parseFloat(v); + if (w=="skewX") frm.skewX = parseInt(v,0); + if (w=="skewY") frm.skewY = parseInt(v,0); + if (w=="x") frm.x = parseInt(v,0); + if (w=="y") frm.y = parseInt(v,0); + if (w=="z") frm.z = parseInt(v,0); + if (w=="transformOrigin") frm.transformOrigin = v.toString(); + if (w=="transformPerspective") frm.transformPerspective=parseInt(v,0); + }) + + return frm; + } + /////////////////////////////////////////////////////////////////// + // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS ANIMATION STEPS // + /////////////////////////////////////////////////////////////////// + function getAnimSteps(data) { + + var paramarray = data.split("animation:"); + var params = new Object(); + + params.animation = getAnimDatas(newAnimObject(),paramarray[1]); + var customarray = paramarray[0].split(';'); + + jQuery.each(customarray,function(index,param) { + param = param.split(":") + var w = param[0], + v = param[1]; + if (w=="typ") params.typ = v; + if (w=="speed") params.speed = parseInt(v,0)/1000; + if (w=="start") params.start = parseInt(v,0)/1000; + if (w=="elementdelay") params.elementdelay = parseFloat(v); + if (w=="ease") params.ease = v; + }) + + return params; + } + + + + + //////////////////////// + // SHOW THE CAPTION // + /////////////////////// + function animateTheCaptions(nextli, opt,recalled) { + + var offsetx=0; + var offsety=0; + + nextli.find('.tp-caption').each(function(i) { + + + offsetx = opt.width/2 - (opt.startwidth*opt.bw)/2; + + + + var xbw = opt.bw; + var xbh = opt.bh; + + + if (opt.fullScreen=="on") + offsety = opt.height/2 - (opt.startheight*opt.bh)/2; + + if (opt.autoHeight=="on") + offsety = opt.container.height()/2 - (opt.startheight*opt.bh)/2;; + + if (offsety<0) offsety=0; + + var nextcaption=jQuery(this);//nextli.find('.tp-caption:eq('+i+')'); + + var handlecaption=0; + + // HIDE CAPTION IF RESOLUTION IS TOO LOW + if (opt.width0 || nextcaption.find('video').length>0) { + + + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { + nextcaption.data('autoplay',true); + } + + nextcaption.find('iframe').each(function() { + var ifr=jQuery(this); + + if (is_mobile()) { + var oldsrc = ifr.attr('src'); + ifr.attr('src',""); + ifr.attr('src',oldsrc); + } + + + // START YOUTUBE HANDLING + opt.nextslideatend = nextcaption.data('nextslideatend'); + if (nextcaption.data('thumbimage')!=undefined && nextcaption.data('thumbimage').length>2 && nextcaption.data('autoplay')!=true && !recalled) { + nextcaption.find('.tp-thumb-image').remove(); + nextcaption.append('
'); + } + + if (ifr.attr('src').toLowerCase().indexOf('youtube')>=0) { + + // if (is_mobile()) ifr.attr('src',ifr.attr('src').replace("enablejsapi=1","")); + + if (!ifr.hasClass("HasListener")) { + try { + ifr.attr('id',frameID); + + var player; + var ytint = setInterval(function() { + if (YT !=undefined) + if (typeof YT.Player != undefined && typeof YT.Player !="undefined") { + + if (nextcaption.data('autoplay')==true) { + player = new YT.Player(frameID, { + events: { + "onStateChange": onPlayerStateChange, + 'onReady': function(event) { + event.target.playVideo(); + } + } + }); + } else + player = new YT.Player(frameID, { + events: { + "onStateChange": onPlayerStateChange + } + }); + ifr.addClass("HasListener"); + + nextcaption.data('player',player); + clearInterval(ytint); + } + } + , 100) + + + + } catch(e) {} + } else { + + if (nextcaption.data('autoplay')==true) { + var player=nextcaption.data('player'); + nextcaption.data('timerplay',setTimeout(function() { + if (nextcaption.data('forcerewind')=="on") + player.seekTo(0); + player.playVideo(); + },nextcaption.data('start'))); + } + } // END YOUTUBE HANDLING + + // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED + nextcaption.find('.tp-thumb-image').click(function() { + TweenLite.to(jQuery(this),0.3,{opacity:0,ease:Power3.easeInOut,onComplete: function() { + nextcaption.find('.tp-thumb-image').remove(); + } + }) + var player=nextcaption.data('player'); + player.playVideo(); + }) + } else { + // START VIMEO HANDLING + if (ifr.attr('src').toLowerCase().indexOf('vimeo')>=0) { + + if (!ifr.hasClass("HasListener")) { + ifr.addClass("HasListener"); + ifr.attr('id',frameID); + var isrc = ifr.attr('src'); + var queryParameters = {}, queryString = isrc, + re = /([^&=]+)=([^&]*)/g, m; + // Creates a map with the query string parameters + while (m = re.exec(queryString)) { + queryParameters[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); + } + + if (queryParameters['player_id']!=undefined) + isrc = isrc.replace(queryParameters['player_id'],frameID); + else + isrc=isrc+"&player_id="+frameID; + + try{ isrc = isrc.replace('api=0','api=1'); } catch(e) {} + + isrc=isrc+"&api=1"; + + ifr.attr('src',isrc); + var player = nextcaption.find('iframe')[0]; + var vimint = setInterval(function() { + if ($f !=undefined) + if (typeof $f(frameID).api != undefined && typeof $f(frameID).api !="undefined") { + $f(player).addEvent('ready', function(){ + vimeoready_auto(frameID,nextcaption.data('autoplay')) + }); + clearInterval(vimint); + } + },100); + + } else { + if (nextcaption.data('autoplay')==true) { + + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var vimint = setInterval(function() { + if ($f !=undefined) + if (typeof $f(id).api != undefined && typeof $f(id).api !="undefined") { + var froogaloop = $f(id); + nextcaption.data('timerplay',setTimeout(function() { + if (nextcaption.data('forcerewind')=="on") + froogaloop.api("seekTo",0); + froogaloop.api("play"); + },nextcaption.data('start'))); + clearInterval(vimint); + } + },100); + } + }// END HAS LISTENER HANDLING + + // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED + nextcaption.find('.tp-thumb-image').click(function() { + TweenLite.to(jQuery(this),0.3,{opacity:0,ease:Power3.easeInOut,onComplete: function() { + nextcaption.find('.tp-thumb-image').remove(); + } + }) + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var vimint = setInterval(function() { + if ($f !=undefined) + if (typeof $f(id).api != undefined && typeof $f(id).api !="undefined") { + var froogaloop = $f(id); + froogaloop.api("play"); + clearInterval(vimint); + } + },100); + }) + + + } // END OF VIMEO HANDLING + } // END OF CHOOSE BETWEEN YOUTUBE AND VIMEO + }); // END OF LOOP THROUGH IFRAMES + + // START OF VIDEO JS + if (nextcaption.find('video').length>0) { + + + nextcaption.find('video').each(function(i) { + + var jvideo = jQuery(this); + var video = this; + + if (!jvideo.parent().hasClass("html5vid")) { + jvideo.wrap('
'); + + } + var html5vid = jQuery(this).parent(); + + if (video.addEventListener) + video.addEventListener("loadedmetadata",function() { + html5vid.data('metaloaded',1); + }); + else + video.attachEvent("loadedmetadata",function() { + html5vid.data('metaloaded',1); + }); + + + if (!jvideo.hasClass("HasListener")) { + + jvideo.addClass("HasListener") + video.addEventListener("play",function() { + html5vid.addClass("videoisplaying"); + html5vid.find('.tp-poster').remove(); + if (nextcaption.data('volume')=="mute") + video.muted=true; + opt.container.trigger('revolution.slide.onvideoplay'); + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + + }); + + video.addEventListener("pause",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('playtimer'); + opt.container.trigger('revolution.slide.onvideostop'); + }); + + video.addEventListener("ended",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('playtimer'); + opt.container.trigger('revolution.slide.onvideostop'); + if (opt.nextslideatend==true) + opt.container.revnext(); + }); + } + + + if (jvideo.attr('poster')!=undefined && html5vid.find('.tp-poster').length==0) + html5vid.append('
'); + + if (jvideo.attr('control') == undefined && html5vid.find('.tp-video-play-button').length==0) { + html5vid.append('
'); + html5vid.find('.tp-video-play-button').click(function() { + if (html5vid.hasClass("videoisplaying")) + video.pause(); + else + video.play(); + }) + } + + if (jvideo.attr('control') == undefined) { + html5vid.find('video, .tp-poster').click(function() { + if (html5vid.hasClass("videoisplaying")) + video.pause(); + else + video.play(); + }) + } + + + + if (nextcaption.data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + nextcaption.addClass("fullcoveredvideo"); + } + + if (nextcaption.data('forcecover')==1 || nextcaption.hasClass('fullscreenvideo')) { + html5vid.css({width:"100%", height:"100%"}); + } + + + var autoplaywason = false; + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true") + autoplaywason = true; + + clearInterval(html5vid.data('interval')); + html5vid.data('interval',setInterval(function() { + + if (html5vid.data('metaloaded')==1 || video.duration!=NaN) { + + clearInterval(html5vid.data('interval')); + + + if (nextcaption.data('dottedoverlay')!="none" && nextcaption.data('dottedoverlay')!=undefined) + if (nextcaption.find('.tp-dottedoverlay').length!=1) + html5vid.append('
'); + + var mediaaspect=16/9; + if (nextcaption.data('aspectratio')=="4:3") mediaaspect=4/3; + html5vid.data('mediaAspect',mediaaspect); + + + + if (html5vid.closest('.tp-caption').data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + } + + jvideo.css({display:"block"}); + + opt.nextslideatend = nextcaption.data('nextslideatend'); + + // IF VIDEO SHOULD BE AUTOPLAYED + if (nextcaption.data('autoplay')==true || autoplaywason==true) { + var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); + setTimeout(function(){ + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + },200); + + + + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + html5vid.data('timerplay',setTimeout(function() { + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + setTimeout(function() { + + video.play(); + + },500); + },10+nextcaption.data('start'))); + } + + + if (html5vid.data('ww') == undefined) html5vid.data('ww',jvideo.attr('width')); + if (html5vid.data('hh') == undefined) html5vid.data('hh',jvideo.attr('height')); + + if (!nextcaption.hasClass("fullscreenvideo") && nextcaption.data('forcecover')==1) { + try{ + html5vid.width(html5vid.data('ww')*opt.bw); + html5vid.height(html5vid.data('hh')*opt.bh); + } catch(e) {} + } + + clearInterval(html5vid.data('interval')); + } + }),100); + + }); + } // END OF VIDEO JS FUNCTIONS + + // IF AUTOPLAY IS ON, WE NEED SOME STOP FUNCTION ON + if (nextcaption.data('autoplay')==true) { + var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); + + setTimeout(function() { + + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + + },200) + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { + nextcaption.data('autoplay',false); + nextcaption.data('autoplayonlyfirsttime',false); + } + } + } + + + + + // NEW ENGINE + //if (nextcaption.hasClass("randomrotate") && (opt.ie || opt.ie9)) nextcaption.removeClass("randomrotate").addClass("sfb"); + // nextcaption.removeClass('noFilterClass'); + + + + var imw =0; + var imh = 0; + + if (nextcaption.find('img').length>0) { + var im = nextcaption.find('img'); + if (im.data('ww') == undefined) im.data('ww',im.width()); + if (im.data('hh') == undefined) im.data('hh',im.height()); + + var ww = im.data('ww'); + var hh = im.data('hh'); + + + im.width(ww*opt.bw); + im.height(hh*opt.bh); + imw = im.width(); + imh = im.height(); + } else { + + if (nextcaption.find('iframe').length>0 || nextcaption.find('video').length>0) { + + var html5vid = false; + var im = nextcaption.find('iframe'); + if (im.length==0) { + im = nextcaption.find('video'); + html5vid = true; + } + im.css({display:"block"}); + + if (nextcaption.data('ww') == undefined) nextcaption.data('ww',im.width()); + if (nextcaption.data('hh') == undefined) nextcaption.data('hh',im.height()); + + var ww = nextcaption.data('ww'); + var hh = nextcaption.data('hh'); + + var nc =nextcaption; + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTop'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottom'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeft'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRight'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); + + var fvwidth=opt.width; + var fvheight=opt.height; + if (fvwidth>opt.startwidth) fvwidth=opt.startwidth; + if (fvheight>opt.startheight) fvheight=opt.startheight; + + + + if (!nextcaption.hasClass('fullscreenvideo')) + nextcaption.css({ + + 'font-size': (nc.data('fsize') * opt.bw)+"px", + + 'padding-top': (nc.data('pt') * opt.bh) + "px", + 'padding-bottom': (nc.data('pb') * opt.bh) + "px", + 'padding-left': (nc.data('pl') * opt.bw) + "px", + 'padding-right': (nc.data('pr') * opt.bw) + "px", + + 'margin-top': (nc.data('mt') * opt.bh) + "px", + 'margin-bottom': (nc.data('mb') * opt.bh) + "px", + 'margin-left': (nc.data('ml') * opt.bw) + "px", + 'margin-right': (nc.data('mr') * opt.bw) + "px", + + 'border-top': (nc.data('bt') * opt.bh) + "px", + 'border-bottom': (nc.data('bb') * opt.bh) + "px", + 'border-left': (nc.data('bl') * opt.bw) + "px", + 'border-right': (nc.data('br') * opt.bw) + "px", + + 'line-height': (nc.data('lh') * opt.bh) + "px", + 'height':(hh*opt.bh)+'px', + }); + else { + + offsetx=0; offsety=0; + nextcaption.data('x',0) + nextcaption.data('y',0) + + var ovhh = opt.height + if (opt.autoHeight=="on") + ovhh = opt.container.height() + nextcaption.css({ + + 'width':opt.width, + 'height':ovhh + }); + } + + if (html5vid == false) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + else + + if (nextcaption.data('forcecover')!=1 && !nextcaption.hasClass('fullscreenvideo')) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + + imw = im.width(); + imh = im.height(); + } + + else { + + + nextcaption.find('.tp-resizeme, .tp-resizeme *').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + + if (nextcaption.hasClass("tp-resizeme")) { + nextcaption.find('*').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + } + + calcCaptionResponsive(nextcaption,opt); + + imh=nextcaption.outerHeight(true); + imw=nextcaption.outerWidth(true); + + // NEXTCAPTION FRONTCORNER CHANGES + var ncch = nextcaption.outerHeight(); + var bgcol = nextcaption.css('backgroundColor'); + nextcaption.find('.frontcorner').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderTopColor':bgcol + }); + + nextcaption.find('.frontcornertop').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcorner').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcornertop').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderTopColor':bgcol + }); + + } + + + } + + if (opt.fullScreenAlignForce == "on") { + //xbw = 1; + //xbh = 1; + offsetx=0; + offsety=0; + } + + + + if (nextcaption.data('voffset')==undefined) nextcaption.data('voffset',0); + if (nextcaption.data('hoffset')==undefined) nextcaption.data('hoffset',0); + + var vofs= nextcaption.data('voffset')*xbw; + var hofs= nextcaption.data('hoffset')*xbw; + + var crw = opt.startwidth*xbw; + var crh = opt.startheight*xbw; + + if (opt.fullScreenAlignForce == "on") { + crw = opt.container.width(); + crh = opt.container.height(); + } + + + + // CENTER THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') { + nextcaption.data('xcenter','center'); + //nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2)/xbw+ hofs); + nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2) + hofs); + + + } + + // ALIGN LEFT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="left" || nextcaption.data('xleft')=='left') { + nextcaption.data('xleft','left'); + + nextcaption.data('x',(0)/xbw+hofs); + + } + + // ALIGN RIGHT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="right" || nextcaption.data('xright')=='right') { + nextcaption.data('xright','right'); + nextcaption.data('x',((crw - nextcaption.outerWidth(true))+hofs)/xbw); + //konsole.log("crw:"+crw+" width:"+nextcaption.outerWidth(true)+" xbw:"+xbw); + //konsole.log("x-pos:"+nextcaption.data('x')) + } + + + // CENTER THE CAPTION VERTICALLY + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') { + nextcaption.data('ycenter','center'); + nextcaption.data('y',(crh/2 - nextcaption.outerHeight(true)/2) + vofs); + } + + // ALIGN TOP THE CAPTION VERTICALLY + if (nextcaption.data('y')=="top" || nextcaption.data('ytop')=='top') { + nextcaption.data('ytop','top'); + nextcaption.data('y',(0)/opt.bh+vofs); + + } + + // ALIGN BOTTOM THE CAPTION VERTICALLY + if (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom') { + nextcaption.data('ybottom','bottom'); + nextcaption.data('y',((crh - nextcaption.outerHeight(true))+vofs)/xbw); + + } + + + + // THE TRANSITIONS OF CAPTIONS + // MDELAY AND MSPEED + if (nextcaption.data('start') == undefined) nextcaption.data('start',1000); + + + + var easedata=nextcaption.data('easing'); + if (easedata==undefined) easedata="Power1.easeOut"; + + + var mdelay = nextcaption.data('start')/1000; + var mspeed = nextcaption.data('speed')/1000; + + + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') + var calcx = (nextcaption.data('x')+offsetx); + else { + + var calcx = (xbw*nextcaption.data('x')+offsetx); + } + + + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') + var calcy = (nextcaption.data('y')+offsety); + else { + //if (opt.fullScreenAlignForce == "on" && (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom')) + // opt.bh = 1; + + var calcy = (opt.bh*nextcaption.data('y')+offsety); + } + + + + + TweenLite.set(nextcaption,{top:calcy,left:calcx,overwrite:"auto"}); + + if (!recalled) { + + + + // CLEAR THE TIMELINE, SINCE IT CAN BE DAMAGED, OR PAUSED AT A FEW PART + if (nextcaption.data('timeline')!=undefined) + nextcaption.data('timeline').clear(); + + // MAKE SURE THE ANIMATION ENDS WITH A CLEANING ON MOZ TRANSFORMS + function animcompleted() { + setTimeout(function() { + nextcaption.css({transform:"none",'-moz-transform':'none','-webkit-transform':'none'}); + },100) + } + + + function tlstart() { + nextcaption.data('timer',setTimeout(function() { + if (nextcaption.hasClass("fullscreenvideo")) + nextcaption.css({'display':'block'}); + + },nextcaption.data('start'))); + } + + var tl = new TimelineLite({smoothChildTiming:true,onStart:tlstart}); + + + + if (opt.fullScreenAlignForce == "on") { + //calcy = nextcaption.data('y')+offsety; + } + + var animobject = nextcaption; + if (nextcaption.data('mySplitText') !=undefined) nextcaption.data('mySplitText').revert(); + + + if (nextcaption.data('splitin') == "chars" || nextcaption.data('splitin') == "words" || nextcaption.data('splitin') == "lines" || nextcaption.data('splitout') == "chars" || nextcaption.data('splitout') == "words" || nextcaption.data('splitout') == "lines") { + if (nextcaption.find('a').length>0) + nextcaption.data('mySplitText',new SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + else + nextcaption.data('mySplitText',new SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + + nextcaption.addClass("splitted"); + } + + if (nextcaption.data('splitin') == "chars") + animobject = nextcaption.data('mySplitText').chars; + + + if (nextcaption.data('splitin') == "words") + animobject = nextcaption.data('mySplitText').words; + + + if (nextcaption.data('splitin') == "lines") + animobject = nextcaption.data('mySplitText').lines; + + + + var frm = newAnimObject(); + var endfrm = newAnimObject(); + + + if (nextcaption.data('repeat')!=undefined) repeatV = nextcaption.data('repeat'); + if (nextcaption.data('yoyo')!=undefined) yoyoV = nextcaption.data('yoyo'); + if (nextcaption.data('repeatdelay')!=undefined) repeatdelayV = nextcaption.data('repeatdelay'); + + // WHICH ANIMATION TYPE SHOULD BE USED + if (nextcaption.hasClass("customin")) frm = getAnimDatas(frm,nextcaption.data('customin')); + else + if (nextcaption.hasClass("randomrotate")) { + + frm.scale = Math.random()*3+1; + frm.rotation = Math.round(Math.random()*200-100); + frm.x = Math.round(Math.random()*200-100); + frm.y = Math.round(Math.random()*200-100); + } + else + if (nextcaption.hasClass('lfr') || nextcaption.hasClass('skewfromright')) frm.x = 15+opt.width; + else + if (nextcaption.hasClass('lfl') || nextcaption.hasClass('skewfromleft')) frm.x = -15-imw; + else + if (nextcaption.hasClass('sfl') || nextcaption.hasClass('skewfromleftshort')) frm.x = -50; + else + if (nextcaption.hasClass('sfr') || nextcaption.hasClass('skewfromrightshort')) frm.x = 50; + else + if (nextcaption.hasClass('lft')) frm.y = -25 - imh; + else + if (nextcaption.hasClass('lfb')) frm.y = 25 + opt.height; + else + if (nextcaption.hasClass('sft')) frm.y = -50; + else + if (nextcaption.hasClass('sfb')) frm.y = 50; + + + if (nextcaption.hasClass('skewfromright') || nextcaption.hasClass('skewfromrightshort')) frm.skewX = -85 + else + if (nextcaption.hasClass('skewfromleft') || nextcaption.hasClass('skewfromleftshort')) frm.skewX = 85 + + + if (nextcaption.hasClass("fade") || nextcaption.hasClass('sft') || nextcaption.hasClass('sfl') || nextcaption.hasClass('sfb') || nextcaption.hasClass('skewfromleftshort') || nextcaption.hasClass('sfr') || nextcaption.hasClass('skewfromrightshort')) + frm.opacity = 0; + + // FOR SAFARI WE NEED TO REMOVE 3D ROTATIONS + if (get_browser().toLowerCase()=="safari") { + frm.rotationX=0;frm.rotationY=0; + } + + var elemdelay = (nextcaption.data('elementdelay') == undefined) ? 0 : nextcaption.data('elementdelay'); + endfrm.ease = frm.ease = (nextcaption.data('easing') == undefined) ? Power1.easeInOut : nextcaption.data('easing'); + + + // DISTANCES SHOULD BE RESIZED ALSO + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + endfrm.data = new Object(); + endfrm.data.oldx = endfrm.x; + endfrm.data.oldy = endfrm.y; + + frm.x = frm.x * xbw; + frm.y = frm.y * xbw; + + var newtl = new TimelineLite(); + + + + // CHANGE to TweenLite. if Yoyo and Repeat is used. Dont forget to laod the Right Tools for it !! + if (nextcaption.hasClass("customin")) { + if (animobject != nextcaption) + tl.add(TweenLite.set(nextcaption, { opacity:1,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:0,overwrite:"all"})); + frm.visibility = "hidden"; + endfrm.visibility = "visible"; + endfrm.overwrite = "all"; + endfrm.opacity = 1; + endfrm.onComplete = animcompleted(); + endfrm.delay = mdelay; + + tl.add(newtl.staggerFromTo(animobject,mspeed,frm,endfrm,elemdelay),"frame0"); + + } else { + + frm.visibility = "visible"; + frm.transformPerspective = 600; + if (animobject != nextcaption) + tl.add(TweenLite.set(nextcaption, { opacity:1,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:0,overwrite:"all"})); + + endfrm.visibility = "visible"; + endfrm.delay = mdelay; + endfrm.onComplete = animcompleted(); + endfrm.opacity = 1; + if (nextcaption.hasClass("randomrotate") && animobject != nextcaption) { + + for (var i=0;i0) { + var params = getAnimSteps(spframe); + + addMoveCaption(nextcaption,opt,params,"frame"+(index+10),xbw) + + } + }) + } // END OF ANIMATION STEPS + + tl = nextcaption.data('timeline'); + + // IF THERE IS ANY EXIT ANIM DEFINED + if (nextcaption.data('end')!=undefined) { + + endMoveCaption(nextcaption,opt,nextcaption.data('end')/1000,frm,"frame99",xbw); + } else { + endMoveCaption(nextcaption,opt,999999,frm,"frame99",xbw); + } + + // SAVE THE TIMELINE IN DOM ELEMENT + tl = nextcaption.data('timeline'); + nextcaption.data('timeline',tl); + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pendulum').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new TimelineLite); + var startdeg = el.data('startdeg')==undefined ? -20 : el.data('startdeg'), + enddeg = el.data('enddeg')==undefined ? 20 : el.data('enddeg'); + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), + easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing})); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{rotation:enddeg,transformOrigin:origin},{rotation:startdeg,ease:easing,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-slideloop').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new TimelineLite); + var xs = el.data('xs')==undefined ? 0 : el.data('xs'), + ys = el.data('ys')==undefined ? 0 : el.data('ys'); + xe = el.data('xe')==undefined ? 0 : el.data('xe'), + ye = el.data('ye')==undefined ? 0 : el.data('ye'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{x:xs,y:ys},{x:xe,y:ye,ease:easing})); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{x:xe,y:ye},{x:xs,y:ys,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pulse').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new TimelineLite); + var zoomstart = el.data('zoomstart')==undefined ? 0 : el.data('zoomstart'), + zoomend = el.data('zoomend')==undefined ? 0 : el.data('zoomend'); + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{scale:zoomstart},{scale:zoomend,ease:easing})); + el.data('timeline').append(new TweenLite.fromTo(el,speed,{scale:zoomend},{scale:zoomstart,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + nextcaption.find('.rs-wave').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new TimelineLite); + + var angle= el.data('angle')==undefined ? 10 : el.data('angle'), + radius = el.data('radius')==undefined ? 10 : el.data('radius'), + speed = el.data('speed')==undefined ? -20 : el.data('speed'), + origin = el.data('origin')==undefined ? -20 : el.data('origin'), + angobj = {a:0, ang : angle, element:el, unit:radius}; + + el.data('timeline').append(new TweenLite.fromTo(angobj,speed, + { a:360 }, + { a:0, + ease:Linear.easeNone, + onUpdate:function() { + + var rad = angobj.a * (Math.PI / 180); + TweenLite.to(angobj.element,0.1,{x:Math.cos(rad) * angobj.unit, y:angobj.unit * (1 - Math.sin(rad))}); + + }, + onComplete:function() { + el.data('timeline').restart(); + } + } + )); + } + + }) + + } + } + + if (recalled) { + if (nextcaption.data('timeline') != undefined) { + var tweens = nextcaption.data('timeline').getTweensOf(); + jQuery.each(tweens,function(index,tween) { + if (tween.vars.data != undefined) { + var newx = tween.vars.data.oldx * xbw; + var newy = tween.vars.data.oldy * xbw; + if (tween.progress() !=1 && tween.progress()!=0) { + try{ + //tween.updateTo({x:newx, y:newy},true); + tween.vars.x = newx; + tween.vary.y = newy; + } catch(e) { + + } + } else { + if (tween.progress()==1) { + TweenLite.set(tween.target,{x:newx,y:newy}); + } + } + } + }) + } + } + }) + + var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); + bt.data('opt',opt); + + + } + + + function get_browser(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[0]; + } + function get_browser_version(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[1]; + } + + ///////////////////////////////////////////////////////////////// + // - CALCULATE THE RESPONSIVE SIZES OF THE CAPTIONS - // + ///////////////////////////////////////////////////////////////// + function calcCaptionResponsive(nc,opt) { + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTopWidth'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottomWidth'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeftWidth'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRightWidth'),0) || 0); + + if (nc.data('ls') == undefined) nc.data('ls',parseInt(nc.css('letterSpacing'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); + if (nc.data('minwidth') == undefined) nc.data('minwidth',parseInt(nc.css('minWidth'),0) || 0); + if (nc.data('minheight') == undefined) nc.data('minheight',parseInt(nc.css('minHeight'),0) || 0); + if (nc.data('maxwidth') == undefined) nc.data('maxwidth',parseInt(nc.css('maxWidth'),0) || "none"); + if (nc.data('maxheight') == undefined) nc.data('maxheight',parseInt(nc.css('maxHeight'),0) || "none"); + + if (nc.data('wan') == undefined) nc.data('wan',nc.css("-webkit-transition")); + if (nc.data('moan') == undefined) nc.data('moan',nc.css("-moz-animation-transition")); + if (nc.data('man') == undefined) nc.data('man',nc.css("-ms-animation-transition")); + if (nc.data('ani') == undefined) nc.data('ani',nc.css("transition")); + + + + + + if (!nc.hasClass("tp-splitted")) { + + + nc.css("-webkit-transition", "none"); + nc.css("-moz-transition", "none"); + nc.css("-ms-transition", "none"); + nc.css("transition", "none"); + + TweenLite.set(nc,{ + fontSize: Math.round((nc.data('fsize') * opt.bw))+"px", + + letterSpacing:Math.floor((nc.data('ls') * opt.bw))+"px", + + paddingTop: Math.round((nc.data('pt') * opt.bh)) + "px", + paddingBottom: Math.round((nc.data('pb') * opt.bh)) + "px", + paddingLeft: Math.round((nc.data('pl') * opt.bw)) + "px", + paddingRight: Math.round((nc.data('pr') * opt.bw)) + "px", + + marginTop: (nc.data('mt') * opt.bh) + "px", + marginBottom: (nc.data('mb') * opt.bh) + "px", + marginLeft: (nc.data('ml') * opt.bw) + "px", + marginRight: (nc.data('mr') * opt.bw) + "px", + + borderTopWidth: Math.round((nc.data('bt') * opt.bh)) + "px", + borderBottomWidth: Math.round((nc.data('bb') * opt.bh)) + "px", + borderLeftWidth: Math.round((nc.data('bl') * opt.bw)) + "px", + borderRightWidth: Math.round((nc.data('br') * opt.bw)) + "px", + + lineHeight: Math.round((nc.data('lh') * opt.bh)) + "px", + minWidth:(nc.data('minwidth') * opt.bw) + "px", + minHeight:(nc.data('minheight') * opt.bh) + "px", + overwrite:"auto" + }); + setTimeout(function() { + nc.css("-webkit-transition", nc.data('wan')); + nc.css("-moz-transition", nc.data('moan')); + nc.css("-ms-transition", nc.data('man')); + nc.css("transition", nc.data('ani')); + + },30); + + //konsole.log(nc.data('maxwidth')+" "+nc.data('maxheight')); + if (nc.data('maxheight')!='none') + nc.css({'maxHeight':(nc.data('maxheight') * opt.bh) + "px"}); + + + if (nc.data('maxwidth')!='none') + nc.css({'maxWidth':(nc.data('maxwidth') * opt.bw) + "px"}); + } + } + + + ////////////////////////// + // REMOVE THE CAPTIONS // + ///////////////////////// + function removeTheCaptions(actli,opt) { + + + actli.find('.tp-caption').each(function(i) { + var nextcaption=jQuery(this); //actli.find('.tp-caption:eq('+i+')'); + + if (nextcaption.find('iframe').length>0) { + // VIMEO VIDEO PAUSE + try { + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var froogaloop = $f(id); + froogaloop.api("pause"); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + //YOU TUBE PAUSE + try { + var player=nextcaption.data('player'); + player.stopVideo(); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + } + + // IF HTML5 VIDEO IS EMBEDED + if (nextcaption.find('video').length>0) { + try{ + nextcaption.find('video').each(function(i) { + var html5vid = jQuery(this).parent(); + var videoID =html5vid.attr('id'); + clearTimeout(html5vid.data('timerplay')); + var video = this; + video.pause(); + }) + }catch(e) {} + } // END OF VIDEO JS FUNCTIONS + try { + + //var tl = TimelineLite.exportRoot(); + var tl = nextcaption.data('timeline'); + var endstarts = tl.getLabelTime("frame99"); + var curtime = tl.time(); + if (endstarts>curtime) { + + // WE NEED TO STOP ALL OTHER NIMATIONS + var tweens = tl.getTweensOf(nextcaption); + jQuery.each(tweens,function(index,tw) { + + if (index!=0) + tw.pause(); + }); + if (nextcaption.css('opacity')!=0) + tl.play("frame99"); + else + tl.progress(1,false); + } + + } catch(e) {} + + + + }); + } + + ////////////////////////////// + // MOVE THE CAPTIONS // + //////////////////////////// + function addMoveCaption(nextcaption,opt,params,frame,downscale) { + var tl = nextcaption.data('timeline'); + + var newtl = new TimelineLite(); + + var animobject = nextcaption; + + if (params.typ == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (params.typ == "words") animobject = nextcaption.data('mySplitText').words; + else + if (params.typ == "lines") animobject = nextcaption.data('mySplitText').lines; + params.animation.ease = params.ease; + + if (params.animation.rotationZ !=undefined) params.animation.rotation = params.animation.rotationZ; + params.animation.data = new Object(); + params.animation.data.oldx = params.animation.x; + params.animation.data.oldy = params.animation.y; + + params.animation.x = params.animation.x * downscale; + params.animation.y = params.animation.y * downscale; + + + tl.add(newtl.staggerTo(animobject,params.speed,params.animation,params.elementdelay),params.start); + tl.addLabel(frame,params.start); + + nextcaption.data('timeline',tl); + + } + ////////////////////////////// + // MOVE OUT THE CAPTIONS // + //////////////////////////// + function endMoveCaption(nextcaption,opt,mdelay,backwards,frame,downscale) { + + var tl = nextcaption.data('timeline'); + var newtl = new TimelineLite(); + + var frm = newAnimObject(); + var mspeed= (nextcaption.data('endspeed') == undefined) ? nextcaption.data('speed') : nextcaption.data('endspeed'); + frm.ease = (nextcaption.data('endeasing') == undefined) ? Power1.easeInOut : nextcaption.data('endeasing'); + + mspeed = mspeed/1000; + + + if (nextcaption.hasClass('ltr') || + nextcaption.hasClass('ltl') || + nextcaption.hasClass('str') || + nextcaption.hasClass('stl') || + nextcaption.hasClass('ltt') || + nextcaption.hasClass('ltb') || + nextcaption.hasClass('stt') || + nextcaption.hasClass('stb') || + nextcaption.hasClass('skewtoright') || + nextcaption.hasClass('skewtorightshort') || + nextcaption.hasClass('skewtoleft') || + nextcaption.hasClass('skewtoleftshort') || + nextcaption.hasClass('fadeout') || + nextcaption.hasClass("randomrotateout")) + { + + if (nextcaption.hasClass('skewtoright') || nextcaption.hasClass('skewtorightshort')) frm.skewX = 35 + else + if (nextcaption.hasClass('skewtoleft') || nextcaption.hasClass('skewtoleftshort')) frm.skewX = -35 + + + if (nextcaption.hasClass('ltr') || nextcaption.hasClass('skewtoright')) + frm.x=opt.width+60; + else if (nextcaption.hasClass('ltl') || nextcaption.hasClass('skewtoleft')) + frm.x=0-(opt.width+60); + else if (nextcaption.hasClass('ltt')) + frm.y=0-(opt.height+60); + else if (nextcaption.hasClass('ltb')) + frm.y=opt.height+60; + else if (nextcaption.hasClass('str') || nextcaption.hasClass('skewtorightshort')) { + frm.x=50;frm.opacity=0; + } else if (nextcaption.hasClass('stl') || nextcaption.hasClass('skewtoleftshort')) { + frm.x=-50;frm.opacity=0; + } else if (nextcaption.hasClass('stt')) { + frm.y=-50;frm.opacity=0; + } else if (nextcaption.hasClass('stb')) { + frm.y=50;frm.opacity=0; + } else if (nextcaption.hasClass("randomrotateout")) { + frm.x = Math.random()*opt.width; + frm.y = Math.random()*opt.height; + frm.scale = Math.random()*2+0.3; + frm.rotation = Math.random()*360-180; + frm.opacity = 0; + } else if (nextcaption.hasClass('fadeout')) { + frm.opacity = 0; + } + + if (nextcaption.hasClass('skewtorightshort')) frm.x = 270; + else + if (nextcaption.hasClass('skewtoleftshort')) frm.x = -270 + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + frm.overwrite="auto"; + var animobject = nextcaption; + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + //tl.add(TweenLite.to(nextcaption,mspeed,frm),mdelay); + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + + } + + else + + if (nextcaption.hasClass("customout")) { + + frm = getAnimDatas(frm,nextcaption.data('customout')); + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + frm.onStart = function() { + + TweenLite.set(nextcaption,{ + transformPerspective:frm.transformPerspective, + transformOrigin:frm.transformOrigin, + overwrite:"auto" + }); + } + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + } + + else { + backwards.delay = 0; + tl.add(TweenLite.to(nextcaption,mspeed,backwards),mdelay); + } + + + tl.addLabel(frame,mdelay); + nextcaption.data('timeline',tl); + } + + /////////////////////////// + // REMOVE THE LISTENERS // + /////////////////////////// + function removeAllListeners(container,opt) { + container.children().each(function() { + try{ jQuery(this).die('click'); } catch(e) {} + try{ jQuery(this).die('mouseenter');} catch(e) {} + try{ jQuery(this).die('mouseleave');} catch(e) {} + try{ jQuery(this).unbind('hover');} catch(e) {} + }) + try{ container.die('click','mouseenter','mouseleave');} catch(e) {} + clearInterval(opt.cdint); + container=null; + + + + } + + /////////////////////////// + // - COUNTDOWN - // + ///////////////////////// + function countDown(container,opt) { + opt.cd=0; + opt.loop=0; + if (opt.stopAfterLoops!=undefined && opt.stopAfterLoops>-1) + opt.looptogo=opt.stopAfterLoops; + else + opt.looptogo=9999999; + + if (opt.stopAtSlide!=undefined && opt.stopAtSlide>-1) + opt.lastslidetoshow=opt.stopAtSlide; + else + opt.lastslidetoshow=999; + + opt.stopLoop="off"; + + if (opt.looptogo==0) opt.stopLoop="on"; + + + if (opt.slideamount >1 && !(opt.stopAfterLoops==0 && opt.stopAtSlide==1) ) { + var bt=container.find('.tp-bannertimer'); + + + // LISTENERS //container.trigger('stoptimer'); + container.on('stoptimer',function() { + bt.data('tween').pause(); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + + }); + container.on('starttimer',function() { + if (opt.conthover!=1 && opt.videoplaying!=true && opt.width>opt.hideSliderAtLimit && opt.bannertimeronpause != true && opt.overnav !=true) + if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) + { + // NOTHING + } + else { + bt.css({visibility:"visible"}); + bt.data('tween').play(); + } + + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + container.on('restarttimer',function() { + if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) + { + // NOTHING + } + else { + bt.css({visibility:"visible"}); + bt.data('tween',TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:countDownNext,delay:1})); + + } + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + + container.on('nulltimer',function() { + + bt.data('tween').pause(0); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + + }); + + + + function countDownNext() { + if (jQuery('body').find(container).length==0) { + removeAllListeners(container,opt); + clearInterval(opt.cdint); + } + + //STATE OF API CHANGED -> MOVE TO AIP BETTER + if (container.data('conthover-changed') == 1) { + opt.conthover= container.data('conthover'); + container.data('conthover-changed',0); + } + + // SWAP TO NEXT BANNER + opt.act=opt.next; + opt.next=opt.next+1; + if (opt.next>container.find('>ul >li').length-1) { + opt.next=0; + opt.looptogo=opt.looptogo-1; + + if (opt.looptogo<=0) { + opt.stopLoop="on"; + + } + } + + // STOP TIMER IF NO LOOP NO MORE NEEDED. + + if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) { + container.find('.tp-bannertimer').css({'visibility':'hidden'}); + container.trigger('revolution.slide.onstop'); + } else { + bt.data('tween').restart(); + } + + // SWAP THE SLIDES + swapSlide(container,opt); + + } + + bt.data('tween',TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:countDownNext,delay:1})); + bt.data('opt',opt); + + + container.hover( + function() { + + if (opt.onHoverStop=="on" && (!is_mobile())) { + container.trigger('stoptimer'); + + container.trigger('revolution.slide.onpause'); + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').pause(); + } + }); + } + }, + function() { + if (container.data('conthover')!=1) { + container.trigger('revolution.slide.onresume'); + container.trigger('starttimer'); + + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').play(); + } + }); + } + }); + } + } + + + +})(jQuery); + + +// SOME ERROR MESSAGES IN CASE THE PLUGIN CAN NOT BE LOADED +function revslider_showDoubleJqueryError(sliderID) { + var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include."; + errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work."; + errorMessage += "

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true."; + errorMessage += "
    2. Find the double jquery.js include and remove it."; + errorMessage = "" + errorMessage + "" + jQuery(sliderID).show().html(errorMessage); +} + +/*! + * VERSION: beta 0.2.3 + * DATE: 2013-07-10 + * UPDATES AND DOCS AT: http://www.greensock.com + * + * @license Copyright (c) 2008-2013, GreenSock. All rights reserved. + * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use + * this code without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details. + * This work is subject to the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +(function(t){"use strict";var e=t.GreenSockGlobals||t,i=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},s=i("com.greensock.utils"),r=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===e||4===e)return t.nodeValue;return i},n=document,a=n.defaultView?n.defaultView.getComputedStyle:function(){},o=/([A-Z])/g,h=function(t,e,i,s){var r;return(i=i||a(t,null))?(t=i.getPropertyValue(e.replace(o,"-$1").toLowerCase()),r=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,r=i[e]),s?r:parseInt(r,10)||0},l=function(t){return t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0])?!0:!1},_=function(t){var e,i,s,r=[],n=t.length;for(e=0;n>e;e++)if(i=t[e],l(i))for(s=i.length,s=0;i.length>s;s++)r.push(i[s]);else r.push(i);return r},u=")eefec303079ad17405c",c=/(?:
||
)/gi,p=n.all&&!n.addEventListener,f="
":">")}},d=s.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=d.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?_(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},g=function(t,e,i,s,o){c.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(c,u));var l,_,p,f,d,g,v,y,T,w,b,x,P,S=r(t),C=e.type||e.split||"chars,words,lines",k=-1!==C.indexOf("lines")?[]:null,R=-1!==C.indexOf("words"),A=-1!==C.indexOf("chars"),D="absolute"===e.position||e.absolute===!0,O=D?"­ ":" ",M=-999,L=a(t),I=h(t,"paddingLeft",L),E=h(t,"borderBottomWidth",L)+h(t,"borderTopWidth",L),N=h(t,"borderLeftWidth",L)+h(t,"borderRightWidth",L),F=h(t,"paddingTop",L)+h(t,"paddingBottom",L),U=h(t,"paddingLeft",L)+h(t,"paddingRight",L),X=h(t,"textAlign",L,!0),z=t.clientHeight,B=t.clientWidth,j=S.length,Y="
",q=m(e.wordsClass),V=m(e.charsClass),Q=-1!==(e.linesClass||"").indexOf("++"),G=e.linesClass;for(Q&&(G=G.split("++").join("")),p=q(),f=0;j>f;f++)g=S.charAt(f),")"===g&&S.substr(f,20)===u?(p+=Y+"
",f!==j-1&&(p+=" "+q()),f+=19):" "===g&&" "!==S.charAt(f-1)&&f!==j-1?(p+=Y,f!==j-1&&(p+=O+q())):p+=A&&" "!==g?V()+g+"":g;for(t.innerHTML=p+Y,d=t.getElementsByTagName("*"),j=d.length,v=[],f=0;j>f;f++)v[f]=d[f];if(k||D)for(f=0;j>f;f++)y=v[f],_=y.parentNode===t,(_||D||A&&!R)&&(T=y.offsetTop,k&&_&&T!==M&&"BR"!==y.nodeName&&(l=[],k.push(l),M=T),D&&(y._x=y.offsetLeft,y._y=T,y._w=y.offsetWidth,y._h=y.offsetHeight),k&&(R!==_&&A||(l.push(y),y._x-=I),_&&f&&(v[f-1]._wordEnd=!0)));for(f=0;j>f;f++)y=v[f],_=y.parentNode===t,"BR"!==y.nodeName?(D&&(b=y.style,R||_||(y._x+=y.parentNode._x,y._y+=y.parentNode._y),b.left=y._x+"px",b.top=y._y+"px",b.position="absolute",b.display="block",b.width=y._w+1+"px",b.height=y._h+"px"),R?_?s.push(y):A&&i.push(y):_?(t.removeChild(y),v.splice(f--,1),j--):!_&&A&&(T=!k&&!D&&y.nextSibling,t.appendChild(y),T||t.appendChild(n.createTextNode(" ")),i.push(y))):k||D?(t.removeChild(y),v.splice(f--,1),j--):R||t.appendChild(y);if(k){for(D&&(w=n.createElement("div"),t.appendChild(w),x=w.offsetWidth+"px",T=w.offsetParent===t?0:t.offsetLeft,t.removeChild(w)),b=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(P=!D||!R&&!A,f=0;k.length>f;f++){for(l=k[f],w=n.createElement("div"),w.style.cssText="display:block;text-align:"+X+";position:"+(D?"absolute;":"relative;"),G&&(w.className=G+(Q?f+1:"")),o.push(w),j=l.length,d=0;j>d;d++)"BR"!==l[d].nodeName&&(y=l[d],w.appendChild(y),P&&(y._wordEnd||R)&&w.appendChild(n.createTextNode(" ")),D&&(0===d&&(w.style.top=y._y+"px",w.style.left=I+T+"px"),y.style.top="0px",T&&(y.style.left=y._x-T+"px")));R||A||(w.innerHTML=r(w).split(String.fromCharCode(160)).join(" ")),D&&(w.style.width=x,w.style.height=y._h+"px"),t.appendChild(w)}t.style.cssText=b}D&&(z>t.clientHeight&&(t.style.height=z-F+"px",z>t.clientHeight&&(t.style.height=z+E+"px")),B>t.clientWidth&&(t.style.width=B-U+"px",B>t.clientWidth&&(t.style.width=B+N+"px")))},v=d.prototype;v.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e=0;this.elements.length>e;e++)this._originals[e]=this.elements[e].innerHTML,g(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this},v.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},d.selector=t.$||t.jQuery||function(e){return t.$?(d.selector=t.$,t.$(e)):n?n.getElementById("#"===e.charAt(0)?e.substr(1):e):e}})(window||{}); diff --git a/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.3.6.min.js b/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.3.6.min.js new file mode 100644 index 00000000..433032d4 --- /dev/null +++ b/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.3.6.min.js @@ -0,0 +1,9 @@ + +/************************************************************************** + * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider + * @version: 4.3.6 (16.04.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: Put JS Includes To Body 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;ie(window).width())e(".tp-bullets").css({display:"none"});else e(".tp-bullets").css({display:"block"})}}catch(s){}n.find(".defaultimg").each(function(t){g(e(this),i)});var o=n.parent();if(e(window).width()ul >li:eq("+i.act+") .slotholder");var f=n.find(">ul >li:eq("+i.next+") .slotholder");S(n,i);f.find(".defaultimg").css({opacity:0});a.find(".defaultimg").css({opacity:1});f.find(".defaultimg").each(function(){var r=e(this);if(r.data("kenburn")!=t){r.data("kenburn").restart();D(n,i,true)}});var l=n.find(">ul >li:eq("+i.next+")");J(l,i,true);m(n,i)}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('
').appendTo(e("body"));r.html("");var i=r.find("a").length;r.remove();return i}function u(e,t){C(t,e)}function a(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+")");var o=i.find(".defaultimg").css("backgroundColor");if(i.data("thumb")!=t)var u=i.data("thumb");else var u=i.find("img:first").attr("src");s.append('
');var a=s.find(".bullet:first")});var a=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(aul:first >li").length;var h=s.parent().width();r.thumbWidth=a;if(hul:first >li").length;var a=u-s+15;var f=a/s;i=i-30;var c=0-i*f;if(c>0)c=0;if(c<0-u+s)c=0-u+s;l(t,c,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 c=0-i*f;if(c>0)c=0;if(c<0-u+s)c=0-u+s;l(t,c,0)});s.parent().mouseleave(function(){var t=e(this);t.removeClass("over");f(n)})}}function f(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 c=0-s;if(c>0)c=0;if(c<0-u+o)c=0-u+o;if(!n.hasClass("over")){l(n,c,200)}}function l(e,t,n){TweenLite.to(e.find(".tp-thumbcontainer"),.2,{left:t,ease:Power3.easeOut,overwrite:"auto"})}function c(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()}u(n,t)}})});r.append('
');m(t,n)}function h(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)u(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;u(n,e)}});m(e,n)}function p(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)u(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;u(r,n)}});m(n,r)}function d(t,n){if(n.touchenabled=="on"){var r=Hammer(t,{drag_block_vertical:n.drag_block_vertical,drag_lock_to_axis:true,swipe_velocity:n.swipe_velocity,swipe_max_touches:n.swipe_max_touches,swipe_min_touches:n.swipe_min_touches,prevent_default:false});r.on("swipeleft",function(){if(n.transition==0){n.next=n.next+1;if(n.next==n.slideamount)n.next=0;u(n,t)}});r.on("swiperight",function(){if(n.transition==0){n.next=n.next-1;n.leftarrowpressed=1;if(n.next<0)n.next=n.slideamount-1;u(n,t)}});r.on("swipeup",function(){e("html, body").animate({scrollTop:t.offset().top+t.height()+"px"})});r.on("swipedown",function(){e("html, body").animate({scrollTop:t.offset().top-e(window).height()+"px"})})}}function v(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");if(s()){e.hammer().on("touch",function(){e.addClass("hovered");if(t.onHoverStop=="on")e.trigger("stoptimer");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")});e.hammer().on("release",function(){e.removeClass("hovered");e.trigger("playtimer");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows");e.trigger("playtimer")},t.hideNavDelayOnMobile))})}else{n.hover(function(){t.overnav=true;if(t.onHoverStop=="on")e.trigger("stoptimer");n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=false;e.trigger("playtimer");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(){t.overnav=true;if(t.onHoverStop=="on")e.trigger("stoptimer");n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=false;e.trigger("playtimer");n.removeClass("hovered")});e.on("mouseenter",function(){e.addClass("hovered");if(t.onHoverStop=="on")e.trigger("stoptimer");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")});e.on("mouseleave",function(){e.removeClass("hovered");e.trigger("playtimer");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))})}}function m(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 g(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.bh1){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(sul: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=60;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{g(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('')}i.css({opacity:0});i.data("li-id",n)})}function b(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");g(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 y=u.data("bgrepeat");var b=u.data("bgposition");if(m==t)m="cover";if(y==t)y="no-repeat";if(b==t)b="center center";if(o(8)){s.data("kenburns","off")}if(s.data("kenburns")=="on"){m=a;if(m.toString().length<4)m=H(m,s,n)}if(o(8)){var w=l;l=""}if(i=="horizontal"){if(!r)var v=0-n.slotw;for(var S=0;S'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('');E(s,n)}}}else{if(!r)var v=0-n.sloth;for(var S=0;S'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('');E(s,n)}}}}function w(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;g(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 y=0;var b=0;var w=s.data("bgfit");var S=s.data("bgrepeat");var x=s.data("bgposition");if(w==t)w="cover";if(S==t)S="no-repeat";if(x==t)x="center center";if(i.data("kenburns")=="on"){w=u;if(w.toString().length<4)w=H(w,i,n)}for(var T=0;T'+'
'+'
'+"
");b=b+m;if(o(8)){i.find(".slot ").last().find(".slotslide").append('');E(i,n)}if(u!=t&&a!=t)TweenLite.set(i.find(".slot").last(),{rotationZ:a})}y=y+m}}function E(e,t){if(o(8)){var n=e.find(".ieeightfallbackimage");var r=n.width(),i=n.height();if(t.startwidth/t.startheightul: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 u=s.find(".defaultimg");n.bannertimeronpause=true;e.trigger("stoptimer");n.cd=0;if(u.data("lazyload")!=t&&u.data("lazyload")!="undefined"&&u.data("lazydone")!=1){if(!o(8))u.css({backgroundImage:'url("'+s.find(".defaultimg").data("lazyload")+'")'});else{u.attr("src",s.find(".defaultimg").data("lazyload"))}u.data("src",s.find(".defaultimg").data("lazyload"));u.data("lazydone",1);u.data("orgw",0);s.data("loadeddone",1);TweenLite.set(e.find(".tp-loader"),{display:"block",opacity:0});TweenLite.to(e.find(".tp-loader"),.3,{autoAlpha:1});N(s,function(){k(n,u,e)},n)}else{if(s.data("loadeddone")===t){s.data("loadeddone",1);N(s,function(){k(n,u,e)},n)}else k(n,u,e)}}function k(e,t,n){e.bannertimeronpause=false;e.cd=0;n.trigger("nulltimer");TweenLite.to(n.find(".tp-loader"),.3,{autoAlpha:0});g(t,e);m(n,e);g(t,e);L(n,e)}function L(n,r){function x(){e.each(v,function(e,t){if(t[0]==p||t[8]==p){l=t[1];d=t[2];y=E}E=E+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"){_(n,r);TweenLite.set(n.find(".kenburnimg img"),{autoAlpha:0})}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}n.trigger("restarttimer");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(r.parallax=="scroll"&&r.parallaxFirstGo==t){r.parallaxFirstGo=true;M(n,r);setTimeout(function(){M(n,r)},210);setTimeout(function(){M(n,r)},420)}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 E=0;var S=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]}if(r.isJoomla==true&&p==16){p=Math.round(Math.random()*g.length-2)+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];E=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");S=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){Y(i,r)}J(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+S[4];if((l==4||l==5||l==6)&&r.slots<3)r.slots=3;if(S[3]!=0)r.slots=Math.min(r.slots,S[3]);if(l==9)r.slots=r.width/20;if(l==10)r.slots=r.height/20;if(S[5]=="box"){if(S[7]!=null)w(a,r,S[7]);if(S[6]!=null)w(f,r,S[6])}else if(S[5]=="vertical"||S[5]=="horizontal"){if(S[7]!=null)b(a,r,S[7],S[5]);if(S[6]!=null)b(f,r,S[6],S[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 k=0;f.find(".slotslide").each(function(t){var s=e(this);k=k+1;if(k==C)k=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+k*30)/1500,ease:Power2.easeOut,onComplete:function(){if(t==r.slots*r.slots-1){q(n,r,f,a,u,i)}}})})}if(l==1){f.find(".defaultimg").css({opacity:0});var L;f.find(".slotslide").each(function(t){var n=e(this);rand=Math.random()*N+300;rand2=Math.random()*500+200;if(rand+rand2>L)L=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(){q(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(){q(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(){q(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(){q(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(){q(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 A=N/1e3;var O=A;a.find(".slotslide").each(function(t){var n=e(this);var i=t*A/r.slots;if(l==5)i=(r.slots-t-1)*A/r.slots/1.5;TweenLite.to(n,A*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*A/r.slots;if(l==5)o=(r.slots-t-1)*A/r.slots/1.5;TweenLite.fromTo(s,A*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){q(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');i.find(".tp-half-one").clone(true).appendTo(i).addClass("tp-half-two");i.find(".tp-half-two").removeClass("tp-half-one");var P=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:P,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:P,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 Z=Math.round(Math.random()*20-10);var et=Math.random()*.4-.2;var tt=Math.random()*.4-.2;var nt=Math.random()*1+1;var rt=Math.random()*1+1;TweenLite.fromTo(i.find(".tp-half-one"),N/1e3,{width:P,height:H/2,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"},{scale:nt,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:P,height:H,overflow:"hidden",position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"},{scale:rt,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*et,y:H*tt,rotation:Z,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)q(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)q(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 it=u.css("z-index");var st=i.css("z-index");var ot=90;var I=1;if(T==1)ot=-90;if(l==19){var ut="center center -"+r.height/2;I=0}else{var ut="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:ut,rotationX:ot},{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)q(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:ut,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)q(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 it=u.css("z-index");var st=i.css("z-index");if(T==1){var at=-r.width;var ot=70;var ut="left center -"+r.height/2}else{var at=r.width;var ot=-70;var ut="right center -"+r.height/2}f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1500,{left:at,rotationX:40,z:-600,opacity:I,top:0,transformPerspective:600,transformOrigin:ut,rotationY:ot},{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:ut,rotationY:ot},{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)q(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)q(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 it=u.css("z-index");var st=i.css("z-index");if(T==1){var at=-r.width;var ot=110;if(l==25){var ut="center top 0";rot2=-ot;ot=r.rotate}else{var ut="left center 0";rot2=r.rotate}}else{var at=r.width;var ot=-110;if(l==25){var ut="center bottom 0";rot2=-ot;ot=r.rotate}else{var ut="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:ut,rotationY:ot},{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)q(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 at=-r.width;var ot=90;if(l==25){var ut="center top 0";rot2=-ot;ot=r.rotate}else{var ut="left center 0";rot2=r.rotate}}else{var at=r.width;var ot=-90;if(l==25){var ut="center bottom 0";rot2=-ot;ot=r.rotate}else{var ut="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:ut,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,scale:1,rotationY:ot,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 it=u.css("z-index");var st=i.css("z-index");var ot=-90;if(T==1)ot=90;var I=1;if(l==23){var ut="center center -"+r.width/2;I=0}else{var ut="center center "+r.width/2}var ft=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:ft,rotationX:r.rotate,opacity:I,top:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:ot},{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)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/3e3})});ot=90;if(T==1)ot=-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:ut,rotationY:0},{left:ft,opacity:1,rotationX:r.rotate,top:0,scale:1,rotationY:ot,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}var lt={};lt.slideIndex=r.next+1;n.trigger("revolution.slide.onchange",lt);setTimeout(function(){n.trigger("revolution.slide.onafterswap")},N);n.trigger("revolution.slide.onvideostop")}function A(e,t){}function O(t,n){t.find(">ul:first-child >li").each(function(){var t=e(this);for(var r=0;r<10;r++)t.find(".rs-parallaxlevel-"+r).wrapAll('
')});if(n.parallax=="mouse"||n.parallax=="scroll+mouse"||n.parallax=="mouse+scroll"){t.on("mousemove.hoverdir, mouseleave.hoverdir",function(n){switch(n.type){case"mousemove":var r=t.offset().top,i=t.offset().left,s=r+t.height()/2,o=i+t.width()/2,u=o-n.pageX,a=s-n.pageY;e(".tp-parallax-container").each(function(){var t=e(this),n=parseInt(t.data("parallaxlevel"),0)/100,r=u*n,i=a*n;TweenLite.to(t,.2,{x:r,y:i,ease:Power3.easeOut})});break;case"mouseleave":e(".tp-parallax-container").each(function(){var t=e(this);TweenLite.to(t,.4,{x:0,y:0,ease:Power3.easeOut})});break}});if(s())window.ondeviceorientation=function(n){var r=Math.round(n.beta||0),i=Math.round(n.gamma||0),s=360/t.width()*i,o=180/t.height()*r;e(".tp-parallax-container").each(function(){var t=e(this),n=parseInt(t.data("parallaxlevel"),0)/100,r=s*n,i=o*n;TweenLite.to(t,.2,{x:r,y:i,ease:Power3.easeOut})})}}if(n.parallax=="scroll"||n.parallax=="scroll+mouse"||n.parallax=="mouse+scroll"){e(window).on("scroll",function(e){M(t,n)})}}function M(t,n){var r=t.offset().top,i=e(window).scrollTop(),s=r+t.height()/2,o=r+t.height()/2-i,u=e(window).height()/2,a=u-o;if(sul: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 D(n,r,i){try{var s=n.find(">ul:first-child >li:eq("+r.act+")")}catch(u){var s=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var a=n.find(">ul:first-child >li:eq("+r.next+")");var f=s.find(".slotholder");var l=a.find(".slotholder");var c=l.data("bgposition"),h=l.data("bgpositionend"),p=l.data("zoomstart")/100,d=l.data("zoomend")/100,v=l.data("rotationstart"),m=l.data("rotationend"),g=l.data("bgfit"),y=l.data("bgfitend"),b=l.data("easeme"),w=l.data("duration")/1e3,E=100;if(g==t)g=100;if(y==t)y=100;g=H(g,l,r);y=H(y,l,r);E=H(100,l,r);if(p==t)p=1;if(d==t)d=1;if(v==t)v=0;if(m==t)m=0;if(p<1)p=1;if(d<1)d=1;var S=new Object;S.w=parseInt(E.split(" ")[0],0),S.h=parseInt(E.split(" ")[1],0);l.find(".defaultimg").each(function(){var t=e(this);if(l.find(".kenburnimg").length==0)l.append('
');var n=l.find(".kenburnimg img");var i=P(r,c,g,n),s=P(r,h,y,n);t.data("kenburn",TweenLite.fromTo(n,w,{autoAlpha:1,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y},{autoAlpha:1,rotationZ:m,ease:b,x:s.x,y:s.y,scale:s.w,onUpdate:function(){var e=n[0]._gsTransform.scaleX;var i=e*n.width()-r.width,s=e*n.height()-r.height,u=Math.abs(n[0]._gsTransform.x/i*100),a=Math.abs(n[0]._gsTransform.y/s*100);t.data("bgposition",u+"% "+a+"%");if(!o(8))t.data("currotate",I(n));if(!o(8))t.data("curscale",S.w*e+"% "+(S.h*e+"%"));TweenLite.set(t,{rotation:t.data("currotate"),backgroundPosition:t.data("bgposition"),backgroundSize:t.data("curscale")})}}))})}function P(e,t,n,r){var i=new Object;i.w=parseInt(n.split(" ")[0],0)/100;switch(t){case"left top":case"top left":i.x=0;i.y=0;break;case"center top":case"top center":i.x=((0-r.width())*i.w+e.width)/2;i.y=0;break;case"top right":case"right top":i.x=(0-r.width())*i.w+e.width;i.y=0;break;case"center left":case"left center":i.x=0;i.y=((0-r.height())*i.w+e.height)/2;break;case"center center":i.x=((0-r.width())*i.w+e.width)/2;i.y=((0-r.height())*i.w+e.height)/2;break;case"center right":case"right center":i.x=(0-r.width())*i.w+e.width;i.y=((0-r.height())*i.w+e.height)/2;break;case"bottom left":case"left bottom":i.x=0;i.y=(0-r.height())*i.w+e.height;break;case"bottom center":case"center bottom":i.x=((0-r.width())*i.w+e.width)/2;i.y=(0-r.height())*i.w+e.height;break;case"bottom right":case"right bottom":i.x=(0-r.width())*i.w+e.width;i.y=(0-r.height())*i.w+e.height;break}return i}function H(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 B(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 j(e){return e.replace(/^matrix(3d)?\((.*)\)$/,"$2").split(/, /)}function F(e){var t=j(B(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 I(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 q(e,t,n,r,i,s){S(e,t);n.find(".defaultimg").css({opacity:1});if(i.index()!=s.index())r.find(".defaultimg").css({opacity:0});t.act=t.next;f(e);if(n.data("kenburns")=="on")D(e,t)}function R(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");if(r.closest(".tp-caption").data("volume")=="mute")s.mute();u.videoplaying=true;i.trigger("stoptimer");i.trigger("revolution.slide.onvideoplay")}else{var o=i.find(".tp-bannertimer");var u=o.data("opt");if(t.data!=-1){u.videoplaying=false;i.trigger("playtimer");i.trigger("revolution.slide.onvideostop")}}if(t.data==0&&u.nextslideatend==true)u.container.revnext()}function U(e,t,n){if(e.addEventListener)e.addEventListener(t,n,false);else e.attachEvent(t,n,false)}function z(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");n.videoplaying=true;s.trigger("stoptimer");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");n.videoplaying=false;s.trigger("playtimer");s.trigger("revolution.slide.onvideoplay");if(n.nextslideatend==true)n.container.revnext()});r.addEvent("pause",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");n.videoplaying=false;s.trigger("playtimer");s.trigger("revolution.slide.onvideostop")})})}function W(e,t){var n=t.width();var r=t.height();var i=e.data("mediaAspect");var s=n/r;e.css({position:"absolute"});var o=e.find("video");if(s0||l.find("video").length>0){if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true"){l.data("autoplay",true)}l.find("iframe").each(function(){var n=e(this);if(s()){var o=n.attr("src");n.attr("src","");n.attr("src",o)}r.nextslideatend=l.data("nextslideatend");if(l.data("thumbimage")!=t&&l.data("thumbimage").length>2&&l.data("autoplay")!=true&&!i){l.find(".tp-thumb-image").remove();l.append('
')}if(n.attr("src").toLowerCase().indexOf("youtube")>=0){if(!n.hasClass("HasListener")){try{n.attr("id",h);var u;var a=setInterval(function(){if(YT!=t)if(typeof YT.Player!=t&&typeof YT.Player!="undefined"){if(l.data("autoplay")==true){u=new YT.Player(h,{events:{onStateChange:R,onReady:function(e){e.target.playVideo()}}})}else u=new YT.Player(h,{events:{onStateChange:R}});n.addClass("HasListener");l.data("player",u);clearInterval(a)}},100)}catch(f){}}else{if(l.data("autoplay")==true){var u=l.data("player");l.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on")u.seekTo(0);u.playVideo()},l.data("start")))}}l.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}});var t=l.data("player");t.playVideo()})}else{if(n.attr("src").toLowerCase().indexOf("vimeo")>=0){if(!n.hasClass("HasListener")){n.addClass("HasListener");n.attr("id",h);var c=n.attr("src");var p={},d=c,v=/([^&=]+)=([^&]*)/g,m;while(m=v.exec(d)){p[decodeURIComponent(m[1])]=decodeURIComponent(m[2])}if(p["player_id"]!=t)c=c.replace(p["player_id"],h);else c=c+"&player_id="+h;try{c=c.replace("api=0","api=1")}catch(f){}c=c+"&api=1";n.attr("src",c);var u=l.find("iframe")[0];var g=setInterval(function(){if($f!=t)if(typeof $f(h).api!=t&&typeof $f(h).api!="undefined"){$f(u).addEvent("ready",function(){z(h,l.data("autoplay"))});clearInterval(g)}},100)}else{if(l.data("autoplay")==true){var n=l.find("iframe");var y=n.attr("id");var g=setInterval(function(){if($f!=t)if(typeof $f(y).api!=t&&typeof $f(y).api!="undefined"){var e=$f(y);l.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on")e.api("seekTo",0);e.api("play")},l.data("start")));clearInterval(g)}},100)}}l.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}});var n=l.find("iframe");var r=n.attr("id");var i=setInterval(function(){if($f!=t)if(typeof $f(r).api!=t&&typeof $f(r).api!="undefined"){var e=$f(r);e.api("play");clearInterval(i)}},100)})}}});if(l.find("video").length>0){l.find("video").each(function(n){var i=e(this);var s=this;if(!i.parent().hasClass("html5vid")){i.wrap('
')}var o=e(this).parent();if(s.addEventListener)s.addEventListener("loadedmetadata",function(){o.data("metaloaded",1)});else s.attachEvent("loadedmetadata",function(){o.data("metaloaded",1)});if(!i.hasClass("HasListener")){i.addClass("HasListener");s.addEventListener("play",function(){o.addClass("videoisplaying");o.find(".tp-poster").remove();if(l.data("volume")=="mute")s.muted=true;r.container.trigger("revolution.slide.onvideoplay");r.videoplaying=true;r.container.trigger("stoptimer")});s.addEventListener("pause",function(){o.removeClass("videoisplaying");r.videoplaying=false;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop")});s.addEventListener("ended",function(){o.removeClass("videoisplaying");r.videoplaying=false;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop");if(r.nextslideatend==true)r.container.revnext()})}if(i.attr("poster")!=t&&o.find(".tp-poster").length==0)o.append('
');if(i.attr("control")==t&&o.find(".tp-video-play-button").length==0){o.append('
');o.find(".tp-video-play-button").click(function(){if(o.hasClass("videoisplaying"))s.pause();else s.play()})}if(i.attr("control")==t){o.find("video, .tp-poster").click(function(){if(o.hasClass("videoisplaying"))s.pause();else s.play()})}if(l.data("forcecover")==1){W(o,r.container);o.addClass("fullcoveredvideo");l.addClass("fullcoveredvideo")}if(l.data("forcecover")==1||l.hasClass("fullscreenvideo")){o.css({width:"100%",height:"100%"})}var u=false;if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true")u=true;clearInterval(o.data("interval"));o.data("interval",setInterval(function(){if(o.data("metaloaded")==1||s.duration!=NaN){clearInterval(o.data("interval"));if(l.data("dottedoverlay")!="none"&&l.data("dottedoverlay")!=t)if(l.find(".tp-dottedoverlay").length!=1)o.append('
');var n=16/9;if(l.data("aspectratio")=="4:3")n=4/3;o.data("mediaAspect",n);if(o.closest(".tp-caption").data("forcecover")==1){W(o,r.container);o.addClass("fullcoveredvideo")}i.css({display:"block"});r.nextslideatend=l.data("nextslideatend");if(l.data("autoplay")==true||u==true){var a=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){r.videoplaying=true;r.container.trigger("stoptimer")},200);if(l.data("forcerewind")=="on"&&!o.hasClass("videoisplaying"))if(s.currentTime>0)s.currentTime=0;if(l.data("volume")=="mute")s.muted=true;o.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on"&&!o.hasClass("videoisplaying"))if(s.currentTime>0)s.currentTime=0;if(l.data("volume")=="mute")s.muted=true;setTimeout(function(){s.play()},500)},10+l.data("start")))}if(o.data("ww")==t)o.data("ww",i.attr("width"));if(o.data("hh")==t)o.data("hh",i.attr("height"));if(!l.hasClass("fullscreenvideo")&&l.data("forcecover")==1){try{o.width(o.data("ww")*r.bw);o.height(o.data("hh")*r.bh)}catch(f){}}clearInterval(o.data("interval"))}}),100)})}if(l.data("autoplay")==true){var p=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){r.videoplaying=true;r.container.trigger("stoptimer")},200);r.videoplaying=true;r.container.trigger("stoptimer");if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true"){l.data("autoplay",false);l.data("autoplayonlyfirsttime",false)}}}var d=0;var v=0;if(l.find("img").length>0){var m=l.find("img");if(m.data("ww")==t)m.data("ww",m.width());if(m.data("hh")==t)m.data("hh",m.height());var g=m.data("ww");var y=m.data("hh");m.width(g*r.bw);m.height(y*r.bh);d=m.width();v=m.height()}else{if(l.find("iframe").length>0||l.find("video").length>0){var b=false;var m=l.find("iframe");if(m.length==0){m=l.find("video");b=true}m.css({display:"block"});if(l.data("ww")==t)l.data("ww",m.width());if(l.data("hh")==t)l.data("hh",m.height());var g=l.data("ww");var y=l.data("hh");var w=l;if(w.data("fsize")==t)w.data("fsize",parseInt(w.css("font-size"),0)||0);if(w.data("pt")==t)w.data("pt",parseInt(w.css("paddingTop"),0)||0);if(w.data("pb")==t)w.data("pb",parseInt(w.css("paddingBottom"),0)||0);if(w.data("pl")==t)w.data("pl",parseInt(w.css("paddingLeft"),0)||0);if(w.data("pr")==t)w.data("pr",parseInt(w.css("paddingRight"),0)||0);if(w.data("mt")==t)w.data("mt",parseInt(w.css("marginTop"),0)||0);if(w.data("mb")==t)w.data("mb",parseInt(w.css("marginBottom"),0)||0);if(w.data("ml")==t)w.data("ml",parseInt(w.css("marginLeft"),0)||0);if(w.data("mr")==t)w.data("mr",parseInt(w.css("marginRight"),0)||0);if(w.data("bt")==t)w.data("bt",parseInt(w.css("borderTop"),0)||0);if(w.data("bb")==t)w.data("bb",parseInt(w.css("borderBottom"),0)||0);if(w.data("bl")==t)w.data("bl",parseInt(w.css("borderLeft"),0)||0);if(w.data("br")==t)w.data("br",parseInt(w.css("borderRight"),0)||0);if(w.data("lh")==t)w.data("lh",parseInt(w.css("lineHeight"),0)||0);var E=r.width;var S=r.height;if(E>r.startwidth)E=r.startwidth;if(S>r.startheight)S=r.startheight;if(!l.hasClass("fullscreenvideo"))l.css({"font-size":w.data("fsize")*r.bw+"px","padding-top":w.data("pt")*r.bh+"px","padding-bottom":w.data("pb")*r.bh+"px","padding-left":w.data("pl")*r.bw+"px","padding-right":w.data("pr")*r.bw+"px","margin-top":w.data("mt")*r.bh+"px","margin-bottom":w.data("mb")*r.bh+"px","margin-left":w.data("ml")*r.bw+"px","margin-right":w.data("mr")*r.bw+"px","border-top":w.data("bt")*r.bh+"px","border-bottom":w.data("bb")*r.bh+"px","border-left":w.data("bl")*r.bw+"px","border-right":w.data("br")*r.bw+"px","line-height":w.data("lh")*r.bh+"px",height:y*r.bh+"px"});else{o=0;u=0;l.data("x",0);l.data("y",0);var x=r.height;if(r.autoHeight=="on")x=r.container.height();l.css({width:r.width,height:x})}if(b==false){m.width(g*r.bw);m.height(y*r.bh)}else if(l.data("forcecover")!=1&&!l.hasClass("fullscreenvideo")){m.width(g*r.bw);m.height(y*r.bh)}d=m.width();v=m.height()}else{l.find(".tp-resizeme, .tp-resizeme *").each(function(){G(e(this),r)});if(l.hasClass("tp-resizeme")){l.find("*").each(function(){G(e(this),r)})}G(l,r);v=l.outerHeight(true);d=l.outerWidth(true);var T=l.outerHeight();var N=l.css("backgroundColor");l.find(".frontcorner").css({borderWidth:T+"px",left:0-T+"px",borderRight:"0px solid transparent",borderTopColor:N});l.find(".frontcornertop").css({borderWidth:T+"px",left:0-T+"px",borderRight:"0px solid transparent",borderBottomColor:N});l.find(".backcorner").css({borderWidth:T+"px",right:0-T+"px",borderLeft:"0px solid transparent",borderBottomColor:N});l.find(".backcornertop").css({borderWidth:T+"px",right:0-T+"px",borderLeft:"0px solid transparent",borderTopColor:N})}}if(r.fullScreenAlignForce=="on"){o=0;u=0}if(l.data("voffset")==t)l.data("voffset",0);if(l.data("hoffset")==t)l.data("hoffset",0);var C=l.data("voffset")*a;var k=l.data("hoffset")*a;var L=r.startwidth*a;var A=r.startheight*a;if(r.fullScreenAlignForce=="on"){L=r.container.width();A=r.container.height()}if(l.data("x")=="center"||l.data("xcenter")=="center"){l.data("xcenter","center");l.data("x",L/2-l.outerWidth(true)/2+k)}if(l.data("x")=="left"||l.data("xleft")=="left"){l.data("xleft","left");l.data("x",0/a+k)}if(l.data("x")=="right"||l.data("xright")=="right"){l.data("xright","right");l.data("x",(L-l.outerWidth(true)+k)/a)}if(l.data("y")=="center"||l.data("ycenter")=="center"){l.data("ycenter","center");l.data("y",A/2-l.outerHeight(true)/2+C)}if(l.data("y")=="top"||l.data("ytop")=="top"){l.data("ytop","top");l.data("y",0/r.bh+C)}if(l.data("y")=="bottom"||l.data("ybottom")=="bottom"){l.data("ybottom","bottom");l.data("y",(A-l.outerHeight(true)+C)/a)}if(l.data("start")==t)l.data("start",1e3);var O=l.data("easing");if(O==t)O="Power1.easeOut";var M=l.data("start")/1e3;var _=l.data("speed")/1e3;if(l.data("x")=="center"||l.data("xcenter")=="center")var D=l.data("x")+o;else{var D=a*l.data("x")+o}if(l.data("y")=="center"||l.data("ycenter")=="center")var P=l.data("y")+u;else{var P=r.bh*l.data("y")+u}TweenLite.set(l,{top:P,left:D,overwrite:"auto"});if(!i){if(l.data("timeline")!=t)l.data("timeline").clear();function H(){setTimeout(function(){l.css({transform:"none","-moz-transform":"none","-webkit-transform":"none"})},100)}function B(){l.data("timer",setTimeout(function(){if(l.hasClass("fullscreenvideo"))l.css({display:"block"})},l.data("start")))}var j=new TimelineLite({smoothChildTiming:true,onStart:B});if(r.fullScreenAlignForce=="on"){}var F=l;if(l.data("mySplitText")!=t)l.data("mySplitText").revert();if(l.data("splitin")=="chars"||l.data("splitin")=="words"||l.data("splitin")=="lines"||l.data("splitout")=="chars"||l.data("splitout")=="words"||l.data("splitout")=="lines"){if(l.find("a").length>0)l.data("mySplitText",new SplitText(l.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"}));else l.data("mySplitText",new SplitText(l,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"}));l.addClass("splitted")}if(l.data("splitin")=="chars")F=l.data("mySplitText").chars;if(l.data("splitin")=="words")F=l.data("mySplitText").words;if(l.data("splitin")=="lines")F=l.data("mySplitText").lines;var I=X();var q=X();if(l.data("repeat")!=t)repeatV=l.data("repeat");if(l.data("yoyo")!=t)yoyoV=l.data("yoyo");if(l.data("repeatdelay")!=t)repeatdelayV=l.data("repeatdelay");if(l.hasClass("customin"))I=V(I,l.data("customin"));else if(l.hasClass("randomrotate")){I.scale=Math.random()*3+1;I.rotation=Math.round(Math.random()*200-100);I.x=Math.round(Math.random()*200-100);I.y=Math.round(Math.random()*200-100)}else if(l.hasClass("lfr")||l.hasClass("skewfromright"))I.x=15+r.width;else if(l.hasClass("lfl")||l.hasClass("skewfromleft"))I.x=-15-d;else if(l.hasClass("sfl")||l.hasClass("skewfromleftshort"))I.x=-50;else if(l.hasClass("sfr")||l.hasClass("skewfromrightshort"))I.x=50;else if(l.hasClass("lft"))I.y=-25-v;else if(l.hasClass("lfb"))I.y=25+r.height;else if(l.hasClass("sft"))I.y=-50;else if(l.hasClass("sfb"))I.y=50;if(l.hasClass("skewfromright")||l.hasClass("skewfromrightshort"))I.skewX=-85;else if(l.hasClass("skewfromleft")||l.hasClass("skewfromleftshort"))I.skewX=85;if(l.hasClass("fade")||l.hasClass("sft")||l.hasClass("sfl")||l.hasClass("sfb")||l.hasClass("skewfromleftshort")||l.hasClass("sfr")||l.hasClass("skewfromrightshort"))I.opacity=0;if(K().toLowerCase()=="safari"){I.rotationX=0;I.rotationY=0}var U=l.data("elementdelay")==t?0:l.data("elementdelay");q.ease=I.ease=l.data("easing")==t?Power1.easeInOut:l.data("easing");I.data=new Object;I.data.oldx=I.x;I.data.oldy=I.y;q.data=new Object;q.data.oldx=q.x;q.data.oldy=q.y;I.x=I.x*a;I.y=I.y*a;var J=new TimelineLite;if(l.hasClass("customin")){if(F!=l)j.add(TweenLite.set(l,{opacity:1,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:0,overwrite:"all"}));I.visibility="hidden";q.visibility="visible";q.overwrite="all";q.opacity=1;q.onComplete=H();q.delay=M;j.add(J.staggerFromTo(F,_,I,q,U),"frame0")}else{I.visibility="visible";I.transformPerspective=600;if(F!=l)j.add(TweenLite.set(l,{opacity:1,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:0,overwrite:"all"}));q.visibility="visible";q.delay=M;q.onComplete=H();q.opacity=1;if(l.hasClass("randomrotate")&&F!=l){for(var n=0;n0){var n=$(t);Z(l,r,n,"frame"+(e+10),a)}})}j=l.data("timeline");if(l.data("end")!=t){et(l,r,l.data("end")/1e3,I,"frame99",a)}else{et(l,r,999999,I,"frame99",a)}j=l.data("timeline");l.data("timeline",j);l.find(".rs-pendulum").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("startdeg")==t?-20:n.data("startdeg"),i=n.data("enddeg")==t?20:n.data("enddeg");speed=n.data("speed")==t?2:n.data("speed"),origin=n.data("origin")==t?"50% 50%":n.data("origin"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{rotation:r,transformOrigin:origin},{rotation:i,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{rotation:i,transformOrigin:origin},{rotation:r,ease:easing,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-slideloop").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("xs")==t?0:n.data("xs"),i=n.data("ys")==t?0:n.data("ys");xe=n.data("xe")==t?0:n.data("xe"),ye=n.data("ye")==t?0:n.data("ye"),speed=n.data("speed")==t?2:n.data("speed"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{x:r,y:i},{x:xe,y:ye,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{x:xe,y:ye},{x:r,y:i,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-pulse").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("zoomstart")==t?0:n.data("zoomstart"),i=n.data("zoomend")==t?0:n.data("zoomend");speed=n.data("speed")==t?2:n.data("speed"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{scale:r},{scale:i,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{scale:i},{scale:r,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-wave").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("angle")==t?10:n.data("angle"),i=n.data("radius")==t?10:n.data("radius"),s=n.data("speed")==t?-20:n.data("speed"),o=n.data("origin")==t?-20:n.data("origin"),u={a:0,ang:r,element:n,unit:i};n.data("timeline").append(new TweenLite.fromTo(u,s,{a:360},{a:0,ease:Linear.easeNone,onUpdate:function(){var e=u.a*(Math.PI/180);TweenLite.to(u.element,.1,{x:Math.cos(e)*u.unit,y:u.unit*(1-Math.sin(e))})},onComplete:function(){n.data("timeline").restart()}}))}})}}if(i){if(l.data("timeline")!=t){var it=l.data("timeline").getTweensOf();e.each(it,function(e,n){if(n.vars.data!=t){var r=n.vars.data.oldx*a;var i=n.vars.data.oldy*a;if(n.progress()!=1&&n.progress()!=0){try{n.vars.x=r;n.vary.y=i}catch(s){}}else{if(n.progress()==1){TweenLite.set(n.target,{x:r,y:i})}}}})}}});var a=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");a.data("opt",r)}function K(){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 Q(){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 G(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("ls")==t)e.data("ls",parseInt(e.css("letterSpacing"),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"));if(!e.hasClass("tp-splitted")){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",letterSpacing:Math.floor(e.data("ls")*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",minWidth:e.data("minwidth")*n.bw+"px",minHeight:e.data("minheight")*n.bh+"px",overwrite:"auto"});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 Y(t,n){t.find(".tp-caption").each(function(t){var n=e(this);if(n.find("iframe").length>0){try{var r=n.find("iframe");var i=r.attr("id");var s=$f(i);s.api("pause");clearTimeout(n.data("timerplay"))}catch(o){}try{var u=n.data("player");u.stopVideo();clearTimeout(n.data("timerplay"))}catch(o){}}if(n.find("video").length>0){try{n.find("video").each(function(t){var n=e(this).parent();var r=n.attr("id");clearTimeout(n.data("timerplay"));var i=this;i.pause()})}catch(o){}}try{var a=n.data("timeline");var f=a.getLabelTime("frame99");var l=a.time();if(f>l){var c=a.getTweensOf(n);e.each(c,function(e,t){if(e!=0)t.pause()});if(n.css("opacity")!=0)a.play("frame99");else a.progress(1,false)}}catch(o){}})}function Z(e,n,r,i,s){var o=e.data("timeline");var u=new TimelineLite;var a=e;if(r.typ=="chars")a=e.data("mySplitText").chars;else if(r.typ=="words")a=e.data("mySplitText").words;else if(r.typ=="lines")a=e.data("mySplitText").lines;r.animation.ease=r.ease;if(r.animation.rotationZ!=t)r.animation.rotation=r.animation.rotationZ;r.animation.data=new Object;r.animation.data.oldx=r.animation.x;r.animation.data.oldy=r.animation.y;r.animation.x=r.animation.x*s;r.animation.y=r.animation.y*s;o.add(u.staggerTo(a,r.speed,r.animation,r.elementdelay),r.start);o.addLabel(i,r.start);e.data("timeline",o)}function et(e,n,r,i,s,o){var u=e.data("timeline");var a=new TimelineLite;var f=X();var l=e.data("endspeed")==t?e.data("speed"):e.data("endspeed");f.ease=e.data("endeasing")==t?Power1.easeInOut:e.data("endeasing");l=l/1e3;if(e.hasClass("ltr")||e.hasClass("ltl")||e.hasClass("str")||e.hasClass("stl")||e.hasClass("ltt")||e.hasClass("ltb")||e.hasClass("stt")||e.hasClass("stb")||e.hasClass("skewtoright")||e.hasClass("skewtorightshort")||e.hasClass("skewtoleft")||e.hasClass("skewtoleftshort")||e.hasClass("fadeout")||e.hasClass("randomrotateout")){if(e.hasClass("skewtoright")||e.hasClass("skewtorightshort"))f.skewX=35;else if(e.hasClass("skewtoleft")||e.hasClass("skewtoleftshort"))f.skewX=-35;if(e.hasClass("ltr")||e.hasClass("skewtoright"))f.x=n.width+60;else if(e.hasClass("ltl")||e.hasClass("skewtoleft"))f.x=0-(n.width+60);else if(e.hasClass("ltt"))f.y=0-(n.height+60);else if(e.hasClass("ltb"))f.y=n.height+60;else if(e.hasClass("str")||e.hasClass("skewtorightshort")){f.x=50;f.opacity=0}else if(e.hasClass("stl")||e.hasClass("skewtoleftshort")){f.x=-50;f.opacity=0}else if(e.hasClass("stt")){f.y=-50;f.opacity=0}else if(e.hasClass("stb")){f.y=50;f.opacity=0}else if(e.hasClass("randomrotateout")){f.x=Math.random()*n.width;f.y=Math.random()*n.height;f.scale=Math.random()*2+.3;f.rotation=Math.random()*360-180;f.opacity=0}else if(e.hasClass("fadeout")){f.opacity=0}if(e.hasClass("skewtorightshort"))f.x=270;else if(e.hasClass("skewtoleftshort"))f.x=-270;f.data=new Object;f.data.oldx=f.x;f.data.oldy=f.y;f.x=f.x*o;f.y=f.y*o;f.overwrite="auto";var c=e;var c=e;if(e.data("splitout")=="chars")c=e.data("mySplitText").chars;else if(e.data("splitout")=="words")c=e.data("mySplitText").words;else if(e.data("splitout")=="lines")c=e.data("mySplitText").lines;var h=e.data("endelementdelay")==t?0:e.data("endelementdelay");u.add(a.staggerTo(c,l,f,h),r)}else if(e.hasClass("customout")){f=V(f,e.data("customout"));var c=e;if(e.data("splitout")=="chars")c=e.data("mySplitText").chars;else if(e.data("splitout")=="words")c=e.data("mySplitText").words;else if(e.data("splitout")=="lines")c=e.data("mySplitText").lines;var h=e.data("endelementdelay")==t?0:e.data("endelementdelay");f.onStart=function(){TweenLite.set(e,{transformPerspective:f.transformPerspective,transformOrigin:f.transformOrigin,overwrite:"auto"})};f.data=new Object;f.data.oldx=f.x;f.data.oldy=f.y;f.x=f.x*o;f.y=f.y*o;u.add(a.staggerTo(c,l,f,h),r)}else{i.delay=0;u.add(TweenLite.to(e,l,i),r)}u.addLabel(s,r);e.data("timeline",u)}function tt(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 nt(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");n.on("stoptimer",function(){i.data("tween").pause();if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("starttimer",function(){if(r.conthover!=1&&r.videoplaying!=true&&r.width>r.hideSliderAtLimit&&r.bannertimeronpause!=true&&r.overnav!=true)if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){}else{i.css({visibility:"visible"});i.data("tween").play()}if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("restarttimer",function(){if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){}else{i.css({visibility:"visible"});i.data("tween",TweenLite.fromTo(i,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:o,delay:1}))}if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("nulltimer",function(){i.data("tween").pause(0);if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});function o(){if(e("body").find(n).length==0){tt(n,r);clearInterval(r.cdint)}if(n.data("conthover-changed")==1){r.conthover=n.data("conthover");n.data("conthover-changed",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){n.find(".tp-bannertimer").css({visibility:"hidden"});n.trigger("revolution.slide.onstop")}else{i.data("tween").restart()}C(n,r)}i.data("tween",TweenLite.fromTo(i,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:o,delay:1}));i.data("opt",r);n.hover(function(){if(r.onHoverStop=="on"&&!s()){n.trigger("stoptimer");n.trigger("revolution.slide.onpause");var i=n.find(">ul >li:eq("+r.next+") .slotholder");i.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");n.trigger("starttimer");var i=n.find(">ul >li:eq("+r.next+") .slotholder");i.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",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,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",spinner:"spinner0",swipe_velocity:.4,swipe_max_touches:1,swipe_min_touches:1,drag_block_vertical:false,isJoomla:false,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off"};i=e.extend({},e.fn.revolution.defaults,i);return this.each(function(){var o=i;o.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/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 f=u.parent().offset().left;var l=u.parent().css("marginBottom");var m=u.parent().css("marginTop");if(l==t)l=0;if(m==t)m=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-f+"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(g){}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;o.origcd=o.delay;var b=e.fn.jquery.split("."),w=parseFloat(b[0]),E=parseFloat(b[1]),S=parseFloat(b[2]||"0");if(w==1&&E<7){u.html('
The Current Version of jQuery:'+b+"
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
")}if(w>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 N=0;var k="http";if(location.protocol==="https:"){k="https"}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");var r="https";n.src=r+"://www.youtube.com/iframe_api";var i=document.getElementsByTagName("script")[0];var s=true;e("head").find("*").each(function(){if(e(this).attr("src")==r+"://www.youtube.com/iframe_api")s=false});if(s){i.parentNode.insertBefore(n,i)}}}catch(o){}});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=k+"://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")==k+"://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){e(this).removeClass("video-js").removeClass("vjs-default-skin");e(this).attr("preload","");e(this).css({display:"none"})});if(o.shuffle=="on"){for(var L=0;Lul:first-child >li").length;L++){var A=Math.round(Math.random()*u.find(">ul:first-child >li").length);u.find(">ul:first-child >li:eq("+A+")").prependTo(u.find(">ul:first-child"))}}o.slots=4;o.act=-1;o.next=0;if(o.startWithSlide!=t)o.next=o.startWithSlide;var M=n("#")[0];if(M.length<9){if(M.split("slide").length>1){var _=parseInt(M.split("slide")[1],0);if(_<1)_=1;if(_>u.find(">ul:first >li").length)_=u.find(">ul:first >li").length;o.next=_-1}}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 D=u.find(".tp-bannertimer");if(D.length>0){D.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 f=0;if(o.forceFullWidth=="on")f=0-o.container.parent().offset().left;u.parent().find(".tp-bannershadow").css({width:o.width,left:f})}u.find("ul").css({display:"none"});var P=u;u.find("ul").css({display:"block"});y(u,o);if(o.parallax!="off")O(u,o);if(o.slideamount>1)c(u,o);if(o.slideamount>1)a(u,o);if(o.slideamount>1)h(u,o);if(o.keyboardNavigation=="on")p(u,o);d(u,o);if(o.hideThumbs>0)v(u,o);C(u,o);if(o.slideamount>1)nt(u,o);setTimeout(function(){u.trigger("revolution.slide.onloaded")},500);e("body").data("rs-fullScreenMode",false);e(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode"));if(e("body").data("rs-fullScreenMode")){setTimeout(function(){e(window).trigger("resize")},200)}});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||u.is(":hidden")){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(g){}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})});var H=u.parent();if(e(window).width()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");var r=n.data("opt");r.bannertimeronpause=true;t.trigger("stoptimer")})},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");r.bannertimeronpause=false;t.trigger("starttimer")})},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()})}});var N=function(n,r,i){x(n,0);var s=setInterval(function(){i.bannertimeronpause=true;i.container.trigger("stoptimer");i.cd=0;var o=0;n.find("img, .defaultimg").each(function(t){if(e(this).data("lazydone")!=1){o++}});if(o>0)x(n,o);else{clearInterval(s);if(r!=t)r()}},100)};})(jQuery);(function(e){"use strict";var t=e.GreenSockGlobals||e,n=function(e){var n,r=e.split("."),i=t;for(n=0;r.length>n;n++)i[r[n]]=i=i[r[n]]||{};return i},r=n("com.greensock.utils"),i=function(e){var t=e.nodeType,n="";if(1===t||9===t||11===t){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===t||4===t)return e.nodeValue;return n},s=document,o=s.defaultView?s.defaultView.getComputedStyle:function(){},u=/([A-Z])/g,a=function(e,t,n,r){var i;return(n=n||o(e,null))?(e=n.getPropertyValue(t.replace(u,"-$1").toLowerCase()),i=e||n.length?e:n[t]):e.currentStyle&&(n=e.currentStyle,i=n[t]),r?i:parseInt(i,10)||0},f=function(e){return e.length&&e[0]&&(e[0].nodeType&&e[0].style&&!e.nodeType||e[0].length&&e[0][0])?!0:!1},l=function(e){var t,n,r,i=[],s=e.length;for(t=0;s>t;t++)if(n=e[t],f(n))for(r=n.length,r=0;n.length>r;r++)i.push(n[r]);else i.push(n);return i},c=")eefec303079ad17405c",h=/(?:
||
)/gi,p=s.all&&!s.addEventListener,d="
":">")}},m=r.SplitText=t.SplitText=function(e,t){if("string"==typeof e&&(e=m.selector(e)),!e)throw"cannot split a null element.";this.elements=f(e)?l(e):[e],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=t||{},this.split(t)},g=function(e,t,n,r,u){h.test(e.innerHTML)&&(e.innerHTML=e.innerHTML.replace(h,c));var f,l,p,d,m,g,y,b,w,E,S,x,T,N=i(e),C=t.type||t.split||"chars,words,lines",k=-1!==C.indexOf("lines")?[]:null,L=-1!==C.indexOf("words"),A=-1!==C.indexOf("chars"),O="absolute"===t.position||t.absolute===!0,M=O?"­ ":" ",_=-999,D=o(e),P=a(e,"paddingLeft",D),H=a(e,"borderBottomWidth",D)+a(e,"borderTopWidth",D),B=a(e,"borderLeftWidth",D)+a(e,"borderRightWidth",D),j=a(e,"paddingTop",D)+a(e,"paddingBottom",D),F=a(e,"paddingLeft",D)+a(e,"paddingRight",D),I=a(e,"textAlign",D,!0),q=e.clientHeight,R=e.clientWidth,U=N.length,z="
",W=v(t.wordsClass),X=v(t.charsClass),V=-1!==(t.linesClass||"").indexOf("++"),$=t.linesClass;for(V&&($=$.split("++").join("")),p=W(),d=0;U>d;d++)g=N.charAt(d),")"===g&&N.substr(d,20)===c?(p+=z+"
",d!==U-1&&(p+=" "+W()),d+=19):" "===g&&" "!==N.charAt(d-1)&&d!==U-1?(p+=z,d!==U-1&&(p+=M+W())):p+=A&&" "!==g?X()+g+"":g;for(e.innerHTML=p+z,m=e.getElementsByTagName("*"),U=m.length,y=[],d=0;U>d;d++)y[d]=m[d];if(k||O)for(d=0;U>d;d++)b=y[d],l=b.parentNode===e,(l||O||A&&!L)&&(w=b.offsetTop,k&&l&&w!==_&&"BR"!==b.nodeName&&(f=[],k.push(f),_=w),O&&(b._x=b.offsetLeft,b._y=w,b._w=b.offsetWidth,b._h=b.offsetHeight),k&&(L!==l&&A||(f.push(b),b._x-=P),l&&d&&(y[d-1]._wordEnd=!0)));for(d=0;U>d;d++)b=y[d],l=b.parentNode===e,"BR"!==b.nodeName?(O&&(S=b.style,L||l||(b._x+=b.parentNode._x,b._y+=b.parentNode._y),S.left=b._x+"px",S.top=b._y+"px",S.position="absolute",S.display="block",S.width=b._w+1+"px",S.height=b._h+"px"),L?l?r.push(b):A&&n.push(b):l?(e.removeChild(b),y.splice(d--,1),U--):!l&&A&&(w=!k&&!O&&b.nextSibling,e.appendChild(b),w||e.appendChild(s.createTextNode(" ")),n.push(b))):k||O?(e.removeChild(b),y.splice(d--,1),U--):L||e.appendChild(b);if(k){for(O&&(E=s.createElement("div"),e.appendChild(E),x=E.offsetWidth+"px",w=E.offsetParent===e?0:e.offsetLeft,e.removeChild(E)),S=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(T=!O||!L&&!A,d=0;k.length>d;d++){for(f=k[d],E=s.createElement("div"),E.style.cssText="display:block;text-align:"+I+";position:"+(O?"absolute;":"relative;"),$&&(E.className=$+(V?d+1:"")),u.push(E),U=f.length,m=0;U>m;m++)"BR"!==f[m].nodeName&&(b=f[m],E.appendChild(b),T&&(b._wordEnd||L)&&E.appendChild(s.createTextNode(" ")),O&&(0===m&&(E.style.top=b._y+"px",E.style.left=P+w+"px"),b.style.top="0px",w&&(b.style.left=b._x-w+"px")));L||A||(E.innerHTML=i(E).split(String.fromCharCode(160)).join(" ")),O&&(E.style.width=x,E.style.height=b._h+"px"),e.appendChild(E)}e.style.cssText=S}O&&(q>e.clientHeight&&(e.style.height=q-j+"px",q>e.clientHeight&&(e.style.height=q+H+"px")),R>e.clientWidth&&(e.style.width=R-F+"px",R>e.clientWidth&&(e.style.width=R+B+"px")))},y=m.prototype;y.split=function(e){this.isSplit&&this.revert(),this.vars=e||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t=0;this.elements.length>t;t++)this._originals[t]=this.elements[t].innerHTML,g(this.elements[t],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this},y.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var e=this._originals.length;--e>-1;)this.elements[e].innerHTML=this._originals[e];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},m.selector=e.$||e.jQuery||function(t){return e.$?(m.selector=e.$,e.$(t)):s?s.getElementById("#"===t.charAt(0)?t.substr(1):t):t}})(window||{}) \ No newline at end of file diff --git a/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.6.2.js b/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.6.2.js new file mode 100644 index 00000000..73de7081 --- /dev/null +++ b/ClientApp/jquery.plugins/jquery.themepunch.revolution.4.6.2.js @@ -0,0 +1,6258 @@ +/************************************************************************** + * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider + * @version: 4.6.2 (20.10.2014) + * @requires jQuery v1.7 or later (tested on 1.9) + * @author ThemePunch +**************************************************************************/ + + +(function(jQuery,undefined){ + + + + + //////////////////////////////////////// + // THE REVOLUTION PLUGIN STARTS HERE // + /////////////////////////////////////// + + jQuery.fn.extend({ + + // OUR PLUGIN HERE :) + revolution: function(options) { + + + + //////////////////////////////// + // SET DEFAULT VALUES OF ITEM // + //////////////////////////////// + var defaults = { + delay:9000, + startheight:500, + startwidth:960, + fullScreenAlignForce:"off", + autoHeight:"off", + hideTimerBar:"off", + hideThumbs:200, + hideNavDelayOnMobile:1500, + + thumbWidth:100, // Thumb With and Height and Amount (only if navigation Tyope set to thumb !) + thumbHeight:50, + thumbAmount:3, + + navigationType:"bullet", // bullet, thumb, none + navigationArrows:"solo", // nextto, solo, none + navigationInGrid:"off", // on/off + + hideThumbsOnMobile:"off", + hideBulletsOnMobile:"off", + hideArrowsOnMobile:"off", + hideThumbsUnderResoluition:0, + + navigationStyle:"round", // round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), + + navigationHAlign:"center", // Vertical Align top,center,bottom + navigationVAlign:"bottom", // Horizontal Align left,center,right + navigationHOffset:0, + navigationVOffset:20, + + soloArrowLeftHalign:"left", + soloArrowLeftValign:"center", + soloArrowLeftHOffset:20, + soloArrowLeftVOffset:0, + + soloArrowRightHalign:"right", + soloArrowRightValign:"center", + soloArrowRightHOffset:20, + soloArrowRightVOffset:0, + + keyboardNavigation:"on", + + touchenabled:"on", // Enable Swipe Function : on/off + onHoverStop:"on", // Stop Banner Timet at Hover on Slide on/off + + + stopAtSlide:-1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case. + stopAfterLoops:-1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic + + hideCaptionAtLimit:0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser) + hideAllCaptionAtLimit:0, // Hide all The Captions if Width of Browser is less then this value + hideSliderAtLimit:0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value + + shadow:0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows (No Shadow in Fullwidth Version !) + fullWidth:"off", // Turns On or Off the Fullwidth Image Centering in FullWidth Modus + fullScreen:"off", + minFullScreenHeight:0, // The Minimum FullScreen Height + fullScreenOffsetContainer:"", // Size for FullScreen Slider minimising Calculated on the Container sizes + fullScreenOffset:"0", // Size for FullScreen Slider minimising + dottedOverlay:"none", //twoxtwo, threexthree, twoxtwowhite, threexthreewhite + + forceFullWidth:"off", // Force The FullWidth + + spinner:"spinner0", + + swipe_treshold : 75, // The number of pixels that the user must move their finger by before it is considered a swipe. + swipe_min_touches : 1, // Min Finger (touch) used for swipe + drag_block_vertical:false, // Prevent Vertical Scroll during Swipe + isJoomla:false, + parallax:"off", + parallaxLevels: [10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85], + parallaxBgFreeze: "off", + parallaxOpacity:"on", + parallaxDisableOnMobile:"off", + panZoomDisableOnMobile:"off", + simplifyAll:"on", + minHeight:0, + nextSlideOnWindowFocus:"off", + + startDelay:0 // Delay before the first Animation starts. + + + }; + + options = jQuery.extend({}, defaults, options); + + return this.each(function() { + + + // REPORT SOME IMPORTAN INFORMATION ABOUT THE SLIDER + if (window.tplogs==true) + try{ + console.groupCollapsed("Slider Revolution 4.6.2 Initialisation on "+jQuery(this).attr('id')); + console.groupCollapsed("Used Options:"); + console.info(options); + console.groupEnd(); + console.groupCollapsed("Tween Engine:") + } catch(e) {} + + // CHECK IF TweenLite IS LOADED AT ALL + if (punchgs.TweenLite==undefined) { + if (window.tplogs==true) + try{ console.error("GreenSock Engine Does not Exist!"); + } catch(e) {} + return false; + } + + punchgs.force3D = true; + + if (window.tplogs==true) + try{ console.info("GreenSock Engine Version in Slider Revolution:"+punchgs.TweenLite.version); + } catch(e) { + + } + + if (options.simplifyAll=="on") { + + } else { + punchgs.TweenLite.lagSmoothing(1000,16); + punchgs.force3D = "true"; + } + + if (window.tplogs==true) + try{ + console.groupEnd(); + console.groupEnd(); + } catch(e) {} + + + initSlider(jQuery(this),options) + + + }) + }, + + + // METHODE PAUSE + revscroll: function(oy) { + return this.each(function() { + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) + jQuery('body,html').animate({scrollTop:(container.offset().top+(container.find('>ul >li').height())-oy)+"px"},{duration:400}); + }) + }, + + // METHODE PAUSE + revredraw: function(oy) { + return this.each(function() { + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + containerResized(container,opt); + } + }) + }, + // METHODE PAUSE + revkill: function(oy) { + + var self = this, + container=jQuery(this); + + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + + container.data('conthover',1); + container.data('conthover-changed',1); + container.trigger('revolution.slide.onpause'); + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.bannertimeronpause = true; + container.trigger('stoptimer'); + + punchgs.TweenLite.killTweensOf(container.find('*'),false); + punchgs.TweenLite.killTweensOf(container,false); + container.unbind('hover, mouseover, mouseenter,mouseleave, resize'); + var resizid = "resize.revslider-"+container.attr('id'); + jQuery(window).off(resizid); + container.find('*').each(function() { + var el = jQuery(this); + + el.unbind('on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer'); + el.off('on, hover, mouseenter,mouseleave,mouseover, resize'); + el.data('mySplitText',null); + el.data('ctl',null); + if (el.data('tween')!=undefined) + el.data('tween').kill(); + if (el.data('kenburn')!=undefined) + el.data('kenburn').kill(); + el.remove(); + el.empty(); + el=null; + }) + + + punchgs.TweenLite.killTweensOf(container.find('*'),false); + punchgs.TweenLite.killTweensOf(container,false); + bt.remove(); + try{container.closest('.forcefullwidth_wrapper_tp_banner').remove();} catch(e) {} + try{container.closest('.rev_slider_wrapper').remove()} catch(e) {} + try{container.remove();} catch(e) {} + container.empty(); + container.html(); + container = null; + + opt = null; + delete(self.container); + delete(self.opt); + + return true; + } else { + return false; + } + + + }, + + // METHODE PAUSE + revpause: function(options) { + + return this.each(function() { + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + container.data('conthover',1); + container.data('conthover-changed',1); + container.trigger('revolution.slide.onpause'); + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.bannertimeronpause = true; + container.trigger('stoptimer'); + } + }) + + + }, + + // METHODE RESUME + revresume: function(options) { + return this.each(function() { + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + container.data('conthover',0); + container.data('conthover-changed',1); + container.trigger('revolution.slide.onresume'); + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.bannertimeronpause = false; + container.trigger('starttimer'); + } + }) + + }, + + // METHODE NEXT + revnext: function(options) { + return this.each(function() { + + // CATCH THE CONTAINER + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) + container.parent().find('.tp-rightarrow').click(); + + + }) + + }, + + // METHODE RESUME + revprev: function(options) { + return this.each(function() { + // CATCH THE CONTAINER + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) + container.parent().find('.tp-leftarrow').click(); + }) + + }, + + // METHODE LENGTH + revmaxslide: function(options) { + // CATCH THE CONTAINER + return jQuery(this).find('>ul:first-child >li').length; + }, + + + // METHODE CURRENT + revcurrentslide: function(options) { + // CATCH THE CONTAINER + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + return opt.act; + } + }, + + // METHODE CURRENT + revlastslide: function(options) { + // CATCH THE CONTAINER + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + var bt = container.parent().find('.tp-bannertimer'); + var opt = bt.data('opt'); + return opt.lastslide; + } + }, + + + // METHODE JUMP TO SLIDE + revshowslide: function(slide) { + return this.each(function() { + // CATCH THE CONTAINER + var container=jQuery(this); + if (container!=undefined && container.length>0 && jQuery('body').find('#'+container.attr('id')).length>0) { + container.data('showus',slide); + container.parent().find('.tp-rightarrow').click(); + } + }) + + } + + +}) + /******************************************* + - IS IOS VERSION OLDER THAN 5 ?? - + *******************************************/ + + function iOSVersion() { + var oldios = false; + if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) { + if (navigator.userAgent.match(/OS 4_\d like Mac OS X/i)) { + oldios = true; + } + } else { + oldios = false; + } + return oldios; + } + + function initSlider(container,opt) { + if (container==undefined) return false; + + if (container.data('aimg')!=undefined) { + if ((container.data('aie8')=="enabled" && isIE(8)) || (container.data('amobile')=="enabled" && is_mobile())) + container.html(''); + } + // PREPARE FALL BACK SETTINGS + if (opt.navigationStyle=="preview1" || opt.navigationStyle=="preview3" || opt.navigationStyle=="preview4") { + opt.soloArrowLeftHalign="left"; + opt.soloArrowLeftValign="center"; + opt.soloArrowLeftHOffset=0; + opt.soloArrowLeftVOffset=0; + opt.soloArrowRightHalign="right"; + opt.soloArrowRightValign="center"; + opt.soloArrowRightHOffset=0; + opt.soloArrowRightVOffset=0; + opt.navigationArrows="solo"; + } + + + // SIMPLIFY ANIMATIONS ON OLD IOS AND IE8 IF NEEDED + if (opt.simplifyAll=="on" && (isIE(8) || iOSVersion())) { + container.find('.tp-caption').each(function() { + var tc = jQuery(this); + tc.removeClass("customin").removeClass("customout").addClass("fadein").addClass("fadeout"); + tc.data('splitin',""); + tc.data('speed',400); + }) + container.find('>ul>li').each(function() { + var li= jQuery(this); + li.data('transition',"fade"); + li.data('masterspeed',500); + li.data('slotamount',1); + var img = li.find('>img').first(); + img.data('kenburns',"off"); + }); + } + + + + + + opt.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i); + + if (opt.fullWidth!="on" && opt.fullScreen!="on") opt.autoHeight = "off"; + if (opt.fullScreen=="on") opt.autoHeight = "on"; + if (opt.fullWidth!="on" && opt.fullScreen!="on") forceFulWidth="off"; + + if (opt.fullWidth=="on" && opt.autoHeight=="off") + container.css({maxHeight:opt.startheight+"px"}); + + if (is_mobile() && opt.hideThumbsOnMobile=="on" && opt.navigationType=="thumb") + opt.navigationType = "none" + + if (is_mobile() && opt.hideBulletsOnMobile=="on" && opt.navigationType=="bullet") + opt.navigationType = "none" + + if (is_mobile() && opt.hideBulletsOnMobile=="on" && opt.navigationType=="both") + opt.navigationType = "none" + + if (is_mobile() && opt.hideArrowsOnMobile=="on") + opt.navigationArrows = "none" + + if (opt.forceFullWidth=="on" && container.closest('.forcefullwidth_wrapper_tp_banner').length==0) { + + var loff = container.parent().offset().left; + var mb = container.parent().css('marginBottom'); + var mt = container.parent().css('marginTop'); + if (mb==undefined) mb=0; + if (mt==undefined) mt=0; + + container.parent().wrap('
'); + container.closest('.forcefullwidth_wrapper_tp_banner').append('
'); + container.css({'backgroundColor':container.parent().css('backgroundColor'),'backgroundImage':container.parent().css('backgroundImage')}); + //container.parent().css({'position':'absolute','width':jQuery(window).width()}); + container.parent().css({'left':(0-loff)+"px",position:'absolute','width':jQuery(window).width()}); + opt.width=jQuery(window).width(); + } + + // HIDE THUMBS UNDER RESOLUTION + try{ + if (opt.hideThumbsUnderResolution>jQuery(window).width() && opt.hideThumbsUnderResolution!=0) { + container.parent().find('.tp-bullets.tp-thumbs').css({display:"none"}); + } else { + container.parent().find('.tp-bullets.tp-thumbs').css({display:"block"}); + } + } catch(e) {} + + if (!container.hasClass("revslider-initialised")) { + + container.addClass("revslider-initialised"); + if (container.attr('id')==undefined) container.attr('id',"revslider-"+Math.round(Math.random()*1000+5)); + + // CHECK IF FIREFOX 13 IS ON WAY.. IT HAS A STRANGE BUG, CSS ANIMATE SHOULD NOT BE USED + + + + opt.firefox13 = false; + opt.ie = !jQuery.support.opacity; + opt.ie9 = (document.documentMode == 9); + + opt.origcd=opt.delay; + + // CHECK THE jQUERY VERSION + var version = jQuery.fn.jquery.split('.'), + versionTop = parseFloat(version[0]), + versionMinor = parseFloat(version[1]), + versionIncrement = parseFloat(version[2] || '0'); + + if (versionTop==1 && versionMinor < 7) { + container.html('
The Current Version of jQuery:'+version+'
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
'); + } + + if (versionTop>1) opt.ie=false; + + + // Delegate .transition() calls to .animate() + // if the browser can't do CSS transitions. + if (!jQuery.support.transition) + jQuery.fn.transition = jQuery.fn.animate; + + // CATCH THE CONTAINER + + + // LOAD THE YOUTUBE API IF NECESSARY + + container.find('.caption').each(function() { jQuery(this).addClass('tp-caption')}); + + if (is_mobile()) { + container.find('.tp-caption').each(function() { + var nextcaption = jQuery(this); + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true") + nextcaption.data('autoplayonlyfirsttime',"false"); + if (nextcaption.data('autoplay')==true || nextcaption.data('autoplay')=="true") + nextcaption.data('autoplay',false); + + }) + } + + + var addedyt=0; + var addedvim=0; + var addedvid=0; + var httpprefix = "http"; + + if (location.protocol === 'https:') { + httpprefix = "https"; + } + container.find('.tp-caption').each(function(i) { + // IF SRC EXIST, RESET SRC'S since WE DONT NEED THEM !! + + try { + + if ((jQuery(this).data('ytid')!=undefined || jQuery(this).find('iframe').attr('src').toLowerCase().indexOf('youtube')>0) && addedyt==0) { + addedyt=1; + var s = document.createElement("script"); + var httpprefix2 = "https"; + s.src = httpprefix2+"://www.youtube.com/iframe_api"; /* Load Player API*/ + + var before = document.getElementsByTagName("script")[0]; + var loadit = true; + jQuery('head').find('*').each(function(){ + if (jQuery(this).attr('src') == httpprefix2+"://www.youtube.com/iframe_api") + loadit = false; + }); + if (loadit) { + before.parentNode.insertBefore(s, before); + + + } + } + } catch(e) {} + + try{ + if ((jQuery(this).data('vimeoid')!=undefined || jQuery(this).find('iframe').attr('src').toLowerCase().indexOf('vimeo')>0) && addedvim==0) { + addedvim=1; + var f = document.createElement("script"); + f.src = httpprefix+"://a.vimeocdn.com/js/froogaloop2.min.js"; /* Load Player API*/ + var before = document.getElementsByTagName("script")[0]; + + var loadit = true; + jQuery('head').find('*').each(function(){ + if (jQuery(this).attr('src') == httpprefix+"://a.vimeocdn.com/js/froogaloop2.min.js") + loadit = false; + }); + if (loadit) + before.parentNode.insertBefore(f, before); + } + } catch(e) {} + + try{ + if ((jQuery(this).data('videomp4')!=undefined || jQuery(this).data('videowebm')!=undefined)) { + + } + } catch(e) {} + }); + + + + + // REMOVE ANY VIDEO JS SETTINGS OF THE VIDEO IF NEEDED + container.find('.tp-caption video').each(function(i) { + jQuery(this).removeClass("video-js").removeClass("vjs-default-skin"); + jQuery(this).attr("preload",""); + jQuery(this).css({display:"none"}); + }); + + container.find('>ul:first-child >li').each(function() { + var t = jQuery(this); + t.data('origindex',t.index()); + }) + + // SHUFFLE MODE + if (opt.shuffle=="on") { + var fsa = new Object, + fli = container.find('>ul:first-child >li:first-child') + + fsa.fstransition = fli.data('fstransition'); + fsa.fsmasterspeed = fli.data('fsmasterspeed'); + fsa.fsslotamount = fli.data('fsslotamount'); + + + + for (var u=0;uul:first-child >li').length;u++) { + var it = Math.round(Math.random()*container.find('>ul:first-child >li').length); + container.find('>ul:first-child >li:eq('+it+')').prependTo(container.find('>ul:first-child')); + } + + var newfli = container.find('>ul:first-child >li:first-child'); + newfli.data('fstransition',fsa.fstransition); + newfli.data('fsmasterspeed',fsa.fsmasterspeed); + newfli.data('fsslotamount',fsa.fsslotamount); + } + + + // CREATE SOME DEFAULT OPTIONS FOR LATER + opt.slots=4; + opt.act=-1; + opt.next=0; + + // IF START SLIDE IS SET + if (opt.startWithSlide !=undefined) opt.next=opt.startWithSlide; + + // IF DEEPLINK HAS BEEN SET + var deeplink = getUrlVars("#")[0]; + if (deeplink.length<9) { + if (deeplink.split('slide').length>1) { + var dslide=parseInt(deeplink.split('slide')[1],0); + if (dslide<1) dslide=1; + if (dslide>container.find('>ul:first >li').length) dslide=container.find('>ul:first >li').length; + opt.next=dslide-1; + } + } + + + opt.firststart=1; + + // BASIC OFFSET POSITIONS OF THE BULLETS + if (opt.navigationHOffset==undefined) opt.navOffsetHorizontal=0; + if (opt.navigationVOffset==undefined) opt.navOffsetVertical=0; + + + + container.append('
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'); + + // RESET THE TIMER + if (container.find('.tp-bannertimer').length==0) container.append(''); + var bt=container.find('.tp-bannertimer'); + if (bt.length>0) { + bt.css({'width':'0%'}); + }; + + + // WE NEED TO ADD A BASIC CLASS FOR SETTINGS.CSS + container.addClass("tp-simpleresponsive"); + opt.container=container; + + //if (container.height()==0) container.height(opt.startheight); + + // AMOUNT OF THE SLIDES + opt.slideamount = container.find('>ul:first >li').length; + + + // A BASIC GRID MUST BE DEFINED. IF NO DEFAULT GRID EXIST THAN WE NEED A DEFAULT VALUE, ACTUAL SIZE OF CONAINER + if (container.height()==0) container.height(opt.startheight); + if (opt.startwidth==undefined || opt.startwidth==0) opt.startwidth=container.width(); + if (opt.startheight==undefined || opt.startheight==0) opt.startheight=container.height(); + + // OPT WIDTH && HEIGHT SHOULD BE SET + opt.width=container.width(); + opt.height=container.height(); + + + // DEFAULT DEPENDECIES + opt.bw= opt.startwidth / container.width(); + opt.bh = opt.startheight / container.height(); + + // IF THE ITEM ALREADY IN A RESIZED FORM + if (opt.width!=opt.startwidth) { + + opt.height = Math.round(opt.startheight * (opt.width/opt.startwidth)); + + container.height(opt.height); + + } + + // LETS SEE IF THERE IS ANY SHADOW + if (opt.shadow!=0) { + container.parent().append('
'); + var loff=0; + if (opt.forceFullWidth=="on") + loff = 0-opt.container.parent().offset().left; + container.parent().find('.tp-bannershadow').css({'width':opt.width,'left':loff}); + } + + + container.find('ul').css({'display':'none'}); + + var fliparent = container; + + + // PREPARE THE SLIDES + container.find('ul').css({'display':'block'}); + prepareSlides(container,opt); + if (opt.parallax!="off") checkForParallax(container,opt); + + // CREATE BULLETS + if (opt.slideamount >1) createBullets(container,opt); + + if (opt.slideamount >1 && opt.navigationType=="thumb") createThumbs(container,opt); + if (opt.slideamount >1) createArrows(container,opt); + if (opt.keyboardNavigation=="on") createKeyboard(container,opt); + + + swipeAction(container,opt); + + + if (opt.hideThumbs>0) hideThumbs(container,opt); + setTimeout(function() { + swapSlide(container,opt); + },opt.startDelay); + opt.startDelay=0; + // START COUNTDOWN + if (opt.slideamount >1) countDown(container,opt); + setTimeout(function() { + container.trigger('revolution.slide.onloaded'); + },500); + + + + /****************************** + - FULLSCREEN CHANGE - + ********************************/ + // FULLSCREEN MODE TESTING + jQuery("body").data('rs-fullScreenMode',false); + jQuery(window).on ('mozfullscreenchange webkitfullscreenchange fullscreenchange',function(){ + jQuery("body").data('rs-fullScreenMode',!jQuery("body").data('rs-fullScreenMode')); + if (jQuery("body").data('rs-fullScreenMode')) { + setTimeout(function() { + jQuery(window).trigger("resize"); + + },200); + } + }) + + + var resizid = "resize.revslider-"+container.attr('id'); + + // IF RESIZED, NEED TO STOP ACTUAL TRANSITION AND RESIZE ACTUAL IMAGES + jQuery(window).on(resizid,function() { + if (container==undefined) return false; + if (jQuery('body').find(container)!=0) + if (opt.forceFullWidth=="on" ) { + + var loff = opt.container.closest('.forcefullwidth_wrapper_tp_banner').offset().left; + //opt.container.parent().css({'width':jQuery(window).width()}); + opt.container.parent().css({'left':(0-loff)+"px",'width':jQuery(window).width()}); + } + + if (container.outerWidth(true)!=opt.width || container.is(":hidden")) { + containerResized(container,opt); + } + + + + + }); + + // HIDE THUMBS UNDER SIZE... + try{ + if (opt.hideThumbsUnderResoluition!=0 && opt.navigationType=="thumb") { + if (opt.hideThumbsUnderResoluition>jQuery(window).width()) + jQuery('.tp-bullets').css({display:"none"}); + else + jQuery('.tp-bullets').css({display:"block"}); + } + } catch(e) {} + + + + // CHECK IF THE CAPTION IS A "SCROLL ME TO POSITION" CAPTION IS + //if (opt.fullScreen=="on") { + container.find('.tp-scrollbelowslider').on('click',function() { + var off=0; + try{ + off = jQuery('body').find(opt.fullScreenOffsetContainer).height(); + } catch(e) {} + try{ + off = off - parseInt(jQuery(this).data('scrolloffset'),0); + } catch(e) {} + + + jQuery('body,html').animate( + {scrollTop:(container.offset().top+(container.find('>ul >li').height())-off)+"px"},{duration:400}); + }); + //} + + + // FIRST TIME STOP/START HIDE / SHOW SLIDER + //REMOVE AND SHOW SLIDER ON DEMAND + var contpar= container.parent(); + if (jQuery(window).width()jQuery(window).width()) + jQuery('.tp-bullets').css({display:"none"}); + else + jQuery('.tp-bullets').css({display:"block"}); + } + } catch(e) {} + + + + container.find('.defaultimg').each(function(i) { + setSize(jQuery(this),opt); + }); + + + //REMOVE AND SHOW SLIDER ON DEMAND + var contpar= container.parent(); + if (jQuery(window).width()ul >li:eq('+opt.act+') .slotholder'); + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + removeSlots(container,opt,container); + punchgs.TweenLite.set(nextsh.find('.defaultimg'),{opacity:0}); + actsh.find('.defaultimg').css({'opacity':1}); + + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + + if (opt.panZoomDisableOnMobile == "on") { + // NO KEN BURNS ON MOBILE DEVICES + + } else { + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').restart(); + startKenBurn(container,opt,true) + } + } + }); + + var nextli = container.find('>ul >li:eq('+opt.next+')'); + + + + var arr = container.parent().find('.tparrows'); + if (arr.hasClass("preview2")) + arr.css({width:(parseInt(arr.css('minWidth'),0))}); + + + animateTheCaptions(nextli, opt,true); + //restartBannerTimer(opt,container); + setBulPos(container,opt); + + } + + + + + /********************************* + - CHECK IF BROWSER IS IE - + ********************************/ + var isIE = function( version, comparison ){ + var $div = jQuery('
').appendTo(jQuery('body')); + $div.html(''); + var ieTest = $div.find('a').length; + $div.remove(); + return ieTest; + } + + + + var callingNewSlide = function(opt,container) { + // CHECK THE LOOPS !! + if (opt.next==container.find('>ul >li').length-1) { + opt.looptogo=opt.looptogo-1; + if (opt.looptogo<=0) + opt.stopLoop="on"; + } + swapSlide(container,opt); + + } + + + + + + + //////////////////////////////// + // - CREATE THE BULLETS - // + //////////////////////////////// + var createBullets = function(container,opt) { + var starthidebullets = "hidebullets"; + if (opt.hideThumbs==0) starthidebullets = ""; + + if (opt.navigationType=="bullet" || opt.navigationType=="both") { + container.parent().append('
'); + } + + var bullets = container.parent().find('.tp-bullets'); + container.find('>ul:first >li').each(function(i) { + var src=container.find(">ul:first >li:eq("+i+") img:first").attr('src'); + bullets.append('
'); + var bullet= bullets.find('.bullet:first'); + }); + // ADD THE BULLET CLICK FUNCTION HERE + bullets.find('.bullet').each(function(i) { + var bul = jQuery(this); + if (i==opt.slideamount-1) bul.addClass('last'); + if (i==0) bul.addClass('first'); + + bul.click(function() { + var sameslide = false, + buli = bul.index(); + + if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") + buli = bul.index()-1; + + if (buli == opt.act) sameslide=true; + + if (opt.transition==0 && !sameslide) { + opt.next = buli; + callingNewSlide(opt,container); + } + }); + + }); + bullets.append('
'); + setBulPos(container,opt); + } + + ////////////////////// + // CREATE ARROWS // + ///////////////////// + var createArrows = function(container,opt) { + var bullets = container.find('.tp-bullets'), + hidden="", + starthidearrows = "hidearrows", + arst= opt.navigationStyle; + + if (opt.hideThumbs==0) starthidearrows = ""; + + + if (opt.navigationArrows=="none") hidden="visibility:hidden;display:none"; + opt.soloArrowStyle = "default"+" "+opt.navigationStyle; + + if (opt.navigationArrows!="none" && opt.navigationArrows!="nexttobullets") arst = opt.soloArrowStyle; + + function aArrow(dir) { + container.parent().append('
'); + } + aArrow("left"); + aArrow("right"); + + // THE LEFT / RIGHT BUTTON CLICK ! // + container.parent().find('.tp-rightarrow').click(function() { + if (opt.transition==0) { + if (container.data('showus') !=undefined && container.data('showus') != -1) + opt.next = container.data('showus')-1; + else + opt.next = opt.next+1; + container.data('showus',-1); + if (opt.next >= opt.slideamount) opt.next=0; + if (opt.next<0) opt.next=0; + + if (opt.act !=opt.next) + callingNewSlide(opt,container); + } + }); + + container.parent().find('.tp-leftarrow').click(function() { + if (opt.transition==0) { + opt.next = opt.next-1; + opt.leftarrowpressed=1; + if (opt.next < 0) opt.next=opt.slideamount-1; + callingNewSlide(opt,container); + } + }); + + setBulPos(container,opt); + + } + + ////////////////////////////////// + // ENABLE KEYBOARD INTERACTION // + ////////////////////////////////// + var createKeyboard = function(container,opt) { + // THE LEFT / RIGHT BUTTON CLICK ! // + jQuery(document).keydown(function(e){ + if (opt.transition==0 && e.keyCode == 39) { + if (container.data('showus') !=undefined && container.data('showus') != -1) + opt.next = container.data('showus')-1; + else + opt.next = opt.next+1; + container.data('showus',-1); + if (opt.next >= opt.slideamount) opt.next=0; + if (opt.next<0) opt.next=0; + if (opt.act !=opt.next) + callingNewSlide(opt,container); + } + + if (opt.transition==0 && e.keyCode == 37) { + opt.next = opt.next-1; + opt.leftarrowpressed=1; + if (opt.next < 0) opt.next=opt.slideamount-1; + callingNewSlide(opt,container); + } + }); + + setBulPos(container,opt); + + } + + //////////////////////////// + // SET THE SWIPE FUNCTION // + //////////////////////////// + var swipeAction = function(container,opt) { + // TOUCH ENABLED SCROLL + var aps = "vertical"; + + if (opt.touchenabled=="on") { + if (opt.drag_block_vertical == true) + aps = "none"; + + container.swipe({ + allowPageScroll:aps, + fingers:opt.swipe_min_touches, + treshold:opt.swipe_treshold, + swipe:function(event,direction,distance,duration,fingerCount,fingerData) { + switch (direction) { + case "left": + if (opt.transition==0) { + opt.next = opt.next+1; + if (opt.next == opt.slideamount) opt.next=0; + callingNewSlide(opt,container); + } + break; + case "right": + if (opt.transition==0) { + opt.next = opt.next-1; + opt.leftarrowpressed=1; + if (opt.next < 0) opt.next=opt.slideamount-1; + callingNewSlide(opt,container); + } + break; + case "up": + if (aps=="none") + jQuery("html, body").animate({scrollTop:(container.offset().top + container.height())+"px"}); + break; + case "down": + if (aps=="none") + jQuery("html, body").animate({scrollTop:(container.offset().top - jQuery(window).height())+"px"}); + break; + } + } + }) + + } + + } + + + + + //////////////////////////////////////////////////////////////// + // SHOW AND HIDE THE THUMBS IF MOUE GOES OUT OF THE BANNER /// + ////////////////////////////////////////////////////////////// + var hideThumbs = function(container,opt) { + + var bullets = container.parent().find('.tp-bullets'), + ca = container.parent().find('.tparrows'); + + if (bullets==null) { + container.append('
'); + var bullets = container.parent().find('.tp-bullets'); + } + + if (ca==null) { + container.append('
'); + var ca = container.parent().find('.tparrows'); + } + + + //var bp = (thumbs.parent().outerHeight(true) - opt.height)/2; + + // ADD THUMBNAIL IMAGES FOR THE BULLETS // + container.data('hideThumbs',opt.hideThumbs); + + bullets.addClass("hidebullets"); + ca.addClass("hidearrows"); + + if (is_mobile()) { + try{ + container.hammer().on('touch', function() { + container.addClass("hovered"); + if (opt.onHoverStop=="on") + container.trigger('stoptimer'); + clearTimeout(container.data('hideThumbs')); + bullets.removeClass("hidebullets"); + ca.removeClass("hidearrows"); + + + }); + + container.hammer().on('release', function() { + container.removeClass("hovered"); + container.trigger('starttimer'); + if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) + container.data('hideThumbs', setTimeout(function() { + bullets.addClass("hidebullets"); + ca.addClass("hidearrows"); + container.trigger('starttimer'); + },opt.hideNavDelayOnMobile)); + }); + } catch(e) {} + + } else { + bullets.hover(function() { + opt.overnav = true; + if (opt.onHoverStop=="on") + container.trigger('stoptimer'); + bullets.addClass("hovered"); + clearTimeout(container.data('hideThumbs')); + bullets.removeClass("hidebullets"); + ca.removeClass("hidearrows"); + }, + function() { + opt.overnav = false; + container.trigger('starttimer'); + bullets.removeClass("hovered"); + if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) + container.data('hideThumbs', setTimeout(function() { + bullets.addClass("hidebullets"); + ca.addClass("hidearrows"); + },opt.hideThumbs)); + }); + + + ca.hover(function() { + opt.overnav = true; + if (opt.onHoverStop=="on") + container.trigger('stoptimer'); + bullets.addClass("hovered"); + clearTimeout(container.data('hideThumbs')); + bullets.removeClass("hidebullets"); + ca.removeClass("hidearrows"); + + }, + function() { + opt.overnav = false; + container.trigger('starttimer'); + bullets.removeClass("hovered"); + }); + + + + container.on('mouseenter', function() { + container.addClass("hovered"); + if (opt.onHoverStop=="on") + container.trigger('stoptimer'); + clearTimeout(container.data('hideThumbs')); + bullets.removeClass("hidebullets"); + ca.removeClass("hidearrows"); + + + }); + + container.on('mouseleave', function() { + container.removeClass("hovered"); + container.trigger('starttimer'); + if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) + container.data('hideThumbs', setTimeout(function() { + bullets.addClass("hidebullets"); + ca.addClass("hidearrows"); + },opt.hideThumbs)); + }); + } + + + } + + + ////////////////////////////// + // SET POSITION OF BULLETS // + ////////////////////////////// + var setBulPos = function(container,opt) { + var topcont=container.parent(); + var bullets=topcont.find('.tp-bullets'); + + if (opt.navigationType=="thumb") { + bullets.find('.thumb').each(function(i) { + var thumb = jQuery(this); + + thumb.css({'width':opt.thumbWidth * opt.bw+"px", 'height':opt.thumbHeight*opt.bh+"px"}); + + }) + var bup = bullets.find('.tp-mask'); + + bup.width(opt.thumbWidth*opt.thumbAmount * opt.bw); + bup.height(opt.thumbHeight * opt.bh); + bup.parent().width(opt.thumbWidth*opt.thumbAmount * opt.bw); + bup.parent().height(opt.thumbHeight * opt.bh); + } + + + var tl = topcont.find('.tp-leftarrow'); + var tr = topcont.find('.tp-rightarrow'); + + if (opt.navigationType=="thumb" && opt.navigationArrows=="nexttobullets") opt.navigationArrows="solo"; + // IM CASE WE HAVE NAVIGATION BULLETS TOGETHER WITH ARROWS + if (opt.navigationArrows=="nexttobullets") { + tl.prependTo(bullets).css({'float':'left'}); + tr.insertBefore(bullets.find('.tpclear')).css({'float':'left'}); + } + var loff=0; + if (opt.forceFullWidth=="on") + loff = 0-opt.container.parent().offset().left; + + var gridposX = 0, + gridposY = 0; + + if (opt.navigationInGrid=="on") { + gridposX = container.width()>opt.startwidth ? (container.width() - opt.startwidth)/2 : 0, + gridposY = container.height()>opt.startheight ? (container.height() - opt.startheight)/2 : 0; + } + + + + if (opt.navigationArrows!="none" && opt.navigationArrows!="nexttobullets") { + var lv = opt.soloArrowLeftValign, + lh = opt.soloArrowLeftHalign, + rv = opt.soloArrowRightValign, + rh = opt.soloArrowRightHalign, + lvo = opt.soloArrowLeftVOffset, + lho = opt.soloArrowLeftHOffset, + rvo = opt.soloArrowRightVOffset, + rho = opt.soloArrowRightHOffset; + + tl.css({'position':'absolute'}); + tr.css({'position':'absolute'}); + + if (lv=="center") tl.css({'top':'50%','marginTop':(lvo-Math.round(tl.innerHeight()/2))+"px"}) + else + if (lv=="bottom") tl.css({'top':'auto','bottom':(0+lvo)+"px"}) + else + if (lv=="top") tl.css({'bottom':'auto','top':(0+lvo)+"px"}); + + if (lh=="center") tl.css({'left':'50%','marginLeft':(loff+lho-Math.round(tl.innerWidth()/2))+"px"}) + else + if (lh=="left") tl.css({'left':(gridposX+lho+loff)+"px"}) + else + if (lh=="right") tl.css({'right':(gridposX+lho-loff)+"px"}); + + if (rv=="center") tr.css({'top':'50%','marginTop':(rvo-Math.round(tr.innerHeight()/2))+"px"}) + else + if (rv=="bottom") tr.css({'top':'auto','bottom':(0+rvo)+"px"}) + else + if (rv=="top") tr.css({'bottom':'auto','top':(0+rvo)+"px"}) + + if (rh=="center") tr.css({'left':'50%','marginLeft':(loff+rho-Math.round(tr.innerWidth()/2))+"px"}) + else + if (rh=="left") tr.css({'left':(gridposX+rho+loff)+"px"}) + else + if (rh=="right") tr.css({'right':(gridposX+rho-loff)+"px"}) + + + if (tl.position()!=null) + tl.css({'top':Math.round(parseInt(tl.position().top,0))+"px"}); + + if (tr.position()!=null) + tr.css({'top':Math.round(parseInt(tr.position().top,0))+"px"}); + } + + if (opt.navigationArrows=="none") { + tl.css({'visibility':'hidden'}); + tr.css({'visibility':'hidden'}); + } + + // SET THE POSITIONS OF THE BULLETS // THUMBNAILS + var nv = opt.navigationVAlign, + nh = opt.navigationHAlign, + nvo = opt.navigationVOffset, + nho = opt.navigationHOffset; + + if (nv=="center") bullets.css({'top':'50%','marginTop':(nvo-Math.round(bullets.innerHeight()/2))+"px"}); + if (nv=="bottom") bullets.css({'bottom':(0+nvo)+"px"}); + if (nv=="top") bullets.css({'top':(0+nvo)+"px"}); + + if (nh=="center") bullets.css({'left':'50%','marginLeft':(loff+nho-Math.round(bullets.innerWidth()/2))+"px"}); + if (nh=="left") bullets.css({'left':(0+nho+loff)+"px"}); + if (nh=="right") bullets.css({'right':(0+nho-loff)+"px"}); + } + + + /******************************************************* + - HANDLING OF PREVIEWS AND CUSTOM PREVIEWS - + *******************************************************/ + + var handleSpecialPreviews = function(opt) { + + var container= opt.container; + // FILL WITH INFOS THE NAVIGATION ARROWS + opt.beforli = opt.next-1; + opt.comingli = opt.next+1; + + if (opt.beforli<0) opt.beforli = opt.slideamount-1; + if (opt.comingli>=opt.slideamount) opt.comingli = 0; + + var comingli = container.find('>ul:first-child >li:eq('+opt.comingli+')'), + beforli = container.find('>ul:first-child >li:eq('+opt.beforli+')'), + previmgsrc = beforli.find('.defaultimg').attr('src'), + nextimgsrc = comingli.find('.defaultimg').attr('src'); + + // SAVE REFERENCES + if (opt.arr == undefined) { + opt.arr = container.parent().find('.tparrows'), + opt.rar = container.parent().find('.tp-rightarrow'), + opt.lar = container.parent().find('.tp-leftarrow'), + opt.raimg = opt.rar.find('.tp-arr-imgholder'), + opt.laimg = opt.lar.find('.tp-arr-imgholder'), + opt.raimg_b = opt.rar.find('.tp-arr-imgholder2'), + opt.laimg_b = opt.lar.find('.tp-arr-imgholder2'), + opt.ratit = opt.rar.find('.tp-arr-titleholder'), + opt.latit = opt.lar.find('.tp-arr-titleholder'); + } + + // READ REFERENCES + var arr = opt.arr, + rar = opt.rar, + lar = opt.lar, + raimg = opt.raimg, + laimg = opt.laimg, + raimg_b = opt.raimg_b, + laimg_b = opt.laimg_b, + ratit = opt.ratit, + latit = opt.latit; + + + if (comingli.data('title') != undefined) ratit.html(comingli.data('title')); + if (beforli.data('title') != undefined) latit.html(beforli.data('title')); + + + if (rar.hasClass("itishovered")) { + rar.width(ratit.outerWidth(true)+parseInt(rar.css('minWidth'),0)); + } + + if (lar.hasClass("itishovered")) { + lar.width(latit.outerWidth(true)+parseInt(lar.css('minWidth'),0)); + } + + if (arr.hasClass("preview2") && !arr.hasClass("hashoveralready")) { + + arr.addClass("hashoveralready"); + + if (!is_mobile()) + arr.hover(function() { + + var arr = jQuery(this), + th = arr.find('.tp-arr-titleholder'); + if (jQuery(window).width()>767) + arr.width(th.outerWidth(true)+parseInt(arr.css('minWidth'),0)); + arr.addClass("itishovered"); + },function() { + var arr = jQuery(this), + th = arr.find('.tp-arr-titleholder'); + arr.css({width:parseInt(arr.css('minWidth'),0)}); + arr.removeClass("itishovered"); + }); + else { + var arr = jQuery(this), + th = arr.find('.tp-arr-titleholder'); + th.addClass("alwayshidden"); + punchgs.TweenLite.set(th,{autoAlpha:0}); + } + + } + + if (beforli.data('thumb')!=undefined) previmgsrc = beforli.data('thumb'); + if (comingli.data('thumb')!=undefined) nextimgsrc = comingli.data('thumb') + + + // CHANGE THE IMAGE SOURCE (AND ANIMATE IF PREVIEW4 MODE IS ON + if (!arr.hasClass("preview4")) { + + punchgs.TweenLite.to(raimg,0.5,{autoAlpha:0,onComplete:function() { + raimg.css({'backgroundImage':'url('+nextimgsrc+')'}); + laimg.css({'backgroundImage':'url('+previmgsrc+')'}); + }}); + punchgs.TweenLite.to(laimg,0.5,{autoAlpha:0,onComplete:function() { + punchgs.TweenLite.to(raimg,0.5,{autoAlpha:1,delay:0.2}); + punchgs.TweenLite.to(laimg,0.5,{autoAlpha:1,delay:0.2}); + }}); + } else { + + raimg_b.css({'backgroundImage':'url('+nextimgsrc+')'}); + laimg_b.css({'backgroundImage':'url('+previmgsrc+')'}); + + punchgs.TweenLite.fromTo(raimg_b,0.8,{force3D:punchgs.force3d,x:0},{x:-raimg.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function() { + raimg.css({'backgroundImage':'url('+nextimgsrc+')'}); + punchgs.TweenLite.set(raimg_b,{x:0}); + }}); + punchgs.TweenLite.fromTo(laimg_b,0.8,{force3D:punchgs.force3d,x:0},{x:raimg.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function() { + laimg.css({'backgroundImage':'url('+previmgsrc+')'}); + punchgs.TweenLite.set(laimg_b,{x:0}); + }}); + + + + punchgs.TweenLite.fromTo(raimg,0.8,{x:0},{force3D:punchgs.force3d,x:-raimg.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function() { + punchgs.TweenLite.set(raimg,{x:0}); + }}); + punchgs.TweenLite.fromTo(laimg,0.8,{x:0},{force3D:punchgs.force3d,x:raimg.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function() { + punchgs.TweenLite.set(laimg,{x:0}); + }}); + } + + // HOVER EFFECTS ARE SPECIAL ON PREVIEW4 + if (rar.hasClass("preview4") && !rar.hasClass("hashoveralready")) { + + rar.addClass("hashoveralready"); + rar.hover(function() { + var iw = jQuery(this).find('.tp-arr-iwrapper'); + var all = jQuery(this).find('.tp-arr-allwrapper'); + punchgs.TweenLite.fromTo(iw,0.4,{x:iw.width()},{x:0,delay:0.3,ease:punchgs.Power3.easeOut,overwrite:"all"}); + punchgs.TweenLite.to(all,0.2,{autoAlpha:1,overwrite:"all"}); + + },function() { + var iw = jQuery(this).find('.tp-arr-iwrapper'); + var all = jQuery(this).find('.tp-arr-allwrapper'); + punchgs.TweenLite.to(iw,0.4,{x:iw.width(),ease:punchgs.Power3.easeOut,delay:0.2,overwrite:"all"}); + punchgs.TweenLite.to(all,0.2,{delay:0.6,autoAlpha:0,overwrite:"all"}); + }); + + + lar.hover(function() { + var iw = jQuery(this).find('.tp-arr-iwrapper'); + var all = jQuery(this).find('.tp-arr-allwrapper'); + punchgs.TweenLite.fromTo(iw,0.4,{x:(0-iw.width())},{x:0,delay:0.3,ease:punchgs.Power3.easeOut,overwrite:"all"}); + punchgs.TweenLite.to(all,0.2,{autoAlpha:1,overwrite:"all"}); + + },function() { + var iw = jQuery(this).find('.tp-arr-iwrapper'); + var all = jQuery(this).find('.tp-arr-allwrapper'); + punchgs.TweenLite.to(iw,0.4,{x:(0-iw.width()),ease:punchgs.Power3.easeOut,delay:0.2,overwrite:"all"}); + punchgs.TweenLite.to(all,0.2,{delay:0.6,autoAlpha:0,overwrite:"all"}); + }); + + } + // END OF NAVIGATION ARROW CONTENT FILLING + + } + ////////////////////////////////////////////////////////// + // - SET THE IMAGE SIZE TO FIT INTO THE CONTIANER - // + //////////////////////////////////////////////////////// + var setSize = function(img,opt) { + + + opt.container.closest('.forcefullwidth_wrapper_tp_banner').find('.tp-fullwidth-forcer').css({'height':opt.container.height()}); + opt.container.closest('.rev_slider_wrapper').css({'height':opt.container.height()}); + + + opt.width=parseInt(opt.container.width(),0); + opt.height=parseInt(opt.container.height(),0); + + + + opt.bw= (opt.width / opt.startwidth); + opt.bh = (opt.height / opt.startheight); + + if (opt.bh>opt.bw) opt.bh=opt.bw; + if (opt.bh1) { opt.bw=1; opt.bh=1; } + if (opt.bw>1) {opt.bw=1; opt.bh=1; } + + + //opt.height= opt.startheight * opt.bh; + opt.height = Math.round(opt.startheight * (opt.width/opt.startwidth)); + + + if (opt.height>opt.startheight && opt.autoHeight!="on") opt.height=opt.startheight; + + + if (opt.fullScreen=="on") { + opt.height = opt.bw * opt.startheight; + var cow = opt.container.parent().width(); + var coh = jQuery(window).height(); + + if (opt.fullScreenOffsetContainer!=undefined) { + try{ + var offcontainers = opt.fullScreenOffsetContainer.split(","); + jQuery.each(offcontainers,function(index,searchedcont) { + coh = coh - jQuery(searchedcont).outerHeight(true); + if (coh1 && opt.fullScreenOffset!=undefined && opt.fullScreenOffset.length>0) { + + coh = coh - (jQuery(window).height()* parseInt(opt.fullScreenOffset,0)/100); + } else { + if (opt.fullScreenOffset!=undefined && opt.fullScreenOffset.length>0) + coh = coh - parseInt(opt.fullScreenOffset,0); + } + + + if (cohul:first').css({overflow:'hidden',width:'100%',height:'100%',maxHeight:container.parent().css('maxHeight')}).addClass("tp-revslider-mainul"); + if (opt.autoHeight=="on") { + container.find('>ul:first').css({overflow:'hidden',width:'100%',height:'100%',maxHeight:"none"}); + container.css({'maxHeight':'none'}); + container.parent().css({'maxHeight':'none'}); + } + + container.find('>ul:first >li').each(function(j) { + var li=jQuery(this); + li.addClass("tp-revslider-slidesli"); + + // MAKE LI OVERFLOW HIDDEN FOR FURTHER ISSUES + li.css({'width':'100%','height':'100%','overflow':'hidden'}); + + // IF LINK ON SLIDE EXISTS, NEED TO CREATE A PROPER LAYER FOR IT. + if (li.data('link')!=undefined) { + var link = li.data('link'); + var target="_self"; + var zindex=60; + if (li.data('slideindex')=="back") zindex=0; + var linktoslide=checksl = li.data('linktoslide'); + if (linktoslide != undefined) { + if (linktoslide!="next" && linktoslide!="prev") + container.find('>ul:first-child >li').each(function() { + var t = jQuery(this); + if (t.data('origindex')+1==checksl) linktoslide = t.index()+1; + }); + } + if (li.data('target')!=undefined) target=li.data('target'); + if (link!="slide") linktoslide="no"; + var apptxt = ''; + + li.append(apptxt); + } + }); + + // RESOLVE OVERFLOW HIDDEN OF MAIN CONTAINER + container.parent().css({'overflow':'visible'}); + + + container.find('>ul:first >li >img').each(function(j) { + + var img=jQuery(this); + + img.addClass('defaultimg'); + if (img.data('lazyload')!=undefined && img.data('lazydone') != 1) { + + } else { + setSize(img,opt); + } + + if (isIE(8)) { + img.data('kenburns',"off"); + } + + // TURN OF KEN BURNS IF WE ARE ON MOBILE AND IT IS WISHED SO + if (opt.panZoomDisableOnMobile == "on" && is_mobile()) { + img.data('kenburns',"off"); + img.data('bgfit',"cover"); + } + + img.wrap('
'); + + if (opt.dottedOverlay!="none" && opt.dottedOverlay!=undefined) + img.closest('.slotholder').append('
'); + + var src=img.attr('src'), + ll = img.data('lazyload'), + bgfit = img.data('bgfit'), + bgrepeat = img.data('bgrepeat'), + bgposition = img.data('bgposition'); + + + if (bgfit==undefined) bgfit="cover"; + if (bgrepeat==undefined) bgrepeat="no-repeat"; + if (bgposition==undefined) bgposition="center center" + + + var pari = img.closest('.slotholder'); + img.replaceWith('
'); + + if (isIE(8)) { + pari.find('.tp-bgimg').css({backgroundImage:"none",'background-image':'none'}); + pari.find('.tp-bgimg').append(''); + } + + img.css({'opacity':0}); + img.data('li-id',j); + + }); + } + + + /////////////////////// + // PREPARE THE SLIDE // + ////////////////////// + var prepareOneSlide = function(slotholder,opt,visible,vorh) { + + var sh=slotholder, + img = sh.find('.defaultimg'), + scalestart = sh.data('zoomstart'), + rotatestart = sh.data('rotationstart'); + + if (img.data('currotate')!=undefined) + rotatestart = img.data('currotate'); + if (img.data('curscale')!=undefined && vorh=="box") + scalestart = img.data('curscale')*100; + else + if (img.data('curscale')!=undefined) + scalestart = img.data('curscale'); + + setSize(img,opt) + + var src = img.data('src'), + bgcolor=img.css('backgroundColor'), + w = opt.width, + h = opt.height, + fulloff = img.data("fxof"), + fullyoff=0; + + if (opt.autoHeight=="on") h = opt.container.height(); + if (fulloff==undefined) fulloff=0; + + + + var off=0, + bgfit = img.data('bgfit'), + bgrepeat = img.data('bgrepeat'), + bgposition = img.data('bgposition'); + + if (bgfit==undefined) bgfit="cover"; + if (bgrepeat==undefined) bgrepeat="no-repeat"; + if (bgposition==undefined) bgposition="center center"; + + if (isIE(8)) { + sh.data('kenburns',"off"); + var imgsrc=src; + src=""; + } + + switch (vorh) { + // BOX ANIMATION PREPARING + case "box": + // SET THE MINIMAL SIZE OF A BOX + var basicsize = 0, + x = 0, + y = 0; + + if (opt.sloth>opt.slotw) + basicsize=opt.sloth + else + basicsize=opt.slotw; + + if (!visible) { + var off=0-basicsize; + } + + opt.slotw = basicsize; + opt.sloth = basicsize; + var x=0; + var y=0; + + if (sh.data('kenburns')=="on") { + bgfit=scalestart; + if (bgfit.toString().length<4) + bgfit = calculateKenBurnScales(bgfit,sh,opt); + } + + for (var j=0;j'+ + + '
'+ + + '
'+ + '
'); + y=y+basicsize; + + if (isIE(8)) { + + sh.find('.slot ').last().find('.slotslide').append(''); + ieimgposition(sh,opt); + } + + if (scalestart!=undefined && rotatestart!=undefined) + punchgs.TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); + } + x=x+basicsize; + } + break; + + // SLOT ANIMATION PREPARING + case "vertical": + case "horizontal": + if (sh.data('kenburns')=="on") { + bgfit=scalestart; + if (bgfit.toString().length<4) + bgfit = calculateKenBurnScales(bgfit,sh,opt); + } + if (vorh == "horizontal") { + if (!visible) var off=0-opt.slotw; + for (var i=0;i'+ + '
'+ + '
'+ + '
'); + if (scalestart!=undefined && rotatestart!=undefined) + punchgs.TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); + if (isIE(8)) { + sh.find('.slot ').last().find('.slotslide').append(''); + ieimgposition(sh,opt); + } + } + } else { + if (!visible) var off=0-opt.sloth; + for (var i=0;i'+ + + '
'+ + '
'+ + + '
'); + if (scalestart!=undefined && rotatestart!=undefined) + punchgs.TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); + if (isIE(8)) { + sh.find('.slot ').last().find('.slotslide').append(''); + ieimgposition(sh,opt); + } + } + } + break; + } + } + + /*********************************************** + - MOVE IE8 IMAGE IN RIGHT POSITION - + ***********************************************/ + + var ieimgposition = function(nextsh,opt) { + + if (isIE(8)) { + + var ie8img = nextsh.find('.ieeightfallbackimage'); + + var ie8w = ie8img.width(), + ie8h = ie8img.height(); + + + + if (opt.startwidth/opt.startheight 0) + loadAllPrepared(element,found); + else { + clearInterval(inter); + if (call!=undefined) + call(); + } + + },100) + } + + + ////////////////////////////// + // - SWAP THE SLIDES - // + //////////////////////////// + var swapSlide = function(container,opt) { + + try{ + var actli =container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + opt.lastslide=opt.act; + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + var defimg= nextli.find('.defaultimg'); + + + opt.bannertimeronpause = true; + container.trigger('stoptimer'); + opt.cd=0; + + if (defimg.data('lazyload') !=undefined && defimg.data('lazyload') !="undefined" && defimg.data('lazydone') !=1 ) { + + if (!isIE(8)) + defimg.css({backgroundImage:'url("'+nextli.find('.defaultimg').data('lazyload')+'")'}); + else { + defimg.attr('src',nextli.find('.defaultimg').data('lazyload')); + } + + defimg.data('src',nextli.find('.defaultimg').data('lazyload')); + defimg.data('lazydone',1); + defimg.data('orgw',0); + nextli.data('loadeddone',1); + + container.find('.tp-loader').css({display:"block"}); + waitForLoads(container.find('.tp-static-layers'),function() { + waitForLoads(nextli,function() { + var nextsh = nextli.find('.slotholder'); + if (nextsh.data('kenburns')=="on") { + var waitfordimension = setInterval(function() { + var ow = nextsh.data('owidth'); + if (ow>=0) { + clearInterval(waitfordimension); + swapSlideCall(opt,defimg,container) + } + },10) + } else + swapSlideCall(opt,defimg,container) + },opt); + },opt); + + } else { + + if (nextli.data('loadeddone')===undefined) { + nextli.data('loadeddone',1); + waitForLoads(nextli,function() { + swapSlideCall(opt,defimg,container) + },opt); + } else + + swapSlideCall(opt,defimg,container) + } + + } + + var swapSlideCall = function(opt,defimg,container) { + opt.bannertimeronpause = false; + opt.cd=0; + container.trigger('nulltimer'); + container.find('.tp-loader').css({display:"none"}); + setSize(defimg,opt); + setBulPos(container,opt); + setSize(defimg,opt); + swapSlideProgress(container,opt); + + } + + /****************************** + - SWAP SLIDE PROGRESS - + ********************************/ + /*!SWAP SLIDE*/ + var swapSlideProgress = function(container,opt) { + + + container.trigger('revolution.slide.onbeforeswap'); + + opt.transition = 1; + opt.videoplaying = false; + //konsole.log("VideoPlay set to False due swapSlideProgress"); + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + setTimeout(function() { + handleSpecialPreviews(opt); + },200); + + var actsh = actli.find('.slotholder'), + nextsh = nextli.find('.slotholder'); + + if (nextsh.data('kenburns')=="on" || actsh.data('kenburns')=="on") { + stopKenBurn(container,opt); + container.find('.kenburnimg').remove(); + } + + + // IF DELAY HAS BEEN SET VIA THE SLIDE, WE TAKE THE NEW VALUE, OTHER WAY THE OLD ONE... + if (nextli.data('delay')!=undefined) { + opt.cd=0; + opt.delay=nextli.data('delay'); + } else { + opt.delay=opt.origcd; + } + + + if (opt.firststart==1) + punchgs.TweenLite.set(actli,{autoAlpha:0}); + + punchgs.TweenLite.set(actli,{zIndex:18}); + punchgs.TweenLite.set(nextli,{autoAlpha:0,zIndex:20}); + + /////////////////////////// + // REMOVE THE CAPTIONS // + /////////////////////////// + var removetime = 0; + if (actli.index() != nextli.index() && opt.firststart!=1) { + removetime = removeTheCaptions(actli,opt); + + } + + if (actli.data('saveperformance')!="on") removetime = 0; + + setTimeout(function() { + //opt.cd=0; + //container.trigger('nulltimer'); + container.trigger('restarttimer'); + slideAnimation(container,opt,nextli,actli,actsh,nextsh); + },removetime) + + } + + + /****************************************** + - START THE LAYER ANIMATION - + *******************************************/ + + var slideAnimation = function(container,opt,nextli,actli,actsh,nextsh) { + + // IF THERE IS AN OTHER FIRST SLIDE START HAS BEED SELECTED + if (nextli.data('differentissplayed') =='prepared') { + nextli.data('differentissplayed','done'); + nextli.data('transition',nextli.data('savedtransition')); + nextli.data('slotamount',nextli.data('savedslotamount')); + nextli.data('masterspeed',nextli.data('savedmasterspeed')); + } + + + if (nextli.data('fstransition') != undefined && nextli.data('differentissplayed') !="done") { + nextli.data('savedtransition',nextli.data('transition')); + nextli.data('savedslotamount',nextli.data('slotamount')); + nextli.data('savedmasterspeed',nextli.data('masterspeed')); + + nextli.data('transition',nextli.data('fstransition')); + nextli.data('slotamount',nextli.data('fsslotamount')); + nextli.data('masterspeed',nextli.data('fsmasterspeed')); + + nextli.data('differentissplayed','prepared'); + } + + container.find('.active-revslide').removeClass('.active-revslide'); + nextli.addClass("active-revslide"); + + /////////////////////////////////////// + // TRANSITION CHOOSE - RANDOM EFFECTS// + /////////////////////////////////////// + + + if (nextli.data('transition')==undefined) nextli.data('transition',"random"); + + var nexttrans = 0, + transtext = nextli.data('transition').split(","), + curtransid = nextli.data('nexttransid') == undefined ? -1 : nextli.data('nexttransid'); + + if (nextli.data('randomtransition')=="on") + curtransid = Math.round(Math.random()*transtext.length); + else + curtransid=curtransid+1; + + if (curtransid==transtext.length) curtransid=0; + nextli.data('nexttransid',curtransid); + + + + var comingtransition = transtext[curtransid]; + + if (opt.ie) { + if (comingtransition=="boxfade") comingtransition = "boxslide"; + if (comingtransition=="slotfade-vertical") comingtransition = "slotzoom-vertical"; + if (comingtransition=="slotfade-horizontal") comingtransition = "slotzoom-horizontal"; + } + + if (isIE(8)) { + comingtransition = 11; + } + + + var specials = 0; + + if (opt.parallax=="scroll" && opt.parallaxFirstGo==undefined) { + opt.parallaxFirstGo = true; + scrollParallax(container,opt); + setTimeout(function() { + scrollParallax(container,opt); + },210); + setTimeout(function() { + scrollParallax(container,opt); + },420); + + } + + + + + /* if (opt.ffnn == undefined) opt.ffnn=0; + comingtransition=opt.ffnn; + + if ( direction==1) + opt.ffnn=opt.ffnn-1; + else + opt.ffnn=opt.ffnn+1; + + if (opt.ffnn>46) opt.ffnn=0; + if (opt.ffnn<0) opt.ffnn = 46; + + jQuery('.logo').html('Next Anim:'+comingtransition); + + + if (comingtransition=="boxslide" || comingtransition == "boxfade" || comingtransition == "papercut" || + comingtransition==0 || comingtransition == 1 || comingtransition == 16) + comingtransition = 9;*/ + + + /* Transition Name , + Transition Code, + Transition Sub Code, + Max Slots, + MasterSpeed Delays, + Preparing Slots (box,slideh, slidev), + Call on nextsh (null = no, true/false for visibility first preparing), + Call on actsh (null = no, true/false for visibility first preparing), + */ + + + + if (comingtransition=="slidehorizontal") { + comingtransition = "slideleft" + if (opt.leftarrowpressed==1) + comingtransition = "slideright" + } + + if (comingtransition=="slidevertical") { + comingtransition = "slideup" + if (opt.leftarrowpressed==1) + comingtransition = "slidedown" + } + + if (comingtransition=="parallaxhorizontal") { + comingtransition = "parallaxtoleft" + if (opt.leftarrowpressed==1) + comingtransition = "parallaxtoright" + } + + + if (comingtransition=="parallaxvertical") { + comingtransition = "parallaxtotop" + if (opt.leftarrowpressed==1) + comingtransition = "parallaxtobottom" + } + + + + + var transitionsArray = [ ['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,200,'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,200,'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 flatTransitions = [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 premiumTransitions = [16,17,18,19,20,21,22,23,24,25,26,27] + + var nexttrans =0; + var specials = 1; + var STAindex = 0; + var indexcounter =0; + var STA = new Array; + + //START THE KEN BURN PAN ZOOM ANIMATION + if (nextsh.data('kenburns')=="on") { + if (comingtransition == "boxslide" || comingtransition==0 || + comingtransition == "boxfade" || comingtransition==1 || + comingtransition == "papercut" || comingtransition==16 + ) + comingtransition = 11; + + startKenBurn(container,opt,true,true); + } + + + + // RANDOM TRANSITIONS + if (comingtransition == "random") { + comingtransition = Math.round(Math.random()*transitionsArray.length-1); + if (comingtransition>transitionsArray.length-1) comingtransition=transitionsArray.length-1; + } + + // RANDOM FLAT TRANSITIONS + if (comingtransition == "random-static") { + comingtransition = Math.round(Math.random()*flatTransitions.length-1); + if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; + comingtransition = flatTransitions[comingtransition]; + } + + // RANDOM PREMIUM TRANSITIONS + if (comingtransition == "random-premium") { + comingtransition = Math.round(Math.random()*premiumTransitions.length-1); + if (comingtransition>premiumTransitions.length-1) comingtransition=premiumTransitions.length-1; + comingtransition = premiumTransitions[comingtransition]; + } + + //joomla only change: avoid problematic transitions that don't compatible with mootools + var problematicTransitions = [12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]; + if(opt.isJoomla == true && window.MooTools != undefined && problematicTransitions.indexOf(comingtransition) != -1){ + + var newTransIndex = Math.round(Math.random() * (premiumTransitions.length-2) ) + 1; + + //some limits fix + if (newTransIndex > premiumTransitions.length-1) + newTransIndex = premiumTransitions.length-1; + + if(newTransIndex == 0) + newTransIndex = 1; + + comingtransition = premiumTransitions[newTransIndex]; + } + + + + function findTransition() { + // FIND THE RIGHT TRANSITION PARAMETERS HERE + jQuery.each(transitionsArray,function(inde,trans) { + if (trans[0] == comingtransition || trans[8] == comingtransition) { + nexttrans = trans[1]; + specials = trans[2]; + STAindex = indexcounter; + } + indexcounter = indexcounter+1; + }) + } + + findTransition(); + + // CHECK IF WE HAVE IE8 AND THAN FALL BACK ON FLAT TRANSITIONS + if (isIE(8) && nexttrans>15 && nexttrans<28) { + comingtransition = Math.round(Math.random()*flatTransitions.length-1); + if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; + comingtransition = flatTransitions[comingtransition]; + indexcounter =0; + findTransition(); + } + + + + + // WHICH DIRECTION DID WE HAD ? + var direction=-1; + if (opt.leftarrowpressed==1 || opt.act>opt.next) direction=1; + + + + opt.leftarrowpressed=0; + + if (nexttrans>26) nexttrans = 26; + if (nexttrans<0) nexttrans = 0; + + + // DEFINE THE MASTERSPEED FOR THE SLIDE // + var masterspeed=300; + if (nextli.data('masterspeed')!=undefined && nextli.data('masterspeed')>99 && nextli.data('masterspeed')opt.delay) + masterspeed = opt.delay; + + // PREPARED DEFAULT SETTINGS PER TRANSITION + STA = transitionsArray[STAindex]; + + ///////////////////////////////////////////// + // SET THE BULLETS SELECTED OR UNSELECTED // + ///////////////////////////////////////////// + container.parent().find(".bullet").each(function() { + var bul = jQuery(this), + buli = bul.index(); + bul.removeClass("selected"); + + if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") + buli = bul.index()-1; + + if (buli == opt.next) bul.addClass('selected'); + + }); + + /////////////////////////////// + // MAIN TIMELINE DEFINITION // + /////////////////////////////// + + var mtl = new punchgs.TimelineLite({onComplete:function() { + letItFree(container,opt,nextsh,actsh,nextli,actli,mtl); + }}); + //SET DEFAULT IMG UNVISIBLE AT START + mtl.add(punchgs.TweenLite.set(nextsh.find('.defaultimg'),{opacity:0})); + mtl.pause(); + + + + + ///////////////////////////////////////////// + // SET THE ACTUAL AMOUNT OF SLIDES !! // + // SET A RANDOM AMOUNT OF SLOTS // + /////////////////////////////////////////// + if (nextli.data('slotamount')==undefined || nextli.data('slotamount')<1) { + opt.slots=Math.round(Math.random()*12+4); + if (comingtransition=="boxslide") + opt.slots=Math.round(Math.random()*6+3); + else + if (comingtransition=="flyin") + opt.slots=Math.round(Math.random()*4+1); + } else { + opt.slots=nextli.data('slotamount'); + + } + + ///////////////////////////////////////////// + // SET THE ACTUAL AMOUNT OF SLIDES !! // + // SET A RANDOM AMOUNT OF SLOTS // + /////////////////////////////////////////// + if (nextli.data('rotate')==undefined) + opt.rotate = 0 + else + if (nextli.data('rotate')==999) + opt.rotate=Math.round(Math.random()*360); + else + opt.rotate=nextli.data('rotate'); + if (!jQuery.support.transition || opt.ie || opt.ie9) opt.rotate=0; + + + + + ////////////////////////////// + // FIRST START // + ////////////////////////////// + if (opt.firststart==1) opt.firststart=0; + + + // ADJUST MASTERSPEED + masterspeed = masterspeed + STA[4]; + + if ((nexttrans==4 || nexttrans==5 || nexttrans==6) && opt.slots<3 ) opt.slots=3; + + // ADJUST SLOTS + if (STA[3] != 0) opt.slots = Math.min(opt.slots,STA[3]); + if (nexttrans==9) opt.slots = opt.width/20; + if (nexttrans==10) opt.slots = opt.height/20; + + // prepareOneSlide + + if (STA[7] !=null) prepareOneSlide(actsh,opt,STA[7],STA[5]); + if (STA[6] !=null) prepareOneSlide(nextsh,opt,STA[6],STA[5]); + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==0) { // BOXSLIDE + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + var maxz = Math.ceil(opt.height/opt.sloth); + var curz = 0; + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + curz=curz+1; + if (curz==maxz) curz=0; + + mtl.add(punchgs.TweenLite.from(ss,(masterspeed)/600, + {opacity:0,top:(0-opt.sloth),left:(0-opt.slotw),rotation:opt.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),((j*15) + ((curz)*30))/1500); + }); + } + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==1) { + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + var maxtime, + maxj = 0; + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this), + rand=Math.random()*masterspeed+300, + rand2=Math.random()*500+200; + if (rand+rand2>maxtime) { + maxtime = rand2+rand2; + maxj = j; + } + mtl.add(punchgs.TweenLite.from(ss,rand/1000, + {autoAlpha:0, force3D:"auto",rotation:opt.rotate,ease:punchgs.Power2.easeInOut}),rand2/1000); + }); + } + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==2) { + + var subtl = new punchgs.TimelineLite(); + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this); + subtl.add(punchgs.TweenLite.to(ss,masterspeed/1000,{left:opt.slotw, force3D:"auto",rotation:(0-opt.rotate)}),0); + mtl.add(subtl,0); + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function() { + var ss=jQuery(this); + subtl.add(punchgs.TweenLite.from(ss,masterspeed/1000,{left:0-opt.slotw, force3D:"auto",rotation:opt.rotate}),0); + mtl.add(subtl,0); + }); + } + + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==3) { + var subtl = new punchgs.TimelineLite(); + + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this); + subtl.add(punchgs.TweenLite.to(ss,masterspeed/1000,{top:opt.sloth,rotation:opt.rotate,force3D:"auto",transformPerspective:600}),0); + mtl.add(subtl,0); + + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function() { + var ss=jQuery(this); + subtl.add(punchgs.TweenLite.from(ss,masterspeed/1000,{top:0-opt.sloth,rotation:opt.rotate,ease:punchgs.Power2.easeOut,force3D:"auto",transformPerspective:600}),0); + mtl.add(subtl,0); + }); + } + + + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==4 || nexttrans==5) { + + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + var cspeed = (masterspeed)/1000, + ticker = cspeed, + subtl = new punchgs.TimelineLite(); + + actsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + var del = (i*cspeed)/opt.slots; + if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; + subtl.add(punchgs.TweenLite.to(ss,cspeed*3,{transformPerspective:600,force3D:"auto",top:0+opt.height,opacity:0.5,rotation:opt.rotate,ease:punchgs.Power2.easeInOut,delay:del}),0); + mtl.add(subtl,0); + }); + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + var del = (i*cspeed)/opt.slots; + if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; + subtl.add(punchgs.TweenLite.from(ss,cspeed*3, + {top:(0-opt.height),opacity:0.5,rotation:opt.rotate,force3D:"auto",ease:punchgs.Power2.easeInOut,delay:del}),0); + mtl.add(subtl,0); + + }); + + + } + + ///////////////////////////////////// + // THE SLOTSLIDE - TRANSITION I. // + //////////////////////////////////// + if (nexttrans==6) { + + + if (opt.slots<2) opt.slots=2; + if (opt.slots % 2) opt.slots = opt.slots+1; + + var subtl = new punchgs.TimelineLite(); + + //SET DEFAULT IMG UNVISIBLE + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + + actsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + if (i+1opt.delay) masterspeed=opt.delay; + var subtl = new punchgs.TimelineLite(); + + //SET DEFAULT IMG UNVISIBLE + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this).find('div'); + subtl.add(punchgs.TweenLite.to(ss,masterspeed/1000,{ + left:(0-opt.slotw/2)+'px', + top:(0-opt.height/2)+'px', + width:(opt.slotw*2)+"px", + height:(opt.height*2)+"px", + opacity:0, + rotation:opt.rotate, + force3D:"auto", + ease:punchgs.Power2.easeOut}),0); + mtl.add(subtl,0); + + }); + + ////////////////////////////////////////////////////////////// + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT // + /////////////////////////////////////////////////////////////// + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this).find('div'); + + subtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:0,top:0,opacity:0,transformPerspective:600}, + {left:(0-i*opt.slotw)+'px', + ease:punchgs.Power2.easeOut, + force3D:"auto", + top:(0)+'px', + width:opt.width, + height:opt.height, + opacity:1,rotation:0, + delay:0.1}),0); + mtl.add(subtl,0); + }); + } + + + + + //////////////////////////////////// + // THE SLOTSZOOM - TRANSITION II. // + //////////////////////////////////// + if (nexttrans==8) { + + masterspeed = masterspeed * 3; + if (masterspeed>opt.delay) masterspeed=opt.delay; + var subtl = new punchgs.TimelineLite(); + + + + // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT + actsh.find('.slotslide').each(function() { + var ss=jQuery(this).find('div'); + subtl.add(punchgs.TweenLite.to(ss,masterspeed/1000, + {left:(0-opt.width/2)+'px', + top:(0-opt.sloth/2)+'px', + width:(opt.width*2)+"px", + height:(opt.sloth*2)+"px", + force3D:"auto", + opacity:0,rotation:opt.rotate}),0); + mtl.add(subtl,0); + + }); + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT // + /////////////////////////////////////////////////////////////// + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this).find('div'); + + subtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:0, top:0,opacity:0,force3D:"auto"}, + {'left':(0)+'px', + 'top':(0-i*opt.sloth)+'px', + 'width':(nextsh.find('.defaultimg').data('neww'))+"px", + 'height':(nextsh.find('.defaultimg').data('newh'))+"px", + opacity:1,rotation:0, + }),0); + mtl.add(subtl,0); + }); + } + + + //////////////////////////////////////// + // THE SLOTSFADE - TRANSITION III. // + ////////////////////////////////////// + if (nexttrans==9 || nexttrans==10) { + var ssamount=0; + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + ssamount++; + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000,{autoAlpha:0,force3D:"auto",transformPerspective:600}, + {autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:(i*5)/1000}),0); + + }); + } + + /////////////////////////// + // SIMPLE FADE ANIMATION // + /////////////////////////// + if (nexttrans==11 || nexttrans==26) { + + + var ssamount=0; + if (nexttrans==26) masterspeed=0; + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function(i) { + var ss=jQuery(this); + mtl.add(punchgs.TweenLite.from(ss,masterspeed/1000,{autoAlpha:0,force3D:"auto",ease:punchgs.Power2.easeInOut}),0); + }); + } + + if (nexttrans==12 || nexttrans==13 || nexttrans==14 || nexttrans==15) { + masterspeed = masterspeed; + if (masterspeed>opt.delay) masterspeed=opt.delay; + //masterspeed = 1000; + + setTimeout(function() { + punchgs.TweenLite.set(actsh.find('.defaultimg'),{autoAlpha:0}); + + },100); + + var oow = opt.width, + ooh = opt.height, + ssn=nextsh.find('.slotslide'), + twx = 0, + twy = 0, + op = 1, + scal = 1, + fromscale = 1, + easeitout = punchgs.Power2.easeInOut, + easeitin = punchgs.Power2.easeInOut, + speedy = masterspeed/1000, + speedy2 = speedy; + + + if (opt.fullWidth=="on" || opt.fullScreen=="on") { + oow=ssn.width(); + ooh=ssn.height(); + } + + if (nexttrans==12) + twx = oow; + else + if (nexttrans==15) + twx = 0-oow; + else + if (nexttrans==13) + twy = ooh; + else + if (nexttrans==14) + twy = 0-ooh; + + + // DEPENDING ON EXTENDED SPECIALS, DIFFERENT SCALE AND OPACITY FUNCTIONS NEED TO BE ADDED + if (specials == 1) op = 0; + if (specials == 2) op = 0; + if (specials == 3) { + easeitout = punchgs.Power2.easeInOut; + easeitin = punchgs.Power1.easeInOut; + speedy = masterspeed / 1200; + } + + if (specials==4 || specials==5) + scal=0.6; + if (specials==6 ) + scal=1.4; + + + if (specials==5 || specials==6) { + fromscale=1.4; + op=0; + oow=0; + ooh=0;twx=0;twy=0; + } + if (specials==6) fromscale=0.6; + var dd = 0; + + mtl.add(punchgs.TweenLite.from(ssn,speedy, + {left:twx, top:twy, scale:fromscale, opacity:op,rotation:opt.rotate,ease:easeitin,force3D:"auto"}),0); + + var ssa=actsh.find('.slotslide'); + + if (specials==4 || specials==5) { + oow = 0; ooh=0; + } + + if (specials!=1) + switch (nexttrans) { + case 12: + mtl.add(punchgs.TweenLite.to(ssa,speedy2,{'left':(0-oow)+'px',force3D:"auto",scale:scal,opacity:op,rotation:opt.rotate,ease:easeitout}),0); + break; + case 15: + mtl.add(punchgs.TweenLite.to(ssa,speedy2,{'left':(oow)+'px',force3D:"auto",scale:scal,opacity:op,rotation:opt.rotate,ease:easeitout}),0); + break; + case 13: + mtl.add(punchgs.TweenLite.to(ssa,speedy2,{'top':(0-ooh)+'px',force3D:"auto",scale:scal,opacity:op,rotation:opt.rotate,ease:easeitout}),0); + break; + case 14: + mtl.add(punchgs.TweenLite.to(ssa,speedy2,{'top':(ooh)+'px',force3D:"auto",scale:scal,opacity:op,rotation:opt.rotate,ease:easeitout}),0); + break; + } + + } + + ////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XVI. // + ////////////////////////////////////// + if (nexttrans==16) { // PAPERCUT + + + var subtl = new punchgs.TimelineLite(); + mtl.add(punchgs.TweenLite.set(actli,{'position':'absolute','z-index':20}),0); + mtl.add(punchgs.TweenLite.set(nextli,{'position':'absolute','z-index':15}),0); + + + // PREPARE THE CUTS + actli.wrapInner('
'); + + actli.find('.tp-half-one').clone(true).appendTo(actli).addClass("tp-half-two"); + actli.find('.tp-half-two').removeClass('tp-half-one'); + + var oow = opt.width, + ooh = opt.height; + if (opt.autoHeight=="on") + ooh = container.height(); + + + actli.find('.tp-half-one .defaultimg').wrap('
') + actli.find('.tp-half-two .defaultimg').wrap('
') + actli.find('.tp-half-two .defaultimg').css({position:'absolute',top:'-50%'}); + actli.find('.tp-half-two .tp-caption').wrapAll('
'); + + mtl.add(punchgs.TweenLite.set(actli.find('.tp-half-two'), + {width:oow,height:ooh,overflow:'hidden',zIndex:15,position:'absolute',top:ooh/2,left:'0px',transformPerspective:600,transformOrigin:"center bottom"}),0); + + mtl.add(punchgs.TweenLite.set(actli.find('.tp-half-one'), + {width:oow,height:ooh/2,overflow:'visible',zIndex:10,position:'absolute',top:'0px',left:'0px',transformPerspective:600,transformOrigin:"center top"}),0); + + // ANIMATE THE CUTS + var img=actli.find('.defaultimg'), + ro1=Math.round(Math.random()*20-10), + ro2=Math.round(Math.random()*20-10), + ro3=Math.round(Math.random()*20-10), + xof = Math.random()*0.4-0.2, + yof = Math.random()*0.4-0.2, + sc1=Math.random()*1+1, + sc2=Math.random()*1+1, + sc3=Math.random()*0.3+0.3; + + mtl.add(punchgs.TweenLite.set(actli.find('.tp-half-one'),{overflow:'hidden'}),0); + mtl.add(punchgs.TweenLite.fromTo(actli.find('.tp-half-one'),masterspeed/800, + {width:oow,height:ooh/2,position:'absolute',top:'0px',left:'0px',force3D:"auto",transformOrigin:"center top"}, + {scale:sc1,rotation:ro1,y:(0-ooh-ooh/4),autoAlpha:0,ease:punchgs.Power2.easeInOut}),0); + mtl.add(punchgs.TweenLite.fromTo(actli.find('.tp-half-two'),masterspeed/800, + {width:oow,height:ooh,overflow:'hidden',position:'absolute',top:ooh/2,left:'0px',force3D:"auto",transformOrigin:"center bottom"}, + {scale:sc2,rotation:ro2,y:ooh+ooh/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function() { + // CLEAN UP + punchgs.TweenLite.set(actli,{'position':'absolute','z-index':15}); + punchgs.TweenLite.set(nextli,{'position':'absolute','z-index':20}); + if (actli.find('.tp-half-one').length>0) { + actli.find('.tp-half-one .defaultimg').unwrap(); + actli.find('.tp-half-one .slotholder').unwrap(); + } + actli.find('.tp-half-two').remove(); + }}),0); + + subtl.add(punchgs.TweenLite.set(nextsh.find('.defaultimg'),{autoAlpha:1}),0); + + if (actli.html()!=null) + mtl.add(punchgs.TweenLite.fromTo(nextli,(masterspeed-200)/1000, + {scale:sc3,x:(opt.width/4)*xof, y:(ooh/4)*yof,rotation:ro3,force3D:"auto",transformOrigin:"center center",ease:punchgs.Power2.easeOut}, + {autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0); + + mtl.add(subtl,0); + + + } + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XVII. // + /////////////////////////////////////// + if (nexttrans==17) { // 3D CURTAIN HORIZONTAL + + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + mtl.add(punchgs.TweenLite.fromTo(ss,(masterspeed)/800, + {opacity:0,rotationY:0,scale:0.9,rotationX:-110,force3D:"auto",transformPerspective:600,transformOrigin:"center center"}, + {opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:j*0.06}),0); + + }); + } + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XVIII. // + /////////////////////////////////////// + if (nexttrans==18) { // 3D CURTAIN VERTICAL + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + mtl.add(punchgs.TweenLite.fromTo(ss,(masterspeed)/500, + {autoAlpha:0,rotationY:310,scale:0.9,rotationX:10,force3D:"auto",transformPerspective:600,transformOrigin:"center center"}, + {autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:j*0.06}),0); + }); + + + + } + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XIX. // + /////////////////////////////////////// + if (nexttrans==19 || nexttrans==22) { // IN CUBE + + var subtl = new punchgs.TimelineLite(); + //SET DEFAULT IMG UNVISIBLE + + mtl.add(punchgs.TweenLite.set(actli,{zIndex:20}),0); + mtl.add(punchgs.TweenLite.set(nextli,{zIndex:20}),0); + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'), + chix2=actli.css('z-index'), + rot = 90, + op = 1, + torig ="center center "; + + if (direction==1) rot = -90; + + if (nexttrans==19) { + torig = torig+"-"+opt.height/2; + op=0; + + } else { + torig = torig+opt.height/2; + } + + // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT + punchgs.TweenLite.set(container,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}); + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + subtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:opt.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig,rotationX:rot}, + {left:0,rotationY:0,top:0,z:0, scale:1,force3D:"auto",rotationX:0, delay:(j*50)/1000,ease:punchgs.Power2.easeInOut}),0); + subtl.add(punchgs.TweenLite.to(ss,0.1,{autoAlpha:1,delay:(j*50)/1000}),0); + mtl.add(subtl); + }); + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + var rot = -90; + if (direction==1) rot = 90; + + subtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig, rotationX:0}, + {autoAlpha:1,rotationY:opt.rotate,top:0,z:10, scale:1,rotationX:rot, delay:(j*50)/1000,force3D:"auto",ease:punchgs.Power2.easeInOut}),0); + + mtl.add(subtl); + }); + } + + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==20 ) { // FLYIN + + + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'), + chix2=actli.css('z-index'); + + if (direction==1) { + var ofx = -opt.width + var rot =70; + var torig = "left center -"+opt.height/2; + } else { + var ofx = opt.width; + var rot = -70; + var torig = "right center -"+opt.height/2; + } + + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1500, + {left:ofx,rotationX:40,z:-600, opacity:op,top:0,force3D:"auto",transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0, delay:(j*50)/1000,ease:punchgs.Power2.easeInOut}),0); + + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {rotationX:40,z:-600, opacity:op,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {rotationX:0,opacity:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/1000,ease:punchgs.Power2.easeInOut}),0); + + mtl.add(punchgs.TweenLite.to(ss,0.1,{opacity:1,force3D:"auto",delay:(j*50)/1000+masterspeed/2000}),0); + + }); + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + if (direction!=1) { + var ofx = -opt.width + var rot =70; + var torig = "left center -"+opt.height/2; + } else { + var ofx = opt.width; + var rot = -70; + var torig = "right center -"+opt.height/2; + } + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {opacity:1,rotationX:0,top:0,z:0,scale:1,left:0, force3D:"auto",transformPerspective:600,transformOrigin:torig, rotationY:0}, + {opacity:1,rotationX:40,top:0, z:-600, left:ofx, force3D:"auto",scale:0.8,rotationY:rot, delay:(j*50)/1000,ease:punchgs.Power2.easeInOut}),0); + mtl.add(punchgs.TweenLite.to(ss,0.1,{force3D:"auto",opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}),0); + }); + } + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==21 || nexttrans==25) { // TURNOFF + + + //SET DEFAULT IMG UNVISIBLE + + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'), + chix2=actli.css('z-index'), + rot = 90, + ofx = -opt.width, + rot2 = -rot; + + if (direction==1) { + if (nexttrans==25) { + var torig = "center top 0"; + rot = opt.rotate; + } else { + var torig = "left center 0"; + rot2 = opt.rotate; + } + + } else { + ofx = opt.width; + rot = -90; + if (nexttrans==25) { + var torig = "center bottom 0" + rot2 = -rot; + rot = opt.rotate; + } else { + var torig = "right center 0"; + rot2 = opt.rotate; + } + } + + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + + + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:0,transformStyle:"flat",rotationX:rot2,z:0, autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0,rotationX:0,top:0,z:0, autoAlpha:1,scale:1,rotationY:0,force3D:"auto", ease:punchgs.Power3.easeInOut}),0); + }); + + + if (direction!=1) { + ofx = -opt.width + rot = 90; + + if (nexttrans==25) { + torig = "center top 0" + rot2 = -rot; + rot = opt.rotate; + } else { + torig = "left center 0"; + rot2 = opt.rotate; + } + + } else { + ofx = opt.width; + rot = -90; + if (nexttrans==25) { + torig = "center bottom 0" + rot2 = -rot; + rot = opt.rotate; + } else { + torig = "right center 0"; + rot2 = opt.rotate; + } + } + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:0,transformStyle:"flat",rotationX:0,z:0, autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig,rotationY:0}, + {left:0,rotationX:rot2,top:0,z:0,autoAlpha:1,force3D:"auto", scale:1,rotationY:rot,ease:punchgs.Power1.easeInOut}),0); + }); + } + + + + //////////////////////////////////////// + // THE SLOTSLIDE - TRANSITION XX. // + /////////////////////////////////////// + if (nexttrans==23 || nexttrans == 24) { // cube-horizontal - inboxhorizontal + + + //SET DEFAULT IMG UNVISIBLE + setTimeout(function() { + actsh.find('.defaultimg').css({opacity:0}); + },100); + var chix=nextli.css('z-index'), + chix2=actli.css('z-index'), + rot = -90, + op = 1, + opx=0; + + if (direction==1) rot = 90; + if (nexttrans==23) { + var torig = "center center -"+opt.width/2; + op=0; + } else + var torig = "center center "+opt.width/2; + + punchgs.TweenLite.set(container,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500}); + nextsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:opx,rotationX:opt.rotate,force3D:"auto",opacity:op,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, + {left:0,rotationX:0,autoAlpha:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/500,ease:punchgs.Power2.easeInOut}),0); + }); + + rot = 90; + if (direction==1) rot = -90; + + actsh.find('.slotslide').each(function(j) { + var ss=jQuery(this); + mtl.add(punchgs.TweenLite.fromTo(ss,masterspeed/1000, + {left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:torig, rotationY:0}, + {left:opx,autoAlpha:1,rotationX:opt.rotate,top:0, scale:1,rotationY:rot, delay:(j*50)/500,ease:punchgs.Power2.easeInOut}),0); + + + + }); + } + + + // SHOW FIRST LI && ANIMATE THE CAPTIONS + mtl.pause(); + animateTheCaptions(nextli, opt,null,mtl); + punchgs.TweenLite.to(nextli,0.001,{autoAlpha:1}); + + var data={}; + data.slideIndex=opt.next+1; + data.slide = nextli; + container.trigger('revolution.slide.onchange',data); + setTimeout(function() { container.trigger('revolution.slide.onafterswap'); },masterspeed); + container.trigger('revolution.slide.onvideostop'); + + } + + + + + + + /************************************** + - GIVE FREE THE TRANSITIOSN - + **************************************/ + var letItFree = function(container,opt,nextsh,actsh,nextli,actli,mtl) { + punchgs.TweenLite.to(nextsh.find('.defaultimg'),0.001,{autoAlpha:1,onComplete:function() { + removeSlots(container,opt,nextli); + }}); + if (nextli.index()!=actli.index()) { + punchgs.TweenLite.to(actli,0.2,{autoAlpha:0,onComplete:function() { + removeSlots(container,opt,actli); + }}); + } + opt.act=opt.next; + if (opt.navigationType=="thumb") moveSelectedThumb(container); + if (nextsh.data('kenburns')=="on") { + startKenBurn(container,opt); + } + container.find('.current-sr-slide-visible').removeClass("current-sr-slide-visible"); + nextli.addClass("current-sr-slide-visible"); + if (opt.parallax=="scroll" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + scrollParallax(container,opt); + } + + mtl.clear(); + + } + + + ////////////////////////////////////////// + // CHANG THE YOUTUBE PLAYER STATE HERE // + //////////////////////////////////////// + var onPlayerStateChange = function(event) { + + var embedCode = event.target.getVideoEmbedCode(); + var ytcont = jQuery('#'+embedCode.split('id="')[1].split('"')[0]) + var container = ytcont.closest('.tp-simpleresponsive'); + var player = ytcont.parent().data('player'); + + if (event.data == YT.PlayerState.PLAYING) { + + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + + if (ytcont.closest('.tp-caption').data('volume')=="mute") + player.mute(); + + opt.videoplaying=true; + container.trigger('stoptimer'); + container.trigger('revolution.slide.onvideoplay'); + + } else { + + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + if ((event.data!=-1 && event.data!=3)) { + + opt.videoplaying=false; + container.trigger('starttimer'); + container.trigger('revolution.slide.onvideostop'); + + } + + if (event.data==0 && opt.nextslideatend==true) + opt.container.revnext(); + else { + + opt.videoplaying=false; + container.trigger('starttimer'); + container.trigger('revolution.slide.onvideostop'); + } + + } + + + } + + + + //////////////////////// + // VIMEO ADD EVENT ///// + //////////////////////// + var addEvent = function(element, eventName, callback) { + + if (element.addEventListener) + element.addEventListener(eventName, callback, false); + else + element.attachEvent(eventName, callback, false); + } + + + + + + ///////////////////////////////////// + // EVENT HANDLING FOR VIMEO VIDEOS // + ///////////////////////////////////// + + var vimeoready_auto = function(player_id,autoplay) { + + var froogaloop = $f(player_id), + vimcont = jQuery('#'+player_id), + container = vimcont.closest('.tp-simpleresponsive'), + nextcaption = vimcont.closest('.tp-caption'); + + setTimeout(function() { + froogaloop.addEvent('ready', function(data) { + if(autoplay) froogaloop.api('play'); + + + froogaloop.addEvent('play', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + + opt.videoplaying=true; + container.trigger('stoptimer'); + if (nextcaption.data('volume')=="mute") + froogaloop.api('setVolume',"0"); + }); + + froogaloop.addEvent('finish', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.videoplaying=false; + container.trigger('starttimer'); + + container.trigger('revolution.slide.onvideoplay'); //opt.videostartednow=1; + if (opt.nextslideatend==true) + opt.container.revnext(); + + }); + + froogaloop.addEvent('pause', function(data) { + var bt = container.find('.tp-bannertimer'); + var opt = bt.data('opt'); + opt.videoplaying=false; + container.trigger('starttimer'); + container.trigger('revolution.slide.onvideostop'); //opt.videostoppednow=1; + }); + + // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED + nextcaption.find('.tp-thumb-image').click(function() { + punchgs.TweenLite.to(jQuery(this),0.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}) + froogaloop.api("play"); + }) + }); + },150); + } + + + + ///////////////////////////////////// + // RESIZE HTML5VIDEO FOR FULLSCREEN// + ///////////////////////////////////// + var updateHTML5Size = function(pc,container) { + var windowW = container.width(); + var windowH = container.height(); + var mediaAspect = pc.data('mediaAspect'); + if (mediaAspect == undefined) mediaAspect = 1; + + + var windowAspect = windowW/windowH; + + pc.css({position:"absolute"}); + var video = pc.find('video'); + + + if (windowAspect < mediaAspect) { + // taller + punchgs.TweenLite.to(pc,0.0001,{width:windowH*mediaAspect,force3D:"auto",top:0, + left:0-(windowH*mediaAspect-windowW)/2, + height:windowH}); + + } else { + // wider + punchgs.TweenLite.to(pc,0.0001,{width:windowW,force3D:"auto",top:0-(windowW/mediaAspect-windowH)/2, + left:0, + height:windowW/mediaAspect}); + } + } + + + + ///////////////////////////////////// + // - CREATE ANIMATION OBJECT - // + ///////////////////////////////////// + var newAnimObject = function() { + var a = new Object(); + a.x=0; + a.y=0; + a.rotationX = 0; + a.rotationY = 0; + a.rotationZ = 0; + a.scale = 1; + a.scaleX = 1; + a.scaleY = 1; + a.skewX = 0; + a.skewY = 0; + a.opacity=0; + a.transformOrigin = "center, center"; + a.transformPerspective = 400; + a.rotation = 0; + return a; + } + + /////////////////////////////////////////////////// + // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS // + /////////////////////////////////////////////////// + var getAnimDatas = function(frm,data) { + + var customarray = data.split(';'); + jQuery.each(customarray,function(index,param) { + + param = param.split(":") + + var w = param[0], + v = param[1]; + if (w=="rotationX") frm.rotationX = parseInt(v,0); + if (w=="rotationY") frm.rotationY = parseInt(v,0); + if (w=="rotationZ") frm.rotationZ = parseInt(v,0); + if (w=="rotationZ") frm.rotation = parseInt(v,0); + if (w=="scaleX") frm.scaleX = parseFloat(v); + if (w=="scaleY") frm.scaleY = parseFloat(v); + if (w=="opacity") frm.opacity = parseFloat(v); + if (w=="skewX") frm.skewX = parseInt(v,0); + if (w=="skewY") frm.skewY = parseInt(v,0); + if (w=="x") frm.x = parseInt(v,0); + if (w=="y") frm.y = parseInt(v,0); + if (w=="z") frm.z = parseInt(v,0); + if (w=="transformOrigin") frm.transformOrigin = v.toString(); + if (w=="transformPerspective") frm.transformPerspective=parseInt(v,0); + }) + + return frm; + } + /////////////////////////////////////////////////////////////////// + // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS ANIMATION STEPS // + /////////////////////////////////////////////////////////////////// + var getAnimSteps = function(data) { + + var paramarray = data.split("animation:"); + var params = new Object(); + + params.animation = getAnimDatas(newAnimObject(),paramarray[1]); + var customarray = paramarray[0].split(';'); + + jQuery.each(customarray,function(index,param) { + param = param.split(":") + var w = param[0], + v = param[1]; + if (w=="typ") params.typ = v; + if (w=="speed") params.speed = parseInt(v,0)/1000; + if (w=="start") params.start = parseInt(v,0)/1000; + if (w=="elementdelay") params.elementdelay = parseFloat(v); + if (w=="ease") params.ease = v; + }) + + return params; + } + + + + + //////////////////////// + // SHOW THE CAPTION // + /////////////////////// + var animateTheCaptions = function(nextli, opt,recalled,mtl) { + + // MAKE SURE THE ANIMATION ENDS WITH A CLEANING ON MOZ TRANSFORMS + function animcompleted() { + } + + function tlstart() { + } + + if (nextli.data('ctl')==undefined) { + nextli.data('ctl',new punchgs.TimelineLite()); + } + + var ctl = nextli.data('ctl'), + offsetx=0, + offsety=0, + allcaptions = nextli.find('.tp-caption'), + allstaticcaptions = opt.container.find('.tp-static-layers').find('.tp-caption'); + + + ctl.pause(); + + jQuery.each(allstaticcaptions, function(index,staticcapt) { + allcaptions.push(staticcapt); + }); + + allcaptions.each(function(i) { + var internrecalled = recalled, + staticdirection = -1, // 1 -> In, 2-> Out 0-> Ignore -1-> Not Static + nextcaption=jQuery(this); + + if (nextcaption.hasClass("tp-static-layer")) { + var nss = nextcaption.data('startslide'), + nes = nextcaption.data('endslide'); + + if ( nss == -1 || nss == "-1") + nextcaption.data('startslide',0); + + if ( nes== -1 || nes == "-1") + nextcaption.data('endslide',opt.slideamount); + + if (nss==0 && nes==opt.slideamount-1) + nextcaption.data('endslide',opt.slideamount+1); + + + // RESET SETTIGNS AFTER SETTING THEM AGAIN + nss = nextcaption.data('startslide'), + nes = nextcaption.data('endslide'); + + + // IF STATIC ITEM CURRENTLY NOT VISIBLE + if (!nextcaption.hasClass("tp-is-shown")) { + // IF ITEM SHOULD BECOME VISIBLE + + + if ((nss<=opt.next && nes>=opt.next) || + (nss == opt.next) || (nes == opt.next)){ + + nextcaption.addClass("tp-is-shown"); + staticdirection = 1; + } else { + + staticdirection = 0; + } + // IF STATIC ITEM ALREADY VISIBLE + } else { + if ((nes==opt.next) || + (nss > opt.next) || + (nes < opt.next)) { + + staticdirection = 2; + //nextcaption.removeClass("tp-is-shown"); + } else { + staticdirection = 0; + } + + } + + //if (staticdirection==2) staticdirection = 0; + + } + + offsetx = opt.width/2 - (opt.startwidth*opt.bw)/2; + + var xbw = opt.bw; + var xbh = opt.bh; + + if (opt.fullScreen=="on") + offsety = opt.height/2 - (opt.startheight*opt.bh)/2; + + if (opt.autoHeight=="on" || (opt.minHeight!=undefined && opt.minHeight>0)) + offsety = opt.container.height()/2 - (opt.startheight*opt.bh)/2;; + + + if (offsety<0) offsety=0; + + + + var handlecaption=0; + + // HIDE CAPTION IF RESOLUTION IS TOO LOW + if (opt.width0 || nextcaption.find('video').length>0 ) { + + // YOUTUBE AND VIMEO LISTENRES INITIALISATION + var frameID = "iframe"+Math.round(Math.random()*100000+1), + vidw = nextcaption.data("videowidth"), + vidh = nextcaption.data("videoheight"), + vida = nextcaption.data("videoattributes"), + vidytid = nextcaption.data('ytid'), + vimeoid = nextcaption.data('vimeoid'), + videopreload = nextcaption.data('videpreload'), + videomp = nextcaption.data('videomp4'), + videowebm = nextcaption.data('videowebm'), + videoogv = nextcaption.data('videoogv'), + videocontrols = nextcaption.data('videocontrols'), + httpprefix = "http", + videoloop = nextcaption.data('videoloop')=="loop" ? "loop" : nextcaption.data('videoloop')=="loopandnoslidestop" ? "loop" : ""; + + if (nextcaption.data('thumbimage')!=undefined && nextcaption.data('videoposter')==undefined) + nextcaption.data('videoposter',nextcaption.data('thumbimage')) + + // ADD YOUTUBE IFRAME IF NEEDED + if (vidytid!=undefined && String(vidytid).length>1 && nextcaption.find('iframe').length==0) { + httpprefix = "https"; + + if (videocontrols=="none") { + vida = vida.replace("controls=1","controls=0"); + if (vida.toLowerCase().indexOf('controls')==-1) + vida = vida+"&controls=0"; + } + nextcaption.append(''); + } + + // ADD VIMEO IFRAME IF NEEDED + if (vimeoid!=undefined && String(vimeoid).length>1 && nextcaption.find('iframe').length==0) { + if (location.protocol === 'https:') + httpprefix = "https"; + + nextcaption.append(''); + } + + // ADD HTML5 VIDEO IF NEEDED + if ((videomp!=undefined || videowebm!=undefined) && nextcaption.find('video').length==0) { + + if (videocontrols!="controls") videocontrols=""; + var apptxt = ''; + nextcaption.append(apptxt); + + if (videocontrols=="controls") + nextcaption.append('
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'+ + '
'); + } + + // RESET DEFAULTS + var autoplaywason = false; + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" || nextcaption.data('autoplay')==true) { + nextcaption.data('autoplay',true); + autoplaywason = true; + } + + + nextcaption.find('iframe').each(function() { + var ifr=jQuery(this); + + punchgs.TweenLite.to(ifr,0.1,{autoAlpha:1, zIndex:0, transformStyle:"preserve-3d",z:0,rotationX:0,force3D:"auto"}); + if (is_mobile()) { + var oldsrc = ifr.attr('src'); + ifr.attr('src',""); + ifr.attr('src',oldsrc); + } + + + // START YOUTUBE HANDLING + opt.nextslideatend = nextcaption.data('nextslideatend'); + + // IF VIDEOPOSTER EXISTING + if (nextcaption.data('videoposter')!=undefined && nextcaption.data('videoposter').length>2 && nextcaption.data('autoplay')!=true && !internrecalled) { + if (nextcaption.find('.tp-thumb-image').length==0) + nextcaption.append('
'); + else + punchgs.TweenLite.set(nextcaption.find('.tp-thumb-image'),{autoAlpha:1}); + } + + // IF IFRAME IS A YOUTUBE FRAME + if (ifr.attr('src').toLowerCase().indexOf('youtube')>=0) { + + // IF LISTENER DOES NOT EXIST YET + if (!ifr.hasClass("HasListener")) { + try { + ifr.attr('id',frameID); + var player; + var ytint = setInterval(function() { + if (YT !=undefined) + if (typeof YT.Player != undefined && typeof YT.Player !="undefined") { + player = new YT.Player(frameID, { + events: { + "onStateChange": onPlayerStateChange, + 'onReady': function(event) { + var embedCode = event.target.getVideoEmbedCode(), + ytcont = jQuery('#'+embedCode.split('id="')[1].split('"')[0]), + nextcaption = ytcont.closest('.tp-caption'), + videorate = nextcaption.data('videorate'), + videostart = nextcaption.data('videostart'); + + + if (videorate!=undefined) + event.target.setPlaybackRate(parseFloat(videorate)); + + /*if (nextcaption.data('autoplay')==true || autoplaywason) + event.target.playVideo();*/ + + if (!is_mobile() && nextcaption.data('autoplay')==true || autoplaywason) { + nextcaption.data('timerplay',setTimeout(function() { + event.target.playVideo(); + },nextcaption.data('start'))); + } + + // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED + nextcaption.find('.tp-thumb-image').click(function() { + punchgs.TweenLite.to(jQuery(this),0.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}) + if (!is_mobile()) { + player.playVideo(); + } + }) + + } + } + }); + } + ifr.addClass("HasListener"); + nextcaption.data('player',player); + clearInterval(ytint); + }, 100) + } catch(e) {} + } else { + if (!recalled) { + var player=nextcaption.data('player'); + if (nextcaption.data('forcerewind')=="on" && !is_mobile()) + player.seekTo(0); + + if (!is_mobile() && nextcaption.data('autoplay')==true || autoplaywason) { + nextcaption.data('timerplay',setTimeout(function() { + player.playVideo(); + },nextcaption.data('start'))); + } + } + } // END YOUTUBE HANDLING + + + } else + + // START VIMEO HANDLING + if (ifr.attr('src').toLowerCase().indexOf('vimeo')>=0) { + if (!ifr.hasClass("HasListener")) { + ifr.addClass("HasListener"); + ifr.attr('id',frameID); + var isrc = ifr.attr('src'); + var queryParameters = {}, queryString = isrc, + re = /([^&=]+)=([^&]*)/g, m; + // Creates a map with the query string parameters + while (m = re.exec(queryString)) { + queryParameters[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); + } + + if (queryParameters['player_id']!=undefined) + isrc = isrc.replace(queryParameters['player_id'],frameID); + else + isrc=isrc+"&player_id="+frameID; + + try{ isrc = isrc.replace('api=0','api=1'); } catch(e) {} + + isrc=isrc+"&api=1"; + + ifr.attr('src',isrc); + var player = nextcaption.find('iframe')[0]; + var vimint = setInterval(function() { + if ($f !=undefined){ + if (typeof $f(frameID).api != undefined && typeof $f(frameID).api !="undefined") { + + $f(player).addEvent('ready', function(){ + vimeoready_auto(frameID,autoplaywason) + }); + clearInterval(vimint); + } + } + },100); + + } else { + if (!recalled) { + if (!is_mobile() && (nextcaption.data('autoplay')==true || nextcaption.data('forcerewind')=="on")) { + + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var froogaloop = $f(id); + if (nextcaption.data('forcerewind')=="on") + froogaloop.api("seekTo",0); + nextcaption.data('timerplay',setTimeout(function() { + if (nextcaption.data('autoplay')==true) + froogaloop.api("play"); + },nextcaption.data('start'))); + } + } + }// END HAS LISTENER HANDLING + } // END OF VIMEO HANDLING + }); // END OF LOOP THROUGH IFRAMES + + + + // START OF HTML5 VIDEOS + if ((is_mobile() && nextcaption.data('disablevideoonmobile')==1) ||isIE(8)) nextcaption.find('video').remove(); + //if (is_mobile() && jQuery(window).width()<569) nextcaption.find('video').remove() + + if (nextcaption.find('video').length>0) { + nextcaption.find('video').each(function(i) { + + var video = this, + jvideo = jQuery(this); + + + if (!jvideo.parent().hasClass("html5vid")) + jvideo.wrap('
'); + + var html5vid = jvideo.parent(); + + // WAITING FOR META DATAS + + addEvent(video,'loadedmetadata',function(html5vid) { + html5vid.data('metaloaded',1); + }(html5vid)); + + + clearInterval(html5vid.data('interval')); + html5vid.data('interval',setInterval(function() { + if (html5vid.data('metaloaded')==1 || video.duration!=NaN) { + clearInterval(html5vid.data('interval')); + // FIRST TIME LOADED THE HTML5 VIDEO + if (!html5vid.hasClass("HasListener")) { + html5vid.addClass("HasListener"); + + if (nextcaption.data('dottedoverlay')!="none" && nextcaption.data('dottedoverlay')!=undefined) + if (nextcaption.find('.tp-dottedoverlay').length!=1) + html5vid.append('
'); + + if (jvideo.attr('control') == undefined ) { + if (html5vid.find('.tp-video-play-button').length==0) + html5vid.append('
'); + html5vid.find('video, .tp-poster, .tp-video-play-button').click(function() { + if (html5vid.hasClass("videoisplaying")) + video.pause(); + else + video.play(); + }) + } + + if (nextcaption.data('forcecover')==1 || nextcaption.hasClass('fullscreenvideo')) { + if (nextcaption.data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + nextcaption.addClass("fullcoveredvideo"); + } + html5vid.css({width:"100%", height:"100%"}); + } + + + + var playButton = nextcaption.find('.tp-vid-play-pause')[0], + muteButton = nextcaption.find('.tp-vid-mute')[0], + fullScreenButton = nextcaption.find('.tp-vid-full-screen')[0], + seekBar = nextcaption.find('.tp-seek-bar')[0], + volumeBar = nextcaption.find('.tp-volume-bar')[0]; + + if (playButton!=undefined) { + // Event listener for the play/pause button + addEvent(playButton,"click", function() { + if (video.paused == true) + // Play the video + video.play(); + else + // Pause the video + video.pause(); + }); + + // Event listener for the mute button + addEvent(muteButton,"click", function() { + if (video.muted == false) { + // Mute the video + video.muted = true; + + // Update the button text + muteButton.innerHTML = "Unmute"; + } else { + // Unmute the video + video.muted = false; + + // Update the button text + muteButton.innerHTML = "Mute"; + } + }); + + // Event listener for the full-screen button + addEvent(fullScreenButton,"click", function() { + if (video.requestFullscreen) { + video.requestFullscreen(); + } else if (video.mozRequestFullScreen) { + video.mozRequestFullScreen(); // Firefox + } else if (video.webkitRequestFullscreen) { + video.webkitRequestFullscreen(); // Chrome and Safari + } + }); + + + // Event listener for the seek bar + addEvent(seekBar,"change", function() { + // Calculate the new time + var time = video.duration * (seekBar.value / 100); + // Update the video time + video.currentTime = time; + }); + + + // Update the seek bar as the video plays + addEvent(video,"timeupdate", function() { + // Calculate the slider value + var value = (100 / video.duration) * video.currentTime; + + // Update the slider value + seekBar.value = value; + }); + + // Pause the video when the seek handle is being dragged + addEvent(seekBar,"mousedown", function() { + video.pause(); + }); + + // Play the video when the seek handle is dropped + addEvent(seekBar,"mouseup", function() { + video.play(); + }); + + // Event listener for the volume bar + addEvent(volumeBar,"change", function() { + // Update the video volume + video.volume = volumeBar.value; + }); + } + + + // VIDEO EVENT LISTENER FOR "PLAY" + addEvent(video,"play",function() { + if (nextcaption.data('volume')=="mute") + video.muted=true; + + html5vid.addClass("videoisplaying"); + + if (nextcaption.data('videoloop')=="loopandnoslidestop") { + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + } else { + + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + opt.container.trigger('revolution.slide.onvideoplay'); + } + + var playButton = nextcaption.find('.tp-vid-play-pause')[0], + muteButton = nextcaption.find('.tp-vid-mute')[0]; + if (playButton!=undefined) + playButton.innerHTML = "Pause"; + if (muteButton!=undefined && video.muted) + muteButton.innerHTML = "Unmute"; + }); + + // VIDEO EVENT LISTENER FOR "PAUSE" + addEvent(video,"pause",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + var playButton = nextcaption.find('.tp-vid-play-pause')[0]; + if (playButton!=undefined) + playButton.innerHTML = "Play"; + + }); + + // VIDEO EVENT LISTENER FOR "END" + addEvent(video,"ended",function() { + html5vid.removeClass("videoisplaying"); + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + if (opt.nextslideatend==true) + opt.container.revnext(); + }); + + } // END OF LISTENER DECLARATION + + var autoplaywason = false; + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true") + autoplaywason = true; + + var mediaaspect=16/9; + if (nextcaption.data('aspectratio')=="4:3") mediaaspect=4/3; + html5vid.data('mediaAspect',mediaaspect); + + if (html5vid.closest('.tp-caption').data('forcecover')==1) { + updateHTML5Size(html5vid,opt.container); + html5vid.addClass("fullcoveredvideo"); + } + + jvideo.css({display:"block"}); + opt.nextslideatend = nextcaption.data('nextslideatend'); + + // IF VIDEO SHOULD BE AUTOPLAYED + if (nextcaption.data('autoplay')==true || autoplaywason==true) { + + + if (nextcaption.data('videoloop')=="loopandnoslidestop") { + opt.videoplaying=false; + opt.container.trigger('starttimer'); + opt.container.trigger('revolution.slide.onvideostop'); + } else { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + opt.container.trigger('revolution.slide.onvideoplay'); + } + + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + html5vid.data('timerplay',setTimeout(function() { + + if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) + if (video.currentTime>0) video.currentTime=0; + + if (nextcaption.data('volume')=="mute") + video.muted = true; + + + video.play(); + },10+nextcaption.data('start'))); + } + + if (html5vid.data('ww') == undefined) html5vid.data('ww',jvideo.attr('width')); + if (html5vid.data('hh') == undefined) html5vid.data('hh',jvideo.attr('height')); + + if (!nextcaption.hasClass("fullscreenvideo") && nextcaption.data('forcecover')==1) { + try{ + html5vid.width(html5vid.data('ww')*opt.bw); + html5vid.height(html5vid.data('hh')*opt.bh); + } catch(e) {} + } + + clearInterval(html5vid.data('interval')); + } + }),100); // END OF SET INTERVAL + + }); + } // END OF HTML5 VIDEO FUNCTIONS + + // IF AUTOPLAY IS ON, WE NEED SOME STOP FUNCTION ON + if (nextcaption.data('autoplay')==true) { + setTimeout(function() { + + if (nextcaption.data('videoloop')!="loopandnoslidestop") { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + } + },200) + if (nextcaption.data('videoloop')!="loopandnoslidestop") { + opt.videoplaying=true; + opt.container.trigger('stoptimer'); + } + + if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { + nextcaption.data('autoplay',false); + nextcaption.data('autoplayonlyfirsttime',false); + } + } + } + + + + + // NEW ENGINE + //if (nextcaption.hasClass("randomrotate") && (opt.ie || opt.ie9)) nextcaption.removeClass("randomrotate").addClass("sfb"); + // nextcaption.removeClass('noFilterClass'); + + + + var imw =0; + var imh = 0; + + if (nextcaption.find('img').length>0) { + var im = nextcaption.find('img'); + if (im.width()==0) im.css({width:"auto"}); + if (im.height()==0) im.css({height:"auto"}); + + if (im.data('ww') == undefined && im.width()>0) im.data('ww',im.width()); + if (im.data('hh') == undefined && im.height()>0) im.data('hh',im.height()); + + var ww = im.data('ww'); + var hh = im.data('hh'); + + if (ww==undefined) ww=0; + if (hh==undefined) hh=0; + + im.width(ww*opt.bw); + im.height(hh*opt.bh); + imw = im.width(); + imh = im.height(); + } else { + + if (nextcaption.find('iframe').length>0 || nextcaption.find('video').length>0) { + + var html5vid = false, + im = nextcaption.find('iframe'); + if (im.length==0) { + im = nextcaption.find('video'); + html5vid = true; + } + im.css({display:"block"}); + + if (nextcaption.data('ww') == undefined) nextcaption.data('ww',im.width()); + if (nextcaption.data('hh') == undefined) nextcaption.data('hh',im.height()); + + var ww = nextcaption.data('ww'), + hh = nextcaption.data('hh'); + + var nc =nextcaption; + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTop'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottom'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeft'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRight'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); + + // IE8 FIX FOR AUTO LINEHEIGHT + if (nc.data('lh')=="auto") nc.data('lh',nc.data('fsize')+4); + + var fvwidth=opt.width, + fvheight=opt.height; + if (fvwidth>opt.startwidth) fvwidth=opt.startwidth; + if (fvheight>opt.startheight) fvheight=opt.startheight; + + if (!nextcaption.hasClass('fullscreenvideo')) + nextcaption.css({ + + 'font-size': (nc.data('fsize') * opt.bw)+"px", + + 'padding-top': (nc.data('pt') * opt.bh) + "px", + 'padding-bottom': (nc.data('pb') * opt.bh) + "px", + 'padding-left': (nc.data('pl') * opt.bw) + "px", + 'padding-right': (nc.data('pr') * opt.bw) + "px", + + 'margin-top': (nc.data('mt') * opt.bh) + "px", + 'margin-bottom': (nc.data('mb') * opt.bh) + "px", + 'margin-left': (nc.data('ml') * opt.bw) + "px", + 'margin-right': (nc.data('mr') * opt.bw) + "px", + + 'border-top': (nc.data('bt') * opt.bh) + "px", + 'border-bottom': (nc.data('bb') * opt.bh) + "px", + 'border-left': (nc.data('bl') * opt.bw) + "px", + 'border-right': (nc.data('br') * opt.bw) + "px", + + 'line-height': (nc.data('lh') * opt.bh) + "px", + 'height':(hh*opt.bh)+'px' + }); + else { + + offsetx=0; offsety=0; + nextcaption.data('x',0) + nextcaption.data('y',0) + + var ovhh = opt.height + if (opt.autoHeight=="on") + ovhh = opt.container.height() + nextcaption.css({ + + 'width':opt.width, + 'height':ovhh + }); + } + + if (html5vid == false) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + else + + if (nextcaption.data('forcecover')!=1 && !nextcaption.hasClass('fullscreenvideo')) { + im.width(ww*opt.bw); + im.height(hh*opt.bh); + } + + + imw = im.width(); + imh = im.height(); + } + + else { + + + nextcaption.find('.tp-resizeme, .tp-resizeme *').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + + if (nextcaption.hasClass("tp-resizeme")) { + nextcaption.find('*').each(function() { + calcCaptionResponsive(jQuery(this),opt); + }); + } + + calcCaptionResponsive(nextcaption,opt); + + imh=nextcaption.outerHeight(true); + imw=nextcaption.outerWidth(true); + + // NEXTCAPTION FRONTCORNER CHANGES + var ncch = nextcaption.outerHeight(); + var bgcol = nextcaption.css('backgroundColor'); + nextcaption.find('.frontcorner').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderTopColor':bgcol + }); + + nextcaption.find('.frontcornertop').css({ + 'borderWidth':ncch+"px", + 'left':(0-ncch)+'px', + 'borderRight':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcorner').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderBottomColor':bgcol + }); + + // NEXTCAPTION BACKCORNER CHANGES + nextcaption.find('.backcornertop').css({ + 'borderWidth':ncch+"px", + 'right':(0-ncch)+'px', + 'borderLeft':'0px solid transparent', + 'borderTopColor':bgcol + }); + + } + + + } + + if (opt.fullScreenAlignForce == "on") { + //xbw = 1; + //xbh = 1; + offsetx=0; + offsety=0; + } + + + + if (nextcaption.data('voffset')==undefined) nextcaption.data('voffset',0); + if (nextcaption.data('hoffset')==undefined) nextcaption.data('hoffset',0); + + var vofs= nextcaption.data('voffset')*xbw; + var hofs= nextcaption.data('hoffset')*xbw; + + var crw = opt.startwidth*xbw; + var crh = opt.startheight*xbw; + + if (opt.fullScreenAlignForce == "on") { + crw = opt.container.width(); + crh = opt.container.height(); + } + + + + // CENTER THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') { + nextcaption.data('xcenter','center'); + //nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2)/xbw+ hofs); + nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2) + hofs); + + + } + + // ALIGN LEFT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="left" || nextcaption.data('xleft')=='left') { + nextcaption.data('xleft','left'); + + nextcaption.data('x',(0)/xbw+hofs); + + } + + // ALIGN RIGHT THE CAPTION HORIZONTALLY + if (nextcaption.data('x')=="right" || nextcaption.data('xright')=='right') { + nextcaption.data('xright','right'); + nextcaption.data('x',((crw - nextcaption.outerWidth(true))+hofs)/xbw); + //konsole.log("crw:"+crw+" width:"+nextcaption.outerWidth(true)+" xbw:"+xbw); + //konsole.log("x-pos:"+nextcaption.data('x')) + } + + + // CENTER THE CAPTION VERTICALLY + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') { + nextcaption.data('ycenter','center'); + nextcaption.data('y',(crh/2 - nextcaption.outerHeight(true)/2) + vofs); + } + + // ALIGN TOP THE CAPTION VERTICALLY + if (nextcaption.data('y')=="top" || nextcaption.data('ytop')=='top') { + nextcaption.data('ytop','top'); + nextcaption.data('y',(0)/opt.bh+vofs); + + } + + // ALIGN BOTTOM THE CAPTION VERTICALLY + if (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom') { + nextcaption.data('ybottom','bottom'); + nextcaption.data('y',((crh - nextcaption.outerHeight(true))+vofs)/xbw); + + } + + + + // THE TRANSITIONS OF CAPTIONS + // MDELAY AND MSPEED + if (nextcaption.data('start') == undefined) nextcaption.data('start',1000); + + + + var easedata=nextcaption.data('easing'); + if (easedata==undefined) easedata="punchgs.Power1.easeOut"; + + + var mdelay = nextcaption.data('start')/1000, + mspeed = nextcaption.data('speed')/1000; + + + if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') + var calcx = (nextcaption.data('x')+offsetx); + else { + + var calcx = (xbw*nextcaption.data('x')+offsetx); + } + + + if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') + var calcy = (nextcaption.data('y')+offsety); + else { + //if (opt.fullScreenAlignForce == "on" && (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom')) + // opt.bh = 1; + + var calcy = (opt.bh*nextcaption.data('y')+offsety); + } + + + punchgs.TweenLite.set(nextcaption,{top:calcy,left:calcx,overwrite:"auto"}); + + if (staticdirection == 0) + internrecalled = true; + + if (nextcaption.data('timeline')!=undefined && !internrecalled) { + if (staticdirection!=2) + nextcaption.data('timeline').gotoAndPlay(0); + internrecalled = true; + } + + if (!internrecalled) { + + + + // CLEAR THE TIMELINE, SINCE IT CAN BE DAMAGED, OR PAUSED AT A FEW PART + if (nextcaption.data('timeline')!=undefined) { + //nextcaption.data('timeline').clear(); + } + + var tl = new punchgs.TimelineLite({smoothChildTiming:true,onStart:tlstart}); + tl.pause(); + + + if (opt.fullScreenAlignForce == "on") { + //calcy = nextcaption.data('y')+offsety; + } + + var animobject = nextcaption; + if (nextcaption.data('mySplitText') !=undefined) nextcaption.data('mySplitText').revert(); + + + if (nextcaption.data('splitin') == "chars" || nextcaption.data('splitin') == "words" || nextcaption.data('splitin') == "lines" || nextcaption.data('splitout') == "chars" || nextcaption.data('splitout') == "words" || nextcaption.data('splitout') == "lines") { + if (nextcaption.find('a').length>0) + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + else + if (nextcaption.find('.tp-layer-inner-rotation').length>0) + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption.find('.tp-layer-inner-rotation'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + else + nextcaption.data('mySplitText',new punchgs.SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); + + nextcaption.addClass("splitted"); + } + + if (nextcaption.data('splitin') == "chars") + animobject = nextcaption.data('mySplitText').chars; + + + if (nextcaption.data('splitin') == "words") + animobject = nextcaption.data('mySplitText').words; + + + if (nextcaption.data('splitin') == "lines") + animobject = nextcaption.data('mySplitText').lines; + + + + var frm = newAnimObject(); + var endfrm = newAnimObject(); + + + if (nextcaption.data('repeat')!=undefined) repeatV = nextcaption.data('repeat'); + if (nextcaption.data('yoyo')!=undefined) yoyoV = nextcaption.data('yoyo'); + if (nextcaption.data('repeatdelay')!=undefined) repeatdelayV = nextcaption.data('repeatdelay'); + + var ncc = nextcaption.attr('class'); + + // WHICH ANIMATION TYPE SHOULD BE USED + if (ncc.match("customin")) frm = getAnimDatas(frm,nextcaption.data('customin')); + else + if (ncc.match("randomrotate")) { + + frm.scale = Math.random()*3+1; + frm.rotation = Math.round(Math.random()*200-100); + frm.x = Math.round(Math.random()*200-100); + frm.y = Math.round(Math.random()*200-100); + } + else + if (ncc.match('lfr') || ncc.match('skewfromright')) frm.x = 15+opt.width; + else + if (ncc.match('lfl') || ncc.match('skewfromleft')) frm.x = -15-imw; + else + if (ncc.match('sfl') || ncc.match('skewfromleftshort')) frm.x = -50; + else + if (ncc.match('sfr') || ncc.match('skewfromrightshort')) frm.x = 50; + else + if (ncc.match('lft')) frm.y = -25 - imh; + else + if (ncc.match('lfb')) frm.y = 25 + opt.height; + else + if (ncc.match('sft')) frm.y = -50; + else + if (ncc.match('sfb')) frm.y = 50; + + + if (ncc.match('skewfromright') || nextcaption.hasClass('skewfromrightshort')) frm.skewX = -85 + else + if (ncc.match('skewfromleft') || nextcaption.hasClass('skewfromleftshort')) frm.skewX = 85 + + + if (ncc.match("fade") || ncc.match('sft') || ncc.match('sfl') || ncc.match('sfb') || ncc.match('skewfromleftshort') || ncc.match('sfr') || ncc.match('skewfromrightshort')) + frm.opacity = 0; + + // FOR SAFARI WE NEED TO REMOVE 3D ROTATIONS + if (get_browser().toLowerCase()=="safari") { + //frm.rotationX=0;frm.rotationY=0; + } + + var elemdelay = (nextcaption.data('elementdelay') == undefined) ? 0 : nextcaption.data('elementdelay'); + endfrm.ease = frm.ease = (nextcaption.data('easing') == undefined) ? punchgs.Power1.easeInOut : nextcaption.data('easing'); + + + // DISTANCES SHOULD BE RESIZED ALSO + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + endfrm.data = new Object(); + endfrm.data.oldx = endfrm.x; + endfrm.data.oldy = endfrm.y; + + frm.x = frm.x * xbw; + frm.y = frm.y * xbw; + + var newtl = new punchgs.TimelineLite(); + + + if (staticdirection != 2) { + + // CHANGE to punchgs.TweenLite. if Yoyo and Repeat is used. Dont forget to laod the Right Tools for it !! + if (ncc.match("customin")) { + if (animobject != nextcaption) + tl.add(punchgs.TweenLite.set(nextcaption, { force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',delay:0,overwrite:"all"})); + frm.visibility = "hidden"; + endfrm.visibility = "visible"; + endfrm.overwrite = "all"; + endfrm.opacity = 1; + endfrm.onComplete = animcompleted(); + endfrm.delay = mdelay; + endfrm.force3D="auto" + + tl.add(newtl.staggerFromTo(animobject,mspeed,frm,endfrm,elemdelay),"frame0"); + + } else { + + frm.visibility = "visible"; + frm.transformPerspective = 600; + if (animobject != nextcaption) + tl.add(punchgs.TweenLite.set(nextcaption, { force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',delay:0,overwrite:"all"})); + + endfrm.visibility = "visible"; + endfrm.delay = mdelay; + endfrm.onComplete = animcompleted(); + endfrm.opacity = 1; + endfrm.force3D="auto"; + if (ncc.match("randomrotate") && animobject != nextcaption) { + + for (var i=0;i0) { + var params = getAnimSteps(spframe); + + addMoveCaption(nextcaption,opt,params,"frame"+(index+10),xbw) + + } + }) + } // END OF ANIMATION STEPS + + tl = nextcaption.data('timeline'); + // IF THERE IS ANY EXIT ANIM DEFINED + // For Static Layers -> 1 -> In, 2-> Out 0-> Ignore -1-> Not Static + if ((nextcaption.data('end')!=undefined) && (staticdirection==-1 || staticdirection==2)) { + endMoveCaption(nextcaption,opt,nextcaption.data('end')/1000,frm,"frame99",xbw); + } else { + if (staticdirection==-1 || staticdirection==2) + endMoveCaption(nextcaption,opt,999999,frm,"frame99",xbw); + else + endMoveCaption(nextcaption,opt,200,frm,"frame99",xbw); + } + + // SAVE THE TIMELINE IN DOM ELEMENT + tl = nextcaption.data('timeline'); + nextcaption.data('timeline',tl); + callCaptionLoops(nextcaption,xbw); + tl.resume(); + } + } + + if (internrecalled) { + killCaptionLoops(nextcaption); + callCaptionLoops(nextcaption,xbw); + + if (nextcaption.data('timeline') != undefined) { + var tweens = nextcaption.data('timeline').getTweensOf(); + jQuery.each(tweens,function(index,tween) { + if (tween.vars.data != undefined) { + var newx = tween.vars.data.oldx * xbw; + var newy = tween.vars.data.oldy * xbw; + if (tween.progress() !=1 && tween.progress()!=0) { + try{ + //tween.updateTo({x:newx, y:newy},true); + tween.vars.x = newx; + tween.vary.y = newy; + } catch(e) { + + } + } else { + if (tween.progress()==1) { + punchgs.TweenLite.set(tween.target,{x:newx,y:newy}); + } + } + } + }) + } + } + + }) + + var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); + bt.data('opt',opt); + + + + if (mtl != undefined) setTimeout(function() { + mtl.resume(); + },30); + + } + + + var get_browser = function(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[0]; + } + var get_browser_version = function(){ + var N=navigator.appName, ua=navigator.userAgent, tem; + var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); + if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; + M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; + return M[1]; + } + + ///////////////////////////////////////////////////////////////// + // - CALCULATE THE RESPONSIVE SIZES OF THE CAPTIONS - // + ///////////////////////////////////////////////////////////////// + var calcCaptionResponsive = function(nc,opt) { + if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); + if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); + if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); + if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); + if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); + + if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); + if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); + if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); + if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); + + if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTopWidth'),0) || 0); + if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottomWidth'),0) || 0); + if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeftWidth'),0) || 0); + if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRightWidth'),0) || 0); + + if (nc.data('ls') == undefined) nc.data('ls',parseInt(nc.css('letterSpacing'),0) || 0); + + if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || "auto"); + if (nc.data('minwidth') == undefined) nc.data('minwidth',parseInt(nc.css('minWidth'),0) || 0); + if (nc.data('minheight') == undefined) nc.data('minheight',parseInt(nc.css('minHeight'),0) || 0); + if (nc.data('maxwidth') == undefined) nc.data('maxwidth',parseInt(nc.css('maxWidth'),0) || "none"); + if (nc.data('maxheight') == undefined) nc.data('maxheight',parseInt(nc.css('maxHeight'),0) || "none"); + if (nc.data('wii') == undefined) nc.data('wii',parseInt(nc.css('width'),0) || 0); + if (nc.data('hii') == undefined) nc.data('hii',parseInt(nc.css('height'),0) || 0); + + if (nc.data('wan') == undefined) nc.data('wan',nc.css("-webkit-transition")); + if (nc.data('moan') == undefined) nc.data('moan',nc.css("-moz-animation-transition")); + if (nc.data('man') == undefined) nc.data('man',nc.css("-ms-animation-transition")); + if (nc.data('ani') == undefined) nc.data('ani',nc.css("transition")); + + // IE8 FIX FOR AUTO LINEHEIGHT + if (nc.data('lh')=="auto") nc.data('lh',nc.data('fsize')+4); + + + + + if (!nc.hasClass("tp-splitted")) { + + + nc.css("-webkit-transition", "none"); + nc.css("-moz-transition", "none"); + nc.css("-ms-transition", "none"); + nc.css("transition", "none"); + + punchgs.TweenLite.set(nc,{ + fontSize: Math.round((nc.data('fsize') * opt.bw))+"px", + + letterSpacing:Math.floor((nc.data('ls') * opt.bw))+"px", + + paddingTop: Math.round((nc.data('pt') * opt.bh)) + "px", + paddingBottom: Math.round((nc.data('pb') * opt.bh)) + "px", + paddingLeft: Math.round((nc.data('pl') * opt.bw)) + "px", + paddingRight: Math.round((nc.data('pr') * opt.bw)) + "px", + + marginTop: (nc.data('mt') * opt.bh) + "px", + marginBottom: (nc.data('mb') * opt.bh) + "px", + marginLeft: (nc.data('ml') * opt.bw) + "px", + marginRight: (nc.data('mr') * opt.bw) + "px", + + borderTopWidth: Math.round((nc.data('bt') * opt.bh)) + "px", + borderBottomWidth: Math.round((nc.data('bb') * opt.bh)) + "px", + borderLeftWidth: Math.round((nc.data('bl') * opt.bw)) + "px", + borderRightWidth: Math.round((nc.data('br') * opt.bw)) + "px", + + lineHeight: Math.round((nc.data('lh') * opt.bh)) + "px", + minWidth:(nc.data('minwidth') * opt.bw) + "px", + minHeight:(nc.data('minheight') * opt.bh) + "px", + + /* width:(nc.data('wii') * opt.bw) + "px", + height:(nc.data('hii') * opt.bh) + "px", */ + + overwrite:"auto" + }); + setTimeout(function() { + nc.css("-webkit-transition", nc.data('wan')); + nc.css("-moz-transition", nc.data('moan')); + nc.css("-ms-transition", nc.data('man')); + nc.css("transition", nc.data('ani')); + + },30); + + //konsole.log(nc.data('maxwidth')+" "+nc.data('maxheight')); + if (nc.data('maxheight')!='none') + nc.css({'maxHeight':(nc.data('maxheight') * opt.bh) + "px"}); + + + if (nc.data('maxwidth')!='none') + nc.css({'maxWidth':(nc.data('maxwidth') * opt.bw) + "px"}); + } + } + + + /****************************** + - CAPTION LOOPS - + ********************************/ + + + var callCaptionLoops = function(nextcaption,factor) { + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pendulum').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var startdeg = el.data('startdeg')==undefined ? -20 : el.data('startdeg'), + enddeg = el.data('enddeg')==undefined ? 20 : el.data('enddeg'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('ease'); + + startdeg = startdeg * factor; + enddeg = enddeg * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:enddeg,transformOrigin:origin},{rotation:startdeg,ease:easing,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-rotate').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var startdeg = el.data('startdeg')==undefined ? 0 : el.data('startdeg'), + enddeg = el.data('enddeg')==undefined ? 360 : el.data('enddeg'); + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + startdeg = startdeg * factor; + enddeg = enddeg * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-slideloop').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var xs = el.data('xs')==undefined ? 0 : el.data('xs'), + ys = el.data('ys')==undefined ? 0 : el.data('ys'), + xe = el.data('xe')==undefined ? 0 : el.data('xe'), + ye = el.data('ye')==undefined ? 0 : el.data('ye'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + xs = xs * factor; + ys = ys * factor; + xe = xe * factor; + ye = ye * factor; + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",x:xs,y:ys},{x:xe,y:ye,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",x:xe,y:ye},{x:xs,y:ys,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pulse').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + var zoomstart = el.data('zoomstart')==undefined ? 0 : el.data('zoomstart'), + zoomend = el.data('zoomend')==undefined ? 0 : el.data('zoomend'), + speed = el.data('speed')==undefined ? 2 : el.data('speed'), + easing = el.data('easing')==undefined ? punchgs.Power2.easeInOut : el.data('easing'); + + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",scale:zoomstart},{scale:zoomend,ease:easing})); + el.data('timeline').append(new punchgs.TweenLite.fromTo(el,speed,{force3D:"auto",scale:zoomend},{scale:zoomstart,onComplete:function() { + el.data('timeline').restart(); + }})); + } + + }) + + nextcaption.find('.rs-wave').each(function() { + var el = jQuery(this); + if (el.data('timeline')==undefined) { + el.data('timeline',new punchgs.TimelineLite); + + var angle= el.data('angle')==undefined ? 10 : el.data('angle'), + radius = el.data('radius')==undefined ? 10 : el.data('radius'), + speed = el.data('speed')==undefined ? -20 : el.data('speed'), + origin = el.data('origin')==undefined ? -20 : el.data('origin'); + + angle = angle*factor; + radius = radius * factor; + + var angobj = {a:0, ang : angle, element:el, unit:radius}; + + + el.data('timeline').append(new punchgs.TweenLite.fromTo(angobj,speed, + { a:360 }, + { a:0, + force3D:"auto", + ease:punchgs.Linear.easeNone, + onUpdate:function() { + + var rad = angobj.a * (Math.PI / 180); + punchgs.TweenLite.to(angobj.element,0.1,{force3D:"auto",x:Math.cos(rad) * angobj.unit, y:angobj.unit * (1 - Math.sin(rad))}); + + }, + onComplete:function() { + el.data('timeline').restart(); + } + } + )); + } + + }) + } + + var killCaptionLoops = function(nextcaption) { + // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS + nextcaption.find('.rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave').each(function() { + var el = jQuery(this); + if (el.data('timeline')!=undefined) { + el.data('timeline').pause(); + el.data('timeline',null); + } + }); + } + + ////////////////////////// + // REMOVE THE CAPTIONS // + ///////////////////////// + var removeTheCaptions = function(actli,opt) { + + var removetime = 0; + + var allcaptions = actli.find('.tp-caption'), + allstaticcaptions = opt.container.find('.tp-static-layers').find('.tp-caption'); + + + jQuery.each(allstaticcaptions, function(index,staticcapt) { + allcaptions.push(staticcapt); + }); + + allcaptions.each(function(i) { + + + + var staticdirection = -1; // 1 -> In, 2-> Out 0-> Ignore -1-> Not Static + + var nextcaption=jQuery(this); + if (nextcaption.hasClass("tp-static-layer")) { + + if (nextcaption.data('startslide') == -1 || nextcaption.data('startslide') == "-1") + nextcaption.data('startslide',0); + + if (nextcaption.data('endslide') == -1 || nextcaption.data('endslide') == "-1") + nextcaption.data('endslide',opt.slideamount); + + + + // IF STATIC ITEM CURRENTLY NOT VISIBLE + if (nextcaption.hasClass("tp-is-shown")) { + + if ((nextcaption.data('startslide') > opt.next) || + (nextcaption.data('endslide') < opt.next)) { + + staticdirection = 2; + nextcaption.removeClass("tp-is-shown"); + } else { + staticdirection = 0; + } + } else { + staticdirection = 2; + } + + + + } + + + + if (staticdirection != 0 ) { + + killCaptionLoops(nextcaption); + + if (nextcaption.find('iframe').length>0) { + // VIMEO VIDEO PAUSE + //if (nextcaption.data('vimeoid')!=undefined && String(nextcaption.data('vimeoid')).length>0) + punchgs.TweenLite.to(nextcaption.find('iframe'),0.2,{autoAlpha:0}); + if (is_mobile()) nextcaption.find('iframe').remove(); + try { + var ifr = nextcaption.find('iframe'); + var id = ifr.attr('id'); + var froogaloop = $f(id); + froogaloop.api("pause"); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + + try { + var player=nextcaption.data('player'); + player.stopVideo(); + clearTimeout(nextcaption.data('timerplay')); + } catch(e) {} + } + + // IF HTML5 VIDEO IS EMBEDED + if (nextcaption.find('video').length>0) { + try{ + nextcaption.find('video').each(function(i) { + var html5vid = jQuery(this).parent(); + var videoID =html5vid.attr('id'); + clearTimeout(html5vid.data('timerplay')); + var video = this; + video.pause(); + }) + }catch(e) {} + } // END OF VIDEO JS FUNCTIONS + try { + + //var tl = punchgs.TimelineLite.exportRoot(); + var tl = nextcaption.data('timeline'); + var endstarts = tl.getLabelTime("frame99"); + var curtime = tl.time(); + if (endstarts>curtime) { + + // WE NEED TO STOP ALL OTHER NIMATIONS + var tweens = tl.getTweensOf(nextcaption); + jQuery.each(tweens,function(index,tw) { + + if (index!=0) + tw.pause(); + }); + if (nextcaption.css('opacity')!=0) { + var spp = nextcaption.data('endspeed') == undefined ? nextcaption.data('speed') : nextcaption.data('endspeed'); + if (spp>removetime) removetime =spp; + tl.play("frame99"); + } else + tl.progress(1,false); + } + + } catch(e) {} + + } + + }); + + return removetime; + } + + ////////////////////////////// + // MOVE THE CAPTIONS // + //////////////////////////// + var addMoveCaption = function(nextcaption,opt,params,frame,downscale) { + var tl = nextcaption.data('timeline'); + + var newtl = new punchgs.TimelineLite(); + + var animobject = nextcaption; + + if (params.typ == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (params.typ == "words") animobject = nextcaption.data('mySplitText').words; + else + if (params.typ == "lines") animobject = nextcaption.data('mySplitText').lines; + params.animation.ease = params.ease; + + if (params.animation.rotationZ !=undefined) params.animation.rotation = params.animation.rotationZ; + params.animation.data = new Object(); + params.animation.data.oldx = params.animation.x; + params.animation.data.oldy = params.animation.y; + + params.animation.x = params.animation.x * downscale; + params.animation.y = params.animation.y * downscale; + + + tl.add(newtl.staggerTo(animobject,params.speed,params.animation,params.elementdelay),params.start); + tl.addLabel(frame,params.start); + + nextcaption.data('timeline',tl); + + } + ////////////////////////////// + // MOVE OUT THE CAPTIONS // + //////////////////////////// + var endMoveCaption = function(nextcaption,opt,mdelay,backwards,frame,downscale) { + + var tl = nextcaption.data('timeline'), + newtl = new punchgs.TimelineLite(); + + var frm = newAnimObject(), + mspeed= (nextcaption.data('endspeed') == undefined) ? nextcaption.data('speed') : nextcaption.data('endspeed'), + ncc = nextcaption.attr('class'); + + frm.ease = (nextcaption.data('endeasing') == undefined) ? punchgs.Power1.easeInOut : nextcaption.data('endeasing'); + + mspeed = mspeed/1000; + + + + if (ncc.match('ltr') || + ncc.match('ltl') || + ncc.match('str') || + ncc.match('stl') || + ncc.match('ltt') || + ncc.match('ltb') || + ncc.match('stt') || + ncc.match('stb') || + ncc.match('skewtoright') || + ncc.match('skewtorightshort') || + ncc.match('skewtoleft') || + ncc.match('skewtoleftshort') || + ncc.match('fadeout') || + ncc.match("randomrotateout")) + { + + if (ncc.match('skewtoright') || ncc.match('skewtorightshort')) frm.skewX = 35 + else + if (ncc.match('skewtoleft') || ncc.match('skewtoleftshort')) frm.skewX = -35 + + + if (ncc.match('ltr') || ncc.match('skewtoright')) + frm.x=opt.width+60; + else if (ncc.match('ltl') || ncc.match('skewtoleft')) + frm.x=0-(opt.width+60); + else if (ncc.match('ltt')) + frm.y=0-(opt.height+60); + else if (ncc.match('ltb')) + frm.y=opt.height+60; + else if (ncc.match('str') || ncc.match('skewtorightshort')) { + frm.x=50;frm.opacity=0; + } else if (ncc.match('stl') || ncc.match('skewtoleftshort')) { + frm.x=-50;frm.opacity=0; + } else if (ncc.match('stt')) { + frm.y=-50;frm.opacity=0; + } else if (ncc.match('stb')) { + frm.y=50;frm.opacity=0; + } else if (ncc.match("randomrotateout")) { + frm.x = Math.random()*opt.width; + frm.y = Math.random()*opt.height; + frm.scale = Math.random()*2+0.3; + frm.rotation = Math.random()*360-180; + frm.opacity = 0; + } else if (ncc.match('fadeout')) { + frm.opacity = 0; + } + + if (ncc.match('skewtorightshort')) frm.x = 270; + else + if (ncc.match('skewtoleftshort')) frm.x = -270 + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + frm.overwrite="auto"; + var animobject = nextcaption; + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + //tl.add(punchgs.TweenLite.to(nextcaption,mspeed,frm),mdelay); + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + + } + + else + + if (nextcaption.hasClass("customout")) { + + frm = getAnimDatas(frm,nextcaption.data('customout')); + var animobject = nextcaption; + if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; + else + if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; + else + if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; + + var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); + frm.onStart = function() { + + punchgs.TweenLite.set(nextcaption,{ + transformPerspective:frm.transformPerspective, + transformOrigin:frm.transformOrigin, + overwrite:"auto" + }); + } + + frm.data = new Object(); + frm.data.oldx = frm.x; + frm.data.oldy = frm.y; + + frm.x = frm.x * downscale; + frm.y = frm.y * downscale; + + tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); + } + + else { + backwards.delay = 0; + tl.add(punchgs.TweenLite.to(nextcaption,mspeed,backwards),mdelay); + } + + + tl.addLabel(frame,mdelay); + + nextcaption.data('timeline',tl); + } + + /////////////////////////// + // REMOVE THE LISTENERS // + /////////////////////////// + var removeAllListeners = function(container,opt) { + container.children().each(function() { + try{ jQuery(this).die('click'); } catch(e) {} + try{ jQuery(this).die('mouseenter');} catch(e) {} + try{ jQuery(this).die('mouseleave');} catch(e) {} + try{ jQuery(this).unbind('hover');} catch(e) {} + }) + try{ container.die('click','mouseenter','mouseleave');} catch(e) {} + clearInterval(opt.cdint); + container=null; + } + + /////////////////////////// + // - countDown - // + ///////////////////////// + var countDown = function(container,opt) { + opt.cd=0; + opt.loop=0; + if (opt.stopAfterLoops!=undefined && opt.stopAfterLoops>-1) + opt.looptogo=opt.stopAfterLoops; + else + opt.looptogo=9999999; + + if (opt.stopAtSlide!=undefined && opt.stopAtSlide>-1) + opt.lastslidetoshow=opt.stopAtSlide; + else + opt.lastslidetoshow=999; + + opt.stopLoop="off"; + + if (opt.looptogo==0) opt.stopLoop="on"; + + + if (opt.slideamount >1 && !(opt.stopAfterLoops==0 && opt.stopAtSlide==1) ) { + var bt=container.find('.tp-bannertimer'); + + + // LISTENERS //container.trigger('stoptimer'); + container.on('stoptimer',function() { + var bt = jQuery(this).find('.tp-bannertimer'); + bt.data('tween').pause(); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + container.on('starttimer',function() { + + if (opt.conthover!=1 && opt.videoplaying!=true && opt.width>opt.hideSliderAtLimit && opt.bannertimeronpause != true && opt.overnav !=true) + if ((opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) || opt.noloopanymore == 1) + opt.noloopanymore = 1; + else { + + bt.css({visibility:"visible"}); + bt.data('tween').resume(); + } + + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + container.on('restarttimer',function() { + var bt = jQuery(this).find('.tp-bannertimer'); + if ((opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) || opt.noloopanymore == 1) + opt.noloopanymore = 1; + else { + + bt.css({visibility:"visible"}); + bt.data('tween').kill(); + bt.data('tween',punchgs.TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:countDownNext,delay:1})); + + } + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + + container.on('nulltimer',function() { + bt.data('tween').pause(0); + if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); + }); + + + + var countDownNext = function() { + if (jQuery('body').find(container).length==0) { + removeAllListeners(container,opt); + clearInterval(opt.cdint); + } + + container.trigger("revolution.slide.slideatend"); + + //STATE OF API CHANGED -> MOVE TO AIP BETTER + if (container.data('conthover-changed') == 1) { + opt.conthover= container.data('conthover'); + container.data('conthover-changed',0); + } + + // SWAP TO NEXT BANNER + opt.act=opt.next; + opt.next=opt.next+1; + + if (opt.next>container.find('>ul >li').length-1) { + opt.next=0; + opt.looptogo=opt.looptogo-1; + + if (opt.looptogo<=0) { + opt.stopLoop="on"; + + } + } + + // STOP TIMER IF NO LOOP NO MORE NEEDED. + + if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) { + container.find('.tp-bannertimer').css({'visibility':'hidden'}); + container.trigger('revolution.slide.onstop'); + opt.noloopanymore = 1; + } else { + bt.data('tween').restart(); + } + + // SWAP THE SLIDES + swapSlide(container,opt); + + } + + bt.data('tween',punchgs.TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:countDownNext,delay:1})); + bt.data('opt',opt); + + + container.hover( + function() { + + if (opt.onHoverStop=="on" && (!is_mobile())) { + container.trigger('stoptimer'); + + container.trigger('revolution.slide.onpause'); + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').pause(); + } + }); + } + }, + function() { + if (container.data('conthover')!=1) { + container.trigger('revolution.slide.onresume'); + container.trigger('starttimer'); + + var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); + nextsh.find('.defaultimg').each(function() { + var dimg = jQuery(this); + if (dimg.data('kenburn')!=undefined) { + dimg.data('kenburn').play(); + } + }); + } + }); + } + } + + + ////////////////// + // IS MOBILE ?? // + ////////////////// + var is_mobile = function() { + var agents = ['android', 'webos', 'iphone', 'ipad', 'blackberry','Android', 'webos', ,'iPod', 'iPhone', 'iPad', 'Blackberry', 'BlackBerry']; + var ismobile=false; + for(var i in agents) { + + if (navigator.userAgent.split(agents[i]).length>1) { + ismobile = true; + + } + } + return ismobile; + } + + + +/************************************************************************** + * Revolution Slider - PAN ZOOM MODULE + * @version: 1.0 (03.06.2013) + * @author ThemePunch +**************************************************************************/ + + /*********************************************** + - KEN BURN BACKGROUND FIT CALCULATOR - + ***********************************************/ + var calculateKenBurnScales = function(proc,sloth,opt) { + var ow = sloth.data('owidth'); + var oh = sloth.data('oheight'); + + if (ow / oh > opt.width / opt.height) { + var factor = (opt.container.width() /ow); + var nheight = oh * factor; + var hfactor = (nheight / opt.container.height())*proc; + proc = proc * (100/hfactor); + hfactor = 100; + proc = proc; + return (proc+"% "+hfactor+"%"+" 1"); + } else { + var factor = (opt.container.width() /ow); + var nheight = oh * factor; + var hfactor = (nheight / opt.container.height())*proc; + return (proc+"% "+hfactor+"%"); + } + } + + + + /****************************** + - startKenBurn - + ********************************/ + var startKenBurn = function(container,opt,recalc,prepareonly) { + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'), + nextsh = nextli.find('.slotholder'), + bgps = nextsh.data('bgposition'), + bgpe = nextsh.data('bgpositionend'), + zos = nextsh.data('zoomstart')/100, + zoe = nextsh.data('zoomend')/100, + ros = nextsh.data('rotationstart'), + roe = nextsh.data('rotationend'), + bgfs = nextsh.data('bgfit'), + bgfe = nextsh.data('bgfitend'), + easeme = nextsh.data('easeme'), + dur = nextsh.data('duration')/1000, + bgfb = 100; + + + if (bgfs==undefined) bgfs=100; + if (bgfe==undefined) bgfe=100; + var obgfs = bgfs, + obgfe = bgfe; + + bgfs = calculateKenBurnScales(bgfs,nextsh,opt); + bgfe = calculateKenBurnScales(bgfe,nextsh,opt); + bgfb = calculateKenBurnScales(100,nextsh,opt); + + + if (zos==undefined) zos=1; + if (zoe==undefined) zoe=1; + if (ros==undefined) ros=0; + if (roe==undefined) roe=0; + + if (zos<1) zos=1; + if (zoe<1) zoe=1; + + + var imgobj = new Object(); + imgobj.w = parseInt(bgfb.split(" ")[0],0), + imgobj.h = parseInt(bgfb.split(" ")[1],0); + + var turned = false; + if (bgfb.split(" ")[2] == "1") { + turned = true; + } + + nextsh.find('.defaultimg').each(function() { + var defimg = jQuery(this); + if (nextsh.find('.kenburnimg').length==0) + nextsh.append('
'); + else { + nextsh.find('.kenburnimg img').css({width:imgobj.w+'%',height:imgobj.h+'%'}); + } + + + + var kbimg = nextsh.find('.kenburnimg img'); + + + var imgs = calculateKenBurnImgPos(opt,bgps,bgfs,kbimg,turned), + imge = calculateKenBurnImgPos(opt,bgpe,bgfe,kbimg,turned); + + if (turned) { + imgs.w = obgfs/100; + imge.w = obgfe/100; + } + + + + if (prepareonly) { + + punchgs.TweenLite.set(kbimg,{autoAlpha:0, + transformPerspective:1200, + transformOrigin:"0% 0%", + top:0,left:0, + scale:imgs.w, + x:imgs.x, + y:imgs.y}); + var sx = imgs.w, + ww = (sx * kbimg.width()) - opt.width, + hh = (sx * kbimg.height()) - opt.height, + hor = Math.abs((imgs.x / ww)*100), + ver = Math.abs((imgs.y / hh)*100); + if (hh==0) ver =0; + if (ww == 0) hor = 0; + defimg.data('bgposition',hor+"% "+ver+"%"); + if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); + if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); + + nextsh.find('.kenburnimg').remove(); + } + else + defimg.data('kenburn',punchgs.TweenLite.fromTo(kbimg,dur,{autoAlpha:1, force3D:punchgs.force3d, transformOrigin:"0% 0%", top:0,left:0, scale:imgs.w, x:imgs.x, y:imgs.y},{autoAlpha:1,rotationZ:roe,ease:easeme, x:imge.x, y:imge.y,scale:imge.w,onUpdate:function() { + var sx = kbimg[0]._gsTransform.scaleX; + var ww = (sx * kbimg.width()) - opt.width, + hh = (sx * kbimg.height()) - opt.height, + hor = Math.abs((kbimg[0]._gsTransform.x / ww)*100), + ver = Math.abs((kbimg[0]._gsTransform.y / hh)*100); + if (hh==0) ver =0; + if (ww == 0) hor = 0; + + defimg.data('bgposition',hor+"% "+ver+"%"); + + if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); + if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); + //punchgs.TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); + }})); + }) + } + + /************************************************* + - CALCULATE KENBURNS IMAGE POSITIONS - + **************************************************/ + + var calculateKenBurnImgPos = function(opt,bgp,bgf,img,turned) { + var imgobj = new Object; + + if (!turned) + imgobj.w = parseInt(bgf.split(" ")[0],0) / 100; + else + imgobj.w = parseInt(bgf.split(" ")[1],0) / 100; + + switch(bgp) { + case "left top": + case "top left": + imgobj.x = 0; + imgobj.y = 0; + break; + case "center top": + case "top center": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = 0; + break; + case "top right": + case "right top": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = 0; + + break; + case "center left": + case "left center": + imgobj.x = 0; + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + break; + case "center center": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + + break; + case "center right": + case "right center": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = (((0-img.height()) * imgobj.w) + parseInt(opt.height,0)) / 2; + + break; + case "bottom left": + case "left bottom": + imgobj.x =0; + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + + break; + case "bottom center": + case "center bottom": + imgobj.x = (((0-img.width()) * imgobj.w) + parseInt(opt.width,0))/2; + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + break; + case "bottom right": + case "right bottom": + imgobj.x = ((0-img.width()) * imgobj.w) + parseInt(opt.width,0); + imgobj.y = ((0-img.height()) * imgobj.w) + parseInt(opt.height,0); + break; + } + + + + return imgobj; + } + + /****************************** + - GET ROTATION DEGREES - + ********************************/ + var getRotationDegrees = function(obj) { + var matrix = obj.css("-webkit-transform") || + obj.css("-moz-transform") || + obj.css("-ms-transform") || + obj.css("-o-transform") || + obj.css("transform"); + if(matrix !== 'none') { + var values = matrix.split('(')[1].split(')')[0].split(','); + var a = values[0]; + var b = values[1]; + var angle = Math.round(Math.atan2(b, a) * (180/Math.PI)); + } else { var angle = 0; } + return (angle < 0) ? angle +=360 : angle; + } + + + /****************************** + - STOP KEN BURN - + ********************************/ + var stopKenBurn = function(container,opt) { + + try{ + var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); + } catch(e) { + var actli=container.find('>ul:first-child >li:eq(1)'); + } + + opt.lastslide=opt.act; + + var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); + + + var actsh = actli.find('.slotholder'); + var nextsh = nextli.find('.slotholder'); + + container.find('.defaultimg').each(function() { + var defimg = jQuery(this); + punchgs.TweenLite.killTweensOf(defimg,false); + punchgs.TweenLite.set(defimg,{scale:1,rotationZ:0}); + punchgs.TweenLite.killTweensOf(defimg.data('kenburn img'),false); + if (defimg.data('kenburn') != undefined) { + defimg.data('kenburn').pause(); + } + if (defimg.data('currotate') != undefined && defimg.data('bgposition') !=undefined && defimg.data('curscale') != undefined) + punchgs.TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); + if (defimg!= undefined && defimg.data('kenburn img') != undefined && defimg.data('kenburn img').length>0) punchgs.TweenLite.set(defimg.data('kenburn img'),{autoAlpha:0}); + + }); + } + +//// END OF KENBURNS EXTNESION + + + + +/************************************************************************** + * Revolution Slider - PARALLAX MODULE + * @version: 1.1 (23.06.2013) + * @author ThemePunch +**************************************************************************/ + + /****************************** + - PARALLAX EFFECT - + ********************************/ + var checkForParallax = function(container,opt) { + if (is_mobile() && opt.parallaxDisableOnMobile=="on") return false; + + container.find('>ul:first-child >li').each(function() { + var li = jQuery(this); + for (var i = 1; i<=10;i++) + li.find('.rs-parallaxlevel-'+i).each(function() { + var pw = jQuery(this); + pw.wrap('
'); + }); + }) + + + + if (opt.parallax=="mouse" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + container.mouseenter(function(event) { + var currslide = container.find('.current-sr-slide-visible'); + var t = container.offset().top, + l = container.offset().left, + ex = (event.pageX-l), + ey = (event.pageY-t); + currslide.data("enterx",ex); + currslide.data("entery",ey); + + }) + + container.on('mousemove.hoverdir, mouseleave.hoverdir',function(event) { + var currslide = container.find('.current-sr-slide-visible'); + switch (event.type) { + + case "mousemove": + + var t = container.offset().top, + l = container.offset().left, + mh = currslide.data("enterx"), + mv = currslide.data("entery"), + diffh = (mh - (event.pageX - l)), + diffv = (mv - (event.pageY - t)); + + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = diffh * pl, + offsv = diffv * pl; + if (opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") + punchgs.TweenLite.to(pc,0.4,{force3D:"auto",x:offsh,ease:punchgs.Power3.easeOut,overwrite:"all"}); + else + punchgs.TweenLite.to(pc,0.4,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"}); + }) + + break; + case "mouseleave": + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this); + if (opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") + punchgs.TweenLite.to(pc,1.5,{force3D:"auto",x:0,ease:punchgs.Power3.easeOut}); + else + punchgs.TweenLite.to(pc,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut}); + }) + break; + } + }); + + if (is_mobile()) + window.ondeviceorientation = function(event) { + var y = Math.round(event.beta || 0), + x = Math.round(event.gamma || 0); + + var currslide = container.find('.current-sr-slide-visible'); + + + if (jQuery(window).width() > jQuery(window).height()){ + var xx = x; + x = y; + y = xx; + + } + + var curh = 360/container.width() * x, + curv = 180/container.height() * y; + + + + + currslide.find(".tp-parallax-container").each(function() { + var pc = jQuery(this), + pl = parseInt(pc.data('parallaxlevel'),0)/100, + offsh = curh * pl, + offsv = curv * pl; + punchgs.TweenLite.to(pc,0.2,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut}); + }) + + // y: -90 -> +90, x:-180 -> +180 + + //jQuery('.logo-container').html("h:"+curh+" v:"+curv); + } + } + if (opt.parallax=="scroll" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { + + jQuery(window).on('scroll',function(event) { + scrollParallax(container,opt); + }); + } + } + + /*************************************** + - SET POST OF SCROLL PARALLAX - + ***************************************/ + var scrollParallax = function(container,opt) { + if (is_mobile() && opt.parallaxDisableOnMobile=="on") return false; + var t = container.offset().top, + st = jQuery(window).scrollTop(), + dist = t+container.height()/2, + mv = t+container.height()/2 - st, + wh = jQuery(window).height()/2, + diffv= wh - mv; + + if (dist
'); + } + var bullets = cap.find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'); + var bup = bullets.parent(); + + bup.width(opt.thumbWidth*opt.thumbAmount); + bup.height(opt.thumbHeight); + bup.parent().width(opt.thumbWidth*opt.thumbAmount); + bup.parent().height(opt.thumbHeight); + + container.find('>ul:first >li').each(function(i) { + var li= container.find(">ul:first >li:eq("+i+")"); + var bgcolor = li.find(".defaultimg").css("backgroundColor"); + if (li.data('thumb') !=undefined) + var src= li.data('thumb') + else + var src=li.find("img:first").attr('src'); + + + bullets.append('
'); + var bullet= bullets.find('.bullet:first'); + }); + //bullets.append('
'); + var minwidth=10; + + + // ADD THE BULLET CLICK FUNCTION HERE + bullets.find('.bullet').each(function(i) { + var bul = jQuery(this); + + if (i==opt.slideamount-1) bul.addClass('last'); + if (i==0) bul.addClass('first'); + bul.width(opt.thumbWidth); + bul.height(opt.thumbHeight); + + if (minwidthul:first >li').length; + + var thumbconwidth=bullets.parent().width(); + opt.thumbWidth = minwidth; + + + + //////////////////////// + // SLIDE TO POSITION // + //////////////////////// + if (thumbconwidthul:first >li').length, + diff=(max- thumbconwidth)+15, + steps = diff / thumbconwidth; + + $this.addClass("over"); + x=x-30; + + //ANIMATE TO POSITION + var pos=(0-((x)*steps)); + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + moveThumbSliderToPosition($this,pos,200); + }); + + bullets.parent().mousemove(function() { + + var $this=jQuery(this), + offset = $this.offset(), + x = jQuery('body').data('mousex')-offset.left, + thumbconwidth=$this.width(), + minwidth=$this.find('.bullet:first').outerWidth(true), + max=minwidth*container.find('>ul:first >li').length-1, + diff=(max- thumbconwidth)+15, + steps = diff / thumbconwidth; + + x=x-3; + if (x<6) x=0; + if (x+3>thumbconwidth-6) x=thumbconwidth; + + //ANIMATE TO POSITION + var pos=(0-((x)*steps)); + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + moveThumbSliderToPosition($this,pos,0); + + }); + + bullets.parent().mouseleave(function() { + var $this=jQuery(this); + $this.removeClass("over"); + moveSelectedThumb(container); + }); + } + + + } + + + /////////////////////////////// + // SelectedThumbInPosition // + ////////////////////////////// + var moveSelectedThumb = function(container) { + + var bullets=container.parent().find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'), + $this=bullets.parent(), + offset = $this.offset(), + minwidth=$this.find('.bullet:first').outerWidth(true), + x = $this.find('.bullet.selected').index() * minwidth, + thumbconwidth=$this.width(), + minwidth=$this.find('.bullet:first').outerWidth(true), + max=minwidth*container.find('>ul:first >li').length, + diff=(max- thumbconwidth), + steps = diff / thumbconwidth, + pos=0-x; + + if (pos>0) pos =0; + if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; + if (!$this.hasClass("over")) { + moveThumbSliderToPosition($this,pos,200); + } + } + + + //////////////////////////////////// + // MOVE THUMB SLIDER TO POSITION // + /////////////////////////////////// + var moveThumbSliderToPosition = function($this,pos,speed) { + punchgs.TweenLite.to($this.find('.tp-thumbcontainer'),0.2,{force3D:"auto",left:pos,ease:punchgs.Power3.easeOut,overwrite:"auto"}); + } +})(jQuery); + + + +/// END OF THUMBNAIL EXTNESIONS + + + + + + +// SOME ERROR MESSAGES IN CASE THE PLUGIN CAN NOT BE LOADED +function revslider_showDoubleJqueryError(sliderID) { + var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include."; + errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work."; + errorMessage += "

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true."; + errorMessage += "
    2. Find the double jquery.js include and remove it."; + errorMessage = "" + errorMessage + "" + jQuery(sliderID).show().html(errorMessage); +} + diff --git a/ClientApp/jquery.plugins/jquery.themepunch.revolution.min.js b/ClientApp/jquery.plugins/jquery.themepunch.revolution.min.js new file mode 100644 index 00000000..0b5070c2 --- /dev/null +++ b/ClientApp/jquery.plugins/jquery.themepunch.revolution.min.js @@ -0,0 +1,3879 @@ +/************************************************************************** + * 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: Put JS Includes To Body 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('
').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('
'); + 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 (u < i.outerWidth(true)) u = i.outerWidth(true); + i.click(function() { + if (r.transition == 0 && i.index() != r.act) { + r.next = i.index(); + f(r, n) + } + }) + }); + var a = u * n.find(">ul: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('') + } + 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(''); + 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(''); + 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(''); + 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() { + if (n && n.data && n.data("anim")) { + 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(''); + e("head").append('') + } + } + } catch (s) {} + }); + if (o.shuffle == "on") { + for (var k = 0; k < u.find(">ul: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) \ No newline at end of file diff --git a/ClientApp/jquery.plugins/mediaelement-and-player.js b/ClientApp/jquery.plugins/mediaelement-and-player.js new file mode 100644 index 00000000..df2561a4 --- /dev/null +++ b/ClientApp/jquery.plugins/mediaelement-and-player.js @@ -0,0 +1,5097 @@ +/*! +* MediaElement.js +* HTML5