My Wall and Floor
  • Početna
  • O nama
    • Drugi o nama
    • Reference
    • Vesti
  • Proizvodi
  • Najčešća pitanja
  • Inspiracije
    • Galerija inspiracija
    • Uzorci
  • Kupatila i kuhinje
  • Kontakt

Trenutno se nalazite ovde:

  • Početna
  • Proizvodi

Proizvodi

Zidne dekorativne tehnike

Zidne dekorativne tehnike

Dekorativni kamen

Dekorativni kamen

Proizvodi

  • Zidne dekorativne tehnike
  • Dekorativni kamen
    Warning (2): Invalid argument supplied for foreach() [ROOT/VectorCMS/View/Layouts/front.ctp(31) : eval()'d code, line 220]
    Code Context
    $viewFile = '/home/web/mywall.rs/www/VectorCMS/View/Layouts/front.ctp'
    $dataForView = array(
    	'html' => '<?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'];
    ?>
    
    <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>
    
            <!-- 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>
    
            <?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <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>
    
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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' => 'Proizvodi',
    			'en' => ''
    		),
    		(int) 12 => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		(int) 19 => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		(int) 27 => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		(int) 28 => array(
    			'sr' => 'Proizvodi',
    			'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) 4 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    		(int) 14 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    		(int) 18 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    		(int) 21 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    		(int) 24 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    		(int) 8 => array(
    			'sr' => '913732115428480',
    			'en' => ''
    		),
    		(int) 11 => array(
    			'sr' => 'http://mywall.rs/sr/proizvodi'
    		),
    		(int) 15 => array(
    			'sr' => 'http://mywall.rs/sr/proizvodi'
    		),
    		(int) 23 => array(
    			'sr' => 'http://mywall.rs/sr/proizvodi'
    		)
    	),
    	'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 => 'Proizvodi',
    		(int) 1 => 'My Wall'
    	),
    	'assets' => array(
    		'stylesheets' => array(
    			(int) 7 => array(
    				[maximum depth reached]
    			),
    			(int) 6 => 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) 5 => array(
    				[maximum depth reached]
    			),
    			(int) 4 => array(
    				[maximum depth reached]
    			),
    			(int) 3 => array(
    				[maximum depth reached]
    			),
    			(int) 2 => array(
    				[maximum depth reached]
    			)
    		)
    	),
    	'page' => array(
    		'Page' => array(
    			'id' => (int) 4,
    			'type' => 'Page',
    			'parent_id' => (int) 2,
    			'layout_id' => (int) 1,
    			'module_id' => (int) 1,
    			'change_frequency' => 'monthly',
    			'priority' => '0.5 - default',
    			'module_connection' => 'Product',
    			'meta' => 'Generic',
    			'seo_metatags' => 'a:0:{}',
    			'seo_generated_metatags' => array(
    				[maximum depth reached]
    			),
    			'seo_last_mod' => '2023-02-21 11:39:50',
    			'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) 14,
    			'rght' => (int) 71,
    			'is_active' => true,
    			'is_popup' => false,
    			'modified_by' => (int) 2,
    			'modified' => '2018-07-21 12:56:17',
    			'created_by' => (int) 1,
    			'created' => '2016-11-09 12:03:48',
    			'selected' => '0',
    			'title' => 'Proizvodi',
    			'title_short' => 'Proizvodi',
    			'alternative_title' => '',
    			'subtitle' => '',
    			'side_menu_top_title' => 'Katalog proizvoda',
    			'side_menu_subtitle' => '',
    			'page_text' => '',
    			'banner_url' => '',
    			'slug' => 'proizvodi',
    			'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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]
    			),
    			'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/proizvodi'
    		),
    		'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
    		),
    		'Images' => array(),
    		'Seo' => array(
    			'metatag' => array([maximum depth reached])
    		),
    		'children' => array(
    			'zidne-dekorativne-tehnike' => array(
    				[maximum depth reached]
    			),
    			'dekorativni-kamen' => array(
    				[maximum depth reached]
    			)
    		),
    		'Layout' => array(
    			'id' => (int) 1,
    			'name' => 'Default',
    			'slug' => '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'];
    ?>
    
    <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>
    
            <!-- 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>
    
            <?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <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>
    
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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,6,7,3',
    			'javascript_set' => '2,3,4,5,7,99'
    		),
    		'Content' => array(
    			'Body' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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]
    			)
    		),
    		'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]
    			)
    		)
    	),
    	'here' => '/sr/proizvodi',
    	'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) 4,
    			'type' => 'Page',
    			'parent_id' => (int) 2,
    			'layout_id' => (int) 1,
    			'module_id' => (int) 1,
    			'change_frequency' => 'monthly',
    			'priority' => '0.5 - default',
    			'module_connection' => 'Product',
    			'meta' => 'Generic',
    			'seo_metatags' => 'a:0:{}',
    			'seo_generated_metatags' => array(
    				[maximum depth reached]
    			),
    			'seo_last_mod' => '2023-02-21 11:39:50',
    			'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) 14,
    			'rght' => (int) 71,
    			'is_active' => true,
    			'is_popup' => false,
    			'modified_by' => (int) 2,
    			'modified' => '2018-07-21 12:56:17',
    			'created_by' => (int) 1,
    			'created' => '2016-11-09 12:03:48',
    			'selected' => '0',
    			'title' => 'Proizvodi',
    			'title_short' => 'Proizvodi',
    			'alternative_title' => '',
    			'subtitle' => '',
    			'side_menu_top_title' => 'Katalog proizvoda',
    			'side_menu_subtitle' => '',
    			'page_text' => '',
    			'banner_url' => '',
    			'slug' => 'proizvodi',
    			'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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]
    			),
    			'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/proizvodi'
    		),
    		'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
    		),
    		'Images' => array(),
    		'Seo' => array(
    			'metatag' => array([maximum depth reached])
    		),
    		'children' => array(
    			'zidne-dekorativne-tehnike' => array(
    				[maximum depth reached]
    			),
    			'dekorativni-kamen' => array(
    				[maximum depth reached]
    			)
    		),
    		'Layout' => array(
    			'id' => (int) 1,
    			'name' => 'Default',
    			'slug' => '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'
    		),
    		'Content' => array(
    			'Body' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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]
    			)
    		),
    		'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]
    			)
    		)
    	),
    	'pageTitleAppend' => null,
    	'_cookies' => array(
    		'language' => 'sr'
    	),
    	'isAjax' => false,
    	'referer' => '/',
    	'fieldOptions' => array(),
    	'_actions' => array(),
    	'controller' => 'front',
    	'user' => false,
    	'locale' => 'sr',
    	'localelessHere' => '/proizvodi',
    	'plural' => 'fronts',
    	'singular' => 'front',
    	'modelClass' => 'Front'
    )
    $html = '<?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'];
    ?>
    
    <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>
    
            <!-- 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>
    
            <?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <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>
    
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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' => 'Proizvodi',
    		'en' => ''
    	),
    	(int) 12 => array(
    		'sr' => 'Proizvodi',
    		'en' => ''
    	),
    	(int) 19 => array(
    		'sr' => 'Proizvodi',
    		'en' => ''
    	),
    	(int) 27 => array(
    		'sr' => 'Proizvodi',
    		'en' => ''
    	),
    	(int) 28 => array(
    		'sr' => 'Proizvodi',
    		'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) 4 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    	(int) 14 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    	(int) 18 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    	(int) 21 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    	(int) 24 => 'http://mywall.rs/upload/SeoConfig/GlobalMetaImage/2017-06/mywall_and_floor.jpg',
    	(int) 8 => array(
    		'sr' => '913732115428480',
    		'en' => ''
    	),
    	(int) 11 => array(
    		'sr' => 'http://mywall.rs/sr/proizvodi'
    	),
    	(int) 15 => array(
    		'sr' => 'http://mywall.rs/sr/proizvodi'
    	),
    	(int) 23 => array(
    		'sr' => 'http://mywall.rs/sr/proizvodi'
    	)
    )
    $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 => 'Proizvodi',
    	(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) 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) 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'
    		)
    	)
    )
    $page = array(
    	'Page' => array(
    		'id' => (int) 4,
    		'type' => 'Page',
    		'parent_id' => (int) 2,
    		'layout_id' => (int) 1,
    		'module_id' => (int) 1,
    		'change_frequency' => 'monthly',
    		'priority' => '0.5 - default',
    		'module_connection' => 'Product',
    		'meta' => 'Generic',
    		'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' => '2023-02-21 11:39:50',
    		'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) 14,
    		'rght' => (int) 71,
    		'is_active' => true,
    		'is_popup' => false,
    		'modified_by' => (int) 2,
    		'modified' => '2018-07-21 12:56:17',
    		'created_by' => (int) 1,
    		'created' => '2016-11-09 12:03:48',
    		'selected' => '0',
    		'title' => 'Proizvodi',
    		'title_short' => 'Proizvodi',
    		'alternative_title' => '',
    		'subtitle' => '',
    		'side_menu_top_title' => 'Katalog proizvoda',
    		'side_menu_subtitle' => '',
    		'page_text' => '',
    		'banner_url' => '',
    		'slug' => 'proizvodi',
    		'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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' => 'Proizvodi',
    			'en' => ''
    		),
    		'title_short__' => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		'alternative_title__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'side_menu_top_title__' => array(
    			'sr' => 'Katalog proizvoda',
    			'en' => ''
    		),
    		'side_menu_subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'page_text__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'banner_url__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'slug__' => array(
    			'sr' => 'proizvodi',
    			'en' => '4'
    		),
    		'content__' => array(
    			'sr' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    ?>
    
    
    <div class="content clearfix big-grid">
    
        <?= $this->Element('5-sideMenu') ?>
    
        <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">
    
                <?php foreach($listCategories as $listCategory) { ?>
                    <article>
                        <a href="<?= $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path') ?>" title="<?= $listCategory['Page']['title'] ?>">
                            <div>
                                <h2><?= $listCategory['Page']['title'] ?></h2>
                            </div>
                            <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                        </a>
                    </article>
                <?php } ?>
            </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
    		),
    		'path' => '/sr/proizvodi'
    	),
    	'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
    	),
    	'Images' => array(),
    	'Seo' => array(
    		'metatag' => array()
    	),
    	'children' => array(
    		'zidne-dekorativne-tehnike' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		),
    		'dekorativni-kamen' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		)
    	),
    	'Layout' => array(
    		'id' => (int) 1,
    		'name' => 'Default',
    		'slug' => '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'];
    ?>
    
    <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>
    
            <!-- 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>
    
            <?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <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>
    
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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,6,7,3',
    		'javascript_set' => '2,3,4,5,7,99'
    	),
    	'Content' => array(
    		'Body' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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) 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) 3 => 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) 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) 3 => 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) 4 => 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) 5 => 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'
    		)
    	)
    )
    $here = '/sr/proizvodi'
    $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-02-21 11:39:50',
    			'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) 4,
    		'type' => 'Page',
    		'parent_id' => (int) 2,
    		'layout_id' => (int) 1,
    		'module_id' => (int) 1,
    		'change_frequency' => 'monthly',
    		'priority' => '0.5 - default',
    		'module_connection' => 'Product',
    		'meta' => 'Generic',
    		'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' => '2023-02-21 11:39:50',
    		'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) 14,
    		'rght' => (int) 71,
    		'is_active' => true,
    		'is_popup' => false,
    		'modified_by' => (int) 2,
    		'modified' => '2018-07-21 12:56:17',
    		'created_by' => (int) 1,
    		'created' => '2016-11-09 12:03:48',
    		'selected' => '0',
    		'title' => 'Proizvodi',
    		'title_short' => 'Proizvodi',
    		'alternative_title' => '',
    		'subtitle' => '',
    		'side_menu_top_title' => 'Katalog proizvoda',
    		'side_menu_subtitle' => '',
    		'page_text' => '',
    		'banner_url' => '',
    		'slug' => 'proizvodi',
    		'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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' => 'Proizvodi',
    			'en' => ''
    		),
    		'title_short__' => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		'alternative_title__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'side_menu_top_title__' => array(
    			'sr' => 'Katalog proizvoda',
    			'en' => ''
    		),
    		'side_menu_subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'page_text__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'banner_url__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'slug__' => array(
    			'sr' => 'proizvodi',
    			'en' => '4'
    		),
    		'content__' => array(
    			'sr' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    ?>
    
    
    <div class="content clearfix big-grid">
    
        <?= $this->Element('5-sideMenu') ?>
    
        <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">
    
                <?php foreach($listCategories as $listCategory) { ?>
                    <article>
                        <a href="<?= $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path') ?>" title="<?= $listCategory['Page']['title'] ?>">
                            <div>
                                <h2><?= $listCategory['Page']['title'] ?></h2>
                            </div>
                            <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                        </a>
                    </article>
                <?php } ?>
            </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
    		),
    		'path' => '/sr/proizvodi'
    	),
    	'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
    	),
    	'Images' => array(),
    	'Seo' => array(
    		'metatag' => array()
    	),
    	'children' => array(
    		'zidne-dekorativne-tehnike' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		),
    		'dekorativni-kamen' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		)
    	),
    	'Layout' => array(
    		'id' => (int) 1,
    		'name' => 'Default',
    		'slug' => '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'
    	),
    	'Content' => array(
    		'Body' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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) 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) 3 => 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) 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) 3 => 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) 4 => 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) 5 => 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'
    		)
    	)
    )
    $pageTitleAppend = null
    $_cookies = array(
    	'language' => 'sr'
    )
    $isAjax = false
    $referer = '/'
    $fieldOptions = array()
    $_actions = array()
    $controller = 'front'
    $user = false
    $locale = 'sr'
    $localelessHere = '/proizvodi'
    $plural = 'fronts'
    $singular = 'front'
    $modelClass = 'Front'
    $metaData = array(
    	'Page' => array(
    		'id' => (int) 4,
    		'type' => 'Page',
    		'parent_id' => (int) 2,
    		'layout_id' => (int) 1,
    		'module_id' => (int) 1,
    		'change_frequency' => 'monthly',
    		'priority' => '0.5 - default',
    		'module_connection' => 'Product',
    		'meta' => 'Generic',
    		'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' => '2023-02-21 11:39:50',
    		'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) 14,
    		'rght' => (int) 71,
    		'is_active' => true,
    		'is_popup' => false,
    		'modified_by' => (int) 2,
    		'modified' => '2018-07-21 12:56:17',
    		'created_by' => (int) 1,
    		'created' => '2016-11-09 12:03:48',
    		'selected' => '0',
    		'title' => 'Proizvodi',
    		'title_short' => 'Proizvodi',
    		'alternative_title' => '',
    		'subtitle' => '',
    		'side_menu_top_title' => 'Katalog proizvoda',
    		'side_menu_subtitle' => '',
    		'page_text' => '',
    		'banner_url' => '',
    		'slug' => 'proizvodi',
    		'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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' => 'Proizvodi',
    			'en' => ''
    		),
    		'title_short__' => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		'alternative_title__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'side_menu_top_title__' => array(
    			'sr' => 'Katalog proizvoda',
    			'en' => ''
    		),
    		'side_menu_subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'page_text__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'banner_url__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'slug__' => array(
    			'sr' => 'proizvodi',
    			'en' => '4'
    		),
    		'content__' => array(
    			'sr' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    ?>
    
    
    <div class="content clearfix big-grid">
    
        <?= $this->Element('5-sideMenu') ?>
    
        <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">
    
                <?php foreach($listCategories as $listCategory) { ?>
                    <article>
                        <a href="<?= $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path') ?>" title="<?= $listCategory['Page']['title'] ?>">
                            <div>
                                <h2><?= $listCategory['Page']['title'] ?></h2>
                            </div>
                            <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                        </a>
                    </article>
                <?php } ?>
            </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
    		),
    		'path' => '/sr/proizvodi'
    	),
    	'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
    	),
    	'Images' => array(),
    	'Seo' => array(
    		'metatag' => array()
    	),
    	'children' => array(
    		'zidne-dekorativne-tehnike' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		),
    		'dekorativni-kamen' => array(
    			'Page' => array(
    				[maximum depth reached]
    			),
    			'Seo' => array(
    				[maximum depth reached]
    			),
    			'children' => array(
    				[maximum depth reached]
    			)
    		)
    	),
    	'Layout' => array(
    		'id' => (int) 1,
    		'name' => 'Default',
    		'slug' => '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'];
    ?>
    
    <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>
    
            <!-- 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>
    
            <?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <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>
    
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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,6,7,3',
    		'javascript_set' => '2,3,4,5,7,99'
    	),
    	'Content' => array(
    		'Body' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
    	if(count($listCategories) % 2 === 0 || count($listCategories) % 4 === 0 || count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) % 3 === 0) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['title'] ?>" />
                                    </a>
                                </article>
                            <?php } ?>
                        </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) 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) 3 => 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) 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) 3 => 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) 4 => 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) 5 => 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'
    		)
    	)
    )
    $documentTitle = array(
    	(int) 0 => 'Proizvodi',
    	(int) 1 => 'My Wall'
    )
    $pageTitle = 'Proizvodi'
    $pageSubtitle = ''
    $backgroundImage = null
    $brandLogoImage = null
    $breadcrumbs = array(
    	'links' => array(),
    	'last' => 'Proizvodi'
    )
    $pageId = (int) 4
    $listCategories = array(
    	(int) 0 => array(
    		'Page' => array(
    			'id' => (int) 20,
    			'type' => 'Page',
    			'parent_id' => (int) 4,
    			'layout_id' => (int) 1,
    			'module_id' => null,
    			'change_frequency' => 'monthly',
    			'priority' => '0.5 - default',
    			'module_connection' => 'Product',
    			'meta' => 'Generic',
    			'seo_metatags' => 'a:0:{}',
    			'seo_generated_metatags' => array(
    				[maximum depth reached]
    			),
    			'seo_last_mod' => '2023-02-07 10:08:32',
    			'head_end' => '',
    			'body_start' => '',
    			'body_end' => '',
    			'stylesheet_set' => '',
    			'javascript_set' => '',
    			'is_default' => false,
    			'is_category' => true,
    			'is_visible' => false,
    			'url' => '',
    			'url_target' => false,
    			'lft' => (int) 15,
    			'rght' => (int) 22,
    			'is_active' => true,
    			'is_popup' => false,
    			'modified_by' => (int) 1,
    			'modified' => '2017-08-01 12:59:15',
    			'created_by' => (int) 1,
    			'created' => '2016-11-09 16:07:47',
    			'selected' => '0',
    			'title' => 'Zidne dekorativne tehnike',
    			'title_short' => 'Zidne dekorativne tehnike',
    			'alternative_title' => '',
    			'subtitle' => 'Proizvodi',
    			'side_menu_top_title' => 'Katalog proizvoda',
    			'side_menu_subtitle' => '',
    			'page_text' => '',
    			'banner_url' => '',
    			'slug' => 'zidne-dekorativne-tehnike',
    			'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
        if(count($listCategories) <= 3) {
            $articleClass = '__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__2">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__4 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                        $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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]
    			),
    			'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' => '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' => '2500',
    			'locale' => null,
    			'association' => 'Image',
    			'model' => 'Page',
    			'foreign_key' => '20',
    			'filename' => 'zidne_dekorativne_tehnike.jpg',
    			'path' => 'upload/Page/Image/2016-11/',
    			'filesize' => '107836',
    			'mimetype' => 'image/jpeg',
    			'title' => 'zidne dekorativne tehnike',
    			'meta' => array([maximum depth reached]),
    			'ordering' => null,
    			'is_deleted' => false,
    			'modified' => '2016-11-30 16:51:17',
    			'modified_by' => '1',
    			'created' => '2016-11-29 16:02:13',
    			'created_by' => '1',
    			'file' => '/upload/Page/Image/2016-11/zidne_dekorativne_tehnike.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' => '4806',
    			'locale' => null,
    			'association' => 'BackgroundImage',
    			'model' => 'Page',
    			'foreign_key' => '20',
    			'filename' => 'zidne_dekorativne_tehnike.jpg',
    			'path' => 'upload/Page/BackgroundImage/2016-11/',
    			'filesize' => '36295',
    			'mimetype' => 'image/jpeg',
    			'title' => 'zidne dekorativne tehnike',
    			'meta' => array([maximum depth reached]),
    			'ordering' => null,
    			'is_deleted' => false,
    			'modified' => '2016-11-30 16:51:17',
    			'modified_by' => '1',
    			'created' => '2016-11-30 16:41:36',
    			'created_by' => '1',
    			'file' => '/upload/Page/BackgroundImage/2016-11/zidne_dekorativne_tehnike.jpg'
    		),
    		'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(
    			(int) 0 => array(
    				[maximum depth reached]
    			),
    			(int) 1 => array(
    				[maximum depth reached]
    			),
    			(int) 2 => array(
    				[maximum depth reached]
    			)
    		),
    		'Seo' => array(
    			'metatag' => array([maximum depth reached])
    		)
    	),
    	(int) 1 => array(
    		'Page' => array(
    			'id' => (int) 31,
    			'type' => 'Page',
    			'parent_id' => (int) 4,
    			'layout_id' => (int) 1,
    			'module_id' => null,
    			'change_frequency' => 'monthly',
    			'priority' => '0.5 - default',
    			'module_connection' => 'Product',
    			'meta' => 'Generic',
    			'seo_metatags' => 'a:0:{}',
    			'seo_generated_metatags' => array(
    				[maximum depth reached]
    			),
    			'seo_last_mod' => '2017-08-10 16:20: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) 27,
    			'rght' => (int) 30,
    			'is_active' => true,
    			'is_popup' => false,
    			'modified_by' => (int) 1,
    			'modified' => '2017-06-28 17:16:05',
    			'created_by' => (int) 1,
    			'created' => '2016-11-14 11:16:29',
    			'selected' => '0',
    			'title' => 'Dekorativni kamen',
    			'title_short' => 'Dekorativni kamen',
    			'alternative_title' => '',
    			'subtitle' => 'Proizvodi',
    			'side_menu_top_title' => 'Katalog proizvoda',
    			'side_menu_subtitle' => '',
    			'page_text' => '',
    			'banner_url' => '',
    			'slug' => 'dekorativni-kamen',
    			'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
        if(count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) == 6 || count($listCategories) == 3) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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]
    			),
    			'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' => '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' => '2503',
    			'locale' => null,
    			'association' => 'Image',
    			'model' => 'Page',
    			'foreign_key' => '31',
    			'filename' => 'dekorativni_kamen.jpg',
    			'path' => 'upload/Page/Image/2017-06/',
    			'filesize' => '198489',
    			'mimetype' => 'image/jpeg',
    			'title' => 'dekorativni kamen',
    			'meta' => array([maximum depth reached]),
    			'ordering' => null,
    			'is_deleted' => false,
    			'modified' => '2017-06-28 17:16:05',
    			'modified_by' => '1',
    			'created' => '2016-11-29 16:03:07',
    			'created_by' => '1',
    			'file' => '/upload/Page/Image/2017-06/dekorativni_kamen.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' => '4816',
    			'locale' => null,
    			'association' => 'BackgroundImage',
    			'model' => 'Page',
    			'foreign_key' => '31',
    			'filename' => 'Dekorativni_kamen.jpg',
    			'path' => 'upload/Page/BackgroundImage/2016-11/',
    			'filesize' => '38971',
    			'mimetype' => 'image/jpeg',
    			'title' => 'dekorativni kamen',
    			'meta' => array([maximum depth reached]),
    			'ordering' => null,
    			'is_deleted' => false,
    			'modified' => '2017-06-28 17:16:05',
    			'modified_by' => '1',
    			'created' => '2016-11-30 17:13:29',
    			'created_by' => '1',
    			'file' => '/upload/Page/BackgroundImage/2016-11/Dekorativni_kamen.jpg'
    		),
    		'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(
    			(int) 0 => array(
    				[maximum depth reached]
    			)
    		),
    		'Seo' => array(
    			'metatag' => array([maximum depth reached])
    		)
    	)
    )
    $mainParentPage = true
    $articleClass = '__2-block'
    $listCategory = array(
    	'Page' => array(
    		'id' => (int) 31,
    		'type' => 'Page',
    		'parent_id' => (int) 4,
    		'layout_id' => (int) 1,
    		'module_id' => null,
    		'change_frequency' => 'monthly',
    		'priority' => '0.5 - default',
    		'module_connection' => 'Product',
    		'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-08-10 16:20: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) 27,
    		'rght' => (int) 30,
    		'is_active' => true,
    		'is_popup' => false,
    		'modified_by' => (int) 1,
    		'modified' => '2017-06-28 17:16:05',
    		'created_by' => (int) 1,
    		'created' => '2016-11-14 11:16:29',
    		'selected' => '0',
    		'title' => 'Dekorativni kamen',
    		'title_short' => 'Dekorativni kamen',
    		'alternative_title' => '',
    		'subtitle' => 'Proizvodi',
    		'side_menu_top_title' => 'Katalog proizvoda',
    		'side_menu_subtitle' => '',
    		'page_text' => '',
    		'banner_url' => '',
    		'slug' => 'dekorativni-kamen',
    		'content' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
        if(count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) == 6 || count($listCategories) == 3) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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' => 'Dekorativni kamen',
    			'en' => ''
    		),
    		'title_short__' => array(
    			'sr' => 'Dekorativni kamen',
    			'en' => ''
    		),
    		'alternative_title__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'subtitle__' => array(
    			'sr' => 'Proizvodi',
    			'en' => ''
    		),
    		'side_menu_top_title__' => array(
    			'sr' => 'Katalog proizvoda',
    			'en' => ''
    		),
    		'side_menu_subtitle__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'page_text__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'banner_url__' => array(
    			'sr' => '',
    			'en' => ''
    		),
    		'slug__' => array(
    			'sr' => 'dekorativni-kamen',
    			'en' => '31'
    		),
    		'content__' => array(
    			'sr' => '<?php
        $pageId = $page['Page']['id'];
        $listCategories = ClassRegistry::init('Page')->find('all', array(
            'conditions' => array(
                'Page.parent_id' => $pageId,
            ),
        ));
    
        if(in_array($pageId, array('4', '5', '6', '7', '8'))) {
            $mainParentPage = true;
        }
    
    	if(count($listCategories) < 2) {
    		header("location:" . $this->Format->getPageFromSitemap($listCategories[0]['Page']['id'], $sitemap, 'path'));
    		die;
    	}
    
        if(count($listCategories) < 3) {
            $articleClass = '__2-block';
        } else if(count($listCategories) == 6 || count($listCategories) == 3) {
            $articleClass = '__3-block st__2-block';
        } else {
            if(isset($mainParentPage)) {
                $articleClass = '__4-block lt__3-block st__2-block';
            } else {
                $articleClass = '__3-block lt__2-block';
            }
        }
    ?>
    
    <div class="content clearfix">
    
        <div class="row">
    
        <?php if (!isset($mainParentPage)) { ?>
            <div class="column __3 lt__6">
                <?= $this->Element('5-sideMenu') ?>
            </div>
        <?php } ?>
    
            <div class="column <?= isset($mainParentPage) ? '__12' : '__9 lt__6 st__6'?>">
                <div class="main-content">
                    <?php if (!isset($mainParentPage)) { ?>
                        <div class="product-details">
                            <code cms="element" id="6">Social</code>
                        </div>
                    <?php } ?>
                    <?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($listCategories as $listCategory) { ?>
                                <article class="column">
                                    <?php
                                    $realUrl = $this->Format->getPageFromSitemap($listCategory['Page']['id'], $sitemap, 'path');
                                        if( !empty($listCategory['Children']) && count($listCategory['Children']) == 1) {
                                            $grandChild = $listCategory['Children'];
                                            $realUrl = $this->Format->getPageFromSitemap(array_values($grandChild)[0]['id'], $sitemap, 'path');
                                        }
                                    ?>
                                    <a href="<?= $realUrl ?>" title="<?= $listCategory['Page']['title'] ?>">
                                        <?php if(!empty($listCategory['BrandLogoImage']['file'])) { ?>
                                            <span><em><img src="<?= $listCategory['BrandLogoImage']['file'] ?>" /></em></span>
                                        <?php } ?>
                                        <div>
                                            <h2><?= $listCategory['Page']['title'] ?></h2>
                                        </div>
                                        <img src="<?= $listCategory['Page']['type'] == 'Link' ? $listCategory['BackgroundImage']['file'] : $listCategory['Image']['file'] ?>" alt="<?= $listCategory['Page']['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' => '2503',
    		'locale' => null,
    		'association' => 'Image',
    		'model' => 'Page',
    		'foreign_key' => '31',
    		'filename' => 'dekorativni_kamen.jpg',
    		'path' => 'upload/Page/Image/2017-06/',
    		'filesize' => '198489',
    		'mimetype' => 'image/jpeg',
    		'title' => 'dekorativni kamen',
    		'meta' => array(),
    		'ordering' => null,
    		'is_deleted' => false,
    		'modified' => '2017-06-28 17:16:05',
    		'modified_by' => '1',
    		'created' => '2016-11-29 16:03:07',
    		'created_by' => '1',
    		'file' => '/upload/Page/Image/2017-06/dekorativni_kamen.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' => '4816',
    		'locale' => null,
    		'association' => 'BackgroundImage',
    		'model' => 'Page',
    		'foreign_key' => '31',
    		'filename' => 'Dekorativni_kamen.jpg',
    		'path' => 'upload/Page/BackgroundImage/2016-11/',
    		'filesize' => '38971',
    		'mimetype' => 'image/jpeg',
    		'title' => 'dekorativni kamen',
    		'meta' => array(),
    		'ordering' => null,
    		'is_deleted' => false,
    		'modified' => '2017-06-28 17:16:05',
    		'modified_by' => '1',
    		'created' => '2016-11-30 17:13:29',
    		'created_by' => '1',
    		'file' => '/upload/Page/BackgroundImage/2016-11/Dekorativni_kamen.jpg'
    	),
    	'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(
    		(int) 0 => array(
    			'id' => '34',
    			'type' => 'Page',
    			'parent_id' => '31',
    			'layout_id' => '1',
    			'module_id' => null,
    			'change_frequency' => 'monthly',
    			'priority' => '0.5 - default',
    			'title__sr' => 'Dekorativni kamen',
    			'title__en' => '',
    			'module_connection' => 'Product',
    			'title_short__sr' => 'Dekorativni kamen',
    			'title_short__en' => '',
    			'alternative_title__sr' => '',
    			'alternative_title__en' => '',
    			'subtitle__sr' => 'Proizvodi',
    			'subtitle__en' => '',
    			'side_menu_top_title__sr' => '',
    			'side_menu_top_title__en' => '',
    			'side_menu_subtitle__sr' => '',
    			'side_menu_subtitle__en' => '',
    			'page_text__sr' => '<p>Dekorativan kamen, koji se brzo i lako postavlja. Njegova reljefna tekstura pruža čitav niz arhitektonskih kombinacija u stvaranju boja i senki.</p>
    <p>&Scaron;tampani zid sa izgledom kamena se pravi me&scaron;anjem specijalnog maltera koji se u dve faze direktno nanosi na povr&scaron;inu zida, a kasnije se pritiska posebnim pečatima (kalupima), da bi se dobili posebni oblici i teksture kamena, cigle, stene, čak i drveta. I ako su neki komadi ostali isti ili slični oblikom oni se različito boje, tako da je u stvari svaki kamen na zidu unikatan i drugačiji od ostalih. Kada se taj proces zavr&scaron;i pristupa se nano&scaron;enju transparentnog premaza preko obrađenog, obojenog i zavr&scaron;enog zida.</p>',
    			'page_text__en' => '',
    			'banner_url__sr' => '',
    			'banner_url__en' => '',
    			'slug__sr' => 'dekorativni-kamen-',
    			'slug__en' => '34',
    			'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']
        )
    ));
    
    ?>
    
    <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']) || !empty($page['Images'])) {?>
                        <div class="product-details">
                            <div class="row">
                                <?php if(!empty($page['Page']['page_text'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__7 st__6' : '__12' ?> ">
                                        <div class="cms-richtext remark-rich-text ">
                                            <?= $page['Page']['page_text'] ?>
                                        </div>
                                    </div>
                                <?php } ?>
                                <?php if(!empty($page['Images'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__5 st__6' : '__12' ?> ">
                                        <div class="product-slideshow">
                                            <ul>
                                                <?php foreach($page['Images'] as $slide) { ?>
                                                    <li style="position: <?= count($page['Images']) > 1 ? 'absolute' : 'relative'?>"><?= $this->Format->image($slide['file'], 768, 512, true, array('zc' => 'zc')) ?></li>
                                                <?php } ?>
                                            </ul>
                                        </div>
                                    </div>
                                <?php } ?>
                            </div>
                        </div>
                    <?php } ?>
    				<div class="product-details">
    					<?php foreach ($items as $product) { ?>
    						<div class="product-blocks" id="Product<?= $product['Product']['id']?>">
    							<div class="product-block product-photo-gallery">
    								<div class="block-content">
    									<div class="head-no-accordion"><h2><?= $product['Product']['title'] ?></h2></div>
    									<div class="body">
    										<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
    											<?php foreach($product['Galleries'] as $image) { ?>
    												<li class="column">
    													<a href="<?= $image['file'] ?>" class="fancybox" rel="gallery<?= $product['Product']['id']?>">
    														<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
    													</a>
    												</li>
    											<?php } ?>
    										</ul>
    									</div>
    								</div>
    							</div>
    						</div>
    					<?php } ?>
    				</div>
    			</div>
            </div>
        </div>
    </div>',
    			'content__en' => '',
    			'meta' => 'Generic',
    			'meta_title__sr' => '',
    			'meta_title__en' => '',
    			'meta_keywords__sr' => '',
    			'meta_keywords__en' => '',
    			'meta_description__sr' => '',
    			'meta_description__en' => '',
    			'seo_metatags' => 'a:0:{}',
    			'seo_generated_metatags' => 'a:5:{i:1;a:2:{s:2:"sr";s:17:"Dekorativni kamen";s:2:"en";s:0:"";}i:12;a:2:{s:2:"sr";s:17:"Dekorativni kamen";s:2:"en";s:0:"";}i:19;a:2:{s:2:"sr";s:17:"Dekorativni kamen";s:2:"en";s:0:"";}i:27;a:2:{s:2:"sr";s:17:"Dekorativni kamen";s:2:"en";s:0:"";}i:28;a:2:{s:2:"sr";s:17:"Dekorativni kamen";s:2:"en";s:0:"";}}',
    			'seo_last_mod' => '2017-08-10 16:20:31',
    			'head_end' => '',
    			'body_start' => '',
    			'body_end' => '',
    			'is_translated__sr' => true,
    			'is_translated__en' => false,
    			'stylesheet_set' => '',
    			'javascript_set' => '',
    			'is_default' => false,
    			'is_category' => true,
    			'is_visible' => true,
    			'url' => '',
    			'url_target' => false,
    			'lft' => '28',
    			'rght' => '29',
    			'is_active' => true,
    			'is_popup' => false,
    			'modified_by' => '1',
    			'modified' => '2017-08-10 16:20:31',
    			'created_by' => '1',
    			'created' => '2016-11-14 11:18:38',
    			'selected' => '0',
    			'title' => 'Dekorativni kamen',
    			'title_short' => 'Dekorativni kamen',
    			'alternative_title' => '',
    			'subtitle' => 'Proizvodi',
    			'side_menu_top_title' => '',
    			'side_menu_subtitle' => '',
    			'page_text' => '<p>Dekorativan kamen, koji se brzo i lako postavlja. Njegova reljefna tekstura pruža čitav niz arhitektonskih kombinacija u stvaranju boja i senki.</p>
    <p>&Scaron;tampani zid sa izgledom kamena se pravi me&scaron;anjem specijalnog maltera koji se u dve faze direktno nanosi na povr&scaron;inu zida, a kasnije se pritiska posebnim pečatima (kalupima), da bi se dobili posebni oblici i teksture kamena, cigle, stene, čak i drveta. I ako su neki komadi ostali isti ili slični oblikom oni se različito boje, tako da je u stvari svaki kamen na zidu unikatan i drugačiji od ostalih. Kada se taj proces zavr&scaron;i pristupa se nano&scaron;enju transparentnog premaza preko obrađenog, obojenog i zavr&scaron;enog zida.</p>',
    			'banner_url' => '',
    			'slug' => 'dekorativni-kamen-',
    			'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']
        )
    ));
    
    ?>
    
    <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']) || !empty($page['Images'])) {?>
                        <div class="product-details">
                            <div class="row">
                                <?php if(!empty($page['Page']['page_text'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__7 st__6' : '__12' ?> ">
                                        <div class="cms-richtext remark-rich-text ">
                                            <?= $page['Page']['page_text'] ?>
                                        </div>
                                    </div>
                                <?php } ?>
                                <?php if(!empty($page['Images'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__5 st__6' : '__12' ?> ">
                                        <div class="product-slideshow">
                                            <ul>
                                                <?php foreach($page['Images'] as $slide) { ?>
                                                    <li style="position: <?= count($page['Images']) > 1 ? 'absolute' : 'relative'?>"><?= $this->Format->image($slide['file'], 768, 512, true, array('zc' => 'zc')) ?></li>
                                                <?php } ?>
                                            </ul>
                                        </div>
                                    </div>
                                <?php } ?>
                            </div>
                        </div>
                    <?php } ?>
    				<div class="product-details">
    					<?php foreach ($items as $product) { ?>
    						<div class="product-blocks" id="Product<?= $product['Product']['id']?>">
    							<div class="product-block product-photo-gallery">
    								<div class="block-content">
    									<div class="head-no-accordion"><h2><?= $product['Product']['title'] ?></h2></div>
    									<div class="body">
    										<ul class="row block-row __5-margin __5-block lt__4-block m__2-block">
    											<?php foreach($product['Galleries'] as $image) { ?>
    												<li class="column">
    													<a href="<?= $image['file'] ?>" class="fancybox" rel="gallery<?= $product['Product']['id']?>">
    														<?= $this->Format->image($image['file'], 252, 164, false, array('zc' => 'zc')) ?>
    													</a>
    												</li>
    											<?php } ?>
    										</ul>
    									</div>
    								</div>
    							</div>
    						</div>
    					<?php } ?>
    				</div>
    			</div>
            </div>
        </div>
    </div>',
    			'meta_title' => null,
    			'meta_keywords' => null,
    			'meta_description' => null,
    			'is_translated' => true
    		)
    	),
    	'Seo' => array(
    		'metatag' => array()
    	)
    )
    $realUrl = '/sr/proizvodi/dekorativni-kamen/dekorativni-kamen-'
    $grandChild = array(
    	(int) 0 => array(
    		'id' => '34',
    		'type' => 'Page',
    		'parent_id' => '31',
    		'layout_id' => '1',
    		'module_id' => null,
    		'change_frequency' => 'monthly',
    		'priority' => '0.5 - default',
    		'title__sr' => 'Dekorativni kamen',
    		'title__en' => '',
    		'module_connection' => 'Product',
    		'title_short__sr' => 'Dekorativni kamen',
    		'title_short__en' => '',
    		'alternative_title__sr' => '',
    		'alternative_title__en' => '',
    		'subtitle__sr' => 'Proizvodi',
    		'subtitle__en' => '',
    		'side_menu_top_title__sr' => '',
    		'side_menu_top_title__en' => '',
    		'side_menu_subtitle__sr' => '',
    		'side_menu_subtitle__en' => '',
    		'page_text__sr' => '<p>Dekorativan kamen, koji se brzo i lako postavlja. Njegova reljefna tekstura pruža čitav niz arhitektonskih kombinacija u stvaranju boja i senki.</p>
    <p>&Scaron;tampani zid sa izgledom kamena se pravi me&scaron;anjem specijalnog maltera koji se u dve faze direktno nanosi na povr&scaron;inu zida, a kasnije se pritiska posebnim pečatima (kalupima), da bi se dobili posebni oblici i teksture kamena, cigle, stene, čak i drveta. I ako su neki komadi ostali isti ili slični oblikom oni se različito boje, tako da je u stvari svaki kamen na zidu unikatan i drugačiji od ostalih. Kada se taj proces zavr&scaron;i pristupa se nano&scaron;enju transparentnog premaza preko obrađenog, obojenog i zavr&scaron;enog zida.</p>',
    		'page_text__en' => '',
    		'banner_url__sr' => '',
    		'banner_url__en' => '',
    		'slug__sr' => 'dekorativni-kamen-',
    		'slug__en' => '34',
    		'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']
        )
    ));
    
    ?>
    
    <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']) || !empty($page['Images'])) {?>
                        <div class="product-details">
                            <div class="row">
                                <?php if(!empty($page['Page']['page_text'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__7 st__6' : '__12' ?> ">
                                        <div class="cms-richtext remark-rich-text ">
                                            <?= $page['Page']['page_text'] ?>
                                        </div>
                                    </div>
                                <?php } ?>
                                <?php if(!empty($page['Images'])) { ?>
                                    <div class="column <?= !empty($page['Images']) ? '__5 st__6' : '__12' ?> ">
                                        <div class="product-slideshow">
                                            <ul>
                                                <?php foreach($page['Images'] as $slide) { ?>
                                                    <li style="position: <?= count($page['Images']) > 1 ? 'absolute' : 'relative'?>"><?= $this->Format->image($slide['file'], 768, 512, true, array('zc' => 'zc')) ?></li>
                                                <?php } ?>
                                            </ul>
                                        </div>
                                    </div>
                                <?php } ?>
                            </div>
                        </div>
                    <?php } ?>
    				<div class="product-details">
    					<?php foreach ($items as $product) { ?>
    						<div class="product-blocks&q