Trenutno se nalazite ovde:
- Početna
- Inspiracije
- Uzorci
- Zidne dekorativne tehnike
- Valsetin Gold selection II
Uzorci
Valsetin Gold selection II
Kategorije
-
Zidne dekorativne tehnike
- Polistof
- Arteco 7 I
- Arteco 7 II
- Klondike
- Klondike Light II
- Sabulador I
- Sabulador II
- Sabulador Sun I
- Sabulador Sun II
- Sabulador soft
- Valsetin Gold selection I
- Valsetin Gold selection II
- Valrenna
- Artecò 1
- Rococo Stucco veneziano
- Anticando
- Burano 0
- Burano I
- Burano II
- Burano III
- Meteore 8 I
- Meteore 8 II
- Meteore 8 III
- Mavericks
- Saten Wood I
- Velidor Fine
- Saten Wood II
- Polibril
- Valsetin Black + Gold I
- Valsetin Black + Gold II
- Meteore 10 Cemento Compatto
- Meteore 10 Cemento Large
- Meteore 10 Cemento Rigato
- Meteore 10 Cemento Slim
- Dekorativni kamen
Za više informacija podgedajte proizvod Notice (8): Undefined index: Product [ROOT/VectorCMS/View/Layouts/front.ctp(31) : eval()'d code, line 151]
.$viewFile = '/home/web/mywall.rs/www/VectorCMS/View/Layouts/front.ctp'
$dataForView = array(
'html' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<header>
<div class="inner clearfix">
<div class="category-hamburger" id="openLeftMenu" style="display: none;"><span></span> <span></span></div>
<div class="logo"><a href="/" title="My Wall and Floor"><img src="/img/my_wall_and_floor_logo.png" width="187" height="70" alt="My Wall and Floor" /></a></div>
<div class="hamburger hamburger--squeeze js-hamburger" id="openRightMenu">
<div class="hamburger-box">
<div class="hamburger-inner"></div>
</div>
</div>
<div id="off-canvas-right">
<!--<ul class="lang">
<li class="<?= $locale == 'sr' ? 'active' : '' ?>"><a href="/<?= $locale ?>:sr<?= substr($this->here, 3) ?>"><?= __('Srpski') ?></a></li>
<li class="<?= $locale == 'en' ? 'active' : '' ?>"><a href="/<?= $locale ?>:en<?= substr($this->here, 3) ?>"><?= __('English') ?></a></li>
</ul>-->
<nav>
<ul>
<?= $this->Format->printMenu('nav/menu') ?>
</ul>
</nav>
</div>
</div>
</header>
<div class="topline"></div>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<?php
$breadcrumbs = $this->Html->generateBreadcrumbs($activePage);
?>
<div class="breadcrumbs">
<div class="inner clearfix">
<p><?= __('Trenutno se nalazite ovde:') ?></p>
<ul>
<li><a href="/" title="My Wall"><?= __('Početna') ?></a></li>
<?php foreach($breadcrumbs['links'] as $title => $link) { ?>
<li><a href="<?= $link ?>" title="<?= $title ?>"><?= $title ?></a></li>
<?php } ?>
<li><?= $breadcrumbs['last'] ?></li>
</ul>
</div>
</div>
<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=913732115428480";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="social clearfix">
<div class="fb-like-button">
<div class="fb-like" data-href="<?= FULL_BASE_URL . $this->here ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="tweet-button">
<a href="https://twitter.com/share" data-url="<?= FULL_BASE_URL . $this->here ?>" class="twitter-share-button" style="display:none">Tweet</a>
</div>
</div>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
$setting = ClassRegistry::init('Setting')->find('first', array());
$productNavs = $this->Format->getPageFromSitemap(4, $sitemap);
$subNavs = $this->Format->getPageFromSitemap(24, $sitemap);
$i = 0;
?>
<footer>
<div class="inner clearfix">
<div class="top">
<div class="row">
<div class="column __8 st__2">
<div class="products">
<h2><?= __('Proizvodi') ?></h2>
<div class="row">
<ul class="column __6 st__6">
<?php foreach($productNavs['children'] as $productNav) { $i++; ?>
<li>
<a href="<?= $this->Format->getPageFromSitemap($productNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $productNav['Page']['title'] ?>"><?= $productNav['Page']['title'] ?></a>
</li>
<?php if($i%4 == 0) { ?>
<?php if($i != count($productNav['children'])) { ?>
</ul>
<ul class="column __6 st__6">
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="column __4 st__4">
<div class="banner">
<a href="<?= $this->Format->getPageLink(19, $sitemap) ?>"><img src="/img/valpaint-akademija-banner-f.jpg" /></a>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="wrap clearfix">
<div class="menu">
<ul>
<?php foreach ($subNavs['children'] as $subNav) { ?>
<li><a href="<?= $this->Format->getPageFromSitemap($subNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $subNav['Page']['title'] ?>"><?= $subNav['Page']['title'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="newsletter">
<p><?= __('Prijava za newsletter') ?>:</p>
<form id="newsletterForm" action="/api/v1/newsletter">
<div>
<input class="textfield" name="data[email]" type="text" placeholder="<?php echo _('Vaša email adresa') ?>" />
<button class="submit" type="submit"><span><?php echo __('Poslati') ?></span></button>
</div>
<div class="form-message"></div>
</form>
</div>
</div>
</div>
<div class="bottom clearfix">
<p><?= __('MyWall & Floor © ') . date('Y') . __(' Sva prava zadržana') ?>. </p>
<p class="right"><?= __('Design & Development') ?>: <a href="http://intellex.rs" target="_blank" title="Intellex - Web & Mobile development">Intellex</a></p>
</div>
</div>
</footer>
</div>
',
'metaTags' => array(
(int) 1 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 4 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 12 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 14 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 18 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 19 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 21 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 24 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 27 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 28 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 2 => array(
'sr' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'en' => ''
),
(int) 8 => array(
'sr' => '913732115428480',
'en' => ''
),
(int) 11 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
),
(int) 15 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
),
(int) 23 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
)
),
'tagDescriptions' => array(
(int) 1 => array(
'id' => '1',
'type' => 'meta',
'name' => 'title',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => null,
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 2 => array(
'id' => '2',
'type' => 'meta',
'name' => 'keywords',
'namespace' => null,
'value_type' => 'textarea',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 3 => array(
'id' => '3',
'type' => 'meta',
'name' => 'description',
'namespace' => null,
'value_type' => 'textarea',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 4 => array(
'id' => '4',
'type' => 'meta',
'name' => 'image',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => null,
'created' => '2015-03-13 15:39:06',
'modified' => '2015-03-13 15:39:07'
),
(int) 5 => array(
'id' => '5',
'type' => 'meta',
'name' => 'msappication-TileColor',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:32:56',
'modified' => '2015-02-23 17:32:56'
),
(int) 7 => array(
'id' => '7',
'type' => 'meta',
'name' => 'msapplication-TileImage',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:32:56',
'modified' => '2015-02-23 17:32:56'
),
(int) 8 => array(
'id' => '8',
'type' => 'meta',
'name' => 'app_id',
'namespace' => 'fb',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:15',
'modified' => '2015-02-23 17:34:15'
),
(int) 9 => array(
'id' => '9',
'type' => 'meta',
'name' => 'type',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:28',
'modified' => '2015-02-23 17:34:29'
),
(int) 10 => array(
'id' => '10',
'type' => 'meta',
'name' => 'site_name',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:39',
'modified' => '2015-02-23 17:34:40'
),
(int) 11 => array(
'id' => '11',
'type' => 'meta',
'name' => 'url',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:04',
'modified' => '2015-02-23 17:35:04'
),
(int) 12 => array(
'id' => '12',
'type' => 'meta',
'name' => 'title',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:12',
'modified' => '2015-02-23 17:35:12'
),
(int) 13 => array(
'id' => '13',
'type' => 'meta',
'name' => 'description',
'namespace' => 'og',
'value_type' => 'textarea',
'value_options' => null,
'inherits' => '3',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:17',
'modified' => '2015-02-23 17:35:17'
),
(int) 14 => array(
'id' => '14',
'type' => 'meta',
'name' => 'image',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:23',
'modified' => '2015-02-23 17:35:24'
),
(int) 15 => array(
'id' => '15',
'type' => 'meta',
'name' => 'url',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:43',
'modified' => '2015-02-23 17:35:43'
),
(int) 16 => array(
'id' => '16',
'type' => 'meta',
'name' => 'card',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:59',
'modified' => '2015-02-23 17:35:59'
),
(int) 17 => array(
'id' => '17',
'type' => 'meta',
'name' => 'description',
'namespace' => 'twitter',
'value_type' => 'textarea',
'value_options' => null,
'inherits' => '3',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:12',
'modified' => '2015-02-23 17:36:12'
),
(int) 18 => array(
'id' => '18',
'type' => 'meta',
'name' => 'image',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:21',
'modified' => '2015-02-23 17:36:21'
),
(int) 19 => array(
'id' => '19',
'type' => 'meta',
'name' => 'title',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:31',
'modified' => '2015-02-23 17:36:31'
),
(int) 20 => array(
'id' => '20',
'type' => 'meta',
'name' => 'site',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:42',
'modified' => '2015-02-23 17:36:42'
),
(int) 21 => array(
'id' => '21',
'type' => 'meta',
'name' => 'image:src',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:56',
'modified' => '2015-02-23 17:36:56'
),
(int) 22 => array(
'id' => '22',
'type' => 'itemprop',
'name' => 'author',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:37:54',
'modified' => '2015-02-23 17:37:55'
),
(int) 23 => array(
'id' => '23',
'type' => 'itemprop',
'name' => 'url',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:09',
'modified' => '2015-02-23 17:38:09'
),
(int) 24 => array(
'id' => '24',
'type' => 'itemprop',
'name' => 'image',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:20',
'modified' => '2015-02-23 17:38:20'
),
(int) 25 => array(
'id' => '25',
'type' => 'itemprop',
'name' => 'dateModified',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:32',
'modified' => '2015-02-23 17:38:32'
),
(int) 26 => array(
'id' => '26',
'type' => 'itemprop',
'name' => 'datePublished',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:39:43',
'modified' => '2015-02-23 17:39:43'
),
(int) 27 => array(
'id' => '27',
'type' => 'itemprop',
'name' => 'name',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:39:56',
'modified' => '2015-02-23 17:39:56'
),
(int) 28 => array(
'id' => '28',
'type' => 'itemprop',
'name' => 'headline',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:40:06',
'modified' => '2015-02-23 17:40:07'
),
(int) 29 => array(
'id' => '29',
'type' => 'rel',
'name' => 'dns-prefetch',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:45:43',
'modified' => '2015-02-23 17:45:43'
),
(int) 30 => array(
'id' => '30',
'type' => 'rel',
'name' => 'canonical',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:45:53',
'modified' => '2015-02-23 17:45:54'
),
(int) 31 => array(
'id' => '31',
'type' => 'rel',
'name' => 'shortlink',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
)
),
'seoConfig' => array(
'id' => (int) 1,
'head_end' => '<meta property="fb:admins" content="602801999" />
<meta property="fb:admins" content="100003681742215" />
<meta property="fb:admins" content="100003681742216" />
<meta property="fb:admins" content="100003681742217" />',
'body_start' => '<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '481403258908902');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=481403258908902&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->',
'body_end' => '',
'seo_metatags' => 'a:1:{i:8;a:2:{s:2:"sr";s:15:"913732115428480";s:2:"en";s:0:"";}}',
'seo_generated_metatags' => null,
'created' => '2016-11-09 11:45:28',
'modified' => '2021-07-23 09:48:33',
'global_title_suffix' => 'My Wall',
'global_meta_title' => 'My Wall',
'global_meta_description' => '',
'global_meta_keywords' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'is_translated' => true,
'global_title_suffix__' => array(
'sr' => 'My Wall',
'en' => ''
),
'global_meta_title__' => array(
'sr' => 'My Wall',
'en' => ''
),
'global_meta_description__' => array(
'sr' => '',
'en' => ''
),
'global_meta_keywords__' => array(
'sr' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
),
'forceTitle' => array(
(int) 0 => 'Valsetin Gold selection II',
(int) 1 => 'My Wall'
),
'assets' => array(
'stylesheets' => array(
(int) 7 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'javascripts' => array(
(int) 99 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
'page' => array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 95,
'rght' => (int) 106,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Valsetin Gold selection II',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'title_short__' => array(
[maximum depth reached]
),
'alternative_title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_top_title__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'page_text__' => array(
[maximum depth reached]
),
'banner_url__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'content__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
),
'meta_keywords__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<header>
<div class="inner clearfix">
<div class="category-hamburger" id="openLeftMenu" style="display: none;"><span></span> <span></span></div>
<div class="logo"><a href="/" title="My Wall and Floor"><img src="/img/my_wall_and_floor_logo.png" width="187" height="70" alt="My Wall and Floor" /></a></div>
<div class="hamburger hamburger--squeeze js-hamburger" id="openRightMenu">
<div class="hamburger-box">
<div class="hamburger-inner"></div>
</div>
</div>
<div id="off-canvas-right">
<!--<ul class="lang">
<li class="<?= $locale == 'sr' ? 'active' : '' ?>"><a href="/<?= $locale ?>:sr<?= substr($this->here, 3) ?>"><?= __('Srpski') ?></a></li>
<li class="<?= $locale == 'en' ? 'active' : '' ?>"><a href="/<?= $locale ?>:en<?= substr($this->here, 3) ?>"><?= __('English') ?></a></li>
</ul>-->
<nav>
<ul>
<?= $this->Format->printMenu('nav/menu') ?>
</ul>
</nav>
</div>
</div>
</header>
<div class="topline"></div>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<?php
$breadcrumbs = $this->Html->generateBreadcrumbs($activePage);
?>
<div class="breadcrumbs">
<div class="inner clearfix">
<p><?= __('Trenutno se nalazite ovde:') ?></p>
<ul>
<li><a href="/" title="My Wall"><?= __('Početna') ?></a></li>
<?php foreach($breadcrumbs['links'] as $title => $link) { ?>
<li><a href="<?= $link ?>" title="<?= $title ?>"><?= $title ?></a></li>
<?php } ?>
<li><?= $breadcrumbs['last'] ?></li>
</ul>
</div>
</div>
<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=913732115428480";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="social clearfix">
<div class="fb-like-button">
<div class="fb-like" data-href="<?= FULL_BASE_URL . $this->here ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="tweet-button">
<a href="https://twitter.com/share" data-url="<?= FULL_BASE_URL . $this->here ?>" class="twitter-share-button" style="display:none">Tweet</a>
</div>
</div>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
$setting = ClassRegistry::init('Setting')->find('first', array());
$productNavs = $this->Format->getPageFromSitemap(4, $sitemap);
$subNavs = $this->Format->getPageFromSitemap(24, $sitemap);
$i = 0;
?>
<footer>
<div class="inner clearfix">
<div class="top">
<div class="row">
<div class="column __8 st__2">
<div class="products">
<h2><?= __('Proizvodi') ?></h2>
<div class="row">
<ul class="column __6 st__6">
<?php foreach($productNavs['children'] as $productNav) { $i++; ?>
<li>
<a href="<?= $this->Format->getPageFromSitemap($productNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $productNav['Page']['title'] ?>"><?= $productNav['Page']['title'] ?></a>
</li>
<?php if($i%4 == 0) { ?>
<?php if($i != count($productNav['children'])) { ?>
</ul>
<ul class="column __6 st__6">
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="column __4 st__4">
<div class="banner">
<a href="<?= $this->Format->getPageLink(19, $sitemap) ?>"><img src="/img/valpaint-akademija-banner-f.jpg" /></a>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="wrap clearfix">
<div class="menu">
<ul>
<?php foreach ($subNavs['children'] as $subNav) { ?>
<li><a href="<?= $this->Format->getPageFromSitemap($subNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $subNav['Page']['title'] ?>"><?= $subNav['Page']['title'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="newsletter">
<p><?= __('Prijava za newsletter') ?>:</p>
<form id="newsletterForm" action="/api/v1/newsletter">
<div>
<input class="textfield" name="data[email]" type="text" placeholder="<?php echo _('Vaša email adresa') ?>" />
<button class="submit" type="submit"><span><?php echo __('Poslati') ?></span></button>
</div>
<div class="form-message"></div>
</form>
</div>
</div>
</div>
<div class="bottom clearfix">
<p><?= __('MyWall & Floor © ') . date('Y') . __(' Sva prava zadržana') ?>. </p>
<p class="right"><?= __('Design & Development') ?>: <a href="http://intellex.rs" target="_blank" title="Intellex - Web & Mobile development">Intellex</a></p>
</div>
</div>
</footer>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array([maximum depth reached])
),
'Data' => array(
'Pattern' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Image' => array(
[maximum depth reached]
),
'MetaImage' => array(
[maximum depth reached]
),
'Patterns' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
)
),
'Variables' => array(
'pattern' => array(
[maximum depth reached]
)
),
'Content' => array(
'Body' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'stylesheet_set' => '',
'javascript_set' => '',
(int) 0 => array(
[maximum depth reached]
)
),
'Stylesheet' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
),
'Javascript' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
)
)
),
'here' => '/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii',
'sitemap' => array(
'glavna_navigacija' => array(
'Page' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
),
'children' => array(
[maximum depth reached]
)
)
),
'flatSitemap' => null,
'activePage' => array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 95,
'rght' => (int) 106,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Valsetin Gold selection II',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'title_short__' => array(
[maximum depth reached]
),
'alternative_title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_top_title__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'page_text__' => array(
[maximum depth reached]
),
'banner_url__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'content__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
),
'meta_keywords__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<code cms="element" id="1">Header</code>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<code cms="element" id="4">Breadcrumbs</code>
<code cms="block" name="content">Content</code>
</div>
<code cms="element" id="2">Footer</code>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array([maximum depth reached])
),
'Data' => array(
'Pattern' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Image' => array(
[maximum depth reached]
),
'MetaImage' => array(
[maximum depth reached]
),
'Patterns' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
)
),
'Variables' => array(
'pattern' => array(
[maximum depth reached]
)
),
'Content' => array(
'Body' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'stylesheet_set' => '',
'javascript_set' => '',
(int) 0 => array(
[maximum depth reached]
)
),
'Stylesheet' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
),
'Javascript' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
)
)
),
'pattern' => array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
)
),
'Seo' => array(
'metatag' => array([maximum depth reached])
)
),
'pageTitleAppend' => 'Valsetin Gold selection II',
'_cookies' => array(
'language' => 'sr'
),
'isAjax' => false,
'referer' => '/',
'fieldOptions' => array(),
'_actions' => array(),
'controller' => 'front',
'user' => false,
'locale' => 'sr',
'localelessHere' => '/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii',
'plural' => 'fronts',
'singular' => 'front',
'modelClass' => 'Front'
)
$html = '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<header>
<div class="inner clearfix">
<div class="category-hamburger" id="openLeftMenu" style="display: none;"><span></span> <span></span></div>
<div class="logo"><a href="/" title="My Wall and Floor"><img src="/img/my_wall_and_floor_logo.png" width="187" height="70" alt="My Wall and Floor" /></a></div>
<div class="hamburger hamburger--squeeze js-hamburger" id="openRightMenu">
<div class="hamburger-box">
<div class="hamburger-inner"></div>
</div>
</div>
<div id="off-canvas-right">
<!--<ul class="lang">
<li class="<?= $locale == 'sr' ? 'active' : '' ?>"><a href="/<?= $locale ?>:sr<?= substr($this->here, 3) ?>"><?= __('Srpski') ?></a></li>
<li class="<?= $locale == 'en' ? 'active' : '' ?>"><a href="/<?= $locale ?>:en<?= substr($this->here, 3) ?>"><?= __('English') ?></a></li>
</ul>-->
<nav>
<ul>
<?= $this->Format->printMenu('nav/menu') ?>
</ul>
</nav>
</div>
</div>
</header>
<div class="topline"></div>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<?php
$breadcrumbs = $this->Html->generateBreadcrumbs($activePage);
?>
<div class="breadcrumbs">
<div class="inner clearfix">
<p><?= __('Trenutno se nalazite ovde:') ?></p>
<ul>
<li><a href="/" title="My Wall"><?= __('Početna') ?></a></li>
<?php foreach($breadcrumbs['links'] as $title => $link) { ?>
<li><a href="<?= $link ?>" title="<?= $title ?>"><?= $title ?></a></li>
<?php } ?>
<li><?= $breadcrumbs['last'] ?></li>
</ul>
</div>
</div>
<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=913732115428480";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="social clearfix">
<div class="fb-like-button">
<div class="fb-like" data-href="<?= FULL_BASE_URL . $this->here ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="tweet-button">
<a href="https://twitter.com/share" data-url="<?= FULL_BASE_URL . $this->here ?>" class="twitter-share-button" style="display:none">Tweet</a>
</div>
</div>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
$setting = ClassRegistry::init('Setting')->find('first', array());
$productNavs = $this->Format->getPageFromSitemap(4, $sitemap);
$subNavs = $this->Format->getPageFromSitemap(24, $sitemap);
$i = 0;
?>
<footer>
<div class="inner clearfix">
<div class="top">
<div class="row">
<div class="column __8 st__2">
<div class="products">
<h2><?= __('Proizvodi') ?></h2>
<div class="row">
<ul class="column __6 st__6">
<?php foreach($productNavs['children'] as $productNav) { $i++; ?>
<li>
<a href="<?= $this->Format->getPageFromSitemap($productNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $productNav['Page']['title'] ?>"><?= $productNav['Page']['title'] ?></a>
</li>
<?php if($i%4 == 0) { ?>
<?php if($i != count($productNav['children'])) { ?>
</ul>
<ul class="column __6 st__6">
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="column __4 st__4">
<div class="banner">
<a href="<?= $this->Format->getPageLink(19, $sitemap) ?>"><img src="/img/valpaint-akademija-banner-f.jpg" /></a>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="wrap clearfix">
<div class="menu">
<ul>
<?php foreach ($subNavs['children'] as $subNav) { ?>
<li><a href="<?= $this->Format->getPageFromSitemap($subNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $subNav['Page']['title'] ?>"><?= $subNav['Page']['title'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="newsletter">
<p><?= __('Prijava za newsletter') ?>:</p>
<form id="newsletterForm" action="/api/v1/newsletter">
<div>
<input class="textfield" name="data[email]" type="text" placeholder="<?php echo _('Vaša email adresa') ?>" />
<button class="submit" type="submit"><span><?php echo __('Poslati') ?></span></button>
</div>
<div class="form-message"></div>
</form>
</div>
</div>
</div>
<div class="bottom clearfix">
<p><?= __('MyWall & Floor © ') . date('Y') . __(' Sva prava zadržana') ?>. </p>
<p class="right"><?= __('Design & Development') ?>: <a href="http://intellex.rs" target="_blank" title="Intellex - Web & Mobile development">Intellex</a></p>
</div>
</div>
</footer>
</div>
'
$metaTags = array(
(int) 1 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 4 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 12 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 14 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 18 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 19 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 21 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 24 => array(
'sr' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg',
'en' => 'http://mywall.dev.intellex.rs/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
(int) 27 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 28 => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
(int) 2 => array(
'sr' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'en' => ''
),
(int) 8 => array(
'sr' => '913732115428480',
'en' => ''
),
(int) 11 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
),
(int) 15 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
),
(int) 23 => array(
'sr' => 'http://mywall.rs/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
)
)
$tagDescriptions = array(
(int) 1 => array(
'id' => '1',
'type' => 'meta',
'name' => 'title',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => null,
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 2 => array(
'id' => '2',
'type' => 'meta',
'name' => 'keywords',
'namespace' => null,
'value_type' => 'textarea',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 3 => array(
'id' => '3',
'type' => 'meta',
'name' => 'description',
'namespace' => null,
'value_type' => 'textarea',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
),
(int) 4 => array(
'id' => '4',
'type' => 'meta',
'name' => 'image',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => false,
'is_main' => true,
'template' => null,
'created' => '2015-03-13 15:39:06',
'modified' => '2015-03-13 15:39:07'
),
(int) 5 => array(
'id' => '5',
'type' => 'meta',
'name' => 'msappication-TileColor',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:32:56',
'modified' => '2015-02-23 17:32:56'
),
(int) 7 => array(
'id' => '7',
'type' => 'meta',
'name' => 'msapplication-TileImage',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:32:56',
'modified' => '2015-02-23 17:32:56'
),
(int) 8 => array(
'id' => '8',
'type' => 'meta',
'name' => 'app_id',
'namespace' => 'fb',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:15',
'modified' => '2015-02-23 17:34:15'
),
(int) 9 => array(
'id' => '9',
'type' => 'meta',
'name' => 'type',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:28',
'modified' => '2015-02-23 17:34:29'
),
(int) 10 => array(
'id' => '10',
'type' => 'meta',
'name' => 'site_name',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:34:39',
'modified' => '2015-02-23 17:34:40'
),
(int) 11 => array(
'id' => '11',
'type' => 'meta',
'name' => 'url',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:04',
'modified' => '2015-02-23 17:35:04'
),
(int) 12 => array(
'id' => '12',
'type' => 'meta',
'name' => 'title',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:12',
'modified' => '2015-02-23 17:35:12'
),
(int) 13 => array(
'id' => '13',
'type' => 'meta',
'name' => 'description',
'namespace' => 'og',
'value_type' => 'textarea',
'value_options' => null,
'inherits' => '3',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:17',
'modified' => '2015-02-23 17:35:17'
),
(int) 14 => array(
'id' => '14',
'type' => 'meta',
'name' => 'image',
'namespace' => 'og',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta property="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:23',
'modified' => '2015-02-23 17:35:24'
),
(int) 15 => array(
'id' => '15',
'type' => 'meta',
'name' => 'url',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:43',
'modified' => '2015-02-23 17:35:43'
),
(int) 16 => array(
'id' => '16',
'type' => 'meta',
'name' => 'card',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:35:59',
'modified' => '2015-02-23 17:35:59'
),
(int) 17 => array(
'id' => '17',
'type' => 'meta',
'name' => 'description',
'namespace' => 'twitter',
'value_type' => 'textarea',
'value_options' => null,
'inherits' => '3',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:12',
'modified' => '2015-02-23 17:36:12'
),
(int) 18 => array(
'id' => '18',
'type' => 'meta',
'name' => 'image',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:21',
'modified' => '2015-02-23 17:36:21'
),
(int) 19 => array(
'id' => '19',
'type' => 'meta',
'name' => 'title',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:31',
'modified' => '2015-02-23 17:36:31'
),
(int) 20 => array(
'id' => '20',
'type' => 'meta',
'name' => 'site',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:42',
'modified' => '2015-02-23 17:36:42'
),
(int) 21 => array(
'id' => '21',
'type' => 'meta',
'name' => 'image:src',
'namespace' => 'twitter',
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta name="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:36:56',
'modified' => '2015-02-23 17:36:56'
),
(int) 22 => array(
'id' => '22',
'type' => 'itemprop',
'name' => 'author',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:37:54',
'modified' => '2015-02-23 17:37:55'
),
(int) 23 => array(
'id' => '23',
'type' => 'itemprop',
'name' => 'url',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:09',
'modified' => '2015-02-23 17:38:09'
),
(int) 24 => array(
'id' => '24',
'type' => 'itemprop',
'name' => 'image',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '4',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:20',
'modified' => '2015-02-23 17:38:20'
),
(int) 25 => array(
'id' => '25',
'type' => 'itemprop',
'name' => 'dateModified',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:38:32',
'modified' => '2015-02-23 17:38:32'
),
(int) 26 => array(
'id' => '26',
'type' => 'itemprop',
'name' => 'datePublished',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:39:43',
'modified' => '2015-02-23 17:39:43'
),
(int) 27 => array(
'id' => '27',
'type' => 'itemprop',
'name' => 'name',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:39:56',
'modified' => '2015-02-23 17:39:56'
),
(int) 28 => array(
'id' => '28',
'type' => 'itemprop',
'name' => 'headline',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => '1',
'is_visible' => true,
'is_main' => false,
'template' => '<meta itemprop="{{tagtitle}}" content="{{tagvalue}}"/>',
'created' => '2015-02-23 17:40:06',
'modified' => '2015-02-23 17:40:07'
),
(int) 29 => array(
'id' => '29',
'type' => 'rel',
'name' => 'dns-prefetch',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:45:43',
'modified' => '2015-02-23 17:45:43'
),
(int) 30 => array(
'id' => '30',
'type' => 'rel',
'name' => 'canonical',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:45:53',
'modified' => '2015-02-23 17:45:54'
),
(int) 31 => array(
'id' => '31',
'type' => 'rel',
'name' => 'shortlink',
'namespace' => null,
'value_type' => 'text',
'value_options' => null,
'inherits' => null,
'is_visible' => true,
'is_main' => false,
'template' => '<link rel="{{tagtitle}}" href="{{tagvalue}}">',
'created' => '2015-02-23 17:46:03',
'modified' => '2015-02-23 17:46:03'
)
)
$seoConfig = array(
'id' => (int) 1,
'head_end' => '<meta property="fb:admins" content="602801999" />
<meta property="fb:admins" content="100003681742215" />
<meta property="fb:admins" content="100003681742216" />
<meta property="fb:admins" content="100003681742217" />',
'body_start' => '<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '481403258908902');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=481403258908902&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->',
'body_end' => '',
'seo_metatags' => 'a:1:{i:8;a:2:{s:2:"sr";s:15:"913732115428480";s:2:"en";s:0:"";}}',
'seo_generated_metatags' => null,
'created' => '2016-11-09 11:45:28',
'modified' => '2021-07-23 09:48:33',
'global_title_suffix' => 'My Wall',
'global_meta_title' => 'My Wall',
'global_meta_description' => '',
'global_meta_keywords' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'is_translated' => true,
'global_title_suffix__' => array(
'sr' => 'My Wall',
'en' => ''
),
'global_meta_title__' => array(
'sr' => 'My Wall',
'en' => ''
),
'global_meta_description__' => array(
'sr' => '',
'en' => ''
),
'global_meta_keywords__' => array(
'sr' => 'zidovi, dekoracija, enterijer, boje za zidove, perive boje, ekoloske boje, kamen, beton u enterijeru, cement u enterijeru, kupatilo, kuhinja, keramicke plocice, micro cement, microverlay, opremanje enterijera, enterijer, boja, dizajn enterijera ',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
)
$forceTitle = array(
(int) 0 => 'Valsetin Gold selection II',
(int) 1 => 'My Wall'
)
$assets = array(
'stylesheets' => array(
(int) 7 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
padding: 0;
margin: 0;
border: 0;
outline: none;
vertical-align: top;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
position: relative;
background: #ecce97;
color: #444;
text-shadow: none;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 15px;
white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('../img/fancybox/fancybox_sprite.png');
}
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-position: 0 -108px;
opacity: 0.8;
cursor: pointer;
z-index: 8060;
}
#fancybox-loading div {
width: 44px;
height: 44px;
background: url('../img/fancybox/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 8040;
background-position: 0 0;
}
.fancybox-nav {
position: absolute;
top: 0;
width: 40%;
height: 100%;
cursor: pointer;
text-decoration: none;
background: transparent url('../img/fancybox/blank.gif'); /* helps IE */
-webkit-tap-highlight-color: rgba(0,0,0,0);
z-index: 8040;
}
.fancybox-prev {
left: 0;
}
.fancybox-next {
right: 0;
}
.fancybox-nav span {
position: absolute;
top: 50%;
width: 36px;
height: 34px;
margin-top: -18px;
cursor: pointer;
z-index: 8040;
visibility: hidden;
}
.fancybox-prev span {
left: 10px;
background-position: 0 -36px;
}
.fancybox-next span {
right: 10px;
background-position: 0 -72px;
}
.fancybox-nav:hover span {
visibility: visible;
}
.fancybox-tmp {
position: absolute;
top: -99999px;
left: -99999px;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
/* Overlay helper */
.fancybox-lock {
overflow: hidden;
}
.fancybox-overlay {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
display: none;
z-index: 8010;
background: url('../img/fancybox/fancybox_overlay.png');
}
.fancybox-overlay-fixed {
position: fixed;
bottom: 0;
right: 0;
}
.fancybox-lock .fancybox-overlay {
overflow: auto;
overflow-y: scroll;
}
/* Title helper */
.fancybox-title {
visibility: hidden;
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-float-wrap {
position: absolute;
bottom: 0;
right: 50%;
margin-bottom: -35px;
z-index: 8050;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0 1px 2px #222;
color: #FFF;
font-weight: bold;
line-height: 24px;
white-space: nowrap;
}
.fancybox-title-outside-wrap {
position: relative;
margin-top: 10px;
color: #fff;
}
.fancybox-title-inside-wrap {
padding-top: 10px;
}
.fancybox-title-over-wrap {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
}
',
'modified' => '2016-11-22 16:39:18'
),
(int) 6 => array(
'id' => (int) 6,
'name' => 'youtube-video-gallery',
'data' => '*.youtube-videogallery-container {
display: block;
}
*.youtube-videogallery-compact *.youtube-videogallery-item,
*.youtube-videogallery-compact *.youtube-videogallery-img{
box-shadow: 0 0 0;
border-radius: 0;
margin: 0 0 0 0;
}
*.youtube-videogallery-compact *.youtube-videogallery-title {
font-size: 11px;
}
a.youtube-videogallery-link { padding:5px; background:#2f2f33; position:relative; display:block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
a.youtube-videogallery-link:hover { background:#ecce97; }
a.youtube-videogallery-link:hover span { color:#6c5e43; }
a.youtube-videogallery-link:hover img.youtube-videogallery-play,
a.youtube-videogallery-link:focus img.youtube-videogallery-play {
opacity: 1;
}
*.youtube-videogallery-play {
left:50%;
opacity: 0.7;
position: absolute;
top:50%;
z-index: 1;
}
*.youtube-videogallery-title { width:100%; text-align:center; float:left; font-size:13px; color:#9f9f9f; line-height:13px; padding:5px 0; }
*.youtube-videogallery-allowtitle *.youtube-videogallery-title {
height: auto;
}
*.youtube-videogallery-screen-reader-only {
position: absolute;
left:-9999px;
}
div.youtube-videogallery-bodycover {
background-color: #000;
height: 100%;
left:0;
opacity: 0;
position: absolute;
top:0;
width:100%;
z-index: 100;
}
div.youtube-videogallery-display {
background-color: #000;
box-shadow: 3px 3px 7px #000;
left:50%;
opacity: 0;
padding: 3px;
position: fixed;
top:50%;
z-index: 101;
}
div.youtube-videogallery-bodycover,
div.youtube-videogallery-display {
transition: all 300ms;
transform: scale(0);
-webkit-transform: scale(0);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover,
body.youtube-videogallery-active div.youtube-videogallery-display {
display: block;
transform: scale(1);
-webkit-transform: scale(1);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover {opacity: 0.5}
body.youtube-videogallery-active div.youtube-videogallery-display { opacity: 1}',
'modified' => '2016-11-10 14:47:39'
),
(int) 5 => array(
'id' => (int) 5,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
/*
* This file contains styles that are common to all kwicks instances. Note that each kwicks instance requires
* additional styling - please see the examples for more info.
*/
.kwicks {
display: block;
list-style-type: none;
list-style: none;
position: relative;
margin: 0;
padding: 0;
}
.kwicks > * {
display: block;
overflow: hidden;
padding: 0;
margin: 0;
}
.kwicks.kwicks-processed > * {
margin: 0;
position: absolute;
}
.kwicks-horizontal > * {
float: left;
}
.kwicks-horizontal > :first-child {
margin-left: 0;
}
.kwicks-vertical > :first-child {
margin-top: 0;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 3,
'name' => 'jquery.bxslider',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
padding: 0;
*zoom: 1;
}
.bx-wrapper img {
max-width: 100%;
display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
background: url(images/bx_loader.gif) center center no-repeat #fff;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
text-indent: -9999px;
display: block;
outline: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
left: 10px;
background: url(images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
right: 10px;
background: url(images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -16px;
outline: 0;
width: 32px;
height: 32px;
text-indent: -9999px;
z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 0;
left: 0;
background: #666\9;
background: rgba(80, 80, 80, 0.75);
width: 100%;
}
.bx-wrapper .bx-caption span {
color: #fff;
font-family: Arial;
display: block;
font-size: .85em;
padding: 10px;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 1 => array(
'id' => (int) 1,
'name' => 'main',
'data' => '@charset "utf-8";
*,:after,:before,a,abbr,acronym,address,applet,article,aside,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,input,ins,kbd,label,legend,li,main,mark,object,ol,p,pre,q,s,samp,section,small,span,strike,strong,sub,sup,table,tbody,td,textarea,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:top;background:0 0;-webkit-font-smoothing:antialiased;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{overflow-y:auto;overflow-x:hidden}ol,ul{list-style:none}:focus{outline:0}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix{display:block}* html .clearfix{height:1%}
@font-face {
font-family: 'robotolight';
src: url('/font/roboto-light-webfont.eot');
src: url('/font/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/roboto-light-webfont.woff') format('woff'),
url('/font/roboto-light-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pt_serifregular';
src: url('/font/ptf55f-webfont.eot');
src: url('/font/ptf55f-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/ptf55f-webfont.woff') format('woff'),
url('/font/ptf55f-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
::selection { color:#fff; background:#bba47a; }
::-moz-selection { color:#fff; background:#bba47a; }
/* Global */
body,html { font-family: 'robotolight'; font-size:14px; background:url(../img/bg_body.jpg) repeat 0 0 #000; }
h1, h2 { font-family: 'pt_serifregular'; }
.inner { width:1150px; max-width: 96%; margin:0 auto; }
a { text-decoration:none; -o-transition:color .2s ease-out; -ms-transition:color .2s ease-out; -moz-transition:color .2s ease-out; -webkit-transition:color .2s ease-out; transition:color .2s ease-out; }
/* HEADER */
header { width:100%; display:inline-block; background:#000; -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.5);-moz-box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5); position:relative; z-index:99; float:left; }
header .logo { width: 140px; display: inline-block; padding:5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header .logo:hover { opacity:0.7; }
header .logo img { width: 100%; height: auto; display: block; }
header ul.lang { float:right; padding:5px 0 0 0; }
header ul.lang li { float:left; display:block; padding:0 0 0 10px; }
header ul.lang li a { float:left; color:#484b4e; font-size:11px; }
header ul.lang li a:hover { color:#fff; }
header ul.lang li.active a { color:#bba47a; }
header #off-canvas-right { display: inline-block; float: right; padding: 32px 0 0 0; }
header nav { width:100%; display: inline-block; }
header nav > ul { }
header nav > ul > li { display: inline-block; margin: 0 10px; position:relative; }
header nav > ul > li:first-child { margin:0 10px 0 0; }
header nav > ul > li:last-child { margin:0 0 0 10px; }
header nav > ul > li > a { float:left; font-size:14px; color:#c1b49c; text-transform:uppercase; padding:0 0 10px 0; position: relative; }
header nav > ul > li > a:after { width: 0; height: 3px; background: #bba47a; position: absolute; bottom: 0; left: 0; content: ""; }
header nav > ul > li > a:hover { color:#fff; }
header nav > ul > li > a:hover:after { width: 100%; -webkit-transition: width .3s ease-in-out; -moz-transition: width .3s ease-in-out; -o-transition: width .3s ease-in-out; transition: width .3s ease-in-out; }
header nav > ul > li.active > a:after { width: 100%; }
header nav > ul > li.active > a { color:#bba47a; }
header nav > ul > li > ul { width: 220px; background: #171718; position: absolute; left: 0; top: 26px; border-top: 3px solid #b8a178; -webkit-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);-moz-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43); display: none; }
header nav > ul > li > ul:before { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #b8a178; position: absolute; top: -8px; left: 22px; content: ""; }
header nav > ul > li > ul li { display: block; border-bottom: 1px solid #2f2f30; }
header nav > ul > li > ul li:last-child { border: none; }
header nav > ul > li > ul li a { display: block; font-size: 14px; color: #e5d1ac; padding: 10px 20px; }
header nav > ul > li > ul li a:hover { color: #fff; }
header nav > ul > li:hover ul { display: block; }
header nav > ul > li:hover > a { color:#fff; }
header nav > ul > li.dropdown:after { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 3px solid #c1b49c; position: absolute; right: -9px; top: 8px; content: ""; }
header nav ul li.spec { margin:-4px 0 0 26px; }
header nav ul li.spec a { background:#c1b49c; color:#000; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; padding:5px 12px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header nav ul li.spec:hover:after { display:none; }
header nav ul li.spec a:hover { background:#e4d9c6; }
header nav ul li.spec { border-bottom:none; }
.topline { width:100%; display:inline-block; background:url(../img/bg_top.jpg) no-repeat 0 0; height:10px; margin:0 0 8px 0; }
.fixed { position:fixed; top:0; left:0; background:rgba(0,0,0,0.0.87); }
#openRightMenu { top: 20px; right: 20px; display: none; }
#openLeftMenu { top: 20px; left: 20px; }
/* Hamburger button */
.hamburger{position:absolute;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:#000;border:0;margin:0;overflow:visible}.hamburger-box{width:40px;height:24px;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-2px}.hamburger-inner,.hamburger-inner::after,.hamburger-inner::before{width:35px;height:4px;background:#fff;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.hamburger-inner::after,.hamburger-inner::before{content:"";display:block}.hamburger-inner::before{top:-8px}.hamburger-inner::after{bottom:-8px}.hamburger--squeeze .hamburger-inner{transition-duration:.1s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze .hamburger-inner::before{transition:top .1s .14s ease,opacity .1s ease}.hamburger--squeeze .hamburger-inner::after{transition:bottom .1s .14s ease,transform .1s cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze.is-active .hamburger-inner{transform:rotate(45deg);transition-delay:.14s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.hamburger--squeeze.is-active .hamburger-inner::before{top:0;opacity:0;transition:top .1s ease,opacity .1s .14s ease}.hamburger--squeeze.is-active .hamburger-inner::after{bottom:0;transform:rotate(-90deg);transition:bottom .1s ease,transform .1s .14s cubic-bezier(.215,.61,.355,1)}
/* Category menu button*/
.category-hamburger { position: absolute; }
.category-hamburger span { width: 10px; height: 10px; background: #fff; display: inline-block; position: relative; }
.category-hamburger span:after { width: 10px; height: 10px; background: #fff; position: absolute; content: ""; bottom: -12px; left: 0; }
/* ===== HOME ELEMENTS ===== */
/* Slider */
.slider { width:1230px; max-width:100%;margin:0 auto; background:#000; border-top:1px solid #1c1c1c; position:relative;-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:10px; }
.slider .kwicks { width:1230px; max-width:100%; height:400px; display: block; position: relative;}
.slider .kwicks > li { width: 125px; height: 400px; margin-left: 5px;float: left;}
.slider .kwicks > li a img { opacity: 0.5; /*-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out;*/ }
.slider .kwicks > li h2 { width:20px;height:20px; position:absolute; bottom:20px; left:10px; -webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform: rotate(-90deg);white-space:nowrap; color:#fcba42; font-size:20px; text-align:right; writing-mode:bt-lr; display:block;-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out; }
.slider .kwicks > li span { width:100%; opacity:0; position:absolute; bottom:0; left:0; padding:80px 20px 20px 20px; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.slider .kwicks > li a:hover img { opacity:1; }
.slider .kwicks > li a:hover h2 { opacity:0; }
.slider .kwicks > li a span.vis { opacity:1; }
.slider .kwicks > * { display: block; overflow: hidden; padding: 0; margin: 0;}
.slider .kwicks.kwicks-processed > * { margin: 0; position: absolute;}
.slider .kwicks-horizontal > * {float: left;}
.slider .kwicks-horizontal > :first-child { margin-left: 0;}
.slider .kwicks-vertical > :first-child { margin-top: 0;}
.slider .kwicks > li span h3 { color:#e0a73f; font-size:20px; font-family: 'pt_serifregular'; padding:0 0 15px 0; }
.slider .kwicks > li span p { color:#fff; }
/* Home categories */
.home-categories { width:1150px; max-width: 100%; margin:20px auto; background:#121314; padding:30px 50px 20px 50px; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.home-categories article { float:left; margin:0 0 10px 9px; }
.home-categories article.modulus { margin:0 0 10px 0; }
.home-categories article a { float:left; background:#f6e8ce; padding:5px; position:relative; }
.home-categories article a:hover { background:#f3d193; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.home-categories article a img { float:left; border:1px solid #9e875c; background:#fff; padding:1px; }
.home-categories article a span { width:170px; margin:0 7px; position:absolute; bottom:7px; left:0; padding:15px 0 10px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.home-categories article a span h2 { width:100%; float:left; color:#ecce97; text-align:center; box-sizing:border-box; padding:0 10px; line-height:15px; }
.home-categories article a:hover span h2 { color:#f4e6ce; }
/* Home blocks */
.home-block { width:1230px; max-width: 100%; margin:0 auto; }
.home-block .block { background:#0a0a0a; border-top:1px solid #161616; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:30px 50px 0 50px;}
.home-block .block-about { background:url(../img/bg_about_block.jpg) no-repeat 100% 0 #0a0a0a; }
.home-block .block h2 { color:#bba47a; font-size:22px; padding:0 0 35px 0; }
.home-block .block p { color:#fff; padding:0 0 15px 0; text-align:justify; }
.home-block .block a { color:#c4a56c; }
.home-block .block a:hover { color:#a48958; }
.home-block .block article { padding:0 0 30px 0; }
.home-block .block article span { width:90px; float: left;margin:0 10px 0 0; }
.home-block .block article span a { display: block; }
.home-block .block article span img { width:100%; height:auto; display:block; }
.home-block .block article div { display: table-cell; width: 768px; }
.home-block .block article div em { font-style:normal; font-size:10px; color:#d0d0d0; }
.home-block .block article div h3 { padding:0 0 10px 0; }
.home-block .block article div h3 a { color:#e3c58f; font-size:15px; font-family: 'pt_serifregular'; }
.home-block .block article div h3 a:hover { color:#fbefd9; }
.home-block .block article div p { font-size:12px; text-align:left; padding:0; }
.home-block .tagline { width:100%; display:inline-block; box-sizing:border-box; padding:20px 50px; margin:20px 0; border-top:1px solid #161616; background:url(../img/bg_tagline.jpg) no-repeat top center #0a0a0a; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); text-align:center; }
.home-block .tagline h1,.home-block .tagline h2 { display:block; font-size:1.6em; color:#fff; text-transform:uppercase; }
.home-block .tagline h1 { border-bottom: 1px solid #fff; display: inline-block; padding: 0 0 20px 0; margin: 0 0 20px 0; }
/* ===== PAGE CONTENT ===== */
.page-content { width:1250px; max-width: 100%; margin:0 auto; background:#000; background-position:100% 0; background-repeat:no-repeat; border-top:1px solid #202020; padding:0 0 50px 0; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.content { width:1150px; max-width: 96%; margin:0 auto; }
.side-content { }
.main-content { padding:0 0 30px 0; }
/* Breadcrumbs */
.breadcrumbs { width:100%; display:inline-block; border-bottom:1px solid #151515; font-size:11px; color:#a8a8b3; padding:13px 0; background:url(../img/bg_breadcrumbs.png) no-repeat 0 0; }
.breadcrumbs p { float:left; padding:0 5px 0 0; }
.breadcrumbs a { float:left; color:#c1b297; }
.breadcrumbs a:hover { color:#e9ddc8; }
.breadcrumbs a:after { content:'/'; color:#4a4a50; margin:0 0 0 7px; }
.breadcrumbs ul li { float:left; display:block; padding:0 0 0 7px; }
/* Page title */
.page-title { padding:30px 0 50px 0; }
.page-title .inner { position:relative; }
.page-title .inner div { padding:0 0 0 20px; float:left; border-left:4px solid #bba47a; }
.page-title .inner div h2 { width:100%; float:left; color:#3a3326; font-size:20px; line-height:18px; min-height:25px; }
.page-title .inner div h1 { width:100%; float:left; color:#fff; font-size:30px; line-height:27px; }
.page-title .inner span { position:absolute; right:0; top:-15px; }
/* Rich text */
.rich-text { color:#c1b49c; line-height:22px; }
.rich-text p { padding:0 0 15px 0; text-align:justify; }
.rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.rich-text a { color:#c4a56c; }
.rich-text a:hover { color:#a48958; }
.rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.rich-text ul li { padding:0 0 5px 0; }
.rich-text .rich-video {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.rich-text .rich-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.remark-rich-text { width:100%; float:left; color:#c1b49c; line-height:22px; }
.remark-rich-text p { padding:0 0 15px 0; text-align:justify; }
.remark-rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.remark-rich-text a { color:#c4a56c; }
.remark-rich-text a:hover { color:#a48958; }
.remark-rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.remark-rich-text ul li { padding:0 0 5px 0; }
.remark-rich-text.hasGallery { padding: 0 0 20px 0; }
.add-image { width:500px; max-width:50%;float:left; margin:0 40px 0 0; padding:5px; background:#1e1f21; box-sizing:border-box }
.add-image div { width:100%; display:block; text-align:center; }
.add-image img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; padding:1px; }
/* Article grid */
.article-grid .row { margin: 0 -8px; }
.article-grid .row > .column { padding: 0 8px; }
.article-grid article { position:relative;}
.article-grid article a, .article-grid article .image-gallery-holder { display: block; padding:5px; background:#1e1f21; position:relative; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin-bottom: 15px; }
article.column > a > span { position:absolute; background: rgba(187, 164, 122, 0.7); -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease ; -ms-transition: all 0.2s ease ; -o-transition: all 0.2s ease ; transition: all 0.2s ease ; padding:5px; top:15%; left:20%; width: 60%; }
article.column > a > span.before-after { top:auto; bottom: 15px; left: 30px; width: auto;text-transform: uppercase; font-size: 16px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 10px;}
article.column > a > span em { width: 100%;text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
article.column > a > span em img { background:none; border:none; padding:0; width:100%; display:inline; }
article.column > a:hover > span { -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -ms-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); }
.article-grid article a:hover { background:#323336; }
.article-grid article img { width:100%; height:auto; display:block; box-sizing:border-box; background:#37393b; padding:1px; border:1px solid #53595e; }
.article-grid article div {position:absolute; left:7px; right: 7px; bottom:7px; padding:40px 0 7px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.article-grid article div h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.article-grid article div p { width:100%; text-align:center; font-size:13px; line-height:14px; padding:3px 0 0 0; color:#d4d8de; }
.article-grid-page article { padding:0 0 10px 6px; }
.article-grid-page article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid article span.label { width:48px; height:48px; position:absolute; right:7px; top:7px; }
.article-grid article span.label img { background:none; padding:0; border:none; }
/* Big grid minimum 5 articles */
.article-grid-biggrid article { padding:0 0 10px 12px; }
.article-grid-biggrid article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid-biggrid article a { width:262px; box-sizing:border-box; }
.article-grid-biggrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-biggrid article div { padding:40px 0 15px 0; }
.article-grid-biggrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:30px; left:50%; margin:0 0 0 -70px; }
.article-grid-biggrid article span em { width:100px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-biggrid article span em img { background:none; border:none; padding:0; }
.article-grid-biggrid article a:hover span em img { background:none; border:none; padding:0; }
/* Small grid up to 4 articles */
.article-grid-smallgrid article { padding:0 0 10px 10px; }
.article-grid-smallgrid article:nth-child(2n+1) { padding:0 0 10px 0; }
.article-grid-smallgrid article a { width:400px; box-sizing:border-box; }
.article-grid-smallgrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-smallgrid article div { width:386px; box-sizing:border-box; padding:40px 0 15px 0; }
.article-grid-smallgrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:70px; left:90px; }
.article-grid-smallgrid article span em { width:175px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-smallgrid article span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.article-grid-smallgrid article a:hover span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.showroom-gallery { padding: 20px 0 0 0; }
/* Vertical menu */
#cat-menu { display:none; }
.vertical-menu { width:100%; float:left; margin:0 0 20px 0; }
.vertical-menu h2 { font-size:20px; color:#906e30; padding:0 20px 15px 20px; }
.vertical-menu ul { border-bottom:1px solid #29292f; border-right:1px solid #17171a; }
.vertical-menu ul li { border-left:3px solid #29292f; border-top:1px solid #17171a; margin-bottom:1px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.vertical-menu ul li a { color:#c1b49c; text-transform:uppercase; font-size:14px; font-family: 'pt_serifregular'; padding:10px 15px 9px 15px; display:block; line-height:17px; }
.vertical-menu ul li:hover { border-left:3px solid #bca57b; }
.vertical-menu ul li a:hover { color:#bca57b; }
.vertical-menu ul li.active { border-left:3px solid #bba47a; border-top:none; background:#111113; }
.vertical-menu ul li.active a { color:#000; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.vertical-menu ul li ul { display:none; border-right:none; }
.vertical-menu ul li.active ul { padding:0 0 0 20px; display:block; border-right:none; }
.vertical-menu ul li.active ul li { margin:0; border:none; }
.vertical-menu ul li.active ul li ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li a { background:none; color:#e4ad48; font-size:14px; font-family: 'robotolight'; text-transform:none; padding:7px 0; border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li a:before { content:'▸'; }
.vertical-menu ul li.active ul li a span { width:90%; display:inline-block; font-size:0.96em; box-sizing:border-box; padding:0 0 0 14px; line-height:16px; color:#98938a; }
.vertical-menu ul li.active ul li a:hover span { color:#906e30; }
.vertical-menu ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active a span { color:#906e30; }
.vertical-menu ul li.active ul li.active a:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul { border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li.active ul li { }
.vertical-menu ul li.active ul li.active ul li a { color:#e4ad48; padding:7px 0; }
.vertical-menu ul li.active ul li.active ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li a:before { content:none; }
.vertical-menu ul li.active ul li.active ul li a:hover:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active ul li a:before { content:'▸'; color:#414345; }
.vertical-menu ul li.active ul li.active ul li.active a:before { color:#906e30; }
/* Product details */
.product-details { }
.product-details .product-info { text-align:justify; }
.product-details .product-info-full { width:100%; }
.product-details .right-info { }
.product-details .photo-grid { }
.product-details .social { padding:0 0 15px 0; border-bottom:1px solid #222225; margin:0 0 20px 0; height: 36px; }
.product-details .social .fb-like-button { float:left; margin:0 15px 0 0; }
.product-details .social .tweet-button { float:left; }
.product-details .product-slideshow { margin: 0 0 40px 0; }
.product-details .product-slideshow ul { position: relative}
.product-details .product-slideshow a {display: block; background:#252729; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-slideshow a:hover { background:#5a5d5f; }
.product-details .product-slideshow a img { background:#37393b; padding:1px; border:1px solid #53595e; width: 100%; height: auto; }
.product-details .product-slideshow a:hover img { border:1px solid #252729; background:#5a5d5f; }
.product-details .product-slideshow a span { width:330px; height:80px; left:7px; position:absolute; bottom:7px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-slideshow .bx-has-pager { width:100%; float:left; padding:8px 0 0 0; position:relative; }
.product-details .product-slideshow .bx-pager { width:100%; position:relative; text-align:center; padding:0 20px; box-sizing:border-box; }
.product-details .product-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.product-details a.link-download { background:#a0151d; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 10px 0 0 0; font-family: 'pt_serifregular'; display: block; }
.product-details a.link-download:hover { background:#c62a33; }
.product-details a.link-download span { display:block; border:1px solid #bf6066; padding:6px 0; text-align:center; }
/*.product-details a.link-download.renewal-catalogue { width:200px; box-sizing:border-box; }*/
.product-details a.link-beforeafter { display: block; margin: 10px 0 0 0; background:#c3ab7f; padding:3px; color:#4a3f2b; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; font-family: 'pt_serifregular'; }
.product-details a.link-beforeafter:hover { background:#d8bf91; }
.product-details a.link-beforeafter span { display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.product-details .product-blocks { width:100%; float:left; margin:30px 0 0 0; }
.product-details .product-block { width:100%; float:left; background:#111113; padding:10px; box-sizing:border-box; margin:0 0 1px 0; }
.product-details .product-block .block-content { width:100%; float:left; background:#202023; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.product-details .product-block .block-content .head, .product-details .product-block .block-content .head-no-accordion { width:100%; float:left; box-sizing:border-box; padding:8px 10px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; cursor:pointer; }
.product-details .product-block .block-content .head-no-accordion { background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); cursor: default }
.product-details .product-block .block-content .head:hover { background:#1c1c1e; }
.product-details .product-block .block-content .head h2 { font-size:15px; color:#bcb6a9; line-height: 20px; }
.product-details .product-block .block-content .head-no-accordion h2 { font-size:15px; line-height: 20px; }
.product-details .product-block .block-content .head h2:before { content:'▸'; color:#6c675d; margin:0 5px 0 0; }
.product-details .product-block .block-content .active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active h2 { color:#292c31; }
.product-details .product-block .block-content .active h2:before { content:'▾'; color:#292c31; }
.product-details .product-block .block-content .body { width:100%; float:left; padding:10px; box-sizing:border-box; }
.product-details .product-photo-gallery { }
.product-details .product-photo-gallery ul li a { background:#2f2f33;padding:5px; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position: relative; display: block }
.product-details .product-photo-gallery ul li a:hover { background:#5a5d5f; }
.product-details .product-photo-gallery ul li a img { width:100%; height:auto; display:block; box-sizing:border-box; border:1px solid #53595e; background:#37393b; padding:1px; }
.product-details .product-photo-gallery ul li a span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:10px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.product-details .product-photo-gallery .bx-pager { position:absolute; top:-35px; right:0; z-index:99; }
.product-details .product-photo-gallery .bx-pager .bx-pager-item { margin:0 5px 0 0; }
.product-details .product-photo-gallery .bx-pager a { width:11px; height:11px; background:#fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.product-details .product-photo-gallery .bx-pager a.active { background:#a5864d; }
.product-details .product-tehnical-spec p { color:#555; font-size:13px; }
.product-details .product-tehnical-spec ul { width:100%; float:left; }
.product-details .product-tehnical-spec ul li { width:100%; float:left; display:block; padding:0 0 1px 0; }
.product-details .product-tehnical-spec ul li a { width:100%; float:left; background:url(../img/ico_download.png) no-repeat -10px center #27272a; padding:8px 10px 8px 10px; box-sizing:border-box; font-size:13px; color:#9f9f9f; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tehnical-spec ul li a span { float:right; }
.product-details .product-tehnical-spec ul li a:hover { background:url(../img/ico_download.png) no-repeat 10px center #313135; padding:8px 10px 8px 30px; }
.product-details .product-video-gallery li a { min-height:180px; display: block; margin-bottom: 5px; }
.product-details .product-video-gallery li a .youtube-videogallery-img { width: 100%; }
.product-details .product-tools li { padding:0 10px 10px 0; float:left; display:block; }
.product-details .product-tools li a { padding:5px; background:#2f2f33; float:left; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tools li a:hover { background:#5a5d5f; }
.product-details .product-tools li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li { float:left; margin:0 8px 8px 8px; }
.product-details .product-related ul li a { background:#2f2f33;padding:5px;float:left; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position:relative; }
.product-details .product-related ul li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li a span { width:225px; position:absolute; bottom:0; left:7px; bottom:7px; padding:40px 0 7px 0; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-related ul li a span h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.product-details .pro-banner { margin:10px 0 0 0; }
.product-details .pro-banner a { -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; display: block }
.product-details .pro-banner a:hover { opacity:0.8; }
.product-details .pro-banner a img { width: 100%;}
/* Special note */
.special-note { width:100%; float:left; background:#eace9b; padding:20px; box-sizing:border-box; margin:0 0 30px 0; position:relative; }
.special-note h2 { color:#584117; font-size:16px; padding:0 0 10px 0; }
.special-note p { color:#6e5b38; font-size:12px; }
.special-note div { width:26px; height:90px; position:absolute; right:-26px; bottom:-3px; background:url(../img/bg_note.png) no-repeat 0 0; }
/* News Grid */
.news-grid article { vertical-align:top; }
.news-grid article a {display: block;background:#1e1f21; padding:5px; box-sizing:border-box; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 30px 0;}
.news-grid article a:hover { background:#323336; }
.news-grid article a .cnt { background:#18181b; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.news-grid article a .cnt img { width:100%; height:auto; display:block; }
.news-grid article a .cnt div { position:relative; }
.news-grid article a .cnt div span { width:100%; position:absolute; bottom:0; left:0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.news-grid article a .cnt div span h2 { text-align:center; font-size:16px; color:#ecce97; padding:50px 20px 5px 20px;}
.news-grid article a .cnt em { width:100%; text-align:center; float:left; font-style:normal; font-size:12px; color:#906e30; padding:5px 0; }
.news-grid article a .cnt p { color:#a8a8b3; font-size:12px; text-align:center; padding:0 20px 15px 20px; min-height: 95px;}
/* News Details */
.news-details { width:100%; float:left; }
.news-details .date { width:100%; float:left; font-style:normal; font-size:12px; color:#906e30; padding:0 0 20px 0; }
.news-details .date em { float:left; font-style:normal; font-size:12px; color:#906e30; }
.news-details .date .social { float:right; }
.news-details .date .social .fb-like-button { float:left; margin:0 15px; }
.news-details .date .social .tweet-button { width:85px; float:left; }
.news-details .rich-text { text-align:justify; }
.news-details .img { float: right; width: 30%; margin: 0 0 40px 40px; }
.news-details .img a { display: block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.news-details .img a:hover { background:#323336; }
.news-details .img img { width: 100%; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery { border-top:1px solid #17171a; margin:30px 0 0 0; padding:10px 0 0 0; }
.news-details .news-gallery h2 { color:#906e30; font-size:14px; padding:0 0 10px 0; }
.news-details .news-gallery ul li a { display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 10px 0}
.news-details .news-gallery ul li a:hover { background:#323336; }
.news-details .news-gallery ul li a img {width: 100%; height: auto !important; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery .bx-wrapper { max-width:1190px!important; }
.news-details .news-gallery .bx-pager { position:absolute; top:-25px; right:0; }
.news-details .news-gallery .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.news-details .news-gallery .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.news-details .news-gallery .bx-pager .bx-pager-item a.active { background:#ac946b; }
.paginator span { margin: 0 3px 0 0; display: inline-block; background: #1e1f21; padding: 5px;}
.paginator span.current { padding: 10px; color: #bba47a;}
.paginator span a { display:block; background:#323336; color: #bba47a; padding: 5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0;}
.paginator span a:hover { background:#1e1f21; }
/* Contact */
.contact-info { padding:0 20px 0 0; }
.contact-info h2 { font-size:22px; color:#a48958; padding:0 0 20px 0; }
.contact-info p { color:#c1b49c; }
.contact-info a { color:#a07c3b; }
.contact-info a:hover { color:#d5a856; }
.contact-info:nth-child(2) { padding:0 0 0 50px; }
.contact-form { background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; }
.contact-form h2 { width:100%; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.contact-form .textfield { width:100%; background:#fff; border:0; margin:0 0 10px 0; color:#010101; text-align:left; padding:10px 20px; -webkit-box-shadow: inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);-moz-box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4); font-family: 'robotolight'; font-size:14px; }
.contact-form .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield::-moz-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
.capcha-field { position: relative;}
.capcha-field em { position: absolute; left: 0; top: 0; background: #18181b; padding: 10px}
.capcha-field .textfield {padding-left: 80px;}
.contact-form .submit { width:100%; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.contact-form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.contact-form .submit:hover { background:#dcc18f; }
.gmap { width:100%; float:left; height:400px; margin:30px 0 0 0; }
/* Form Messages */
.validation-error-message { width:100%; display: block; margin:-10px 0 10px 0; color: #d34141; display:block; }
.form-message { color: #fff}
.form-message-error { width:100%; float:left; margin:10px 0 0 0; color: #d34141; display:block; }
.newsletter .form-message-error { width:auto; float:none; margin:0; }
.newsletter .validation-error-message { width:auto; float:none; margin:0; }
.form-message.form-message-success { color:#82a12b; }
.radio .validation-error-message { margin:0; }
/* FOOTER */
footer { width:100%; float:left; }
footer .inner {width: 1250px}
footer .inner .top { padding:35px 50px 0 50px; }
footer .inner .top h2 { width:50%; color:#bba47a; font-size:17px; padding:0 0 10px 0; }
footer .inner .top .products { }
footer .inner .top .products ul { display:block; }
footer .inner .top .products ul li { }
footer .inner .top .products ul li a { display: block; color:#808080; font-size:13px; }
footer .inner .top .products ul li a:hover { color:#fff; }
footer .inner .middle {border-bottom:1px solid #313234; padding:20px 50px; }
footer .inner .middle .wrap { border-top:1px solid #1e1e1f; padding:20px 0 0 0; }
footer .inner .middle .wrap .menu { padding:6px 0 0 0; display: inline-block; }
footer .inner .middle .wrap .menu ul li { display:inline-block; margin:0 15px 0 0; }
footer .inner .middle .wrap .menu ul li a { float:left; color:#808080; font-size:13px; text-transform: uppercase; color:#bba47a; }
footer .inner .middle .wrap .menu ul li a:hover { color:#fff; }
footer .inner .middle .newsletter { float:right; text-align:right; }
footer .inner .middle .newsletter p { color:#808080; font-size:13px; padding:6px 10px 0 0; float:left; }
footer .inner .middle .newsletter form { float:right; }
footer .inner .middle .newsletter .textfield { width:260px; float:left; background:#fff; border:0; color:#454545; padding:8px; font-size:13px; height: 31px; box-sizing: border-box}
footer .inner .middle .newsletter .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield::-moz-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .submit { float:left; border:none; background:#c3ab7f; padding:4px 3px; color:#fff; font-size:12px; font-family: 'pt_serifregular'; cursor:pointer; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:0 0 0 1px; line-height: 1;height: 31px;box-sizing: border-box }
footer .inner .middle .newsletter .submit:hover { background:#d8bf91; }
footer .inner .middle .newsletter .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:4px 10px 3px 10px; text-align:center; color:#292c31; }
footer .inner .bottom { padding:0 50px 0 50px; }
footer .inner .bottom p { color:#5d5959; font-size:11px; float:left; padding:10px 0; }
footer .inner .bottom a { color:#bba47a; }
footer .inner .bottom .right { float:right; text-align:right; }
/* Static pages */
.static-content { width:100%; float:left; }
.static-content section { padding:0 0 70px 0; }
.static-content section article .gallery-slideshow li a { float:left; display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; box-sizing:border-box; }
.static-content section article .gallery-slideshow li a:hover { background:#323336; }
.static-content section article .gallery-slideshow li a img { float:left; background:#37393b; border:1px solid #53595e; padding:1px; box-sizing:border-box; width:100%; display:block; height:auto; }
.static-content section article .gallery-slideshow .bx-pager { width:100%; position:absolute; bottom:-25px; right:0; text-align:center; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.static-content section:nth-child(2n) article { margin:0 25px 0 0; }
.static-content section:nth-child(2n) article:first-child { float:right; margin:0 0 0 25px; }
.static-content section article .spec-block { width:100%; float:left; background:#18181b; padding:10px; box-sizing:border-box; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); margin:20px 0 0 0; }
.static-content section article .spec-block .wrap { width:100%; float:left; padding:15px; box-sizing:border-box; border:1px solid #27272b; font-size:13px; }
.static-content section article .spec-block .wrap .rich-text { line-height:18px; }
.static-content section article .spec-block .wrap .rich-text p:last-child { padding:0; }
.static-content section article .form { width:100%; float:right; background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; box-sizing:border-box; }
.static-content section article .form h2 { width:100%; float:left; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.static-content section article .form .submit { width:100%; float:left; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.static-content section article .form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.static-content section article .form .submit:hover { background:#dcc18f; }
.static-content section article .form p { line-height:18px; color:#7a7c7f; font-size:13px; padding:0 0 25px 0; }
.radio { display:block; padding:20px 0; }
.radio label { line-height:18px; color:#7a7c7f; font-size:13px; display: inline-block; }
.radio div { display: inline-block; padding:0 0 0 20px; }
.radio div label { padding:0 0 0 5px; cursor: pointer }
.radio div input { display: inline-block;position:relative; top:3px; cursor: pointer }
/* Testimonials */
.testimonial { width:100%; float:left; text-align:center; padding:0 100px 40px 100px; box-sizing:border-box; }
.testimonial blockquote { }
.testimonial blockquote:before { content: "\201C"; color:#c1b49c; font-size:55px; margin-right: 0.1em; line-height:0.1em; vertical-align:-0.49em; font-family:Arial, Helvetica, sans-serif; }
.testimonial p { color:#fff; line-height:23px; font-size:16px; font-family:"pt_serifregular"; padding:0 0 10px 0; }
.testimonial span { color:#c1b49c; line-height:22px; }
/* Banners */
.banner { width:100%; float:left; box-sizing:border-box; margin:0 0 20px 0; }
.banner a {padding:5px; display: block; background:#1e1f21; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.banner a img { width:100%; padding:1px; background:#37393b; border:1px solid #53595e; }
.banner a:hover { background:#323336; }
/* References */
ul.reference-list { width: 100%; display: inline-block; text-align: center; }
ul.reference-list li { width: 48%; color: #c1b49c; display: inline-block; vertical-align: top; border:1px solid #584e42; -webkit-border-radius: 1px;-moz-border-radius: 1px;border-radius: 1px; margin: 0 5px 5px 5px; padding: 5px 0; }
footer .banner { }
/* Calculator */
#calculator { width:440px; }
#calculator .head { width:100%; float:left; box-sizing:border-box; background:#af976a; border-top:1px solid #c7b697; padding:16px 20px 13px 20px; }
#calculator .head h2 { color:#fff; font-size:24px; float:left; }
#calculator .head img { float:right; margin:6px 0 0 0; }
#calculator .body { width:100%; float:left; box-sizing:border-box; background:#222226; padding:20px; color:#c7c7c7; }
#calculator .body .select { width:100%; float:left; box-sizing:border-box; margin:35px 0 0 0; }
#calculator .body .select label { width:150px; float:left; padding:8px 0 0 0; }
#calculator .body .select select { width:230px; float:right; border:none; color:#6f6f6f; padding:10px; background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhZWFlYWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ffffff 0%, #aeaeae 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#aeaeae)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#aeaeae 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#aeaeae',GradientType=0 ); /* IE6-8 */
}
#calculator .body .select select option { background:#fff; }
#calculator .body .input { width:100%; float:left; box-sizing:border-box; border-top:1px solid #4e4e51; padding:10px 0 0 0; margin:10px 0 0 0; }
#calculator .body .input label.title { width:100%; float:left; text-transform:uppercase; color:#af976a; padding:0 0 10px 0; }
#calculator .body .input div { width:100%; float:left; box-sizing:border-box; padding:0 0 7px 0; }
#calculator .body .input div div { width:150px; float:left; box-sizing:border-box; padding:0; margin:0; }
#calculator .body .input div label { width:100%; float:left; padding:1px 0 0 0; }
#calculator .body .input div span { color:#606060; font-size:12px; top:-5px; position:relative; }
#calculator .body .input div input { width:210px; float:right; border:none; color:#6f6f6f; padding:10px; }
#calculator .body .submit { width:100%; float:left; border-bottom:1px solid #4e4e51; padding:0 0 10px 0; }
#calculator .body .submit input { width:230px; float:right; border:none; border-top:1px solid #d2c3a7; background:#bba47a; color:#fff; font-size:16px; font-family: 'pt_serifregular'; cursor:pointer; padding:10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
#calculator .body .submit input:hover { background:#dcc18f; }
#calculator .body .sumarum { width:100%; float:left; padding:10px 0 0 0; }
#calculator .body .sumarum .error { color: #d34141; }
#calculator .body .sumarum span { width:70px; float:right; font-size:20px; font-family: 'pt_serifregular'; text-align:right; font-weight:bold; }
#calculator .body .sumarum p { float:right; text-align:right;text-transform:uppercase; color:#af976a; padding:2px 0 0 0; }
#calculator .note { width:100%; float:left; padding:10px; box-sizing:border-box; background:#af976a; margin:20px 0 0 0; }
#calculator .note h2 { width:100%; float:left; color:#010101; font-size:14px; }
#calculator .note p { width:100%; float:left; color:#2c2a2a; font-size:12px; }
/* Before and after */
.before-after-nav { width:80%; margin:0 auto; text-align: center; padding:0 0 15px 0; position:relative; }
.before-after-nav a { padding:3px; background:#1e1f21; box-sizing:border-box; display:inline-block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-nav a img { width:100%; height:auto; display:block; padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-nav a:hover { background:#35383b; }
.before-after-nav a.active { background:#bba47a; }
.before-after-nav a.active img { background:#e9d1a6; border:1px solid #6c5c40; }
.before-after-main { width:80%; margin:0 auto; }
.before-after-main ul li { padding:5px; background:#1e1f21; box-sizing:border-box; }
.before-after-main ul li img { padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-main .bx-controls-direction a { width:36px!important; height:68px!important; background-image:url(../img/arrows.png); background-repeat:no-repeat; margin:0!important; opacity:.1; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-main .bx-controls-direction a:hover { opacity:.6; }
.before-after-main .bx-controls-direction a.bx-prev { background-position:0 0; left:-80px; }
.before-after-main .bx-controls-direction a.bx-next { background-position:100% 0; right:-80px; }
.renewal-block { margin:0 0 20px 0; }
.renewal-block article { position:relative; }
.renewal-block article a { background:#252729; padding:5px; display:block;-o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-block article a:hover { background:#5a5d5f; }
.renewal-block article span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:16px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.renewal-block article:last-child span { left:auto; right:20px; }
.renewal-block article img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; box-sizing:border-box; }
.renewal-gallery.row { margin: 0 -5px; }
.renewal-gallery.row > .column { padding: 0 5px; }
.renewal-gallery a { display: block; background: #2f2f33; padding: 5px; margin: 0 0 10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-gallery a:hover { background: #5a5d5f; }
.renewal-gallery a img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
.renewal-intro { padding: 0 0 20px 0; }
.renewal-intro .renewal-image { background: #2f2f33; padding: 5px; }
.renewal-intro .renewal-image img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
/*
* Core Owl Carousel CSS File
* v1.3.3
*/
/* clearfix */
.owl-carousel .owl-wrapper:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
/* display none until init */
.owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; }
.owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); margin:0 auto; }
.owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; }
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition: height 500ms ease-in-out;-moz-transition: height 500ms ease-in-out;-ms-transition: height 500ms ease-in-out;-o-transition: height 500ms ease-in-out;transition: height 500ms ease-in-out;}
.owl-carousel .owl-item{ float: left; }
.owl-controls .owl-page, .owl-controls .owl-buttons div { width:16px; height:31px; cursor:pointer; background-image:url(../img/arrows2.png); background-repeat:no-repeat; opacity:0.4; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; text-indent:-9999px; position:absolute; }
.owl-controls .owl-buttons div:hover { opacity:1; }
.owl-controls .owl-buttons div.owl-prev { background-position:0 0; left:-30px; }
.owl-controls .owl-buttons div.owl-next { background-position:100% 0; right:-30px; }
.owl-controls { width:100%; position:absolute; top:15px; }
/* mouse grab icon */
.grabbing { cursor:url(grabbing.png) 8 8, move; }
/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); }
/* FAQ */
.faq-list { width:100%; }
.faq-list .single-faq { width:100%; background:#111113; box-sizing:border-box; margin:0 0 1px; padding:10px; }
.faq-list .single-faq .single-faq-inner { width:100%; background:#202023; box-sizing:border-box; border:1px solid #29292f; padding:1px; }
.faq-list .single-faq .single-faq-inner .question { width:100%; background:#202023; box-sizing:border-box; padding:8px 10px; cursor:pointer; transition:all 0.2s ease-out 0s; }
.faq-list .single-faq .single-faq-inner .question:hover { background:#1c1c1e; }
.faq-list .single-faq .single-faq-inner .question h2 { color:#bcb6a9; font-size:15px; position:relative; line-height: 20px; }
.faq-list .single-faq .single-faq-inner .question h2::before { color:#6c675d; content:"▸"; margin:0 5px 0 0; }
.faq-list .single-faq .single-faq-inner .answer { width:100%; box-sizing:border-box; padding:10px; color:#c1b49c; line-height:22px; }
.faq-list .single-faq .single-faq-inner .answer a { color:#ebce98; text-decoration:underline; }
.faq-list .single-faq .single-faq-inner .answer a:hover { text-decoration:none; }
.faq-list .single-faq .single-faq-inner .question.active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active h2 { color:#292c31; }
.faq-list .single-faq .single-faq-inner .question.active h2:before { content:'▾'; color:#292c31; }
.row,.row:after{display:block;clear:both}.row{margin:0 -15px;width:auto;position:relative}.row:after{visibility:hidden;font-size:0;content:" ";height:0}.row>.column{padding:0 15px;float:left}.row>.column.pull-right{float:right}.row>.column.__12{width:100%}.row>.column.__11{width:91.666666%}.row>.column.__10{width:83.333333%}.row>.column.__9{width:75%}.row>.column.__8{width:66.666666%}.row>.column.__7{width:58.333333%}.row>.column.__6{width:50%}.row>.column.__5{width:41.666666%}.row>.column.__4{width:33.333333%}.row>.column.__3{width:25%}.row>.column.__2{width:16.666666%}.row>.column.__1{width:8.333333%}@media only screen and (max-width:1279px){.row>.column.lt__6{width:100%}.row>.column.lt__5{width:83.333333%}.row>.column.lt__4{width:66.666666%}.row>.column.lt__3{width:50%}.row>.column.lt__2{width:33.333333%}.row>.column.lt__1{width:16.666666%}}@media only screen and (max-width:1023px){.row>.column.st__6{width:100%}.row>.column.st__5{width:83.333333%}.row>.column.st__4{width:66.666666%}.row>.column.st__3{width:50%}.row>.column.st__2{width:33.333333%}.row>.column.st__1{width:16.666666%}}@media only screen and (max-width:767px){.row>.column.m__1{width:50%}.row>.column.__1,.row>.column.__10,.row>.column.__11,.row>.column.__12,.row>.column.__2,.row>.column.__3,.row>.column.__4,.row>.column.__5,.row>.column.__6,.row>.column.__7,.row>.column.__8,.row>.column.__9,.row>.column.lt__1,.row>.column.lt__2,.row>.column.lt__3,.row>.column.lt__4,.row>.column.lt__5,.row>.column.lt__6,.row>.column.m__2,.row>.column.st__1,.row>.column.st__2,.row>.column.st__3,.row>.column.st__4,.row>.column.st__5,.row>.column.st__6{width:100%}}.row.block-row.__2-block .column{width:50%}.row.block-row.__3-block .column{width:33.3333333%}.row.block-row.__4-block .column{width:25%}.row.block-row.__5-block .column{width:20%}.row.block-row.__6-block .column{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .column{width:50%}.row.block-row.lt__3-block .column{width:33.3333333%}.row.block-row.lt__4-block .column{width:25%}.row.block-row.lt__5-block .column{width:20%}.row.block-row.lt__6-block .column{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .column{width:50%}.row.block-row.st__3-block .column{width:33.3333333%}.row.block-row.st__4-block .column{width:25%}.row.block-row.st__5-block .column{width:20%}.row.block-row.st__6-block .column{width:16.666666666%}.row .column.tablet-hide{display: none}}@media only screen and (max-width:767px){.row{margin: 0;}.row.block-row.__2-block .column, .row.block-row.__3-block .column, .row.block-row.__4-block .column, .row.block-row.__5-block .column, .row.block-row.__6-block .column, .row.block-row.lt__2-block .column, .row.block-row.lt__3-block .column, .row.block-row.lt__4-block .column, .row.block-row.lt__5-block .column, .row.block-row.lt__6-block .column, .row.block-row.st__2-block .column, .row.block-row.st__3-block .column, .row.block-row.st__4-block .column, .row.block-row.st__5-block .column, .row.block-row.st__6-block .column {width:100%}.row.block-row.m__2-block .column{width:50%}.row.block-row.m__3-block .column{width:33.3333333%}.row.block-row.m__4-block .column{width:25%}}.row.__5-margin{margin:0 -5px}.row.__5-margin .column{padding:0 5px}.row.__0{margin:0}.row.__0 .column{padding:0}
.row .youtube-videogallery-item {padding:0 15px;float:left}
.row.block-row.__2-block .youtube-videogallery-item{width:50%}.row.block-row.__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.__4-block .youtube-videogallery-item{width:25%}.row.block-row.__5-block .youtube-videogallery-item{width:20%}.row.block-row.__6-block .youtube-videogallery-item{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .youtube-videogallery-item{width:50%}.row.block-row.lt__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.lt__4-block .youtube-videogallery-item{width:25%}.row.block-row.lt__5-block .youtube-videogallery-item{width:20%}.row.block-row.lt__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .youtube-videogallery-item{width:50%}.row.block-row.st__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.st__4-block .youtube-videogallery-item{width:25%}.row.block-row.st__5-block .youtube-videogallery-item{width:20%}.row.block-row.st__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:767px){.row.block-row.__2-block .youtube-videogallery-item, .row.block-row.__3-block .youtube-videogallery-item, .row.block-row.__4-block .youtube-videogallery-item, .row.block-row.__5-block .youtube-videogallery-item, .row.block-row.__6-block .youtube-videogallery-item, .row.block-row.lt__2-block .youtube-videogallery-item, .row.block-row.lt__3-block .youtube-videogallery-item, .row.block-row.lt__4-block .youtube-videogallery-item, .row.block-row.lt__5-block .youtube-videogallery-item, .row.block-row.lt__6-block .youtube-videogallery-item, .row.block-row.st__2-block .youtube-videogallery-item, .row.block-row.st__3-block .youtube-videogallery-item, .row.block-row.st__4-block .youtube-videogallery-item, .row.block-row.st__5-block .youtube-videogallery-item, .row.block-row.st__6-block .youtube-videogallery-item {width:100%}.row.block-row.m__2-block .youtube-videogallery-item{width:50%}.row.block-row.m__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.m__4-block .youtube-videogallery-item{width:25%}} .row.__5-margin .youtube-videogallery-item{padding:0 5px}
.fancybox-title { text-align: center; font-size: 15px!important; font-weight: bold!important; }
@media all and (min-width:1280px) {
#openLeftMenu { display: none!important; }
}
@media all and (max-width:1279px) {
header .logo { margin: 0 auto; display: block; }
body { position: relative; left: 0; right: 0; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out; -ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right,#off-canvas-left { height: 100%; position: fixed; top: 0; bottom: 0; overflow-y: auto; display: inline-block; float: none; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right { width: 50%; right: -50%; padding: 0; }
#off-canvas-left { width: 50%; left: -50%; padding: 20px 0; }
#openRightMenu, #openLeftMenu { display: block; }
body.off-canvas-right-opened { left: -50%; right: auto; overflow-x: visible; }
body.off-canvas-right-opened #off-canvas-right { right: 0; opacity: 1; background: #222226; float: none; display: block; padding: 0; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li { width: 100%; margin: 0; display: block; border-bottom: 1px solid #37373b; text-align: left; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a { display: block; float: none; color: #797984; font-size: 18px; font-weight: bold; padding: 15px 30px; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a:hover { color: #fff; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a { color:#d9bd8a; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a:after { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.dropdown:after { top: 25px; right: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #797984; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul { width: 100%; position: relative; left: auto; top: auto; border: none; -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);-moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul:before { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul > li > a { font-size: 16px; color: #797984; padding: 13px 31px; }
body.off-canvas-left-opened { left: 50%; right: auto; overflow-x: visible; }
body.off-canvas-left-opened #off-canvas-left { left: 0; opacity: 1; background: #222226; }
body.off-canvas-left-opened #off-canvas-left .vertical-menu ul li ul li a { padding: 10px 0; }
.breadcrumbs { text-align: center; }
.breadcrumbs p { display: inline-block; float: none; }
.breadcrumbs ul { display: inline-block; }
.page-title { text-align: center; padding: 30px 0; }
.page-title .inner div { width: 100%; float: none; border: none; padding: 0; }
.product-details .social { text-align: center; }
.product-details .social .fb-like-button, .product-details .social .tweet-button { float: none; display: inline-block;}
header .logo { padding:5px 0; }
header .right ul.lang { display:none; }
footer .inner .middle { padding:20px 0; }
footer .inner .middle .newsletter .textfield { width:180px; }
.article-grid-smallgrid article span { top:40px; left:50px; }
.content .banner { display: none; }
}
@media only screen and (max-width : 1023px) {
.home-block { width:98%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.static-content section article { width:100%; }
.static-content section article:nth-child(2) { width:60%; margin:0 auto; float:none; display:table; }
.article-grid article a { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article { width:48%; }
.article-grid-smallgrid article span { left:60px; }
.main-content { width:100%; display:block; margin:0 auto; }
.news-details .img { width:50%; }
.news-details .img img { width:100%; height:auto; display:block; }
.contact-info:nth-child(2) { padding:0; }
.contact-form { width:100%; box-sizing:border-box; margin:30px 0 0 0; }
.fader { padding:40px 0 0 0; }
header { position:fixed; }
header .logo { width:110px; margin:0 auto; float:none; }
header .logo img { width:100%; height:auto; display:block; }
footer .inner { width:100%; }
footer .inner .middle { width:100%; box-sizing:border-box; padding:20px 25px; }
footer .inner .middle .wrap .menu { width:100%; text-align:center; }
footer .inner .middle .wrap .menu ul li { float:none; display:inline-block; }
footer .inner .middle .newsletter { margin:0 auto; float:none; display:table; padding:20px 0 0 0; }
footer .inner .bottom { width:100%; padding:0 25px; box-sizing:border-box; }
}
@media only screen and (max-width : 767px) {
.phone-hide { display: none!important; }
#openRightMenu { top: 17px; }
#openLeftMenu { top: 17px; }
html { overflow-x:hidden;}
#main-menu {width:70%;right:-70%; }
#category-menu {width:70%; left:-70%; }
.home-block .block { width:100%; box-sizing:border-box; padding:30px 20px; margin:0 0 10px 0; }
.home-block .block article span { width:100%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.testimonial { padding:0 0 40px 0; }
header .right ul.lang { float:none; padding:15px 0; margin:0 auto; text-align:center; }
header .right ul.lang li { float:none; display:inline-block; padding:0; margin:0 10px; }
header .right ul.lang li a { float:left; color:#484b4e; font-size:15px; }
header .right ul.lang li a:hover { color:#fff; }
header .right ul.lang li.active a { color:#bba47a; }
header .right nav { width:100%; float:right; padding:12px 0 0 0; }
header .right nav ul { float:left; }
header .right nav ul li { width:100%; float:left; display:block; margin:0 0 1px 0; position:relative; border-bottom:1px solid #1a1a1b; }
header .right nav ul li:first-child { margin:0 0 1px 0; }
header .right nav ul li a { width:100%; float:left; font-size:16px; color:#8c8c8c; text-transform:uppercase; padding:10px; box-sizing:border-box; }
header .right nav ul li a:hover { color:#fff; }
header .right nav ul li:after { display:none; }
header .right nav ul li:hover:after { width:100%; }
header .right nav ul li.active:hover:after { width:0; }
header .right nav ul li.active { border-bottom:1px solid #1a1a1b; }
header .right nav ul li.active a { background:#bba47a; color:#fff; }
footer .inner { width:94%; }
footer .inner .top { width:100%; padding:20px; box-sizing:border-box; }
footer .inner .middle { width:100%; padding:20px 0; }
footer .inner .middle .wrap { padding: 0;}
footer .inner .middle .wrap .menu { width:100%; padding:0; }
footer .inner .middle .wrap .menu ul li { width:100%; margin:0; text-align:center; }
footer .inner .middle .wrap .menu ul li a { float:none; display:block; padding:10px 0; }
footer .inner .middle .newsletter { width:100%; float:left; border-top:1px solid #313234; }
footer .inner .middle .newsletter form { float:none; display:table; margin:0 auto; }
footer .inner .middle .newsletter .textfield { width:218px; }
footer .inner .middle .newsletter p { width:100%; text-align:center; padding:10px 0; }
footer .inner .bottom { width:100%; float:left; text-align:center; }
footer .inner .bottom p { width:100%; float:left; text-align:center; padding:5px 0; }
footer .inner .bottom .right { text-align:center; }
.page-content { margin:0 auto; background:#000; background-image:none; }
.breadcrumbs p { display:none; }
.page-title .inner div { width:100%; float:left; border-left:none; border-bottom:1px solid #bba47a; text-align:center; padding:0 0 15px 0; }
.page-title .inner span { width:100%; padding:10px 0 0 0; position:relative; top:0; float:left; text-align:center; }
.page-title .inner span img { width:120px; }
.main-content { width:100%; padding:0; }
.special-note div { display:none; }
/* Rich text */
.rich-text { text-align:justify; }
/* Special note */
.special-note { text-align:center; }
/* Article grid */
.article-grid-smallgrid article span { width:200px; box-sizing:border-box; left:50%; margin:0 0 0 -100px; }
.article-grid-smallgrid article span em { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article span em img { width:100%; height:auto; display:block; }
/* Product info */
.product-details .product-info { width:100%; margin:0; }
.product-details .right-info { width:100%; float:left; }
.product-details .product-slideshow { width:100%; }
.product-details .product-slideshow a img { width:100%; height:auto; display:block; box-sizing:border-box; }
.product-details a.link-download { width:100%; box-sizing:border-box; }
.product-details a.link-download span { width:100%; box-sizing:border-box; }
.product-details .pro-banner { width:100%; }
.product-details .pro-banner img { width:100%; height:auto; display:block; margin:10px 0; }
/* News */
.news-details .img { width:100%; }
.news-details .img img { width:100%; height:auto; display:block; box-sizing:border-box; }
/* Contact */
.contact-info { width:100%; padding:0; text-align:center; padding:0 0 20px 0; }
.contact-form { width:100%; box-sizing:border-box; }
.page-content { padding: 0 0 20px 0;}
/* Calculator */
#calculator { width:100%; }
#calculator .head h2 { width:100%; text-align:center; }
#calculator .head img { float:none; display:block; margin:10px auto 0 auto; }
#calculator .body p { text-align:justify; }
#calculator .body .select label { width:100%; text-align:center; padding:0 0 10px 0; }
#calculator .body .input { text-align:center; }
#calculator .body .input div div { width:100%; }
#calculator .body .select select { width:100%; box-sizing:border-box; }
#calculator .body .input div input { width:100%; box-sizing:border-box; }
#calculator .body .submit input { width:100%; box-sizing:border-box; }
.page-title { padding: 10px 0 10px 0;}
.page-title .inner div h2 { min-height: 0;}
.page-title .inner div h1 { margin: 10px 0 0 0 ;}
.slider { display:none; }
footer .banner { margin: 20px 0 0 0;}
.lines-button { display:inline-block; }
.cat-menu { display:block; }
.before-after-main { width:100%; }
.add-image { width:100%; margin:0 0 40px 0; max-width: 100%;}
ul.reference-list li { width: 100%; margin: 0 0 5px 0; }
}
@media only screen and (max-width : 767px) and (orientation:portrait) {
body.off-canvas-right-opened { left: -80%; }
#off-canvas-right { width: 80%; right: -80%; }
body.off-canvas-left-opened { left: 80%; }
#off-canvas-left { width: 80%; left: -80%; }
}
',
'modified' => '2016-11-10 14:47:39'
)
),
'javascripts' => array(
(int) 99 => array(
'id' => (int) 99,
'name' => 'main',
'data' => '$(document).ready(function(){
// Hamburger icon menu
var forEach = function (t, o, r) {
if ("[object Object]" === Object.prototype.toString.call(t))for (var c in t)Object.prototype.hasOwnProperty.call(t, c) && o.call(r, t[c], c, t); else for (var e = 0, l = t.length; l > e; e++)o.call(r, t[e], e, t)
};
var hamburgers = document.querySelectorAll(".hamburger");
if (hamburgers.length > 0) {
forEach(hamburgers, function (hamburger) {
hamburger.addEventListener("click", function () {
this.classList.toggle("is-active");
}, false);
});
}
// Off canvas right menu
$('#openRightMenu').click(function () {
$('body').toggleClass('off-canvas-right-opened');
});
// Off canvas left menu
$('#openLeftMenu').click(function () {
$('body').toggleClass('off-canvas-left-opened');
});
// Responsive menu
if($(window).width() <= 1279) {
$('li.dropdown').click(function() {
$(this).find('ul').stop().slideToggle();
});
}
if(!$.trim( $('.cms-richtext').html() ).length) {
$('.block-about').hide();
}
$('form#newsletterForm').intlxform();
$('form#contactForm').intlxform();
$('form#valpaintForm').intlxform();
if($('div.right-info').find('div.pro-banner').length) {
$('div.right-info').removeClass('photo-grid');
}
// Slideshow
var numImgs = $('.product-slideshow ul img').length;
if (numImgs > 1) {
$('.product-slideshow ul').bxSlider({
controls: true,
mode: 'fade',
controls: false,
auto: true,
pause: 3000,
speed: 1500
});
}
$(".fancybox").fancybox({
scrolling : 'yes',
cyclic : true,
helpers : {
overlay: {
locked: false
},
title: {
type: 'inside',
position: 'bottom'
}
}
});
$('.data-anchor').click(function() {
var anchor = $('#' + $(this).data('anchor')).offset().top;
$('html, body').animate({scrollTop: anchor}, 800);
});
$('a.link-download').click(function() {
catalougeWindow = window.open(this.href, 'name', 'height=650, width=900');
if(window.focus) {
catalougeWindow.focus()
}
return false;
});
// Accordion
$('.head').click(function() {
$('.product-block .head').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.body');
targetElement.slideToggle();
$('.product-block .body').not(targetElement).slideUp();
});
$('.question').click(function() {
$('.faq-list .question').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.answer');
targetElement.slideToggle();
$('.faq-list .answer').not(targetElement).slideUp();
});
// YouTube popup
$("ul.youtube-videogallery").youtubeVideoGallery();
$('form.calculator-form').submit(function() {
var span = $(this).find('.sumarum span');
var error = $(this).find('.error');
var result = parseFloat($('#CalculatorWallWidth').val()) * parseFloat($('#CalculatorWallHeight').val()) / parseFloat($('#CalculatorDimension').val());
/* Show error, if any */
error.text('');
if(isNaN(result) || result <= 0) {
span.text('');
error.text('Unete vrednosti nisu korektne');
} else {
span.text(Math.ceil(result));
}
return false;
});
});
$(window).load(function() {
if($('body').find('div.side-content').length) {
$('#openLeftMenu').show();
}
});
$(window).resize(function () {
$('body').trigger('click')
});
',
'modified' => '2016-11-10 14:49:31'
),
(int) 7 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4.pack',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
(function(C,z,f,r){var q=f(C),n=f(z),b=f.fancybox=function(){b.open.apply(this,arguments)},H=navigator.userAgent.match(/msie/),w=null,s=z.createTouch!==r,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},p=function(a){return a&&"string"===f.type(a)},F=function(a){return p(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&F(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},x=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.4",defaults:{padding:15,margin:20,width:800,
height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",
34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+
(H?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,
openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,
isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,
c.metadata())):k=c);g=d.href||k.href||(p(c)?c:null);h=d.title!==r?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));p(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":p(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(p(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&
k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==r&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||
b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=
setTimeout(b.next,b.current.playSpeed))},c=function(){d();f("body").unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,f("body").bind({"afterShow.player onUpdate.player":e,"onCancel.player beforeClose.player":c,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(p(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},
prev:function(a){var d=b.current;d&&(p(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==r&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},
e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(w),w=null);b.isOpen&&!w&&(w=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),w=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),
b.trigger("onUpdate")),b.update())},hideLoading:function(){n.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");n.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||
!1,d={x:q.scrollLeft(),y:q.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&C.innerWidth?C.innerWidth:q.width(),d.h=s&&C.innerHeight?C.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");n.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&n.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=
e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==r)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&
"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,
e){e&&(b.helpers[d]&&f.isFunction(b.helpers[d][a]))&&(e=f.extend(!0,{},b.helpers[d].defaults,e),b.helpers[d][a](e,c))});f.event.trigger(a+".fb")}},isImage:function(a){return p(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return p(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&
(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=
!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady");
if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=
this.width;b.coming.height=this.height;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,
(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=
b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();
e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",
!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");
a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,
v=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,p=l(y[1]+y[3]),r=l(y[0]+y[2]),z,A,t,D,B,G,C,E,w;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=l(k.outerWidth(!0)-k.width());z=l(k.outerHeight(!0)-k.height());A=p+y;t=r+z;D=F(c)?(a.w-A)*l(c)/100:c;B=F(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(w=h.content,h.autoHeight&&1===w.data("ready"))try{w[0].contentWindow.document.location&&(g.width(D).height(9999),G=w.contents().find("body"),q&&G.css("overflow-x",
"hidden"),B=G.height())}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=l(D);j=l(B);E=D/B;m=l(F(m)?l(m,"w")-A:m);n=l(F(n)?l(n,"w")-A:n);u=l(F(u)?l(u,"h")-t:u);v=l(F(v)?l(v,"h")-t:v);G=n;C=v;h.fitToView&&(n=Math.min(a.w-A,n),v=Math.min(a.h-t,v));A=a.w-p;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/E)),j>v&&(j=v,c=l(j*E)),c<m&&(c=m,j=l(c/E)),j<u&&
(j=u,c=l(j*E))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,v)));if(h.fitToView)if(g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height(),h.aspectRatio)for(;(a>A||p>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(v,j-10)),c=l(j*E),c<m&&(c=m,j=l(c/E)),c>n&&(c=n,j=l(c/E)),g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height();else c=Math.max(m,Math.min(c,c-(a-A))),j=Math.max(u,Math.min(j,j-(p-r)));q&&("auto"===s&&j<B&&c+y+
q<A)&&(c+=q);g.width(c).height(j);e.width(c+y);a=e.width();p=e.height();e=(a>A||p>r)&&c>m&&j>u;c=h.aspectRatio?c<G&&j<C&&c<D&&j<B:(c<G||j<C)&&(c<D||j<B);f.extend(h,{dim:{width:x(a),height:x(p)},origWidth:D,origHeight:B,canShrink:e,canExpand:c,wPadding:y,hPadding:z,wrapSpace:p-k.outerHeight(!0),skinSpace:k.height()-j});!w&&(h.autoHeight&&j>u&&j<v&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",
top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=x(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=x(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&
(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=
a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):
(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:x(c.top-h*a.topRatio),left:x(c.left-j*a.leftRatio),width:x(f+j),height:x(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===
f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,
{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=x(l(e[g])-200),c[g]="+=200px"):(e[g]=x(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=
b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo("body");
this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){f(a.target).hasClass("fancybox-overlay")&&(b.isActive?b.close():d.close())});this.overlay.css(a.css).show()},
close:function(){f(".fancybox-overlay").remove();q.unbind("resize.overlay");this.overlay=null;!1!==this.margin&&(f("body").css("margin-right",this.margin),this.margin=!1);this.el&&this.el.removeClass("fancybox-lock")},update:function(){var a="100%",b;this.overlay.width(a).height("100%");H?(b=Math.max(z.documentElement.offsetWidth,z.body.offsetWidth),n.width()>b&&(a=n.width())):n.width()>q.width()&&(a=n.width());this.overlay.width(a).height(n.height())},onReady:function(a,b){f(".fancybox-overlay").stop(!0,
!0);this.overlay||(this.margin=n.height()>q.height()||"scroll"===f("body").css("overflow-y")?f("body").css("margin-right"):!1,this.el=z.all&&!z.querySelector?f("html"):f("body"),this.create(a));a.locked&&this.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&(this.el.addClass("fancybox-lock"),!1!==this.margin&&f("body").css("margin-right",l(this.margin)+b.scrollbarWidth));this.open(a)},onUpdate:function(){this.fixed||
this.update()},afterClose:function(a){this.overlay&&!b.isActive&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(p(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),
H&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+
'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):n.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};n.ready(function(){f.scrollbarWidth===r&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),
b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===r){var a=f.support,d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body"),e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")})})})(window,document,jQuery);
$(document).ready(function() {
$(".fancybox").fancybox({
helpers: {
title: false,
overlay: {
locked: false
}
}
});
});
',
'modified' => '2016-11-22 16:33:55'
),
(int) 6 => array(
'id' => (int) 6,
'name' => 'owl.carousel',
'data' => '"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,o){var i={init:function(e,o){var i=this;i.$elem=t(o),i.options=t.extend({},t.fn.owlCarousel.options,i.$elem.data(),e),i.userOptions=e,i.loadContent()},loadContent:function(){function e(t){var e,o="";if("function"==typeof i.options.jsonSuccess)i.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(o+=t.owl[e].item);i.$elem.html(o)}i.logIn()}var o,i=this;"function"==typeof i.options.beforeInit&&i.options.beforeInit.apply(this,[i.$elem]),"string"==typeof i.options.jsonPath?(o=i.options.jsonPath,t.getJSON(o,e)):i.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;return 0===t.$elem.children().length?!1:(t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),void t.onStartup())},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),t.options.transitionStyle!==!1&&t.transitionTypes(t.options.transitionStyle),t.options.autoPlay===!0&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){var t=this;t.options.lazyLoad===!0&&t.lazyLoad(),t.options.autoHeight===!0&&t.autoHeight(),t.onVisibleItems(),"function"==typeof t.options.afterAction&&t.options.afterAction.apply(this,[t.$elem])},updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;e.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;return t.$elem.is(":visible")!==!1?!1:(t.$elem.css({opacity:0}),e.clearInterval(t.autoPlayInterval),e.clearInterval(t.checkVisible),void(t.checkVisible=e.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),e.clearInterval(t.checkVisible))},500)))},wrapItems:function(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),t.wrapperOuter=t.$elem.find(".owl-wrapper-outer"),t.$elem.css("display","block")},baseClass:function(){var t=this,e=t.$elem.hasClass(t.options.baseClass),o=t.$elem.hasClass(t.options.theme);e||t.$elem.addClass(t.options.baseClass),o||t.$elem.addClass(t.options.theme)},updateItems:function(){var e,o,i=this;if(i.options.responsive===!1)return!1;if(i.options.singleItem===!0)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1,!1;if(e=t(i.options.responsiveBaseWidth).width(),e>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),i.options.itemsCustom!==!1)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),o=0;o<i.options.itemsCustom.length;o+=1)i.options.itemsCustom[o][0]<=e&&(i.options.items=i.options.itemsCustom[o][1]);else e<=i.options.itemsDesktop[0]&&i.options.itemsDesktop!==!1&&(i.options.items=i.options.itemsDesktop[1]),e<=i.options.itemsDesktopSmall[0]&&i.options.itemsDesktopSmall!==!1&&(i.options.items=i.options.itemsDesktopSmall[1]),e<=i.options.itemsTablet[0]&&i.options.itemsTablet!==!1&&(i.options.items=i.options.itemsTablet[1]),e<=i.options.itemsTabletSmall[0]&&i.options.itemsTabletSmall!==!1&&(i.options.items=i.options.itemsTabletSmall[1]),e<=i.options.itemsMobile[0]&&i.options.itemsMobile!==!1&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&i.options.itemsScaleUp===!0&&(i.options.items=i.itemsAmount)},response:function(){var o,i,n=this;return n.options.responsive!==!0?!1:(i=t(e).width(),n.resizer=function(){t(e).width()!==i&&(n.options.autoPlay!==!1&&e.clearInterval(n.autoPlayInterval),e.clearTimeout(o),o=e.setTimeout(function(){i=t(e).width(),n.updateVars()},n.options.responsiveRefreshRate))},void t(e).resize(n.resizer))},updatePosition:function(){var t=this;t.jumpTo(t.currentItem),t.options.autoPlay!==!1&&t.checkAp()},appendItemsSizes:function(){var e=this,o=0,i=e.itemsAmount-e.options.items;e.$owlItems.each(function(n){var s=t(this);s.css({width:e.itemWidth}).data("owl-item",Number(n)),(n%e.options.items===0||n===i)&&(n>i||(o+=1)),s.data("owl-roundPages",o)})},appendWrapperSizes:function(){var t=this,e=t.$owlItems.length*t.itemWidth;t.$owlWrapper.css({width:e,left:0}),t.appendItemsSizes()},calculateAll:function(){var t=this;t.calculateWidth(),t.appendWrapperSizes(),t.loops(),t.max()},calculateWidth:function(){var t=this;t.itemWidth=Math.round(t.$elem.width()/t.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(t.maximumItem=0,e=0,t.maximumPixels=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var e,o,i,n=this,s=0,a=0;for(n.positionsInArray=[0],n.pagesInArray=[],e=0;e<n.itemsAmount;e+=1)a+=n.itemWidth,n.positionsInArray.push(-a),n.options.scrollPerPage===!0&&(o=t(n.$owlItems[e]),i=o.data("owl-roundPages"),i!==s&&(n.pagesInArray[s]=n.positionsInArray[e],s=i))},buildControls:function(){var e=this;(e.options.navigation===!0||e.options.pagination===!0)&&(e.owlControls=t('<div class="owl-controls"/>').toggleClass("clickable",!e.browser.isTouch).appendTo(e.$elem)),e.options.pagination===!0&&e.buildPagination(),e.options.navigation===!0&&e.buildButtons()},buildButtons:function(){var e=this,o=t('<div class="owl-buttons"/>');e.owlControls.append(o),e.buttonPrev=t("<div/>",{"class":"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=t("<div/>",{"class":"owl-next",html:e.options.navigationText[1]||""}),o.append(e.buttonPrev).append(e.buttonNext),o.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),o.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(o){o.preventDefault(),t(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=t('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(o){o.preventDefault(),Number(t(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(t(this).data("owl-page")),!0)})},updatePagination:function(){var e,o,i,n,s,a,r=this;if(r.options.pagination===!1)return!1;for(r.paginationWrapper.html(""),e=0,o=r.itemsAmount-r.itemsAmount%r.options.items,n=0;n<r.itemsAmount;n+=1)n%r.options.items===0&&(e+=1,o===n&&(i=r.itemsAmount-r.options.items),s=t("<div/>",{"class":"owl-page"}),a=t("<span></span>",{text:r.options.paginationNumbers===!0?e:"","class":r.options.paginationNumbers===!0?"owl-numbers":""}),s.append(a),s.data("owl-page",o===n?i:n),s.data("owl-roundPages",e),r.paginationWrapper.append(s));r.checkPagination()},checkPagination:function(){var e=this;return e.options.pagination===!1?!1:void e.paginationWrapper.find(".owl-page").each(function(){t(this).data("owl-roundPages")===t(e.$owlItems[e.currentItem]).data("owl-roundPages")&&(e.paginationWrapper.find(".owl-page").removeClass("active"),t(this).addClass("active"))})},checkNavigation:function(){var t=this;return t.options.navigation===!1?!1:void(t.options.rewindNav===!1&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled"))))},updateControls:function(){var t=this;t.updatePagination(),t.checkNavigation(),t.owlControls&&(t.options.items>=t.itemsAmount?t.owlControls.hide():t.owlControls.show())},destroyControls:function(){var t=this;t.owlControls&&t.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem>e.maximumItem+(e.options.scrollPerPage===!0?e.options.items-1:0)){if(e.options.rewindNav!==!0)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(e.options.scrollPerPage===!0&&e.currentItem>0&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem<0){if(e.options.rewindNav!==!0)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,o,i){var n,s=this;return s.isTransition?!1:("function"==typeof s.options.beforeMove&&s.options.beforeMove.apply(this,[s.$elem]),t>=s.maximumItem?t=s.maximumItem:0>=t&&(t=0),s.currentItem=s.owl.currentItem=t,s.options.transitionStyle!==!1&&"drag"!==i&&1===s.options.items&&s.browser.support3d===!0?(s.swapSpeed(0),s.browser.support3d===!0?s.transition3d(s.positionsInArray[t]):s.css2slide(s.positionsInArray[t],1),s.afterGo(),s.singleItemTransition(),!1):(n=s.positionsInArray[t],s.browser.support3d===!0?(s.isCss3Finish=!1,o===!0?(s.swapSpeed("paginationSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.paginationSpeed)):"rewind"===o?(s.swapSpeed(s.options.rewindSpeed),e.setTimeout(function(){s.isCss3Finish=!0},s.options.rewindSpeed)):(s.swapSpeed("slideSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.slideSpeed)),s.transition3d(n)):o===!0?s.css2slide(n,s.options.paginationSpeed):"rewind"===o?s.css2slide(n,s.options.rewindSpeed):s.css2slide(n,s.options.slideSpeed),void s.afterGo()))},jumpTo:function(t){var e=this;"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:0>=t&&(t=0),e.swapSpeed(0),e.browser.support3d===!0?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),t.options.autoPlay!==!1&&t.checkAp()),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){var t=this;t.apStatus="stop",e.clearInterval(t.autoPlayInterval)},checkAp:function(){var t=this;"stop"!==t.apStatus&&t.play()},play:function(){var t=this;return t.apStatus="play",t.options.autoPlay===!1?!1:(e.clearInterval(t.autoPlayInterval),void(t.autoPlayInterval=e.setInterval(function(){t.next(!0)},t.options.autoPlay)))},swapSpeed:function(t){var e=this;"slideSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.slideSpeed)):"paginationSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.paginationSpeed)):"string"!=typeof t&&e.$owlWrapper.css(e.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){var e=this;e.$owlWrapper.css(e.doTranslate(t))},css2move:function(t){var e=this;e.$owlWrapper.css({left:t})},css2slide:function(t,e){var o=this;o.isCssFinish=!1,o.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||o.options.slideSpeed,complete:function(){o.isCssFinish=!0}})},checkBrowser:function(){var t,i,n,s,a=this,r="translate3d(0px, 0px, 0px)",l=o.createElement("div");l.style.cssText=" -moz-transform:"+r+"; -ms-transform:"+r+"; -o-transform:"+r+"; -webkit-transform:"+r+"; transform:"+r,t=/translate3d\(0px, 0px, 0px\)/g,i=l.style.cssText.match(t),n=null!==i&&1===i.length,s="ontouchstart"in e||e.navigator.msMaxTouchPoints,a.browser={support3d:n,isTouch:s}},moveEvents:function(){var t=this;(t.options.mouseDrag!==!1||t.options.touchDrag!==!1)&&(t.gestures(),t.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},t.options.mouseDrag===!0&&t.options.touchDrag===!0?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:t.options.mouseDrag===!1&&t.options.touchDrag===!0?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:t.options.mouseDrag===!0&&t.options.touchDrag===!1&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){var e=this;e.$elem.on("dragstart.owl",function(t){t.preventDefault()}),e.$elem.on("mousedown.disableTextSelect",function(e){return t(e.target).is("input, textarea, select, option")})},gestures:function(){function i(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function n(e){"on"===e?(t(o).on(l.ev_types.move,a),t(o).on(l.ev_types.end,r)):"off"===e&&(t(o).off(l.ev_types.move),t(o).off(l.ev_types.end))}function s(o){var s,a=o.originalEvent||o||e.event;if(3===a.which)return!1;if(!(l.itemsAmount<=l.options.items)){if(l.isCssFinish===!1&&!l.options.dragBeforeAnimFinish)return!1;if(l.isCss3Finish===!1&&!l.options.dragBeforeAnimFinish)return!1;l.options.autoPlay!==!1&&e.clearInterval(l.autoPlayInterval),l.browser.isTouch===!0||l.$owlWrapper.hasClass("grabbing")||l.$owlWrapper.addClass("grabbing"),l.newPosX=0,l.newRelativeX=0,t(this).css(l.removeTransition()),s=t(this).position(),p.relativePos=s.left,p.offsetX=i(a).x-s.left,p.offsetY=i(a).y-s.top,n("on"),p.sliding=!1,p.targetElement=a.target||a.srcElement}}function a(n){var s,a,r=n.originalEvent||n||e.event;l.newPosX=i(r).x-p.offsetX,l.newPosY=i(r).y-p.offsetY,l.newRelativeX=l.newPosX-p.relativePos,"function"==typeof l.options.startDragging&&p.dragging!==!0&&0!==l.newRelativeX&&(p.dragging=!0,l.options.startDragging.apply(l,[l.$elem])),(l.newRelativeX>8||l.newRelativeX<-8)&&l.browser.isTouch===!0&&(void 0!==r.preventDefault?r.preventDefault():r.returnValue=!1,p.sliding=!0),(l.newPosY>10||l.newPosY<-10)&&p.sliding===!1&&t(o).off("touchmove.owl"),s=function(){return l.newRelativeX/5},a=function(){return l.maximumPixels+l.newRelativeX/5},l.newPosX=Math.max(Math.min(l.newPosX,s()),a()),l.browser.support3d===!0?l.transition3d(l.newPosX):l.css2move(l.newPosX)}function r(o){var i,s,a,r=o.originalEvent||o||e.event;r.target=r.target||r.srcElement,p.dragging=!1,l.browser.isTouch!==!0&&l.$owlWrapper.removeClass("grabbing"),l.dragDirection=l.owl.dragDirection=l.newRelativeX<0?"left":"right",0!==l.newRelativeX&&(i=l.getNewPosition(),l.goTo(i,!1,"drag"),p.targetElement===r.target&&l.browser.isTouch!==!0&&(t(r.target).on("click.disable",function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t(e.target).off("click.disable")}),s=t._data(r.target,"events").click,a=s.pop(),s.splice(0,0,a))),n("off")}var l=this,p={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};l.isCssFinish=!0,l.$elem.on(l.ev_types.start,".owl-wrapper",s)},getNewPosition:function(){var t=this,e=t.closestItem();return e>t.maximumItem?(t.currentItem=t.maximumItem,e=t.maximumItem):t.newPosX>=0&&(e=0,t.currentItem=0),e},closestItem:function(){var e=this,o=e.options.scrollPerPage===!0?e.pagesInArray:e.positionsInArray,i=e.newPosX,n=null;return t.each(o,function(s,a){i-e.itemWidth/20>o[s+1]&&i-e.itemWidth/20<a&&"left"===e.moveDirection()?(n=a,e.currentItem=e.options.scrollPerPage===!0?t.inArray(n,e.positionsInArray):s):i+e.itemWidth/20<a&&i+e.itemWidth/20>(o[s+1]||o[s]-e.itemWidth)&&"right"===e.moveDirection()&&(e.options.scrollPerPage===!0?(n=o[s+1]||o[o.length-1],e.currentItem=t.inArray(n,e.positionsInArray)):(n=o[s+1],e.currentItem=s+1))}),e.currentItem},moveDirection:function(){var t,e=this;return e.newRelativeX<0?(t="right",e.playDirection="next"):(t="left",e.playDirection="prev"),t},customEvents:function(){var t=this;t.$elem.on("owl.next",function(){t.next()}),t.$elem.on("owl.prev",function(){t.prev()}),t.$elem.on("owl.play",function(e,o){t.options.autoPlay=o,t.play(),t.hoverStatus="play"}),t.$elem.on("owl.stop",function(){t.stop(),t.hoverStatus="stop"}),t.$elem.on("owl.goTo",function(e,o){t.goTo(o)}),t.$elem.on("owl.jumpTo",function(e,o){t.jumpTo(o)})},stopOnHover:function(){var t=this;t.options.stopOnHover===!0&&t.browser.isTouch!==!0&&t.options.autoPlay!==!1&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var e,o,i,n,s,a=this;if(a.options.lazyLoad===!1)return!1;for(e=0;e<a.itemsAmount;e+=1)o=t(a.$owlItems[e]),"loaded"!==o.data("owl-loaded")&&(i=o.data("owl-item"),n=o.find(".lazyOwl"),"string"==typeof n.data("src")?(void 0===o.data("owl-loaded")&&(n.hide(),o.addClass("loading").data("owl-loaded","checked")),s=a.options.lazyFollow===!0?i>=a.currentItem:!0,s&&i<a.currentItem+a.options.items&&n.length&&a.lazyPreload(o,n)):o.data("owl-loaded","loaded"))},lazyPreload:function(t,o){function i(){t.data("owl-loaded","loaded").removeClass("loading"),o.removeAttr("data-src"),"fade"===a.options.lazyEffect?o.fadeIn(400):o.show(),"function"==typeof a.options.afterLazyLoad&&a.options.afterLazyLoad.apply(this,[a.$elem])}function n(){r+=1,a.completeImg(o.get(0))||s===!0?i():100>=r?e.setTimeout(n,100):i()}var s,a=this,r=0;"DIV"===o.prop("tagName")?(o.css("background-image","url("+o.data("src")+")"),s=!0):o[0].src=o.data("src"),n()},autoHeight:function(){function o(){var o=t(s.$owlItems[s.currentItem]).height();s.wrapperOuter.css("height",o+"px"),s.wrapperOuter.hasClass("autoHeight")||e.setTimeout(function(){s.wrapperOuter.addClass("autoHeight")},0)}function i(){n+=1,s.completeImg(a.get(0))?o():100>=n?e.setTimeout(i,100):s.wrapperOuter.css("height","")}var n,s=this,a=t(s.$owlItems[s.currentItem]).find("img");void 0!==a.get(0)?(n=0,i()):o()},completeImg:function(t){var e;return t.complete?(e=typeof t.naturalWidth,"undefined"!==e&&0===t.naturalWidth?!1:!0):!1},onVisibleItems:function(){var e,o=this;for(o.options.addClassActive===!0&&o.$owlItems.removeClass("active"),o.visibleItems=[],e=o.currentItem;e<o.currentItem+o.options.items;e+=1)o.visibleItems.push(e),o.options.addClassActive===!0&&t(o.$owlItems[e]).addClass("active");o.owl.visibleItems=o.visibleItems},transitionTypes:function(t){var e=this;e.outClass="owl-"+t+"-out",e.inClass="owl-"+t+"-in"},singleItemTransition:function(){function t(t){return{position:"relative",left:t+"px"}}var e=this,o=e.outClass,i=e.inClass,n=e.$owlItems.eq(e.currentItem),s=e.$owlItems.eq(e.prevItem),a=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],r=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=!0,e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":r+"px","-moz-perspective-origin":r+"px","perspective-origin":r+"px"}),s.css(t(a,10)).addClass(o).on(l,function(){e.endPrev=!0,s.off(l),e.clearTransStyle(s,o)}),n.addClass(i).on(l,function(){e.endCurrent=!0,n.off(l),e.clearTransStyle(n,i)})},clearTransStyle:function(t,e){var o=this;t.css({position:"",left:""}).removeClass(e),o.endPrev&&o.endCurrent&&(o.$owlWrapper.removeClass("owl-origin"),o.endPrev=!1,o.endCurrent=!1,o.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){var i=this;i.$elem.off(".owl owl mousedown.disableTextSelect"),t(o).off(".owl owl"),t(e).off("resize",i.resizer)},unWrap:function(){var t=this;0!==t.$elem.children().length&&(t.$owlWrapper.unwrap(),t.$userItems.unwrap().unwrap(),t.owlControls&&t.owlControls.remove()),t.clearEvents(),t.$elem.attr("style",t.$elem.data("owl-originalStyles")||"").attr("class",t.$elem.data("owl-originalClasses"))},destroy:function(){var t=this;t.stop(),e.clearInterval(t.checkVisible),t.unWrap(),t.$elem.removeData()},reinit:function(e){var o=this,i=t.extend({},o.userOptions,e);o.unWrap(),o.init(i,o.$elem)},addItem:function(t,e){var o,i=this;return t?0===i.$elem.children().length?(i.$elem.append(t),i.setVars(),!1):(i.unWrap(),o=void 0===e||-1===e?-1:e,o>=i.$userItems.length||-1===o?i.$userItems.eq(-1).after(t):i.$userItems.eq(o).before(t),void i.setVars()):!1},removeItem:function(t){var e,o=this;return 0===o.$elem.children().length?!1:(e=void 0===t||-1===t?-1:t,o.unWrap(),o.$userItems.eq(e).remove(),void o.setVars())}};t.fn.owlCarousel=function(e){return this.each(function(){if(t(this).data("owl-init")===!0)return!1;t(this).data("owl-init",!0);var o=Object.create(i);o.init(e,this),t.data(this,"owlCarousel",o)})},t.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);',
'modified' => '2016-11-10 14:47:39'
),
(int) 5 => array(
'id' => (int) 5,
'name' => 'jquery.panelslider.min',
'data' => '/*
* jQuery Panel Slider plugin v0.1.1
* https://github.com/eduardomb/jquery-panelslider
*/
(function($) {
'use strict';
var $body = $('body'),
_sliding = false;
function _slideIn(panel, options) {
var panelWidth = panel.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(panel.is(':visible') || _sliding) {
return;
}
_sliding = true;
$body.addClass('ps-active');
panel.addClass('ps-active-panel').css({
position: 'fixed',
top: 0,
height: '100%',
'z-index': 999999
});
panel.data(options);
switch (options.side) {
case 'left':
panel.css({
left: '-' + panelWidth + 'px',
right: 'auto'
});
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.left = '+=' + panelWidth;
break;
case 'right':
panel.css({
left: 'auto',
right: '-' + panelWidth + 'px'
});
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.right = '+=' + panelWidth;
break;
}
$body.animate(bodyAnimation, options.duration);
panel.show().animate(panelAnimation, options.duration, function() {
_sliding = false;
if(typeof options.onOpen == 'function') {
options.onOpen();
}
});
}
$.panelslider = function(element, options) {
var active = $('.ps-active-panel');
var defaults = {
side: 'left', // panel side: left or right
duration: 200, // Transition duration in miliseconds
clickClose: true, // If true closes panel when clicking outside it
onOpen: null // When supplied, function is called after the panel opens
};
options = $.extend({}, defaults, options);
// If another panel is opened, close it before opening the new one
if(active.is(':visible') && active[0] != element[0]) {
$.panelslider.close(function() {
_slideIn(element, options);
});
} else if(!active.length || active.is(':hidden')) {
_slideIn(element, options);
}
};
$.panelslider.close = function(callback) {
var active = $('.ps-active-panel'),
duration = active.data('duration'),
panelWidth = active.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(!active.length || active.is(':hidden') || _sliding) {
return;
}
_sliding = true;
switch(active.data('side')) {
case 'left':
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.left = '-=' + panelWidth;
break;
case 'right':
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.right = '-=' + panelWidth;
break;
}
active.animate(panelAnimation, duration);
$body.animate(bodyAnimation, duration, function() {
active.hide();
active.removeClass('ps-active-panel');
_sliding = false;
if(callback) {
callback();
}
}).removeClass('ps-active');
};
// Bind click outside panel and ESC key to close panel if clickClose is true
$(document).bind('click keyup', function(e) {
var active = $('.ps-active-panel');
if(e.type == 'keyup' && e.keyCode != 27) {
return;
}
if(active.is(':visible') && active.data('clickClose')) {
$.panelslider.close();
}
});
// Prevent click on panel to close it
$(document).on('click', '.ps-active-panel', function(e) {
e.stopPropagation();
});
$.fn.panelslider = function(options) {
this.click(function(e) {
var active = $('.ps-active-panel'),
panel = $(this.getAttribute('href'));
// Close panel if it is already opened otherwise open it
if (active.is(':visible') && panel[0] == active[0]) {
$.panelslider.close();
} else {
$.panelslider(panel, options);
}
e.preventDefault();
e.stopPropagation();
});
return this;
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 4,
'name' => 'intlxform',
'data' => '
if($('body').hasClass('locale-sr')) {
var checkingData = 'Provera podataka';
} else {
var checkingData = 'Checking data';
}
(function($){
// Create some defaults, extending them with any options that were provided
$.fn.intlxform = function(options) {
var _top = $(this);
var settings = {
'type': 'post',
'action' : '',
'showResponse' : true,
'loadingMessage' : checkingData,
'wrapElem' : '',
'clearForm': true,
'fieldRemark' : true,
'hideForm' : false,
'onSuccess' : null,
'onFailure' : null,
'onError' : null,
'onFinish' : null,
'headers': {
'Accept' : 'application/json; charset=utf-8'
}
};
settings = $.extend(settings, options);
return this.each(function() {
if(settings.type.length == 0) {
if($(this).attr('method') != undefined) {
settings.type = $(this).attr('method');
}
}
if(settings.action.length == 0) {
if($(this).attr('action') != undefined) {
settings.action = $(this).attr('action');
}
}
$(this).submit(function(event){
event.preventDefault();
// Abort any pending request
if (request) {
request.abort();
}
// Setup some local variables
var $form = $(this);
// Cache all fields
var $inputs = $form.find("input, select, button, textarea");
// Serialize the data in the form
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined') {
if($(this).attr('data-defaultValue') == $(this).val()) {
$(this).val('');
}
}
});
var serializedData = $form.serialize();
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() =='') {
$(this).val($(this).attr('data-defaultValue'));
}
});
// Disable the inputs for the duration of the ajax request
$inputs.prop("disabled", true);
$form.find(".form-message").text(settings.loadingMessage);
// Fire off the request
var request = $.ajax({
url: settings.action,
type: settings.type,
headers: settings.headers,
data: serializedData
});
// Callback handler that will be called on success
request.done(function (response, textStatus, jqXHR){
parseFormResponse(response, $form);
});
// callback handler that will be called on failure
request.fail(function (jqXHR, textStatus, errorThrown){
if(typeof settings.onFailure == 'function') {
settings.onFailure.call();
} else {
console.error(
"The following error occured: "+
textStatus, errorThrown
);
}
});
// callback handler that will be called regardless
// if the request failed or succeeded
request.always(function () {
// reenable the inputs
$inputs.prop("disabled", false);
});
// prevent default posting of form
event.preventDefault();
});
})
function parseFormResponse(response, form) {
form.find(".form-message").text('');
form.find(".validation-error").removeClass('validation-error');
form.find(".validation-error-message").remove();
// Make sure we have a JSON response
if(typeof response == "string") {
try {
response = JSON.parse(response);
} catch(e) {
return false;
}
}
// On error occured
if(!response.response) {
for(var fieldName in response.errors) {
var message = response.errors[fieldName];
var parent = form.find("[name='data[" + fieldName + "]']").last().parent();
parent.addClass('validation-error');
if(settings.fieldRemark == true) {
parent.append('<div class="validation-error-message">' + message + '</div>');
}
}
// Callback: On error
if(typeof settings.onError == 'function') {
settings.onError(response);
}
// On Success
} else {
// Callback: On success
if(typeof settings.onSuccess == 'function') {
settings.onSuccess(response);
}
// Clear form
if(settings.clearForm) {
form.find("input, select, textarea").not('[type=button], [type=submit], [type=radio], [type=reset], .persistent').val('');
}
}
// Show message, if any
if(response.message != null && response.message != '' && settings.showResponse) {
var messageElement = form.find(".form-message");
messageElement.removeClass('form-message-error').removeClass('form-message-success');
messageElement.addClass(response.response ? 'form-message-success' : 'form-message-error');
messageElement.text(response.message).show();
}
// Callback: On finish
if(typeof settings.onFinish == 'function') {
settings.onFinish(response);
}
}
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 3,
'name' => 'jquery.youtubevideogallery',
'data' => '/**
* youtubeVideoGallery plugin for jquery
* Simple video gallery for youtube, for more details see http://plugins.jquery.com/youtubevideogallery
*
* @author clanceyp
* @see http://plugins.jquery.com/youtubevideogallery/
* @version 1.3.0
*
*/
;(function($) {
"use strict";
$.fn.extend({
youtubeVideoGallery:function(options) {
var version = '1.3.0',
isLegacyIE = (/\bMSIE [4|5|6|7]/.test(navigator.userAgent)),
defaults = {
assetFolder : '',
fancybox : {
arrows : false,
closeBtn : true,
closeEffect : 'fade',
helpers : {
media : {},
buttons : {}
},
openEffect : 'fade'
},
forceLegacyIE:false,
iframeTemplate:'<iframe title="Youtube video player" id="youtube-videogallery-iframe" style="height:{options.innerHeight}px;width:{options.innerWidth}px;" frameborder="0" src="about:blank" />',
innerHeight: 450,
innerWidth: 600,
newWindow: '(opens in a new window)',
playButton: '/img/ico_play.png',
plugin:'self',
style:'',
title:'default',
thumbWidth: '100%',
videos:[],
urlImg : 'http://img.youtube.com/vi/$id/0.jpg',
urlEmbed : 'http://www.youtube.com/embed/$id',
urlLink : 'http://www.youtube.com/watch?v=$id'
};
this.test = {};
this.version = version;
function log(message){
if ('console' in window && window.console.log){
window.console.log(message);
}
}
function getVideoLinks($this){
var arr = [],
a = $this.find("a");
a.each(function(i, el){
arr.push({
id: getId( $(el).attr('href') ),
title: $(el).text()
});
});
return arr;
}
function getIdFromEntry(obj){
if (typeof obj === 'string'){
return getId(obj);
} else if (obj.id && typeof obj.id === 'string'){
return obj.id;
} else if (obj.link && obj.link.length ){
for ( var i = 0, l = obj.link.length; i < l ; i++){
if (obj.link[i].type === 'text/html'){
return getId(obj.link[i].href)
}
}
}
log('could not find ID from object, maybe an unsupported API?')
return '';
}
function getId(href){
var id = '';
if (!!href && href.indexOf('www.youtube.com/v/') > 0) {
id = getBefore(href.split('www.youtube.com/v/')[1], '?')
} else if (!!href && href.indexOf('/embed/') > 0){
id = getBefore(href.split('/embed/')[1], '?');
} else if (!!href && href.indexOf('?v=') > 0){// this could be version if API call!!
id = getBefore(href.split('?v=')[1],'&');
} else if (!!href && href.indexOf('video:') > 0){
id = getBefore(href.split('video:')[1], ':');
} else if (!!href){
id = href;
}
return id;
}
function getBefore(str, before){
if (!!str && str.indexOf(before)){
str = str.split(before)[0];
}
return str;
}
function getIframeTemplate(innerWidth, innerHeight){
var str = options.iframeTemplate;
return str.replace('{options.innerHeight}', innerHeight).replace('{options.innerWidth}', innerWidth);
}
function open(e){
var el = e.currentTarget;
e.preventDefault();
$('div.youtube-videogallery-bodycover').css( { 'height':$(document).height()} );
$('div.youtube-videogallery-display').css({
'marginLeft':-options.innerWidth/2,
'marginTop':-options.innerHeight/2
});
$('#youtube-videogallery-iframe').attr( 'src', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) );
$('body').addClass('youtube-videogallery-active');
}
function close(e){
$('#youtube-videogallery-iframe').attr( 'src', 'about:blank');
$('body').removeClass('youtube-videogallery-active');
}
function setButtonMargin(w, h, context){
if (w === 0 || h === 0){
$(context).find("img.youtube-videogallery-play").remove();
return;
}
$(context).find("img.youtube-videogallery-play").css({
'marginLeft':'-23px',
'marginTop':'-33.5px'
});
}
function getStyle(style){
if (!!style){
return "youtube-videogallery-" + style;
}
return '';
}
function getTitleStyle(title){
return title === 'full' ? 'youtube-videogallery-allowtitle' : '';
}
function getVideosFromFeed(data){
var videos = [],
items = (data && data.data && data.data.items) ? data.data.items
: (data && data.feed && data.feed.entry) ? data.feed.entry : [];
$( items ).each(function(i, item){
var id = getIdFromEntry(item);
videos.push({
id: getIdFromEntry(item),
title: item.title.$t || item.title
});
});
return videos;
}
/**
* this.test = object
*
* Test object to expose private methods to a test API.
* This allows us to test private methods, without
* exposing them (e.g. they can't be overwritten)
*
*/
this.test = {
getBefore:getBefore,
getId:getId,
getVideoLinks:getVideoLinks,
getIframeTemplate:getIframeTemplate,
getTitleStyle:getTitleStyle,
getStyle:getStyle,
getVideosFromFeed:getVideosFromFeed,
getIdFromEntry:getIdFromEntry
};
function load($this, options) {
var videos = ( options.videos.length ) ? options.videos : getVideoLinks($this),
html = '',
href, src, titleSpan, video,
playButtonSrc = (!!options.assetFolder) ? options.assetFolder +'/'+ options.playButton : options.playButton ,
img = document.createElement('img');
img.onload = function(){
setButtonMargin(this.width, this.height, $this);
};
img.onerror = function(){
setButtonMargin(0, 0, $this);
};
img.src = playButtonSrc+'?'+ +(new Date());
for (var i = 0, l = videos.length; i < l; i++){
video = videos[i];
if (!video.id){continue;}
href = options.urlLink.replace("$id", video.id);
src = options.urlImg.replace("$id", video.id);
titleSpan = (!!video.title && options.title !== 'none') ? '<span class="youtube-videogallery-title">'+ video.title +'</span>' : '';
html+= '<li class="youtube-videogallery-item"><a title="'+video.title+'" data-youtube-id="'+ video.id +'" href="'+ href +'" class="youtube-videogallery-link"><img class="youtube-videogallery-play" src="'+ playButtonSrc +'" title="play" /><img class="youtube-videogallery-img" src="'+ src +'" />'+ titleSpan +'</a></li>';
}
$this.empty()
.append(html)
.addClass('youtube-videogallery-container')
.addClass( getStyle( options.style ) )
.addClass( getTitleStyle( options.title ) );
if (options.supported && options.plugin === 'colorbox' && $.colorbox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('href', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) )
.attr('aria-controls','youtube-videogallery-iframe')
.colorbox({iframe:true, innerWidth:options.innerWidth, innerHeight:options.innerHeight});
});
} else if (options.supported && options.plugin === 'fancybox' && !!$().fancybox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('rel', 'media-gallery')
.fancybox(options.fancybox);
});
} else if (options.supported && options.plugin === 'self'){
if (!$('div.youtube-videogallery-bodycover').length){
$('body')
.append('<div class="youtube-videogallery-bodycover"/>')
.append('<div class="youtube-videogallery-display">'+ getIframeTemplate(options.innerWidth, options.innerHeight) +'</div>');
$('div.youtube-videogallery-bodycover').on('click',close);
$(document).on('keydown', function(e) {
if (e.which === 27) {
close();
}
});
}
$this.find("a.youtube-videogallery-link").on('click',open);
} else {
$this.find("a.youtube-videogallery-link")
.attr('target','_blank')
.append('<span class="youtube-videogallery-screen-reader-only">'+options.newWindow+'</span>')
.each(function(i, el){
$(el).attr('title', $(el).attr('title')+' '+ options.newWindow);
});
}
return $this;
}
// Set options
options = $.extend(defaults, options);
options.supported = (
/* don't show lightbox if: old untested jquery version, or the lightbox is bigger than the viewport */
!!$().on &&
( $(window).width() > options.innerWidth || $(window).height() > options.innerHeight)
);
options.plugin = (isLegacyIE && !options.forceLegacyIE) ? 'none' : options.plugin;// by default turn off plugins for IE<=7
// it's an API, load promise and return the original object for chaining
if (!!options.apiUrl){
var $this = this,
apiUrl = options.apiUrl,
jqxhr = $.ajax({
url:apiUrl,
dataType:"jsonp",
beforeSend:function(){
if (!options.apiFallbackUrl){
return;
}
$this.each(function(i, el){
$(el).empty()
.append('<li><a /></li>')
.find('a')
.attr('href', options.apiFallbackUrl)
.text(options.apiFallbackUrl);
});
}})
.done(function(data) {
options.videos = getVideosFromFeed(data);
$this.each(function(i, el){
load($(el), options);
});
})
.fail(function(){
log('Error getting youtube API requested by jQuery.youtubeVideoGallery: '+ apiUrl);
});
return $this;
}
return this.each(function(i, el){
load($(el), options);
});
}
});
})(window.jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 2 => array(
'id' => (int) 2,
'name' => 'jquery.bxslider.min',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 1 => array(
'id' => (int) 1,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
/**
* API methods for the plugin
*/
var methods = {
init: function(opts) {
var defaults = {
// general options:
maxSize: -1,
minSize: -1,
spacing: 5,
duration: 500,
isVertical: false,
easing: undefined,
autoResize: true,
behavior: null,
// menu behavior options:
delayMouseIn: 0,
delayMouseOut: 0,
selectOnClick: true,
deselectOnClick: false,
// slideshow behavior options:
interval: 2500,
interactive: true
};
var o = $.extend(defaults, opts);
// validate and normalize options
if (o.minSize !== -1 && o.maxSize !== -1)
throw new Error('Kwicks options minSize and maxSize may not both be set');
if (o.behavior && o.behavior !== 'menu' && o.behavior !== 'slideshow')
throw new Error('Unrecognized Kwicks behavior specified: ' + o.behavior);
$.each(['minSize', 'maxSize', 'spacing'], function(i, prop) {
var val = o[prop];
switch (typeof val) {
case 'number':
o[prop + 'Units'] = 'px';
break;
case 'string':
if (val.slice(-1) === '%') {
o[prop + 'Units'] = '%';
o[prop] = +val.slice(0, -1) / 100;
} else if (val.slice(-2) === 'px') {
o[prop + 'Units'] = 'px';
o[prop] = +val.slice(0, -2);
} else {
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
break;
default:
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
});
return this.each(function() {
$(this).data('kwicks', new Kwick(this, o));
});
},
expand: function(index, opts) {
if (typeof index === 'object') {
opts = index;
index = undefined;
}
var delay = opts && opts.delay || 0;
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
var expand = function() {
// bail out if the panel is already expanded
if (index === kwick.expandedIndex) return;
var $panels = kwick.$panels,
expanded = $panels[index] || null;
kwick.$container.trigger('expand.kwicks', {
index: index,
expanded: expanded,
collapsed: $panels.not(expanded).get(),
oldIndex: kwick.expandedIndex,
oldExpanded: kwick.getExpandedPanel(),
isAnimated: kwick.isAnimated
});
};
var timeoutId = kwick.$container.data('kwicks-timeout-id');
if (timeoutId) {
kwick.$container.removeData('kwicks-timeout-id');
clearTimeout(timeoutId);
}
if (delay > 0) {
kwick.$container.data('kwicks-timeout-id', setTimeout(expand, delay));
} else {
expand();
}
});
},
expanded: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.expandedIndex;
},
select: function(index) {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
// don't trigger event if its already selected
if (index !== kwick.selectedIndex) {
var $panels = kwick.$panels,
selected = $panels[index] || null;
kwick.$container.trigger('select.kwicks', {
index: index,
selected: selected,
unselected: $panels.not(selected).get(),
oldIndex: kwick.selectedIndex,
oldSelected: kwick.getSelectedPanel()
});
}
// call expand
kwick.$container.kwicks('expand', index);
});
},
selected: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.selectedIndex;
},
resize: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.resize();
});
},
destroy: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.destroy();
});
}
};
/**
* Expose the actual plugin
*/
$.fn.kwicks = function(opts) {
if (methods[opts]) {
return methods[opts].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof opts === 'object' || !opts) {
return methods.init.apply(this, arguments);
} else {
throw new Error('Unrecognized kwicks method: ' + opts);
}
};
/**
* Special event for triggering default behavior on 'expand.kwicks' events
*/
$.event.special.expand = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.expand(data.index);
}
};
/**
* Special event for triggering default behavior on 'select.kwicks' events
*/
$.event.special.select = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.select(data.index);
}
};
/**
* Instantiates a new Kwick instance using the provided container and options.
*/
var Kwick = function Kwick(container, opts) {
var self = this;
this.opts = opts;
// an array of callbacks to invoke if 'destroy' is invoked
this.onDestroyHandlers = [];
// references to our DOM elements
var orientation = opts.isVertical ? 'vertical' : 'horizontal';
this.$container = $(container);
this.$panels = this.$container.children();
// semi-smart add/remove around container classes so that we don't bork
// the styling if/when destroy is called
var containerClasses = ['kwicks', 'kwicks-' + orientation];
$.each(containerClasses, function(className) {
if (self.$container.hasClass(className)) return;
self.$container.addClass(className);
self.onDestroy(function() {
self.$container.removeClass(className);
});
});
// zero-based, -1 for "none"
this.selectedIndex = this.$panels.filter('.kwicks-selected').index();
this.expandedIndex = this.selectedIndex;
// each instance has a primary and a secondary dimension (primary is the animated dimension)
this.primaryDimension = opts.isVertical ? 'height' : 'width';
this.secondaryDimension = opts.isVertical ? 'width' : 'height';
// initialize panel sizes
this.calculatePanelSizes();
// likewise, we have primary and secondary alignments (all panels but the last use primary,
// which uses the secondary alignment). this is to allow the first and last panels to have
// fixed offsets. this reduces jittering, which is much more noticeable on the last item.
this.primaryAlignment = opts.isVertical ? 'top' : 'left';
this.secondaryAlignment = opts.isVertical ? 'bottom' : 'right';
// object for creating a "master" animation loop for all panel animations
this.$timer = $({ progress: 0 });
// keeps track of whether or not an animation is in progress
this.isAnimated = false;
// the current offsets for each panel
this.offsets = this.getOffsetsForExpanded();
this.updatePanelStyles();
this.initBehavior();
this.initWindowResizeHandler();
// somewhat of a blind stab at handling rare/sporadic failures to initialize styles.
// https://github.com/jmar777/kwicks/issues/31
setTimeout(function() {
self.updatePanelStyles();
}, 100);
};
/**
* Calculates size, minSize, maxSize, and spacing based on the current size of the container and
* the user-provided options. The results will be stored on this.panelSize, this.panelMinSize,
* this.panelMaxSize, and this.panelSpacing. This should be run on initialization and whenever
* the container's primary dimension may have changed in size.
*/
Kwick.prototype.calculatePanelSizes = function() {
var opts = this.opts,
containerSize = this.getContainerSize(true);
// calculate spacing first
if (opts.spacingUnits === '%') {
this.panelSpacing = containerSize * opts.spacing;
} else {
this.panelSpacing = opts.spacing;
}
var numPanels = this.$panels.length,
sumSpacing = this.panelSpacing * (numPanels - 1),
sumPanelSize = containerSize - sumSpacing;
this.panelSize = sumPanelSize / numPanels;
if (opts.minSize === -1) {
if (opts.maxSize === -1) {
// if neither minSize or maxSize or set, then we try to pick a sensible default
if (numPanels < 5) {
this.panelMaxSize = containerSize / 3 * 2;
} else {
this.panelMaxSize = containerSize / 3;
}
} else if (opts.maxSizeUnits === '%') {
this.panelMaxSize = sumPanelSize * opts.maxSize;
} else {
this.panelMaxSize = opts.maxSize;
}
// at this point we know that this.panelMaxSize is set
this.panelMinSize = (sumPanelSize - this.panelMaxSize) / (numPanels - 1);
} else if (opts.maxSize === -1) {
// at this point we know that opts.minSize is set
if (opts.minSizeUnits === '%') {
this.panelMinSize = sumPanelSize * opts.minSize;
} else {
this.panelMinSize = opts.minSize;
}
// at this point we know that this.panelMinSize is set
this.panelMaxSize = sumPanelSize - (this.panelMinSize * (numPanels - 1));
}
};
/**
* Returns the calculated panel offsets based on the currently expanded panel.
*/
Kwick.prototype.getOffsetsForExpanded = function() {
// todo: cache the offset values
var expandedIndex = this.expandedIndex,
numPanels = this.$panels.length,
spacing = this.panelSpacing,
size = this.panelSize,
minSize = this.panelMinSize,
maxSize = this.panelMaxSize;
//first panel is always offset by 0
var offsets = [0];
for (var i = 1; i < numPanels; i++) {
// no panel is expanded
if (expandedIndex === -1) {
offsets[i] = i * (size + spacing);
}
// this panel is before or is the expanded panel
else if (i <= expandedIndex) {
offsets[i] = i * (minSize + spacing);
}
// this panel is after the expanded panel
else {
offsets[i] = maxSize + (minSize * (i - 1)) + (i * spacing);
}
}
return offsets;
};
/**
* Sets the style attribute on the specified element using the provided value. This probably
* doesn't belong on Kwick.prototype, but here it is...
*/
Kwick.prototype.setStyle = (function() {
if ($.support.style) {
return function(el, style) { el.setAttribute('style', style); };
} else {
return function (el, style) { el.style.cssText = style; };
}
})();
/**
* Updates the offset and size styling of each panel based on the current values in
* `this.offsets`. Also does some special handling to convert panels to absolute positioning
* the first time this is invoked.
*/
Kwick.prototype.updatePanelStyles = function() {
var offsets = this.offsets,
$panels = this.$panels,
pDim = this.primaryDimension,
pAlign = this.primaryAlignment,
sAlign = this.secondaryAlignment,
spacing = this.panelSpacing,
containerSize = this.getContainerSize();
// the kwicks-processed class ensures that panels are absolutely positioned, but on our
// first pass we need to set offsets, width|length, and positioning atomically to prevent
// mid-update repaints
var stylePrefix = !!this._stylesInited ? '' : 'position:absolute;',
offset, size, prevOffset, style;
// loop through remaining panels
for (var i = $panels.length; i--;) {
prevOffset = offset;
// todo: maybe we do one last pass at the end and round offsets, rather than on every
// update
offset = Math.round(offsets[i]);
if (i === $panels.length - 1) {
size = containerSize - offset;
style = sAlign + ':0;' + pDim + ':' + size + 'px;';
} else {
size = prevOffset - offset - spacing;
style = pAlign + ':' + offset + 'px;' + pDim + ':' + size + 'px;';
}
this.setStyle($panels[i], stylePrefix + style);
}
if (!this._stylesInited) {
this.$container.addClass('kwicks-processed');
this._stylesInited = true;
}
};
/**
* Assuming for a moment that out-of-the-box behaviors aren't a horrible idea, this method
* encapsulates the initialization logic thereof.
*/
Kwick.prototype.initBehavior = function() {
if (!this.opts.behavior) return;
switch (this.opts.behavior) {
case 'menu':
this.initMenuBehavior();
break;
case 'slideshow':
this.initSlideshowBehavior();
break;
default:
throw new Error('Unrecognized behavior option: ' + this.opts.behavior);
}
};
/**
* Initializes the menu behavior.
*/
Kwick.prototype.initMenuBehavior = function() {
var self = this,
opts = self.opts;
this.addEventHandler(this.$container, 'mouseleave', function() {
self.$container.kwicks('expand', -1, { delay: opts.delayMouseOut });
});
this.addEventHandler(this.$panels, 'mouseenter', function() {
$(this).kwicks('expand', { delay: opts.delayMouseIn });
});
if (!opts.selectOnClick && !opts.deselectOnClick) return;
this.addEventHandler(this.$panels, 'click', function() {
var $this = $(this),
isSelected = $this.hasClass('kwicks-selected');
if (isSelected && opts.deselectOnClick) {
$this.parent().kwicks('select', -1);
} else if (!isSelected && opts.selectOnClick) {
$this.kwicks('select');
}
});
};
/**
* Initializes the slideshow behavior.
*/
Kwick.prototype.initSlideshowBehavior = function() {
var self = this,
numSlides = this.$panels.length,
curSlide = 0,
// flag to handle weird corner cases
running = false,
intervalId;
var start = function() {
if (running) return;
intervalId = setInterval(function() {
self.$container.kwicks('expand', ++curSlide % numSlides);
}, self.opts.interval);
running = true;
};
var pause = function() {
clearInterval(intervalId);
running = false;
};
start();
this.onDestroy(pause);
if (!this.opts.interactive) return;
this.addEventHandler(this.$container, 'mouseenter', pause);
this.addEventHandler(this.$container, 'mouseleave', start);
this.addEventHandler(this.$panels, 'mouseenter', function() {
curSlide = $(this).kwicks('expand').index();
});
};
/**
* Sets up a throttled window resize handler that triggers resize logic for the panels
* todo: hideous code, needs refactor for the eye bleeds
*/
Kwick.prototype.initWindowResizeHandler = function() {
if (!this.opts.autoResize) return;
var self = this,
prevTime = 0,
execScheduled = false,
$window = $(window);
var onResize = function(e) {
// if there's no event, then this is a scheduled from our setTimeout
if (!e) { execScheduled = false; }
// if we've already run in the last 20ms, then delay execution
var now = +new Date();
if (now - prevTime < 20) {
// if we already scheduled a run, don't do it again
if (execScheduled) return;
setTimeout(onResize, 20 - (now - prevTime));
execScheduled = true;
return;
}
// throttle rate is satisfied, go ahead and run
prevTime = now;
self.resize();
};
this.addEventHandler($window, 'resize', onResize);
};
/**
* Returns the size in pixels of the container's primary dimension. This value is cached as it
* is used repeatedly during animation loops, but the cache can be cleared by passing `true`.
* todo: benchmark to see if this caching business is even at all necessary.
*/
Kwick.prototype.getContainerSize = function(clearCache) {
var containerSize = this._containerSize;
if (clearCache || !containerSize) {
containerSize = this._containerSize = this.$container[this.primaryDimension]();
}
return containerSize;
};
/**
* Gets a reference to the currently expanded panel (if there is one)
*/
Kwick.prototype.getExpandedPanel = function() {
return this.$panels[this.expandedIndex] || null;
};
/**
* Gets a reference to the currently collapsed panels
*/
Kwick.prototype.getCollapsedPanels = function() {
if (this.expandedIndex === -1) return [];
return this.$panels.not(this.getExpandedPanel()).get();
};
/**
* Gets a reference to the currently selected panel (if there is one)
*/
Kwick.prototype.getSelectedPanel = function() {
return this.$panels[this.selectedIndex] || null;
};
/**
* Gets a reference to the currently unselected panels
*/
Kwick.prototype.getUnselectedPanels = function() {
return this.$panels.not(this.getSelectedPanel()).get();
};
/**
* Registers a handler to be invoked if/when 'destroy' is invoked
*/
Kwick.prototype.onDestroy = function(handler) {
this.onDestroyHandlers.push(handler);
};
/**
* Adds an event handler and automatically registers it to be removed if/when
* the plugin is destroyed.
*/
Kwick.prototype.addEventHandler = function($el, eventName, handler) {
$el.on(eventName, handler);
this.onDestroy(function() {
$el.off(eventName, handler);
});
};
/**
* "Destroys" this Kwicks instance plugin by performing the following:
* 1) Stops any currently running animations
* 2) Invokes all destroy handlers
* 3) Clears out all style attributes on panels
* 4) Removes all kwicks class names from panels and container
* 5) Removes the 'kwicks' data value from the container
*/
Kwick.prototype.destroy = function() {
this.$timer.stop();
for (var i = 0, len = this.onDestroyHandlers.length; i < len; i++) {
this.onDestroyHandlers[i]();
}
this.$panels
.attr('style', '')
.removeClass('kwicks-expanded kwicks-selected kwicks-collapsed');
this.$container
// note: kwicks and kwicks-<orientation> classes have extra smarts around them
// back in the constructor
.removeClass('kwicks-processed')
.removeData('kwicks');
};
/**
* Forces the panels to be updated in response to the container being resized.
*/
Kwick.prototype.resize = function() {
// bail out if container size hasn't changed
if (this.getContainerSize() === this.getContainerSize(true)) return;
this.calculatePanelSizes();
this.offsets = this.getOffsetsForExpanded();
// if the panels are currently being animated, we'll just set a flag that can be detected
// during the next animation step
if (this.isAnimated) {
this._dirtyOffsets = true;
} else {
// otherwise update the styles immediately
this.updatePanelStyles();
}
};
/**
* Selects the panel with the specified index (use -1 to select none)
*/
Kwick.prototype.select = function(index) {
// make sure the panel isn't already selected
if (index === this.selectedIndex) return;
$(this.getSelectedPanel()).removeClass('kwicks-selected');
this.selectedIndex = index;
$(this.getSelectedPanel()).addClass('kwicks-selected');
};
/**
* Expands the panel with the specified index (use -1 to expand none)
*/
Kwick.prototype.expand = function(index) {
var self = this,
// used for expand-complete event later on
oldIndex = this.expandedIndex,
oldExpanded = this.getExpandedPanel();
// if the index is -1, then default it to the currently selected index (which will also be
// -1 if no panels are currently selected)
if (index === -1) index = this.selectedIndex;
// make sure the panel isn't already expanded
if (index === this.expandedIndex) return;
$(this.getExpandedPanel()).removeClass('kwicks-expanded');
$(this.getCollapsedPanels()).removeClass('kwicks-collapsed');
this.expandedIndex = index;
$(this.getExpandedPanel()).addClass('kwicks-expanded');
$(this.getCollapsedPanels()).addClass('kwicks-collapsed');
// handle panel animation
var $timer = this.$timer,
numPanels = this.$panels.length,
startOffsets = this.offsets.slice(),
offsets = this.offsets,
targetOffsets = this.getOffsetsForExpanded();
$timer.stop()[0].progress = 0;
this.isAnimated = true;
$timer.animate({ progress: 1 }, {
duration: this.opts.duration,
easing: this.opts.easing,
step: function(progress) {
// check if we've resized mid-animation (yes, we're thorough)
if (self._dirtyOffsets) {
offsets = self.offsets;
targetOffsets = self.getOffsetsForExpanded();
self._dirtyOffsets = false;
}
offsets.length = 0;
for (var i = 0; i < numPanels; i++) {
var targetOffset = targetOffsets[i],
newOffset = targetOffset - ((targetOffset - startOffsets[i]) * (1 - progress));
offsets[i] = newOffset;
}
self.updatePanelStyles();
},
complete: function() {
self.isAnimated = false;
self.$container.trigger('expand-complete.kwicks', {
index: index,
expanded: self.getExpandedPanel(),
collapsed: self.getCollapsedPanels(),
oldIndex: oldIndex,
oldExpanded: oldExpanded,
// note: this will always be false but is included to match expand event
isAnimated: false
});
}
});
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
)
)
)
$page = array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 95,
'rght' => (int) 106,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Valsetin Gold selection II',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'title_short__' => array(
'sr' => '',
'en' => null
),
'alternative_title__' => array(
'sr' => '',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_top_title__' => array(
'sr' => 'Kategorije',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'page_text__' => array(
'sr' => '',
'en' => ''
),
'banner_url__' => array(
'sr' => '',
'en' => ''
),
'slug__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'content__' => array(
'sr' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__4 ">
<div class="main-content">
<?php if(!empty($pattern['Pattern']['text'])) { ?>
<div class="rich-text">
<?= $pattern['Pattern']['text'] ?>
</div>
<?php } ?>
<div class="product-details">
<code cms="element" id="6">Social</code>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul>
<?php foreach($pattern['Patterns'] as $image) { ?>
<li>
<a href="<?= $image['file'] ?>" class="fancybox" rel="group">
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
),
'meta_keywords__' => array(
'sr' => '',
'en' => ''
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<header>
<div class="inner clearfix">
<div class="category-hamburger" id="openLeftMenu" style="display: none;"><span></span> <span></span></div>
<div class="logo"><a href="/" title="My Wall and Floor"><img src="/img/my_wall_and_floor_logo.png" width="187" height="70" alt="My Wall and Floor" /></a></div>
<div class="hamburger hamburger--squeeze js-hamburger" id="openRightMenu">
<div class="hamburger-box">
<div class="hamburger-inner"></div>
</div>
</div>
<div id="off-canvas-right">
<!--<ul class="lang">
<li class="<?= $locale == 'sr' ? 'active' : '' ?>"><a href="/<?= $locale ?>:sr<?= substr($this->here, 3) ?>"><?= __('Srpski') ?></a></li>
<li class="<?= $locale == 'en' ? 'active' : '' ?>"><a href="/<?= $locale ?>:en<?= substr($this->here, 3) ?>"><?= __('English') ?></a></li>
</ul>-->
<nav>
<ul>
<?= $this->Format->printMenu('nav/menu') ?>
</ul>
</nav>
</div>
</div>
</header>
<div class="topline"></div>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<?php
$breadcrumbs = $this->Html->generateBreadcrumbs($activePage);
?>
<div class="breadcrumbs">
<div class="inner clearfix">
<p><?= __('Trenutno se nalazite ovde:') ?></p>
<ul>
<li><a href="/" title="My Wall"><?= __('Početna') ?></a></li>
<?php foreach($breadcrumbs['links'] as $title => $link) { ?>
<li><a href="<?= $link ?>" title="<?= $title ?>"><?= $title ?></a></li>
<?php } ?>
<li><?= $breadcrumbs['last'] ?></li>
</ul>
</div>
</div>
<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=913732115428480";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="social clearfix">
<div class="fb-like-button">
<div class="fb-like" data-href="<?= FULL_BASE_URL . $this->here ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="tweet-button">
<a href="https://twitter.com/share" data-url="<?= FULL_BASE_URL . $this->here ?>" class="twitter-share-button" style="display:none">Tweet</a>
</div>
</div>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
$setting = ClassRegistry::init('Setting')->find('first', array());
$productNavs = $this->Format->getPageFromSitemap(4, $sitemap);
$subNavs = $this->Format->getPageFromSitemap(24, $sitemap);
$i = 0;
?>
<footer>
<div class="inner clearfix">
<div class="top">
<div class="row">
<div class="column __8 st__2">
<div class="products">
<h2><?= __('Proizvodi') ?></h2>
<div class="row">
<ul class="column __6 st__6">
<?php foreach($productNavs['children'] as $productNav) { $i++; ?>
<li>
<a href="<?= $this->Format->getPageFromSitemap($productNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $productNav['Page']['title'] ?>"><?= $productNav['Page']['title'] ?></a>
</li>
<?php if($i%4 == 0) { ?>
<?php if($i != count($productNav['children'])) { ?>
</ul>
<ul class="column __6 st__6">
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="column __4 st__4">
<div class="banner">
<a href="<?= $this->Format->getPageLink(19, $sitemap) ?>"><img src="/img/valpaint-akademija-banner-f.jpg" /></a>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="wrap clearfix">
<div class="menu">
<ul>
<?php foreach ($subNavs['children'] as $subNav) { ?>
<li><a href="<?= $this->Format->getPageFromSitemap($subNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $subNav['Page']['title'] ?>"><?= $subNav['Page']['title'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="newsletter">
<p><?= __('Prijava za newsletter') ?>:</p>
<form id="newsletterForm" action="/api/v1/newsletter">
<div>
<input class="textfield" name="data[email]" type="text" placeholder="<?php echo _('Vaša email adresa') ?>" />
<button class="submit" type="submit"><span><?php echo __('Poslati') ?></span></button>
</div>
<div class="form-message"></div>
</form>
</div>
</div>
</div>
<div class="bottom clearfix">
<p><?= __('MyWall & Floor © ') . date('Y') . __(' Sva prava zadržana') ?>. </p>
<p class="right"><?= __('Design & Development') ?>: <a href="http://intellex.rs" target="_blank" title="Intellex - Web & Mobile development">Intellex</a></p>
</div>
</div>
</footer>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array()
),
'Data' => array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
)
),
'Seo' => array(
'metatag' => array([maximum depth reached])
)
),
'Variables' => array(
'pattern' => array(
'Pattern' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Image' => array(
[maximum depth reached]
),
'MetaImage' => array(
[maximum depth reached]
),
'Patterns' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
)
)
),
'Content' => array(
'Body' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'stylesheet_set' => '',
'javascript_set' => '',
(int) 0 => array(
'Content' => array(
[maximum depth reached]
),
'Template' => array(
[maximum depth reached]
),
'Blocks' => array([maximum depth reached])
)
),
'Stylesheet' => array(
(int) 0 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
padding: 0;
margin: 0;
border: 0;
outline: none;
vertical-align: top;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
position: relative;
background: #ecce97;
color: #444;
text-shadow: none;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 15px;
white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('../img/fancybox/fancybox_sprite.png');
}
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-position: 0 -108px;
opacity: 0.8;
cursor: pointer;
z-index: 8060;
}
#fancybox-loading div {
width: 44px;
height: 44px;
background: url('../img/fancybox/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 8040;
background-position: 0 0;
}
.fancybox-nav {
position: absolute;
top: 0;
width: 40%;
height: 100%;
cursor: pointer;
text-decoration: none;
background: transparent url('../img/fancybox/blank.gif'); /* helps IE */
-webkit-tap-highlight-color: rgba(0,0,0,0);
z-index: 8040;
}
.fancybox-prev {
left: 0;
}
.fancybox-next {
right: 0;
}
.fancybox-nav span {
position: absolute;
top: 50%;
width: 36px;
height: 34px;
margin-top: -18px;
cursor: pointer;
z-index: 8040;
visibility: hidden;
}
.fancybox-prev span {
left: 10px;
background-position: 0 -36px;
}
.fancybox-next span {
right: 10px;
background-position: 0 -72px;
}
.fancybox-nav:hover span {
visibility: visible;
}
.fancybox-tmp {
position: absolute;
top: -99999px;
left: -99999px;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
/* Overlay helper */
.fancybox-lock {
overflow: hidden;
}
.fancybox-overlay {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
display: none;
z-index: 8010;
background: url('../img/fancybox/fancybox_overlay.png');
}
.fancybox-overlay-fixed {
position: fixed;
bottom: 0;
right: 0;
}
.fancybox-lock .fancybox-overlay {
overflow: auto;
overflow-y: scroll;
}
/* Title helper */
.fancybox-title {
visibility: hidden;
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-float-wrap {
position: absolute;
bottom: 0;
right: 50%;
margin-bottom: -35px;
z-index: 8050;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0 1px 2px #222;
color: #FFF;
font-weight: bold;
line-height: 24px;
white-space: nowrap;
}
.fancybox-title-outside-wrap {
position: relative;
margin-top: 10px;
color: #fff;
}
.fancybox-title-inside-wrap {
padding-top: 10px;
}
.fancybox-title-over-wrap {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
}
',
'modified' => '2016-11-22 16:39:18'
),
(int) 1 => array(
'id' => (int) 6,
'name' => 'youtube-video-gallery',
'data' => '*.youtube-videogallery-container {
display: block;
}
*.youtube-videogallery-compact *.youtube-videogallery-item,
*.youtube-videogallery-compact *.youtube-videogallery-img{
box-shadow: 0 0 0;
border-radius: 0;
margin: 0 0 0 0;
}
*.youtube-videogallery-compact *.youtube-videogallery-title {
font-size: 11px;
}
a.youtube-videogallery-link { padding:5px; background:#2f2f33; position:relative; display:block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
a.youtube-videogallery-link:hover { background:#ecce97; }
a.youtube-videogallery-link:hover span { color:#6c5e43; }
a.youtube-videogallery-link:hover img.youtube-videogallery-play,
a.youtube-videogallery-link:focus img.youtube-videogallery-play {
opacity: 1;
}
*.youtube-videogallery-play {
left:50%;
opacity: 0.7;
position: absolute;
top:50%;
z-index: 1;
}
*.youtube-videogallery-title { width:100%; text-align:center; float:left; font-size:13px; color:#9f9f9f; line-height:13px; padding:5px 0; }
*.youtube-videogallery-allowtitle *.youtube-videogallery-title {
height: auto;
}
*.youtube-videogallery-screen-reader-only {
position: absolute;
left:-9999px;
}
div.youtube-videogallery-bodycover {
background-color: #000;
height: 100%;
left:0;
opacity: 0;
position: absolute;
top:0;
width:100%;
z-index: 100;
}
div.youtube-videogallery-display {
background-color: #000;
box-shadow: 3px 3px 7px #000;
left:50%;
opacity: 0;
padding: 3px;
position: fixed;
top:50%;
z-index: 101;
}
div.youtube-videogallery-bodycover,
div.youtube-videogallery-display {
transition: all 300ms;
transform: scale(0);
-webkit-transform: scale(0);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover,
body.youtube-videogallery-active div.youtube-videogallery-display {
display: block;
transform: scale(1);
-webkit-transform: scale(1);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover {opacity: 0.5}
body.youtube-videogallery-active div.youtube-videogallery-display { opacity: 1}',
'modified' => '2016-11-10 14:47:39'
),
(int) 2 => array(
'id' => (int) 5,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
/*
* This file contains styles that are common to all kwicks instances. Note that each kwicks instance requires
* additional styling - please see the examples for more info.
*/
.kwicks {
display: block;
list-style-type: none;
list-style: none;
position: relative;
margin: 0;
padding: 0;
}
.kwicks > * {
display: block;
overflow: hidden;
padding: 0;
margin: 0;
}
.kwicks.kwicks-processed > * {
margin: 0;
position: absolute;
}
.kwicks-horizontal > * {
float: left;
}
.kwicks-horizontal > :first-child {
margin-left: 0;
}
.kwicks-vertical > :first-child {
margin-top: 0;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 3,
'name' => 'jquery.bxslider',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
padding: 0;
*zoom: 1;
}
.bx-wrapper img {
max-width: 100%;
display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
background: url(images/bx_loader.gif) center center no-repeat #fff;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
text-indent: -9999px;
display: block;
outline: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
left: 10px;
background: url(images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
right: 10px;
background: url(images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -16px;
outline: 0;
width: 32px;
height: 32px;
text-indent: -9999px;
z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 0;
left: 0;
background: #666\9;
background: rgba(80, 80, 80, 0.75);
width: 100%;
}
.bx-wrapper .bx-caption span {
color: #fff;
font-family: Arial;
display: block;
font-size: .85em;
padding: 10px;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 1,
'name' => 'main',
'data' => '@charset "utf-8";
*,:after,:before,a,abbr,acronym,address,applet,article,aside,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,input,ins,kbd,label,legend,li,main,mark,object,ol,p,pre,q,s,samp,section,small,span,strike,strong,sub,sup,table,tbody,td,textarea,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:top;background:0 0;-webkit-font-smoothing:antialiased;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{overflow-y:auto;overflow-x:hidden}ol,ul{list-style:none}:focus{outline:0}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix{display:block}* html .clearfix{height:1%}
@font-face {
font-family: 'robotolight';
src: url('/font/roboto-light-webfont.eot');
src: url('/font/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/roboto-light-webfont.woff') format('woff'),
url('/font/roboto-light-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pt_serifregular';
src: url('/font/ptf55f-webfont.eot');
src: url('/font/ptf55f-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/ptf55f-webfont.woff') format('woff'),
url('/font/ptf55f-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
::selection { color:#fff; background:#bba47a; }
::-moz-selection { color:#fff; background:#bba47a; }
/* Global */
body,html { font-family: 'robotolight'; font-size:14px; background:url(../img/bg_body.jpg) repeat 0 0 #000; }
h1, h2 { font-family: 'pt_serifregular'; }
.inner { width:1150px; max-width: 96%; margin:0 auto; }
a { text-decoration:none; -o-transition:color .2s ease-out; -ms-transition:color .2s ease-out; -moz-transition:color .2s ease-out; -webkit-transition:color .2s ease-out; transition:color .2s ease-out; }
/* HEADER */
header { width:100%; display:inline-block; background:#000; -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.5);-moz-box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5); position:relative; z-index:99; float:left; }
header .logo { width: 140px; display: inline-block; padding:5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header .logo:hover { opacity:0.7; }
header .logo img { width: 100%; height: auto; display: block; }
header ul.lang { float:right; padding:5px 0 0 0; }
header ul.lang li { float:left; display:block; padding:0 0 0 10px; }
header ul.lang li a { float:left; color:#484b4e; font-size:11px; }
header ul.lang li a:hover { color:#fff; }
header ul.lang li.active a { color:#bba47a; }
header #off-canvas-right { display: inline-block; float: right; padding: 32px 0 0 0; }
header nav { width:100%; display: inline-block; }
header nav > ul { }
header nav > ul > li { display: inline-block; margin: 0 10px; position:relative; }
header nav > ul > li:first-child { margin:0 10px 0 0; }
header nav > ul > li:last-child { margin:0 0 0 10px; }
header nav > ul > li > a { float:left; font-size:14px; color:#c1b49c; text-transform:uppercase; padding:0 0 10px 0; position: relative; }
header nav > ul > li > a:after { width: 0; height: 3px; background: #bba47a; position: absolute; bottom: 0; left: 0; content: ""; }
header nav > ul > li > a:hover { color:#fff; }
header nav > ul > li > a:hover:after { width: 100%; -webkit-transition: width .3s ease-in-out; -moz-transition: width .3s ease-in-out; -o-transition: width .3s ease-in-out; transition: width .3s ease-in-out; }
header nav > ul > li.active > a:after { width: 100%; }
header nav > ul > li.active > a { color:#bba47a; }
header nav > ul > li > ul { width: 220px; background: #171718; position: absolute; left: 0; top: 26px; border-top: 3px solid #b8a178; -webkit-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);-moz-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43); display: none; }
header nav > ul > li > ul:before { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #b8a178; position: absolute; top: -8px; left: 22px; content: ""; }
header nav > ul > li > ul li { display: block; border-bottom: 1px solid #2f2f30; }
header nav > ul > li > ul li:last-child { border: none; }
header nav > ul > li > ul li a { display: block; font-size: 14px; color: #e5d1ac; padding: 10px 20px; }
header nav > ul > li > ul li a:hover { color: #fff; }
header nav > ul > li:hover ul { display: block; }
header nav > ul > li:hover > a { color:#fff; }
header nav > ul > li.dropdown:after { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 3px solid #c1b49c; position: absolute; right: -9px; top: 8px; content: ""; }
header nav ul li.spec { margin:-4px 0 0 26px; }
header nav ul li.spec a { background:#c1b49c; color:#000; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; padding:5px 12px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header nav ul li.spec:hover:after { display:none; }
header nav ul li.spec a:hover { background:#e4d9c6; }
header nav ul li.spec { border-bottom:none; }
.topline { width:100%; display:inline-block; background:url(../img/bg_top.jpg) no-repeat 0 0; height:10px; margin:0 0 8px 0; }
.fixed { position:fixed; top:0; left:0; background:rgba(0,0,0,0.0.87); }
#openRightMenu { top: 20px; right: 20px; display: none; }
#openLeftMenu { top: 20px; left: 20px; }
/* Hamburger button */
.hamburger{position:absolute;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:#000;border:0;margin:0;overflow:visible}.hamburger-box{width:40px;height:24px;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-2px}.hamburger-inner,.hamburger-inner::after,.hamburger-inner::before{width:35px;height:4px;background:#fff;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.hamburger-inner::after,.hamburger-inner::before{content:"";display:block}.hamburger-inner::before{top:-8px}.hamburger-inner::after{bottom:-8px}.hamburger--squeeze .hamburger-inner{transition-duration:.1s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze .hamburger-inner::before{transition:top .1s .14s ease,opacity .1s ease}.hamburger--squeeze .hamburger-inner::after{transition:bottom .1s .14s ease,transform .1s cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze.is-active .hamburger-inner{transform:rotate(45deg);transition-delay:.14s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.hamburger--squeeze.is-active .hamburger-inner::before{top:0;opacity:0;transition:top .1s ease,opacity .1s .14s ease}.hamburger--squeeze.is-active .hamburger-inner::after{bottom:0;transform:rotate(-90deg);transition:bottom .1s ease,transform .1s .14s cubic-bezier(.215,.61,.355,1)}
/* Category menu button*/
.category-hamburger { position: absolute; }
.category-hamburger span { width: 10px; height: 10px; background: #fff; display: inline-block; position: relative; }
.category-hamburger span:after { width: 10px; height: 10px; background: #fff; position: absolute; content: ""; bottom: -12px; left: 0; }
/* ===== HOME ELEMENTS ===== */
/* Slider */
.slider { width:1230px; max-width:100%;margin:0 auto; background:#000; border-top:1px solid #1c1c1c; position:relative;-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:10px; }
.slider .kwicks { width:1230px; max-width:100%; height:400px; display: block; position: relative;}
.slider .kwicks > li { width: 125px; height: 400px; margin-left: 5px;float: left;}
.slider .kwicks > li a img { opacity: 0.5; /*-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out;*/ }
.slider .kwicks > li h2 { width:20px;height:20px; position:absolute; bottom:20px; left:10px; -webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform: rotate(-90deg);white-space:nowrap; color:#fcba42; font-size:20px; text-align:right; writing-mode:bt-lr; display:block;-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out; }
.slider .kwicks > li span { width:100%; opacity:0; position:absolute; bottom:0; left:0; padding:80px 20px 20px 20px; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.slider .kwicks > li a:hover img { opacity:1; }
.slider .kwicks > li a:hover h2 { opacity:0; }
.slider .kwicks > li a span.vis { opacity:1; }
.slider .kwicks > * { display: block; overflow: hidden; padding: 0; margin: 0;}
.slider .kwicks.kwicks-processed > * { margin: 0; position: absolute;}
.slider .kwicks-horizontal > * {float: left;}
.slider .kwicks-horizontal > :first-child { margin-left: 0;}
.slider .kwicks-vertical > :first-child { margin-top: 0;}
.slider .kwicks > li span h3 { color:#e0a73f; font-size:20px; font-family: 'pt_serifregular'; padding:0 0 15px 0; }
.slider .kwicks > li span p { color:#fff; }
/* Home categories */
.home-categories { width:1150px; max-width: 100%; margin:20px auto; background:#121314; padding:30px 50px 20px 50px; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.home-categories article { float:left; margin:0 0 10px 9px; }
.home-categories article.modulus { margin:0 0 10px 0; }
.home-categories article a { float:left; background:#f6e8ce; padding:5px; position:relative; }
.home-categories article a:hover { background:#f3d193; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.home-categories article a img { float:left; border:1px solid #9e875c; background:#fff; padding:1px; }
.home-categories article a span { width:170px; margin:0 7px; position:absolute; bottom:7px; left:0; padding:15px 0 10px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.home-categories article a span h2 { width:100%; float:left; color:#ecce97; text-align:center; box-sizing:border-box; padding:0 10px; line-height:15px; }
.home-categories article a:hover span h2 { color:#f4e6ce; }
/* Home blocks */
.home-block { width:1230px; max-width: 100%; margin:0 auto; }
.home-block .block { background:#0a0a0a; border-top:1px solid #161616; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:30px 50px 0 50px;}
.home-block .block-about { background:url(../img/bg_about_block.jpg) no-repeat 100% 0 #0a0a0a; }
.home-block .block h2 { color:#bba47a; font-size:22px; padding:0 0 35px 0; }
.home-block .block p { color:#fff; padding:0 0 15px 0; text-align:justify; }
.home-block .block a { color:#c4a56c; }
.home-block .block a:hover { color:#a48958; }
.home-block .block article { padding:0 0 30px 0; }
.home-block .block article span { width:90px; float: left;margin:0 10px 0 0; }
.home-block .block article span a { display: block; }
.home-block .block article span img { width:100%; height:auto; display:block; }
.home-block .block article div { display: table-cell; width: 768px; }
.home-block .block article div em { font-style:normal; font-size:10px; color:#d0d0d0; }
.home-block .block article div h3 { padding:0 0 10px 0; }
.home-block .block article div h3 a { color:#e3c58f; font-size:15px; font-family: 'pt_serifregular'; }
.home-block .block article div h3 a:hover { color:#fbefd9; }
.home-block .block article div p { font-size:12px; text-align:left; padding:0; }
.home-block .tagline { width:100%; display:inline-block; box-sizing:border-box; padding:20px 50px; margin:20px 0; border-top:1px solid #161616; background:url(../img/bg_tagline.jpg) no-repeat top center #0a0a0a; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); text-align:center; }
.home-block .tagline h1,.home-block .tagline h2 { display:block; font-size:1.6em; color:#fff; text-transform:uppercase; }
.home-block .tagline h1 { border-bottom: 1px solid #fff; display: inline-block; padding: 0 0 20px 0; margin: 0 0 20px 0; }
/* ===== PAGE CONTENT ===== */
.page-content { width:1250px; max-width: 100%; margin:0 auto; background:#000; background-position:100% 0; background-repeat:no-repeat; border-top:1px solid #202020; padding:0 0 50px 0; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.content { width:1150px; max-width: 96%; margin:0 auto; }
.side-content { }
.main-content { padding:0 0 30px 0; }
/* Breadcrumbs */
.breadcrumbs { width:100%; display:inline-block; border-bottom:1px solid #151515; font-size:11px; color:#a8a8b3; padding:13px 0; background:url(../img/bg_breadcrumbs.png) no-repeat 0 0; }
.breadcrumbs p { float:left; padding:0 5px 0 0; }
.breadcrumbs a { float:left; color:#c1b297; }
.breadcrumbs a:hover { color:#e9ddc8; }
.breadcrumbs a:after { content:'/'; color:#4a4a50; margin:0 0 0 7px; }
.breadcrumbs ul li { float:left; display:block; padding:0 0 0 7px; }
/* Page title */
.page-title { padding:30px 0 50px 0; }
.page-title .inner { position:relative; }
.page-title .inner div { padding:0 0 0 20px; float:left; border-left:4px solid #bba47a; }
.page-title .inner div h2 { width:100%; float:left; color:#3a3326; font-size:20px; line-height:18px; min-height:25px; }
.page-title .inner div h1 { width:100%; float:left; color:#fff; font-size:30px; line-height:27px; }
.page-title .inner span { position:absolute; right:0; top:-15px; }
/* Rich text */
.rich-text { color:#c1b49c; line-height:22px; }
.rich-text p { padding:0 0 15px 0; text-align:justify; }
.rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.rich-text a { color:#c4a56c; }
.rich-text a:hover { color:#a48958; }
.rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.rich-text ul li { padding:0 0 5px 0; }
.rich-text .rich-video {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.rich-text .rich-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.remark-rich-text { width:100%; float:left; color:#c1b49c; line-height:22px; }
.remark-rich-text p { padding:0 0 15px 0; text-align:justify; }
.remark-rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.remark-rich-text a { color:#c4a56c; }
.remark-rich-text a:hover { color:#a48958; }
.remark-rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.remark-rich-text ul li { padding:0 0 5px 0; }
.remark-rich-text.hasGallery { padding: 0 0 20px 0; }
.add-image { width:500px; max-width:50%;float:left; margin:0 40px 0 0; padding:5px; background:#1e1f21; box-sizing:border-box }
.add-image div { width:100%; display:block; text-align:center; }
.add-image img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; padding:1px; }
/* Article grid */
.article-grid .row { margin: 0 -8px; }
.article-grid .row > .column { padding: 0 8px; }
.article-grid article { position:relative;}
.article-grid article a, .article-grid article .image-gallery-holder { display: block; padding:5px; background:#1e1f21; position:relative; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin-bottom: 15px; }
article.column > a > span { position:absolute; background: rgba(187, 164, 122, 0.7); -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease ; -ms-transition: all 0.2s ease ; -o-transition: all 0.2s ease ; transition: all 0.2s ease ; padding:5px; top:15%; left:20%; width: 60%; }
article.column > a > span.before-after { top:auto; bottom: 15px; left: 30px; width: auto;text-transform: uppercase; font-size: 16px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 10px;}
article.column > a > span em { width: 100%;text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
article.column > a > span em img { background:none; border:none; padding:0; width:100%; display:inline; }
article.column > a:hover > span { -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -ms-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); }
.article-grid article a:hover { background:#323336; }
.article-grid article img { width:100%; height:auto; display:block; box-sizing:border-box; background:#37393b; padding:1px; border:1px solid #53595e; }
.article-grid article div {position:absolute; left:7px; right: 7px; bottom:7px; padding:40px 0 7px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.article-grid article div h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.article-grid article div p { width:100%; text-align:center; font-size:13px; line-height:14px; padding:3px 0 0 0; color:#d4d8de; }
.article-grid-page article { padding:0 0 10px 6px; }
.article-grid-page article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid article span.label { width:48px; height:48px; position:absolute; right:7px; top:7px; }
.article-grid article span.label img { background:none; padding:0; border:none; }
/* Big grid minimum 5 articles */
.article-grid-biggrid article { padding:0 0 10px 12px; }
.article-grid-biggrid article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid-biggrid article a { width:262px; box-sizing:border-box; }
.article-grid-biggrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-biggrid article div { padding:40px 0 15px 0; }
.article-grid-biggrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:30px; left:50%; margin:0 0 0 -70px; }
.article-grid-biggrid article span em { width:100px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-biggrid article span em img { background:none; border:none; padding:0; }
.article-grid-biggrid article a:hover span em img { background:none; border:none; padding:0; }
/* Small grid up to 4 articles */
.article-grid-smallgrid article { padding:0 0 10px 10px; }
.article-grid-smallgrid article:nth-child(2n+1) { padding:0 0 10px 0; }
.article-grid-smallgrid article a { width:400px; box-sizing:border-box; }
.article-grid-smallgrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-smallgrid article div { width:386px; box-sizing:border-box; padding:40px 0 15px 0; }
.article-grid-smallgrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:70px; left:90px; }
.article-grid-smallgrid article span em { width:175px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-smallgrid article span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.article-grid-smallgrid article a:hover span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.showroom-gallery { padding: 20px 0 0 0; }
/* Vertical menu */
#cat-menu { display:none; }
.vertical-menu { width:100%; float:left; margin:0 0 20px 0; }
.vertical-menu h2 { font-size:20px; color:#906e30; padding:0 20px 15px 20px; }
.vertical-menu ul { border-bottom:1px solid #29292f; border-right:1px solid #17171a; }
.vertical-menu ul li { border-left:3px solid #29292f; border-top:1px solid #17171a; margin-bottom:1px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.vertical-menu ul li a { color:#c1b49c; text-transform:uppercase; font-size:14px; font-family: 'pt_serifregular'; padding:10px 15px 9px 15px; display:block; line-height:17px; }
.vertical-menu ul li:hover { border-left:3px solid #bca57b; }
.vertical-menu ul li a:hover { color:#bca57b; }
.vertical-menu ul li.active { border-left:3px solid #bba47a; border-top:none; background:#111113; }
.vertical-menu ul li.active a { color:#000; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.vertical-menu ul li ul { display:none; border-right:none; }
.vertical-menu ul li.active ul { padding:0 0 0 20px; display:block; border-right:none; }
.vertical-menu ul li.active ul li { margin:0; border:none; }
.vertical-menu ul li.active ul li ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li a { background:none; color:#e4ad48; font-size:14px; font-family: 'robotolight'; text-transform:none; padding:7px 0; border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li a:before { content:'▸'; }
.vertical-menu ul li.active ul li a span { width:90%; display:inline-block; font-size:0.96em; box-sizing:border-box; padding:0 0 0 14px; line-height:16px; color:#98938a; }
.vertical-menu ul li.active ul li a:hover span { color:#906e30; }
.vertical-menu ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active a span { color:#906e30; }
.vertical-menu ul li.active ul li.active a:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul { border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li.active ul li { }
.vertical-menu ul li.active ul li.active ul li a { color:#e4ad48; padding:7px 0; }
.vertical-menu ul li.active ul li.active ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li a:before { content:none; }
.vertical-menu ul li.active ul li.active ul li a:hover:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active ul li a:before { content:'▸'; color:#414345; }
.vertical-menu ul li.active ul li.active ul li.active a:before { color:#906e30; }
/* Product details */
.product-details { }
.product-details .product-info { text-align:justify; }
.product-details .product-info-full { width:100%; }
.product-details .right-info { }
.product-details .photo-grid { }
.product-details .social { padding:0 0 15px 0; border-bottom:1px solid #222225; margin:0 0 20px 0; height: 36px; }
.product-details .social .fb-like-button { float:left; margin:0 15px 0 0; }
.product-details .social .tweet-button { float:left; }
.product-details .product-slideshow { margin: 0 0 40px 0; }
.product-details .product-slideshow ul { position: relative}
.product-details .product-slideshow a {display: block; background:#252729; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-slideshow a:hover { background:#5a5d5f; }
.product-details .product-slideshow a img { background:#37393b; padding:1px; border:1px solid #53595e; width: 100%; height: auto; }
.product-details .product-slideshow a:hover img { border:1px solid #252729; background:#5a5d5f; }
.product-details .product-slideshow a span { width:330px; height:80px; left:7px; position:absolute; bottom:7px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-slideshow .bx-has-pager { width:100%; float:left; padding:8px 0 0 0; position:relative; }
.product-details .product-slideshow .bx-pager { width:100%; position:relative; text-align:center; padding:0 20px; box-sizing:border-box; }
.product-details .product-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.product-details a.link-download { background:#a0151d; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 10px 0 0 0; font-family: 'pt_serifregular'; display: block; }
.product-details a.link-download:hover { background:#c62a33; }
.product-details a.link-download span { display:block; border:1px solid #bf6066; padding:6px 0; text-align:center; }
/*.product-details a.link-download.renewal-catalogue { width:200px; box-sizing:border-box; }*/
.product-details a.link-beforeafter { display: block; margin: 10px 0 0 0; background:#c3ab7f; padding:3px; color:#4a3f2b; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; font-family: 'pt_serifregular'; }
.product-details a.link-beforeafter:hover { background:#d8bf91; }
.product-details a.link-beforeafter span { display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.product-details .product-blocks { width:100%; float:left; margin:30px 0 0 0; }
.product-details .product-block { width:100%; float:left; background:#111113; padding:10px; box-sizing:border-box; margin:0 0 1px 0; }
.product-details .product-block .block-content { width:100%; float:left; background:#202023; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.product-details .product-block .block-content .head, .product-details .product-block .block-content .head-no-accordion { width:100%; float:left; box-sizing:border-box; padding:8px 10px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; cursor:pointer; }
.product-details .product-block .block-content .head-no-accordion { background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); cursor: default }
.product-details .product-block .block-content .head:hover { background:#1c1c1e; }
.product-details .product-block .block-content .head h2 { font-size:15px; color:#bcb6a9; line-height: 20px; }
.product-details .product-block .block-content .head-no-accordion h2 { font-size:15px; line-height: 20px; }
.product-details .product-block .block-content .head h2:before { content:'▸'; color:#6c675d; margin:0 5px 0 0; }
.product-details .product-block .block-content .active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active h2 { color:#292c31; }
.product-details .product-block .block-content .active h2:before { content:'▾'; color:#292c31; }
.product-details .product-block .block-content .body { width:100%; float:left; padding:10px; box-sizing:border-box; }
.product-details .product-photo-gallery { }
.product-details .product-photo-gallery ul li a { background:#2f2f33;padding:5px; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position: relative; display: block }
.product-details .product-photo-gallery ul li a:hover { background:#5a5d5f; }
.product-details .product-photo-gallery ul li a img { width:100%; height:auto; display:block; box-sizing:border-box; border:1px solid #53595e; background:#37393b; padding:1px; }
.product-details .product-photo-gallery ul li a span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:10px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.product-details .product-photo-gallery .bx-pager { position:absolute; top:-35px; right:0; z-index:99; }
.product-details .product-photo-gallery .bx-pager .bx-pager-item { margin:0 5px 0 0; }
.product-details .product-photo-gallery .bx-pager a { width:11px; height:11px; background:#fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.product-details .product-photo-gallery .bx-pager a.active { background:#a5864d; }
.product-details .product-tehnical-spec p { color:#555; font-size:13px; }
.product-details .product-tehnical-spec ul { width:100%; float:left; }
.product-details .product-tehnical-spec ul li { width:100%; float:left; display:block; padding:0 0 1px 0; }
.product-details .product-tehnical-spec ul li a { width:100%; float:left; background:url(../img/ico_download.png) no-repeat -10px center #27272a; padding:8px 10px 8px 10px; box-sizing:border-box; font-size:13px; color:#9f9f9f; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tehnical-spec ul li a span { float:right; }
.product-details .product-tehnical-spec ul li a:hover { background:url(../img/ico_download.png) no-repeat 10px center #313135; padding:8px 10px 8px 30px; }
.product-details .product-video-gallery li a { min-height:180px; display: block; margin-bottom: 5px; }
.product-details .product-video-gallery li a .youtube-videogallery-img { width: 100%; }
.product-details .product-tools li { padding:0 10px 10px 0; float:left; display:block; }
.product-details .product-tools li a { padding:5px; background:#2f2f33; float:left; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tools li a:hover { background:#5a5d5f; }
.product-details .product-tools li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li { float:left; margin:0 8px 8px 8px; }
.product-details .product-related ul li a { background:#2f2f33;padding:5px;float:left; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position:relative; }
.product-details .product-related ul li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li a span { width:225px; position:absolute; bottom:0; left:7px; bottom:7px; padding:40px 0 7px 0; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-related ul li a span h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.product-details .pro-banner { margin:10px 0 0 0; }
.product-details .pro-banner a { -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; display: block }
.product-details .pro-banner a:hover { opacity:0.8; }
.product-details .pro-banner a img { width: 100%;}
/* Special note */
.special-note { width:100%; float:left; background:#eace9b; padding:20px; box-sizing:border-box; margin:0 0 30px 0; position:relative; }
.special-note h2 { color:#584117; font-size:16px; padding:0 0 10px 0; }
.special-note p { color:#6e5b38; font-size:12px; }
.special-note div { width:26px; height:90px; position:absolute; right:-26px; bottom:-3px; background:url(../img/bg_note.png) no-repeat 0 0; }
/* News Grid */
.news-grid article { vertical-align:top; }
.news-grid article a {display: block;background:#1e1f21; padding:5px; box-sizing:border-box; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 30px 0;}
.news-grid article a:hover { background:#323336; }
.news-grid article a .cnt { background:#18181b; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.news-grid article a .cnt img { width:100%; height:auto; display:block; }
.news-grid article a .cnt div { position:relative; }
.news-grid article a .cnt div span { width:100%; position:absolute; bottom:0; left:0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.news-grid article a .cnt div span h2 { text-align:center; font-size:16px; color:#ecce97; padding:50px 20px 5px 20px;}
.news-grid article a .cnt em { width:100%; text-align:center; float:left; font-style:normal; font-size:12px; color:#906e30; padding:5px 0; }
.news-grid article a .cnt p { color:#a8a8b3; font-size:12px; text-align:center; padding:0 20px 15px 20px; min-height: 95px;}
/* News Details */
.news-details { width:100%; float:left; }
.news-details .date { width:100%; float:left; font-style:normal; font-size:12px; color:#906e30; padding:0 0 20px 0; }
.news-details .date em { float:left; font-style:normal; font-size:12px; color:#906e30; }
.news-details .date .social { float:right; }
.news-details .date .social .fb-like-button { float:left; margin:0 15px; }
.news-details .date .social .tweet-button { width:85px; float:left; }
.news-details .rich-text { text-align:justify; }
.news-details .img { float: right; width: 30%; margin: 0 0 40px 40px; }
.news-details .img a { display: block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.news-details .img a:hover { background:#323336; }
.news-details .img img { width: 100%; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery { border-top:1px solid #17171a; margin:30px 0 0 0; padding:10px 0 0 0; }
.news-details .news-gallery h2 { color:#906e30; font-size:14px; padding:0 0 10px 0; }
.news-details .news-gallery ul li a { display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 10px 0}
.news-details .news-gallery ul li a:hover { background:#323336; }
.news-details .news-gallery ul li a img {width: 100%; height: auto !important; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery .bx-wrapper { max-width:1190px!important; }
.news-details .news-gallery .bx-pager { position:absolute; top:-25px; right:0; }
.news-details .news-gallery .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.news-details .news-gallery .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.news-details .news-gallery .bx-pager .bx-pager-item a.active { background:#ac946b; }
.paginator span { margin: 0 3px 0 0; display: inline-block; background: #1e1f21; padding: 5px;}
.paginator span.current { padding: 10px; color: #bba47a;}
.paginator span a { display:block; background:#323336; color: #bba47a; padding: 5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0;}
.paginator span a:hover { background:#1e1f21; }
/* Contact */
.contact-info { padding:0 20px 0 0; }
.contact-info h2 { font-size:22px; color:#a48958; padding:0 0 20px 0; }
.contact-info p { color:#c1b49c; }
.contact-info a { color:#a07c3b; }
.contact-info a:hover { color:#d5a856; }
.contact-info:nth-child(2) { padding:0 0 0 50px; }
.contact-form { background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; }
.contact-form h2 { width:100%; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.contact-form .textfield { width:100%; background:#fff; border:0; margin:0 0 10px 0; color:#010101; text-align:left; padding:10px 20px; -webkit-box-shadow: inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);-moz-box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4); font-family: 'robotolight'; font-size:14px; }
.contact-form .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield::-moz-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
.capcha-field { position: relative;}
.capcha-field em { position: absolute; left: 0; top: 0; background: #18181b; padding: 10px}
.capcha-field .textfield {padding-left: 80px;}
.contact-form .submit { width:100%; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.contact-form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.contact-form .submit:hover { background:#dcc18f; }
.gmap { width:100%; float:left; height:400px; margin:30px 0 0 0; }
/* Form Messages */
.validation-error-message { width:100%; display: block; margin:-10px 0 10px 0; color: #d34141; display:block; }
.form-message { color: #fff}
.form-message-error { width:100%; float:left; margin:10px 0 0 0; color: #d34141; display:block; }
.newsletter .form-message-error { width:auto; float:none; margin:0; }
.newsletter .validation-error-message { width:auto; float:none; margin:0; }
.form-message.form-message-success { color:#82a12b; }
.radio .validation-error-message { margin:0; }
/* FOOTER */
footer { width:100%; float:left; }
footer .inner {width: 1250px}
footer .inner .top { padding:35px 50px 0 50px; }
footer .inner .top h2 { width:50%; color:#bba47a; font-size:17px; padding:0 0 10px 0; }
footer .inner .top .products { }
footer .inner .top .products ul { display:block; }
footer .inner .top .products ul li { }
footer .inner .top .products ul li a { display: block; color:#808080; font-size:13px; }
footer .inner .top .products ul li a:hover { color:#fff; }
footer .inner .middle {border-bottom:1px solid #313234; padding:20px 50px; }
footer .inner .middle .wrap { border-top:1px solid #1e1e1f; padding:20px 0 0 0; }
footer .inner .middle .wrap .menu { padding:6px 0 0 0; display: inline-block; }
footer .inner .middle .wrap .menu ul li { display:inline-block; margin:0 15px 0 0; }
footer .inner .middle .wrap .menu ul li a { float:left; color:#808080; font-size:13px; text-transform: uppercase; color:#bba47a; }
footer .inner .middle .wrap .menu ul li a:hover { color:#fff; }
footer .inner .middle .newsletter { float:right; text-align:right; }
footer .inner .middle .newsletter p { color:#808080; font-size:13px; padding:6px 10px 0 0; float:left; }
footer .inner .middle .newsletter form { float:right; }
footer .inner .middle .newsletter .textfield { width:260px; float:left; background:#fff; border:0; color:#454545; padding:8px; font-size:13px; height: 31px; box-sizing: border-box}
footer .inner .middle .newsletter .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield::-moz-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .submit { float:left; border:none; background:#c3ab7f; padding:4px 3px; color:#fff; font-size:12px; font-family: 'pt_serifregular'; cursor:pointer; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:0 0 0 1px; line-height: 1;height: 31px;box-sizing: border-box }
footer .inner .middle .newsletter .submit:hover { background:#d8bf91; }
footer .inner .middle .newsletter .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:4px 10px 3px 10px; text-align:center; color:#292c31; }
footer .inner .bottom { padding:0 50px 0 50px; }
footer .inner .bottom p { color:#5d5959; font-size:11px; float:left; padding:10px 0; }
footer .inner .bottom a { color:#bba47a; }
footer .inner .bottom .right { float:right; text-align:right; }
/* Static pages */
.static-content { width:100%; float:left; }
.static-content section { padding:0 0 70px 0; }
.static-content section article .gallery-slideshow li a { float:left; display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; box-sizing:border-box; }
.static-content section article .gallery-slideshow li a:hover { background:#323336; }
.static-content section article .gallery-slideshow li a img { float:left; background:#37393b; border:1px solid #53595e; padding:1px; box-sizing:border-box; width:100%; display:block; height:auto; }
.static-content section article .gallery-slideshow .bx-pager { width:100%; position:absolute; bottom:-25px; right:0; text-align:center; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.static-content section:nth-child(2n) article { margin:0 25px 0 0; }
.static-content section:nth-child(2n) article:first-child { float:right; margin:0 0 0 25px; }
.static-content section article .spec-block { width:100%; float:left; background:#18181b; padding:10px; box-sizing:border-box; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); margin:20px 0 0 0; }
.static-content section article .spec-block .wrap { width:100%; float:left; padding:15px; box-sizing:border-box; border:1px solid #27272b; font-size:13px; }
.static-content section article .spec-block .wrap .rich-text { line-height:18px; }
.static-content section article .spec-block .wrap .rich-text p:last-child { padding:0; }
.static-content section article .form { width:100%; float:right; background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; box-sizing:border-box; }
.static-content section article .form h2 { width:100%; float:left; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.static-content section article .form .submit { width:100%; float:left; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.static-content section article .form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.static-content section article .form .submit:hover { background:#dcc18f; }
.static-content section article .form p { line-height:18px; color:#7a7c7f; font-size:13px; padding:0 0 25px 0; }
.radio { display:block; padding:20px 0; }
.radio label { line-height:18px; color:#7a7c7f; font-size:13px; display: inline-block; }
.radio div { display: inline-block; padding:0 0 0 20px; }
.radio div label { padding:0 0 0 5px; cursor: pointer }
.radio div input { display: inline-block;position:relative; top:3px; cursor: pointer }
/* Testimonials */
.testimonial { width:100%; float:left; text-align:center; padding:0 100px 40px 100px; box-sizing:border-box; }
.testimonial blockquote { }
.testimonial blockquote:before { content: "\201C"; color:#c1b49c; font-size:55px; margin-right: 0.1em; line-height:0.1em; vertical-align:-0.49em; font-family:Arial, Helvetica, sans-serif; }
.testimonial p { color:#fff; line-height:23px; font-size:16px; font-family:"pt_serifregular"; padding:0 0 10px 0; }
.testimonial span { color:#c1b49c; line-height:22px; }
/* Banners */
.banner { width:100%; float:left; box-sizing:border-box; margin:0 0 20px 0; }
.banner a {padding:5px; display: block; background:#1e1f21; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.banner a img { width:100%; padding:1px; background:#37393b; border:1px solid #53595e; }
.banner a:hover { background:#323336; }
/* References */
ul.reference-list { width: 100%; display: inline-block; text-align: center; }
ul.reference-list li { width: 48%; color: #c1b49c; display: inline-block; vertical-align: top; border:1px solid #584e42; -webkit-border-radius: 1px;-moz-border-radius: 1px;border-radius: 1px; margin: 0 5px 5px 5px; padding: 5px 0; }
footer .banner { }
/* Calculator */
#calculator { width:440px; }
#calculator .head { width:100%; float:left; box-sizing:border-box; background:#af976a; border-top:1px solid #c7b697; padding:16px 20px 13px 20px; }
#calculator .head h2 { color:#fff; font-size:24px; float:left; }
#calculator .head img { float:right; margin:6px 0 0 0; }
#calculator .body { width:100%; float:left; box-sizing:border-box; background:#222226; padding:20px; color:#c7c7c7; }
#calculator .body .select { width:100%; float:left; box-sizing:border-box; margin:35px 0 0 0; }
#calculator .body .select label { width:150px; float:left; padding:8px 0 0 0; }
#calculator .body .select select { width:230px; float:right; border:none; color:#6f6f6f; padding:10px; background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhZWFlYWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ffffff 0%, #aeaeae 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#aeaeae)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#aeaeae 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#aeaeae',GradientType=0 ); /* IE6-8 */
}
#calculator .body .select select option { background:#fff; }
#calculator .body .input { width:100%; float:left; box-sizing:border-box; border-top:1px solid #4e4e51; padding:10px 0 0 0; margin:10px 0 0 0; }
#calculator .body .input label.title { width:100%; float:left; text-transform:uppercase; color:#af976a; padding:0 0 10px 0; }
#calculator .body .input div { width:100%; float:left; box-sizing:border-box; padding:0 0 7px 0; }
#calculator .body .input div div { width:150px; float:left; box-sizing:border-box; padding:0; margin:0; }
#calculator .body .input div label { width:100%; float:left; padding:1px 0 0 0; }
#calculator .body .input div span { color:#606060; font-size:12px; top:-5px; position:relative; }
#calculator .body .input div input { width:210px; float:right; border:none; color:#6f6f6f; padding:10px; }
#calculator .body .submit { width:100%; float:left; border-bottom:1px solid #4e4e51; padding:0 0 10px 0; }
#calculator .body .submit input { width:230px; float:right; border:none; border-top:1px solid #d2c3a7; background:#bba47a; color:#fff; font-size:16px; font-family: 'pt_serifregular'; cursor:pointer; padding:10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
#calculator .body .submit input:hover { background:#dcc18f; }
#calculator .body .sumarum { width:100%; float:left; padding:10px 0 0 0; }
#calculator .body .sumarum .error { color: #d34141; }
#calculator .body .sumarum span { width:70px; float:right; font-size:20px; font-family: 'pt_serifregular'; text-align:right; font-weight:bold; }
#calculator .body .sumarum p { float:right; text-align:right;text-transform:uppercase; color:#af976a; padding:2px 0 0 0; }
#calculator .note { width:100%; float:left; padding:10px; box-sizing:border-box; background:#af976a; margin:20px 0 0 0; }
#calculator .note h2 { width:100%; float:left; color:#010101; font-size:14px; }
#calculator .note p { width:100%; float:left; color:#2c2a2a; font-size:12px; }
/* Before and after */
.before-after-nav { width:80%; margin:0 auto; text-align: center; padding:0 0 15px 0; position:relative; }
.before-after-nav a { padding:3px; background:#1e1f21; box-sizing:border-box; display:inline-block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-nav a img { width:100%; height:auto; display:block; padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-nav a:hover { background:#35383b; }
.before-after-nav a.active { background:#bba47a; }
.before-after-nav a.active img { background:#e9d1a6; border:1px solid #6c5c40; }
.before-after-main { width:80%; margin:0 auto; }
.before-after-main ul li { padding:5px; background:#1e1f21; box-sizing:border-box; }
.before-after-main ul li img { padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-main .bx-controls-direction a { width:36px!important; height:68px!important; background-image:url(../img/arrows.png); background-repeat:no-repeat; margin:0!important; opacity:.1; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-main .bx-controls-direction a:hover { opacity:.6; }
.before-after-main .bx-controls-direction a.bx-prev { background-position:0 0; left:-80px; }
.before-after-main .bx-controls-direction a.bx-next { background-position:100% 0; right:-80px; }
.renewal-block { margin:0 0 20px 0; }
.renewal-block article { position:relative; }
.renewal-block article a { background:#252729; padding:5px; display:block;-o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-block article a:hover { background:#5a5d5f; }
.renewal-block article span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:16px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.renewal-block article:last-child span { left:auto; right:20px; }
.renewal-block article img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; box-sizing:border-box; }
.renewal-gallery.row { margin: 0 -5px; }
.renewal-gallery.row > .column { padding: 0 5px; }
.renewal-gallery a { display: block; background: #2f2f33; padding: 5px; margin: 0 0 10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-gallery a:hover { background: #5a5d5f; }
.renewal-gallery a img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
.renewal-intro { padding: 0 0 20px 0; }
.renewal-intro .renewal-image { background: #2f2f33; padding: 5px; }
.renewal-intro .renewal-image img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
/*
* Core Owl Carousel CSS File
* v1.3.3
*/
/* clearfix */
.owl-carousel .owl-wrapper:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
/* display none until init */
.owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; }
.owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); margin:0 auto; }
.owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; }
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition: height 500ms ease-in-out;-moz-transition: height 500ms ease-in-out;-ms-transition: height 500ms ease-in-out;-o-transition: height 500ms ease-in-out;transition: height 500ms ease-in-out;}
.owl-carousel .owl-item{ float: left; }
.owl-controls .owl-page, .owl-controls .owl-buttons div { width:16px; height:31px; cursor:pointer; background-image:url(../img/arrows2.png); background-repeat:no-repeat; opacity:0.4; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; text-indent:-9999px; position:absolute; }
.owl-controls .owl-buttons div:hover { opacity:1; }
.owl-controls .owl-buttons div.owl-prev { background-position:0 0; left:-30px; }
.owl-controls .owl-buttons div.owl-next { background-position:100% 0; right:-30px; }
.owl-controls { width:100%; position:absolute; top:15px; }
/* mouse grab icon */
.grabbing { cursor:url(grabbing.png) 8 8, move; }
/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); }
/* FAQ */
.faq-list { width:100%; }
.faq-list .single-faq { width:100%; background:#111113; box-sizing:border-box; margin:0 0 1px; padding:10px; }
.faq-list .single-faq .single-faq-inner { width:100%; background:#202023; box-sizing:border-box; border:1px solid #29292f; padding:1px; }
.faq-list .single-faq .single-faq-inner .question { width:100%; background:#202023; box-sizing:border-box; padding:8px 10px; cursor:pointer; transition:all 0.2s ease-out 0s; }
.faq-list .single-faq .single-faq-inner .question:hover { background:#1c1c1e; }
.faq-list .single-faq .single-faq-inner .question h2 { color:#bcb6a9; font-size:15px; position:relative; line-height: 20px; }
.faq-list .single-faq .single-faq-inner .question h2::before { color:#6c675d; content:"▸"; margin:0 5px 0 0; }
.faq-list .single-faq .single-faq-inner .answer { width:100%; box-sizing:border-box; padding:10px; color:#c1b49c; line-height:22px; }
.faq-list .single-faq .single-faq-inner .answer a { color:#ebce98; text-decoration:underline; }
.faq-list .single-faq .single-faq-inner .answer a:hover { text-decoration:none; }
.faq-list .single-faq .single-faq-inner .question.active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active h2 { color:#292c31; }
.faq-list .single-faq .single-faq-inner .question.active h2:before { content:'▾'; color:#292c31; }
.row,.row:after{display:block;clear:both}.row{margin:0 -15px;width:auto;position:relative}.row:after{visibility:hidden;font-size:0;content:" ";height:0}.row>.column{padding:0 15px;float:left}.row>.column.pull-right{float:right}.row>.column.__12{width:100%}.row>.column.__11{width:91.666666%}.row>.column.__10{width:83.333333%}.row>.column.__9{width:75%}.row>.column.__8{width:66.666666%}.row>.column.__7{width:58.333333%}.row>.column.__6{width:50%}.row>.column.__5{width:41.666666%}.row>.column.__4{width:33.333333%}.row>.column.__3{width:25%}.row>.column.__2{width:16.666666%}.row>.column.__1{width:8.333333%}@media only screen and (max-width:1279px){.row>.column.lt__6{width:100%}.row>.column.lt__5{width:83.333333%}.row>.column.lt__4{width:66.666666%}.row>.column.lt__3{width:50%}.row>.column.lt__2{width:33.333333%}.row>.column.lt__1{width:16.666666%}}@media only screen and (max-width:1023px){.row>.column.st__6{width:100%}.row>.column.st__5{width:83.333333%}.row>.column.st__4{width:66.666666%}.row>.column.st__3{width:50%}.row>.column.st__2{width:33.333333%}.row>.column.st__1{width:16.666666%}}@media only screen and (max-width:767px){.row>.column.m__1{width:50%}.row>.column.__1,.row>.column.__10,.row>.column.__11,.row>.column.__12,.row>.column.__2,.row>.column.__3,.row>.column.__4,.row>.column.__5,.row>.column.__6,.row>.column.__7,.row>.column.__8,.row>.column.__9,.row>.column.lt__1,.row>.column.lt__2,.row>.column.lt__3,.row>.column.lt__4,.row>.column.lt__5,.row>.column.lt__6,.row>.column.m__2,.row>.column.st__1,.row>.column.st__2,.row>.column.st__3,.row>.column.st__4,.row>.column.st__5,.row>.column.st__6{width:100%}}.row.block-row.__2-block .column{width:50%}.row.block-row.__3-block .column{width:33.3333333%}.row.block-row.__4-block .column{width:25%}.row.block-row.__5-block .column{width:20%}.row.block-row.__6-block .column{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .column{width:50%}.row.block-row.lt__3-block .column{width:33.3333333%}.row.block-row.lt__4-block .column{width:25%}.row.block-row.lt__5-block .column{width:20%}.row.block-row.lt__6-block .column{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .column{width:50%}.row.block-row.st__3-block .column{width:33.3333333%}.row.block-row.st__4-block .column{width:25%}.row.block-row.st__5-block .column{width:20%}.row.block-row.st__6-block .column{width:16.666666666%}.row .column.tablet-hide{display: none}}@media only screen and (max-width:767px){.row{margin: 0;}.row.block-row.__2-block .column, .row.block-row.__3-block .column, .row.block-row.__4-block .column, .row.block-row.__5-block .column, .row.block-row.__6-block .column, .row.block-row.lt__2-block .column, .row.block-row.lt__3-block .column, .row.block-row.lt__4-block .column, .row.block-row.lt__5-block .column, .row.block-row.lt__6-block .column, .row.block-row.st__2-block .column, .row.block-row.st__3-block .column, .row.block-row.st__4-block .column, .row.block-row.st__5-block .column, .row.block-row.st__6-block .column {width:100%}.row.block-row.m__2-block .column{width:50%}.row.block-row.m__3-block .column{width:33.3333333%}.row.block-row.m__4-block .column{width:25%}}.row.__5-margin{margin:0 -5px}.row.__5-margin .column{padding:0 5px}.row.__0{margin:0}.row.__0 .column{padding:0}
.row .youtube-videogallery-item {padding:0 15px;float:left}
.row.block-row.__2-block .youtube-videogallery-item{width:50%}.row.block-row.__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.__4-block .youtube-videogallery-item{width:25%}.row.block-row.__5-block .youtube-videogallery-item{width:20%}.row.block-row.__6-block .youtube-videogallery-item{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .youtube-videogallery-item{width:50%}.row.block-row.lt__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.lt__4-block .youtube-videogallery-item{width:25%}.row.block-row.lt__5-block .youtube-videogallery-item{width:20%}.row.block-row.lt__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .youtube-videogallery-item{width:50%}.row.block-row.st__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.st__4-block .youtube-videogallery-item{width:25%}.row.block-row.st__5-block .youtube-videogallery-item{width:20%}.row.block-row.st__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:767px){.row.block-row.__2-block .youtube-videogallery-item, .row.block-row.__3-block .youtube-videogallery-item, .row.block-row.__4-block .youtube-videogallery-item, .row.block-row.__5-block .youtube-videogallery-item, .row.block-row.__6-block .youtube-videogallery-item, .row.block-row.lt__2-block .youtube-videogallery-item, .row.block-row.lt__3-block .youtube-videogallery-item, .row.block-row.lt__4-block .youtube-videogallery-item, .row.block-row.lt__5-block .youtube-videogallery-item, .row.block-row.lt__6-block .youtube-videogallery-item, .row.block-row.st__2-block .youtube-videogallery-item, .row.block-row.st__3-block .youtube-videogallery-item, .row.block-row.st__4-block .youtube-videogallery-item, .row.block-row.st__5-block .youtube-videogallery-item, .row.block-row.st__6-block .youtube-videogallery-item {width:100%}.row.block-row.m__2-block .youtube-videogallery-item{width:50%}.row.block-row.m__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.m__4-block .youtube-videogallery-item{width:25%}} .row.__5-margin .youtube-videogallery-item{padding:0 5px}
.fancybox-title { text-align: center; font-size: 15px!important; font-weight: bold!important; }
@media all and (min-width:1280px) {
#openLeftMenu { display: none!important; }
}
@media all and (max-width:1279px) {
header .logo { margin: 0 auto; display: block; }
body { position: relative; left: 0; right: 0; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out; -ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right,#off-canvas-left { height: 100%; position: fixed; top: 0; bottom: 0; overflow-y: auto; display: inline-block; float: none; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right { width: 50%; right: -50%; padding: 0; }
#off-canvas-left { width: 50%; left: -50%; padding: 20px 0; }
#openRightMenu, #openLeftMenu { display: block; }
body.off-canvas-right-opened { left: -50%; right: auto; overflow-x: visible; }
body.off-canvas-right-opened #off-canvas-right { right: 0; opacity: 1; background: #222226; float: none; display: block; padding: 0; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li { width: 100%; margin: 0; display: block; border-bottom: 1px solid #37373b; text-align: left; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a { display: block; float: none; color: #797984; font-size: 18px; font-weight: bold; padding: 15px 30px; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a:hover { color: #fff; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a { color:#d9bd8a; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a:after { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.dropdown:after { top: 25px; right: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #797984; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul { width: 100%; position: relative; left: auto; top: auto; border: none; -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);-moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul:before { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul > li > a { font-size: 16px; color: #797984; padding: 13px 31px; }
body.off-canvas-left-opened { left: 50%; right: auto; overflow-x: visible; }
body.off-canvas-left-opened #off-canvas-left { left: 0; opacity: 1; background: #222226; }
body.off-canvas-left-opened #off-canvas-left .vertical-menu ul li ul li a { padding: 10px 0; }
.breadcrumbs { text-align: center; }
.breadcrumbs p { display: inline-block; float: none; }
.breadcrumbs ul { display: inline-block; }
.page-title { text-align: center; padding: 30px 0; }
.page-title .inner div { width: 100%; float: none; border: none; padding: 0; }
.product-details .social { text-align: center; }
.product-details .social .fb-like-button, .product-details .social .tweet-button { float: none; display: inline-block;}
header .logo { padding:5px 0; }
header .right ul.lang { display:none; }
footer .inner .middle { padding:20px 0; }
footer .inner .middle .newsletter .textfield { width:180px; }
.article-grid-smallgrid article span { top:40px; left:50px; }
.content .banner { display: none; }
}
@media only screen and (max-width : 1023px) {
.home-block { width:98%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.static-content section article { width:100%; }
.static-content section article:nth-child(2) { width:60%; margin:0 auto; float:none; display:table; }
.article-grid article a { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article { width:48%; }
.article-grid-smallgrid article span { left:60px; }
.main-content { width:100%; display:block; margin:0 auto; }
.news-details .img { width:50%; }
.news-details .img img { width:100%; height:auto; display:block; }
.contact-info:nth-child(2) { padding:0; }
.contact-form { width:100%; box-sizing:border-box; margin:30px 0 0 0; }
.fader { padding:40px 0 0 0; }
header { position:fixed; }
header .logo { width:110px; margin:0 auto; float:none; }
header .logo img { width:100%; height:auto; display:block; }
footer .inner { width:100%; }
footer .inner .middle { width:100%; box-sizing:border-box; padding:20px 25px; }
footer .inner .middle .wrap .menu { width:100%; text-align:center; }
footer .inner .middle .wrap .menu ul li { float:none; display:inline-block; }
footer .inner .middle .newsletter { margin:0 auto; float:none; display:table; padding:20px 0 0 0; }
footer .inner .bottom { width:100%; padding:0 25px; box-sizing:border-box; }
}
@media only screen and (max-width : 767px) {
.phone-hide { display: none!important; }
#openRightMenu { top: 17px; }
#openLeftMenu { top: 17px; }
html { overflow-x:hidden;}
#main-menu {width:70%;right:-70%; }
#category-menu {width:70%; left:-70%; }
.home-block .block { width:100%; box-sizing:border-box; padding:30px 20px; margin:0 0 10px 0; }
.home-block .block article span { width:100%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.testimonial { padding:0 0 40px 0; }
header .right ul.lang { float:none; padding:15px 0; margin:0 auto; text-align:center; }
header .right ul.lang li { float:none; display:inline-block; padding:0; margin:0 10px; }
header .right ul.lang li a { float:left; color:#484b4e; font-size:15px; }
header .right ul.lang li a:hover { color:#fff; }
header .right ul.lang li.active a { color:#bba47a; }
header .right nav { width:100%; float:right; padding:12px 0 0 0; }
header .right nav ul { float:left; }
header .right nav ul li { width:100%; float:left; display:block; margin:0 0 1px 0; position:relative; border-bottom:1px solid #1a1a1b; }
header .right nav ul li:first-child { margin:0 0 1px 0; }
header .right nav ul li a { width:100%; float:left; font-size:16px; color:#8c8c8c; text-transform:uppercase; padding:10px; box-sizing:border-box; }
header .right nav ul li a:hover { color:#fff; }
header .right nav ul li:after { display:none; }
header .right nav ul li:hover:after { width:100%; }
header .right nav ul li.active:hover:after { width:0; }
header .right nav ul li.active { border-bottom:1px solid #1a1a1b; }
header .right nav ul li.active a { background:#bba47a; color:#fff; }
footer .inner { width:94%; }
footer .inner .top { width:100%; padding:20px; box-sizing:border-box; }
footer .inner .middle { width:100%; padding:20px 0; }
footer .inner .middle .wrap { padding: 0;}
footer .inner .middle .wrap .menu { width:100%; padding:0; }
footer .inner .middle .wrap .menu ul li { width:100%; margin:0; text-align:center; }
footer .inner .middle .wrap .menu ul li a { float:none; display:block; padding:10px 0; }
footer .inner .middle .newsletter { width:100%; float:left; border-top:1px solid #313234; }
footer .inner .middle .newsletter form { float:none; display:table; margin:0 auto; }
footer .inner .middle .newsletter .textfield { width:218px; }
footer .inner .middle .newsletter p { width:100%; text-align:center; padding:10px 0; }
footer .inner .bottom { width:100%; float:left; text-align:center; }
footer .inner .bottom p { width:100%; float:left; text-align:center; padding:5px 0; }
footer .inner .bottom .right { text-align:center; }
.page-content { margin:0 auto; background:#000; background-image:none; }
.breadcrumbs p { display:none; }
.page-title .inner div { width:100%; float:left; border-left:none; border-bottom:1px solid #bba47a; text-align:center; padding:0 0 15px 0; }
.page-title .inner span { width:100%; padding:10px 0 0 0; position:relative; top:0; float:left; text-align:center; }
.page-title .inner span img { width:120px; }
.main-content { width:100%; padding:0; }
.special-note div { display:none; }
/* Rich text */
.rich-text { text-align:justify; }
/* Special note */
.special-note { text-align:center; }
/* Article grid */
.article-grid-smallgrid article span { width:200px; box-sizing:border-box; left:50%; margin:0 0 0 -100px; }
.article-grid-smallgrid article span em { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article span em img { width:100%; height:auto; display:block; }
/* Product info */
.product-details .product-info { width:100%; margin:0; }
.product-details .right-info { width:100%; float:left; }
.product-details .product-slideshow { width:100%; }
.product-details .product-slideshow a img { width:100%; height:auto; display:block; box-sizing:border-box; }
.product-details a.link-download { width:100%; box-sizing:border-box; }
.product-details a.link-download span { width:100%; box-sizing:border-box; }
.product-details .pro-banner { width:100%; }
.product-details .pro-banner img { width:100%; height:auto; display:block; margin:10px 0; }
/* News */
.news-details .img { width:100%; }
.news-details .img img { width:100%; height:auto; display:block; box-sizing:border-box; }
/* Contact */
.contact-info { width:100%; padding:0; text-align:center; padding:0 0 20px 0; }
.contact-form { width:100%; box-sizing:border-box; }
.page-content { padding: 0 0 20px 0;}
/* Calculator */
#calculator { width:100%; }
#calculator .head h2 { width:100%; text-align:center; }
#calculator .head img { float:none; display:block; margin:10px auto 0 auto; }
#calculator .body p { text-align:justify; }
#calculator .body .select label { width:100%; text-align:center; padding:0 0 10px 0; }
#calculator .body .input { text-align:center; }
#calculator .body .input div div { width:100%; }
#calculator .body .select select { width:100%; box-sizing:border-box; }
#calculator .body .input div input { width:100%; box-sizing:border-box; }
#calculator .body .submit input { width:100%; box-sizing:border-box; }
.page-title { padding: 10px 0 10px 0;}
.page-title .inner div h2 { min-height: 0;}
.page-title .inner div h1 { margin: 10px 0 0 0 ;}
.slider { display:none; }
footer .banner { margin: 20px 0 0 0;}
.lines-button { display:inline-block; }
.cat-menu { display:block; }
.before-after-main { width:100%; }
.add-image { width:100%; margin:0 0 40px 0; max-width: 100%;}
ul.reference-list li { width: 100%; margin: 0 0 5px 0; }
}
@media only screen and (max-width : 767px) and (orientation:portrait) {
body.off-canvas-right-opened { left: -80%; }
#off-canvas-right { width: 80%; right: -80%; }
body.off-canvas-left-opened { left: 80%; }
#off-canvas-left { width: 80%; left: -80%; }
}
',
'modified' => '2016-11-10 14:47:39'
)
),
'Javascript' => array(
(int) 0 => array(
'id' => (int) 99,
'name' => 'main',
'data' => '$(document).ready(function(){
// Hamburger icon menu
var forEach = function (t, o, r) {
if ("[object Object]" === Object.prototype.toString.call(t))for (var c in t)Object.prototype.hasOwnProperty.call(t, c) && o.call(r, t[c], c, t); else for (var e = 0, l = t.length; l > e; e++)o.call(r, t[e], e, t)
};
var hamburgers = document.querySelectorAll(".hamburger");
if (hamburgers.length > 0) {
forEach(hamburgers, function (hamburger) {
hamburger.addEventListener("click", function () {
this.classList.toggle("is-active");
}, false);
});
}
// Off canvas right menu
$('#openRightMenu').click(function () {
$('body').toggleClass('off-canvas-right-opened');
});
// Off canvas left menu
$('#openLeftMenu').click(function () {
$('body').toggleClass('off-canvas-left-opened');
});
// Responsive menu
if($(window).width() <= 1279) {
$('li.dropdown').click(function() {
$(this).find('ul').stop().slideToggle();
});
}
if(!$.trim( $('.cms-richtext').html() ).length) {
$('.block-about').hide();
}
$('form#newsletterForm').intlxform();
$('form#contactForm').intlxform();
$('form#valpaintForm').intlxform();
if($('div.right-info').find('div.pro-banner').length) {
$('div.right-info').removeClass('photo-grid');
}
// Slideshow
var numImgs = $('.product-slideshow ul img').length;
if (numImgs > 1) {
$('.product-slideshow ul').bxSlider({
controls: true,
mode: 'fade',
controls: false,
auto: true,
pause: 3000,
speed: 1500
});
}
$(".fancybox").fancybox({
scrolling : 'yes',
cyclic : true,
helpers : {
overlay: {
locked: false
},
title: {
type: 'inside',
position: 'bottom'
}
}
});
$('.data-anchor').click(function() {
var anchor = $('#' + $(this).data('anchor')).offset().top;
$('html, body').animate({scrollTop: anchor}, 800);
});
$('a.link-download').click(function() {
catalougeWindow = window.open(this.href, 'name', 'height=650, width=900');
if(window.focus) {
catalougeWindow.focus()
}
return false;
});
// Accordion
$('.head').click(function() {
$('.product-block .head').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.body');
targetElement.slideToggle();
$('.product-block .body').not(targetElement).slideUp();
});
$('.question').click(function() {
$('.faq-list .question').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.answer');
targetElement.slideToggle();
$('.faq-list .answer').not(targetElement).slideUp();
});
// YouTube popup
$("ul.youtube-videogallery").youtubeVideoGallery();
$('form.calculator-form').submit(function() {
var span = $(this).find('.sumarum span');
var error = $(this).find('.error');
var result = parseFloat($('#CalculatorWallWidth').val()) * parseFloat($('#CalculatorWallHeight').val()) / parseFloat($('#CalculatorDimension').val());
/* Show error, if any */
error.text('');
if(isNaN(result) || result <= 0) {
span.text('');
error.text('Unete vrednosti nisu korektne');
} else {
span.text(Math.ceil(result));
}
return false;
});
});
$(window).load(function() {
if($('body').find('div.side-content').length) {
$('#openLeftMenu').show();
}
});
$(window).resize(function () {
$('body').trigger('click')
});
',
'modified' => '2016-11-10 14:49:31'
),
(int) 1 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4.pack',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
(function(C,z,f,r){var q=f(C),n=f(z),b=f.fancybox=function(){b.open.apply(this,arguments)},H=navigator.userAgent.match(/msie/),w=null,s=z.createTouch!==r,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},p=function(a){return a&&"string"===f.type(a)},F=function(a){return p(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&F(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},x=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.4",defaults:{padding:15,margin:20,width:800,
height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",
34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+
(H?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,
openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,
isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,
c.metadata())):k=c);g=d.href||k.href||(p(c)?c:null);h=d.title!==r?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));p(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":p(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(p(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&
k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==r&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||
b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=
setTimeout(b.next,b.current.playSpeed))},c=function(){d();f("body").unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,f("body").bind({"afterShow.player onUpdate.player":e,"onCancel.player beforeClose.player":c,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(p(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},
prev:function(a){var d=b.current;d&&(p(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==r&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},
e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(w),w=null);b.isOpen&&!w&&(w=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),w=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),
b.trigger("onUpdate")),b.update())},hideLoading:function(){n.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");n.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||
!1,d={x:q.scrollLeft(),y:q.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&C.innerWidth?C.innerWidth:q.width(),d.h=s&&C.innerHeight?C.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");n.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&n.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=
e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==r)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&
"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,
e){e&&(b.helpers[d]&&f.isFunction(b.helpers[d][a]))&&(e=f.extend(!0,{},b.helpers[d].defaults,e),b.helpers[d][a](e,c))});f.event.trigger(a+".fb")}},isImage:function(a){return p(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return p(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&
(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=
!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady");
if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=
this.width;b.coming.height=this.height;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,
(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=
b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();
e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",
!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");
a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,
v=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,p=l(y[1]+y[3]),r=l(y[0]+y[2]),z,A,t,D,B,G,C,E,w;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=l(k.outerWidth(!0)-k.width());z=l(k.outerHeight(!0)-k.height());A=p+y;t=r+z;D=F(c)?(a.w-A)*l(c)/100:c;B=F(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(w=h.content,h.autoHeight&&1===w.data("ready"))try{w[0].contentWindow.document.location&&(g.width(D).height(9999),G=w.contents().find("body"),q&&G.css("overflow-x",
"hidden"),B=G.height())}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=l(D);j=l(B);E=D/B;m=l(F(m)?l(m,"w")-A:m);n=l(F(n)?l(n,"w")-A:n);u=l(F(u)?l(u,"h")-t:u);v=l(F(v)?l(v,"h")-t:v);G=n;C=v;h.fitToView&&(n=Math.min(a.w-A,n),v=Math.min(a.h-t,v));A=a.w-p;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/E)),j>v&&(j=v,c=l(j*E)),c<m&&(c=m,j=l(c/E)),j<u&&
(j=u,c=l(j*E))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,v)));if(h.fitToView)if(g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height(),h.aspectRatio)for(;(a>A||p>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(v,j-10)),c=l(j*E),c<m&&(c=m,j=l(c/E)),c>n&&(c=n,j=l(c/E)),g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height();else c=Math.max(m,Math.min(c,c-(a-A))),j=Math.max(u,Math.min(j,j-(p-r)));q&&("auto"===s&&j<B&&c+y+
q<A)&&(c+=q);g.width(c).height(j);e.width(c+y);a=e.width();p=e.height();e=(a>A||p>r)&&c>m&&j>u;c=h.aspectRatio?c<G&&j<C&&c<D&&j<B:(c<G||j<C)&&(c<D||j<B);f.extend(h,{dim:{width:x(a),height:x(p)},origWidth:D,origHeight:B,canShrink:e,canExpand:c,wPadding:y,hPadding:z,wrapSpace:p-k.outerHeight(!0),skinSpace:k.height()-j});!w&&(h.autoHeight&&j>u&&j<v&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",
top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=x(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=x(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&
(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=
a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):
(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:x(c.top-h*a.topRatio),left:x(c.left-j*a.leftRatio),width:x(f+j),height:x(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===
f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,
{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=x(l(e[g])-200),c[g]="+=200px"):(e[g]=x(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=
b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo("body");
this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){f(a.target).hasClass("fancybox-overlay")&&(b.isActive?b.close():d.close())});this.overlay.css(a.css).show()},
close:function(){f(".fancybox-overlay").remove();q.unbind("resize.overlay");this.overlay=null;!1!==this.margin&&(f("body").css("margin-right",this.margin),this.margin=!1);this.el&&this.el.removeClass("fancybox-lock")},update:function(){var a="100%",b;this.overlay.width(a).height("100%");H?(b=Math.max(z.documentElement.offsetWidth,z.body.offsetWidth),n.width()>b&&(a=n.width())):n.width()>q.width()&&(a=n.width());this.overlay.width(a).height(n.height())},onReady:function(a,b){f(".fancybox-overlay").stop(!0,
!0);this.overlay||(this.margin=n.height()>q.height()||"scroll"===f("body").css("overflow-y")?f("body").css("margin-right"):!1,this.el=z.all&&!z.querySelector?f("html"):f("body"),this.create(a));a.locked&&this.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&(this.el.addClass("fancybox-lock"),!1!==this.margin&&f("body").css("margin-right",l(this.margin)+b.scrollbarWidth));this.open(a)},onUpdate:function(){this.fixed||
this.update()},afterClose:function(a){this.overlay&&!b.isActive&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(p(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),
H&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+
'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):n.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};n.ready(function(){f.scrollbarWidth===r&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),
b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===r){var a=f.support,d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body"),e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")})})})(window,document,jQuery);
$(document).ready(function() {
$(".fancybox").fancybox({
helpers: {
title: false,
overlay: {
locked: false
}
}
});
});
',
'modified' => '2016-11-22 16:33:55'
),
(int) 2 => array(
'id' => (int) 6,
'name' => 'owl.carousel',
'data' => '"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,o){var i={init:function(e,o){var i=this;i.$elem=t(o),i.options=t.extend({},t.fn.owlCarousel.options,i.$elem.data(),e),i.userOptions=e,i.loadContent()},loadContent:function(){function e(t){var e,o="";if("function"==typeof i.options.jsonSuccess)i.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(o+=t.owl[e].item);i.$elem.html(o)}i.logIn()}var o,i=this;"function"==typeof i.options.beforeInit&&i.options.beforeInit.apply(this,[i.$elem]),"string"==typeof i.options.jsonPath?(o=i.options.jsonPath,t.getJSON(o,e)):i.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;return 0===t.$elem.children().length?!1:(t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),void t.onStartup())},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),t.options.transitionStyle!==!1&&t.transitionTypes(t.options.transitionStyle),t.options.autoPlay===!0&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){var t=this;t.options.lazyLoad===!0&&t.lazyLoad(),t.options.autoHeight===!0&&t.autoHeight(),t.onVisibleItems(),"function"==typeof t.options.afterAction&&t.options.afterAction.apply(this,[t.$elem])},updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;e.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;return t.$elem.is(":visible")!==!1?!1:(t.$elem.css({opacity:0}),e.clearInterval(t.autoPlayInterval),e.clearInterval(t.checkVisible),void(t.checkVisible=e.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),e.clearInterval(t.checkVisible))},500)))},wrapItems:function(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),t.wrapperOuter=t.$elem.find(".owl-wrapper-outer"),t.$elem.css("display","block")},baseClass:function(){var t=this,e=t.$elem.hasClass(t.options.baseClass),o=t.$elem.hasClass(t.options.theme);e||t.$elem.addClass(t.options.baseClass),o||t.$elem.addClass(t.options.theme)},updateItems:function(){var e,o,i=this;if(i.options.responsive===!1)return!1;if(i.options.singleItem===!0)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1,!1;if(e=t(i.options.responsiveBaseWidth).width(),e>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),i.options.itemsCustom!==!1)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),o=0;o<i.options.itemsCustom.length;o+=1)i.options.itemsCustom[o][0]<=e&&(i.options.items=i.options.itemsCustom[o][1]);else e<=i.options.itemsDesktop[0]&&i.options.itemsDesktop!==!1&&(i.options.items=i.options.itemsDesktop[1]),e<=i.options.itemsDesktopSmall[0]&&i.options.itemsDesktopSmall!==!1&&(i.options.items=i.options.itemsDesktopSmall[1]),e<=i.options.itemsTablet[0]&&i.options.itemsTablet!==!1&&(i.options.items=i.options.itemsTablet[1]),e<=i.options.itemsTabletSmall[0]&&i.options.itemsTabletSmall!==!1&&(i.options.items=i.options.itemsTabletSmall[1]),e<=i.options.itemsMobile[0]&&i.options.itemsMobile!==!1&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&i.options.itemsScaleUp===!0&&(i.options.items=i.itemsAmount)},response:function(){var o,i,n=this;return n.options.responsive!==!0?!1:(i=t(e).width(),n.resizer=function(){t(e).width()!==i&&(n.options.autoPlay!==!1&&e.clearInterval(n.autoPlayInterval),e.clearTimeout(o),o=e.setTimeout(function(){i=t(e).width(),n.updateVars()},n.options.responsiveRefreshRate))},void t(e).resize(n.resizer))},updatePosition:function(){var t=this;t.jumpTo(t.currentItem),t.options.autoPlay!==!1&&t.checkAp()},appendItemsSizes:function(){var e=this,o=0,i=e.itemsAmount-e.options.items;e.$owlItems.each(function(n){var s=t(this);s.css({width:e.itemWidth}).data("owl-item",Number(n)),(n%e.options.items===0||n===i)&&(n>i||(o+=1)),s.data("owl-roundPages",o)})},appendWrapperSizes:function(){var t=this,e=t.$owlItems.length*t.itemWidth;t.$owlWrapper.css({width:e,left:0}),t.appendItemsSizes()},calculateAll:function(){var t=this;t.calculateWidth(),t.appendWrapperSizes(),t.loops(),t.max()},calculateWidth:function(){var t=this;t.itemWidth=Math.round(t.$elem.width()/t.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(t.maximumItem=0,e=0,t.maximumPixels=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var e,o,i,n=this,s=0,a=0;for(n.positionsInArray=[0],n.pagesInArray=[],e=0;e<n.itemsAmount;e+=1)a+=n.itemWidth,n.positionsInArray.push(-a),n.options.scrollPerPage===!0&&(o=t(n.$owlItems[e]),i=o.data("owl-roundPages"),i!==s&&(n.pagesInArray[s]=n.positionsInArray[e],s=i))},buildControls:function(){var e=this;(e.options.navigation===!0||e.options.pagination===!0)&&(e.owlControls=t('<div class="owl-controls"/>').toggleClass("clickable",!e.browser.isTouch).appendTo(e.$elem)),e.options.pagination===!0&&e.buildPagination(),e.options.navigation===!0&&e.buildButtons()},buildButtons:function(){var e=this,o=t('<div class="owl-buttons"/>');e.owlControls.append(o),e.buttonPrev=t("<div/>",{"class":"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=t("<div/>",{"class":"owl-next",html:e.options.navigationText[1]||""}),o.append(e.buttonPrev).append(e.buttonNext),o.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),o.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(o){o.preventDefault(),t(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=t('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(o){o.preventDefault(),Number(t(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(t(this).data("owl-page")),!0)})},updatePagination:function(){var e,o,i,n,s,a,r=this;if(r.options.pagination===!1)return!1;for(r.paginationWrapper.html(""),e=0,o=r.itemsAmount-r.itemsAmount%r.options.items,n=0;n<r.itemsAmount;n+=1)n%r.options.items===0&&(e+=1,o===n&&(i=r.itemsAmount-r.options.items),s=t("<div/>",{"class":"owl-page"}),a=t("<span></span>",{text:r.options.paginationNumbers===!0?e:"","class":r.options.paginationNumbers===!0?"owl-numbers":""}),s.append(a),s.data("owl-page",o===n?i:n),s.data("owl-roundPages",e),r.paginationWrapper.append(s));r.checkPagination()},checkPagination:function(){var e=this;return e.options.pagination===!1?!1:void e.paginationWrapper.find(".owl-page").each(function(){t(this).data("owl-roundPages")===t(e.$owlItems[e.currentItem]).data("owl-roundPages")&&(e.paginationWrapper.find(".owl-page").removeClass("active"),t(this).addClass("active"))})},checkNavigation:function(){var t=this;return t.options.navigation===!1?!1:void(t.options.rewindNav===!1&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled"))))},updateControls:function(){var t=this;t.updatePagination(),t.checkNavigation(),t.owlControls&&(t.options.items>=t.itemsAmount?t.owlControls.hide():t.owlControls.show())},destroyControls:function(){var t=this;t.owlControls&&t.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem>e.maximumItem+(e.options.scrollPerPage===!0?e.options.items-1:0)){if(e.options.rewindNav!==!0)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(e.options.scrollPerPage===!0&&e.currentItem>0&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem<0){if(e.options.rewindNav!==!0)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,o,i){var n,s=this;return s.isTransition?!1:("function"==typeof s.options.beforeMove&&s.options.beforeMove.apply(this,[s.$elem]),t>=s.maximumItem?t=s.maximumItem:0>=t&&(t=0),s.currentItem=s.owl.currentItem=t,s.options.transitionStyle!==!1&&"drag"!==i&&1===s.options.items&&s.browser.support3d===!0?(s.swapSpeed(0),s.browser.support3d===!0?s.transition3d(s.positionsInArray[t]):s.css2slide(s.positionsInArray[t],1),s.afterGo(),s.singleItemTransition(),!1):(n=s.positionsInArray[t],s.browser.support3d===!0?(s.isCss3Finish=!1,o===!0?(s.swapSpeed("paginationSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.paginationSpeed)):"rewind"===o?(s.swapSpeed(s.options.rewindSpeed),e.setTimeout(function(){s.isCss3Finish=!0},s.options.rewindSpeed)):(s.swapSpeed("slideSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.slideSpeed)),s.transition3d(n)):o===!0?s.css2slide(n,s.options.paginationSpeed):"rewind"===o?s.css2slide(n,s.options.rewindSpeed):s.css2slide(n,s.options.slideSpeed),void s.afterGo()))},jumpTo:function(t){var e=this;"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:0>=t&&(t=0),e.swapSpeed(0),e.browser.support3d===!0?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),t.options.autoPlay!==!1&&t.checkAp()),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){var t=this;t.apStatus="stop",e.clearInterval(t.autoPlayInterval)},checkAp:function(){var t=this;"stop"!==t.apStatus&&t.play()},play:function(){var t=this;return t.apStatus="play",t.options.autoPlay===!1?!1:(e.clearInterval(t.autoPlayInterval),void(t.autoPlayInterval=e.setInterval(function(){t.next(!0)},t.options.autoPlay)))},swapSpeed:function(t){var e=this;"slideSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.slideSpeed)):"paginationSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.paginationSpeed)):"string"!=typeof t&&e.$owlWrapper.css(e.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){var e=this;e.$owlWrapper.css(e.doTranslate(t))},css2move:function(t){var e=this;e.$owlWrapper.css({left:t})},css2slide:function(t,e){var o=this;o.isCssFinish=!1,o.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||o.options.slideSpeed,complete:function(){o.isCssFinish=!0}})},checkBrowser:function(){var t,i,n,s,a=this,r="translate3d(0px, 0px, 0px)",l=o.createElement("div");l.style.cssText=" -moz-transform:"+r+"; -ms-transform:"+r+"; -o-transform:"+r+"; -webkit-transform:"+r+"; transform:"+r,t=/translate3d\(0px, 0px, 0px\)/g,i=l.style.cssText.match(t),n=null!==i&&1===i.length,s="ontouchstart"in e||e.navigator.msMaxTouchPoints,a.browser={support3d:n,isTouch:s}},moveEvents:function(){var t=this;(t.options.mouseDrag!==!1||t.options.touchDrag!==!1)&&(t.gestures(),t.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},t.options.mouseDrag===!0&&t.options.touchDrag===!0?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:t.options.mouseDrag===!1&&t.options.touchDrag===!0?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:t.options.mouseDrag===!0&&t.options.touchDrag===!1&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){var e=this;e.$elem.on("dragstart.owl",function(t){t.preventDefault()}),e.$elem.on("mousedown.disableTextSelect",function(e){return t(e.target).is("input, textarea, select, option")})},gestures:function(){function i(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function n(e){"on"===e?(t(o).on(l.ev_types.move,a),t(o).on(l.ev_types.end,r)):"off"===e&&(t(o).off(l.ev_types.move),t(o).off(l.ev_types.end))}function s(o){var s,a=o.originalEvent||o||e.event;if(3===a.which)return!1;if(!(l.itemsAmount<=l.options.items)){if(l.isCssFinish===!1&&!l.options.dragBeforeAnimFinish)return!1;if(l.isCss3Finish===!1&&!l.options.dragBeforeAnimFinish)return!1;l.options.autoPlay!==!1&&e.clearInterval(l.autoPlayInterval),l.browser.isTouch===!0||l.$owlWrapper.hasClass("grabbing")||l.$owlWrapper.addClass("grabbing"),l.newPosX=0,l.newRelativeX=0,t(this).css(l.removeTransition()),s=t(this).position(),p.relativePos=s.left,p.offsetX=i(a).x-s.left,p.offsetY=i(a).y-s.top,n("on"),p.sliding=!1,p.targetElement=a.target||a.srcElement}}function a(n){var s,a,r=n.originalEvent||n||e.event;l.newPosX=i(r).x-p.offsetX,l.newPosY=i(r).y-p.offsetY,l.newRelativeX=l.newPosX-p.relativePos,"function"==typeof l.options.startDragging&&p.dragging!==!0&&0!==l.newRelativeX&&(p.dragging=!0,l.options.startDragging.apply(l,[l.$elem])),(l.newRelativeX>8||l.newRelativeX<-8)&&l.browser.isTouch===!0&&(void 0!==r.preventDefault?r.preventDefault():r.returnValue=!1,p.sliding=!0),(l.newPosY>10||l.newPosY<-10)&&p.sliding===!1&&t(o).off("touchmove.owl"),s=function(){return l.newRelativeX/5},a=function(){return l.maximumPixels+l.newRelativeX/5},l.newPosX=Math.max(Math.min(l.newPosX,s()),a()),l.browser.support3d===!0?l.transition3d(l.newPosX):l.css2move(l.newPosX)}function r(o){var i,s,a,r=o.originalEvent||o||e.event;r.target=r.target||r.srcElement,p.dragging=!1,l.browser.isTouch!==!0&&l.$owlWrapper.removeClass("grabbing"),l.dragDirection=l.owl.dragDirection=l.newRelativeX<0?"left":"right",0!==l.newRelativeX&&(i=l.getNewPosition(),l.goTo(i,!1,"drag"),p.targetElement===r.target&&l.browser.isTouch!==!0&&(t(r.target).on("click.disable",function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t(e.target).off("click.disable")}),s=t._data(r.target,"events").click,a=s.pop(),s.splice(0,0,a))),n("off")}var l=this,p={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};l.isCssFinish=!0,l.$elem.on(l.ev_types.start,".owl-wrapper",s)},getNewPosition:function(){var t=this,e=t.closestItem();return e>t.maximumItem?(t.currentItem=t.maximumItem,e=t.maximumItem):t.newPosX>=0&&(e=0,t.currentItem=0),e},closestItem:function(){var e=this,o=e.options.scrollPerPage===!0?e.pagesInArray:e.positionsInArray,i=e.newPosX,n=null;return t.each(o,function(s,a){i-e.itemWidth/20>o[s+1]&&i-e.itemWidth/20<a&&"left"===e.moveDirection()?(n=a,e.currentItem=e.options.scrollPerPage===!0?t.inArray(n,e.positionsInArray):s):i+e.itemWidth/20<a&&i+e.itemWidth/20>(o[s+1]||o[s]-e.itemWidth)&&"right"===e.moveDirection()&&(e.options.scrollPerPage===!0?(n=o[s+1]||o[o.length-1],e.currentItem=t.inArray(n,e.positionsInArray)):(n=o[s+1],e.currentItem=s+1))}),e.currentItem},moveDirection:function(){var t,e=this;return e.newRelativeX<0?(t="right",e.playDirection="next"):(t="left",e.playDirection="prev"),t},customEvents:function(){var t=this;t.$elem.on("owl.next",function(){t.next()}),t.$elem.on("owl.prev",function(){t.prev()}),t.$elem.on("owl.play",function(e,o){t.options.autoPlay=o,t.play(),t.hoverStatus="play"}),t.$elem.on("owl.stop",function(){t.stop(),t.hoverStatus="stop"}),t.$elem.on("owl.goTo",function(e,o){t.goTo(o)}),t.$elem.on("owl.jumpTo",function(e,o){t.jumpTo(o)})},stopOnHover:function(){var t=this;t.options.stopOnHover===!0&&t.browser.isTouch!==!0&&t.options.autoPlay!==!1&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var e,o,i,n,s,a=this;if(a.options.lazyLoad===!1)return!1;for(e=0;e<a.itemsAmount;e+=1)o=t(a.$owlItems[e]),"loaded"!==o.data("owl-loaded")&&(i=o.data("owl-item"),n=o.find(".lazyOwl"),"string"==typeof n.data("src")?(void 0===o.data("owl-loaded")&&(n.hide(),o.addClass("loading").data("owl-loaded","checked")),s=a.options.lazyFollow===!0?i>=a.currentItem:!0,s&&i<a.currentItem+a.options.items&&n.length&&a.lazyPreload(o,n)):o.data("owl-loaded","loaded"))},lazyPreload:function(t,o){function i(){t.data("owl-loaded","loaded").removeClass("loading"),o.removeAttr("data-src"),"fade"===a.options.lazyEffect?o.fadeIn(400):o.show(),"function"==typeof a.options.afterLazyLoad&&a.options.afterLazyLoad.apply(this,[a.$elem])}function n(){r+=1,a.completeImg(o.get(0))||s===!0?i():100>=r?e.setTimeout(n,100):i()}var s,a=this,r=0;"DIV"===o.prop("tagName")?(o.css("background-image","url("+o.data("src")+")"),s=!0):o[0].src=o.data("src"),n()},autoHeight:function(){function o(){var o=t(s.$owlItems[s.currentItem]).height();s.wrapperOuter.css("height",o+"px"),s.wrapperOuter.hasClass("autoHeight")||e.setTimeout(function(){s.wrapperOuter.addClass("autoHeight")},0)}function i(){n+=1,s.completeImg(a.get(0))?o():100>=n?e.setTimeout(i,100):s.wrapperOuter.css("height","")}var n,s=this,a=t(s.$owlItems[s.currentItem]).find("img");void 0!==a.get(0)?(n=0,i()):o()},completeImg:function(t){var e;return t.complete?(e=typeof t.naturalWidth,"undefined"!==e&&0===t.naturalWidth?!1:!0):!1},onVisibleItems:function(){var e,o=this;for(o.options.addClassActive===!0&&o.$owlItems.removeClass("active"),o.visibleItems=[],e=o.currentItem;e<o.currentItem+o.options.items;e+=1)o.visibleItems.push(e),o.options.addClassActive===!0&&t(o.$owlItems[e]).addClass("active");o.owl.visibleItems=o.visibleItems},transitionTypes:function(t){var e=this;e.outClass="owl-"+t+"-out",e.inClass="owl-"+t+"-in"},singleItemTransition:function(){function t(t){return{position:"relative",left:t+"px"}}var e=this,o=e.outClass,i=e.inClass,n=e.$owlItems.eq(e.currentItem),s=e.$owlItems.eq(e.prevItem),a=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],r=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=!0,e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":r+"px","-moz-perspective-origin":r+"px","perspective-origin":r+"px"}),s.css(t(a,10)).addClass(o).on(l,function(){e.endPrev=!0,s.off(l),e.clearTransStyle(s,o)}),n.addClass(i).on(l,function(){e.endCurrent=!0,n.off(l),e.clearTransStyle(n,i)})},clearTransStyle:function(t,e){var o=this;t.css({position:"",left:""}).removeClass(e),o.endPrev&&o.endCurrent&&(o.$owlWrapper.removeClass("owl-origin"),o.endPrev=!1,o.endCurrent=!1,o.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){var i=this;i.$elem.off(".owl owl mousedown.disableTextSelect"),t(o).off(".owl owl"),t(e).off("resize",i.resizer)},unWrap:function(){var t=this;0!==t.$elem.children().length&&(t.$owlWrapper.unwrap(),t.$userItems.unwrap().unwrap(),t.owlControls&&t.owlControls.remove()),t.clearEvents(),t.$elem.attr("style",t.$elem.data("owl-originalStyles")||"").attr("class",t.$elem.data("owl-originalClasses"))},destroy:function(){var t=this;t.stop(),e.clearInterval(t.checkVisible),t.unWrap(),t.$elem.removeData()},reinit:function(e){var o=this,i=t.extend({},o.userOptions,e);o.unWrap(),o.init(i,o.$elem)},addItem:function(t,e){var o,i=this;return t?0===i.$elem.children().length?(i.$elem.append(t),i.setVars(),!1):(i.unWrap(),o=void 0===e||-1===e?-1:e,o>=i.$userItems.length||-1===o?i.$userItems.eq(-1).after(t):i.$userItems.eq(o).before(t),void i.setVars()):!1},removeItem:function(t){var e,o=this;return 0===o.$elem.children().length?!1:(e=void 0===t||-1===t?-1:t,o.unWrap(),o.$userItems.eq(e).remove(),void o.setVars())}};t.fn.owlCarousel=function(e){return this.each(function(){if(t(this).data("owl-init")===!0)return!1;t(this).data("owl-init",!0);var o=Object.create(i);o.init(e,this),t.data(this,"owlCarousel",o)})},t.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 5,
'name' => 'jquery.panelslider.min',
'data' => '/*
* jQuery Panel Slider plugin v0.1.1
* https://github.com/eduardomb/jquery-panelslider
*/
(function($) {
'use strict';
var $body = $('body'),
_sliding = false;
function _slideIn(panel, options) {
var panelWidth = panel.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(panel.is(':visible') || _sliding) {
return;
}
_sliding = true;
$body.addClass('ps-active');
panel.addClass('ps-active-panel').css({
position: 'fixed',
top: 0,
height: '100%',
'z-index': 999999
});
panel.data(options);
switch (options.side) {
case 'left':
panel.css({
left: '-' + panelWidth + 'px',
right: 'auto'
});
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.left = '+=' + panelWidth;
break;
case 'right':
panel.css({
left: 'auto',
right: '-' + panelWidth + 'px'
});
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.right = '+=' + panelWidth;
break;
}
$body.animate(bodyAnimation, options.duration);
panel.show().animate(panelAnimation, options.duration, function() {
_sliding = false;
if(typeof options.onOpen == 'function') {
options.onOpen();
}
});
}
$.panelslider = function(element, options) {
var active = $('.ps-active-panel');
var defaults = {
side: 'left', // panel side: left or right
duration: 200, // Transition duration in miliseconds
clickClose: true, // If true closes panel when clicking outside it
onOpen: null // When supplied, function is called after the panel opens
};
options = $.extend({}, defaults, options);
// If another panel is opened, close it before opening the new one
if(active.is(':visible') && active[0] != element[0]) {
$.panelslider.close(function() {
_slideIn(element, options);
});
} else if(!active.length || active.is(':hidden')) {
_slideIn(element, options);
}
};
$.panelslider.close = function(callback) {
var active = $('.ps-active-panel'),
duration = active.data('duration'),
panelWidth = active.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(!active.length || active.is(':hidden') || _sliding) {
return;
}
_sliding = true;
switch(active.data('side')) {
case 'left':
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.left = '-=' + panelWidth;
break;
case 'right':
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.right = '-=' + panelWidth;
break;
}
active.animate(panelAnimation, duration);
$body.animate(bodyAnimation, duration, function() {
active.hide();
active.removeClass('ps-active-panel');
_sliding = false;
if(callback) {
callback();
}
}).removeClass('ps-active');
};
// Bind click outside panel and ESC key to close panel if clickClose is true
$(document).bind('click keyup', function(e) {
var active = $('.ps-active-panel');
if(e.type == 'keyup' && e.keyCode != 27) {
return;
}
if(active.is(':visible') && active.data('clickClose')) {
$.panelslider.close();
}
});
// Prevent click on panel to close it
$(document).on('click', '.ps-active-panel', function(e) {
e.stopPropagation();
});
$.fn.panelslider = function(options) {
this.click(function(e) {
var active = $('.ps-active-panel'),
panel = $(this.getAttribute('href'));
// Close panel if it is already opened otherwise open it
if (active.is(':visible') && panel[0] == active[0]) {
$.panelslider.close();
} else {
$.panelslider(panel, options);
}
e.preventDefault();
e.stopPropagation();
});
return this;
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 4,
'name' => 'intlxform',
'data' => '
if($('body').hasClass('locale-sr')) {
var checkingData = 'Provera podataka';
} else {
var checkingData = 'Checking data';
}
(function($){
// Create some defaults, extending them with any options that were provided
$.fn.intlxform = function(options) {
var _top = $(this);
var settings = {
'type': 'post',
'action' : '',
'showResponse' : true,
'loadingMessage' : checkingData,
'wrapElem' : '',
'clearForm': true,
'fieldRemark' : true,
'hideForm' : false,
'onSuccess' : null,
'onFailure' : null,
'onError' : null,
'onFinish' : null,
'headers': {
'Accept' : 'application/json; charset=utf-8'
}
};
settings = $.extend(settings, options);
return this.each(function() {
if(settings.type.length == 0) {
if($(this).attr('method') != undefined) {
settings.type = $(this).attr('method');
}
}
if(settings.action.length == 0) {
if($(this).attr('action') != undefined) {
settings.action = $(this).attr('action');
}
}
$(this).submit(function(event){
event.preventDefault();
// Abort any pending request
if (request) {
request.abort();
}
// Setup some local variables
var $form = $(this);
// Cache all fields
var $inputs = $form.find("input, select, button, textarea");
// Serialize the data in the form
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined') {
if($(this).attr('data-defaultValue') == $(this).val()) {
$(this).val('');
}
}
});
var serializedData = $form.serialize();
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() =='') {
$(this).val($(this).attr('data-defaultValue'));
}
});
// Disable the inputs for the duration of the ajax request
$inputs.prop("disabled", true);
$form.find(".form-message").text(settings.loadingMessage);
// Fire off the request
var request = $.ajax({
url: settings.action,
type: settings.type,
headers: settings.headers,
data: serializedData
});
// Callback handler that will be called on success
request.done(function (response, textStatus, jqXHR){
parseFormResponse(response, $form);
});
// callback handler that will be called on failure
request.fail(function (jqXHR, textStatus, errorThrown){
if(typeof settings.onFailure == 'function') {
settings.onFailure.call();
} else {
console.error(
"The following error occured: "+
textStatus, errorThrown
);
}
});
// callback handler that will be called regardless
// if the request failed or succeeded
request.always(function () {
// reenable the inputs
$inputs.prop("disabled", false);
});
// prevent default posting of form
event.preventDefault();
});
})
function parseFormResponse(response, form) {
form.find(".form-message").text('');
form.find(".validation-error").removeClass('validation-error');
form.find(".validation-error-message").remove();
// Make sure we have a JSON response
if(typeof response == "string") {
try {
response = JSON.parse(response);
} catch(e) {
return false;
}
}
// On error occured
if(!response.response) {
for(var fieldName in response.errors) {
var message = response.errors[fieldName];
var parent = form.find("[name='data[" + fieldName + "]']").last().parent();
parent.addClass('validation-error');
if(settings.fieldRemark == true) {
parent.append('<div class="validation-error-message">' + message + '</div>');
}
}
// Callback: On error
if(typeof settings.onError == 'function') {
settings.onError(response);
}
// On Success
} else {
// Callback: On success
if(typeof settings.onSuccess == 'function') {
settings.onSuccess(response);
}
// Clear form
if(settings.clearForm) {
form.find("input, select, textarea").not('[type=button], [type=submit], [type=radio], [type=reset], .persistent').val('');
}
}
// Show message, if any
if(response.message != null && response.message != '' && settings.showResponse) {
var messageElement = form.find(".form-message");
messageElement.removeClass('form-message-error').removeClass('form-message-success');
messageElement.addClass(response.response ? 'form-message-success' : 'form-message-error');
messageElement.text(response.message).show();
}
// Callback: On finish
if(typeof settings.onFinish == 'function') {
settings.onFinish(response);
}
}
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 5 => array(
'id' => (int) 3,
'name' => 'jquery.youtubevideogallery',
'data' => '/**
* youtubeVideoGallery plugin for jquery
* Simple video gallery for youtube, for more details see http://plugins.jquery.com/youtubevideogallery
*
* @author clanceyp
* @see http://plugins.jquery.com/youtubevideogallery/
* @version 1.3.0
*
*/
;(function($) {
"use strict";
$.fn.extend({
youtubeVideoGallery:function(options) {
var version = '1.3.0',
isLegacyIE = (/\bMSIE [4|5|6|7]/.test(navigator.userAgent)),
defaults = {
assetFolder : '',
fancybox : {
arrows : false,
closeBtn : true,
closeEffect : 'fade',
helpers : {
media : {},
buttons : {}
},
openEffect : 'fade'
},
forceLegacyIE:false,
iframeTemplate:'<iframe title="Youtube video player" id="youtube-videogallery-iframe" style="height:{options.innerHeight}px;width:{options.innerWidth}px;" frameborder="0" src="about:blank" />',
innerHeight: 450,
innerWidth: 600,
newWindow: '(opens in a new window)',
playButton: '/img/ico_play.png',
plugin:'self',
style:'',
title:'default',
thumbWidth: '100%',
videos:[],
urlImg : 'http://img.youtube.com/vi/$id/0.jpg',
urlEmbed : 'http://www.youtube.com/embed/$id',
urlLink : 'http://www.youtube.com/watch?v=$id'
};
this.test = {};
this.version = version;
function log(message){
if ('console' in window && window.console.log){
window.console.log(message);
}
}
function getVideoLinks($this){
var arr = [],
a = $this.find("a");
a.each(function(i, el){
arr.push({
id: getId( $(el).attr('href') ),
title: $(el).text()
});
});
return arr;
}
function getIdFromEntry(obj){
if (typeof obj === 'string'){
return getId(obj);
} else if (obj.id && typeof obj.id === 'string'){
return obj.id;
} else if (obj.link && obj.link.length ){
for ( var i = 0, l = obj.link.length; i < l ; i++){
if (obj.link[i].type === 'text/html'){
return getId(obj.link[i].href)
}
}
}
log('could not find ID from object, maybe an unsupported API?')
return '';
}
function getId(href){
var id = '';
if (!!href && href.indexOf('www.youtube.com/v/') > 0) {
id = getBefore(href.split('www.youtube.com/v/')[1], '?')
} else if (!!href && href.indexOf('/embed/') > 0){
id = getBefore(href.split('/embed/')[1], '?');
} else if (!!href && href.indexOf('?v=') > 0){// this could be version if API call!!
id = getBefore(href.split('?v=')[1],'&');
} else if (!!href && href.indexOf('video:') > 0){
id = getBefore(href.split('video:')[1], ':');
} else if (!!href){
id = href;
}
return id;
}
function getBefore(str, before){
if (!!str && str.indexOf(before)){
str = str.split(before)[0];
}
return str;
}
function getIframeTemplate(innerWidth, innerHeight){
var str = options.iframeTemplate;
return str.replace('{options.innerHeight}', innerHeight).replace('{options.innerWidth}', innerWidth);
}
function open(e){
var el = e.currentTarget;
e.preventDefault();
$('div.youtube-videogallery-bodycover').css( { 'height':$(document).height()} );
$('div.youtube-videogallery-display').css({
'marginLeft':-options.innerWidth/2,
'marginTop':-options.innerHeight/2
});
$('#youtube-videogallery-iframe').attr( 'src', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) );
$('body').addClass('youtube-videogallery-active');
}
function close(e){
$('#youtube-videogallery-iframe').attr( 'src', 'about:blank');
$('body').removeClass('youtube-videogallery-active');
}
function setButtonMargin(w, h, context){
if (w === 0 || h === 0){
$(context).find("img.youtube-videogallery-play").remove();
return;
}
$(context).find("img.youtube-videogallery-play").css({
'marginLeft':'-23px',
'marginTop':'-33.5px'
});
}
function getStyle(style){
if (!!style){
return "youtube-videogallery-" + style;
}
return '';
}
function getTitleStyle(title){
return title === 'full' ? 'youtube-videogallery-allowtitle' : '';
}
function getVideosFromFeed(data){
var videos = [],
items = (data && data.data && data.data.items) ? data.data.items
: (data && data.feed && data.feed.entry) ? data.feed.entry : [];
$( items ).each(function(i, item){
var id = getIdFromEntry(item);
videos.push({
id: getIdFromEntry(item),
title: item.title.$t || item.title
});
});
return videos;
}
/**
* this.test = object
*
* Test object to expose private methods to a test API.
* This allows us to test private methods, without
* exposing them (e.g. they can't be overwritten)
*
*/
this.test = {
getBefore:getBefore,
getId:getId,
getVideoLinks:getVideoLinks,
getIframeTemplate:getIframeTemplate,
getTitleStyle:getTitleStyle,
getStyle:getStyle,
getVideosFromFeed:getVideosFromFeed,
getIdFromEntry:getIdFromEntry
};
function load($this, options) {
var videos = ( options.videos.length ) ? options.videos : getVideoLinks($this),
html = '',
href, src, titleSpan, video,
playButtonSrc = (!!options.assetFolder) ? options.assetFolder +'/'+ options.playButton : options.playButton ,
img = document.createElement('img');
img.onload = function(){
setButtonMargin(this.width, this.height, $this);
};
img.onerror = function(){
setButtonMargin(0, 0, $this);
};
img.src = playButtonSrc+'?'+ +(new Date());
for (var i = 0, l = videos.length; i < l; i++){
video = videos[i];
if (!video.id){continue;}
href = options.urlLink.replace("$id", video.id);
src = options.urlImg.replace("$id", video.id);
titleSpan = (!!video.title && options.title !== 'none') ? '<span class="youtube-videogallery-title">'+ video.title +'</span>' : '';
html+= '<li class="youtube-videogallery-item"><a title="'+video.title+'" data-youtube-id="'+ video.id +'" href="'+ href +'" class="youtube-videogallery-link"><img class="youtube-videogallery-play" src="'+ playButtonSrc +'" title="play" /><img class="youtube-videogallery-img" src="'+ src +'" />'+ titleSpan +'</a></li>';
}
$this.empty()
.append(html)
.addClass('youtube-videogallery-container')
.addClass( getStyle( options.style ) )
.addClass( getTitleStyle( options.title ) );
if (options.supported && options.plugin === 'colorbox' && $.colorbox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('href', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) )
.attr('aria-controls','youtube-videogallery-iframe')
.colorbox({iframe:true, innerWidth:options.innerWidth, innerHeight:options.innerHeight});
});
} else if (options.supported && options.plugin === 'fancybox' && !!$().fancybox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('rel', 'media-gallery')
.fancybox(options.fancybox);
});
} else if (options.supported && options.plugin === 'self'){
if (!$('div.youtube-videogallery-bodycover').length){
$('body')
.append('<div class="youtube-videogallery-bodycover"/>')
.append('<div class="youtube-videogallery-display">'+ getIframeTemplate(options.innerWidth, options.innerHeight) +'</div>');
$('div.youtube-videogallery-bodycover').on('click',close);
$(document).on('keydown', function(e) {
if (e.which === 27) {
close();
}
});
}
$this.find("a.youtube-videogallery-link").on('click',open);
} else {
$this.find("a.youtube-videogallery-link")
.attr('target','_blank')
.append('<span class="youtube-videogallery-screen-reader-only">'+options.newWindow+'</span>')
.each(function(i, el){
$(el).attr('title', $(el).attr('title')+' '+ options.newWindow);
});
}
return $this;
}
// Set options
options = $.extend(defaults, options);
options.supported = (
/* don't show lightbox if: old untested jquery version, or the lightbox is bigger than the viewport */
!!$().on &&
( $(window).width() > options.innerWidth || $(window).height() > options.innerHeight)
);
options.plugin = (isLegacyIE && !options.forceLegacyIE) ? 'none' : options.plugin;// by default turn off plugins for IE<=7
// it's an API, load promise and return the original object for chaining
if (!!options.apiUrl){
var $this = this,
apiUrl = options.apiUrl,
jqxhr = $.ajax({
url:apiUrl,
dataType:"jsonp",
beforeSend:function(){
if (!options.apiFallbackUrl){
return;
}
$this.each(function(i, el){
$(el).empty()
.append('<li><a /></li>')
.find('a')
.attr('href', options.apiFallbackUrl)
.text(options.apiFallbackUrl);
});
}})
.done(function(data) {
options.videos = getVideosFromFeed(data);
$this.each(function(i, el){
load($(el), options);
});
})
.fail(function(){
log('Error getting youtube API requested by jQuery.youtubeVideoGallery: '+ apiUrl);
});
return $this;
}
return this.each(function(i, el){
load($(el), options);
});
}
});
})(window.jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 6 => array(
'id' => (int) 2,
'name' => 'jquery.bxslider.min',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 7 => array(
'id' => (int) 1,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
/**
* API methods for the plugin
*/
var methods = {
init: function(opts) {
var defaults = {
// general options:
maxSize: -1,
minSize: -1,
spacing: 5,
duration: 500,
isVertical: false,
easing: undefined,
autoResize: true,
behavior: null,
// menu behavior options:
delayMouseIn: 0,
delayMouseOut: 0,
selectOnClick: true,
deselectOnClick: false,
// slideshow behavior options:
interval: 2500,
interactive: true
};
var o = $.extend(defaults, opts);
// validate and normalize options
if (o.minSize !== -1 && o.maxSize !== -1)
throw new Error('Kwicks options minSize and maxSize may not both be set');
if (o.behavior && o.behavior !== 'menu' && o.behavior !== 'slideshow')
throw new Error('Unrecognized Kwicks behavior specified: ' + o.behavior);
$.each(['minSize', 'maxSize', 'spacing'], function(i, prop) {
var val = o[prop];
switch (typeof val) {
case 'number':
o[prop + 'Units'] = 'px';
break;
case 'string':
if (val.slice(-1) === '%') {
o[prop + 'Units'] = '%';
o[prop] = +val.slice(0, -1) / 100;
} else if (val.slice(-2) === 'px') {
o[prop + 'Units'] = 'px';
o[prop] = +val.slice(0, -2);
} else {
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
break;
default:
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
});
return this.each(function() {
$(this).data('kwicks', new Kwick(this, o));
});
},
expand: function(index, opts) {
if (typeof index === 'object') {
opts = index;
index = undefined;
}
var delay = opts && opts.delay || 0;
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
var expand = function() {
// bail out if the panel is already expanded
if (index === kwick.expandedIndex) return;
var $panels = kwick.$panels,
expanded = $panels[index] || null;
kwick.$container.trigger('expand.kwicks', {
index: index,
expanded: expanded,
collapsed: $panels.not(expanded).get(),
oldIndex: kwick.expandedIndex,
oldExpanded: kwick.getExpandedPanel(),
isAnimated: kwick.isAnimated
});
};
var timeoutId = kwick.$container.data('kwicks-timeout-id');
if (timeoutId) {
kwick.$container.removeData('kwicks-timeout-id');
clearTimeout(timeoutId);
}
if (delay > 0) {
kwick.$container.data('kwicks-timeout-id', setTimeout(expand, delay));
} else {
expand();
}
});
},
expanded: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.expandedIndex;
},
select: function(index) {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
// don't trigger event if its already selected
if (index !== kwick.selectedIndex) {
var $panels = kwick.$panels,
selected = $panels[index] || null;
kwick.$container.trigger('select.kwicks', {
index: index,
selected: selected,
unselected: $panels.not(selected).get(),
oldIndex: kwick.selectedIndex,
oldSelected: kwick.getSelectedPanel()
});
}
// call expand
kwick.$container.kwicks('expand', index);
});
},
selected: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.selectedIndex;
},
resize: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.resize();
});
},
destroy: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.destroy();
});
}
};
/**
* Expose the actual plugin
*/
$.fn.kwicks = function(opts) {
if (methods[opts]) {
return methods[opts].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof opts === 'object' || !opts) {
return methods.init.apply(this, arguments);
} else {
throw new Error('Unrecognized kwicks method: ' + opts);
}
};
/**
* Special event for triggering default behavior on 'expand.kwicks' events
*/
$.event.special.expand = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.expand(data.index);
}
};
/**
* Special event for triggering default behavior on 'select.kwicks' events
*/
$.event.special.select = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.select(data.index);
}
};
/**
* Instantiates a new Kwick instance using the provided container and options.
*/
var Kwick = function Kwick(container, opts) {
var self = this;
this.opts = opts;
// an array of callbacks to invoke if 'destroy' is invoked
this.onDestroyHandlers = [];
// references to our DOM elements
var orientation = opts.isVertical ? 'vertical' : 'horizontal';
this.$container = $(container);
this.$panels = this.$container.children();
// semi-smart add/remove around container classes so that we don't bork
// the styling if/when destroy is called
var containerClasses = ['kwicks', 'kwicks-' + orientation];
$.each(containerClasses, function(className) {
if (self.$container.hasClass(className)) return;
self.$container.addClass(className);
self.onDestroy(function() {
self.$container.removeClass(className);
});
});
// zero-based, -1 for "none"
this.selectedIndex = this.$panels.filter('.kwicks-selected').index();
this.expandedIndex = this.selectedIndex;
// each instance has a primary and a secondary dimension (primary is the animated dimension)
this.primaryDimension = opts.isVertical ? 'height' : 'width';
this.secondaryDimension = opts.isVertical ? 'width' : 'height';
// initialize panel sizes
this.calculatePanelSizes();
// likewise, we have primary and secondary alignments (all panels but the last use primary,
// which uses the secondary alignment). this is to allow the first and last panels to have
// fixed offsets. this reduces jittering, which is much more noticeable on the last item.
this.primaryAlignment = opts.isVertical ? 'top' : 'left';
this.secondaryAlignment = opts.isVertical ? 'bottom' : 'right';
// object for creating a "master" animation loop for all panel animations
this.$timer = $({ progress: 0 });
// keeps track of whether or not an animation is in progress
this.isAnimated = false;
// the current offsets for each panel
this.offsets = this.getOffsetsForExpanded();
this.updatePanelStyles();
this.initBehavior();
this.initWindowResizeHandler();
// somewhat of a blind stab at handling rare/sporadic failures to initialize styles.
// https://github.com/jmar777/kwicks/issues/31
setTimeout(function() {
self.updatePanelStyles();
}, 100);
};
/**
* Calculates size, minSize, maxSize, and spacing based on the current size of the container and
* the user-provided options. The results will be stored on this.panelSize, this.panelMinSize,
* this.panelMaxSize, and this.panelSpacing. This should be run on initialization and whenever
* the container's primary dimension may have changed in size.
*/
Kwick.prototype.calculatePanelSizes = function() {
var opts = this.opts,
containerSize = this.getContainerSize(true);
// calculate spacing first
if (opts.spacingUnits === '%') {
this.panelSpacing = containerSize * opts.spacing;
} else {
this.panelSpacing = opts.spacing;
}
var numPanels = this.$panels.length,
sumSpacing = this.panelSpacing * (numPanels - 1),
sumPanelSize = containerSize - sumSpacing;
this.panelSize = sumPanelSize / numPanels;
if (opts.minSize === -1) {
if (opts.maxSize === -1) {
// if neither minSize or maxSize or set, then we try to pick a sensible default
if (numPanels < 5) {
this.panelMaxSize = containerSize / 3 * 2;
} else {
this.panelMaxSize = containerSize / 3;
}
} else if (opts.maxSizeUnits === '%') {
this.panelMaxSize = sumPanelSize * opts.maxSize;
} else {
this.panelMaxSize = opts.maxSize;
}
// at this point we know that this.panelMaxSize is set
this.panelMinSize = (sumPanelSize - this.panelMaxSize) / (numPanels - 1);
} else if (opts.maxSize === -1) {
// at this point we know that opts.minSize is set
if (opts.minSizeUnits === '%') {
this.panelMinSize = sumPanelSize * opts.minSize;
} else {
this.panelMinSize = opts.minSize;
}
// at this point we know that this.panelMinSize is set
this.panelMaxSize = sumPanelSize - (this.panelMinSize * (numPanels - 1));
}
};
/**
* Returns the calculated panel offsets based on the currently expanded panel.
*/
Kwick.prototype.getOffsetsForExpanded = function() {
// todo: cache the offset values
var expandedIndex = this.expandedIndex,
numPanels = this.$panels.length,
spacing = this.panelSpacing,
size = this.panelSize,
minSize = this.panelMinSize,
maxSize = this.panelMaxSize;
//first panel is always offset by 0
var offsets = [0];
for (var i = 1; i < numPanels; i++) {
// no panel is expanded
if (expandedIndex === -1) {
offsets[i] = i * (size + spacing);
}
// this panel is before or is the expanded panel
else if (i <= expandedIndex) {
offsets[i] = i * (minSize + spacing);
}
// this panel is after the expanded panel
else {
offsets[i] = maxSize + (minSize * (i - 1)) + (i * spacing);
}
}
return offsets;
};
/**
* Sets the style attribute on the specified element using the provided value. This probably
* doesn't belong on Kwick.prototype, but here it is...
*/
Kwick.prototype.setStyle = (function() {
if ($.support.style) {
return function(el, style) { el.setAttribute('style', style); };
} else {
return function (el, style) { el.style.cssText = style; };
}
})();
/**
* Updates the offset and size styling of each panel based on the current values in
* `this.offsets`. Also does some special handling to convert panels to absolute positioning
* the first time this is invoked.
*/
Kwick.prototype.updatePanelStyles = function() {
var offsets = this.offsets,
$panels = this.$panels,
pDim = this.primaryDimension,
pAlign = this.primaryAlignment,
sAlign = this.secondaryAlignment,
spacing = this.panelSpacing,
containerSize = this.getContainerSize();
// the kwicks-processed class ensures that panels are absolutely positioned, but on our
// first pass we need to set offsets, width|length, and positioning atomically to prevent
// mid-update repaints
var stylePrefix = !!this._stylesInited ? '' : 'position:absolute;',
offset, size, prevOffset, style;
// loop through remaining panels
for (var i = $panels.length; i--;) {
prevOffset = offset;
// todo: maybe we do one last pass at the end and round offsets, rather than on every
// update
offset = Math.round(offsets[i]);
if (i === $panels.length - 1) {
size = containerSize - offset;
style = sAlign + ':0;' + pDim + ':' + size + 'px;';
} else {
size = prevOffset - offset - spacing;
style = pAlign + ':' + offset + 'px;' + pDim + ':' + size + 'px;';
}
this.setStyle($panels[i], stylePrefix + style);
}
if (!this._stylesInited) {
this.$container.addClass('kwicks-processed');
this._stylesInited = true;
}
};
/**
* Assuming for a moment that out-of-the-box behaviors aren't a horrible idea, this method
* encapsulates the initialization logic thereof.
*/
Kwick.prototype.initBehavior = function() {
if (!this.opts.behavior) return;
switch (this.opts.behavior) {
case 'menu':
this.initMenuBehavior();
break;
case 'slideshow':
this.initSlideshowBehavior();
break;
default:
throw new Error('Unrecognized behavior option: ' + this.opts.behavior);
}
};
/**
* Initializes the menu behavior.
*/
Kwick.prototype.initMenuBehavior = function() {
var self = this,
opts = self.opts;
this.addEventHandler(this.$container, 'mouseleave', function() {
self.$container.kwicks('expand', -1, { delay: opts.delayMouseOut });
});
this.addEventHandler(this.$panels, 'mouseenter', function() {
$(this).kwicks('expand', { delay: opts.delayMouseIn });
});
if (!opts.selectOnClick && !opts.deselectOnClick) return;
this.addEventHandler(this.$panels, 'click', function() {
var $this = $(this),
isSelected = $this.hasClass('kwicks-selected');
if (isSelected && opts.deselectOnClick) {
$this.parent().kwicks('select', -1);
} else if (!isSelected && opts.selectOnClick) {
$this.kwicks('select');
}
});
};
/**
* Initializes the slideshow behavior.
*/
Kwick.prototype.initSlideshowBehavior = function() {
var self = this,
numSlides = this.$panels.length,
curSlide = 0,
// flag to handle weird corner cases
running = false,
intervalId;
var start = function() {
if (running) return;
intervalId = setInterval(function() {
self.$container.kwicks('expand', ++curSlide % numSlides);
}, self.opts.interval);
running = true;
};
var pause = function() {
clearInterval(intervalId);
running = false;
};
start();
this.onDestroy(pause);
if (!this.opts.interactive) return;
this.addEventHandler(this.$container, 'mouseenter', pause);
this.addEventHandler(this.$container, 'mouseleave', start);
this.addEventHandler(this.$panels, 'mouseenter', function() {
curSlide = $(this).kwicks('expand').index();
});
};
/**
* Sets up a throttled window resize handler that triggers resize logic for the panels
* todo: hideous code, needs refactor for the eye bleeds
*/
Kwick.prototype.initWindowResizeHandler = function() {
if (!this.opts.autoResize) return;
var self = this,
prevTime = 0,
execScheduled = false,
$window = $(window);
var onResize = function(e) {
// if there's no event, then this is a scheduled from our setTimeout
if (!e) { execScheduled = false; }
// if we've already run in the last 20ms, then delay execution
var now = +new Date();
if (now - prevTime < 20) {
// if we already scheduled a run, don't do it again
if (execScheduled) return;
setTimeout(onResize, 20 - (now - prevTime));
execScheduled = true;
return;
}
// throttle rate is satisfied, go ahead and run
prevTime = now;
self.resize();
};
this.addEventHandler($window, 'resize', onResize);
};
/**
* Returns the size in pixels of the container's primary dimension. This value is cached as it
* is used repeatedly during animation loops, but the cache can be cleared by passing `true`.
* todo: benchmark to see if this caching business is even at all necessary.
*/
Kwick.prototype.getContainerSize = function(clearCache) {
var containerSize = this._containerSize;
if (clearCache || !containerSize) {
containerSize = this._containerSize = this.$container[this.primaryDimension]();
}
return containerSize;
};
/**
* Gets a reference to the currently expanded panel (if there is one)
*/
Kwick.prototype.getExpandedPanel = function() {
return this.$panels[this.expandedIndex] || null;
};
/**
* Gets a reference to the currently collapsed panels
*/
Kwick.prototype.getCollapsedPanels = function() {
if (this.expandedIndex === -1) return [];
return this.$panels.not(this.getExpandedPanel()).get();
};
/**
* Gets a reference to the currently selected panel (if there is one)
*/
Kwick.prototype.getSelectedPanel = function() {
return this.$panels[this.selectedIndex] || null;
};
/**
* Gets a reference to the currently unselected panels
*/
Kwick.prototype.getUnselectedPanels = function() {
return this.$panels.not(this.getSelectedPanel()).get();
};
/**
* Registers a handler to be invoked if/when 'destroy' is invoked
*/
Kwick.prototype.onDestroy = function(handler) {
this.onDestroyHandlers.push(handler);
};
/**
* Adds an event handler and automatically registers it to be removed if/when
* the plugin is destroyed.
*/
Kwick.prototype.addEventHandler = function($el, eventName, handler) {
$el.on(eventName, handler);
this.onDestroy(function() {
$el.off(eventName, handler);
});
};
/**
* "Destroys" this Kwicks instance plugin by performing the following:
* 1) Stops any currently running animations
* 2) Invokes all destroy handlers
* 3) Clears out all style attributes on panels
* 4) Removes all kwicks class names from panels and container
* 5) Removes the 'kwicks' data value from the container
*/
Kwick.prototype.destroy = function() {
this.$timer.stop();
for (var i = 0, len = this.onDestroyHandlers.length; i < len; i++) {
this.onDestroyHandlers[i]();
}
this.$panels
.attr('style', '')
.removeClass('kwicks-expanded kwicks-selected kwicks-collapsed');
this.$container
// note: kwicks and kwicks-<orientation> classes have extra smarts around them
// back in the constructor
.removeClass('kwicks-processed')
.removeData('kwicks');
};
/**
* Forces the panels to be updated in response to the container being resized.
*/
Kwick.prototype.resize = function() {
// bail out if container size hasn't changed
if (this.getContainerSize() === this.getContainerSize(true)) return;
this.calculatePanelSizes();
this.offsets = this.getOffsetsForExpanded();
// if the panels are currently being animated, we'll just set a flag that can be detected
// during the next animation step
if (this.isAnimated) {
this._dirtyOffsets = true;
} else {
// otherwise update the styles immediately
this.updatePanelStyles();
}
};
/**
* Selects the panel with the specified index (use -1 to select none)
*/
Kwick.prototype.select = function(index) {
// make sure the panel isn't already selected
if (index === this.selectedIndex) return;
$(this.getSelectedPanel()).removeClass('kwicks-selected');
this.selectedIndex = index;
$(this.getSelectedPanel()).addClass('kwicks-selected');
};
/**
* Expands the panel with the specified index (use -1 to expand none)
*/
Kwick.prototype.expand = function(index) {
var self = this,
// used for expand-complete event later on
oldIndex = this.expandedIndex,
oldExpanded = this.getExpandedPanel();
// if the index is -1, then default it to the currently selected index (which will also be
// -1 if no panels are currently selected)
if (index === -1) index = this.selectedIndex;
// make sure the panel isn't already expanded
if (index === this.expandedIndex) return;
$(this.getExpandedPanel()).removeClass('kwicks-expanded');
$(this.getCollapsedPanels()).removeClass('kwicks-collapsed');
this.expandedIndex = index;
$(this.getExpandedPanel()).addClass('kwicks-expanded');
$(this.getCollapsedPanels()).addClass('kwicks-collapsed');
// handle panel animation
var $timer = this.$timer,
numPanels = this.$panels.length,
startOffsets = this.offsets.slice(),
offsets = this.offsets,
targetOffsets = this.getOffsetsForExpanded();
$timer.stop()[0].progress = 0;
this.isAnimated = true;
$timer.animate({ progress: 1 }, {
duration: this.opts.duration,
easing: this.opts.easing,
step: function(progress) {
// check if we've resized mid-animation (yes, we're thorough)
if (self._dirtyOffsets) {
offsets = self.offsets;
targetOffsets = self.getOffsetsForExpanded();
self._dirtyOffsets = false;
}
offsets.length = 0;
for (var i = 0; i < numPanels; i++) {
var targetOffset = targetOffsets[i],
newOffset = targetOffset - ((targetOffset - startOffsets[i]) * (1 - progress));
offsets[i] = newOffset;
}
self.updatePanelStyles();
},
complete: function() {
self.isAnimated = false;
self.$container.trigger('expand-complete.kwicks', {
index: index,
expanded: self.getExpandedPanel(),
collapsed: self.getCollapsedPanels(),
oldIndex: oldIndex,
oldExpanded: oldExpanded,
// note: this will always be false but is included to match expand event
isAnimated: false
});
}
});
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
)
)
)
$here = '/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
$sitemap = array(
'glavna_navigacija' => array(
'Page' => array(
'id' => (int) 2,
'type' => 'Wrapper',
'parent_id' => null,
'layout_id' => (int) 1,
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => null,
'meta' => 'Generic',
'seo_metatags' => null,
'seo_generated_metatags' => null,
'seo_last_mod' => '2023-04-05 10:33:52',
'head_end' => null,
'body_start' => null,
'body_end' => null,
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 1,
'rght' => (int) 122,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-09 11:45:27',
'created_by' => (int) 1,
'created' => '2016-11-09 11:45:27',
'selected' => true,
'title' => 'Glavna navigacija',
'title_short' => 'Glavna navigacija',
'alternative_title' => '',
'subtitle' => '',
'side_menu_top_title' => '',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'glavna_navigacija',
'content' => '',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'title_short__' => array(
[maximum depth reached]
),
'alternative_title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_top_title__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'page_text__' => array(
[maximum depth reached]
),
'banner_url__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'content__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
),
'meta_keywords__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'path' => '/sr/početna'
),
'Seo' => array(
'metatag' => array([maximum depth reached])
),
'children' => array(
'početna' => array(
[maximum depth reached]
),
'o-nama' => array(
[maximum depth reached]
),
'proizvodi' => array(
[maximum depth reached]
),
'najčešća-pitanja' => array(
[maximum depth reached]
),
'inspiracije' => array(
[maximum depth reached]
),
'showroom' => array(
[maximum depth reached]
),
'kupatila-i-kuhinje' => array(
[maximum depth reached]
),
'kontakt' => array(
[maximum depth reached]
)
)
)
)
$flatSitemap = null
$activePage = array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 95,
'rght' => (int) 106,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Valsetin Gold selection II',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'title_short__' => array(
'sr' => '',
'en' => null
),
'alternative_title__' => array(
'sr' => '',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_top_title__' => array(
'sr' => 'Kategorije',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'page_text__' => array(
'sr' => '',
'en' => ''
),
'banner_url__' => array(
'sr' => '',
'en' => ''
),
'slug__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'content__' => array(
'sr' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__4 ">
<div class="main-content">
<?php if(!empty($pattern['Pattern']['text'])) { ?>
<div class="rich-text">
<?= $pattern['Pattern']['text'] ?>
</div>
<?php } ?>
<div class="product-details">
<code cms="element" id="6">Social</code>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul>
<?php foreach($pattern['Patterns'] as $image) { ?>
<li>
<a href="<?= $image['file'] ?>" class="fancybox" rel="group">
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
),
'meta_keywords__' => array(
'sr' => '',
'en' => ''
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<code cms="element" id="1">Header</code>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<code cms="element" id="4">Breadcrumbs</code>
<code cms="block" name="content">Content</code>
</div>
<code cms="element" id="2">Footer</code>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array()
),
'Data' => array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
)
),
'Seo' => array(
'metatag' => array([maximum depth reached])
)
),
'Variables' => array(
'pattern' => array(
'Pattern' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Image' => array(
[maximum depth reached]
),
'MetaImage' => array(
[maximum depth reached]
),
'Patterns' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
)
)
),
'Content' => array(
'Body' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'stylesheet_set' => '',
'javascript_set' => '',
(int) 0 => array(
'Content' => array(
[maximum depth reached]
),
'Template' => array(
[maximum depth reached]
),
'Blocks' => array([maximum depth reached])
)
),
'Stylesheet' => array(
(int) 0 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
padding: 0;
margin: 0;
border: 0;
outline: none;
vertical-align: top;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
position: relative;
background: #ecce97;
color: #444;
text-shadow: none;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 15px;
white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('../img/fancybox/fancybox_sprite.png');
}
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-position: 0 -108px;
opacity: 0.8;
cursor: pointer;
z-index: 8060;
}
#fancybox-loading div {
width: 44px;
height: 44px;
background: url('../img/fancybox/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 8040;
background-position: 0 0;
}
.fancybox-nav {
position: absolute;
top: 0;
width: 40%;
height: 100%;
cursor: pointer;
text-decoration: none;
background: transparent url('../img/fancybox/blank.gif'); /* helps IE */
-webkit-tap-highlight-color: rgba(0,0,0,0);
z-index: 8040;
}
.fancybox-prev {
left: 0;
}
.fancybox-next {
right: 0;
}
.fancybox-nav span {
position: absolute;
top: 50%;
width: 36px;
height: 34px;
margin-top: -18px;
cursor: pointer;
z-index: 8040;
visibility: hidden;
}
.fancybox-prev span {
left: 10px;
background-position: 0 -36px;
}
.fancybox-next span {
right: 10px;
background-position: 0 -72px;
}
.fancybox-nav:hover span {
visibility: visible;
}
.fancybox-tmp {
position: absolute;
top: -99999px;
left: -99999px;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
/* Overlay helper */
.fancybox-lock {
overflow: hidden;
}
.fancybox-overlay {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
display: none;
z-index: 8010;
background: url('../img/fancybox/fancybox_overlay.png');
}
.fancybox-overlay-fixed {
position: fixed;
bottom: 0;
right: 0;
}
.fancybox-lock .fancybox-overlay {
overflow: auto;
overflow-y: scroll;
}
/* Title helper */
.fancybox-title {
visibility: hidden;
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-float-wrap {
position: absolute;
bottom: 0;
right: 50%;
margin-bottom: -35px;
z-index: 8050;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0 1px 2px #222;
color: #FFF;
font-weight: bold;
line-height: 24px;
white-space: nowrap;
}
.fancybox-title-outside-wrap {
position: relative;
margin-top: 10px;
color: #fff;
}
.fancybox-title-inside-wrap {
padding-top: 10px;
}
.fancybox-title-over-wrap {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
}
',
'modified' => '2016-11-22 16:39:18'
),
(int) 1 => array(
'id' => (int) 6,
'name' => 'youtube-video-gallery',
'data' => '*.youtube-videogallery-container {
display: block;
}
*.youtube-videogallery-compact *.youtube-videogallery-item,
*.youtube-videogallery-compact *.youtube-videogallery-img{
box-shadow: 0 0 0;
border-radius: 0;
margin: 0 0 0 0;
}
*.youtube-videogallery-compact *.youtube-videogallery-title {
font-size: 11px;
}
a.youtube-videogallery-link { padding:5px; background:#2f2f33; position:relative; display:block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
a.youtube-videogallery-link:hover { background:#ecce97; }
a.youtube-videogallery-link:hover span { color:#6c5e43; }
a.youtube-videogallery-link:hover img.youtube-videogallery-play,
a.youtube-videogallery-link:focus img.youtube-videogallery-play {
opacity: 1;
}
*.youtube-videogallery-play {
left:50%;
opacity: 0.7;
position: absolute;
top:50%;
z-index: 1;
}
*.youtube-videogallery-title { width:100%; text-align:center; float:left; font-size:13px; color:#9f9f9f; line-height:13px; padding:5px 0; }
*.youtube-videogallery-allowtitle *.youtube-videogallery-title {
height: auto;
}
*.youtube-videogallery-screen-reader-only {
position: absolute;
left:-9999px;
}
div.youtube-videogallery-bodycover {
background-color: #000;
height: 100%;
left:0;
opacity: 0;
position: absolute;
top:0;
width:100%;
z-index: 100;
}
div.youtube-videogallery-display {
background-color: #000;
box-shadow: 3px 3px 7px #000;
left:50%;
opacity: 0;
padding: 3px;
position: fixed;
top:50%;
z-index: 101;
}
div.youtube-videogallery-bodycover,
div.youtube-videogallery-display {
transition: all 300ms;
transform: scale(0);
-webkit-transform: scale(0);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover,
body.youtube-videogallery-active div.youtube-videogallery-display {
display: block;
transform: scale(1);
-webkit-transform: scale(1);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover {opacity: 0.5}
body.youtube-videogallery-active div.youtube-videogallery-display { opacity: 1}',
'modified' => '2016-11-10 14:47:39'
),
(int) 2 => array(
'id' => (int) 5,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
/*
* This file contains styles that are common to all kwicks instances. Note that each kwicks instance requires
* additional styling - please see the examples for more info.
*/
.kwicks {
display: block;
list-style-type: none;
list-style: none;
position: relative;
margin: 0;
padding: 0;
}
.kwicks > * {
display: block;
overflow: hidden;
padding: 0;
margin: 0;
}
.kwicks.kwicks-processed > * {
margin: 0;
position: absolute;
}
.kwicks-horizontal > * {
float: left;
}
.kwicks-horizontal > :first-child {
margin-left: 0;
}
.kwicks-vertical > :first-child {
margin-top: 0;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 3,
'name' => 'jquery.bxslider',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
padding: 0;
*zoom: 1;
}
.bx-wrapper img {
max-width: 100%;
display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
background: url(images/bx_loader.gif) center center no-repeat #fff;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
text-indent: -9999px;
display: block;
outline: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
left: 10px;
background: url(images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
right: 10px;
background: url(images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -16px;
outline: 0;
width: 32px;
height: 32px;
text-indent: -9999px;
z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 0;
left: 0;
background: #666\9;
background: rgba(80, 80, 80, 0.75);
width: 100%;
}
.bx-wrapper .bx-caption span {
color: #fff;
font-family: Arial;
display: block;
font-size: .85em;
padding: 10px;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 1,
'name' => 'main',
'data' => '@charset "utf-8";
*,:after,:before,a,abbr,acronym,address,applet,article,aside,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,input,ins,kbd,label,legend,li,main,mark,object,ol,p,pre,q,s,samp,section,small,span,strike,strong,sub,sup,table,tbody,td,textarea,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:top;background:0 0;-webkit-font-smoothing:antialiased;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{overflow-y:auto;overflow-x:hidden}ol,ul{list-style:none}:focus{outline:0}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix{display:block}* html .clearfix{height:1%}
@font-face {
font-family: 'robotolight';
src: url('/font/roboto-light-webfont.eot');
src: url('/font/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/roboto-light-webfont.woff') format('woff'),
url('/font/roboto-light-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pt_serifregular';
src: url('/font/ptf55f-webfont.eot');
src: url('/font/ptf55f-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/ptf55f-webfont.woff') format('woff'),
url('/font/ptf55f-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
::selection { color:#fff; background:#bba47a; }
::-moz-selection { color:#fff; background:#bba47a; }
/* Global */
body,html { font-family: 'robotolight'; font-size:14px; background:url(../img/bg_body.jpg) repeat 0 0 #000; }
h1, h2 { font-family: 'pt_serifregular'; }
.inner { width:1150px; max-width: 96%; margin:0 auto; }
a { text-decoration:none; -o-transition:color .2s ease-out; -ms-transition:color .2s ease-out; -moz-transition:color .2s ease-out; -webkit-transition:color .2s ease-out; transition:color .2s ease-out; }
/* HEADER */
header { width:100%; display:inline-block; background:#000; -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.5);-moz-box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5); position:relative; z-index:99; float:left; }
header .logo { width: 140px; display: inline-block; padding:5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header .logo:hover { opacity:0.7; }
header .logo img { width: 100%; height: auto; display: block; }
header ul.lang { float:right; padding:5px 0 0 0; }
header ul.lang li { float:left; display:block; padding:0 0 0 10px; }
header ul.lang li a { float:left; color:#484b4e; font-size:11px; }
header ul.lang li a:hover { color:#fff; }
header ul.lang li.active a { color:#bba47a; }
header #off-canvas-right { display: inline-block; float: right; padding: 32px 0 0 0; }
header nav { width:100%; display: inline-block; }
header nav > ul { }
header nav > ul > li { display: inline-block; margin: 0 10px; position:relative; }
header nav > ul > li:first-child { margin:0 10px 0 0; }
header nav > ul > li:last-child { margin:0 0 0 10px; }
header nav > ul > li > a { float:left; font-size:14px; color:#c1b49c; text-transform:uppercase; padding:0 0 10px 0; position: relative; }
header nav > ul > li > a:after { width: 0; height: 3px; background: #bba47a; position: absolute; bottom: 0; left: 0; content: ""; }
header nav > ul > li > a:hover { color:#fff; }
header nav > ul > li > a:hover:after { width: 100%; -webkit-transition: width .3s ease-in-out; -moz-transition: width .3s ease-in-out; -o-transition: width .3s ease-in-out; transition: width .3s ease-in-out; }
header nav > ul > li.active > a:after { width: 100%; }
header nav > ul > li.active > a { color:#bba47a; }
header nav > ul > li > ul { width: 220px; background: #171718; position: absolute; left: 0; top: 26px; border-top: 3px solid #b8a178; -webkit-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);-moz-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43); display: none; }
header nav > ul > li > ul:before { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #b8a178; position: absolute; top: -8px; left: 22px; content: ""; }
header nav > ul > li > ul li { display: block; border-bottom: 1px solid #2f2f30; }
header nav > ul > li > ul li:last-child { border: none; }
header nav > ul > li > ul li a { display: block; font-size: 14px; color: #e5d1ac; padding: 10px 20px; }
header nav > ul > li > ul li a:hover { color: #fff; }
header nav > ul > li:hover ul { display: block; }
header nav > ul > li:hover > a { color:#fff; }
header nav > ul > li.dropdown:after { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 3px solid #c1b49c; position: absolute; right: -9px; top: 8px; content: ""; }
header nav ul li.spec { margin:-4px 0 0 26px; }
header nav ul li.spec a { background:#c1b49c; color:#000; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; padding:5px 12px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header nav ul li.spec:hover:after { display:none; }
header nav ul li.spec a:hover { background:#e4d9c6; }
header nav ul li.spec { border-bottom:none; }
.topline { width:100%; display:inline-block; background:url(../img/bg_top.jpg) no-repeat 0 0; height:10px; margin:0 0 8px 0; }
.fixed { position:fixed; top:0; left:0; background:rgba(0,0,0,0.0.87); }
#openRightMenu { top: 20px; right: 20px; display: none; }
#openLeftMenu { top: 20px; left: 20px; }
/* Hamburger button */
.hamburger{position:absolute;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:#000;border:0;margin:0;overflow:visible}.hamburger-box{width:40px;height:24px;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-2px}.hamburger-inner,.hamburger-inner::after,.hamburger-inner::before{width:35px;height:4px;background:#fff;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.hamburger-inner::after,.hamburger-inner::before{content:"";display:block}.hamburger-inner::before{top:-8px}.hamburger-inner::after{bottom:-8px}.hamburger--squeeze .hamburger-inner{transition-duration:.1s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze .hamburger-inner::before{transition:top .1s .14s ease,opacity .1s ease}.hamburger--squeeze .hamburger-inner::after{transition:bottom .1s .14s ease,transform .1s cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze.is-active .hamburger-inner{transform:rotate(45deg);transition-delay:.14s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.hamburger--squeeze.is-active .hamburger-inner::before{top:0;opacity:0;transition:top .1s ease,opacity .1s .14s ease}.hamburger--squeeze.is-active .hamburger-inner::after{bottom:0;transform:rotate(-90deg);transition:bottom .1s ease,transform .1s .14s cubic-bezier(.215,.61,.355,1)}
/* Category menu button*/
.category-hamburger { position: absolute; }
.category-hamburger span { width: 10px; height: 10px; background: #fff; display: inline-block; position: relative; }
.category-hamburger span:after { width: 10px; height: 10px; background: #fff; position: absolute; content: ""; bottom: -12px; left: 0; }
/* ===== HOME ELEMENTS ===== */
/* Slider */
.slider { width:1230px; max-width:100%;margin:0 auto; background:#000; border-top:1px solid #1c1c1c; position:relative;-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:10px; }
.slider .kwicks { width:1230px; max-width:100%; height:400px; display: block; position: relative;}
.slider .kwicks > li { width: 125px; height: 400px; margin-left: 5px;float: left;}
.slider .kwicks > li a img { opacity: 0.5; /*-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out;*/ }
.slider .kwicks > li h2 { width:20px;height:20px; position:absolute; bottom:20px; left:10px; -webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform: rotate(-90deg);white-space:nowrap; color:#fcba42; font-size:20px; text-align:right; writing-mode:bt-lr; display:block;-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out; }
.slider .kwicks > li span { width:100%; opacity:0; position:absolute; bottom:0; left:0; padding:80px 20px 20px 20px; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.slider .kwicks > li a:hover img { opacity:1; }
.slider .kwicks > li a:hover h2 { opacity:0; }
.slider .kwicks > li a span.vis { opacity:1; }
.slider .kwicks > * { display: block; overflow: hidden; padding: 0; margin: 0;}
.slider .kwicks.kwicks-processed > * { margin: 0; position: absolute;}
.slider .kwicks-horizontal > * {float: left;}
.slider .kwicks-horizontal > :first-child { margin-left: 0;}
.slider .kwicks-vertical > :first-child { margin-top: 0;}
.slider .kwicks > li span h3 { color:#e0a73f; font-size:20px; font-family: 'pt_serifregular'; padding:0 0 15px 0; }
.slider .kwicks > li span p { color:#fff; }
/* Home categories */
.home-categories { width:1150px; max-width: 100%; margin:20px auto; background:#121314; padding:30px 50px 20px 50px; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.home-categories article { float:left; margin:0 0 10px 9px; }
.home-categories article.modulus { margin:0 0 10px 0; }
.home-categories article a { float:left; background:#f6e8ce; padding:5px; position:relative; }
.home-categories article a:hover { background:#f3d193; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.home-categories article a img { float:left; border:1px solid #9e875c; background:#fff; padding:1px; }
.home-categories article a span { width:170px; margin:0 7px; position:absolute; bottom:7px; left:0; padding:15px 0 10px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.home-categories article a span h2 { width:100%; float:left; color:#ecce97; text-align:center; box-sizing:border-box; padding:0 10px; line-height:15px; }
.home-categories article a:hover span h2 { color:#f4e6ce; }
/* Home blocks */
.home-block { width:1230px; max-width: 100%; margin:0 auto; }
.home-block .block { background:#0a0a0a; border-top:1px solid #161616; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:30px 50px 0 50px;}
.home-block .block-about { background:url(../img/bg_about_block.jpg) no-repeat 100% 0 #0a0a0a; }
.home-block .block h2 { color:#bba47a; font-size:22px; padding:0 0 35px 0; }
.home-block .block p { color:#fff; padding:0 0 15px 0; text-align:justify; }
.home-block .block a { color:#c4a56c; }
.home-block .block a:hover { color:#a48958; }
.home-block .block article { padding:0 0 30px 0; }
.home-block .block article span { width:90px; float: left;margin:0 10px 0 0; }
.home-block .block article span a { display: block; }
.home-block .block article span img { width:100%; height:auto; display:block; }
.home-block .block article div { display: table-cell; width: 768px; }
.home-block .block article div em { font-style:normal; font-size:10px; color:#d0d0d0; }
.home-block .block article div h3 { padding:0 0 10px 0; }
.home-block .block article div h3 a { color:#e3c58f; font-size:15px; font-family: 'pt_serifregular'; }
.home-block .block article div h3 a:hover { color:#fbefd9; }
.home-block .block article div p { font-size:12px; text-align:left; padding:0; }
.home-block .tagline { width:100%; display:inline-block; box-sizing:border-box; padding:20px 50px; margin:20px 0; border-top:1px solid #161616; background:url(../img/bg_tagline.jpg) no-repeat top center #0a0a0a; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); text-align:center; }
.home-block .tagline h1,.home-block .tagline h2 { display:block; font-size:1.6em; color:#fff; text-transform:uppercase; }
.home-block .tagline h1 { border-bottom: 1px solid #fff; display: inline-block; padding: 0 0 20px 0; margin: 0 0 20px 0; }
/* ===== PAGE CONTENT ===== */
.page-content { width:1250px; max-width: 100%; margin:0 auto; background:#000; background-position:100% 0; background-repeat:no-repeat; border-top:1px solid #202020; padding:0 0 50px 0; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.content { width:1150px; max-width: 96%; margin:0 auto; }
.side-content { }
.main-content { padding:0 0 30px 0; }
/* Breadcrumbs */
.breadcrumbs { width:100%; display:inline-block; border-bottom:1px solid #151515; font-size:11px; color:#a8a8b3; padding:13px 0; background:url(../img/bg_breadcrumbs.png) no-repeat 0 0; }
.breadcrumbs p { float:left; padding:0 5px 0 0; }
.breadcrumbs a { float:left; color:#c1b297; }
.breadcrumbs a:hover { color:#e9ddc8; }
.breadcrumbs a:after { content:'/'; color:#4a4a50; margin:0 0 0 7px; }
.breadcrumbs ul li { float:left; display:block; padding:0 0 0 7px; }
/* Page title */
.page-title { padding:30px 0 50px 0; }
.page-title .inner { position:relative; }
.page-title .inner div { padding:0 0 0 20px; float:left; border-left:4px solid #bba47a; }
.page-title .inner div h2 { width:100%; float:left; color:#3a3326; font-size:20px; line-height:18px; min-height:25px; }
.page-title .inner div h1 { width:100%; float:left; color:#fff; font-size:30px; line-height:27px; }
.page-title .inner span { position:absolute; right:0; top:-15px; }
/* Rich text */
.rich-text { color:#c1b49c; line-height:22px; }
.rich-text p { padding:0 0 15px 0; text-align:justify; }
.rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.rich-text a { color:#c4a56c; }
.rich-text a:hover { color:#a48958; }
.rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.rich-text ul li { padding:0 0 5px 0; }
.rich-text .rich-video {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.rich-text .rich-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.remark-rich-text { width:100%; float:left; color:#c1b49c; line-height:22px; }
.remark-rich-text p { padding:0 0 15px 0; text-align:justify; }
.remark-rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.remark-rich-text a { color:#c4a56c; }
.remark-rich-text a:hover { color:#a48958; }
.remark-rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.remark-rich-text ul li { padding:0 0 5px 0; }
.remark-rich-text.hasGallery { padding: 0 0 20px 0; }
.add-image { width:500px; max-width:50%;float:left; margin:0 40px 0 0; padding:5px; background:#1e1f21; box-sizing:border-box }
.add-image div { width:100%; display:block; text-align:center; }
.add-image img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; padding:1px; }
/* Article grid */
.article-grid .row { margin: 0 -8px; }
.article-grid .row > .column { padding: 0 8px; }
.article-grid article { position:relative;}
.article-grid article a, .article-grid article .image-gallery-holder { display: block; padding:5px; background:#1e1f21; position:relative; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin-bottom: 15px; }
article.column > a > span { position:absolute; background: rgba(187, 164, 122, 0.7); -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease ; -ms-transition: all 0.2s ease ; -o-transition: all 0.2s ease ; transition: all 0.2s ease ; padding:5px; top:15%; left:20%; width: 60%; }
article.column > a > span.before-after { top:auto; bottom: 15px; left: 30px; width: auto;text-transform: uppercase; font-size: 16px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 10px;}
article.column > a > span em { width: 100%;text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
article.column > a > span em img { background:none; border:none; padding:0; width:100%; display:inline; }
article.column > a:hover > span { -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -ms-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); }
.article-grid article a:hover { background:#323336; }
.article-grid article img { width:100%; height:auto; display:block; box-sizing:border-box; background:#37393b; padding:1px; border:1px solid #53595e; }
.article-grid article div {position:absolute; left:7px; right: 7px; bottom:7px; padding:40px 0 7px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.article-grid article div h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.article-grid article div p { width:100%; text-align:center; font-size:13px; line-height:14px; padding:3px 0 0 0; color:#d4d8de; }
.article-grid-page article { padding:0 0 10px 6px; }
.article-grid-page article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid article span.label { width:48px; height:48px; position:absolute; right:7px; top:7px; }
.article-grid article span.label img { background:none; padding:0; border:none; }
/* Big grid minimum 5 articles */
.article-grid-biggrid article { padding:0 0 10px 12px; }
.article-grid-biggrid article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid-biggrid article a { width:262px; box-sizing:border-box; }
.article-grid-biggrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-biggrid article div { padding:40px 0 15px 0; }
.article-grid-biggrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:30px; left:50%; margin:0 0 0 -70px; }
.article-grid-biggrid article span em { width:100px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-biggrid article span em img { background:none; border:none; padding:0; }
.article-grid-biggrid article a:hover span em img { background:none; border:none; padding:0; }
/* Small grid up to 4 articles */
.article-grid-smallgrid article { padding:0 0 10px 10px; }
.article-grid-smallgrid article:nth-child(2n+1) { padding:0 0 10px 0; }
.article-grid-smallgrid article a { width:400px; box-sizing:border-box; }
.article-grid-smallgrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-smallgrid article div { width:386px; box-sizing:border-box; padding:40px 0 15px 0; }
.article-grid-smallgrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:70px; left:90px; }
.article-grid-smallgrid article span em { width:175px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-smallgrid article span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.article-grid-smallgrid article a:hover span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.showroom-gallery { padding: 20px 0 0 0; }
/* Vertical menu */
#cat-menu { display:none; }
.vertical-menu { width:100%; float:left; margin:0 0 20px 0; }
.vertical-menu h2 { font-size:20px; color:#906e30; padding:0 20px 15px 20px; }
.vertical-menu ul { border-bottom:1px solid #29292f; border-right:1px solid #17171a; }
.vertical-menu ul li { border-left:3px solid #29292f; border-top:1px solid #17171a; margin-bottom:1px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.vertical-menu ul li a { color:#c1b49c; text-transform:uppercase; font-size:14px; font-family: 'pt_serifregular'; padding:10px 15px 9px 15px; display:block; line-height:17px; }
.vertical-menu ul li:hover { border-left:3px solid #bca57b; }
.vertical-menu ul li a:hover { color:#bca57b; }
.vertical-menu ul li.active { border-left:3px solid #bba47a; border-top:none; background:#111113; }
.vertical-menu ul li.active a { color:#000; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.vertical-menu ul li ul { display:none; border-right:none; }
.vertical-menu ul li.active ul { padding:0 0 0 20px; display:block; border-right:none; }
.vertical-menu ul li.active ul li { margin:0; border:none; }
.vertical-menu ul li.active ul li ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li a { background:none; color:#e4ad48; font-size:14px; font-family: 'robotolight'; text-transform:none; padding:7px 0; border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li a:before { content:'▸'; }
.vertical-menu ul li.active ul li a span { width:90%; display:inline-block; font-size:0.96em; box-sizing:border-box; padding:0 0 0 14px; line-height:16px; color:#98938a; }
.vertical-menu ul li.active ul li a:hover span { color:#906e30; }
.vertical-menu ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active a span { color:#906e30; }
.vertical-menu ul li.active ul li.active a:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul { border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li.active ul li { }
.vertical-menu ul li.active ul li.active ul li a { color:#e4ad48; padding:7px 0; }
.vertical-menu ul li.active ul li.active ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li a:before { content:none; }
.vertical-menu ul li.active ul li.active ul li a:hover:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active ul li a:before { content:'▸'; color:#414345; }
.vertical-menu ul li.active ul li.active ul li.active a:before { color:#906e30; }
/* Product details */
.product-details { }
.product-details .product-info { text-align:justify; }
.product-details .product-info-full { width:100%; }
.product-details .right-info { }
.product-details .photo-grid { }
.product-details .social { padding:0 0 15px 0; border-bottom:1px solid #222225; margin:0 0 20px 0; height: 36px; }
.product-details .social .fb-like-button { float:left; margin:0 15px 0 0; }
.product-details .social .tweet-button { float:left; }
.product-details .product-slideshow { margin: 0 0 40px 0; }
.product-details .product-slideshow ul { position: relative}
.product-details .product-slideshow a {display: block; background:#252729; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-slideshow a:hover { background:#5a5d5f; }
.product-details .product-slideshow a img { background:#37393b; padding:1px; border:1px solid #53595e; width: 100%; height: auto; }
.product-details .product-slideshow a:hover img { border:1px solid #252729; background:#5a5d5f; }
.product-details .product-slideshow a span { width:330px; height:80px; left:7px; position:absolute; bottom:7px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-slideshow .bx-has-pager { width:100%; float:left; padding:8px 0 0 0; position:relative; }
.product-details .product-slideshow .bx-pager { width:100%; position:relative; text-align:center; padding:0 20px; box-sizing:border-box; }
.product-details .product-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.product-details a.link-download { background:#a0151d; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 10px 0 0 0; font-family: 'pt_serifregular'; display: block; }
.product-details a.link-download:hover { background:#c62a33; }
.product-details a.link-download span { display:block; border:1px solid #bf6066; padding:6px 0; text-align:center; }
/*.product-details a.link-download.renewal-catalogue { width:200px; box-sizing:border-box; }*/
.product-details a.link-beforeafter { display: block; margin: 10px 0 0 0; background:#c3ab7f; padding:3px; color:#4a3f2b; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; font-family: 'pt_serifregular'; }
.product-details a.link-beforeafter:hover { background:#d8bf91; }
.product-details a.link-beforeafter span { display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.product-details .product-blocks { width:100%; float:left; margin:30px 0 0 0; }
.product-details .product-block { width:100%; float:left; background:#111113; padding:10px; box-sizing:border-box; margin:0 0 1px 0; }
.product-details .product-block .block-content { width:100%; float:left; background:#202023; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.product-details .product-block .block-content .head, .product-details .product-block .block-content .head-no-accordion { width:100%; float:left; box-sizing:border-box; padding:8px 10px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; cursor:pointer; }
.product-details .product-block .block-content .head-no-accordion { background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); cursor: default }
.product-details .product-block .block-content .head:hover { background:#1c1c1e; }
.product-details .product-block .block-content .head h2 { font-size:15px; color:#bcb6a9; line-height: 20px; }
.product-details .product-block .block-content .head-no-accordion h2 { font-size:15px; line-height: 20px; }
.product-details .product-block .block-content .head h2:before { content:'▸'; color:#6c675d; margin:0 5px 0 0; }
.product-details .product-block .block-content .active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active h2 { color:#292c31; }
.product-details .product-block .block-content .active h2:before { content:'▾'; color:#292c31; }
.product-details .product-block .block-content .body { width:100%; float:left; padding:10px; box-sizing:border-box; }
.product-details .product-photo-gallery { }
.product-details .product-photo-gallery ul li a { background:#2f2f33;padding:5px; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position: relative; display: block }
.product-details .product-photo-gallery ul li a:hover { background:#5a5d5f; }
.product-details .product-photo-gallery ul li a img { width:100%; height:auto; display:block; box-sizing:border-box; border:1px solid #53595e; background:#37393b; padding:1px; }
.product-details .product-photo-gallery ul li a span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:10px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.product-details .product-photo-gallery .bx-pager { position:absolute; top:-35px; right:0; z-index:99; }
.product-details .product-photo-gallery .bx-pager .bx-pager-item { margin:0 5px 0 0; }
.product-details .product-photo-gallery .bx-pager a { width:11px; height:11px; background:#fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.product-details .product-photo-gallery .bx-pager a.active { background:#a5864d; }
.product-details .product-tehnical-spec p { color:#555; font-size:13px; }
.product-details .product-tehnical-spec ul { width:100%; float:left; }
.product-details .product-tehnical-spec ul li { width:100%; float:left; display:block; padding:0 0 1px 0; }
.product-details .product-tehnical-spec ul li a { width:100%; float:left; background:url(../img/ico_download.png) no-repeat -10px center #27272a; padding:8px 10px 8px 10px; box-sizing:border-box; font-size:13px; color:#9f9f9f; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tehnical-spec ul li a span { float:right; }
.product-details .product-tehnical-spec ul li a:hover { background:url(../img/ico_download.png) no-repeat 10px center #313135; padding:8px 10px 8px 30px; }
.product-details .product-video-gallery li a { min-height:180px; display: block; margin-bottom: 5px; }
.product-details .product-video-gallery li a .youtube-videogallery-img { width: 100%; }
.product-details .product-tools li { padding:0 10px 10px 0; float:left; display:block; }
.product-details .product-tools li a { padding:5px; background:#2f2f33; float:left; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tools li a:hover { background:#5a5d5f; }
.product-details .product-tools li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li { float:left; margin:0 8px 8px 8px; }
.product-details .product-related ul li a { background:#2f2f33;padding:5px;float:left; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position:relative; }
.product-details .product-related ul li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li a span { width:225px; position:absolute; bottom:0; left:7px; bottom:7px; padding:40px 0 7px 0; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-related ul li a span h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.product-details .pro-banner { margin:10px 0 0 0; }
.product-details .pro-banner a { -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; display: block }
.product-details .pro-banner a:hover { opacity:0.8; }
.product-details .pro-banner a img { width: 100%;}
/* Special note */
.special-note { width:100%; float:left; background:#eace9b; padding:20px; box-sizing:border-box; margin:0 0 30px 0; position:relative; }
.special-note h2 { color:#584117; font-size:16px; padding:0 0 10px 0; }
.special-note p { color:#6e5b38; font-size:12px; }
.special-note div { width:26px; height:90px; position:absolute; right:-26px; bottom:-3px; background:url(../img/bg_note.png) no-repeat 0 0; }
/* News Grid */
.news-grid article { vertical-align:top; }
.news-grid article a {display: block;background:#1e1f21; padding:5px; box-sizing:border-box; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 30px 0;}
.news-grid article a:hover { background:#323336; }
.news-grid article a .cnt { background:#18181b; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.news-grid article a .cnt img { width:100%; height:auto; display:block; }
.news-grid article a .cnt div { position:relative; }
.news-grid article a .cnt div span { width:100%; position:absolute; bottom:0; left:0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.news-grid article a .cnt div span h2 { text-align:center; font-size:16px; color:#ecce97; padding:50px 20px 5px 20px;}
.news-grid article a .cnt em { width:100%; text-align:center; float:left; font-style:normal; font-size:12px; color:#906e30; padding:5px 0; }
.news-grid article a .cnt p { color:#a8a8b3; font-size:12px; text-align:center; padding:0 20px 15px 20px; min-height: 95px;}
/* News Details */
.news-details { width:100%; float:left; }
.news-details .date { width:100%; float:left; font-style:normal; font-size:12px; color:#906e30; padding:0 0 20px 0; }
.news-details .date em { float:left; font-style:normal; font-size:12px; color:#906e30; }
.news-details .date .social { float:right; }
.news-details .date .social .fb-like-button { float:left; margin:0 15px; }
.news-details .date .social .tweet-button { width:85px; float:left; }
.news-details .rich-text { text-align:justify; }
.news-details .img { float: right; width: 30%; margin: 0 0 40px 40px; }
.news-details .img a { display: block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.news-details .img a:hover { background:#323336; }
.news-details .img img { width: 100%; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery { border-top:1px solid #17171a; margin:30px 0 0 0; padding:10px 0 0 0; }
.news-details .news-gallery h2 { color:#906e30; font-size:14px; padding:0 0 10px 0; }
.news-details .news-gallery ul li a { display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 10px 0}
.news-details .news-gallery ul li a:hover { background:#323336; }
.news-details .news-gallery ul li a img {width: 100%; height: auto !important; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery .bx-wrapper { max-width:1190px!important; }
.news-details .news-gallery .bx-pager { position:absolute; top:-25px; right:0; }
.news-details .news-gallery .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.news-details .news-gallery .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.news-details .news-gallery .bx-pager .bx-pager-item a.active { background:#ac946b; }
.paginator span { margin: 0 3px 0 0; display: inline-block; background: #1e1f21; padding: 5px;}
.paginator span.current { padding: 10px; color: #bba47a;}
.paginator span a { display:block; background:#323336; color: #bba47a; padding: 5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0;}
.paginator span a:hover { background:#1e1f21; }
/* Contact */
.contact-info { padding:0 20px 0 0; }
.contact-info h2 { font-size:22px; color:#a48958; padding:0 0 20px 0; }
.contact-info p { color:#c1b49c; }
.contact-info a { color:#a07c3b; }
.contact-info a:hover { color:#d5a856; }
.contact-info:nth-child(2) { padding:0 0 0 50px; }
.contact-form { background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; }
.contact-form h2 { width:100%; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.contact-form .textfield { width:100%; background:#fff; border:0; margin:0 0 10px 0; color:#010101; text-align:left; padding:10px 20px; -webkit-box-shadow: inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);-moz-box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4); font-family: 'robotolight'; font-size:14px; }
.contact-form .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield::-moz-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
.capcha-field { position: relative;}
.capcha-field em { position: absolute; left: 0; top: 0; background: #18181b; padding: 10px}
.capcha-field .textfield {padding-left: 80px;}
.contact-form .submit { width:100%; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.contact-form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.contact-form .submit:hover { background:#dcc18f; }
.gmap { width:100%; float:left; height:400px; margin:30px 0 0 0; }
/* Form Messages */
.validation-error-message { width:100%; display: block; margin:-10px 0 10px 0; color: #d34141; display:block; }
.form-message { color: #fff}
.form-message-error { width:100%; float:left; margin:10px 0 0 0; color: #d34141; display:block; }
.newsletter .form-message-error { width:auto; float:none; margin:0; }
.newsletter .validation-error-message { width:auto; float:none; margin:0; }
.form-message.form-message-success { color:#82a12b; }
.radio .validation-error-message { margin:0; }
/* FOOTER */
footer { width:100%; float:left; }
footer .inner {width: 1250px}
footer .inner .top { padding:35px 50px 0 50px; }
footer .inner .top h2 { width:50%; color:#bba47a; font-size:17px; padding:0 0 10px 0; }
footer .inner .top .products { }
footer .inner .top .products ul { display:block; }
footer .inner .top .products ul li { }
footer .inner .top .products ul li a { display: block; color:#808080; font-size:13px; }
footer .inner .top .products ul li a:hover { color:#fff; }
footer .inner .middle {border-bottom:1px solid #313234; padding:20px 50px; }
footer .inner .middle .wrap { border-top:1px solid #1e1e1f; padding:20px 0 0 0; }
footer .inner .middle .wrap .menu { padding:6px 0 0 0; display: inline-block; }
footer .inner .middle .wrap .menu ul li { display:inline-block; margin:0 15px 0 0; }
footer .inner .middle .wrap .menu ul li a { float:left; color:#808080; font-size:13px; text-transform: uppercase; color:#bba47a; }
footer .inner .middle .wrap .menu ul li a:hover { color:#fff; }
footer .inner .middle .newsletter { float:right; text-align:right; }
footer .inner .middle .newsletter p { color:#808080; font-size:13px; padding:6px 10px 0 0; float:left; }
footer .inner .middle .newsletter form { float:right; }
footer .inner .middle .newsletter .textfield { width:260px; float:left; background:#fff; border:0; color:#454545; padding:8px; font-size:13px; height: 31px; box-sizing: border-box}
footer .inner .middle .newsletter .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield::-moz-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .submit { float:left; border:none; background:#c3ab7f; padding:4px 3px; color:#fff; font-size:12px; font-family: 'pt_serifregular'; cursor:pointer; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:0 0 0 1px; line-height: 1;height: 31px;box-sizing: border-box }
footer .inner .middle .newsletter .submit:hover { background:#d8bf91; }
footer .inner .middle .newsletter .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:4px 10px 3px 10px; text-align:center; color:#292c31; }
footer .inner .bottom { padding:0 50px 0 50px; }
footer .inner .bottom p { color:#5d5959; font-size:11px; float:left; padding:10px 0; }
footer .inner .bottom a { color:#bba47a; }
footer .inner .bottom .right { float:right; text-align:right; }
/* Static pages */
.static-content { width:100%; float:left; }
.static-content section { padding:0 0 70px 0; }
.static-content section article .gallery-slideshow li a { float:left; display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; box-sizing:border-box; }
.static-content section article .gallery-slideshow li a:hover { background:#323336; }
.static-content section article .gallery-slideshow li a img { float:left; background:#37393b; border:1px solid #53595e; padding:1px; box-sizing:border-box; width:100%; display:block; height:auto; }
.static-content section article .gallery-slideshow .bx-pager { width:100%; position:absolute; bottom:-25px; right:0; text-align:center; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.static-content section:nth-child(2n) article { margin:0 25px 0 0; }
.static-content section:nth-child(2n) article:first-child { float:right; margin:0 0 0 25px; }
.static-content section article .spec-block { width:100%; float:left; background:#18181b; padding:10px; box-sizing:border-box; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); margin:20px 0 0 0; }
.static-content section article .spec-block .wrap { width:100%; float:left; padding:15px; box-sizing:border-box; border:1px solid #27272b; font-size:13px; }
.static-content section article .spec-block .wrap .rich-text { line-height:18px; }
.static-content section article .spec-block .wrap .rich-text p:last-child { padding:0; }
.static-content section article .form { width:100%; float:right; background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; box-sizing:border-box; }
.static-content section article .form h2 { width:100%; float:left; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.static-content section article .form .submit { width:100%; float:left; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.static-content section article .form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.static-content section article .form .submit:hover { background:#dcc18f; }
.static-content section article .form p { line-height:18px; color:#7a7c7f; font-size:13px; padding:0 0 25px 0; }
.radio { display:block; padding:20px 0; }
.radio label { line-height:18px; color:#7a7c7f; font-size:13px; display: inline-block; }
.radio div { display: inline-block; padding:0 0 0 20px; }
.radio div label { padding:0 0 0 5px; cursor: pointer }
.radio div input { display: inline-block;position:relative; top:3px; cursor: pointer }
/* Testimonials */
.testimonial { width:100%; float:left; text-align:center; padding:0 100px 40px 100px; box-sizing:border-box; }
.testimonial blockquote { }
.testimonial blockquote:before { content: "\201C"; color:#c1b49c; font-size:55px; margin-right: 0.1em; line-height:0.1em; vertical-align:-0.49em; font-family:Arial, Helvetica, sans-serif; }
.testimonial p { color:#fff; line-height:23px; font-size:16px; font-family:"pt_serifregular"; padding:0 0 10px 0; }
.testimonial span { color:#c1b49c; line-height:22px; }
/* Banners */
.banner { width:100%; float:left; box-sizing:border-box; margin:0 0 20px 0; }
.banner a {padding:5px; display: block; background:#1e1f21; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.banner a img { width:100%; padding:1px; background:#37393b; border:1px solid #53595e; }
.banner a:hover { background:#323336; }
/* References */
ul.reference-list { width: 100%; display: inline-block; text-align: center; }
ul.reference-list li { width: 48%; color: #c1b49c; display: inline-block; vertical-align: top; border:1px solid #584e42; -webkit-border-radius: 1px;-moz-border-radius: 1px;border-radius: 1px; margin: 0 5px 5px 5px; padding: 5px 0; }
footer .banner { }
/* Calculator */
#calculator { width:440px; }
#calculator .head { width:100%; float:left; box-sizing:border-box; background:#af976a; border-top:1px solid #c7b697; padding:16px 20px 13px 20px; }
#calculator .head h2 { color:#fff; font-size:24px; float:left; }
#calculator .head img { float:right; margin:6px 0 0 0; }
#calculator .body { width:100%; float:left; box-sizing:border-box; background:#222226; padding:20px; color:#c7c7c7; }
#calculator .body .select { width:100%; float:left; box-sizing:border-box; margin:35px 0 0 0; }
#calculator .body .select label { width:150px; float:left; padding:8px 0 0 0; }
#calculator .body .select select { width:230px; float:right; border:none; color:#6f6f6f; padding:10px; background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhZWFlYWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ffffff 0%, #aeaeae 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#aeaeae)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#aeaeae 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#aeaeae',GradientType=0 ); /* IE6-8 */
}
#calculator .body .select select option { background:#fff; }
#calculator .body .input { width:100%; float:left; box-sizing:border-box; border-top:1px solid #4e4e51; padding:10px 0 0 0; margin:10px 0 0 0; }
#calculator .body .input label.title { width:100%; float:left; text-transform:uppercase; color:#af976a; padding:0 0 10px 0; }
#calculator .body .input div { width:100%; float:left; box-sizing:border-box; padding:0 0 7px 0; }
#calculator .body .input div div { width:150px; float:left; box-sizing:border-box; padding:0; margin:0; }
#calculator .body .input div label { width:100%; float:left; padding:1px 0 0 0; }
#calculator .body .input div span { color:#606060; font-size:12px; top:-5px; position:relative; }
#calculator .body .input div input { width:210px; float:right; border:none; color:#6f6f6f; padding:10px; }
#calculator .body .submit { width:100%; float:left; border-bottom:1px solid #4e4e51; padding:0 0 10px 0; }
#calculator .body .submit input { width:230px; float:right; border:none; border-top:1px solid #d2c3a7; background:#bba47a; color:#fff; font-size:16px; font-family: 'pt_serifregular'; cursor:pointer; padding:10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
#calculator .body .submit input:hover { background:#dcc18f; }
#calculator .body .sumarum { width:100%; float:left; padding:10px 0 0 0; }
#calculator .body .sumarum .error { color: #d34141; }
#calculator .body .sumarum span { width:70px; float:right; font-size:20px; font-family: 'pt_serifregular'; text-align:right; font-weight:bold; }
#calculator .body .sumarum p { float:right; text-align:right;text-transform:uppercase; color:#af976a; padding:2px 0 0 0; }
#calculator .note { width:100%; float:left; padding:10px; box-sizing:border-box; background:#af976a; margin:20px 0 0 0; }
#calculator .note h2 { width:100%; float:left; color:#010101; font-size:14px; }
#calculator .note p { width:100%; float:left; color:#2c2a2a; font-size:12px; }
/* Before and after */
.before-after-nav { width:80%; margin:0 auto; text-align: center; padding:0 0 15px 0; position:relative; }
.before-after-nav a { padding:3px; background:#1e1f21; box-sizing:border-box; display:inline-block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-nav a img { width:100%; height:auto; display:block; padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-nav a:hover { background:#35383b; }
.before-after-nav a.active { background:#bba47a; }
.before-after-nav a.active img { background:#e9d1a6; border:1px solid #6c5c40; }
.before-after-main { width:80%; margin:0 auto; }
.before-after-main ul li { padding:5px; background:#1e1f21; box-sizing:border-box; }
.before-after-main ul li img { padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-main .bx-controls-direction a { width:36px!important; height:68px!important; background-image:url(../img/arrows.png); background-repeat:no-repeat; margin:0!important; opacity:.1; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-main .bx-controls-direction a:hover { opacity:.6; }
.before-after-main .bx-controls-direction a.bx-prev { background-position:0 0; left:-80px; }
.before-after-main .bx-controls-direction a.bx-next { background-position:100% 0; right:-80px; }
.renewal-block { margin:0 0 20px 0; }
.renewal-block article { position:relative; }
.renewal-block article a { background:#252729; padding:5px; display:block;-o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-block article a:hover { background:#5a5d5f; }
.renewal-block article span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:16px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.renewal-block article:last-child span { left:auto; right:20px; }
.renewal-block article img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; box-sizing:border-box; }
.renewal-gallery.row { margin: 0 -5px; }
.renewal-gallery.row > .column { padding: 0 5px; }
.renewal-gallery a { display: block; background: #2f2f33; padding: 5px; margin: 0 0 10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-gallery a:hover { background: #5a5d5f; }
.renewal-gallery a img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
.renewal-intro { padding: 0 0 20px 0; }
.renewal-intro .renewal-image { background: #2f2f33; padding: 5px; }
.renewal-intro .renewal-image img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
/*
* Core Owl Carousel CSS File
* v1.3.3
*/
/* clearfix */
.owl-carousel .owl-wrapper:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
/* display none until init */
.owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; }
.owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); margin:0 auto; }
.owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; }
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition: height 500ms ease-in-out;-moz-transition: height 500ms ease-in-out;-ms-transition: height 500ms ease-in-out;-o-transition: height 500ms ease-in-out;transition: height 500ms ease-in-out;}
.owl-carousel .owl-item{ float: left; }
.owl-controls .owl-page, .owl-controls .owl-buttons div { width:16px; height:31px; cursor:pointer; background-image:url(../img/arrows2.png); background-repeat:no-repeat; opacity:0.4; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; text-indent:-9999px; position:absolute; }
.owl-controls .owl-buttons div:hover { opacity:1; }
.owl-controls .owl-buttons div.owl-prev { background-position:0 0; left:-30px; }
.owl-controls .owl-buttons div.owl-next { background-position:100% 0; right:-30px; }
.owl-controls { width:100%; position:absolute; top:15px; }
/* mouse grab icon */
.grabbing { cursor:url(grabbing.png) 8 8, move; }
/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); }
/* FAQ */
.faq-list { width:100%; }
.faq-list .single-faq { width:100%; background:#111113; box-sizing:border-box; margin:0 0 1px; padding:10px; }
.faq-list .single-faq .single-faq-inner { width:100%; background:#202023; box-sizing:border-box; border:1px solid #29292f; padding:1px; }
.faq-list .single-faq .single-faq-inner .question { width:100%; background:#202023; box-sizing:border-box; padding:8px 10px; cursor:pointer; transition:all 0.2s ease-out 0s; }
.faq-list .single-faq .single-faq-inner .question:hover { background:#1c1c1e; }
.faq-list .single-faq .single-faq-inner .question h2 { color:#bcb6a9; font-size:15px; position:relative; line-height: 20px; }
.faq-list .single-faq .single-faq-inner .question h2::before { color:#6c675d; content:"▸"; margin:0 5px 0 0; }
.faq-list .single-faq .single-faq-inner .answer { width:100%; box-sizing:border-box; padding:10px; color:#c1b49c; line-height:22px; }
.faq-list .single-faq .single-faq-inner .answer a { color:#ebce98; text-decoration:underline; }
.faq-list .single-faq .single-faq-inner .answer a:hover { text-decoration:none; }
.faq-list .single-faq .single-faq-inner .question.active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active h2 { color:#292c31; }
.faq-list .single-faq .single-faq-inner .question.active h2:before { content:'▾'; color:#292c31; }
.row,.row:after{display:block;clear:both}.row{margin:0 -15px;width:auto;position:relative}.row:after{visibility:hidden;font-size:0;content:" ";height:0}.row>.column{padding:0 15px;float:left}.row>.column.pull-right{float:right}.row>.column.__12{width:100%}.row>.column.__11{width:91.666666%}.row>.column.__10{width:83.333333%}.row>.column.__9{width:75%}.row>.column.__8{width:66.666666%}.row>.column.__7{width:58.333333%}.row>.column.__6{width:50%}.row>.column.__5{width:41.666666%}.row>.column.__4{width:33.333333%}.row>.column.__3{width:25%}.row>.column.__2{width:16.666666%}.row>.column.__1{width:8.333333%}@media only screen and (max-width:1279px){.row>.column.lt__6{width:100%}.row>.column.lt__5{width:83.333333%}.row>.column.lt__4{width:66.666666%}.row>.column.lt__3{width:50%}.row>.column.lt__2{width:33.333333%}.row>.column.lt__1{width:16.666666%}}@media only screen and (max-width:1023px){.row>.column.st__6{width:100%}.row>.column.st__5{width:83.333333%}.row>.column.st__4{width:66.666666%}.row>.column.st__3{width:50%}.row>.column.st__2{width:33.333333%}.row>.column.st__1{width:16.666666%}}@media only screen and (max-width:767px){.row>.column.m__1{width:50%}.row>.column.__1,.row>.column.__10,.row>.column.__11,.row>.column.__12,.row>.column.__2,.row>.column.__3,.row>.column.__4,.row>.column.__5,.row>.column.__6,.row>.column.__7,.row>.column.__8,.row>.column.__9,.row>.column.lt__1,.row>.column.lt__2,.row>.column.lt__3,.row>.column.lt__4,.row>.column.lt__5,.row>.column.lt__6,.row>.column.m__2,.row>.column.st__1,.row>.column.st__2,.row>.column.st__3,.row>.column.st__4,.row>.column.st__5,.row>.column.st__6{width:100%}}.row.block-row.__2-block .column{width:50%}.row.block-row.__3-block .column{width:33.3333333%}.row.block-row.__4-block .column{width:25%}.row.block-row.__5-block .column{width:20%}.row.block-row.__6-block .column{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .column{width:50%}.row.block-row.lt__3-block .column{width:33.3333333%}.row.block-row.lt__4-block .column{width:25%}.row.block-row.lt__5-block .column{width:20%}.row.block-row.lt__6-block .column{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .column{width:50%}.row.block-row.st__3-block .column{width:33.3333333%}.row.block-row.st__4-block .column{width:25%}.row.block-row.st__5-block .column{width:20%}.row.block-row.st__6-block .column{width:16.666666666%}.row .column.tablet-hide{display: none}}@media only screen and (max-width:767px){.row{margin: 0;}.row.block-row.__2-block .column, .row.block-row.__3-block .column, .row.block-row.__4-block .column, .row.block-row.__5-block .column, .row.block-row.__6-block .column, .row.block-row.lt__2-block .column, .row.block-row.lt__3-block .column, .row.block-row.lt__4-block .column, .row.block-row.lt__5-block .column, .row.block-row.lt__6-block .column, .row.block-row.st__2-block .column, .row.block-row.st__3-block .column, .row.block-row.st__4-block .column, .row.block-row.st__5-block .column, .row.block-row.st__6-block .column {width:100%}.row.block-row.m__2-block .column{width:50%}.row.block-row.m__3-block .column{width:33.3333333%}.row.block-row.m__4-block .column{width:25%}}.row.__5-margin{margin:0 -5px}.row.__5-margin .column{padding:0 5px}.row.__0{margin:0}.row.__0 .column{padding:0}
.row .youtube-videogallery-item {padding:0 15px;float:left}
.row.block-row.__2-block .youtube-videogallery-item{width:50%}.row.block-row.__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.__4-block .youtube-videogallery-item{width:25%}.row.block-row.__5-block .youtube-videogallery-item{width:20%}.row.block-row.__6-block .youtube-videogallery-item{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .youtube-videogallery-item{width:50%}.row.block-row.lt__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.lt__4-block .youtube-videogallery-item{width:25%}.row.block-row.lt__5-block .youtube-videogallery-item{width:20%}.row.block-row.lt__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .youtube-videogallery-item{width:50%}.row.block-row.st__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.st__4-block .youtube-videogallery-item{width:25%}.row.block-row.st__5-block .youtube-videogallery-item{width:20%}.row.block-row.st__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:767px){.row.block-row.__2-block .youtube-videogallery-item, .row.block-row.__3-block .youtube-videogallery-item, .row.block-row.__4-block .youtube-videogallery-item, .row.block-row.__5-block .youtube-videogallery-item, .row.block-row.__6-block .youtube-videogallery-item, .row.block-row.lt__2-block .youtube-videogallery-item, .row.block-row.lt__3-block .youtube-videogallery-item, .row.block-row.lt__4-block .youtube-videogallery-item, .row.block-row.lt__5-block .youtube-videogallery-item, .row.block-row.lt__6-block .youtube-videogallery-item, .row.block-row.st__2-block .youtube-videogallery-item, .row.block-row.st__3-block .youtube-videogallery-item, .row.block-row.st__4-block .youtube-videogallery-item, .row.block-row.st__5-block .youtube-videogallery-item, .row.block-row.st__6-block .youtube-videogallery-item {width:100%}.row.block-row.m__2-block .youtube-videogallery-item{width:50%}.row.block-row.m__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.m__4-block .youtube-videogallery-item{width:25%}} .row.__5-margin .youtube-videogallery-item{padding:0 5px}
.fancybox-title { text-align: center; font-size: 15px!important; font-weight: bold!important; }
@media all and (min-width:1280px) {
#openLeftMenu { display: none!important; }
}
@media all and (max-width:1279px) {
header .logo { margin: 0 auto; display: block; }
body { position: relative; left: 0; right: 0; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out; -ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right,#off-canvas-left { height: 100%; position: fixed; top: 0; bottom: 0; overflow-y: auto; display: inline-block; float: none; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right { width: 50%; right: -50%; padding: 0; }
#off-canvas-left { width: 50%; left: -50%; padding: 20px 0; }
#openRightMenu, #openLeftMenu { display: block; }
body.off-canvas-right-opened { left: -50%; right: auto; overflow-x: visible; }
body.off-canvas-right-opened #off-canvas-right { right: 0; opacity: 1; background: #222226; float: none; display: block; padding: 0; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li { width: 100%; margin: 0; display: block; border-bottom: 1px solid #37373b; text-align: left; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a { display: block; float: none; color: #797984; font-size: 18px; font-weight: bold; padding: 15px 30px; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a:hover { color: #fff; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a { color:#d9bd8a; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a:after { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.dropdown:after { top: 25px; right: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #797984; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul { width: 100%; position: relative; left: auto; top: auto; border: none; -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);-moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul:before { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul > li > a { font-size: 16px; color: #797984; padding: 13px 31px; }
body.off-canvas-left-opened { left: 50%; right: auto; overflow-x: visible; }
body.off-canvas-left-opened #off-canvas-left { left: 0; opacity: 1; background: #222226; }
body.off-canvas-left-opened #off-canvas-left .vertical-menu ul li ul li a { padding: 10px 0; }
.breadcrumbs { text-align: center; }
.breadcrumbs p { display: inline-block; float: none; }
.breadcrumbs ul { display: inline-block; }
.page-title { text-align: center; padding: 30px 0; }
.page-title .inner div { width: 100%; float: none; border: none; padding: 0; }
.product-details .social { text-align: center; }
.product-details .social .fb-like-button, .product-details .social .tweet-button { float: none; display: inline-block;}
header .logo { padding:5px 0; }
header .right ul.lang { display:none; }
footer .inner .middle { padding:20px 0; }
footer .inner .middle .newsletter .textfield { width:180px; }
.article-grid-smallgrid article span { top:40px; left:50px; }
.content .banner { display: none; }
}
@media only screen and (max-width : 1023px) {
.home-block { width:98%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.static-content section article { width:100%; }
.static-content section article:nth-child(2) { width:60%; margin:0 auto; float:none; display:table; }
.article-grid article a { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article { width:48%; }
.article-grid-smallgrid article span { left:60px; }
.main-content { width:100%; display:block; margin:0 auto; }
.news-details .img { width:50%; }
.news-details .img img { width:100%; height:auto; display:block; }
.contact-info:nth-child(2) { padding:0; }
.contact-form { width:100%; box-sizing:border-box; margin:30px 0 0 0; }
.fader { padding:40px 0 0 0; }
header { position:fixed; }
header .logo { width:110px; margin:0 auto; float:none; }
header .logo img { width:100%; height:auto; display:block; }
footer .inner { width:100%; }
footer .inner .middle { width:100%; box-sizing:border-box; padding:20px 25px; }
footer .inner .middle .wrap .menu { width:100%; text-align:center; }
footer .inner .middle .wrap .menu ul li { float:none; display:inline-block; }
footer .inner .middle .newsletter { margin:0 auto; float:none; display:table; padding:20px 0 0 0; }
footer .inner .bottom { width:100%; padding:0 25px; box-sizing:border-box; }
}
@media only screen and (max-width : 767px) {
.phone-hide { display: none!important; }
#openRightMenu { top: 17px; }
#openLeftMenu { top: 17px; }
html { overflow-x:hidden;}
#main-menu {width:70%;right:-70%; }
#category-menu {width:70%; left:-70%; }
.home-block .block { width:100%; box-sizing:border-box; padding:30px 20px; margin:0 0 10px 0; }
.home-block .block article span { width:100%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.testimonial { padding:0 0 40px 0; }
header .right ul.lang { float:none; padding:15px 0; margin:0 auto; text-align:center; }
header .right ul.lang li { float:none; display:inline-block; padding:0; margin:0 10px; }
header .right ul.lang li a { float:left; color:#484b4e; font-size:15px; }
header .right ul.lang li a:hover { color:#fff; }
header .right ul.lang li.active a { color:#bba47a; }
header .right nav { width:100%; float:right; padding:12px 0 0 0; }
header .right nav ul { float:left; }
header .right nav ul li { width:100%; float:left; display:block; margin:0 0 1px 0; position:relative; border-bottom:1px solid #1a1a1b; }
header .right nav ul li:first-child { margin:0 0 1px 0; }
header .right nav ul li a { width:100%; float:left; font-size:16px; color:#8c8c8c; text-transform:uppercase; padding:10px; box-sizing:border-box; }
header .right nav ul li a:hover { color:#fff; }
header .right nav ul li:after { display:none; }
header .right nav ul li:hover:after { width:100%; }
header .right nav ul li.active:hover:after { width:0; }
header .right nav ul li.active { border-bottom:1px solid #1a1a1b; }
header .right nav ul li.active a { background:#bba47a; color:#fff; }
footer .inner { width:94%; }
footer .inner .top { width:100%; padding:20px; box-sizing:border-box; }
footer .inner .middle { width:100%; padding:20px 0; }
footer .inner .middle .wrap { padding: 0;}
footer .inner .middle .wrap .menu { width:100%; padding:0; }
footer .inner .middle .wrap .menu ul li { width:100%; margin:0; text-align:center; }
footer .inner .middle .wrap .menu ul li a { float:none; display:block; padding:10px 0; }
footer .inner .middle .newsletter { width:100%; float:left; border-top:1px solid #313234; }
footer .inner .middle .newsletter form { float:none; display:table; margin:0 auto; }
footer .inner .middle .newsletter .textfield { width:218px; }
footer .inner .middle .newsletter p { width:100%; text-align:center; padding:10px 0; }
footer .inner .bottom { width:100%; float:left; text-align:center; }
footer .inner .bottom p { width:100%; float:left; text-align:center; padding:5px 0; }
footer .inner .bottom .right { text-align:center; }
.page-content { margin:0 auto; background:#000; background-image:none; }
.breadcrumbs p { display:none; }
.page-title .inner div { width:100%; float:left; border-left:none; border-bottom:1px solid #bba47a; text-align:center; padding:0 0 15px 0; }
.page-title .inner span { width:100%; padding:10px 0 0 0; position:relative; top:0; float:left; text-align:center; }
.page-title .inner span img { width:120px; }
.main-content { width:100%; padding:0; }
.special-note div { display:none; }
/* Rich text */
.rich-text { text-align:justify; }
/* Special note */
.special-note { text-align:center; }
/* Article grid */
.article-grid-smallgrid article span { width:200px; box-sizing:border-box; left:50%; margin:0 0 0 -100px; }
.article-grid-smallgrid article span em { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article span em img { width:100%; height:auto; display:block; }
/* Product info */
.product-details .product-info { width:100%; margin:0; }
.product-details .right-info { width:100%; float:left; }
.product-details .product-slideshow { width:100%; }
.product-details .product-slideshow a img { width:100%; height:auto; display:block; box-sizing:border-box; }
.product-details a.link-download { width:100%; box-sizing:border-box; }
.product-details a.link-download span { width:100%; box-sizing:border-box; }
.product-details .pro-banner { width:100%; }
.product-details .pro-banner img { width:100%; height:auto; display:block; margin:10px 0; }
/* News */
.news-details .img { width:100%; }
.news-details .img img { width:100%; height:auto; display:block; box-sizing:border-box; }
/* Contact */
.contact-info { width:100%; padding:0; text-align:center; padding:0 0 20px 0; }
.contact-form { width:100%; box-sizing:border-box; }
.page-content { padding: 0 0 20px 0;}
/* Calculator */
#calculator { width:100%; }
#calculator .head h2 { width:100%; text-align:center; }
#calculator .head img { float:none; display:block; margin:10px auto 0 auto; }
#calculator .body p { text-align:justify; }
#calculator .body .select label { width:100%; text-align:center; padding:0 0 10px 0; }
#calculator .body .input { text-align:center; }
#calculator .body .input div div { width:100%; }
#calculator .body .select select { width:100%; box-sizing:border-box; }
#calculator .body .input div input { width:100%; box-sizing:border-box; }
#calculator .body .submit input { width:100%; box-sizing:border-box; }
.page-title { padding: 10px 0 10px 0;}
.page-title .inner div h2 { min-height: 0;}
.page-title .inner div h1 { margin: 10px 0 0 0 ;}
.slider { display:none; }
footer .banner { margin: 20px 0 0 0;}
.lines-button { display:inline-block; }
.cat-menu { display:block; }
.before-after-main { width:100%; }
.add-image { width:100%; margin:0 0 40px 0; max-width: 100%;}
ul.reference-list li { width: 100%; margin: 0 0 5px 0; }
}
@media only screen and (max-width : 767px) and (orientation:portrait) {
body.off-canvas-right-opened { left: -80%; }
#off-canvas-right { width: 80%; right: -80%; }
body.off-canvas-left-opened { left: 80%; }
#off-canvas-left { width: 80%; left: -80%; }
}
',
'modified' => '2016-11-10 14:47:39'
)
),
'Javascript' => array(
(int) 0 => array(
'id' => (int) 99,
'name' => 'main',
'data' => '$(document).ready(function(){
// Hamburger icon menu
var forEach = function (t, o, r) {
if ("[object Object]" === Object.prototype.toString.call(t))for (var c in t)Object.prototype.hasOwnProperty.call(t, c) && o.call(r, t[c], c, t); else for (var e = 0, l = t.length; l > e; e++)o.call(r, t[e], e, t)
};
var hamburgers = document.querySelectorAll(".hamburger");
if (hamburgers.length > 0) {
forEach(hamburgers, function (hamburger) {
hamburger.addEventListener("click", function () {
this.classList.toggle("is-active");
}, false);
});
}
// Off canvas right menu
$('#openRightMenu').click(function () {
$('body').toggleClass('off-canvas-right-opened');
});
// Off canvas left menu
$('#openLeftMenu').click(function () {
$('body').toggleClass('off-canvas-left-opened');
});
// Responsive menu
if($(window).width() <= 1279) {
$('li.dropdown').click(function() {
$(this).find('ul').stop().slideToggle();
});
}
if(!$.trim( $('.cms-richtext').html() ).length) {
$('.block-about').hide();
}
$('form#newsletterForm').intlxform();
$('form#contactForm').intlxform();
$('form#valpaintForm').intlxform();
if($('div.right-info').find('div.pro-banner').length) {
$('div.right-info').removeClass('photo-grid');
}
// Slideshow
var numImgs = $('.product-slideshow ul img').length;
if (numImgs > 1) {
$('.product-slideshow ul').bxSlider({
controls: true,
mode: 'fade',
controls: false,
auto: true,
pause: 3000,
speed: 1500
});
}
$(".fancybox").fancybox({
scrolling : 'yes',
cyclic : true,
helpers : {
overlay: {
locked: false
},
title: {
type: 'inside',
position: 'bottom'
}
}
});
$('.data-anchor').click(function() {
var anchor = $('#' + $(this).data('anchor')).offset().top;
$('html, body').animate({scrollTop: anchor}, 800);
});
$('a.link-download').click(function() {
catalougeWindow = window.open(this.href, 'name', 'height=650, width=900');
if(window.focus) {
catalougeWindow.focus()
}
return false;
});
// Accordion
$('.head').click(function() {
$('.product-block .head').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.body');
targetElement.slideToggle();
$('.product-block .body').not(targetElement).slideUp();
});
$('.question').click(function() {
$('.faq-list .question').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.answer');
targetElement.slideToggle();
$('.faq-list .answer').not(targetElement).slideUp();
});
// YouTube popup
$("ul.youtube-videogallery").youtubeVideoGallery();
$('form.calculator-form').submit(function() {
var span = $(this).find('.sumarum span');
var error = $(this).find('.error');
var result = parseFloat($('#CalculatorWallWidth').val()) * parseFloat($('#CalculatorWallHeight').val()) / parseFloat($('#CalculatorDimension').val());
/* Show error, if any */
error.text('');
if(isNaN(result) || result <= 0) {
span.text('');
error.text('Unete vrednosti nisu korektne');
} else {
span.text(Math.ceil(result));
}
return false;
});
});
$(window).load(function() {
if($('body').find('div.side-content').length) {
$('#openLeftMenu').show();
}
});
$(window).resize(function () {
$('body').trigger('click')
});
',
'modified' => '2016-11-10 14:49:31'
),
(int) 1 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4.pack',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
(function(C,z,f,r){var q=f(C),n=f(z),b=f.fancybox=function(){b.open.apply(this,arguments)},H=navigator.userAgent.match(/msie/),w=null,s=z.createTouch!==r,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},p=function(a){return a&&"string"===f.type(a)},F=function(a){return p(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&F(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},x=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.4",defaults:{padding:15,margin:20,width:800,
height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",
34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+
(H?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,
openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,
isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,
c.metadata())):k=c);g=d.href||k.href||(p(c)?c:null);h=d.title!==r?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));p(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":p(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(p(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&
k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==r&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||
b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=
setTimeout(b.next,b.current.playSpeed))},c=function(){d();f("body").unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,f("body").bind({"afterShow.player onUpdate.player":e,"onCancel.player beforeClose.player":c,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(p(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},
prev:function(a){var d=b.current;d&&(p(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==r&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},
e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(w),w=null);b.isOpen&&!w&&(w=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),w=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),
b.trigger("onUpdate")),b.update())},hideLoading:function(){n.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");n.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||
!1,d={x:q.scrollLeft(),y:q.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&C.innerWidth?C.innerWidth:q.width(),d.h=s&&C.innerHeight?C.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");n.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&n.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=
e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==r)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&
"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,
e){e&&(b.helpers[d]&&f.isFunction(b.helpers[d][a]))&&(e=f.extend(!0,{},b.helpers[d].defaults,e),b.helpers[d][a](e,c))});f.event.trigger(a+".fb")}},isImage:function(a){return p(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return p(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&
(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=
!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady");
if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=
this.width;b.coming.height=this.height;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,
(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=
b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();
e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",
!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");
a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,
v=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,p=l(y[1]+y[3]),r=l(y[0]+y[2]),z,A,t,D,B,G,C,E,w;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=l(k.outerWidth(!0)-k.width());z=l(k.outerHeight(!0)-k.height());A=p+y;t=r+z;D=F(c)?(a.w-A)*l(c)/100:c;B=F(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(w=h.content,h.autoHeight&&1===w.data("ready"))try{w[0].contentWindow.document.location&&(g.width(D).height(9999),G=w.contents().find("body"),q&&G.css("overflow-x",
"hidden"),B=G.height())}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=l(D);j=l(B);E=D/B;m=l(F(m)?l(m,"w")-A:m);n=l(F(n)?l(n,"w")-A:n);u=l(F(u)?l(u,"h")-t:u);v=l(F(v)?l(v,"h")-t:v);G=n;C=v;h.fitToView&&(n=Math.min(a.w-A,n),v=Math.min(a.h-t,v));A=a.w-p;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/E)),j>v&&(j=v,c=l(j*E)),c<m&&(c=m,j=l(c/E)),j<u&&
(j=u,c=l(j*E))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,v)));if(h.fitToView)if(g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height(),h.aspectRatio)for(;(a>A||p>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(v,j-10)),c=l(j*E),c<m&&(c=m,j=l(c/E)),c>n&&(c=n,j=l(c/E)),g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height();else c=Math.max(m,Math.min(c,c-(a-A))),j=Math.max(u,Math.min(j,j-(p-r)));q&&("auto"===s&&j<B&&c+y+
q<A)&&(c+=q);g.width(c).height(j);e.width(c+y);a=e.width();p=e.height();e=(a>A||p>r)&&c>m&&j>u;c=h.aspectRatio?c<G&&j<C&&c<D&&j<B:(c<G||j<C)&&(c<D||j<B);f.extend(h,{dim:{width:x(a),height:x(p)},origWidth:D,origHeight:B,canShrink:e,canExpand:c,wPadding:y,hPadding:z,wrapSpace:p-k.outerHeight(!0),skinSpace:k.height()-j});!w&&(h.autoHeight&&j>u&&j<v&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",
top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=x(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=x(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&
(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=
a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):
(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:x(c.top-h*a.topRatio),left:x(c.left-j*a.leftRatio),width:x(f+j),height:x(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===
f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,
{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=x(l(e[g])-200),c[g]="+=200px"):(e[g]=x(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=
b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo("body");
this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){f(a.target).hasClass("fancybox-overlay")&&(b.isActive?b.close():d.close())});this.overlay.css(a.css).show()},
close:function(){f(".fancybox-overlay").remove();q.unbind("resize.overlay");this.overlay=null;!1!==this.margin&&(f("body").css("margin-right",this.margin),this.margin=!1);this.el&&this.el.removeClass("fancybox-lock")},update:function(){var a="100%",b;this.overlay.width(a).height("100%");H?(b=Math.max(z.documentElement.offsetWidth,z.body.offsetWidth),n.width()>b&&(a=n.width())):n.width()>q.width()&&(a=n.width());this.overlay.width(a).height(n.height())},onReady:function(a,b){f(".fancybox-overlay").stop(!0,
!0);this.overlay||(this.margin=n.height()>q.height()||"scroll"===f("body").css("overflow-y")?f("body").css("margin-right"):!1,this.el=z.all&&!z.querySelector?f("html"):f("body"),this.create(a));a.locked&&this.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&(this.el.addClass("fancybox-lock"),!1!==this.margin&&f("body").css("margin-right",l(this.margin)+b.scrollbarWidth));this.open(a)},onUpdate:function(){this.fixed||
this.update()},afterClose:function(a){this.overlay&&!b.isActive&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(p(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),
H&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+
'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):n.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};n.ready(function(){f.scrollbarWidth===r&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),
b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===r){var a=f.support,d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body"),e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")})})})(window,document,jQuery);
$(document).ready(function() {
$(".fancybox").fancybox({
helpers: {
title: false,
overlay: {
locked: false
}
}
});
});
',
'modified' => '2016-11-22 16:33:55'
),
(int) 2 => array(
'id' => (int) 6,
'name' => 'owl.carousel',
'data' => '"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,o){var i={init:function(e,o){var i=this;i.$elem=t(o),i.options=t.extend({},t.fn.owlCarousel.options,i.$elem.data(),e),i.userOptions=e,i.loadContent()},loadContent:function(){function e(t){var e,o="";if("function"==typeof i.options.jsonSuccess)i.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(o+=t.owl[e].item);i.$elem.html(o)}i.logIn()}var o,i=this;"function"==typeof i.options.beforeInit&&i.options.beforeInit.apply(this,[i.$elem]),"string"==typeof i.options.jsonPath?(o=i.options.jsonPath,t.getJSON(o,e)):i.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;return 0===t.$elem.children().length?!1:(t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),void t.onStartup())},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),t.options.transitionStyle!==!1&&t.transitionTypes(t.options.transitionStyle),t.options.autoPlay===!0&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){var t=this;t.options.lazyLoad===!0&&t.lazyLoad(),t.options.autoHeight===!0&&t.autoHeight(),t.onVisibleItems(),"function"==typeof t.options.afterAction&&t.options.afterAction.apply(this,[t.$elem])},updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;e.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;return t.$elem.is(":visible")!==!1?!1:(t.$elem.css({opacity:0}),e.clearInterval(t.autoPlayInterval),e.clearInterval(t.checkVisible),void(t.checkVisible=e.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),e.clearInterval(t.checkVisible))},500)))},wrapItems:function(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),t.wrapperOuter=t.$elem.find(".owl-wrapper-outer"),t.$elem.css("display","block")},baseClass:function(){var t=this,e=t.$elem.hasClass(t.options.baseClass),o=t.$elem.hasClass(t.options.theme);e||t.$elem.addClass(t.options.baseClass),o||t.$elem.addClass(t.options.theme)},updateItems:function(){var e,o,i=this;if(i.options.responsive===!1)return!1;if(i.options.singleItem===!0)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1,!1;if(e=t(i.options.responsiveBaseWidth).width(),e>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),i.options.itemsCustom!==!1)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),o=0;o<i.options.itemsCustom.length;o+=1)i.options.itemsCustom[o][0]<=e&&(i.options.items=i.options.itemsCustom[o][1]);else e<=i.options.itemsDesktop[0]&&i.options.itemsDesktop!==!1&&(i.options.items=i.options.itemsDesktop[1]),e<=i.options.itemsDesktopSmall[0]&&i.options.itemsDesktopSmall!==!1&&(i.options.items=i.options.itemsDesktopSmall[1]),e<=i.options.itemsTablet[0]&&i.options.itemsTablet!==!1&&(i.options.items=i.options.itemsTablet[1]),e<=i.options.itemsTabletSmall[0]&&i.options.itemsTabletSmall!==!1&&(i.options.items=i.options.itemsTabletSmall[1]),e<=i.options.itemsMobile[0]&&i.options.itemsMobile!==!1&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&i.options.itemsScaleUp===!0&&(i.options.items=i.itemsAmount)},response:function(){var o,i,n=this;return n.options.responsive!==!0?!1:(i=t(e).width(),n.resizer=function(){t(e).width()!==i&&(n.options.autoPlay!==!1&&e.clearInterval(n.autoPlayInterval),e.clearTimeout(o),o=e.setTimeout(function(){i=t(e).width(),n.updateVars()},n.options.responsiveRefreshRate))},void t(e).resize(n.resizer))},updatePosition:function(){var t=this;t.jumpTo(t.currentItem),t.options.autoPlay!==!1&&t.checkAp()},appendItemsSizes:function(){var e=this,o=0,i=e.itemsAmount-e.options.items;e.$owlItems.each(function(n){var s=t(this);s.css({width:e.itemWidth}).data("owl-item",Number(n)),(n%e.options.items===0||n===i)&&(n>i||(o+=1)),s.data("owl-roundPages",o)})},appendWrapperSizes:function(){var t=this,e=t.$owlItems.length*t.itemWidth;t.$owlWrapper.css({width:e,left:0}),t.appendItemsSizes()},calculateAll:function(){var t=this;t.calculateWidth(),t.appendWrapperSizes(),t.loops(),t.max()},calculateWidth:function(){var t=this;t.itemWidth=Math.round(t.$elem.width()/t.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(t.maximumItem=0,e=0,t.maximumPixels=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var e,o,i,n=this,s=0,a=0;for(n.positionsInArray=[0],n.pagesInArray=[],e=0;e<n.itemsAmount;e+=1)a+=n.itemWidth,n.positionsInArray.push(-a),n.options.scrollPerPage===!0&&(o=t(n.$owlItems[e]),i=o.data("owl-roundPages"),i!==s&&(n.pagesInArray[s]=n.positionsInArray[e],s=i))},buildControls:function(){var e=this;(e.options.navigation===!0||e.options.pagination===!0)&&(e.owlControls=t('<div class="owl-controls"/>').toggleClass("clickable",!e.browser.isTouch).appendTo(e.$elem)),e.options.pagination===!0&&e.buildPagination(),e.options.navigation===!0&&e.buildButtons()},buildButtons:function(){var e=this,o=t('<div class="owl-buttons"/>');e.owlControls.append(o),e.buttonPrev=t("<div/>",{"class":"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=t("<div/>",{"class":"owl-next",html:e.options.navigationText[1]||""}),o.append(e.buttonPrev).append(e.buttonNext),o.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),o.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(o){o.preventDefault(),t(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=t('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(o){o.preventDefault(),Number(t(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(t(this).data("owl-page")),!0)})},updatePagination:function(){var e,o,i,n,s,a,r=this;if(r.options.pagination===!1)return!1;for(r.paginationWrapper.html(""),e=0,o=r.itemsAmount-r.itemsAmount%r.options.items,n=0;n<r.itemsAmount;n+=1)n%r.options.items===0&&(e+=1,o===n&&(i=r.itemsAmount-r.options.items),s=t("<div/>",{"class":"owl-page"}),a=t("<span></span>",{text:r.options.paginationNumbers===!0?e:"","class":r.options.paginationNumbers===!0?"owl-numbers":""}),s.append(a),s.data("owl-page",o===n?i:n),s.data("owl-roundPages",e),r.paginationWrapper.append(s));r.checkPagination()},checkPagination:function(){var e=this;return e.options.pagination===!1?!1:void e.paginationWrapper.find(".owl-page").each(function(){t(this).data("owl-roundPages")===t(e.$owlItems[e.currentItem]).data("owl-roundPages")&&(e.paginationWrapper.find(".owl-page").removeClass("active"),t(this).addClass("active"))})},checkNavigation:function(){var t=this;return t.options.navigation===!1?!1:void(t.options.rewindNav===!1&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled"))))},updateControls:function(){var t=this;t.updatePagination(),t.checkNavigation(),t.owlControls&&(t.options.items>=t.itemsAmount?t.owlControls.hide():t.owlControls.show())},destroyControls:function(){var t=this;t.owlControls&&t.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem>e.maximumItem+(e.options.scrollPerPage===!0?e.options.items-1:0)){if(e.options.rewindNav!==!0)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(e.options.scrollPerPage===!0&&e.currentItem>0&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem<0){if(e.options.rewindNav!==!0)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,o,i){var n,s=this;return s.isTransition?!1:("function"==typeof s.options.beforeMove&&s.options.beforeMove.apply(this,[s.$elem]),t>=s.maximumItem?t=s.maximumItem:0>=t&&(t=0),s.currentItem=s.owl.currentItem=t,s.options.transitionStyle!==!1&&"drag"!==i&&1===s.options.items&&s.browser.support3d===!0?(s.swapSpeed(0),s.browser.support3d===!0?s.transition3d(s.positionsInArray[t]):s.css2slide(s.positionsInArray[t],1),s.afterGo(),s.singleItemTransition(),!1):(n=s.positionsInArray[t],s.browser.support3d===!0?(s.isCss3Finish=!1,o===!0?(s.swapSpeed("paginationSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.paginationSpeed)):"rewind"===o?(s.swapSpeed(s.options.rewindSpeed),e.setTimeout(function(){s.isCss3Finish=!0},s.options.rewindSpeed)):(s.swapSpeed("slideSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.slideSpeed)),s.transition3d(n)):o===!0?s.css2slide(n,s.options.paginationSpeed):"rewind"===o?s.css2slide(n,s.options.rewindSpeed):s.css2slide(n,s.options.slideSpeed),void s.afterGo()))},jumpTo:function(t){var e=this;"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:0>=t&&(t=0),e.swapSpeed(0),e.browser.support3d===!0?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),t.options.autoPlay!==!1&&t.checkAp()),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){var t=this;t.apStatus="stop",e.clearInterval(t.autoPlayInterval)},checkAp:function(){var t=this;"stop"!==t.apStatus&&t.play()},play:function(){var t=this;return t.apStatus="play",t.options.autoPlay===!1?!1:(e.clearInterval(t.autoPlayInterval),void(t.autoPlayInterval=e.setInterval(function(){t.next(!0)},t.options.autoPlay)))},swapSpeed:function(t){var e=this;"slideSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.slideSpeed)):"paginationSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.paginationSpeed)):"string"!=typeof t&&e.$owlWrapper.css(e.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){var e=this;e.$owlWrapper.css(e.doTranslate(t))},css2move:function(t){var e=this;e.$owlWrapper.css({left:t})},css2slide:function(t,e){var o=this;o.isCssFinish=!1,o.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||o.options.slideSpeed,complete:function(){o.isCssFinish=!0}})},checkBrowser:function(){var t,i,n,s,a=this,r="translate3d(0px, 0px, 0px)",l=o.createElement("div");l.style.cssText=" -moz-transform:"+r+"; -ms-transform:"+r+"; -o-transform:"+r+"; -webkit-transform:"+r+"; transform:"+r,t=/translate3d\(0px, 0px, 0px\)/g,i=l.style.cssText.match(t),n=null!==i&&1===i.length,s="ontouchstart"in e||e.navigator.msMaxTouchPoints,a.browser={support3d:n,isTouch:s}},moveEvents:function(){var t=this;(t.options.mouseDrag!==!1||t.options.touchDrag!==!1)&&(t.gestures(),t.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},t.options.mouseDrag===!0&&t.options.touchDrag===!0?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:t.options.mouseDrag===!1&&t.options.touchDrag===!0?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:t.options.mouseDrag===!0&&t.options.touchDrag===!1&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){var e=this;e.$elem.on("dragstart.owl",function(t){t.preventDefault()}),e.$elem.on("mousedown.disableTextSelect",function(e){return t(e.target).is("input, textarea, select, option")})},gestures:function(){function i(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function n(e){"on"===e?(t(o).on(l.ev_types.move,a),t(o).on(l.ev_types.end,r)):"off"===e&&(t(o).off(l.ev_types.move),t(o).off(l.ev_types.end))}function s(o){var s,a=o.originalEvent||o||e.event;if(3===a.which)return!1;if(!(l.itemsAmount<=l.options.items)){if(l.isCssFinish===!1&&!l.options.dragBeforeAnimFinish)return!1;if(l.isCss3Finish===!1&&!l.options.dragBeforeAnimFinish)return!1;l.options.autoPlay!==!1&&e.clearInterval(l.autoPlayInterval),l.browser.isTouch===!0||l.$owlWrapper.hasClass("grabbing")||l.$owlWrapper.addClass("grabbing"),l.newPosX=0,l.newRelativeX=0,t(this).css(l.removeTransition()),s=t(this).position(),p.relativePos=s.left,p.offsetX=i(a).x-s.left,p.offsetY=i(a).y-s.top,n("on"),p.sliding=!1,p.targetElement=a.target||a.srcElement}}function a(n){var s,a,r=n.originalEvent||n||e.event;l.newPosX=i(r).x-p.offsetX,l.newPosY=i(r).y-p.offsetY,l.newRelativeX=l.newPosX-p.relativePos,"function"==typeof l.options.startDragging&&p.dragging!==!0&&0!==l.newRelativeX&&(p.dragging=!0,l.options.startDragging.apply(l,[l.$elem])),(l.newRelativeX>8||l.newRelativeX<-8)&&l.browser.isTouch===!0&&(void 0!==r.preventDefault?r.preventDefault():r.returnValue=!1,p.sliding=!0),(l.newPosY>10||l.newPosY<-10)&&p.sliding===!1&&t(o).off("touchmove.owl"),s=function(){return l.newRelativeX/5},a=function(){return l.maximumPixels+l.newRelativeX/5},l.newPosX=Math.max(Math.min(l.newPosX,s()),a()),l.browser.support3d===!0?l.transition3d(l.newPosX):l.css2move(l.newPosX)}function r(o){var i,s,a,r=o.originalEvent||o||e.event;r.target=r.target||r.srcElement,p.dragging=!1,l.browser.isTouch!==!0&&l.$owlWrapper.removeClass("grabbing"),l.dragDirection=l.owl.dragDirection=l.newRelativeX<0?"left":"right",0!==l.newRelativeX&&(i=l.getNewPosition(),l.goTo(i,!1,"drag"),p.targetElement===r.target&&l.browser.isTouch!==!0&&(t(r.target).on("click.disable",function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t(e.target).off("click.disable")}),s=t._data(r.target,"events").click,a=s.pop(),s.splice(0,0,a))),n("off")}var l=this,p={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};l.isCssFinish=!0,l.$elem.on(l.ev_types.start,".owl-wrapper",s)},getNewPosition:function(){var t=this,e=t.closestItem();return e>t.maximumItem?(t.currentItem=t.maximumItem,e=t.maximumItem):t.newPosX>=0&&(e=0,t.currentItem=0),e},closestItem:function(){var e=this,o=e.options.scrollPerPage===!0?e.pagesInArray:e.positionsInArray,i=e.newPosX,n=null;return t.each(o,function(s,a){i-e.itemWidth/20>o[s+1]&&i-e.itemWidth/20<a&&"left"===e.moveDirection()?(n=a,e.currentItem=e.options.scrollPerPage===!0?t.inArray(n,e.positionsInArray):s):i+e.itemWidth/20<a&&i+e.itemWidth/20>(o[s+1]||o[s]-e.itemWidth)&&"right"===e.moveDirection()&&(e.options.scrollPerPage===!0?(n=o[s+1]||o[o.length-1],e.currentItem=t.inArray(n,e.positionsInArray)):(n=o[s+1],e.currentItem=s+1))}),e.currentItem},moveDirection:function(){var t,e=this;return e.newRelativeX<0?(t="right",e.playDirection="next"):(t="left",e.playDirection="prev"),t},customEvents:function(){var t=this;t.$elem.on("owl.next",function(){t.next()}),t.$elem.on("owl.prev",function(){t.prev()}),t.$elem.on("owl.play",function(e,o){t.options.autoPlay=o,t.play(),t.hoverStatus="play"}),t.$elem.on("owl.stop",function(){t.stop(),t.hoverStatus="stop"}),t.$elem.on("owl.goTo",function(e,o){t.goTo(o)}),t.$elem.on("owl.jumpTo",function(e,o){t.jumpTo(o)})},stopOnHover:function(){var t=this;t.options.stopOnHover===!0&&t.browser.isTouch!==!0&&t.options.autoPlay!==!1&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var e,o,i,n,s,a=this;if(a.options.lazyLoad===!1)return!1;for(e=0;e<a.itemsAmount;e+=1)o=t(a.$owlItems[e]),"loaded"!==o.data("owl-loaded")&&(i=o.data("owl-item"),n=o.find(".lazyOwl"),"string"==typeof n.data("src")?(void 0===o.data("owl-loaded")&&(n.hide(),o.addClass("loading").data("owl-loaded","checked")),s=a.options.lazyFollow===!0?i>=a.currentItem:!0,s&&i<a.currentItem+a.options.items&&n.length&&a.lazyPreload(o,n)):o.data("owl-loaded","loaded"))},lazyPreload:function(t,o){function i(){t.data("owl-loaded","loaded").removeClass("loading"),o.removeAttr("data-src"),"fade"===a.options.lazyEffect?o.fadeIn(400):o.show(),"function"==typeof a.options.afterLazyLoad&&a.options.afterLazyLoad.apply(this,[a.$elem])}function n(){r+=1,a.completeImg(o.get(0))||s===!0?i():100>=r?e.setTimeout(n,100):i()}var s,a=this,r=0;"DIV"===o.prop("tagName")?(o.css("background-image","url("+o.data("src")+")"),s=!0):o[0].src=o.data("src"),n()},autoHeight:function(){function o(){var o=t(s.$owlItems[s.currentItem]).height();s.wrapperOuter.css("height",o+"px"),s.wrapperOuter.hasClass("autoHeight")||e.setTimeout(function(){s.wrapperOuter.addClass("autoHeight")},0)}function i(){n+=1,s.completeImg(a.get(0))?o():100>=n?e.setTimeout(i,100):s.wrapperOuter.css("height","")}var n,s=this,a=t(s.$owlItems[s.currentItem]).find("img");void 0!==a.get(0)?(n=0,i()):o()},completeImg:function(t){var e;return t.complete?(e=typeof t.naturalWidth,"undefined"!==e&&0===t.naturalWidth?!1:!0):!1},onVisibleItems:function(){var e,o=this;for(o.options.addClassActive===!0&&o.$owlItems.removeClass("active"),o.visibleItems=[],e=o.currentItem;e<o.currentItem+o.options.items;e+=1)o.visibleItems.push(e),o.options.addClassActive===!0&&t(o.$owlItems[e]).addClass("active");o.owl.visibleItems=o.visibleItems},transitionTypes:function(t){var e=this;e.outClass="owl-"+t+"-out",e.inClass="owl-"+t+"-in"},singleItemTransition:function(){function t(t){return{position:"relative",left:t+"px"}}var e=this,o=e.outClass,i=e.inClass,n=e.$owlItems.eq(e.currentItem),s=e.$owlItems.eq(e.prevItem),a=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],r=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=!0,e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":r+"px","-moz-perspective-origin":r+"px","perspective-origin":r+"px"}),s.css(t(a,10)).addClass(o).on(l,function(){e.endPrev=!0,s.off(l),e.clearTransStyle(s,o)}),n.addClass(i).on(l,function(){e.endCurrent=!0,n.off(l),e.clearTransStyle(n,i)})},clearTransStyle:function(t,e){var o=this;t.css({position:"",left:""}).removeClass(e),o.endPrev&&o.endCurrent&&(o.$owlWrapper.removeClass("owl-origin"),o.endPrev=!1,o.endCurrent=!1,o.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){var i=this;i.$elem.off(".owl owl mousedown.disableTextSelect"),t(o).off(".owl owl"),t(e).off("resize",i.resizer)},unWrap:function(){var t=this;0!==t.$elem.children().length&&(t.$owlWrapper.unwrap(),t.$userItems.unwrap().unwrap(),t.owlControls&&t.owlControls.remove()),t.clearEvents(),t.$elem.attr("style",t.$elem.data("owl-originalStyles")||"").attr("class",t.$elem.data("owl-originalClasses"))},destroy:function(){var t=this;t.stop(),e.clearInterval(t.checkVisible),t.unWrap(),t.$elem.removeData()},reinit:function(e){var o=this,i=t.extend({},o.userOptions,e);o.unWrap(),o.init(i,o.$elem)},addItem:function(t,e){var o,i=this;return t?0===i.$elem.children().length?(i.$elem.append(t),i.setVars(),!1):(i.unWrap(),o=void 0===e||-1===e?-1:e,o>=i.$userItems.length||-1===o?i.$userItems.eq(-1).after(t):i.$userItems.eq(o).before(t),void i.setVars()):!1},removeItem:function(t){var e,o=this;return 0===o.$elem.children().length?!1:(e=void 0===t||-1===t?-1:t,o.unWrap(),o.$userItems.eq(e).remove(),void o.setVars())}};t.fn.owlCarousel=function(e){return this.each(function(){if(t(this).data("owl-init")===!0)return!1;t(this).data("owl-init",!0);var o=Object.create(i);o.init(e,this),t.data(this,"owlCarousel",o)})},t.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 5,
'name' => 'jquery.panelslider.min',
'data' => '/*
* jQuery Panel Slider plugin v0.1.1
* https://github.com/eduardomb/jquery-panelslider
*/
(function($) {
'use strict';
var $body = $('body'),
_sliding = false;
function _slideIn(panel, options) {
var panelWidth = panel.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(panel.is(':visible') || _sliding) {
return;
}
_sliding = true;
$body.addClass('ps-active');
panel.addClass('ps-active-panel').css({
position: 'fixed',
top: 0,
height: '100%',
'z-index': 999999
});
panel.data(options);
switch (options.side) {
case 'left':
panel.css({
left: '-' + panelWidth + 'px',
right: 'auto'
});
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.left = '+=' + panelWidth;
break;
case 'right':
panel.css({
left: 'auto',
right: '-' + panelWidth + 'px'
});
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.right = '+=' + panelWidth;
break;
}
$body.animate(bodyAnimation, options.duration);
panel.show().animate(panelAnimation, options.duration, function() {
_sliding = false;
if(typeof options.onOpen == 'function') {
options.onOpen();
}
});
}
$.panelslider = function(element, options) {
var active = $('.ps-active-panel');
var defaults = {
side: 'left', // panel side: left or right
duration: 200, // Transition duration in miliseconds
clickClose: true, // If true closes panel when clicking outside it
onOpen: null // When supplied, function is called after the panel opens
};
options = $.extend({}, defaults, options);
// If another panel is opened, close it before opening the new one
if(active.is(':visible') && active[0] != element[0]) {
$.panelslider.close(function() {
_slideIn(element, options);
});
} else if(!active.length || active.is(':hidden')) {
_slideIn(element, options);
}
};
$.panelslider.close = function(callback) {
var active = $('.ps-active-panel'),
duration = active.data('duration'),
panelWidth = active.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(!active.length || active.is(':hidden') || _sliding) {
return;
}
_sliding = true;
switch(active.data('side')) {
case 'left':
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.left = '-=' + panelWidth;
break;
case 'right':
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.right = '-=' + panelWidth;
break;
}
active.animate(panelAnimation, duration);
$body.animate(bodyAnimation, duration, function() {
active.hide();
active.removeClass('ps-active-panel');
_sliding = false;
if(callback) {
callback();
}
}).removeClass('ps-active');
};
// Bind click outside panel and ESC key to close panel if clickClose is true
$(document).bind('click keyup', function(e) {
var active = $('.ps-active-panel');
if(e.type == 'keyup' && e.keyCode != 27) {
return;
}
if(active.is(':visible') && active.data('clickClose')) {
$.panelslider.close();
}
});
// Prevent click on panel to close it
$(document).on('click', '.ps-active-panel', function(e) {
e.stopPropagation();
});
$.fn.panelslider = function(options) {
this.click(function(e) {
var active = $('.ps-active-panel'),
panel = $(this.getAttribute('href'));
// Close panel if it is already opened otherwise open it
if (active.is(':visible') && panel[0] == active[0]) {
$.panelslider.close();
} else {
$.panelslider(panel, options);
}
e.preventDefault();
e.stopPropagation();
});
return this;
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 4,
'name' => 'intlxform',
'data' => '
if($('body').hasClass('locale-sr')) {
var checkingData = 'Provera podataka';
} else {
var checkingData = 'Checking data';
}
(function($){
// Create some defaults, extending them with any options that were provided
$.fn.intlxform = function(options) {
var _top = $(this);
var settings = {
'type': 'post',
'action' : '',
'showResponse' : true,
'loadingMessage' : checkingData,
'wrapElem' : '',
'clearForm': true,
'fieldRemark' : true,
'hideForm' : false,
'onSuccess' : null,
'onFailure' : null,
'onError' : null,
'onFinish' : null,
'headers': {
'Accept' : 'application/json; charset=utf-8'
}
};
settings = $.extend(settings, options);
return this.each(function() {
if(settings.type.length == 0) {
if($(this).attr('method') != undefined) {
settings.type = $(this).attr('method');
}
}
if(settings.action.length == 0) {
if($(this).attr('action') != undefined) {
settings.action = $(this).attr('action');
}
}
$(this).submit(function(event){
event.preventDefault();
// Abort any pending request
if (request) {
request.abort();
}
// Setup some local variables
var $form = $(this);
// Cache all fields
var $inputs = $form.find("input, select, button, textarea");
// Serialize the data in the form
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined') {
if($(this).attr('data-defaultValue') == $(this).val()) {
$(this).val('');
}
}
});
var serializedData = $form.serialize();
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() =='') {
$(this).val($(this).attr('data-defaultValue'));
}
});
// Disable the inputs for the duration of the ajax request
$inputs.prop("disabled", true);
$form.find(".form-message").text(settings.loadingMessage);
// Fire off the request
var request = $.ajax({
url: settings.action,
type: settings.type,
headers: settings.headers,
data: serializedData
});
// Callback handler that will be called on success
request.done(function (response, textStatus, jqXHR){
parseFormResponse(response, $form);
});
// callback handler that will be called on failure
request.fail(function (jqXHR, textStatus, errorThrown){
if(typeof settings.onFailure == 'function') {
settings.onFailure.call();
} else {
console.error(
"The following error occured: "+
textStatus, errorThrown
);
}
});
// callback handler that will be called regardless
// if the request failed or succeeded
request.always(function () {
// reenable the inputs
$inputs.prop("disabled", false);
});
// prevent default posting of form
event.preventDefault();
});
})
function parseFormResponse(response, form) {
form.find(".form-message").text('');
form.find(".validation-error").removeClass('validation-error');
form.find(".validation-error-message").remove();
// Make sure we have a JSON response
if(typeof response == "string") {
try {
response = JSON.parse(response);
} catch(e) {
return false;
}
}
// On error occured
if(!response.response) {
for(var fieldName in response.errors) {
var message = response.errors[fieldName];
var parent = form.find("[name='data[" + fieldName + "]']").last().parent();
parent.addClass('validation-error');
if(settings.fieldRemark == true) {
parent.append('<div class="validation-error-message">' + message + '</div>');
}
}
// Callback: On error
if(typeof settings.onError == 'function') {
settings.onError(response);
}
// On Success
} else {
// Callback: On success
if(typeof settings.onSuccess == 'function') {
settings.onSuccess(response);
}
// Clear form
if(settings.clearForm) {
form.find("input, select, textarea").not('[type=button], [type=submit], [type=radio], [type=reset], .persistent').val('');
}
}
// Show message, if any
if(response.message != null && response.message != '' && settings.showResponse) {
var messageElement = form.find(".form-message");
messageElement.removeClass('form-message-error').removeClass('form-message-success');
messageElement.addClass(response.response ? 'form-message-success' : 'form-message-error');
messageElement.text(response.message).show();
}
// Callback: On finish
if(typeof settings.onFinish == 'function') {
settings.onFinish(response);
}
}
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 5 => array(
'id' => (int) 3,
'name' => 'jquery.youtubevideogallery',
'data' => '/**
* youtubeVideoGallery plugin for jquery
* Simple video gallery for youtube, for more details see http://plugins.jquery.com/youtubevideogallery
*
* @author clanceyp
* @see http://plugins.jquery.com/youtubevideogallery/
* @version 1.3.0
*
*/
;(function($) {
"use strict";
$.fn.extend({
youtubeVideoGallery:function(options) {
var version = '1.3.0',
isLegacyIE = (/\bMSIE [4|5|6|7]/.test(navigator.userAgent)),
defaults = {
assetFolder : '',
fancybox : {
arrows : false,
closeBtn : true,
closeEffect : 'fade',
helpers : {
media : {},
buttons : {}
},
openEffect : 'fade'
},
forceLegacyIE:false,
iframeTemplate:'<iframe title="Youtube video player" id="youtube-videogallery-iframe" style="height:{options.innerHeight}px;width:{options.innerWidth}px;" frameborder="0" src="about:blank" />',
innerHeight: 450,
innerWidth: 600,
newWindow: '(opens in a new window)',
playButton: '/img/ico_play.png',
plugin:'self',
style:'',
title:'default',
thumbWidth: '100%',
videos:[],
urlImg : 'http://img.youtube.com/vi/$id/0.jpg',
urlEmbed : 'http://www.youtube.com/embed/$id',
urlLink : 'http://www.youtube.com/watch?v=$id'
};
this.test = {};
this.version = version;
function log(message){
if ('console' in window && window.console.log){
window.console.log(message);
}
}
function getVideoLinks($this){
var arr = [],
a = $this.find("a");
a.each(function(i, el){
arr.push({
id: getId( $(el).attr('href') ),
title: $(el).text()
});
});
return arr;
}
function getIdFromEntry(obj){
if (typeof obj === 'string'){
return getId(obj);
} else if (obj.id && typeof obj.id === 'string'){
return obj.id;
} else if (obj.link && obj.link.length ){
for ( var i = 0, l = obj.link.length; i < l ; i++){
if (obj.link[i].type === 'text/html'){
return getId(obj.link[i].href)
}
}
}
log('could not find ID from object, maybe an unsupported API?')
return '';
}
function getId(href){
var id = '';
if (!!href && href.indexOf('www.youtube.com/v/') > 0) {
id = getBefore(href.split('www.youtube.com/v/')[1], '?')
} else if (!!href && href.indexOf('/embed/') > 0){
id = getBefore(href.split('/embed/')[1], '?');
} else if (!!href && href.indexOf('?v=') > 0){// this could be version if API call!!
id = getBefore(href.split('?v=')[1],'&');
} else if (!!href && href.indexOf('video:') > 0){
id = getBefore(href.split('video:')[1], ':');
} else if (!!href){
id = href;
}
return id;
}
function getBefore(str, before){
if (!!str && str.indexOf(before)){
str = str.split(before)[0];
}
return str;
}
function getIframeTemplate(innerWidth, innerHeight){
var str = options.iframeTemplate;
return str.replace('{options.innerHeight}', innerHeight).replace('{options.innerWidth}', innerWidth);
}
function open(e){
var el = e.currentTarget;
e.preventDefault();
$('div.youtube-videogallery-bodycover').css( { 'height':$(document).height()} );
$('div.youtube-videogallery-display').css({
'marginLeft':-options.innerWidth/2,
'marginTop':-options.innerHeight/2
});
$('#youtube-videogallery-iframe').attr( 'src', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) );
$('body').addClass('youtube-videogallery-active');
}
function close(e){
$('#youtube-videogallery-iframe').attr( 'src', 'about:blank');
$('body').removeClass('youtube-videogallery-active');
}
function setButtonMargin(w, h, context){
if (w === 0 || h === 0){
$(context).find("img.youtube-videogallery-play").remove();
return;
}
$(context).find("img.youtube-videogallery-play").css({
'marginLeft':'-23px',
'marginTop':'-33.5px'
});
}
function getStyle(style){
if (!!style){
return "youtube-videogallery-" + style;
}
return '';
}
function getTitleStyle(title){
return title === 'full' ? 'youtube-videogallery-allowtitle' : '';
}
function getVideosFromFeed(data){
var videos = [],
items = (data && data.data && data.data.items) ? data.data.items
: (data && data.feed && data.feed.entry) ? data.feed.entry : [];
$( items ).each(function(i, item){
var id = getIdFromEntry(item);
videos.push({
id: getIdFromEntry(item),
title: item.title.$t || item.title
});
});
return videos;
}
/**
* this.test = object
*
* Test object to expose private methods to a test API.
* This allows us to test private methods, without
* exposing them (e.g. they can't be overwritten)
*
*/
this.test = {
getBefore:getBefore,
getId:getId,
getVideoLinks:getVideoLinks,
getIframeTemplate:getIframeTemplate,
getTitleStyle:getTitleStyle,
getStyle:getStyle,
getVideosFromFeed:getVideosFromFeed,
getIdFromEntry:getIdFromEntry
};
function load($this, options) {
var videos = ( options.videos.length ) ? options.videos : getVideoLinks($this),
html = '',
href, src, titleSpan, video,
playButtonSrc = (!!options.assetFolder) ? options.assetFolder +'/'+ options.playButton : options.playButton ,
img = document.createElement('img');
img.onload = function(){
setButtonMargin(this.width, this.height, $this);
};
img.onerror = function(){
setButtonMargin(0, 0, $this);
};
img.src = playButtonSrc+'?'+ +(new Date());
for (var i = 0, l = videos.length; i < l; i++){
video = videos[i];
if (!video.id){continue;}
href = options.urlLink.replace("$id", video.id);
src = options.urlImg.replace("$id", video.id);
titleSpan = (!!video.title && options.title !== 'none') ? '<span class="youtube-videogallery-title">'+ video.title +'</span>' : '';
html+= '<li class="youtube-videogallery-item"><a title="'+video.title+'" data-youtube-id="'+ video.id +'" href="'+ href +'" class="youtube-videogallery-link"><img class="youtube-videogallery-play" src="'+ playButtonSrc +'" title="play" /><img class="youtube-videogallery-img" src="'+ src +'" />'+ titleSpan +'</a></li>';
}
$this.empty()
.append(html)
.addClass('youtube-videogallery-container')
.addClass( getStyle( options.style ) )
.addClass( getTitleStyle( options.title ) );
if (options.supported && options.plugin === 'colorbox' && $.colorbox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('href', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) )
.attr('aria-controls','youtube-videogallery-iframe')
.colorbox({iframe:true, innerWidth:options.innerWidth, innerHeight:options.innerHeight});
});
} else if (options.supported && options.plugin === 'fancybox' && !!$().fancybox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('rel', 'media-gallery')
.fancybox(options.fancybox);
});
} else if (options.supported && options.plugin === 'self'){
if (!$('div.youtube-videogallery-bodycover').length){
$('body')
.append('<div class="youtube-videogallery-bodycover"/>')
.append('<div class="youtube-videogallery-display">'+ getIframeTemplate(options.innerWidth, options.innerHeight) +'</div>');
$('div.youtube-videogallery-bodycover').on('click',close);
$(document).on('keydown', function(e) {
if (e.which === 27) {
close();
}
});
}
$this.find("a.youtube-videogallery-link").on('click',open);
} else {
$this.find("a.youtube-videogallery-link")
.attr('target','_blank')
.append('<span class="youtube-videogallery-screen-reader-only">'+options.newWindow+'</span>')
.each(function(i, el){
$(el).attr('title', $(el).attr('title')+' '+ options.newWindow);
});
}
return $this;
}
// Set options
options = $.extend(defaults, options);
options.supported = (
/* don't show lightbox if: old untested jquery version, or the lightbox is bigger than the viewport */
!!$().on &&
( $(window).width() > options.innerWidth || $(window).height() > options.innerHeight)
);
options.plugin = (isLegacyIE && !options.forceLegacyIE) ? 'none' : options.plugin;// by default turn off plugins for IE<=7
// it's an API, load promise and return the original object for chaining
if (!!options.apiUrl){
var $this = this,
apiUrl = options.apiUrl,
jqxhr = $.ajax({
url:apiUrl,
dataType:"jsonp",
beforeSend:function(){
if (!options.apiFallbackUrl){
return;
}
$this.each(function(i, el){
$(el).empty()
.append('<li><a /></li>')
.find('a')
.attr('href', options.apiFallbackUrl)
.text(options.apiFallbackUrl);
});
}})
.done(function(data) {
options.videos = getVideosFromFeed(data);
$this.each(function(i, el){
load($(el), options);
});
})
.fail(function(){
log('Error getting youtube API requested by jQuery.youtubeVideoGallery: '+ apiUrl);
});
return $this;
}
return this.each(function(i, el){
load($(el), options);
});
}
});
})(window.jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 6 => array(
'id' => (int) 2,
'name' => 'jquery.bxslider.min',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 7 => array(
'id' => (int) 1,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
/**
* API methods for the plugin
*/
var methods = {
init: function(opts) {
var defaults = {
// general options:
maxSize: -1,
minSize: -1,
spacing: 5,
duration: 500,
isVertical: false,
easing: undefined,
autoResize: true,
behavior: null,
// menu behavior options:
delayMouseIn: 0,
delayMouseOut: 0,
selectOnClick: true,
deselectOnClick: false,
// slideshow behavior options:
interval: 2500,
interactive: true
};
var o = $.extend(defaults, opts);
// validate and normalize options
if (o.minSize !== -1 && o.maxSize !== -1)
throw new Error('Kwicks options minSize and maxSize may not both be set');
if (o.behavior && o.behavior !== 'menu' && o.behavior !== 'slideshow')
throw new Error('Unrecognized Kwicks behavior specified: ' + o.behavior);
$.each(['minSize', 'maxSize', 'spacing'], function(i, prop) {
var val = o[prop];
switch (typeof val) {
case 'number':
o[prop + 'Units'] = 'px';
break;
case 'string':
if (val.slice(-1) === '%') {
o[prop + 'Units'] = '%';
o[prop] = +val.slice(0, -1) / 100;
} else if (val.slice(-2) === 'px') {
o[prop + 'Units'] = 'px';
o[prop] = +val.slice(0, -2);
} else {
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
break;
default:
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
});
return this.each(function() {
$(this).data('kwicks', new Kwick(this, o));
});
},
expand: function(index, opts) {
if (typeof index === 'object') {
opts = index;
index = undefined;
}
var delay = opts && opts.delay || 0;
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
var expand = function() {
// bail out if the panel is already expanded
if (index === kwick.expandedIndex) return;
var $panels = kwick.$panels,
expanded = $panels[index] || null;
kwick.$container.trigger('expand.kwicks', {
index: index,
expanded: expanded,
collapsed: $panels.not(expanded).get(),
oldIndex: kwick.expandedIndex,
oldExpanded: kwick.getExpandedPanel(),
isAnimated: kwick.isAnimated
});
};
var timeoutId = kwick.$container.data('kwicks-timeout-id');
if (timeoutId) {
kwick.$container.removeData('kwicks-timeout-id');
clearTimeout(timeoutId);
}
if (delay > 0) {
kwick.$container.data('kwicks-timeout-id', setTimeout(expand, delay));
} else {
expand();
}
});
},
expanded: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.expandedIndex;
},
select: function(index) {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
// don't trigger event if its already selected
if (index !== kwick.selectedIndex) {
var $panels = kwick.$panels,
selected = $panels[index] || null;
kwick.$container.trigger('select.kwicks', {
index: index,
selected: selected,
unselected: $panels.not(selected).get(),
oldIndex: kwick.selectedIndex,
oldSelected: kwick.getSelectedPanel()
});
}
// call expand
kwick.$container.kwicks('expand', index);
});
},
selected: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.selectedIndex;
},
resize: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.resize();
});
},
destroy: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.destroy();
});
}
};
/**
* Expose the actual plugin
*/
$.fn.kwicks = function(opts) {
if (methods[opts]) {
return methods[opts].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof opts === 'object' || !opts) {
return methods.init.apply(this, arguments);
} else {
throw new Error('Unrecognized kwicks method: ' + opts);
}
};
/**
* Special event for triggering default behavior on 'expand.kwicks' events
*/
$.event.special.expand = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.expand(data.index);
}
};
/**
* Special event for triggering default behavior on 'select.kwicks' events
*/
$.event.special.select = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.select(data.index);
}
};
/**
* Instantiates a new Kwick instance using the provided container and options.
*/
var Kwick = function Kwick(container, opts) {
var self = this;
this.opts = opts;
// an array of callbacks to invoke if 'destroy' is invoked
this.onDestroyHandlers = [];
// references to our DOM elements
var orientation = opts.isVertical ? 'vertical' : 'horizontal';
this.$container = $(container);
this.$panels = this.$container.children();
// semi-smart add/remove around container classes so that we don't bork
// the styling if/when destroy is called
var containerClasses = ['kwicks', 'kwicks-' + orientation];
$.each(containerClasses, function(className) {
if (self.$container.hasClass(className)) return;
self.$container.addClass(className);
self.onDestroy(function() {
self.$container.removeClass(className);
});
});
// zero-based, -1 for "none"
this.selectedIndex = this.$panels.filter('.kwicks-selected').index();
this.expandedIndex = this.selectedIndex;
// each instance has a primary and a secondary dimension (primary is the animated dimension)
this.primaryDimension = opts.isVertical ? 'height' : 'width';
this.secondaryDimension = opts.isVertical ? 'width' : 'height';
// initialize panel sizes
this.calculatePanelSizes();
// likewise, we have primary and secondary alignments (all panels but the last use primary,
// which uses the secondary alignment). this is to allow the first and last panels to have
// fixed offsets. this reduces jittering, which is much more noticeable on the last item.
this.primaryAlignment = opts.isVertical ? 'top' : 'left';
this.secondaryAlignment = opts.isVertical ? 'bottom' : 'right';
// object for creating a "master" animation loop for all panel animations
this.$timer = $({ progress: 0 });
// keeps track of whether or not an animation is in progress
this.isAnimated = false;
// the current offsets for each panel
this.offsets = this.getOffsetsForExpanded();
this.updatePanelStyles();
this.initBehavior();
this.initWindowResizeHandler();
// somewhat of a blind stab at handling rare/sporadic failures to initialize styles.
// https://github.com/jmar777/kwicks/issues/31
setTimeout(function() {
self.updatePanelStyles();
}, 100);
};
/**
* Calculates size, minSize, maxSize, and spacing based on the current size of the container and
* the user-provided options. The results will be stored on this.panelSize, this.panelMinSize,
* this.panelMaxSize, and this.panelSpacing. This should be run on initialization and whenever
* the container's primary dimension may have changed in size.
*/
Kwick.prototype.calculatePanelSizes = function() {
var opts = this.opts,
containerSize = this.getContainerSize(true);
// calculate spacing first
if (opts.spacingUnits === '%') {
this.panelSpacing = containerSize * opts.spacing;
} else {
this.panelSpacing = opts.spacing;
}
var numPanels = this.$panels.length,
sumSpacing = this.panelSpacing * (numPanels - 1),
sumPanelSize = containerSize - sumSpacing;
this.panelSize = sumPanelSize / numPanels;
if (opts.minSize === -1) {
if (opts.maxSize === -1) {
// if neither minSize or maxSize or set, then we try to pick a sensible default
if (numPanels < 5) {
this.panelMaxSize = containerSize / 3 * 2;
} else {
this.panelMaxSize = containerSize / 3;
}
} else if (opts.maxSizeUnits === '%') {
this.panelMaxSize = sumPanelSize * opts.maxSize;
} else {
this.panelMaxSize = opts.maxSize;
}
// at this point we know that this.panelMaxSize is set
this.panelMinSize = (sumPanelSize - this.panelMaxSize) / (numPanels - 1);
} else if (opts.maxSize === -1) {
// at this point we know that opts.minSize is set
if (opts.minSizeUnits === '%') {
this.panelMinSize = sumPanelSize * opts.minSize;
} else {
this.panelMinSize = opts.minSize;
}
// at this point we know that this.panelMinSize is set
this.panelMaxSize = sumPanelSize - (this.panelMinSize * (numPanels - 1));
}
};
/**
* Returns the calculated panel offsets based on the currently expanded panel.
*/
Kwick.prototype.getOffsetsForExpanded = function() {
// todo: cache the offset values
var expandedIndex = this.expandedIndex,
numPanels = this.$panels.length,
spacing = this.panelSpacing,
size = this.panelSize,
minSize = this.panelMinSize,
maxSize = this.panelMaxSize;
//first panel is always offset by 0
var offsets = [0];
for (var i = 1; i < numPanels; i++) {
// no panel is expanded
if (expandedIndex === -1) {
offsets[i] = i * (size + spacing);
}
// this panel is before or is the expanded panel
else if (i <= expandedIndex) {
offsets[i] = i * (minSize + spacing);
}
// this panel is after the expanded panel
else {
offsets[i] = maxSize + (minSize * (i - 1)) + (i * spacing);
}
}
return offsets;
};
/**
* Sets the style attribute on the specified element using the provided value. This probably
* doesn't belong on Kwick.prototype, but here it is...
*/
Kwick.prototype.setStyle = (function() {
if ($.support.style) {
return function(el, style) { el.setAttribute('style', style); };
} else {
return function (el, style) { el.style.cssText = style; };
}
})();
/**
* Updates the offset and size styling of each panel based on the current values in
* `this.offsets`. Also does some special handling to convert panels to absolute positioning
* the first time this is invoked.
*/
Kwick.prototype.updatePanelStyles = function() {
var offsets = this.offsets,
$panels = this.$panels,
pDim = this.primaryDimension,
pAlign = this.primaryAlignment,
sAlign = this.secondaryAlignment,
spacing = this.panelSpacing,
containerSize = this.getContainerSize();
// the kwicks-processed class ensures that panels are absolutely positioned, but on our
// first pass we need to set offsets, width|length, and positioning atomically to prevent
// mid-update repaints
var stylePrefix = !!this._stylesInited ? '' : 'position:absolute;',
offset, size, prevOffset, style;
// loop through remaining panels
for (var i = $panels.length; i--;) {
prevOffset = offset;
// todo: maybe we do one last pass at the end and round offsets, rather than on every
// update
offset = Math.round(offsets[i]);
if (i === $panels.length - 1) {
size = containerSize - offset;
style = sAlign + ':0;' + pDim + ':' + size + 'px;';
} else {
size = prevOffset - offset - spacing;
style = pAlign + ':' + offset + 'px;' + pDim + ':' + size + 'px;';
}
this.setStyle($panels[i], stylePrefix + style);
}
if (!this._stylesInited) {
this.$container.addClass('kwicks-processed');
this._stylesInited = true;
}
};
/**
* Assuming for a moment that out-of-the-box behaviors aren't a horrible idea, this method
* encapsulates the initialization logic thereof.
*/
Kwick.prototype.initBehavior = function() {
if (!this.opts.behavior) return;
switch (this.opts.behavior) {
case 'menu':
this.initMenuBehavior();
break;
case 'slideshow':
this.initSlideshowBehavior();
break;
default:
throw new Error('Unrecognized behavior option: ' + this.opts.behavior);
}
};
/**
* Initializes the menu behavior.
*/
Kwick.prototype.initMenuBehavior = function() {
var self = this,
opts = self.opts;
this.addEventHandler(this.$container, 'mouseleave', function() {
self.$container.kwicks('expand', -1, { delay: opts.delayMouseOut });
});
this.addEventHandler(this.$panels, 'mouseenter', function() {
$(this).kwicks('expand', { delay: opts.delayMouseIn });
});
if (!opts.selectOnClick && !opts.deselectOnClick) return;
this.addEventHandler(this.$panels, 'click', function() {
var $this = $(this),
isSelected = $this.hasClass('kwicks-selected');
if (isSelected && opts.deselectOnClick) {
$this.parent().kwicks('select', -1);
} else if (!isSelected && opts.selectOnClick) {
$this.kwicks('select');
}
});
};
/**
* Initializes the slideshow behavior.
*/
Kwick.prototype.initSlideshowBehavior = function() {
var self = this,
numSlides = this.$panels.length,
curSlide = 0,
// flag to handle weird corner cases
running = false,
intervalId;
var start = function() {
if (running) return;
intervalId = setInterval(function() {
self.$container.kwicks('expand', ++curSlide % numSlides);
}, self.opts.interval);
running = true;
};
var pause = function() {
clearInterval(intervalId);
running = false;
};
start();
this.onDestroy(pause);
if (!this.opts.interactive) return;
this.addEventHandler(this.$container, 'mouseenter', pause);
this.addEventHandler(this.$container, 'mouseleave', start);
this.addEventHandler(this.$panels, 'mouseenter', function() {
curSlide = $(this).kwicks('expand').index();
});
};
/**
* Sets up a throttled window resize handler that triggers resize logic for the panels
* todo: hideous code, needs refactor for the eye bleeds
*/
Kwick.prototype.initWindowResizeHandler = function() {
if (!this.opts.autoResize) return;
var self = this,
prevTime = 0,
execScheduled = false,
$window = $(window);
var onResize = function(e) {
// if there's no event, then this is a scheduled from our setTimeout
if (!e) { execScheduled = false; }
// if we've already run in the last 20ms, then delay execution
var now = +new Date();
if (now - prevTime < 20) {
// if we already scheduled a run, don't do it again
if (execScheduled) return;
setTimeout(onResize, 20 - (now - prevTime));
execScheduled = true;
return;
}
// throttle rate is satisfied, go ahead and run
prevTime = now;
self.resize();
};
this.addEventHandler($window, 'resize', onResize);
};
/**
* Returns the size in pixels of the container's primary dimension. This value is cached as it
* is used repeatedly during animation loops, but the cache can be cleared by passing `true`.
* todo: benchmark to see if this caching business is even at all necessary.
*/
Kwick.prototype.getContainerSize = function(clearCache) {
var containerSize = this._containerSize;
if (clearCache || !containerSize) {
containerSize = this._containerSize = this.$container[this.primaryDimension]();
}
return containerSize;
};
/**
* Gets a reference to the currently expanded panel (if there is one)
*/
Kwick.prototype.getExpandedPanel = function() {
return this.$panels[this.expandedIndex] || null;
};
/**
* Gets a reference to the currently collapsed panels
*/
Kwick.prototype.getCollapsedPanels = function() {
if (this.expandedIndex === -1) return [];
return this.$panels.not(this.getExpandedPanel()).get();
};
/**
* Gets a reference to the currently selected panel (if there is one)
*/
Kwick.prototype.getSelectedPanel = function() {
return this.$panels[this.selectedIndex] || null;
};
/**
* Gets a reference to the currently unselected panels
*/
Kwick.prototype.getUnselectedPanels = function() {
return this.$panels.not(this.getSelectedPanel()).get();
};
/**
* Registers a handler to be invoked if/when 'destroy' is invoked
*/
Kwick.prototype.onDestroy = function(handler) {
this.onDestroyHandlers.push(handler);
};
/**
* Adds an event handler and automatically registers it to be removed if/when
* the plugin is destroyed.
*/
Kwick.prototype.addEventHandler = function($el, eventName, handler) {
$el.on(eventName, handler);
this.onDestroy(function() {
$el.off(eventName, handler);
});
};
/**
* "Destroys" this Kwicks instance plugin by performing the following:
* 1) Stops any currently running animations
* 2) Invokes all destroy handlers
* 3) Clears out all style attributes on panels
* 4) Removes all kwicks class names from panels and container
* 5) Removes the 'kwicks' data value from the container
*/
Kwick.prototype.destroy = function() {
this.$timer.stop();
for (var i = 0, len = this.onDestroyHandlers.length; i < len; i++) {
this.onDestroyHandlers[i]();
}
this.$panels
.attr('style', '')
.removeClass('kwicks-expanded kwicks-selected kwicks-collapsed');
this.$container
// note: kwicks and kwicks-<orientation> classes have extra smarts around them
// back in the constructor
.removeClass('kwicks-processed')
.removeData('kwicks');
};
/**
* Forces the panels to be updated in response to the container being resized.
*/
Kwick.prototype.resize = function() {
// bail out if container size hasn't changed
if (this.getContainerSize() === this.getContainerSize(true)) return;
this.calculatePanelSizes();
this.offsets = this.getOffsetsForExpanded();
// if the panels are currently being animated, we'll just set a flag that can be detected
// during the next animation step
if (this.isAnimated) {
this._dirtyOffsets = true;
} else {
// otherwise update the styles immediately
this.updatePanelStyles();
}
};
/**
* Selects the panel with the specified index (use -1 to select none)
*/
Kwick.prototype.select = function(index) {
// make sure the panel isn't already selected
if (index === this.selectedIndex) return;
$(this.getSelectedPanel()).removeClass('kwicks-selected');
this.selectedIndex = index;
$(this.getSelectedPanel()).addClass('kwicks-selected');
};
/**
* Expands the panel with the specified index (use -1 to expand none)
*/
Kwick.prototype.expand = function(index) {
var self = this,
// used for expand-complete event later on
oldIndex = this.expandedIndex,
oldExpanded = this.getExpandedPanel();
// if the index is -1, then default it to the currently selected index (which will also be
// -1 if no panels are currently selected)
if (index === -1) index = this.selectedIndex;
// make sure the panel isn't already expanded
if (index === this.expandedIndex) return;
$(this.getExpandedPanel()).removeClass('kwicks-expanded');
$(this.getCollapsedPanels()).removeClass('kwicks-collapsed');
this.expandedIndex = index;
$(this.getExpandedPanel()).addClass('kwicks-expanded');
$(this.getCollapsedPanels()).addClass('kwicks-collapsed');
// handle panel animation
var $timer = this.$timer,
numPanels = this.$panels.length,
startOffsets = this.offsets.slice(),
offsets = this.offsets,
targetOffsets = this.getOffsetsForExpanded();
$timer.stop()[0].progress = 0;
this.isAnimated = true;
$timer.animate({ progress: 1 }, {
duration: this.opts.duration,
easing: this.opts.easing,
step: function(progress) {
// check if we've resized mid-animation (yes, we're thorough)
if (self._dirtyOffsets) {
offsets = self.offsets;
targetOffsets = self.getOffsetsForExpanded();
self._dirtyOffsets = false;
}
offsets.length = 0;
for (var i = 0; i < numPanels; i++) {
var targetOffset = targetOffsets[i],
newOffset = targetOffset - ((targetOffset - startOffsets[i]) * (1 - progress));
offsets[i] = newOffset;
}
self.updatePanelStyles();
},
complete: function() {
self.isAnimated = false;
self.$container.trigger('expand-complete.kwicks', {
index: index,
expanded: self.getExpandedPanel(),
collapsed: self.getCollapsedPanels(),
oldIndex: oldIndex,
oldExpanded: oldExpanded,
// note: this will always be false but is included to match expand event
isAnimated: false
});
}
});
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
)
)
)
$pattern = array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
'subtitle__' => array(
'sr' => '',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'text__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'valsetin-gold-selection-ii',
'en' => '15'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_keyword__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
'sr' => 'Valsetin',
'en' => ''
),
'subtitle__' => array(
'sr' => '',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'text__' => array(
'sr' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'valsetin',
'en' => '65'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_keyword__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Zidne dekorativne tehnike',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'zidne-dekorativne-tehnike-',
'en' => '22'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array(),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
'id' => '8237',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '37valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '246413',
'mimetype' => 'image/jpeg',
'title' => '37valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '1',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/37valsetin_gold_selection_ii.jpg'
),
(int) 1 => array(
'id' => '8238',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '23valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '248555',
'mimetype' => 'image/jpeg',
'title' => '23valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '2',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/23valsetin_gold_selection_ii.jpg'
),
(int) 2 => array(
'id' => '8239',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '29valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '235181',
'mimetype' => 'image/jpeg',
'title' => '29valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '3',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/29valsetin_gold_selection_ii.jpg'
),
(int) 3 => array(
'id' => '8240',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '33valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '286344',
'mimetype' => 'image/jpeg',
'title' => '33valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '4',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/33valsetin_gold_selection_ii.jpg'
),
(int) 4 => array(
'id' => '8241',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '36valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '259447',
'mimetype' => 'image/jpeg',
'title' => '36valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '5',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/36valsetin_gold_selection_ii.jpg'
),
(int) 5 => array(
'id' => '8242',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '35valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '141024',
'mimetype' => 'image/jpeg',
'title' => '35valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '6',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/35valsetin_gold_selection_ii.jpg'
),
(int) 6 => array(
'id' => '8243',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '34valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '225124',
'mimetype' => 'image/jpeg',
'title' => '34valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '7',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/34valsetin_gold_selection_ii.jpg'
),
(int) 7 => array(
'id' => '8244',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '32valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '209911',
'mimetype' => 'image/jpeg',
'title' => '32valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '8',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/32valsetin_gold_selection_ii.jpg'
),
(int) 8 => array(
'id' => '8245',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '31valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '107445',
'mimetype' => 'image/jpeg',
'title' => '31valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '9',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/31valsetin_gold_selection_ii.jpg'
),
(int) 9 => array(
'id' => '8246',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '30valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '160811',
'mimetype' => 'image/jpeg',
'title' => '30valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '10',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/30valsetin_gold_selection_ii.jpg'
),
(int) 10 => array(
'id' => '8247',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '27valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '175849',
'mimetype' => 'image/jpeg',
'title' => '27valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '11',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/27valsetin_gold_selection_ii.jpg'
),
(int) 11 => array(
'id' => '8248',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '28valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '130156',
'mimetype' => 'image/jpeg',
'title' => '28valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '12',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/28valsetin_gold_selection_ii.jpg'
),
(int) 12 => array(
'id' => '8249',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '24valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '92404',
'mimetype' => 'image/jpeg',
'title' => '24valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '13',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/24valsetin_gold_selection_ii.jpg'
),
(int) 13 => array(
'id' => '8250',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '25valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '191597',
'mimetype' => 'image/jpeg',
'title' => '25valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '14',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/25valsetin_gold_selection_ii.jpg'
),
(int) 14 => array(
'id' => '8251',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '26valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '179793',
'mimetype' => 'image/jpeg',
'title' => '26valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '15',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/26valsetin_gold_selection_ii.jpg'
),
(int) 15 => array(
'id' => '8252',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '40valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '204588',
'mimetype' => 'image/jpeg',
'title' => '40valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '16',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/40valsetin_gold_selection_ii.jpg'
),
(int) 16 => array(
'id' => '8253',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '22valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '96369',
'mimetype' => 'image/jpeg',
'title' => '22valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '17',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/22valsetin_gold_selection_ii.jpg'
),
(int) 17 => array(
'id' => '8254',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '39valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '111949',
'mimetype' => 'image/jpeg',
'title' => '39valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '18',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/39valsetin_gold_selection_ii.jpg'
),
(int) 18 => array(
'id' => '8255',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '38valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '205435',
'mimetype' => 'image/jpeg',
'title' => '38valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '19',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/38valsetin_gold_selection_ii.jpg'
)
),
'Seo' => array(
'metatag' => array()
)
)
$pageTitleAppend = 'Valsetin Gold selection II'
$_cookies = array(
'language' => 'sr'
)
$isAjax = false
$referer = '/'
$fieldOptions = array()
$_actions = array()
$controller = 'front'
$user = false
$locale = 'sr'
$localelessHere = '/inspiracije/uzorci/zidne-dekorativne-tehnike-/valsetin-gold-selection-ii'
$plural = 'fronts'
$singular = 'front'
$modelClass = 'Front'
$metaData = array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 95,
'rght' => (int) 106,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Valsetin Gold selection II',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'title_short__' => array(
'sr' => '',
'en' => null
),
'alternative_title__' => array(
'sr' => '',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_top_title__' => array(
'sr' => 'Kategorije',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'page_text__' => array(
'sr' => '',
'en' => ''
),
'banner_url__' => array(
'sr' => '',
'en' => ''
),
'slug__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'content__' => array(
'sr' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__4 ">
<div class="main-content">
<?php if(!empty($pattern['Pattern']['text'])) { ?>
<div class="rich-text">
<?= $pattern['Pattern']['text'] ?>
</div>
<?php } ?>
<div class="product-details">
<code cms="element" id="6">Social</code>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul>
<?php foreach($pattern['Patterns'] as $image) { ?>
<li>
<a href="<?= $image['file'] ?>" class="fancybox" rel="group">
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
),
'meta_keywords__' => array(
'sr' => '',
'en' => ''
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<header>
<div class="inner clearfix">
<div class="category-hamburger" id="openLeftMenu" style="display: none;"><span></span> <span></span></div>
<div class="logo"><a href="/" title="My Wall and Floor"><img src="/img/my_wall_and_floor_logo.png" width="187" height="70" alt="My Wall and Floor" /></a></div>
<div class="hamburger hamburger--squeeze js-hamburger" id="openRightMenu">
<div class="hamburger-box">
<div class="hamburger-inner"></div>
</div>
</div>
<div id="off-canvas-right">
<!--<ul class="lang">
<li class="<?= $locale == 'sr' ? 'active' : '' ?>"><a href="/<?= $locale ?>:sr<?= substr($this->here, 3) ?>"><?= __('Srpski') ?></a></li>
<li class="<?= $locale == 'en' ? 'active' : '' ?>"><a href="/<?= $locale ?>:en<?= substr($this->here, 3) ?>"><?= __('English') ?></a></li>
</ul>-->
<nav>
<ul>
<?= $this->Format->printMenu('nav/menu') ?>
</ul>
</nav>
</div>
</div>
</header>
<div class="topline"></div>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<?php
$breadcrumbs = $this->Html->generateBreadcrumbs($activePage);
?>
<div class="breadcrumbs">
<div class="inner clearfix">
<p><?= __('Trenutno se nalazite ovde:') ?></p>
<ul>
<li><a href="/" title="My Wall"><?= __('Početna') ?></a></li>
<?php foreach($breadcrumbs['links'] as $title => $link) { ?>
<li><a href="<?= $link ?>" title="<?= $title ?>"><?= $title ?></a></li>
<?php } ?>
<li><?= $breadcrumbs['last'] ?></li>
</ul>
</div>
</div>
<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=913732115428480";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="social clearfix">
<div class="fb-like-button">
<div class="fb-like" data-href="<?= FULL_BASE_URL . $this->here ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="tweet-button">
<a href="https://twitter.com/share" data-url="<?= FULL_BASE_URL . $this->here ?>" class="twitter-share-button" style="display:none">Tweet</a>
</div>
</div>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
$setting = ClassRegistry::init('Setting')->find('first', array());
$productNavs = $this->Format->getPageFromSitemap(4, $sitemap);
$subNavs = $this->Format->getPageFromSitemap(24, $sitemap);
$i = 0;
?>
<footer>
<div class="inner clearfix">
<div class="top">
<div class="row">
<div class="column __8 st__2">
<div class="products">
<h2><?= __('Proizvodi') ?></h2>
<div class="row">
<ul class="column __6 st__6">
<?php foreach($productNavs['children'] as $productNav) { $i++; ?>
<li>
<a href="<?= $this->Format->getPageFromSitemap($productNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $productNav['Page']['title'] ?>"><?= $productNav['Page']['title'] ?></a>
</li>
<?php if($i%4 == 0) { ?>
<?php if($i != count($productNav['children'])) { ?>
</ul>
<ul class="column __6 st__6">
<?php } ?>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="column __4 st__4">
<div class="banner">
<a href="<?= $this->Format->getPageLink(19, $sitemap) ?>"><img src="/img/valpaint-akademija-banner-f.jpg" /></a>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="wrap clearfix">
<div class="menu">
<ul>
<?php foreach ($subNavs['children'] as $subNav) { ?>
<li><a href="<?= $this->Format->getPageFromSitemap($subNav['Page']['id'], $sitemap, 'path') ?>" title="<?= $subNav['Page']['title'] ?>"><?= $subNav['Page']['title'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="newsletter">
<p><?= __('Prijava za newsletter') ?>:</p>
<form id="newsletterForm" action="/api/v1/newsletter">
<div>
<input class="textfield" name="data[email]" type="text" placeholder="<?php echo _('Vaša email adresa') ?>" />
<button class="submit" type="submit"><span><?php echo __('Poslati') ?></span></button>
</div>
<div class="form-message"></div>
</form>
</div>
</div>
</div>
<div class="bottom clearfix">
<p><?= __('MyWall & Floor © ') . date('Y') . __(' Sva prava zadržana') ?>. </p>
<p class="right"><?= __('Design & Development') ?>: <a href="http://intellex.rs" target="_blank" title="Intellex - Web & Mobile development">Intellex</a></p>
</div>
</div>
</footer>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array()
),
'Data' => array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
[maximum depth reached]
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'text__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_keyword__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
[maximum depth reached]
),
'subtitle__' => array(
[maximum depth reached]
),
'side_menu_subtitle__' => array(
[maximum depth reached]
),
'is_translated__' => array(
[maximum depth reached]
),
'slug__' => array(
[maximum depth reached]
),
'meta_description__' => array(
[maximum depth reached]
),
'meta_title__' => array(
[maximum depth reached]
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
)
),
'Seo' => array(
'metatag' => array([maximum depth reached])
)
),
'Variables' => array(
'pattern' => array(
'Pattern' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Image' => array(
[maximum depth reached]
),
'MetaImage' => array(
[maximum depth reached]
),
'Patterns' => array(
[maximum depth reached]
),
'Seo' => array(
[maximum depth reached]
)
)
),
'Content' => array(
'Body' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
$product = ClassRegistry::init('Product')->find('first', array(
'conditions' => array(
'Product.id' => $pattern['Pattern']['cms_product_id']
)
))
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<div class="product-details">
<code cms="element" id="6">Social</code>
<?php if(!empty($pattern['Pattern']['text']) || !empty($pattern['Pattern']['cms_product_id'])) { ?>
<div class="rich-text">
<?php if(!empty($pattern['Pattern']['text'])) { echo $pattern['Pattern']['text']; } ?>
<p><?= __('Za više informacija podgedajte proizvod') ?> <a href="<?= $this->Format->getModulePath($product) ?>"><?= $product['Product']['title'] ?></a>.</p>
</div>
<?php } ?>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
<?php foreach($pattern['Patterns'] as $image) { ?>
<li class="column">
<a href="<?= $image['file'] ?>" title="<?= !empty($image['code']) ? $image['code'] : $image['title'] ?>" class="fancybox" rel="group">
<span><?= !empty($image['code']) ? $image['code'] : $image['title'] ?></span>
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
</div>
',
'stylesheet_set' => '',
'javascript_set' => '',
(int) 0 => array(
'Content' => array(
[maximum depth reached]
),
'Template' => array(
[maximum depth reached]
),
'Blocks' => array([maximum depth reached])
)
),
'Stylesheet' => array(
(int) 0 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
padding: 0;
margin: 0;
border: 0;
outline: none;
vertical-align: top;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
position: relative;
background: #ecce97;
color: #444;
text-shadow: none;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 15px;
white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('../img/fancybox/fancybox_sprite.png');
}
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-position: 0 -108px;
opacity: 0.8;
cursor: pointer;
z-index: 8060;
}
#fancybox-loading div {
width: 44px;
height: 44px;
background: url('../img/fancybox/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 8040;
background-position: 0 0;
}
.fancybox-nav {
position: absolute;
top: 0;
width: 40%;
height: 100%;
cursor: pointer;
text-decoration: none;
background: transparent url('../img/fancybox/blank.gif'); /* helps IE */
-webkit-tap-highlight-color: rgba(0,0,0,0);
z-index: 8040;
}
.fancybox-prev {
left: 0;
}
.fancybox-next {
right: 0;
}
.fancybox-nav span {
position: absolute;
top: 50%;
width: 36px;
height: 34px;
margin-top: -18px;
cursor: pointer;
z-index: 8040;
visibility: hidden;
}
.fancybox-prev span {
left: 10px;
background-position: 0 -36px;
}
.fancybox-next span {
right: 10px;
background-position: 0 -72px;
}
.fancybox-nav:hover span {
visibility: visible;
}
.fancybox-tmp {
position: absolute;
top: -99999px;
left: -99999px;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
/* Overlay helper */
.fancybox-lock {
overflow: hidden;
}
.fancybox-overlay {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
display: none;
z-index: 8010;
background: url('../img/fancybox/fancybox_overlay.png');
}
.fancybox-overlay-fixed {
position: fixed;
bottom: 0;
right: 0;
}
.fancybox-lock .fancybox-overlay {
overflow: auto;
overflow-y: scroll;
}
/* Title helper */
.fancybox-title {
visibility: hidden;
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-float-wrap {
position: absolute;
bottom: 0;
right: 50%;
margin-bottom: -35px;
z-index: 8050;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0 1px 2px #222;
color: #FFF;
font-weight: bold;
line-height: 24px;
white-space: nowrap;
}
.fancybox-title-outside-wrap {
position: relative;
margin-top: 10px;
color: #fff;
}
.fancybox-title-inside-wrap {
padding-top: 10px;
}
.fancybox-title-over-wrap {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
}
',
'modified' => '2016-11-22 16:39:18'
),
(int) 1 => array(
'id' => (int) 6,
'name' => 'youtube-video-gallery',
'data' => '*.youtube-videogallery-container {
display: block;
}
*.youtube-videogallery-compact *.youtube-videogallery-item,
*.youtube-videogallery-compact *.youtube-videogallery-img{
box-shadow: 0 0 0;
border-radius: 0;
margin: 0 0 0 0;
}
*.youtube-videogallery-compact *.youtube-videogallery-title {
font-size: 11px;
}
a.youtube-videogallery-link { padding:5px; background:#2f2f33; position:relative; display:block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
a.youtube-videogallery-link:hover { background:#ecce97; }
a.youtube-videogallery-link:hover span { color:#6c5e43; }
a.youtube-videogallery-link:hover img.youtube-videogallery-play,
a.youtube-videogallery-link:focus img.youtube-videogallery-play {
opacity: 1;
}
*.youtube-videogallery-play {
left:50%;
opacity: 0.7;
position: absolute;
top:50%;
z-index: 1;
}
*.youtube-videogallery-title { width:100%; text-align:center; float:left; font-size:13px; color:#9f9f9f; line-height:13px; padding:5px 0; }
*.youtube-videogallery-allowtitle *.youtube-videogallery-title {
height: auto;
}
*.youtube-videogallery-screen-reader-only {
position: absolute;
left:-9999px;
}
div.youtube-videogallery-bodycover {
background-color: #000;
height: 100%;
left:0;
opacity: 0;
position: absolute;
top:0;
width:100%;
z-index: 100;
}
div.youtube-videogallery-display {
background-color: #000;
box-shadow: 3px 3px 7px #000;
left:50%;
opacity: 0;
padding: 3px;
position: fixed;
top:50%;
z-index: 101;
}
div.youtube-videogallery-bodycover,
div.youtube-videogallery-display {
transition: all 300ms;
transform: scale(0);
-webkit-transform: scale(0);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover,
body.youtube-videogallery-active div.youtube-videogallery-display {
display: block;
transform: scale(1);
-webkit-transform: scale(1);
}
body.youtube-videogallery-active div.youtube-videogallery-bodycover {opacity: 0.5}
body.youtube-videogallery-active div.youtube-videogallery-display { opacity: 1}',
'modified' => '2016-11-10 14:47:39'
),
(int) 2 => array(
'id' => (int) 5,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
/*
* This file contains styles that are common to all kwicks instances. Note that each kwicks instance requires
* additional styling - please see the examples for more info.
*/
.kwicks {
display: block;
list-style-type: none;
list-style: none;
position: relative;
margin: 0;
padding: 0;
}
.kwicks > * {
display: block;
overflow: hidden;
padding: 0;
margin: 0;
}
.kwicks.kwicks-processed > * {
margin: 0;
position: absolute;
}
.kwicks-horizontal > * {
float: left;
}
.kwicks-horizontal > :first-child {
margin-left: 0;
}
.kwicks-vertical > :first-child {
margin-top: 0;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 3,
'name' => 'jquery.bxslider',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
padding: 0;
*zoom: 1;
}
.bx-wrapper img {
max-width: 100%;
display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
background: url(images/bx_loader.gif) center center no-repeat #fff;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
text-indent: -9999px;
display: block;
outline: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
left: 10px;
background: url(images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
right: 10px;
background: url(images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -16px;
outline: 0;
width: 32px;
height: 32px;
text-indent: -9999px;
z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 0;
left: 0;
background: #666\9;
background: rgba(80, 80, 80, 0.75);
width: 100%;
}
.bx-wrapper .bx-caption span {
color: #fff;
font-family: Arial;
display: block;
font-size: .85em;
padding: 10px;
}
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 1,
'name' => 'main',
'data' => '@charset "utf-8";
*,:after,:before,a,abbr,acronym,address,applet,article,aside,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,input,ins,kbd,label,legend,li,main,mark,object,ol,p,pre,q,s,samp,section,small,span,strike,strong,sub,sup,table,tbody,td,textarea,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:top;background:0 0;-webkit-font-smoothing:antialiased;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{overflow-y:auto;overflow-x:hidden}ol,ul{list-style:none}:focus{outline:0}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix{display:block}* html .clearfix{height:1%}
@font-face {
font-family: 'robotolight';
src: url('/font/roboto-light-webfont.eot');
src: url('/font/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/roboto-light-webfont.woff') format('woff'),
url('/font/roboto-light-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pt_serifregular';
src: url('/font/ptf55f-webfont.eot');
src: url('/font/ptf55f-webfont.eot?#iefix') format('embedded-opentype'),
url('/font/ptf55f-webfont.woff') format('woff'),
url('/font/ptf55f-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
::selection { color:#fff; background:#bba47a; }
::-moz-selection { color:#fff; background:#bba47a; }
/* Global */
body,html { font-family: 'robotolight'; font-size:14px; background:url(../img/bg_body.jpg) repeat 0 0 #000; }
h1, h2 { font-family: 'pt_serifregular'; }
.inner { width:1150px; max-width: 96%; margin:0 auto; }
a { text-decoration:none; -o-transition:color .2s ease-out; -ms-transition:color .2s ease-out; -moz-transition:color .2s ease-out; -webkit-transition:color .2s ease-out; transition:color .2s ease-out; }
/* HEADER */
header { width:100%; display:inline-block; background:#000; -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.5);-moz-box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 3px 3px 0px rgba(0, 0, 0, 0.5); position:relative; z-index:99; float:left; }
header .logo { width: 140px; display: inline-block; padding:5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header .logo:hover { opacity:0.7; }
header .logo img { width: 100%; height: auto; display: block; }
header ul.lang { float:right; padding:5px 0 0 0; }
header ul.lang li { float:left; display:block; padding:0 0 0 10px; }
header ul.lang li a { float:left; color:#484b4e; font-size:11px; }
header ul.lang li a:hover { color:#fff; }
header ul.lang li.active a { color:#bba47a; }
header #off-canvas-right { display: inline-block; float: right; padding: 32px 0 0 0; }
header nav { width:100%; display: inline-block; }
header nav > ul { }
header nav > ul > li { display: inline-block; margin: 0 10px; position:relative; }
header nav > ul > li:first-child { margin:0 10px 0 0; }
header nav > ul > li:last-child { margin:0 0 0 10px; }
header nav > ul > li > a { float:left; font-size:14px; color:#c1b49c; text-transform:uppercase; padding:0 0 10px 0; position: relative; }
header nav > ul > li > a:after { width: 0; height: 3px; background: #bba47a; position: absolute; bottom: 0; left: 0; content: ""; }
header nav > ul > li > a:hover { color:#fff; }
header nav > ul > li > a:hover:after { width: 100%; -webkit-transition: width .3s ease-in-out; -moz-transition: width .3s ease-in-out; -o-transition: width .3s ease-in-out; transition: width .3s ease-in-out; }
header nav > ul > li.active > a:after { width: 100%; }
header nav > ul > li.active > a { color:#bba47a; }
header nav > ul > li > ul { width: 220px; background: #171718; position: absolute; left: 0; top: 26px; border-top: 3px solid #b8a178; -webkit-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);-moz-box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43);box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.43); display: none; }
header nav > ul > li > ul:before { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #b8a178; position: absolute; top: -8px; left: 22px; content: ""; }
header nav > ul > li > ul li { display: block; border-bottom: 1px solid #2f2f30; }
header nav > ul > li > ul li:last-child { border: none; }
header nav > ul > li > ul li a { display: block; font-size: 14px; color: #e5d1ac; padding: 10px 20px; }
header nav > ul > li > ul li a:hover { color: #fff; }
header nav > ul > li:hover ul { display: block; }
header nav > ul > li:hover > a { color:#fff; }
header nav > ul > li.dropdown:after { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 3px solid #c1b49c; position: absolute; right: -9px; top: 8px; content: ""; }
header nav ul li.spec { margin:-4px 0 0 26px; }
header nav ul li.spec a { background:#c1b49c; color:#000; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; padding:5px 12px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
header nav ul li.spec:hover:after { display:none; }
header nav ul li.spec a:hover { background:#e4d9c6; }
header nav ul li.spec { border-bottom:none; }
.topline { width:100%; display:inline-block; background:url(../img/bg_top.jpg) no-repeat 0 0; height:10px; margin:0 0 8px 0; }
.fixed { position:fixed; top:0; left:0; background:rgba(0,0,0,0.0.87); }
#openRightMenu { top: 20px; right: 20px; display: none; }
#openLeftMenu { top: 20px; left: 20px; }
/* Hamburger button */
.hamburger{position:absolute;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:#000;border:0;margin:0;overflow:visible}.hamburger-box{width:40px;height:24px;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-2px}.hamburger-inner,.hamburger-inner::after,.hamburger-inner::before{width:35px;height:4px;background:#fff;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.hamburger-inner::after,.hamburger-inner::before{content:"";display:block}.hamburger-inner::before{top:-8px}.hamburger-inner::after{bottom:-8px}.hamburger--squeeze .hamburger-inner{transition-duration:.1s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze .hamburger-inner::before{transition:top .1s .14s ease,opacity .1s ease}.hamburger--squeeze .hamburger-inner::after{transition:bottom .1s .14s ease,transform .1s cubic-bezier(.55,.055,.675,.19)}.hamburger--squeeze.is-active .hamburger-inner{transform:rotate(45deg);transition-delay:.14s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.hamburger--squeeze.is-active .hamburger-inner::before{top:0;opacity:0;transition:top .1s ease,opacity .1s .14s ease}.hamburger--squeeze.is-active .hamburger-inner::after{bottom:0;transform:rotate(-90deg);transition:bottom .1s ease,transform .1s .14s cubic-bezier(.215,.61,.355,1)}
/* Category menu button*/
.category-hamburger { position: absolute; }
.category-hamburger span { width: 10px; height: 10px; background: #fff; display: inline-block; position: relative; }
.category-hamburger span:after { width: 10px; height: 10px; background: #fff; position: absolute; content: ""; bottom: -12px; left: 0; }
/* ===== HOME ELEMENTS ===== */
/* Slider */
.slider { width:1230px; max-width:100%;margin:0 auto; background:#000; border-top:1px solid #1c1c1c; position:relative;-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:10px; }
.slider .kwicks { width:1230px; max-width:100%; height:400px; display: block; position: relative;}
.slider .kwicks > li { width: 125px; height: 400px; margin-left: 5px;float: left;}
.slider .kwicks > li a img { opacity: 0.5; /*-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out;*/ }
.slider .kwicks > li h2 { width:20px;height:20px; position:absolute; bottom:20px; left:10px; -webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform: rotate(-90deg);white-space:nowrap; color:#fcba42; font-size:20px; text-align:right; writing-mode:bt-lr; display:block;-o-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -webkit-transition:all .5s ease-out; transition:all .5s ease-out; }
.slider .kwicks > li span { width:100%; opacity:0; position:absolute; bottom:0; left:0; padding:80px 20px 20px 20px; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.slider .kwicks > li a:hover img { opacity:1; }
.slider .kwicks > li a:hover h2 { opacity:0; }
.slider .kwicks > li a span.vis { opacity:1; }
.slider .kwicks > * { display: block; overflow: hidden; padding: 0; margin: 0;}
.slider .kwicks.kwicks-processed > * { margin: 0; position: absolute;}
.slider .kwicks-horizontal > * {float: left;}
.slider .kwicks-horizontal > :first-child { margin-left: 0;}
.slider .kwicks-vertical > :first-child { margin-top: 0;}
.slider .kwicks > li span h3 { color:#e0a73f; font-size:20px; font-family: 'pt_serifregular'; padding:0 0 15px 0; }
.slider .kwicks > li span p { color:#fff; }
/* Home categories */
.home-categories { width:1150px; max-width: 100%; margin:20px auto; background:#121314; padding:30px 50px 20px 50px; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.home-categories article { float:left; margin:0 0 10px 9px; }
.home-categories article.modulus { margin:0 0 10px 0; }
.home-categories article a { float:left; background:#f6e8ce; padding:5px; position:relative; }
.home-categories article a:hover { background:#f3d193; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.home-categories article a img { float:left; border:1px solid #9e875c; background:#fff; padding:1px; }
.home-categories article a span { width:170px; margin:0 7px; position:absolute; bottom:7px; left:0; padding:15px 0 10px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.home-categories article a span h2 { width:100%; float:left; color:#ecce97; text-align:center; box-sizing:border-box; padding:0 10px; line-height:15px; }
.home-categories article a:hover span h2 { color:#f4e6ce; }
/* Home blocks */
.home-block { width:1230px; max-width: 100%; margin:0 auto; }
.home-block .block { background:#0a0a0a; border-top:1px solid #161616; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); padding:30px 50px 0 50px;}
.home-block .block-about { background:url(../img/bg_about_block.jpg) no-repeat 100% 0 #0a0a0a; }
.home-block .block h2 { color:#bba47a; font-size:22px; padding:0 0 35px 0; }
.home-block .block p { color:#fff; padding:0 0 15px 0; text-align:justify; }
.home-block .block a { color:#c4a56c; }
.home-block .block a:hover { color:#a48958; }
.home-block .block article { padding:0 0 30px 0; }
.home-block .block article span { width:90px; float: left;margin:0 10px 0 0; }
.home-block .block article span a { display: block; }
.home-block .block article span img { width:100%; height:auto; display:block; }
.home-block .block article div { display: table-cell; width: 768px; }
.home-block .block article div em { font-style:normal; font-size:10px; color:#d0d0d0; }
.home-block .block article div h3 { padding:0 0 10px 0; }
.home-block .block article div h3 a { color:#e3c58f; font-size:15px; font-family: 'pt_serifregular'; }
.home-block .block article div h3 a:hover { color:#fbefd9; }
.home-block .block article div p { font-size:12px; text-align:left; padding:0; }
.home-block .tagline { width:100%; display:inline-block; box-sizing:border-box; padding:20px 50px; margin:20px 0; border-top:1px solid #161616; background:url(../img/bg_tagline.jpg) no-repeat top center #0a0a0a; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); text-align:center; }
.home-block .tagline h1,.home-block .tagline h2 { display:block; font-size:1.6em; color:#fff; text-transform:uppercase; }
.home-block .tagline h1 { border-bottom: 1px solid #fff; display: inline-block; padding: 0 0 20px 0; margin: 0 0 20px 0; }
/* ===== PAGE CONTENT ===== */
.page-content { width:1250px; max-width: 100%; margin:0 auto; background:#000; background-position:100% 0; background-repeat:no-repeat; border-top:1px solid #202020; padding:0 0 50px 0; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.4); }
.content { width:1150px; max-width: 96%; margin:0 auto; }
.side-content { }
.main-content { padding:0 0 30px 0; }
/* Breadcrumbs */
.breadcrumbs { width:100%; display:inline-block; border-bottom:1px solid #151515; font-size:11px; color:#a8a8b3; padding:13px 0; background:url(../img/bg_breadcrumbs.png) no-repeat 0 0; }
.breadcrumbs p { float:left; padding:0 5px 0 0; }
.breadcrumbs a { float:left; color:#c1b297; }
.breadcrumbs a:hover { color:#e9ddc8; }
.breadcrumbs a:after { content:'/'; color:#4a4a50; margin:0 0 0 7px; }
.breadcrumbs ul li { float:left; display:block; padding:0 0 0 7px; }
/* Page title */
.page-title { padding:30px 0 50px 0; }
.page-title .inner { position:relative; }
.page-title .inner div { padding:0 0 0 20px; float:left; border-left:4px solid #bba47a; }
.page-title .inner div h2 { width:100%; float:left; color:#3a3326; font-size:20px; line-height:18px; min-height:25px; }
.page-title .inner div h1 { width:100%; float:left; color:#fff; font-size:30px; line-height:27px; }
.page-title .inner span { position:absolute; right:0; top:-15px; }
/* Rich text */
.rich-text { color:#c1b49c; line-height:22px; }
.rich-text p { padding:0 0 15px 0; text-align:justify; }
.rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.rich-text a { color:#c4a56c; }
.rich-text a:hover { color:#a48958; }
.rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.rich-text ul li { padding:0 0 5px 0; }
.rich-text .rich-video {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.rich-text .rich-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.remark-rich-text { width:100%; float:left; color:#c1b49c; line-height:22px; }
.remark-rich-text p { padding:0 0 15px 0; text-align:justify; }
.remark-rich-text h2 { color:#7a7c7f; font-size:20px; color:#fff; padding:0 0 20px 0; }
.remark-rich-text a { color:#c4a56c; }
.remark-rich-text a:hover { color:#a48958; }
.remark-rich-text ul { list-style-image:url(../img/bullet.png); padding:0 0 0 15px; }
.remark-rich-text ul li { padding:0 0 5px 0; }
.remark-rich-text.hasGallery { padding: 0 0 20px 0; }
.add-image { width:500px; max-width:50%;float:left; margin:0 40px 0 0; padding:5px; background:#1e1f21; box-sizing:border-box }
.add-image div { width:100%; display:block; text-align:center; }
.add-image img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; padding:1px; }
/* Article grid */
.article-grid .row { margin: 0 -8px; }
.article-grid .row > .column { padding: 0 8px; }
.article-grid article { position:relative;}
.article-grid article a, .article-grid article .image-gallery-holder { display: block; padding:5px; background:#1e1f21; position:relative; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin-bottom: 15px; }
article.column > a > span { position:absolute; background: rgba(187, 164, 122, 0.7); -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease ; -ms-transition: all 0.2s ease ; -o-transition: all 0.2s ease ; transition: all 0.2s ease ; padding:5px; top:15%; left:20%; width: 60%; }
article.column > a > span.before-after { top:auto; bottom: 15px; left: 30px; width: auto;text-transform: uppercase; font-size: 16px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 10px;}
article.column > a > span em { width: 100%;text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
article.column > a > span em img { background:none; border:none; padding:0; width:100%; display:inline; }
article.column > a:hover > span { -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -ms-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); }
.article-grid article a:hover { background:#323336; }
.article-grid article img { width:100%; height:auto; display:block; box-sizing:border-box; background:#37393b; padding:1px; border:1px solid #53595e; }
.article-grid article div {position:absolute; left:7px; right: 7px; bottom:7px; padding:40px 0 7px 0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.article-grid article div h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.article-grid article div p { width:100%; text-align:center; font-size:13px; line-height:14px; padding:3px 0 0 0; color:#d4d8de; }
.article-grid-page article { padding:0 0 10px 6px; }
.article-grid-page article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid article span.label { width:48px; height:48px; position:absolute; right:7px; top:7px; }
.article-grid article span.label img { background:none; padding:0; border:none; }
/* Big grid minimum 5 articles */
.article-grid-biggrid article { padding:0 0 10px 12px; }
.article-grid-biggrid article:nth-child(3n+1) { padding:0 0 10px 0; }
.article-grid-biggrid article a { width:262px; box-sizing:border-box; }
.article-grid-biggrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-biggrid article div { padding:40px 0 15px 0; }
.article-grid-biggrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:30px; left:50%; margin:0 0 0 -70px; }
.article-grid-biggrid article span em { width:100px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-biggrid article span em img { background:none; border:none; padding:0; }
.article-grid-biggrid article a:hover span em img { background:none; border:none; padding:0; }
/* Small grid up to 4 articles */
.article-grid-smallgrid article { padding:0 0 10px 10px; }
.article-grid-smallgrid article:nth-child(2n+1) { padding:0 0 10px 0; }
.article-grid-smallgrid article a { width:400px; box-sizing:border-box; }
.article-grid-smallgrid article img { width:100%; height:auto; display:block; box-sizing:border-box; }
.article-grid-smallgrid article div { width:386px; box-sizing:border-box; padding:40px 0 15px 0; }
.article-grid-smallgrid article span { position:absolute; background: rgba(187, 164, 122, 0.7); padding:5px; top:70px; left:90px; }
.article-grid-smallgrid article span em { width:175px; text-align:center; float:left; display:block; background: rgba(255, 255, 255, 0.7); padding:20px; }
.article-grid-smallgrid article span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.article-grid-smallgrid article a:hover span em img { background:none; border:none; padding:0; width:auto; display:inline; }
.showroom-gallery { padding: 20px 0 0 0; }
/* Vertical menu */
#cat-menu { display:none; }
.vertical-menu { width:100%; float:left; margin:0 0 20px 0; }
.vertical-menu h2 { font-size:20px; color:#906e30; padding:0 20px 15px 20px; }
.vertical-menu ul { border-bottom:1px solid #29292f; border-right:1px solid #17171a; }
.vertical-menu ul li { border-left:3px solid #29292f; border-top:1px solid #17171a; margin-bottom:1px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.vertical-menu ul li a { color:#c1b49c; text-transform:uppercase; font-size:14px; font-family: 'pt_serifregular'; padding:10px 15px 9px 15px; display:block; line-height:17px; }
.vertical-menu ul li:hover { border-left:3px solid #bca57b; }
.vertical-menu ul li a:hover { color:#bca57b; }
.vertical-menu ul li.active { border-left:3px solid #bba47a; border-top:none; background:#111113; }
.vertical-menu ul li.active a { color:#000; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.vertical-menu ul li ul { display:none; border-right:none; }
.vertical-menu ul li.active ul { padding:0 0 0 20px; display:block; border-right:none; }
.vertical-menu ul li.active ul li { margin:0; border:none; }
.vertical-menu ul li.active ul li ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li a { background:none; color:#e4ad48; font-size:14px; font-family: 'robotolight'; text-transform:none; padding:7px 0; border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li a:before { content:'▸'; }
.vertical-menu ul li.active ul li a span { width:90%; display:inline-block; font-size:0.96em; box-sizing:border-box; padding:0 0 0 14px; line-height:16px; color:#98938a; }
.vertical-menu ul li.active ul li a:hover span { color:#906e30; }
.vertical-menu ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active a span { color:#906e30; }
.vertical-menu ul li.active ul li.active a:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul { border-bottom:1px dotted #29292f; }
.vertical-menu ul li.active ul li.active ul li { }
.vertical-menu ul li.active ul li.active ul li a { color:#e4ad48; padding:7px 0; }
.vertical-menu ul li.active ul li.active ul li:last-child a { border:none; }
.vertical-menu ul li.active ul li.active ul li a:hover { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li a:before { content:none; }
.vertical-menu ul li.active ul li.active ul li a:hover:before { color:#906e30; }
.vertical-menu ul li.active ul li.active ul li.active a { color:#fff; }
.vertical-menu ul li.active ul li.active ul li a:before { content:'▸'; color:#414345; }
.vertical-menu ul li.active ul li.active ul li.active a:before { color:#906e30; }
/* Product details */
.product-details { }
.product-details .product-info { text-align:justify; }
.product-details .product-info-full { width:100%; }
.product-details .right-info { }
.product-details .photo-grid { }
.product-details .social { padding:0 0 15px 0; border-bottom:1px solid #222225; margin:0 0 20px 0; height: 36px; }
.product-details .social .fb-like-button { float:left; margin:0 15px 0 0; }
.product-details .social .tweet-button { float:left; }
.product-details .product-slideshow { margin: 0 0 40px 0; }
.product-details .product-slideshow ul { position: relative}
.product-details .product-slideshow a {display: block; background:#252729; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-slideshow a:hover { background:#5a5d5f; }
.product-details .product-slideshow a img { background:#37393b; padding:1px; border:1px solid #53595e; width: 100%; height: auto; }
.product-details .product-slideshow a:hover img { border:1px solid #252729; background:#5a5d5f; }
.product-details .product-slideshow a span { width:330px; height:80px; left:7px; position:absolute; bottom:7px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-slideshow .bx-has-pager { width:100%; float:left; padding:8px 0 0 0; position:relative; }
.product-details .product-slideshow .bx-pager { width:100%; position:relative; text-align:center; padding:0 20px; box-sizing:border-box; }
.product-details .product-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
.product-details .product-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.product-details a.link-download { background:#a0151d; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 10px 0 0 0; font-family: 'pt_serifregular'; display: block; }
.product-details a.link-download:hover { background:#c62a33; }
.product-details a.link-download span { display:block; border:1px solid #bf6066; padding:6px 0; text-align:center; }
/*.product-details a.link-download.renewal-catalogue { width:200px; box-sizing:border-box; }*/
.product-details a.link-beforeafter { display: block; margin: 10px 0 0 0; background:#c3ab7f; padding:3px; color:#4a3f2b; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; font-family: 'pt_serifregular'; }
.product-details a.link-beforeafter:hover { background:#d8bf91; }
.product-details a.link-beforeafter span { display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.product-details .product-blocks { width:100%; float:left; margin:30px 0 0 0; }
.product-details .product-block { width:100%; float:left; background:#111113; padding:10px; box-sizing:border-box; margin:0 0 1px 0; }
.product-details .product-block .block-content { width:100%; float:left; background:#202023; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.product-details .product-block .block-content .head, .product-details .product-block .block-content .head-no-accordion { width:100%; float:left; box-sizing:border-box; padding:8px 10px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; cursor:pointer; }
.product-details .product-block .block-content .head-no-accordion { background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); cursor: default }
.product-details .product-block .block-content .head:hover { background:#1c1c1e; }
.product-details .product-block .block-content .head h2 { font-size:15px; color:#bcb6a9; line-height: 20px; }
.product-details .product-block .block-content .head-no-accordion h2 { font-size:15px; line-height: 20px; }
.product-details .product-block .block-content .head h2:before { content:'▸'; color:#6c675d; margin:0 5px 0 0; }
.product-details .product-block .block-content .active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.product-details .product-block .block-content .active h2 { color:#292c31; }
.product-details .product-block .block-content .active h2:before { content:'▾'; color:#292c31; }
.product-details .product-block .block-content .body { width:100%; float:left; padding:10px; box-sizing:border-box; }
.product-details .product-photo-gallery { }
.product-details .product-photo-gallery ul li a { background:#2f2f33;padding:5px; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position: relative; display: block }
.product-details .product-photo-gallery ul li a:hover { background:#5a5d5f; }
.product-details .product-photo-gallery ul li a img { width:100%; height:auto; display:block; box-sizing:border-box; border:1px solid #53595e; background:#37393b; padding:1px; }
.product-details .product-photo-gallery ul li a span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:10px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.product-details .product-photo-gallery .bx-pager { position:absolute; top:-35px; right:0; z-index:99; }
.product-details .product-photo-gallery .bx-pager .bx-pager-item { margin:0 5px 0 0; }
.product-details .product-photo-gallery .bx-pager a { width:11px; height:11px; background:#fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.product-details .product-photo-gallery .bx-pager a.active { background:#a5864d; }
.product-details .product-tehnical-spec p { color:#555; font-size:13px; }
.product-details .product-tehnical-spec ul { width:100%; float:left; }
.product-details .product-tehnical-spec ul li { width:100%; float:left; display:block; padding:0 0 1px 0; }
.product-details .product-tehnical-spec ul li a { width:100%; float:left; background:url(../img/ico_download.png) no-repeat -10px center #27272a; padding:8px 10px 8px 10px; box-sizing:border-box; font-size:13px; color:#9f9f9f; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tehnical-spec ul li a span { float:right; }
.product-details .product-tehnical-spec ul li a:hover { background:url(../img/ico_download.png) no-repeat 10px center #313135; padding:8px 10px 8px 30px; }
.product-details .product-video-gallery li a { min-height:180px; display: block; margin-bottom: 5px; }
.product-details .product-video-gallery li a .youtube-videogallery-img { width: 100%; }
.product-details .product-tools li { padding:0 10px 10px 0; float:left; display:block; }
.product-details .product-tools li a { padding:5px; background:#2f2f33; float:left; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.product-details .product-tools li a:hover { background:#5a5d5f; }
.product-details .product-tools li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li { float:left; margin:0 8px 8px 8px; }
.product-details .product-related ul li a { background:#2f2f33;padding:5px;float:left; margin:0 0 5px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; position:relative; }
.product-details .product-related ul li a img { border:1px solid #53595e; background:#37393b; padding:1px; float:left; }
.product-details .product-related ul li a span { width:225px; position:absolute; bottom:0; left:7px; bottom:7px; padding:40px 0 7px 0; box-sizing:border-box; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.product-details .product-related ul li a span h2 { width:100%; text-align:center; font-size:16px; color:#ecce97; }
.product-details .pro-banner { margin:10px 0 0 0; }
.product-details .pro-banner a { -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; display: block }
.product-details .pro-banner a:hover { opacity:0.8; }
.product-details .pro-banner a img { width: 100%;}
/* Special note */
.special-note { width:100%; float:left; background:#eace9b; padding:20px; box-sizing:border-box; margin:0 0 30px 0; position:relative; }
.special-note h2 { color:#584117; font-size:16px; padding:0 0 10px 0; }
.special-note p { color:#6e5b38; font-size:12px; }
.special-note div { width:26px; height:90px; position:absolute; right:-26px; bottom:-3px; background:url(../img/bg_note.png) no-repeat 0 0; }
/* News Grid */
.news-grid article { vertical-align:top; }
.news-grid article a {display: block;background:#1e1f21; padding:5px; box-sizing:border-box; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 30px 0;}
.news-grid article a:hover { background:#323336; }
.news-grid article a .cnt { background:#18181b; border:1px solid #29292f; padding:1px; box-sizing:border-box; }
.news-grid article a .cnt img { width:100%; height:auto; display:block; }
.news-grid article a .cnt div { position:relative; }
.news-grid article a .cnt div span { width:100%; position:absolute; bottom:0; left:0; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 66%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(66%,rgba(0,0,0,0.82)));background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 66%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d1000000',GradientType=0 ); }
.news-grid article a .cnt div span h2 { text-align:center; font-size:16px; color:#ecce97; padding:50px 20px 5px 20px;}
.news-grid article a .cnt em { width:100%; text-align:center; float:left; font-style:normal; font-size:12px; color:#906e30; padding:5px 0; }
.news-grid article a .cnt p { color:#a8a8b3; font-size:12px; text-align:center; padding:0 20px 15px 20px; min-height: 95px;}
/* News Details */
.news-details { width:100%; float:left; }
.news-details .date { width:100%; float:left; font-style:normal; font-size:12px; color:#906e30; padding:0 0 20px 0; }
.news-details .date em { float:left; font-style:normal; font-size:12px; color:#906e30; }
.news-details .date .social { float:right; }
.news-details .date .social .fb-like-button { float:left; margin:0 15px; }
.news-details .date .social .tweet-button { width:85px; float:left; }
.news-details .rich-text { text-align:justify; }
.news-details .img { float: right; width: 30%; margin: 0 0 40px 40px; }
.news-details .img a { display: block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.news-details .img a:hover { background:#323336; }
.news-details .img img { width: 100%; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery { border-top:1px solid #17171a; margin:30px 0 0 0; padding:10px 0 0 0; }
.news-details .news-gallery h2 { color:#906e30; font-size:14px; padding:0 0 10px 0; }
.news-details .news-gallery ul li a { display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0 0 10px 0}
.news-details .news-gallery ul li a:hover { background:#323336; }
.news-details .news-gallery ul li a img {width: 100%; height: auto !important; background:#37393b; border:1px solid #53595e; padding:1px; }
.news-details .news-gallery .bx-wrapper { max-width:1190px!important; }
.news-details .news-gallery .bx-pager { position:absolute; top:-25px; right:0; }
.news-details .news-gallery .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.news-details .news-gallery .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.news-details .news-gallery .bx-pager .bx-pager-item a.active { background:#ac946b; }
.paginator span { margin: 0 3px 0 0; display: inline-block; background: #1e1f21; padding: 5px;}
.paginator span.current { padding: 10px; color: #bba47a;}
.paginator span a { display:block; background:#323336; color: #bba47a; padding: 5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin: 0;}
.paginator span a:hover { background:#1e1f21; }
/* Contact */
.contact-info { padding:0 20px 0 0; }
.contact-info h2 { font-size:22px; color:#a48958; padding:0 0 20px 0; }
.contact-info p { color:#c1b49c; }
.contact-info a { color:#a07c3b; }
.contact-info a:hover { color:#d5a856; }
.contact-info:nth-child(2) { padding:0 0 0 50px; }
.contact-form { background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; }
.contact-form h2 { width:100%; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.contact-form .textfield { width:100%; background:#fff; border:0; margin:0 0 10px 0; color:#010101; text-align:left; padding:10px 20px; -webkit-box-shadow: inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);-moz-box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4);box-shadow:inset 4px 4px 5px 0px rgba(0, 0, 0, 0.4); font-family: 'robotolight'; font-size:14px; }
.contact-form .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield::-moz-placeholder { opacity: 1; color:#010101;}
.contact-form .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
.capcha-field { position: relative;}
.capcha-field em { position: absolute; left: 0; top: 0; background: #18181b; padding: 10px}
.capcha-field .textfield {padding-left: 80px;}
.contact-form .submit { width:100%; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.contact-form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.contact-form .submit:hover { background:#dcc18f; }
.gmap { width:100%; float:left; height:400px; margin:30px 0 0 0; }
/* Form Messages */
.validation-error-message { width:100%; display: block; margin:-10px 0 10px 0; color: #d34141; display:block; }
.form-message { color: #fff}
.form-message-error { width:100%; float:left; margin:10px 0 0 0; color: #d34141; display:block; }
.newsletter .form-message-error { width:auto; float:none; margin:0; }
.newsletter .validation-error-message { width:auto; float:none; margin:0; }
.form-message.form-message-success { color:#82a12b; }
.radio .validation-error-message { margin:0; }
/* FOOTER */
footer { width:100%; float:left; }
footer .inner {width: 1250px}
footer .inner .top { padding:35px 50px 0 50px; }
footer .inner .top h2 { width:50%; color:#bba47a; font-size:17px; padding:0 0 10px 0; }
footer .inner .top .products { }
footer .inner .top .products ul { display:block; }
footer .inner .top .products ul li { }
footer .inner .top .products ul li a { display: block; color:#808080; font-size:13px; }
footer .inner .top .products ul li a:hover { color:#fff; }
footer .inner .middle {border-bottom:1px solid #313234; padding:20px 50px; }
footer .inner .middle .wrap { border-top:1px solid #1e1e1f; padding:20px 0 0 0; }
footer .inner .middle .wrap .menu { padding:6px 0 0 0; display: inline-block; }
footer .inner .middle .wrap .menu ul li { display:inline-block; margin:0 15px 0 0; }
footer .inner .middle .wrap .menu ul li a { float:left; color:#808080; font-size:13px; text-transform: uppercase; color:#bba47a; }
footer .inner .middle .wrap .menu ul li a:hover { color:#fff; }
footer .inner .middle .newsletter { float:right; text-align:right; }
footer .inner .middle .newsletter p { color:#808080; font-size:13px; padding:6px 10px 0 0; float:left; }
footer .inner .middle .newsletter form { float:right; }
footer .inner .middle .newsletter .textfield { width:260px; float:left; background:#fff; border:0; color:#454545; padding:8px; font-size:13px; height: 31px; box-sizing: border-box}
footer .inner .middle .newsletter .textfield::-webkit-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield::-moz-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .textfield:-ms-input-placeholder { opacity: 1; color:#010101;}
footer .inner .middle .newsletter .submit { float:left; border:none; background:#c3ab7f; padding:4px 3px; color:#fff; font-size:12px; font-family: 'pt_serifregular'; cursor:pointer; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:0 0 0 1px; line-height: 1;height: 31px;box-sizing: border-box }
footer .inner .middle .newsletter .submit:hover { background:#d8bf91; }
footer .inner .middle .newsletter .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:4px 10px 3px 10px; text-align:center; color:#292c31; }
footer .inner .bottom { padding:0 50px 0 50px; }
footer .inner .bottom p { color:#5d5959; font-size:11px; float:left; padding:10px 0; }
footer .inner .bottom a { color:#bba47a; }
footer .inner .bottom .right { float:right; text-align:right; }
/* Static pages */
.static-content { width:100%; float:left; }
.static-content section { padding:0 0 70px 0; }
.static-content section article .gallery-slideshow li a { float:left; display:block; background:#1e1f21; padding:5px; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; box-sizing:border-box; }
.static-content section article .gallery-slideshow li a:hover { background:#323336; }
.static-content section article .gallery-slideshow li a img { float:left; background:#37393b; border:1px solid #53595e; padding:1px; box-sizing:border-box; width:100%; display:block; height:auto; }
.static-content section article .gallery-slideshow .bx-pager { width:100%; position:absolute; bottom:-25px; right:0; text-align:center; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item { display:inline-block; margin:0 2px; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a { width:11px; height:11px; padding:0; float:left; text-indent:-9999px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background:#b2b2b2; }
.static-content section article .gallery-slideshow .bx-pager .bx-pager-item a.active { background:#ac946b; }
.static-content section:nth-child(2n) article { margin:0 25px 0 0; }
.static-content section:nth-child(2n) article:first-child { float:right; margin:0 0 0 25px; }
.static-content section article .spec-block { width:100%; float:left; background:#18181b; padding:10px; box-sizing:border-box; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); margin:20px 0 0 0; }
.static-content section article .spec-block .wrap { width:100%; float:left; padding:15px; box-sizing:border-box; border:1px solid #27272b; font-size:13px; }
.static-content section article .spec-block .wrap .rich-text { line-height:18px; }
.static-content section article .spec-block .wrap .rich-text p:last-child { padding:0; }
.static-content section article .form { width:100%; float:right; background:#18181b; -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.7);-moz-box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7);box-shadow:0px 0px 15px 0px rgba(0, 0, 0, 0.7); padding:40px 25px 45px 25px; box-sizing:border-box; }
.static-content section article .form h2 { width:100%; float:left; text-align:center; color:#fff; font-size:26px; padding:0 0 10px 0; }
.static-content section article .form .submit { width:100%; float:left; background:#c3ab7f; color:#4a3f2b; border:none; cursor:pointer; font-size:16px; padding:3px; color:#fff; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; margin:10px 0 5px 0; font-family: 'pt_serifregular'; }
.static-content section article .form .submit span { width:100%; box-sizing:border-box; display:block; border:1px solid #e7ddcc; padding:6px 0; text-align:center; color:#292c31; }
.static-content section article .form .submit:hover { background:#dcc18f; }
.static-content section article .form p { line-height:18px; color:#7a7c7f; font-size:13px; padding:0 0 25px 0; }
.radio { display:block; padding:20px 0; }
.radio label { line-height:18px; color:#7a7c7f; font-size:13px; display: inline-block; }
.radio div { display: inline-block; padding:0 0 0 20px; }
.radio div label { padding:0 0 0 5px; cursor: pointer }
.radio div input { display: inline-block;position:relative; top:3px; cursor: pointer }
/* Testimonials */
.testimonial { width:100%; float:left; text-align:center; padding:0 100px 40px 100px; box-sizing:border-box; }
.testimonial blockquote { }
.testimonial blockquote:before { content: "\201C"; color:#c1b49c; font-size:55px; margin-right: 0.1em; line-height:0.1em; vertical-align:-0.49em; font-family:Arial, Helvetica, sans-serif; }
.testimonial p { color:#fff; line-height:23px; font-size:16px; font-family:"pt_serifregular"; padding:0 0 10px 0; }
.testimonial span { color:#c1b49c; line-height:22px; }
/* Banners */
.banner { width:100%; float:left; box-sizing:border-box; margin:0 0 20px 0; }
.banner a {padding:5px; display: block; background:#1e1f21; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.banner a img { width:100%; padding:1px; background:#37393b; border:1px solid #53595e; }
.banner a:hover { background:#323336; }
/* References */
ul.reference-list { width: 100%; display: inline-block; text-align: center; }
ul.reference-list li { width: 48%; color: #c1b49c; display: inline-block; vertical-align: top; border:1px solid #584e42; -webkit-border-radius: 1px;-moz-border-radius: 1px;border-radius: 1px; margin: 0 5px 5px 5px; padding: 5px 0; }
footer .banner { }
/* Calculator */
#calculator { width:440px; }
#calculator .head { width:100%; float:left; box-sizing:border-box; background:#af976a; border-top:1px solid #c7b697; padding:16px 20px 13px 20px; }
#calculator .head h2 { color:#fff; font-size:24px; float:left; }
#calculator .head img { float:right; margin:6px 0 0 0; }
#calculator .body { width:100%; float:left; box-sizing:border-box; background:#222226; padding:20px; color:#c7c7c7; }
#calculator .body .select { width:100%; float:left; box-sizing:border-box; margin:35px 0 0 0; }
#calculator .body .select label { width:150px; float:left; padding:8px 0 0 0; }
#calculator .body .select select { width:230px; float:right; border:none; color:#6f6f6f; padding:10px; background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhZWFlYWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ffffff 0%, #aeaeae 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#aeaeae)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#aeaeae 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#aeaeae 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#aeaeae',GradientType=0 ); /* IE6-8 */
}
#calculator .body .select select option { background:#fff; }
#calculator .body .input { width:100%; float:left; box-sizing:border-box; border-top:1px solid #4e4e51; padding:10px 0 0 0; margin:10px 0 0 0; }
#calculator .body .input label.title { width:100%; float:left; text-transform:uppercase; color:#af976a; padding:0 0 10px 0; }
#calculator .body .input div { width:100%; float:left; box-sizing:border-box; padding:0 0 7px 0; }
#calculator .body .input div div { width:150px; float:left; box-sizing:border-box; padding:0; margin:0; }
#calculator .body .input div label { width:100%; float:left; padding:1px 0 0 0; }
#calculator .body .input div span { color:#606060; font-size:12px; top:-5px; position:relative; }
#calculator .body .input div input { width:210px; float:right; border:none; color:#6f6f6f; padding:10px; }
#calculator .body .submit { width:100%; float:left; border-bottom:1px solid #4e4e51; padding:0 0 10px 0; }
#calculator .body .submit input { width:230px; float:right; border:none; border-top:1px solid #d2c3a7; background:#bba47a; color:#fff; font-size:16px; font-family: 'pt_serifregular'; cursor:pointer; padding:10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
#calculator .body .submit input:hover { background:#dcc18f; }
#calculator .body .sumarum { width:100%; float:left; padding:10px 0 0 0; }
#calculator .body .sumarum .error { color: #d34141; }
#calculator .body .sumarum span { width:70px; float:right; font-size:20px; font-family: 'pt_serifregular'; text-align:right; font-weight:bold; }
#calculator .body .sumarum p { float:right; text-align:right;text-transform:uppercase; color:#af976a; padding:2px 0 0 0; }
#calculator .note { width:100%; float:left; padding:10px; box-sizing:border-box; background:#af976a; margin:20px 0 0 0; }
#calculator .note h2 { width:100%; float:left; color:#010101; font-size:14px; }
#calculator .note p { width:100%; float:left; color:#2c2a2a; font-size:12px; }
/* Before and after */
.before-after-nav { width:80%; margin:0 auto; text-align: center; padding:0 0 15px 0; position:relative; }
.before-after-nav a { padding:3px; background:#1e1f21; box-sizing:border-box; display:inline-block; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-nav a img { width:100%; height:auto; display:block; padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-nav a:hover { background:#35383b; }
.before-after-nav a.active { background:#bba47a; }
.before-after-nav a.active img { background:#e9d1a6; border:1px solid #6c5c40; }
.before-after-main { width:80%; margin:0 auto; }
.before-after-main ul li { padding:5px; background:#1e1f21; box-sizing:border-box; }
.before-after-main ul li img { padding:1px; background:#37393b; box-sizing:border-box; border:1px solid #53595e; }
.before-after-main .bx-controls-direction a { width:36px!important; height:68px!important; background-image:url(../img/arrows.png); background-repeat:no-repeat; margin:0!important; opacity:.1; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.before-after-main .bx-controls-direction a:hover { opacity:.6; }
.before-after-main .bx-controls-direction a.bx-prev { background-position:0 0; left:-80px; }
.before-after-main .bx-controls-direction a.bx-next { background-position:100% 0; right:-80px; }
.renewal-block { margin:0 0 20px 0; }
.renewal-block article { position:relative; }
.renewal-block article a { background:#252729; padding:5px; display:block;-o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-block article a:hover { background:#5a5d5f; }
.renewal-block article span { position:absolute; bottom:15px; left:20px; font-family:"pt_serifregular"; text-transform:uppercase; font-size:16px; color:#fff; background:rgba(0,0,0,.5); padding:3px 10px; }
.renewal-block article:last-child span { left:auto; right:20px; }
.renewal-block article img { width:100%; height:auto; display:block; background:#37393b; border:1px solid #53595e; box-sizing:border-box; }
.renewal-gallery.row { margin: 0 -5px; }
.renewal-gallery.row > .column { padding: 0 5px; }
.renewal-gallery a { display: block; background: #2f2f33; padding: 5px; margin: 0 0 10px 0; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; }
.renewal-gallery a:hover { background: #5a5d5f; }
.renewal-gallery a img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
.renewal-intro { padding: 0 0 20px 0; }
.renewal-intro .renewal-image { background: #2f2f33; padding: 5px; }
.renewal-intro .renewal-image img { width: 100%; height: auto; display: block; border: 1px solid #53595e; background: #37393b; padding: 1px; }
/*
* Core Owl Carousel CSS File
* v1.3.3
*/
/* clearfix */
.owl-carousel .owl-wrapper:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
/* display none until init */
.owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; }
.owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); margin:0 auto; }
.owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; }
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition: height 500ms ease-in-out;-moz-transition: height 500ms ease-in-out;-ms-transition: height 500ms ease-in-out;-o-transition: height 500ms ease-in-out;transition: height 500ms ease-in-out;}
.owl-carousel .owl-item{ float: left; }
.owl-controls .owl-page, .owl-controls .owl-buttons div { width:16px; height:31px; cursor:pointer; background-image:url(../img/arrows2.png); background-repeat:no-repeat; opacity:0.4; -o-transition:all .2s ease-out; -ms-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -webkit-transition:all .2s ease-out; transition:all .2s ease-out; text-indent:-9999px; position:absolute; }
.owl-controls .owl-buttons div:hover { opacity:1; }
.owl-controls .owl-buttons div.owl-prev { background-position:0 0; left:-30px; }
.owl-controls .owl-buttons div.owl-next { background-position:100% 0; right:-30px; }
.owl-controls { width:100%; position:absolute; top:15px; }
/* mouse grab icon */
.grabbing { cursor:url(grabbing.png) 8 8, move; }
/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); }
/* FAQ */
.faq-list { width:100%; }
.faq-list .single-faq { width:100%; background:#111113; box-sizing:border-box; margin:0 0 1px; padding:10px; }
.faq-list .single-faq .single-faq-inner { width:100%; background:#202023; box-sizing:border-box; border:1px solid #29292f; padding:1px; }
.faq-list .single-faq .single-faq-inner .question { width:100%; background:#202023; box-sizing:border-box; padding:8px 10px; cursor:pointer; transition:all 0.2s ease-out 0s; }
.faq-list .single-faq .single-faq-inner .question:hover { background:#1c1c1e; }
.faq-list .single-faq .single-faq-inner .question h2 { color:#bcb6a9; font-size:15px; position:relative; line-height: 20px; }
.faq-list .single-faq .single-faq-inner .question h2::before { color:#6c675d; content:"▸"; margin:0 5px 0 0; }
.faq-list .single-faq .single-faq-inner .answer { width:100%; box-sizing:border-box; padding:10px; color:#c1b49c; line-height:22px; }
.faq-list .single-faq .single-faq-inner .answer a { color:#ebce98; text-decoration:underline; }
.faq-list .single-faq .single-faq-inner .answer a:hover { text-decoration:none; }
.faq-list .single-faq .single-faq-inner .question.active { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active:hover { color:#fff; background: rgb(187,164,122);background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYTQ3YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmQ1YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, rgba(187,164,122,1) 0%, rgba(242,213,160,1) 100%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,164,122,1)), color-stop(100%,rgba(242,213,160,1)));background: -webkit-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%); background: -o-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);background: -ms-linear-gradient(left, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);
background: linear-gradient(to right, rgba(187,164,122,1) 0%,rgba(242,213,160,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bba47a', endColorstr='#f2d5a0',GradientType=1 ); }
.faq-list .single-faq .single-faq-inner .question.active h2 { color:#292c31; }
.faq-list .single-faq .single-faq-inner .question.active h2:before { content:'▾'; color:#292c31; }
.row,.row:after{display:block;clear:both}.row{margin:0 -15px;width:auto;position:relative}.row:after{visibility:hidden;font-size:0;content:" ";height:0}.row>.column{padding:0 15px;float:left}.row>.column.pull-right{float:right}.row>.column.__12{width:100%}.row>.column.__11{width:91.666666%}.row>.column.__10{width:83.333333%}.row>.column.__9{width:75%}.row>.column.__8{width:66.666666%}.row>.column.__7{width:58.333333%}.row>.column.__6{width:50%}.row>.column.__5{width:41.666666%}.row>.column.__4{width:33.333333%}.row>.column.__3{width:25%}.row>.column.__2{width:16.666666%}.row>.column.__1{width:8.333333%}@media only screen and (max-width:1279px){.row>.column.lt__6{width:100%}.row>.column.lt__5{width:83.333333%}.row>.column.lt__4{width:66.666666%}.row>.column.lt__3{width:50%}.row>.column.lt__2{width:33.333333%}.row>.column.lt__1{width:16.666666%}}@media only screen and (max-width:1023px){.row>.column.st__6{width:100%}.row>.column.st__5{width:83.333333%}.row>.column.st__4{width:66.666666%}.row>.column.st__3{width:50%}.row>.column.st__2{width:33.333333%}.row>.column.st__1{width:16.666666%}}@media only screen and (max-width:767px){.row>.column.m__1{width:50%}.row>.column.__1,.row>.column.__10,.row>.column.__11,.row>.column.__12,.row>.column.__2,.row>.column.__3,.row>.column.__4,.row>.column.__5,.row>.column.__6,.row>.column.__7,.row>.column.__8,.row>.column.__9,.row>.column.lt__1,.row>.column.lt__2,.row>.column.lt__3,.row>.column.lt__4,.row>.column.lt__5,.row>.column.lt__6,.row>.column.m__2,.row>.column.st__1,.row>.column.st__2,.row>.column.st__3,.row>.column.st__4,.row>.column.st__5,.row>.column.st__6{width:100%}}.row.block-row.__2-block .column{width:50%}.row.block-row.__3-block .column{width:33.3333333%}.row.block-row.__4-block .column{width:25%}.row.block-row.__5-block .column{width:20%}.row.block-row.__6-block .column{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .column{width:50%}.row.block-row.lt__3-block .column{width:33.3333333%}.row.block-row.lt__4-block .column{width:25%}.row.block-row.lt__5-block .column{width:20%}.row.block-row.lt__6-block .column{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .column{width:50%}.row.block-row.st__3-block .column{width:33.3333333%}.row.block-row.st__4-block .column{width:25%}.row.block-row.st__5-block .column{width:20%}.row.block-row.st__6-block .column{width:16.666666666%}.row .column.tablet-hide{display: none}}@media only screen and (max-width:767px){.row{margin: 0;}.row.block-row.__2-block .column, .row.block-row.__3-block .column, .row.block-row.__4-block .column, .row.block-row.__5-block .column, .row.block-row.__6-block .column, .row.block-row.lt__2-block .column, .row.block-row.lt__3-block .column, .row.block-row.lt__4-block .column, .row.block-row.lt__5-block .column, .row.block-row.lt__6-block .column, .row.block-row.st__2-block .column, .row.block-row.st__3-block .column, .row.block-row.st__4-block .column, .row.block-row.st__5-block .column, .row.block-row.st__6-block .column {width:100%}.row.block-row.m__2-block .column{width:50%}.row.block-row.m__3-block .column{width:33.3333333%}.row.block-row.m__4-block .column{width:25%}}.row.__5-margin{margin:0 -5px}.row.__5-margin .column{padding:0 5px}.row.__0{margin:0}.row.__0 .column{padding:0}
.row .youtube-videogallery-item {padding:0 15px;float:left}
.row.block-row.__2-block .youtube-videogallery-item{width:50%}.row.block-row.__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.__4-block .youtube-videogallery-item{width:25%}.row.block-row.__5-block .youtube-videogallery-item{width:20%}.row.block-row.__6-block .youtube-videogallery-item{width:16.666666666%}@media only screen and (max-width:1279px){.row.block-row.lt__2-block .youtube-videogallery-item{width:50%}.row.block-row.lt__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.lt__4-block .youtube-videogallery-item{width:25%}.row.block-row.lt__5-block .youtube-videogallery-item{width:20%}.row.block-row.lt__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:1023px){.row.block-row.st__2-block .youtube-videogallery-item{width:50%}.row.block-row.st__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.st__4-block .youtube-videogallery-item{width:25%}.row.block-row.st__5-block .youtube-videogallery-item{width:20%}.row.block-row.st__6-block .youtube-videogallery-item{width:16.666666666%}}@media only screen and (max-width:767px){.row.block-row.__2-block .youtube-videogallery-item, .row.block-row.__3-block .youtube-videogallery-item, .row.block-row.__4-block .youtube-videogallery-item, .row.block-row.__5-block .youtube-videogallery-item, .row.block-row.__6-block .youtube-videogallery-item, .row.block-row.lt__2-block .youtube-videogallery-item, .row.block-row.lt__3-block .youtube-videogallery-item, .row.block-row.lt__4-block .youtube-videogallery-item, .row.block-row.lt__5-block .youtube-videogallery-item, .row.block-row.lt__6-block .youtube-videogallery-item, .row.block-row.st__2-block .youtube-videogallery-item, .row.block-row.st__3-block .youtube-videogallery-item, .row.block-row.st__4-block .youtube-videogallery-item, .row.block-row.st__5-block .youtube-videogallery-item, .row.block-row.st__6-block .youtube-videogallery-item {width:100%}.row.block-row.m__2-block .youtube-videogallery-item{width:50%}.row.block-row.m__3-block .youtube-videogallery-item{width:33.3333333%}.row.block-row.m__4-block .youtube-videogallery-item{width:25%}} .row.__5-margin .youtube-videogallery-item{padding:0 5px}
.fancybox-title { text-align: center; font-size: 15px!important; font-weight: bold!important; }
@media all and (min-width:1280px) {
#openLeftMenu { display: none!important; }
}
@media all and (max-width:1279px) {
header .logo { margin: 0 auto; display: block; }
body { position: relative; left: 0; right: 0; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out; -ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right,#off-canvas-left { height: 100%; position: fixed; top: 0; bottom: 0; overflow-y: auto; display: inline-block; float: none; transition: all 0.2s ease-out; -o-transition:all 0.2s ease-out;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out; }
#off-canvas-right { width: 50%; right: -50%; padding: 0; }
#off-canvas-left { width: 50%; left: -50%; padding: 20px 0; }
#openRightMenu, #openLeftMenu { display: block; }
body.off-canvas-right-opened { left: -50%; right: auto; overflow-x: visible; }
body.off-canvas-right-opened #off-canvas-right { right: 0; opacity: 1; background: #222226; float: none; display: block; padding: 0; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li { width: 100%; margin: 0; display: block; border-bottom: 1px solid #37373b; text-align: left; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a { display: block; float: none; color: #797984; font-size: 18px; font-weight: bold; padding: 15px 30px; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > a:hover { color: #fff; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a { color:#d9bd8a; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.active > a:after { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li.dropdown:after { top: 25px; right: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #797984; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul { width: 100%; position: relative; left: auto; top: auto; border: none; -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);-moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul:before { display: none; }
body.off-canvas-right-opened #off-canvas-right nav > ul > li > ul > li > a { font-size: 16px; color: #797984; padding: 13px 31px; }
body.off-canvas-left-opened { left: 50%; right: auto; overflow-x: visible; }
body.off-canvas-left-opened #off-canvas-left { left: 0; opacity: 1; background: #222226; }
body.off-canvas-left-opened #off-canvas-left .vertical-menu ul li ul li a { padding: 10px 0; }
.breadcrumbs { text-align: center; }
.breadcrumbs p { display: inline-block; float: none; }
.breadcrumbs ul { display: inline-block; }
.page-title { text-align: center; padding: 30px 0; }
.page-title .inner div { width: 100%; float: none; border: none; padding: 0; }
.product-details .social { text-align: center; }
.product-details .social .fb-like-button, .product-details .social .tweet-button { float: none; display: inline-block;}
header .logo { padding:5px 0; }
header .right ul.lang { display:none; }
footer .inner .middle { padding:20px 0; }
footer .inner .middle .newsletter .textfield { width:180px; }
.article-grid-smallgrid article span { top:40px; left:50px; }
.content .banner { display: none; }
}
@media only screen and (max-width : 1023px) {
.home-block { width:98%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.static-content section article { width:100%; }
.static-content section article:nth-child(2) { width:60%; margin:0 auto; float:none; display:table; }
.article-grid article a { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article { width:48%; }
.article-grid-smallgrid article span { left:60px; }
.main-content { width:100%; display:block; margin:0 auto; }
.news-details .img { width:50%; }
.news-details .img img { width:100%; height:auto; display:block; }
.contact-info:nth-child(2) { padding:0; }
.contact-form { width:100%; box-sizing:border-box; margin:30px 0 0 0; }
.fader { padding:40px 0 0 0; }
header { position:fixed; }
header .logo { width:110px; margin:0 auto; float:none; }
header .logo img { width:100%; height:auto; display:block; }
footer .inner { width:100%; }
footer .inner .middle { width:100%; box-sizing:border-box; padding:20px 25px; }
footer .inner .middle .wrap .menu { width:100%; text-align:center; }
footer .inner .middle .wrap .menu ul li { float:none; display:inline-block; }
footer .inner .middle .newsletter { margin:0 auto; float:none; display:table; padding:20px 0 0 0; }
footer .inner .bottom { width:100%; padding:0 25px; box-sizing:border-box; }
}
@media only screen and (max-width : 767px) {
.phone-hide { display: none!important; }
#openRightMenu { top: 17px; }
#openLeftMenu { top: 17px; }
html { overflow-x:hidden;}
#main-menu {width:70%;right:-70%; }
#category-menu {width:70%; left:-70%; }
.home-block .block { width:100%; box-sizing:border-box; padding:30px 20px; margin:0 0 10px 0; }
.home-block .block article span { width:100%; }
.home-block .block article div { width:100%; padding:10px 0 0 0; }
.home-block .block article div p { text-align:justify; }
.testimonial { padding:0 0 40px 0; }
header .right ul.lang { float:none; padding:15px 0; margin:0 auto; text-align:center; }
header .right ul.lang li { float:none; display:inline-block; padding:0; margin:0 10px; }
header .right ul.lang li a { float:left; color:#484b4e; font-size:15px; }
header .right ul.lang li a:hover { color:#fff; }
header .right ul.lang li.active a { color:#bba47a; }
header .right nav { width:100%; float:right; padding:12px 0 0 0; }
header .right nav ul { float:left; }
header .right nav ul li { width:100%; float:left; display:block; margin:0 0 1px 0; position:relative; border-bottom:1px solid #1a1a1b; }
header .right nav ul li:first-child { margin:0 0 1px 0; }
header .right nav ul li a { width:100%; float:left; font-size:16px; color:#8c8c8c; text-transform:uppercase; padding:10px; box-sizing:border-box; }
header .right nav ul li a:hover { color:#fff; }
header .right nav ul li:after { display:none; }
header .right nav ul li:hover:after { width:100%; }
header .right nav ul li.active:hover:after { width:0; }
header .right nav ul li.active { border-bottom:1px solid #1a1a1b; }
header .right nav ul li.active a { background:#bba47a; color:#fff; }
footer .inner { width:94%; }
footer .inner .top { width:100%; padding:20px; box-sizing:border-box; }
footer .inner .middle { width:100%; padding:20px 0; }
footer .inner .middle .wrap { padding: 0;}
footer .inner .middle .wrap .menu { width:100%; padding:0; }
footer .inner .middle .wrap .menu ul li { width:100%; margin:0; text-align:center; }
footer .inner .middle .wrap .menu ul li a { float:none; display:block; padding:10px 0; }
footer .inner .middle .newsletter { width:100%; float:left; border-top:1px solid #313234; }
footer .inner .middle .newsletter form { float:none; display:table; margin:0 auto; }
footer .inner .middle .newsletter .textfield { width:218px; }
footer .inner .middle .newsletter p { width:100%; text-align:center; padding:10px 0; }
footer .inner .bottom { width:100%; float:left; text-align:center; }
footer .inner .bottom p { width:100%; float:left; text-align:center; padding:5px 0; }
footer .inner .bottom .right { text-align:center; }
.page-content { margin:0 auto; background:#000; background-image:none; }
.breadcrumbs p { display:none; }
.page-title .inner div { width:100%; float:left; border-left:none; border-bottom:1px solid #bba47a; text-align:center; padding:0 0 15px 0; }
.page-title .inner span { width:100%; padding:10px 0 0 0; position:relative; top:0; float:left; text-align:center; }
.page-title .inner span img { width:120px; }
.main-content { width:100%; padding:0; }
.special-note div { display:none; }
/* Rich text */
.rich-text { text-align:justify; }
/* Special note */
.special-note { text-align:center; }
/* Article grid */
.article-grid-smallgrid article span { width:200px; box-sizing:border-box; left:50%; margin:0 0 0 -100px; }
.article-grid-smallgrid article span em { width:100%; box-sizing:border-box; }
.article-grid-smallgrid article span em img { width:100%; height:auto; display:block; }
/* Product info */
.product-details .product-info { width:100%; margin:0; }
.product-details .right-info { width:100%; float:left; }
.product-details .product-slideshow { width:100%; }
.product-details .product-slideshow a img { width:100%; height:auto; display:block; box-sizing:border-box; }
.product-details a.link-download { width:100%; box-sizing:border-box; }
.product-details a.link-download span { width:100%; box-sizing:border-box; }
.product-details .pro-banner { width:100%; }
.product-details .pro-banner img { width:100%; height:auto; display:block; margin:10px 0; }
/* News */
.news-details .img { width:100%; }
.news-details .img img { width:100%; height:auto; display:block; box-sizing:border-box; }
/* Contact */
.contact-info { width:100%; padding:0; text-align:center; padding:0 0 20px 0; }
.contact-form { width:100%; box-sizing:border-box; }
.page-content { padding: 0 0 20px 0;}
/* Calculator */
#calculator { width:100%; }
#calculator .head h2 { width:100%; text-align:center; }
#calculator .head img { float:none; display:block; margin:10px auto 0 auto; }
#calculator .body p { text-align:justify; }
#calculator .body .select label { width:100%; text-align:center; padding:0 0 10px 0; }
#calculator .body .input { text-align:center; }
#calculator .body .input div div { width:100%; }
#calculator .body .select select { width:100%; box-sizing:border-box; }
#calculator .body .input div input { width:100%; box-sizing:border-box; }
#calculator .body .submit input { width:100%; box-sizing:border-box; }
.page-title { padding: 10px 0 10px 0;}
.page-title .inner div h2 { min-height: 0;}
.page-title .inner div h1 { margin: 10px 0 0 0 ;}
.slider { display:none; }
footer .banner { margin: 20px 0 0 0;}
.lines-button { display:inline-block; }
.cat-menu { display:block; }
.before-after-main { width:100%; }
.add-image { width:100%; margin:0 0 40px 0; max-width: 100%;}
ul.reference-list li { width: 100%; margin: 0 0 5px 0; }
}
@media only screen and (max-width : 767px) and (orientation:portrait) {
body.off-canvas-right-opened { left: -80%; }
#off-canvas-right { width: 80%; right: -80%; }
body.off-canvas-left-opened { left: 80%; }
#off-canvas-left { width: 80%; left: -80%; }
}
',
'modified' => '2016-11-10 14:47:39'
)
),
'Javascript' => array(
(int) 0 => array(
'id' => (int) 99,
'name' => 'main',
'data' => '$(document).ready(function(){
// Hamburger icon menu
var forEach = function (t, o, r) {
if ("[object Object]" === Object.prototype.toString.call(t))for (var c in t)Object.prototype.hasOwnProperty.call(t, c) && o.call(r, t[c], c, t); else for (var e = 0, l = t.length; l > e; e++)o.call(r, t[e], e, t)
};
var hamburgers = document.querySelectorAll(".hamburger");
if (hamburgers.length > 0) {
forEach(hamburgers, function (hamburger) {
hamburger.addEventListener("click", function () {
this.classList.toggle("is-active");
}, false);
});
}
// Off canvas right menu
$('#openRightMenu').click(function () {
$('body').toggleClass('off-canvas-right-opened');
});
// Off canvas left menu
$('#openLeftMenu').click(function () {
$('body').toggleClass('off-canvas-left-opened');
});
// Responsive menu
if($(window).width() <= 1279) {
$('li.dropdown').click(function() {
$(this).find('ul').stop().slideToggle();
});
}
if(!$.trim( $('.cms-richtext').html() ).length) {
$('.block-about').hide();
}
$('form#newsletterForm').intlxform();
$('form#contactForm').intlxform();
$('form#valpaintForm').intlxform();
if($('div.right-info').find('div.pro-banner').length) {
$('div.right-info').removeClass('photo-grid');
}
// Slideshow
var numImgs = $('.product-slideshow ul img').length;
if (numImgs > 1) {
$('.product-slideshow ul').bxSlider({
controls: true,
mode: 'fade',
controls: false,
auto: true,
pause: 3000,
speed: 1500
});
}
$(".fancybox").fancybox({
scrolling : 'yes',
cyclic : true,
helpers : {
overlay: {
locked: false
},
title: {
type: 'inside',
position: 'bottom'
}
}
});
$('.data-anchor').click(function() {
var anchor = $('#' + $(this).data('anchor')).offset().top;
$('html, body').animate({scrollTop: anchor}, 800);
});
$('a.link-download').click(function() {
catalougeWindow = window.open(this.href, 'name', 'height=650, width=900');
if(window.focus) {
catalougeWindow.focus()
}
return false;
});
// Accordion
$('.head').click(function() {
$('.product-block .head').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.body');
targetElement.slideToggle();
$('.product-block .body').not(targetElement).slideUp();
});
$('.question').click(function() {
$('.faq-list .question').removeClass('active');
$(this).addClass('active');
var targetElement = $(this).next('.answer');
targetElement.slideToggle();
$('.faq-list .answer').not(targetElement).slideUp();
});
// YouTube popup
$("ul.youtube-videogallery").youtubeVideoGallery();
$('form.calculator-form').submit(function() {
var span = $(this).find('.sumarum span');
var error = $(this).find('.error');
var result = parseFloat($('#CalculatorWallWidth').val()) * parseFloat($('#CalculatorWallHeight').val()) / parseFloat($('#CalculatorDimension').val());
/* Show error, if any */
error.text('');
if(isNaN(result) || result <= 0) {
span.text('');
error.text('Unete vrednosti nisu korektne');
} else {
span.text(Math.ceil(result));
}
return false;
});
});
$(window).load(function() {
if($('body').find('div.side-content').length) {
$('#openLeftMenu').show();
}
});
$(window).resize(function () {
$('body').trigger('click')
});
',
'modified' => '2016-11-10 14:49:31'
),
(int) 1 => array(
'id' => (int) 7,
'name' => 'jquery.fancybox-2.1.4.pack',
'data' => '/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
(function(C,z,f,r){var q=f(C),n=f(z),b=f.fancybox=function(){b.open.apply(this,arguments)},H=navigator.userAgent.match(/msie/),w=null,s=z.createTouch!==r,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},p=function(a){return a&&"string"===f.type(a)},F=function(a){return p(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&F(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},x=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.4",defaults:{padding:15,margin:20,width:800,
height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",
34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+
(H?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,
openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,
isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,
c.metadata())):k=c);g=d.href||k.href||(p(c)?c:null);h=d.title!==r?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));p(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":p(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(p(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&
k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==r&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||
b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=
setTimeout(b.next,b.current.playSpeed))},c=function(){d();f("body").unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,f("body").bind({"afterShow.player onUpdate.player":e,"onCancel.player beforeClose.player":c,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(p(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},
prev:function(a){var d=b.current;d&&(p(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==r&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},
e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(w),w=null);b.isOpen&&!w&&(w=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),w=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),
b.trigger("onUpdate")),b.update())},hideLoading:function(){n.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");n.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||
!1,d={x:q.scrollLeft(),y:q.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&C.innerWidth?C.innerWidth:q.width(),d.h=s&&C.innerHeight?C.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");n.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&n.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=
e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==r)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&
"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,
e){e&&(b.helpers[d]&&f.isFunction(b.helpers[d][a]))&&(e=f.extend(!0,{},b.helpers[d].defaults,e),b.helpers[d][a](e,c))});f.event.trigger(a+".fb")}},isImage:function(a){return p(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return p(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&
(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=
!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady");
if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=
this.width;b.coming.height=this.height;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,
(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=
b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();
e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",
!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");
a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,
v=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,p=l(y[1]+y[3]),r=l(y[0]+y[2]),z,A,t,D,B,G,C,E,w;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=l(k.outerWidth(!0)-k.width());z=l(k.outerHeight(!0)-k.height());A=p+y;t=r+z;D=F(c)?(a.w-A)*l(c)/100:c;B=F(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(w=h.content,h.autoHeight&&1===w.data("ready"))try{w[0].contentWindow.document.location&&(g.width(D).height(9999),G=w.contents().find("body"),q&&G.css("overflow-x",
"hidden"),B=G.height())}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=l(D);j=l(B);E=D/B;m=l(F(m)?l(m,"w")-A:m);n=l(F(n)?l(n,"w")-A:n);u=l(F(u)?l(u,"h")-t:u);v=l(F(v)?l(v,"h")-t:v);G=n;C=v;h.fitToView&&(n=Math.min(a.w-A,n),v=Math.min(a.h-t,v));A=a.w-p;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/E)),j>v&&(j=v,c=l(j*E)),c<m&&(c=m,j=l(c/E)),j<u&&
(j=u,c=l(j*E))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,v)));if(h.fitToView)if(g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height(),h.aspectRatio)for(;(a>A||p>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(v,j-10)),c=l(j*E),c<m&&(c=m,j=l(c/E)),c>n&&(c=n,j=l(c/E)),g.width(c).height(j),e.width(c+y),a=e.width(),p=e.height();else c=Math.max(m,Math.min(c,c-(a-A))),j=Math.max(u,Math.min(j,j-(p-r)));q&&("auto"===s&&j<B&&c+y+
q<A)&&(c+=q);g.width(c).height(j);e.width(c+y);a=e.width();p=e.height();e=(a>A||p>r)&&c>m&&j>u;c=h.aspectRatio?c<G&&j<C&&c<D&&j<B:(c<G||j<C)&&(c<D||j<B);f.extend(h,{dim:{width:x(a),height:x(p)},origWidth:D,origHeight:B,canShrink:e,canExpand:c,wPadding:y,hPadding:z,wrapSpace:p-k.outerHeight(!0),skinSpace:k.height()-j});!w&&(h.autoHeight&&j>u&&j<v&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",
top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=x(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=x(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&
(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=
a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):
(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:x(c.top-h*a.topRatio),left:x(c.left-j*a.leftRatio),width:x(f+j),height:x(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===
f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,
{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=x(l(e[g])-200),c[g]="+=200px"):(e[g]=x(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=
b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo("body");
this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){f(a.target).hasClass("fancybox-overlay")&&(b.isActive?b.close():d.close())});this.overlay.css(a.css).show()},
close:function(){f(".fancybox-overlay").remove();q.unbind("resize.overlay");this.overlay=null;!1!==this.margin&&(f("body").css("margin-right",this.margin),this.margin=!1);this.el&&this.el.removeClass("fancybox-lock")},update:function(){var a="100%",b;this.overlay.width(a).height("100%");H?(b=Math.max(z.documentElement.offsetWidth,z.body.offsetWidth),n.width()>b&&(a=n.width())):n.width()>q.width()&&(a=n.width());this.overlay.width(a).height(n.height())},onReady:function(a,b){f(".fancybox-overlay").stop(!0,
!0);this.overlay||(this.margin=n.height()>q.height()||"scroll"===f("body").css("overflow-y")?f("body").css("margin-right"):!1,this.el=z.all&&!z.querySelector?f("html"):f("body"),this.create(a));a.locked&&this.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&(this.el.addClass("fancybox-lock"),!1!==this.margin&&f("body").css("margin-right",l(this.margin)+b.scrollbarWidth));this.open(a)},onUpdate:function(){this.fixed||
this.update()},afterClose:function(a){this.overlay&&!b.isActive&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(p(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),
H&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+
'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):n.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};n.ready(function(){f.scrollbarWidth===r&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),
b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===r){var a=f.support,d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body"),e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")})})})(window,document,jQuery);
$(document).ready(function() {
$(".fancybox").fancybox({
helpers: {
title: false,
overlay: {
locked: false
}
}
});
});
',
'modified' => '2016-11-22 16:33:55'
),
(int) 2 => array(
'id' => (int) 6,
'name' => 'owl.carousel',
'data' => '"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,o){var i={init:function(e,o){var i=this;i.$elem=t(o),i.options=t.extend({},t.fn.owlCarousel.options,i.$elem.data(),e),i.userOptions=e,i.loadContent()},loadContent:function(){function e(t){var e,o="";if("function"==typeof i.options.jsonSuccess)i.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(o+=t.owl[e].item);i.$elem.html(o)}i.logIn()}var o,i=this;"function"==typeof i.options.beforeInit&&i.options.beforeInit.apply(this,[i.$elem]),"string"==typeof i.options.jsonPath?(o=i.options.jsonPath,t.getJSON(o,e)):i.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;return 0===t.$elem.children().length?!1:(t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),void t.onStartup())},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),t.options.transitionStyle!==!1&&t.transitionTypes(t.options.transitionStyle),t.options.autoPlay===!0&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){var t=this;t.options.lazyLoad===!0&&t.lazyLoad(),t.options.autoHeight===!0&&t.autoHeight(),t.onVisibleItems(),"function"==typeof t.options.afterAction&&t.options.afterAction.apply(this,[t.$elem])},updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;e.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;return t.$elem.is(":visible")!==!1?!1:(t.$elem.css({opacity:0}),e.clearInterval(t.autoPlayInterval),e.clearInterval(t.checkVisible),void(t.checkVisible=e.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),e.clearInterval(t.checkVisible))},500)))},wrapItems:function(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),t.wrapperOuter=t.$elem.find(".owl-wrapper-outer"),t.$elem.css("display","block")},baseClass:function(){var t=this,e=t.$elem.hasClass(t.options.baseClass),o=t.$elem.hasClass(t.options.theme);e||t.$elem.addClass(t.options.baseClass),o||t.$elem.addClass(t.options.theme)},updateItems:function(){var e,o,i=this;if(i.options.responsive===!1)return!1;if(i.options.singleItem===!0)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1,!1;if(e=t(i.options.responsiveBaseWidth).width(),e>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),i.options.itemsCustom!==!1)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),o=0;o<i.options.itemsCustom.length;o+=1)i.options.itemsCustom[o][0]<=e&&(i.options.items=i.options.itemsCustom[o][1]);else e<=i.options.itemsDesktop[0]&&i.options.itemsDesktop!==!1&&(i.options.items=i.options.itemsDesktop[1]),e<=i.options.itemsDesktopSmall[0]&&i.options.itemsDesktopSmall!==!1&&(i.options.items=i.options.itemsDesktopSmall[1]),e<=i.options.itemsTablet[0]&&i.options.itemsTablet!==!1&&(i.options.items=i.options.itemsTablet[1]),e<=i.options.itemsTabletSmall[0]&&i.options.itemsTabletSmall!==!1&&(i.options.items=i.options.itemsTabletSmall[1]),e<=i.options.itemsMobile[0]&&i.options.itemsMobile!==!1&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&i.options.itemsScaleUp===!0&&(i.options.items=i.itemsAmount)},response:function(){var o,i,n=this;return n.options.responsive!==!0?!1:(i=t(e).width(),n.resizer=function(){t(e).width()!==i&&(n.options.autoPlay!==!1&&e.clearInterval(n.autoPlayInterval),e.clearTimeout(o),o=e.setTimeout(function(){i=t(e).width(),n.updateVars()},n.options.responsiveRefreshRate))},void t(e).resize(n.resizer))},updatePosition:function(){var t=this;t.jumpTo(t.currentItem),t.options.autoPlay!==!1&&t.checkAp()},appendItemsSizes:function(){var e=this,o=0,i=e.itemsAmount-e.options.items;e.$owlItems.each(function(n){var s=t(this);s.css({width:e.itemWidth}).data("owl-item",Number(n)),(n%e.options.items===0||n===i)&&(n>i||(o+=1)),s.data("owl-roundPages",o)})},appendWrapperSizes:function(){var t=this,e=t.$owlItems.length*t.itemWidth;t.$owlWrapper.css({width:e,left:0}),t.appendItemsSizes()},calculateAll:function(){var t=this;t.calculateWidth(),t.appendWrapperSizes(),t.loops(),t.max()},calculateWidth:function(){var t=this;t.itemWidth=Math.round(t.$elem.width()/t.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(t.maximumItem=0,e=0,t.maximumPixels=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var e,o,i,n=this,s=0,a=0;for(n.positionsInArray=[0],n.pagesInArray=[],e=0;e<n.itemsAmount;e+=1)a+=n.itemWidth,n.positionsInArray.push(-a),n.options.scrollPerPage===!0&&(o=t(n.$owlItems[e]),i=o.data("owl-roundPages"),i!==s&&(n.pagesInArray[s]=n.positionsInArray[e],s=i))},buildControls:function(){var e=this;(e.options.navigation===!0||e.options.pagination===!0)&&(e.owlControls=t('<div class="owl-controls"/>').toggleClass("clickable",!e.browser.isTouch).appendTo(e.$elem)),e.options.pagination===!0&&e.buildPagination(),e.options.navigation===!0&&e.buildButtons()},buildButtons:function(){var e=this,o=t('<div class="owl-buttons"/>');e.owlControls.append(o),e.buttonPrev=t("<div/>",{"class":"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=t("<div/>",{"class":"owl-next",html:e.options.navigationText[1]||""}),o.append(e.buttonPrev).append(e.buttonNext),o.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),o.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(o){o.preventDefault(),t(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=t('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(o){o.preventDefault(),Number(t(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(t(this).data("owl-page")),!0)})},updatePagination:function(){var e,o,i,n,s,a,r=this;if(r.options.pagination===!1)return!1;for(r.paginationWrapper.html(""),e=0,o=r.itemsAmount-r.itemsAmount%r.options.items,n=0;n<r.itemsAmount;n+=1)n%r.options.items===0&&(e+=1,o===n&&(i=r.itemsAmount-r.options.items),s=t("<div/>",{"class":"owl-page"}),a=t("<span></span>",{text:r.options.paginationNumbers===!0?e:"","class":r.options.paginationNumbers===!0?"owl-numbers":""}),s.append(a),s.data("owl-page",o===n?i:n),s.data("owl-roundPages",e),r.paginationWrapper.append(s));r.checkPagination()},checkPagination:function(){var e=this;return e.options.pagination===!1?!1:void e.paginationWrapper.find(".owl-page").each(function(){t(this).data("owl-roundPages")===t(e.$owlItems[e.currentItem]).data("owl-roundPages")&&(e.paginationWrapper.find(".owl-page").removeClass("active"),t(this).addClass("active"))})},checkNavigation:function(){var t=this;return t.options.navigation===!1?!1:void(t.options.rewindNav===!1&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled"))))},updateControls:function(){var t=this;t.updatePagination(),t.checkNavigation(),t.owlControls&&(t.options.items>=t.itemsAmount?t.owlControls.hide():t.owlControls.show())},destroyControls:function(){var t=this;t.owlControls&&t.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem>e.maximumItem+(e.options.scrollPerPage===!0?e.options.items-1:0)){if(e.options.rewindNav!==!0)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(e.options.scrollPerPage===!0&&e.currentItem>0&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=e.options.scrollPerPage===!0?e.options.items:1,e.currentItem<0){if(e.options.rewindNav!==!0)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,o,i){var n,s=this;return s.isTransition?!1:("function"==typeof s.options.beforeMove&&s.options.beforeMove.apply(this,[s.$elem]),t>=s.maximumItem?t=s.maximumItem:0>=t&&(t=0),s.currentItem=s.owl.currentItem=t,s.options.transitionStyle!==!1&&"drag"!==i&&1===s.options.items&&s.browser.support3d===!0?(s.swapSpeed(0),s.browser.support3d===!0?s.transition3d(s.positionsInArray[t]):s.css2slide(s.positionsInArray[t],1),s.afterGo(),s.singleItemTransition(),!1):(n=s.positionsInArray[t],s.browser.support3d===!0?(s.isCss3Finish=!1,o===!0?(s.swapSpeed("paginationSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.paginationSpeed)):"rewind"===o?(s.swapSpeed(s.options.rewindSpeed),e.setTimeout(function(){s.isCss3Finish=!0},s.options.rewindSpeed)):(s.swapSpeed("slideSpeed"),e.setTimeout(function(){s.isCss3Finish=!0},s.options.slideSpeed)),s.transition3d(n)):o===!0?s.css2slide(n,s.options.paginationSpeed):"rewind"===o?s.css2slide(n,s.options.rewindSpeed):s.css2slide(n,s.options.slideSpeed),void s.afterGo()))},jumpTo:function(t){var e=this;"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:0>=t&&(t=0),e.swapSpeed(0),e.browser.support3d===!0?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),t.options.autoPlay!==!1&&t.checkAp()),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){var t=this;t.apStatus="stop",e.clearInterval(t.autoPlayInterval)},checkAp:function(){var t=this;"stop"!==t.apStatus&&t.play()},play:function(){var t=this;return t.apStatus="play",t.options.autoPlay===!1?!1:(e.clearInterval(t.autoPlayInterval),void(t.autoPlayInterval=e.setInterval(function(){t.next(!0)},t.options.autoPlay)))},swapSpeed:function(t){var e=this;"slideSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.slideSpeed)):"paginationSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.paginationSpeed)):"string"!=typeof t&&e.$owlWrapper.css(e.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){var e=this;e.$owlWrapper.css(e.doTranslate(t))},css2move:function(t){var e=this;e.$owlWrapper.css({left:t})},css2slide:function(t,e){var o=this;o.isCssFinish=!1,o.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||o.options.slideSpeed,complete:function(){o.isCssFinish=!0}})},checkBrowser:function(){var t,i,n,s,a=this,r="translate3d(0px, 0px, 0px)",l=o.createElement("div");l.style.cssText=" -moz-transform:"+r+"; -ms-transform:"+r+"; -o-transform:"+r+"; -webkit-transform:"+r+"; transform:"+r,t=/translate3d\(0px, 0px, 0px\)/g,i=l.style.cssText.match(t),n=null!==i&&1===i.length,s="ontouchstart"in e||e.navigator.msMaxTouchPoints,a.browser={support3d:n,isTouch:s}},moveEvents:function(){var t=this;(t.options.mouseDrag!==!1||t.options.touchDrag!==!1)&&(t.gestures(),t.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},t.options.mouseDrag===!0&&t.options.touchDrag===!0?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:t.options.mouseDrag===!1&&t.options.touchDrag===!0?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:t.options.mouseDrag===!0&&t.options.touchDrag===!1&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){var e=this;e.$elem.on("dragstart.owl",function(t){t.preventDefault()}),e.$elem.on("mousedown.disableTextSelect",function(e){return t(e.target).is("input, textarea, select, option")})},gestures:function(){function i(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function n(e){"on"===e?(t(o).on(l.ev_types.move,a),t(o).on(l.ev_types.end,r)):"off"===e&&(t(o).off(l.ev_types.move),t(o).off(l.ev_types.end))}function s(o){var s,a=o.originalEvent||o||e.event;if(3===a.which)return!1;if(!(l.itemsAmount<=l.options.items)){if(l.isCssFinish===!1&&!l.options.dragBeforeAnimFinish)return!1;if(l.isCss3Finish===!1&&!l.options.dragBeforeAnimFinish)return!1;l.options.autoPlay!==!1&&e.clearInterval(l.autoPlayInterval),l.browser.isTouch===!0||l.$owlWrapper.hasClass("grabbing")||l.$owlWrapper.addClass("grabbing"),l.newPosX=0,l.newRelativeX=0,t(this).css(l.removeTransition()),s=t(this).position(),p.relativePos=s.left,p.offsetX=i(a).x-s.left,p.offsetY=i(a).y-s.top,n("on"),p.sliding=!1,p.targetElement=a.target||a.srcElement}}function a(n){var s,a,r=n.originalEvent||n||e.event;l.newPosX=i(r).x-p.offsetX,l.newPosY=i(r).y-p.offsetY,l.newRelativeX=l.newPosX-p.relativePos,"function"==typeof l.options.startDragging&&p.dragging!==!0&&0!==l.newRelativeX&&(p.dragging=!0,l.options.startDragging.apply(l,[l.$elem])),(l.newRelativeX>8||l.newRelativeX<-8)&&l.browser.isTouch===!0&&(void 0!==r.preventDefault?r.preventDefault():r.returnValue=!1,p.sliding=!0),(l.newPosY>10||l.newPosY<-10)&&p.sliding===!1&&t(o).off("touchmove.owl"),s=function(){return l.newRelativeX/5},a=function(){return l.maximumPixels+l.newRelativeX/5},l.newPosX=Math.max(Math.min(l.newPosX,s()),a()),l.browser.support3d===!0?l.transition3d(l.newPosX):l.css2move(l.newPosX)}function r(o){var i,s,a,r=o.originalEvent||o||e.event;r.target=r.target||r.srcElement,p.dragging=!1,l.browser.isTouch!==!0&&l.$owlWrapper.removeClass("grabbing"),l.dragDirection=l.owl.dragDirection=l.newRelativeX<0?"left":"right",0!==l.newRelativeX&&(i=l.getNewPosition(),l.goTo(i,!1,"drag"),p.targetElement===r.target&&l.browser.isTouch!==!0&&(t(r.target).on("click.disable",function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t(e.target).off("click.disable")}),s=t._data(r.target,"events").click,a=s.pop(),s.splice(0,0,a))),n("off")}var l=this,p={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};l.isCssFinish=!0,l.$elem.on(l.ev_types.start,".owl-wrapper",s)},getNewPosition:function(){var t=this,e=t.closestItem();return e>t.maximumItem?(t.currentItem=t.maximumItem,e=t.maximumItem):t.newPosX>=0&&(e=0,t.currentItem=0),e},closestItem:function(){var e=this,o=e.options.scrollPerPage===!0?e.pagesInArray:e.positionsInArray,i=e.newPosX,n=null;return t.each(o,function(s,a){i-e.itemWidth/20>o[s+1]&&i-e.itemWidth/20<a&&"left"===e.moveDirection()?(n=a,e.currentItem=e.options.scrollPerPage===!0?t.inArray(n,e.positionsInArray):s):i+e.itemWidth/20<a&&i+e.itemWidth/20>(o[s+1]||o[s]-e.itemWidth)&&"right"===e.moveDirection()&&(e.options.scrollPerPage===!0?(n=o[s+1]||o[o.length-1],e.currentItem=t.inArray(n,e.positionsInArray)):(n=o[s+1],e.currentItem=s+1))}),e.currentItem},moveDirection:function(){var t,e=this;return e.newRelativeX<0?(t="right",e.playDirection="next"):(t="left",e.playDirection="prev"),t},customEvents:function(){var t=this;t.$elem.on("owl.next",function(){t.next()}),t.$elem.on("owl.prev",function(){t.prev()}),t.$elem.on("owl.play",function(e,o){t.options.autoPlay=o,t.play(),t.hoverStatus="play"}),t.$elem.on("owl.stop",function(){t.stop(),t.hoverStatus="stop"}),t.$elem.on("owl.goTo",function(e,o){t.goTo(o)}),t.$elem.on("owl.jumpTo",function(e,o){t.jumpTo(o)})},stopOnHover:function(){var t=this;t.options.stopOnHover===!0&&t.browser.isTouch!==!0&&t.options.autoPlay!==!1&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var e,o,i,n,s,a=this;if(a.options.lazyLoad===!1)return!1;for(e=0;e<a.itemsAmount;e+=1)o=t(a.$owlItems[e]),"loaded"!==o.data("owl-loaded")&&(i=o.data("owl-item"),n=o.find(".lazyOwl"),"string"==typeof n.data("src")?(void 0===o.data("owl-loaded")&&(n.hide(),o.addClass("loading").data("owl-loaded","checked")),s=a.options.lazyFollow===!0?i>=a.currentItem:!0,s&&i<a.currentItem+a.options.items&&n.length&&a.lazyPreload(o,n)):o.data("owl-loaded","loaded"))},lazyPreload:function(t,o){function i(){t.data("owl-loaded","loaded").removeClass("loading"),o.removeAttr("data-src"),"fade"===a.options.lazyEffect?o.fadeIn(400):o.show(),"function"==typeof a.options.afterLazyLoad&&a.options.afterLazyLoad.apply(this,[a.$elem])}function n(){r+=1,a.completeImg(o.get(0))||s===!0?i():100>=r?e.setTimeout(n,100):i()}var s,a=this,r=0;"DIV"===o.prop("tagName")?(o.css("background-image","url("+o.data("src")+")"),s=!0):o[0].src=o.data("src"),n()},autoHeight:function(){function o(){var o=t(s.$owlItems[s.currentItem]).height();s.wrapperOuter.css("height",o+"px"),s.wrapperOuter.hasClass("autoHeight")||e.setTimeout(function(){s.wrapperOuter.addClass("autoHeight")},0)}function i(){n+=1,s.completeImg(a.get(0))?o():100>=n?e.setTimeout(i,100):s.wrapperOuter.css("height","")}var n,s=this,a=t(s.$owlItems[s.currentItem]).find("img");void 0!==a.get(0)?(n=0,i()):o()},completeImg:function(t){var e;return t.complete?(e=typeof t.naturalWidth,"undefined"!==e&&0===t.naturalWidth?!1:!0):!1},onVisibleItems:function(){var e,o=this;for(o.options.addClassActive===!0&&o.$owlItems.removeClass("active"),o.visibleItems=[],e=o.currentItem;e<o.currentItem+o.options.items;e+=1)o.visibleItems.push(e),o.options.addClassActive===!0&&t(o.$owlItems[e]).addClass("active");o.owl.visibleItems=o.visibleItems},transitionTypes:function(t){var e=this;e.outClass="owl-"+t+"-out",e.inClass="owl-"+t+"-in"},singleItemTransition:function(){function t(t){return{position:"relative",left:t+"px"}}var e=this,o=e.outClass,i=e.inClass,n=e.$owlItems.eq(e.currentItem),s=e.$owlItems.eq(e.prevItem),a=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],r=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=!0,e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":r+"px","-moz-perspective-origin":r+"px","perspective-origin":r+"px"}),s.css(t(a,10)).addClass(o).on(l,function(){e.endPrev=!0,s.off(l),e.clearTransStyle(s,o)}),n.addClass(i).on(l,function(){e.endCurrent=!0,n.off(l),e.clearTransStyle(n,i)})},clearTransStyle:function(t,e){var o=this;t.css({position:"",left:""}).removeClass(e),o.endPrev&&o.endCurrent&&(o.$owlWrapper.removeClass("owl-origin"),o.endPrev=!1,o.endCurrent=!1,o.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){var i=this;i.$elem.off(".owl owl mousedown.disableTextSelect"),t(o).off(".owl owl"),t(e).off("resize",i.resizer)},unWrap:function(){var t=this;0!==t.$elem.children().length&&(t.$owlWrapper.unwrap(),t.$userItems.unwrap().unwrap(),t.owlControls&&t.owlControls.remove()),t.clearEvents(),t.$elem.attr("style",t.$elem.data("owl-originalStyles")||"").attr("class",t.$elem.data("owl-originalClasses"))},destroy:function(){var t=this;t.stop(),e.clearInterval(t.checkVisible),t.unWrap(),t.$elem.removeData()},reinit:function(e){var o=this,i=t.extend({},o.userOptions,e);o.unWrap(),o.init(i,o.$elem)},addItem:function(t,e){var o,i=this;return t?0===i.$elem.children().length?(i.$elem.append(t),i.setVars(),!1):(i.unWrap(),o=void 0===e||-1===e?-1:e,o>=i.$userItems.length||-1===o?i.$userItems.eq(-1).after(t):i.$userItems.eq(o).before(t),void i.setVars()):!1},removeItem:function(t){var e,o=this;return 0===o.$elem.children().length?!1:(e=void 0===t||-1===t?-1:t,o.unWrap(),o.$userItems.eq(e).remove(),void o.setVars())}};t.fn.owlCarousel=function(e){return this.each(function(){if(t(this).data("owl-init")===!0)return!1;t(this).data("owl-init",!0);var o=Object.create(i);o.init(e,this),t.data(this,"owlCarousel",o)})},t.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);',
'modified' => '2016-11-10 14:47:39'
),
(int) 3 => array(
'id' => (int) 5,
'name' => 'jquery.panelslider.min',
'data' => '/*
* jQuery Panel Slider plugin v0.1.1
* https://github.com/eduardomb/jquery-panelslider
*/
(function($) {
'use strict';
var $body = $('body'),
_sliding = false;
function _slideIn(panel, options) {
var panelWidth = panel.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(panel.is(':visible') || _sliding) {
return;
}
_sliding = true;
$body.addClass('ps-active');
panel.addClass('ps-active-panel').css({
position: 'fixed',
top: 0,
height: '100%',
'z-index': 999999
});
panel.data(options);
switch (options.side) {
case 'left':
panel.css({
left: '-' + panelWidth + 'px',
right: 'auto'
});
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.left = '+=' + panelWidth;
break;
case 'right':
panel.css({
left: 'auto',
right: '-' + panelWidth + 'px'
});
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.right = '+=' + panelWidth;
break;
}
$body.animate(bodyAnimation, options.duration);
panel.show().animate(panelAnimation, options.duration, function() {
_sliding = false;
if(typeof options.onOpen == 'function') {
options.onOpen();
}
});
}
$.panelslider = function(element, options) {
var active = $('.ps-active-panel');
var defaults = {
side: 'left', // panel side: left or right
duration: 200, // Transition duration in miliseconds
clickClose: true, // If true closes panel when clicking outside it
onOpen: null // When supplied, function is called after the panel opens
};
options = $.extend({}, defaults, options);
// If another panel is opened, close it before opening the new one
if(active.is(':visible') && active[0] != element[0]) {
$.panelslider.close(function() {
_slideIn(element, options);
});
} else if(!active.length || active.is(':hidden')) {
_slideIn(element, options);
}
};
$.panelslider.close = function(callback) {
var active = $('.ps-active-panel'),
duration = active.data('duration'),
panelWidth = active.outerWidth(true),
bodyAnimation = {},
panelAnimation = {};
if(!active.length || active.is(':hidden') || _sliding) {
return;
}
_sliding = true;
switch(active.data('side')) {
case 'left':
bodyAnimation['margin-left'] = '-=' + panelWidth;
panelAnimation.left = '-=' + panelWidth;
break;
case 'right':
bodyAnimation['margin-left'] = '+=' + panelWidth;
panelAnimation.right = '-=' + panelWidth;
break;
}
active.animate(panelAnimation, duration);
$body.animate(bodyAnimation, duration, function() {
active.hide();
active.removeClass('ps-active-panel');
_sliding = false;
if(callback) {
callback();
}
}).removeClass('ps-active');
};
// Bind click outside panel and ESC key to close panel if clickClose is true
$(document).bind('click keyup', function(e) {
var active = $('.ps-active-panel');
if(e.type == 'keyup' && e.keyCode != 27) {
return;
}
if(active.is(':visible') && active.data('clickClose')) {
$.panelslider.close();
}
});
// Prevent click on panel to close it
$(document).on('click', '.ps-active-panel', function(e) {
e.stopPropagation();
});
$.fn.panelslider = function(options) {
this.click(function(e) {
var active = $('.ps-active-panel'),
panel = $(this.getAttribute('href'));
// Close panel if it is already opened otherwise open it
if (active.is(':visible') && panel[0] == active[0]) {
$.panelslider.close();
} else {
$.panelslider(panel, options);
}
e.preventDefault();
e.stopPropagation();
});
return this;
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 4 => array(
'id' => (int) 4,
'name' => 'intlxform',
'data' => '
if($('body').hasClass('locale-sr')) {
var checkingData = 'Provera podataka';
} else {
var checkingData = 'Checking data';
}
(function($){
// Create some defaults, extending them with any options that were provided
$.fn.intlxform = function(options) {
var _top = $(this);
var settings = {
'type': 'post',
'action' : '',
'showResponse' : true,
'loadingMessage' : checkingData,
'wrapElem' : '',
'clearForm': true,
'fieldRemark' : true,
'hideForm' : false,
'onSuccess' : null,
'onFailure' : null,
'onError' : null,
'onFinish' : null,
'headers': {
'Accept' : 'application/json; charset=utf-8'
}
};
settings = $.extend(settings, options);
return this.each(function() {
if(settings.type.length == 0) {
if($(this).attr('method') != undefined) {
settings.type = $(this).attr('method');
}
}
if(settings.action.length == 0) {
if($(this).attr('action') != undefined) {
settings.action = $(this).attr('action');
}
}
$(this).submit(function(event){
event.preventDefault();
// Abort any pending request
if (request) {
request.abort();
}
// Setup some local variables
var $form = $(this);
// Cache all fields
var $inputs = $form.find("input, select, button, textarea");
// Serialize the data in the form
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined') {
if($(this).attr('data-defaultValue') == $(this).val()) {
$(this).val('');
}
}
});
var serializedData = $form.serialize();
$inputs.each(function() {
if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() =='') {
$(this).val($(this).attr('data-defaultValue'));
}
});
// Disable the inputs for the duration of the ajax request
$inputs.prop("disabled", true);
$form.find(".form-message").text(settings.loadingMessage);
// Fire off the request
var request = $.ajax({
url: settings.action,
type: settings.type,
headers: settings.headers,
data: serializedData
});
// Callback handler that will be called on success
request.done(function (response, textStatus, jqXHR){
parseFormResponse(response, $form);
});
// callback handler that will be called on failure
request.fail(function (jqXHR, textStatus, errorThrown){
if(typeof settings.onFailure == 'function') {
settings.onFailure.call();
} else {
console.error(
"The following error occured: "+
textStatus, errorThrown
);
}
});
// callback handler that will be called regardless
// if the request failed or succeeded
request.always(function () {
// reenable the inputs
$inputs.prop("disabled", false);
});
// prevent default posting of form
event.preventDefault();
});
})
function parseFormResponse(response, form) {
form.find(".form-message").text('');
form.find(".validation-error").removeClass('validation-error');
form.find(".validation-error-message").remove();
// Make sure we have a JSON response
if(typeof response == "string") {
try {
response = JSON.parse(response);
} catch(e) {
return false;
}
}
// On error occured
if(!response.response) {
for(var fieldName in response.errors) {
var message = response.errors[fieldName];
var parent = form.find("[name='data[" + fieldName + "]']").last().parent();
parent.addClass('validation-error');
if(settings.fieldRemark == true) {
parent.append('<div class="validation-error-message">' + message + '</div>');
}
}
// Callback: On error
if(typeof settings.onError == 'function') {
settings.onError(response);
}
// On Success
} else {
// Callback: On success
if(typeof settings.onSuccess == 'function') {
settings.onSuccess(response);
}
// Clear form
if(settings.clearForm) {
form.find("input, select, textarea").not('[type=button], [type=submit], [type=radio], [type=reset], .persistent').val('');
}
}
// Show message, if any
if(response.message != null && response.message != '' && settings.showResponse) {
var messageElement = form.find(".form-message");
messageElement.removeClass('form-message-error').removeClass('form-message-success');
messageElement.addClass(response.response ? 'form-message-success' : 'form-message-error');
messageElement.text(response.message).show();
}
// Callback: On finish
if(typeof settings.onFinish == 'function') {
settings.onFinish(response);
}
}
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
),
(int) 5 => array(
'id' => (int) 3,
'name' => 'jquery.youtubevideogallery',
'data' => '/**
* youtubeVideoGallery plugin for jquery
* Simple video gallery for youtube, for more details see http://plugins.jquery.com/youtubevideogallery
*
* @author clanceyp
* @see http://plugins.jquery.com/youtubevideogallery/
* @version 1.3.0
*
*/
;(function($) {
"use strict";
$.fn.extend({
youtubeVideoGallery:function(options) {
var version = '1.3.0',
isLegacyIE = (/\bMSIE [4|5|6|7]/.test(navigator.userAgent)),
defaults = {
assetFolder : '',
fancybox : {
arrows : false,
closeBtn : true,
closeEffect : 'fade',
helpers : {
media : {},
buttons : {}
},
openEffect : 'fade'
},
forceLegacyIE:false,
iframeTemplate:'<iframe title="Youtube video player" id="youtube-videogallery-iframe" style="height:{options.innerHeight}px;width:{options.innerWidth}px;" frameborder="0" src="about:blank" />',
innerHeight: 450,
innerWidth: 600,
newWindow: '(opens in a new window)',
playButton: '/img/ico_play.png',
plugin:'self',
style:'',
title:'default',
thumbWidth: '100%',
videos:[],
urlImg : 'http://img.youtube.com/vi/$id/0.jpg',
urlEmbed : 'http://www.youtube.com/embed/$id',
urlLink : 'http://www.youtube.com/watch?v=$id'
};
this.test = {};
this.version = version;
function log(message){
if ('console' in window && window.console.log){
window.console.log(message);
}
}
function getVideoLinks($this){
var arr = [],
a = $this.find("a");
a.each(function(i, el){
arr.push({
id: getId( $(el).attr('href') ),
title: $(el).text()
});
});
return arr;
}
function getIdFromEntry(obj){
if (typeof obj === 'string'){
return getId(obj);
} else if (obj.id && typeof obj.id === 'string'){
return obj.id;
} else if (obj.link && obj.link.length ){
for ( var i = 0, l = obj.link.length; i < l ; i++){
if (obj.link[i].type === 'text/html'){
return getId(obj.link[i].href)
}
}
}
log('could not find ID from object, maybe an unsupported API?')
return '';
}
function getId(href){
var id = '';
if (!!href && href.indexOf('www.youtube.com/v/') > 0) {
id = getBefore(href.split('www.youtube.com/v/')[1], '?')
} else if (!!href && href.indexOf('/embed/') > 0){
id = getBefore(href.split('/embed/')[1], '?');
} else if (!!href && href.indexOf('?v=') > 0){// this could be version if API call!!
id = getBefore(href.split('?v=')[1],'&');
} else if (!!href && href.indexOf('video:') > 0){
id = getBefore(href.split('video:')[1], ':');
} else if (!!href){
id = href;
}
return id;
}
function getBefore(str, before){
if (!!str && str.indexOf(before)){
str = str.split(before)[0];
}
return str;
}
function getIframeTemplate(innerWidth, innerHeight){
var str = options.iframeTemplate;
return str.replace('{options.innerHeight}', innerHeight).replace('{options.innerWidth}', innerWidth);
}
function open(e){
var el = e.currentTarget;
e.preventDefault();
$('div.youtube-videogallery-bodycover').css( { 'height':$(document).height()} );
$('div.youtube-videogallery-display').css({
'marginLeft':-options.innerWidth/2,
'marginTop':-options.innerHeight/2
});
$('#youtube-videogallery-iframe').attr( 'src', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) );
$('body').addClass('youtube-videogallery-active');
}
function close(e){
$('#youtube-videogallery-iframe').attr( 'src', 'about:blank');
$('body').removeClass('youtube-videogallery-active');
}
function setButtonMargin(w, h, context){
if (w === 0 || h === 0){
$(context).find("img.youtube-videogallery-play").remove();
return;
}
$(context).find("img.youtube-videogallery-play").css({
'marginLeft':'-23px',
'marginTop':'-33.5px'
});
}
function getStyle(style){
if (!!style){
return "youtube-videogallery-" + style;
}
return '';
}
function getTitleStyle(title){
return title === 'full' ? 'youtube-videogallery-allowtitle' : '';
}
function getVideosFromFeed(data){
var videos = [],
items = (data && data.data && data.data.items) ? data.data.items
: (data && data.feed && data.feed.entry) ? data.feed.entry : [];
$( items ).each(function(i, item){
var id = getIdFromEntry(item);
videos.push({
id: getIdFromEntry(item),
title: item.title.$t || item.title
});
});
return videos;
}
/**
* this.test = object
*
* Test object to expose private methods to a test API.
* This allows us to test private methods, without
* exposing them (e.g. they can't be overwritten)
*
*/
this.test = {
getBefore:getBefore,
getId:getId,
getVideoLinks:getVideoLinks,
getIframeTemplate:getIframeTemplate,
getTitleStyle:getTitleStyle,
getStyle:getStyle,
getVideosFromFeed:getVideosFromFeed,
getIdFromEntry:getIdFromEntry
};
function load($this, options) {
var videos = ( options.videos.length ) ? options.videos : getVideoLinks($this),
html = '',
href, src, titleSpan, video,
playButtonSrc = (!!options.assetFolder) ? options.assetFolder +'/'+ options.playButton : options.playButton ,
img = document.createElement('img');
img.onload = function(){
setButtonMargin(this.width, this.height, $this);
};
img.onerror = function(){
setButtonMargin(0, 0, $this);
};
img.src = playButtonSrc+'?'+ +(new Date());
for (var i = 0, l = videos.length; i < l; i++){
video = videos[i];
if (!video.id){continue;}
href = options.urlLink.replace("$id", video.id);
src = options.urlImg.replace("$id", video.id);
titleSpan = (!!video.title && options.title !== 'none') ? '<span class="youtube-videogallery-title">'+ video.title +'</span>' : '';
html+= '<li class="youtube-videogallery-item"><a title="'+video.title+'" data-youtube-id="'+ video.id +'" href="'+ href +'" class="youtube-videogallery-link"><img class="youtube-videogallery-play" src="'+ playButtonSrc +'" title="play" /><img class="youtube-videogallery-img" src="'+ src +'" />'+ titleSpan +'</a></li>';
}
$this.empty()
.append(html)
.addClass('youtube-videogallery-container')
.addClass( getStyle( options.style ) )
.addClass( getTitleStyle( options.title ) );
if (options.supported && options.plugin === 'colorbox' && $.colorbox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('href', options.urlEmbed.replace("$id", $(el).attr('data-youtube-id') ) )
.attr('aria-controls','youtube-videogallery-iframe')
.colorbox({iframe:true, innerWidth:options.innerWidth, innerHeight:options.innerHeight});
});
} else if (options.supported && options.plugin === 'fancybox' && !!$().fancybox){
$this.find("a.youtube-videogallery-link").each(function(i, el){
$(el)
.attr('rel', 'media-gallery')
.fancybox(options.fancybox);
});
} else if (options.supported && options.plugin === 'self'){
if (!$('div.youtube-videogallery-bodycover').length){
$('body')
.append('<div class="youtube-videogallery-bodycover"/>')
.append('<div class="youtube-videogallery-display">'+ getIframeTemplate(options.innerWidth, options.innerHeight) +'</div>');
$('div.youtube-videogallery-bodycover').on('click',close);
$(document).on('keydown', function(e) {
if (e.which === 27) {
close();
}
});
}
$this.find("a.youtube-videogallery-link").on('click',open);
} else {
$this.find("a.youtube-videogallery-link")
.attr('target','_blank')
.append('<span class="youtube-videogallery-screen-reader-only">'+options.newWindow+'</span>')
.each(function(i, el){
$(el).attr('title', $(el).attr('title')+' '+ options.newWindow);
});
}
return $this;
}
// Set options
options = $.extend(defaults, options);
options.supported = (
/* don't show lightbox if: old untested jquery version, or the lightbox is bigger than the viewport */
!!$().on &&
( $(window).width() > options.innerWidth || $(window).height() > options.innerHeight)
);
options.plugin = (isLegacyIE && !options.forceLegacyIE) ? 'none' : options.plugin;// by default turn off plugins for IE<=7
// it's an API, load promise and return the original object for chaining
if (!!options.apiUrl){
var $this = this,
apiUrl = options.apiUrl,
jqxhr = $.ajax({
url:apiUrl,
dataType:"jsonp",
beforeSend:function(){
if (!options.apiFallbackUrl){
return;
}
$this.each(function(i, el){
$(el).empty()
.append('<li><a /></li>')
.find('a')
.attr('href', options.apiFallbackUrl)
.text(options.apiFallbackUrl);
});
}})
.done(function(data) {
options.videos = getVideosFromFeed(data);
$this.each(function(i, el){
load($(el), options);
});
})
.fail(function(){
log('Error getting youtube API requested by jQuery.youtubeVideoGallery: '+ apiUrl);
});
return $this;
}
return this.each(function(i, el){
load($(el), options);
});
}
});
})(window.jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 6 => array(
'id' => (int) 2,
'name' => 'jquery.bxslider.min',
'data' => '/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);',
'modified' => '2016-11-10 14:47:39'
),
(int) 7 => array(
'id' => (int) 1,
'name' => 'jquery.kwicks',
'data' => '/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.1
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
/**
* API methods for the plugin
*/
var methods = {
init: function(opts) {
var defaults = {
// general options:
maxSize: -1,
minSize: -1,
spacing: 5,
duration: 500,
isVertical: false,
easing: undefined,
autoResize: true,
behavior: null,
// menu behavior options:
delayMouseIn: 0,
delayMouseOut: 0,
selectOnClick: true,
deselectOnClick: false,
// slideshow behavior options:
interval: 2500,
interactive: true
};
var o = $.extend(defaults, opts);
// validate and normalize options
if (o.minSize !== -1 && o.maxSize !== -1)
throw new Error('Kwicks options minSize and maxSize may not both be set');
if (o.behavior && o.behavior !== 'menu' && o.behavior !== 'slideshow')
throw new Error('Unrecognized Kwicks behavior specified: ' + o.behavior);
$.each(['minSize', 'maxSize', 'spacing'], function(i, prop) {
var val = o[prop];
switch (typeof val) {
case 'number':
o[prop + 'Units'] = 'px';
break;
case 'string':
if (val.slice(-1) === '%') {
o[prop + 'Units'] = '%';
o[prop] = +val.slice(0, -1) / 100;
} else if (val.slice(-2) === 'px') {
o[prop + 'Units'] = 'px';
o[prop] = +val.slice(0, -2);
} else {
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
break;
default:
throw new Error('Invalid value for Kwicks option ' + prop + ': ' + val);
}
});
return this.each(function() {
$(this).data('kwicks', new Kwick(this, o));
});
},
expand: function(index, opts) {
if (typeof index === 'object') {
opts = index;
index = undefined;
}
var delay = opts && opts.delay || 0;
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
var expand = function() {
// bail out if the panel is already expanded
if (index === kwick.expandedIndex) return;
var $panels = kwick.$panels,
expanded = $panels[index] || null;
kwick.$container.trigger('expand.kwicks', {
index: index,
expanded: expanded,
collapsed: $panels.not(expanded).get(),
oldIndex: kwick.expandedIndex,
oldExpanded: kwick.getExpandedPanel(),
isAnimated: kwick.isAnimated
});
};
var timeoutId = kwick.$container.data('kwicks-timeout-id');
if (timeoutId) {
kwick.$container.removeData('kwicks-timeout-id');
clearTimeout(timeoutId);
}
if (delay > 0) {
kwick.$container.data('kwicks-timeout-id', setTimeout(expand, delay));
} else {
expand();
}
});
},
expanded: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.expandedIndex;
},
select: function(index) {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
// assume this is the container
if (kwick) {
index = typeof index === 'number' ? index : -1;
}
// otherwise, assume we have a panel
else if (kwick = $this.parent().data('kwicks')) {
index = $this.index();
} else {
return;
}
// don't trigger event if its already selected
if (index !== kwick.selectedIndex) {
var $panels = kwick.$panels,
selected = $panels[index] || null;
kwick.$container.trigger('select.kwicks', {
index: index,
selected: selected,
unselected: $panels.not(selected).get(),
oldIndex: kwick.selectedIndex,
oldSelected: kwick.getSelectedPanel()
});
}
// call expand
kwick.$container.kwicks('expand', index);
});
},
selected: function() {
var kwick = this.first().data('kwicks');
if (!kwick) return;
return kwick.selectedIndex;
},
resize: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.resize();
});
},
destroy: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.destroy();
});
}
};
/**
* Expose the actual plugin
*/
$.fn.kwicks = function(opts) {
if (methods[opts]) {
return methods[opts].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof opts === 'object' || !opts) {
return methods.init.apply(this, arguments);
} else {
throw new Error('Unrecognized kwicks method: ' + opts);
}
};
/**
* Special event for triggering default behavior on 'expand.kwicks' events
*/
$.event.special.expand = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.expand(data.index);
}
};
/**
* Special event for triggering default behavior on 'select.kwicks' events
*/
$.event.special.select = {
_default: function(e, data) {
if (e.namespace !== 'kwicks') return;
var kwick = $(e.target).data('kwicks');
if (kwick) kwick.select(data.index);
}
};
/**
* Instantiates a new Kwick instance using the provided container and options.
*/
var Kwick = function Kwick(container, opts) {
var self = this;
this.opts = opts;
// an array of callbacks to invoke if 'destroy' is invoked
this.onDestroyHandlers = [];
// references to our DOM elements
var orientation = opts.isVertical ? 'vertical' : 'horizontal';
this.$container = $(container);
this.$panels = this.$container.children();
// semi-smart add/remove around container classes so that we don't bork
// the styling if/when destroy is called
var containerClasses = ['kwicks', 'kwicks-' + orientation];
$.each(containerClasses, function(className) {
if (self.$container.hasClass(className)) return;
self.$container.addClass(className);
self.onDestroy(function() {
self.$container.removeClass(className);
});
});
// zero-based, -1 for "none"
this.selectedIndex = this.$panels.filter('.kwicks-selected').index();
this.expandedIndex = this.selectedIndex;
// each instance has a primary and a secondary dimension (primary is the animated dimension)
this.primaryDimension = opts.isVertical ? 'height' : 'width';
this.secondaryDimension = opts.isVertical ? 'width' : 'height';
// initialize panel sizes
this.calculatePanelSizes();
// likewise, we have primary and secondary alignments (all panels but the last use primary,
// which uses the secondary alignment). this is to allow the first and last panels to have
// fixed offsets. this reduces jittering, which is much more noticeable on the last item.
this.primaryAlignment = opts.isVertical ? 'top' : 'left';
this.secondaryAlignment = opts.isVertical ? 'bottom' : 'right';
// object for creating a "master" animation loop for all panel animations
this.$timer = $({ progress: 0 });
// keeps track of whether or not an animation is in progress
this.isAnimated = false;
// the current offsets for each panel
this.offsets = this.getOffsetsForExpanded();
this.updatePanelStyles();
this.initBehavior();
this.initWindowResizeHandler();
// somewhat of a blind stab at handling rare/sporadic failures to initialize styles.
// https://github.com/jmar777/kwicks/issues/31
setTimeout(function() {
self.updatePanelStyles();
}, 100);
};
/**
* Calculates size, minSize, maxSize, and spacing based on the current size of the container and
* the user-provided options. The results will be stored on this.panelSize, this.panelMinSize,
* this.panelMaxSize, and this.panelSpacing. This should be run on initialization and whenever
* the container's primary dimension may have changed in size.
*/
Kwick.prototype.calculatePanelSizes = function() {
var opts = this.opts,
containerSize = this.getContainerSize(true);
// calculate spacing first
if (opts.spacingUnits === '%') {
this.panelSpacing = containerSize * opts.spacing;
} else {
this.panelSpacing = opts.spacing;
}
var numPanels = this.$panels.length,
sumSpacing = this.panelSpacing * (numPanels - 1),
sumPanelSize = containerSize - sumSpacing;
this.panelSize = sumPanelSize / numPanels;
if (opts.minSize === -1) {
if (opts.maxSize === -1) {
// if neither minSize or maxSize or set, then we try to pick a sensible default
if (numPanels < 5) {
this.panelMaxSize = containerSize / 3 * 2;
} else {
this.panelMaxSize = containerSize / 3;
}
} else if (opts.maxSizeUnits === '%') {
this.panelMaxSize = sumPanelSize * opts.maxSize;
} else {
this.panelMaxSize = opts.maxSize;
}
// at this point we know that this.panelMaxSize is set
this.panelMinSize = (sumPanelSize - this.panelMaxSize) / (numPanels - 1);
} else if (opts.maxSize === -1) {
// at this point we know that opts.minSize is set
if (opts.minSizeUnits === '%') {
this.panelMinSize = sumPanelSize * opts.minSize;
} else {
this.panelMinSize = opts.minSize;
}
// at this point we know that this.panelMinSize is set
this.panelMaxSize = sumPanelSize - (this.panelMinSize * (numPanels - 1));
}
};
/**
* Returns the calculated panel offsets based on the currently expanded panel.
*/
Kwick.prototype.getOffsetsForExpanded = function() {
// todo: cache the offset values
var expandedIndex = this.expandedIndex,
numPanels = this.$panels.length,
spacing = this.panelSpacing,
size = this.panelSize,
minSize = this.panelMinSize,
maxSize = this.panelMaxSize;
//first panel is always offset by 0
var offsets = [0];
for (var i = 1; i < numPanels; i++) {
// no panel is expanded
if (expandedIndex === -1) {
offsets[i] = i * (size + spacing);
}
// this panel is before or is the expanded panel
else if (i <= expandedIndex) {
offsets[i] = i * (minSize + spacing);
}
// this panel is after the expanded panel
else {
offsets[i] = maxSize + (minSize * (i - 1)) + (i * spacing);
}
}
return offsets;
};
/**
* Sets the style attribute on the specified element using the provided value. This probably
* doesn't belong on Kwick.prototype, but here it is...
*/
Kwick.prototype.setStyle = (function() {
if ($.support.style) {
return function(el, style) { el.setAttribute('style', style); };
} else {
return function (el, style) { el.style.cssText = style; };
}
})();
/**
* Updates the offset and size styling of each panel based on the current values in
* `this.offsets`. Also does some special handling to convert panels to absolute positioning
* the first time this is invoked.
*/
Kwick.prototype.updatePanelStyles = function() {
var offsets = this.offsets,
$panels = this.$panels,
pDim = this.primaryDimension,
pAlign = this.primaryAlignment,
sAlign = this.secondaryAlignment,
spacing = this.panelSpacing,
containerSize = this.getContainerSize();
// the kwicks-processed class ensures that panels are absolutely positioned, but on our
// first pass we need to set offsets, width|length, and positioning atomically to prevent
// mid-update repaints
var stylePrefix = !!this._stylesInited ? '' : 'position:absolute;',
offset, size, prevOffset, style;
// loop through remaining panels
for (var i = $panels.length; i--;) {
prevOffset = offset;
// todo: maybe we do one last pass at the end and round offsets, rather than on every
// update
offset = Math.round(offsets[i]);
if (i === $panels.length - 1) {
size = containerSize - offset;
style = sAlign + ':0;' + pDim + ':' + size + 'px;';
} else {
size = prevOffset - offset - spacing;
style = pAlign + ':' + offset + 'px;' + pDim + ':' + size + 'px;';
}
this.setStyle($panels[i], stylePrefix + style);
}
if (!this._stylesInited) {
this.$container.addClass('kwicks-processed');
this._stylesInited = true;
}
};
/**
* Assuming for a moment that out-of-the-box behaviors aren't a horrible idea, this method
* encapsulates the initialization logic thereof.
*/
Kwick.prototype.initBehavior = function() {
if (!this.opts.behavior) return;
switch (this.opts.behavior) {
case 'menu':
this.initMenuBehavior();
break;
case 'slideshow':
this.initSlideshowBehavior();
break;
default:
throw new Error('Unrecognized behavior option: ' + this.opts.behavior);
}
};
/**
* Initializes the menu behavior.
*/
Kwick.prototype.initMenuBehavior = function() {
var self = this,
opts = self.opts;
this.addEventHandler(this.$container, 'mouseleave', function() {
self.$container.kwicks('expand', -1, { delay: opts.delayMouseOut });
});
this.addEventHandler(this.$panels, 'mouseenter', function() {
$(this).kwicks('expand', { delay: opts.delayMouseIn });
});
if (!opts.selectOnClick && !opts.deselectOnClick) return;
this.addEventHandler(this.$panels, 'click', function() {
var $this = $(this),
isSelected = $this.hasClass('kwicks-selected');
if (isSelected && opts.deselectOnClick) {
$this.parent().kwicks('select', -1);
} else if (!isSelected && opts.selectOnClick) {
$this.kwicks('select');
}
});
};
/**
* Initializes the slideshow behavior.
*/
Kwick.prototype.initSlideshowBehavior = function() {
var self = this,
numSlides = this.$panels.length,
curSlide = 0,
// flag to handle weird corner cases
running = false,
intervalId;
var start = function() {
if (running) return;
intervalId = setInterval(function() {
self.$container.kwicks('expand', ++curSlide % numSlides);
}, self.opts.interval);
running = true;
};
var pause = function() {
clearInterval(intervalId);
running = false;
};
start();
this.onDestroy(pause);
if (!this.opts.interactive) return;
this.addEventHandler(this.$container, 'mouseenter', pause);
this.addEventHandler(this.$container, 'mouseleave', start);
this.addEventHandler(this.$panels, 'mouseenter', function() {
curSlide = $(this).kwicks('expand').index();
});
};
/**
* Sets up a throttled window resize handler that triggers resize logic for the panels
* todo: hideous code, needs refactor for the eye bleeds
*/
Kwick.prototype.initWindowResizeHandler = function() {
if (!this.opts.autoResize) return;
var self = this,
prevTime = 0,
execScheduled = false,
$window = $(window);
var onResize = function(e) {
// if there's no event, then this is a scheduled from our setTimeout
if (!e) { execScheduled = false; }
// if we've already run in the last 20ms, then delay execution
var now = +new Date();
if (now - prevTime < 20) {
// if we already scheduled a run, don't do it again
if (execScheduled) return;
setTimeout(onResize, 20 - (now - prevTime));
execScheduled = true;
return;
}
// throttle rate is satisfied, go ahead and run
prevTime = now;
self.resize();
};
this.addEventHandler($window, 'resize', onResize);
};
/**
* Returns the size in pixels of the container's primary dimension. This value is cached as it
* is used repeatedly during animation loops, but the cache can be cleared by passing `true`.
* todo: benchmark to see if this caching business is even at all necessary.
*/
Kwick.prototype.getContainerSize = function(clearCache) {
var containerSize = this._containerSize;
if (clearCache || !containerSize) {
containerSize = this._containerSize = this.$container[this.primaryDimension]();
}
return containerSize;
};
/**
* Gets a reference to the currently expanded panel (if there is one)
*/
Kwick.prototype.getExpandedPanel = function() {
return this.$panels[this.expandedIndex] || null;
};
/**
* Gets a reference to the currently collapsed panels
*/
Kwick.prototype.getCollapsedPanels = function() {
if (this.expandedIndex === -1) return [];
return this.$panels.not(this.getExpandedPanel()).get();
};
/**
* Gets a reference to the currently selected panel (if there is one)
*/
Kwick.prototype.getSelectedPanel = function() {
return this.$panels[this.selectedIndex] || null;
};
/**
* Gets a reference to the currently unselected panels
*/
Kwick.prototype.getUnselectedPanels = function() {
return this.$panels.not(this.getSelectedPanel()).get();
};
/**
* Registers a handler to be invoked if/when 'destroy' is invoked
*/
Kwick.prototype.onDestroy = function(handler) {
this.onDestroyHandlers.push(handler);
};
/**
* Adds an event handler and automatically registers it to be removed if/when
* the plugin is destroyed.
*/
Kwick.prototype.addEventHandler = function($el, eventName, handler) {
$el.on(eventName, handler);
this.onDestroy(function() {
$el.off(eventName, handler);
});
};
/**
* "Destroys" this Kwicks instance plugin by performing the following:
* 1) Stops any currently running animations
* 2) Invokes all destroy handlers
* 3) Clears out all style attributes on panels
* 4) Removes all kwicks class names from panels and container
* 5) Removes the 'kwicks' data value from the container
*/
Kwick.prototype.destroy = function() {
this.$timer.stop();
for (var i = 0, len = this.onDestroyHandlers.length; i < len; i++) {
this.onDestroyHandlers[i]();
}
this.$panels
.attr('style', '')
.removeClass('kwicks-expanded kwicks-selected kwicks-collapsed');
this.$container
// note: kwicks and kwicks-<orientation> classes have extra smarts around them
// back in the constructor
.removeClass('kwicks-processed')
.removeData('kwicks');
};
/**
* Forces the panels to be updated in response to the container being resized.
*/
Kwick.prototype.resize = function() {
// bail out if container size hasn't changed
if (this.getContainerSize() === this.getContainerSize(true)) return;
this.calculatePanelSizes();
this.offsets = this.getOffsetsForExpanded();
// if the panels are currently being animated, we'll just set a flag that can be detected
// during the next animation step
if (this.isAnimated) {
this._dirtyOffsets = true;
} else {
// otherwise update the styles immediately
this.updatePanelStyles();
}
};
/**
* Selects the panel with the specified index (use -1 to select none)
*/
Kwick.prototype.select = function(index) {
// make sure the panel isn't already selected
if (index === this.selectedIndex) return;
$(this.getSelectedPanel()).removeClass('kwicks-selected');
this.selectedIndex = index;
$(this.getSelectedPanel()).addClass('kwicks-selected');
};
/**
* Expands the panel with the specified index (use -1 to expand none)
*/
Kwick.prototype.expand = function(index) {
var self = this,
// used for expand-complete event later on
oldIndex = this.expandedIndex,
oldExpanded = this.getExpandedPanel();
// if the index is -1, then default it to the currently selected index (which will also be
// -1 if no panels are currently selected)
if (index === -1) index = this.selectedIndex;
// make sure the panel isn't already expanded
if (index === this.expandedIndex) return;
$(this.getExpandedPanel()).removeClass('kwicks-expanded');
$(this.getCollapsedPanels()).removeClass('kwicks-collapsed');
this.expandedIndex = index;
$(this.getExpandedPanel()).addClass('kwicks-expanded');
$(this.getCollapsedPanels()).addClass('kwicks-collapsed');
// handle panel animation
var $timer = this.$timer,
numPanels = this.$panels.length,
startOffsets = this.offsets.slice(),
offsets = this.offsets,
targetOffsets = this.getOffsetsForExpanded();
$timer.stop()[0].progress = 0;
this.isAnimated = true;
$timer.animate({ progress: 1 }, {
duration: this.opts.duration,
easing: this.opts.easing,
step: function(progress) {
// check if we've resized mid-animation (yes, we're thorough)
if (self._dirtyOffsets) {
offsets = self.offsets;
targetOffsets = self.getOffsetsForExpanded();
self._dirtyOffsets = false;
}
offsets.length = 0;
for (var i = 0; i < numPanels; i++) {
var targetOffset = targetOffsets[i],
newOffset = targetOffset - ((targetOffset - startOffsets[i]) * (1 - progress));
offsets[i] = newOffset;
}
self.updatePanelStyles();
},
complete: function() {
self.isAnimated = false;
self.$container.trigger('expand-complete.kwicks', {
index: index,
expanded: self.getExpandedPanel(),
collapsed: self.getCollapsedPanels(),
oldIndex: oldIndex,
oldExpanded: oldExpanded,
// note: this will always be false but is included to match expand event
isAnimated: false
});
}
});
};
})(jQuery);
',
'modified' => '2016-11-10 14:47:39'
)
)
)
$documentTitle = array(
(int) 0 => 'Valsetin Gold selection II',
(int) 1 => 'My Wall'
)
$moduleName = array(
'Pattern' => array(
'id' => (int) 15,
'cms_product_id' => (int) 65,
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => (int) 22,
'ordering' => (int) 13,
'is_active' => true,
'is_deleted' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-28 16:26:54',
'created_by' => (int) 1,
'created' => '2017-06-19 14:24:46',
'title' => 'Valsetin Gold selection II',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '',
'is_translated' => true,
'slug' => 'valsetin-gold-selection-ii',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
'sr' => 'Valsetin Gold selection II',
'en' => ''
),
'subtitle__' => array(
'sr' => '',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'text__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'valsetin-gold-selection-ii',
'en' => '15'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_keyword__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Product' => array(
'id' => '65',
'cms_renewal_id' => null,
'application' => true,
'promoted' => false,
'catalogue' => 'valsetin',
'meta' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:14:{i:1;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:2;a:1:{s:2:"sr";s:254:"scaron, VALSETIN-om, otporan, VALSETIN, drvo, Povr, periv, bojena, metal, furnir, betonski, zidovi, gips, gladak, naknadno, bojom, bojen, paropropusan, habanje, vodenom, kojom, bojiti, pripremu, bilo, avanje, razne, svetlosnim, odsjajem, izuzetne, lepote";}i:3;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:4;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:12;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:13;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:14;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:17;a:1:{s:2:"sr";s:191:"Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.
VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fl...";}i:18;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:19;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:24;a:2:{s:2:"sr";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";s:2:"en";s:80:"http://mywall.dev.intellex.rs/upload/Product/Image/2016-11/valsetin_252zc164.jpg";}i:27;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:8:"Valsetin";s:2:"en";s:0:"";}}',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'page_id' => '23',
'ordering' => '8',
'is_active' => false,
'is_deleted' => false,
'modified_by' => '1',
'modified' => '2023-02-21 11:39:50',
'created_by' => '1',
'created' => '2016-11-30 11:38:05',
'title' => 'Valsetin',
'subtitle' => '',
'side_menu_subtitle' => '',
'text' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'is_translated' => true,
'slug' => 'valsetin',
'meta_description' => '',
'meta_keyword' => '',
'meta_title' => '',
'title__' => array(
'sr' => 'Valsetin',
'en' => ''
),
'subtitle__' => array(
'sr' => '',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'text__' => array(
'sr' => '<p>Vodena boja za unutrašnju dekoraciju sa posebnim svilenim efektima i svetlosnim odsjajem izuzetne lepote.</p>
<p>VALSETIN je proizvod visokog kvaliteta, prozračan, otporan na pranje i fleke od hrane, kafe i pića.</p>
<p>VALSETIN se može nanositi na razne površine, uz prethodnu pripremu, kao što su betonski zidovi, gips, furnir, metal, drvo i slično.</p>
<p>Površina već bojena VALSETIN-om može se naknadno bojiti bilo kojom vodenom bojom.</p>
<p>Zid bojen VALSETIN-om je paropropusan, otporan na habanje, a lak za održavanje jer je gladak i periv.</p>',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'valsetin',
'en' => '65'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_keyword__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Page' => array(
'id' => '22',
'type' => 'Page',
'parent_id' => '6',
'layout_id' => '1',
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'title_short__sr' => 'Zidne dekorativne tehnike',
'title_short__en' => '',
'alternative_title__sr' => '',
'alternative_title__en' => '',
'side_menu_top_title__sr' => 'Kategorije',
'side_menu_top_title__en' => '',
'page_text__sr' => '',
'page_text__en' => '',
'banner_url__sr' => '',
'banner_url__en' => '',
'content__sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'content__en' => '',
'meta' => 'Generic',
'meta_keywords__sr' => '',
'meta_keywords__en' => '',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => 'a:10:{i:1;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:4;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:12;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:14;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:18;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:19;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:21;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:24;a:2:{s:2:"sr";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";s:2:"en";s:94:"http://mywall.dev.intellex.rs/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg";}i:27;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:25:"Zidne dekorativne tehnike";s:2:"en";s:0:"";}}',
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => '96',
'rght' => '97',
'is_active' => true,
'is_popup' => false,
'modified_by' => '1',
'modified' => '2017-06-21 13:55:37',
'created_by' => '1',
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Zidne dekorativne tehnike',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
),
'slug__' => array(
'sr' => 'zidne-dekorativne-tehnike-',
'en' => '22'
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
)
),
'Image' => array(
'id' => '7138',
'locale' => null,
'association' => 'Image',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => 'valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Image/2017-06/',
'filesize' => '41991',
'mimetype' => 'image/jpeg',
'title' => 'valsetin gold selection ii',
'meta' => array(),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 14:24:46',
'created_by' => '1',
'file' => '/upload/Pattern/Image/2017-06/valsetin_gold_selection_ii.jpg'
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Patterns' => array(
(int) 0 => array(
'id' => '8237',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '37valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '246413',
'mimetype' => 'image/jpeg',
'title' => '37valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '1',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/37valsetin_gold_selection_ii.jpg'
),
(int) 1 => array(
'id' => '8238',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '23valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '248555',
'mimetype' => 'image/jpeg',
'title' => '23valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '2',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/23valsetin_gold_selection_ii.jpg'
),
(int) 2 => array(
'id' => '8239',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '29valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '235181',
'mimetype' => 'image/jpeg',
'title' => '29valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '3',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/29valsetin_gold_selection_ii.jpg'
),
(int) 3 => array(
'id' => '8240',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '33valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '286344',
'mimetype' => 'image/jpeg',
'title' => '33valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '4',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/33valsetin_gold_selection_ii.jpg'
),
(int) 4 => array(
'id' => '8241',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '36valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '259447',
'mimetype' => 'image/jpeg',
'title' => '36valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '5',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/36valsetin_gold_selection_ii.jpg'
),
(int) 5 => array(
'id' => '8242',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '35valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '141024',
'mimetype' => 'image/jpeg',
'title' => '35valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '6',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/35valsetin_gold_selection_ii.jpg'
),
(int) 6 => array(
'id' => '8243',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '34valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '225124',
'mimetype' => 'image/jpeg',
'title' => '34valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '7',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/34valsetin_gold_selection_ii.jpg'
),
(int) 7 => array(
'id' => '8244',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '32valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '209911',
'mimetype' => 'image/jpeg',
'title' => '32valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '8',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/32valsetin_gold_selection_ii.jpg'
),
(int) 8 => array(
'id' => '8245',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '31valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '107445',
'mimetype' => 'image/jpeg',
'title' => '31valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '9',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/31valsetin_gold_selection_ii.jpg'
),
(int) 9 => array(
'id' => '8246',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '30valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '160811',
'mimetype' => 'image/jpeg',
'title' => '30valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '10',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/30valsetin_gold_selection_ii.jpg'
),
(int) 10 => array(
'id' => '8247',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '27valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '175849',
'mimetype' => 'image/jpeg',
'title' => '27valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '11',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/27valsetin_gold_selection_ii.jpg'
),
(int) 11 => array(
'id' => '8248',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '28valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '130156',
'mimetype' => 'image/jpeg',
'title' => '28valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '12',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/28valsetin_gold_selection_ii.jpg'
),
(int) 12 => array(
'id' => '8249',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '24valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '92404',
'mimetype' => 'image/jpeg',
'title' => '24valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '13',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/24valsetin_gold_selection_ii.jpg'
),
(int) 13 => array(
'id' => '8250',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '25valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '191597',
'mimetype' => 'image/jpeg',
'title' => '25valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '14',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/25valsetin_gold_selection_ii.jpg'
),
(int) 14 => array(
'id' => '8251',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '26valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '179793',
'mimetype' => 'image/jpeg',
'title' => '26valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '15',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/26valsetin_gold_selection_ii.jpg'
),
(int) 15 => array(
'id' => '8252',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '40valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '204588',
'mimetype' => 'image/jpeg',
'title' => '40valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '16',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/40valsetin_gold_selection_ii.jpg'
),
(int) 16 => array(
'id' => '8253',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '22valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '96369',
'mimetype' => 'image/jpeg',
'title' => '22valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '17',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/22valsetin_gold_selection_ii.jpg'
),
(int) 17 => array(
'id' => '8254',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '39valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '111949',
'mimetype' => 'image/jpeg',
'title' => '39valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '18',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/39valsetin_gold_selection_ii.jpg'
),
(int) 18 => array(
'id' => '8255',
'locale' => null,
'association' => 'Patterns',
'model' => 'Pattern',
'foreign_key' => '15',
'filename' => '38valsetin_gold_selection_ii.jpg',
'path' => 'upload/Pattern/Patterns/2017-06/',
'filesize' => '205435',
'mimetype' => 'image/jpeg',
'title' => '38valsetin gold selection ii',
'meta' => array([maximum depth reached]),
'ordering' => '19',
'is_deleted' => false,
'modified' => '2017-06-19 17:04:54',
'modified_by' => '1',
'created' => '2017-06-19 17:04:54',
'created_by' => '1',
'file' => '/upload/Pattern/Patterns/2017-06/38valsetin_gold_selection_ii.jpg'
)
),
'Seo' => array(
'metatag' => array()
)
)
$bgPage = array(
'Page' => array(
'id' => (int) 22,
'type' => 'Page',
'parent_id' => (int) 6,
'layout_id' => (int) 1,
'module_id' => null,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => 'Generic',
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'seo_last_mod' => '2017-07-18 17:00:31',
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => true,
'is_visible' => true,
'url' => '',
'url_target' => false,
'lft' => (int) 96,
'rght' => (int) 97,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2017-06-21 13:55:37',
'created_by' => (int) 1,
'created' => '2016-11-09 16:08:19',
'selected' => '0',
'title' => 'Zidne dekorativne tehnike',
'title_short' => 'Zidne dekorativne tehnike',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'zidne-dekorativne-tehnike-',
'content' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Zidne dekorativne tehnike',
'en' => ''
),
'title_short__' => array(
'sr' => 'Zidne dekorativne tehnike',
'en' => ''
),
'alternative_title__' => array(
'sr' => '',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_top_title__' => array(
'sr' => 'Kategorije',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'page_text__' => array(
'sr' => '',
'en' => ''
),
'banner_url__' => array(
'sr' => '',
'en' => ''
),
'slug__' => array(
'sr' => 'zidne-dekorativne-tehnike-',
'en' => '22'
),
'content__' => array(
'sr' => '<?php
$pageModule = !empty($page['Page']['module_connection']) ? $page['Page']['module_connection'] : 'Product';
$items = ClassRegistry::init($pageModule)->find('all', array(
'conditions' => array(
$pageModule . '.page_id' => $page['Page']['id']
)
));
if(count($items) == 1) {
header("location:" . $this->Format->getModulePath($items[0]));
die;
}
if(count($items) == 2 || count($items) == 4) {
$articleClass = '__2-block';
} else {
$articleClass = '__3-block lt__3-block';
}
?>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?php if(!empty($page['BannerImage']['file'])) { ?>
<div class="banner">
<a href="<?= !empty($page['Page']['banner_url']) ? $page['Page']['banner_url'] : 'javascript:void(0)'?>" title="<?= $page['BannerImage']['title'] ?>"><img src="<?= $page['BannerImage']['file'] ?>" alt="<?= $page['BannerImage']['title'] ?>"></a>
</div>
<?php } ?>
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__6 st__6">
<div class="main-content">
<?php if(!empty($page['Page']['page_text'])) { ?>
<div class="cms-richtext remark-rich-text ">
<?= $page['Page']['page_text'] ?>
</div>
<?php } ?>
<div class="article-grid">
<div class="row block-row <?= $articleClass ?>">
<?php foreach($items as $item) { ?>
<article class="column">
<a href="<?= $this->Format->getModulePath($item) ?>" title="<?= $item[$pageModule]['title'] ?>">
<div>
<h2><?= $item[$pageModule]['title'] ?></h2>
<?php if(!empty($item[$pageModule]['side_menu_subtitle'])) { ?><p><?= $item[$pageModule]['side_menu_subtitle'] ?></p><?php } ?>
</div>
<img src="<?= $item['Image']['file'] ?>" alt="<?= $item[$pageModule]['title'] ?>" />
</a>
</article>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
),
'meta_keywords__' => array(
'sr' => '',
'en' => ''
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => false
)
),
'Layout' => array(
'id' => '1',
'name' => 'Default',
'body' => '<?php
$pageTitle = !empty($page['Page']['alternative_title']) ? $page['Page']['alternative_title'] : $page['Page']['title'];
$pageSubtitle = $page['Page']['subtitle'];
$backgroundImage = $page['BackgroundImage']['file'];
$brandLogoImage = !empty($page['CustomLogoImage']['file']) ? $page['CustomLogoImage']['file'] : $page['BrandLogoImage']['file'];
?>
<code cms="element" id="1">Header</code>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<code cms="element" id="4">Breadcrumbs</code>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= $pageTitle ?></h1>
</div>
<?php if(!empty($brandLogoImage)) { ?>
<span><img src="<?= $brandLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<code cms="block" name="content">Content</code>
</div>
<code cms="element" id="2">Footer</code>
</div>
',
'stylesheet_set' => '1,6,7,3',
'javascript_set' => '2,3,4,5,7,99',
'is_default' => false,
'slug' => 'default',
'modified_by' => '1',
'modified' => '2017-06-27 11:21:18',
'created_by' => '0',
'created' => '2016-11-09 11:45:27'
),
'Module' => array(
'id' => null,
'module_group_id' => null,
'page_id' => null,
'name' => null,
'menu_name' => null,
'menu_icon' => null,
'icon' => null,
'use_table' => null,
'order' => null,
'table_prefix' => null,
'has_details' => null,
'is_hardcoded' => null,
'is_single_item' => null,
'has_comments' => null,
'paginate' => null,
'has_one' => null,
'has_many' => null,
'ordering' => null,
'is_visible' => null,
'modified_by' => null,
'modified' => null,
'created_by' => null,
'created' => null
),
'Image' => array(
'id' => '4843',
'locale' => null,
'association' => 'Image',
'model' => 'Page',
'foreign_key' => '22',
'filename' => 'zidne_dekorativne_tehnike_uzorci~0.jpg',
'path' => 'upload/Page/Image/2017-06/',
'filesize' => '97915',
'mimetype' => 'image/jpeg',
'title' => 'zidne dekorativne tehnike uzorci',
'meta' => array(),
'ordering' => null,
'is_deleted' => false,
'modified' => '2017-06-21 13:55:36',
'modified_by' => '1',
'created' => '2016-11-30 18:08:00',
'created_by' => '1',
'file' => '/upload/Page/Image/2017-06/zidne_dekorativne_tehnike_uzorci~0.jpg'
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array()
)
)
$backgroundImage = null
$breadcrumbs = array(
'links' => array(
'Inspiracije' => '/sr/inspiracije',
'Uzorci' => '/sr/inspiracije/uzorci',
'Zidne dekorativne tehnike' => '/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-'
),
'last' => 'Valsetin Gold selection II'
)
$link = '/sr/inspiracije/uzorci/zidne-dekorativne-tehnike-'
$title = 'Zidne dekorativne tehnike'
$parentPage = array(
'Page' => array(
'id' => (int) 61,
'type' => 'Module',
'parent_id' => (int) 6,
'layout_id' => (int) 3,
'module_id' => (int) 2,
'change_frequency' => 'monthly',
'priority' => '0.5 - default',
'module_connection' => 'Pattern',
'meta' => null,
'seo_metatags' => 'a:0:{}',
'seo_generated_metatags' => array(
(int) 1 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
),
'seo_last_mod' => null,
'head_end' => '',
'body_start' => '',
'body_end' => '',
'stylesheet_set' => '',
'javascript_set' => '',
'is_default' => false,
'is_category' => false,
'is_visible' => true,
'url' => null,
'url_target' => false,
'lft' => (int) 0,
'rght' => (int) 0,
'is_active' => true,
'is_popup' => false,
'modified_by' => (int) 1,
'modified' => '2016-11-23 18:32:34',
'created_by' => (int) 1,
'created' => '2016-11-23 18:31:25',
'selected' => '0',
'title' => 'Module: 2',
'title_short' => '',
'alternative_title' => '',
'subtitle' => 'Uzorci',
'side_menu_top_title' => 'Kategorije',
'side_menu_subtitle' => '',
'page_text' => '',
'banner_url' => '',
'slug' => 'Module: 2',
'content' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__4 ">
<div class="main-content">
<?php if(!empty($pattern['Pattern']['text'])) { ?>
<div class="rich-text">
<?= $pattern['Pattern']['text'] ?>
</div>
<?php } ?>
<div class="product-details">
<code cms="element" id="6">Social</code>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul>
<?php foreach($pattern['Patterns'] as $image) { ?>
<li>
<a href="<?= $image['file'] ?>" class="fancybox" rel="group">
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
',
'meta_title' => null,
'meta_keywords' => null,
'meta_description' => null,
'is_translated' => true,
'title__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'title_short__' => array(
'sr' => '',
'en' => null
),
'alternative_title__' => array(
'sr' => '',
'en' => ''
),
'subtitle__' => array(
'sr' => 'Uzorci',
'en' => ''
),
'side_menu_top_title__' => array(
'sr' => 'Kategorije',
'en' => ''
),
'side_menu_subtitle__' => array(
'sr' => '',
'en' => ''
),
'page_text__' => array(
'sr' => '',
'en' => ''
),
'banner_url__' => array(
'sr' => '',
'en' => ''
),
'slug__' => array(
'sr' => 'Module: 2',
'en' => 'Module: 2'
),
'content__' => array(
'sr' => '<?php
$parentPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.parent_id' => $page['Page']['parent_id']
)
));
$pageSubtitle = !empty($pattern['Pattern']['subtitle']) ? $pattern['Pattern']['subtitle'] : $parentPage['Page']['subtitle'];
$pageTitle = $pattern['Pattern']['title'];
$customLogoImage = $parentPage['CustomLogoImage']['file'];
?>
<!-- Page title -->
<div class="page-title">
<div class="inner clearfix">
<div>
<h2><?= !empty($pageSubtitle) ? $pageSubtitle : '' ?></h2>
<h1><?= !empty($pageTitle) ? $pageTitle : '' ?></h1>
</div>
<?php if(!empty($customLogoImage)) { ?>
<span><img src="<?= $customLogoImage ?>" /></span>
<?php } ?>
</div>
</div>
<div class="content clearfix">
<div class="row">
<div class="column __3 lt__2">
<?= $this->Element('5-sideMenu') ?>
</div>
<div class="column __9 lt__4 ">
<div class="main-content">
<?php if(!empty($pattern['Pattern']['text'])) { ?>
<div class="rich-text">
<?= $pattern['Pattern']['text'] ?>
</div>
<?php } ?>
<div class="product-details">
<code cms="element" id="6">Social</code>
<div class="product-blocks">
<!-- Photo gallery -->
<?php if(!empty($pattern['Patterns'])) { ?>
<div class="product-block product-photo-gallery">
<div class="block-content">
<div class="head active"><h2><?= __('Foto galerija') ?></h2></div>
<div class="body">
<ul>
<?php foreach($pattern['Patterns'] as $image) { ?>
<li>
<a href="<?= $image['file'] ?>" class="fancybox" rel="group">
<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<?php } ?>
<!-- \\ Photo gallery -->
</div>
</div>
</div>
</div>
</div>
',
'en' => ''
),
'meta_title__' => array(
'sr' => '',
'en' => ''
),
'meta_keywords__' => array(
'sr' => '',
'en' => ''
),
'meta_description__' => array(
'sr' => '',
'en' => ''
),
'is_translated__' => array(
'sr' => true,
'en' => true
)
),
'Layout' => array(
'id' => '3',
'name' => 'Details',
'body' => '<?php
switch (true) {
case isset($product):
$moduleName = $product;
break;
case isset($faq):
$moduleName = $faq;
break;
case isset($inspiration):
$moduleName = $inspiration;
break;
case isset($renewal):
$moduleName = $renewal;
break;
case isset($pattern):
$moduleName = $pattern;
break;
default:
$moduleName = $product;
}
$bgPage = ClassRegistry::init('Page')->find('first', array(
'conditions' => array(
'Page.id' => $moduleName['Page']['id']
)
));
$backgroundImage = $bgPage['BackgroundImage']['file'];
?>
<code cms="element" id="1">Header</code>
<div class="fader">
<div class="page-content clearfix" style="background-image:url('<?= !empty($backgroundImage) ? $backgroundImage : '/img/My_Wall_And_Floors.jpg' ?>')">
<!-- Breadcrumbs -->
<code cms="element" id="4">Breadcrumbs</code>
<code cms="block" name="content">Content</code>
</div>
<code cms="element" id="2">Footer</code>
</div>
',
'stylesheet_set' => '1,3,5,6,7',
'javascript_set' => '1,2,3,4,5,6,7,99',
'is_default' => false,
'slug' => 'details',
'modified_by' => '1',
'modified' => '2016-11-30 14:47:39',
'created_by' => '0',
'created' => '0000-00-00 00:00:00'
),
'Module' => array(
'id' => '2',
'module_group_id' => null,
'page_id' => '6',
'name' => 'Pattern',
'menu_name' => 'Uzorci',
'menu_icon' => null,
'icon' => 'table',
'use_table' => 'patterns',
'order' => 'Pattern.ordering ASC',
'table_prefix' => 'cms_',
'has_details' => true,
'is_hardcoded' => false,
'is_single_item' => false,
'has_comments' => false,
'paginate' => '30',
'has_one' => 'a:1:{s:5:"Image";s:23:"Upload jpeg jpg png gif";}',
'has_many' => 'a:1:{s:8:"Patterns";s:23:"Upload jpeg jpg png gif";}',
'ordering' => '3',
'is_visible' => true,
'modified_by' => '1',
'modified' => '2017-06-19 12:21:35',
'created_by' => '1',
'created' => '2016-11-09 16:05:25'
),
'Image' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BrandLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'CustomLogoImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BannerImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'BackgroundImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Catalogue' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'MetaImage' => array(
'id' => null,
'locale' => null,
'association' => null,
'model' => null,
'foreign_key' => null,
'filename' => null,
'path' => null,
'filesize' => null,
'mimetype' => null,
'title' => null,
'meta' => null,
'ordering' => null,
'is_deleted' => null,
'modified' => null,
'modified_by' => null,
'created' => null,
'created_by' => null,
'file' => null
),
'Images' => array(),
'Documents' => array(),
'Children' => array(),
'Seo' => array(
'metatag' => array()
)
)
$pageSubtitle = 'Uzorci'
$pageTitle = 'Valsetin Gold selection II'
$customLogoImage = null
$product = array()
eval - ROOT/VectorCMS/View/Layouts/front.ctp(31) : eval()'d code, line 151
include - ROOT/VectorCMS/View/Layouts/front.ctp, line 31
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 961
FrontController::beforeFilter() - ROOT/VectorCMS/Controller/FrontController.php, line 173
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - ROOT/VectorCMS/webroot/index.php, line 154
Foto galerija
- 37valsetin gold selection ii
- 23valsetin gold selection ii
- 29valsetin gold selection ii
- 33valsetin gold selection ii
- 36valsetin gold selection ii
- 35valsetin gold selection ii
- 34valsetin gold selection ii
- 32valsetin gold selection ii
- 31valsetin gold selection ii
- 30valsetin gold selection ii
- 27valsetin gold selection ii
- 28valsetin gold selection ii
- 24valsetin gold selection ii
- 25valsetin gold selection ii
- 26valsetin gold selection ii
- 40valsetin gold selection ii
- 22valsetin gold selection ii
- 39valsetin gold selection ii
- 38valsetin gold selection ii