Notice (8): Undefined offset: 6 [ROOT/VectorCMS/View/Layouts/front.ctp(31) : eval()'d code, line 212]
Code Context
$viewFile = '/home/operosa/web/www.operosa.org/public_html/VectorCMS/View/Layouts/front.ctp' $dataForView = array( 'html' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $parentPageHero = !empty($parentPage['HeroImage']['file']) ? $parentPage['HeroImage']['file'] : '/img/hero_temp.jpg'; ?> <?php require_once VECTORCMS_ROOT . 'webroot' . DS . 'plugins' . DS . 'mobile-detect' . DS . 'Mobile_Detect.php'; $detect = new Mobile_Detect; $socials = ClassRegistry::init('Social')->find('all', array()); // if($member) { // echo 'Logged in as ' . $member['first_name'] . ' ' . $member['last_name']; // } else { // echo 'Not logged in'; // } // die; $mneActive = $this->request->here == $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path'); ?> <header> <!-- Any mobile device (phones or tablets), open right menu --> <div class="open-menu" id="openRight"> <span class="open"></span> <span class="close"></span> </div> <?php if($authMember) { ?> <!-- Open left menu --> <div class="open-menu" id="openLeft"> <span class="icon-user open"></span> <span class="close"></span> </div> <?php } ?> <div class="logo mobile-logo"> <?= $this->element('nav/logo') ?> </div> <!-- Right side content on mobile/tablets --> <div class="off-canvas-right-content"> <?php if($authMember) { ?> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Search...') ?>" name="term" class="search-input" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> </form> </div> <?php } ?> <nav> <ul> <?= $this->Format->printMenu('nav/mobile_menu') ?> </ul> </nav> <div class="social-block"> <ul class="social"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> </ul> <ul class="lang"> <li class="<?php echo !$mneActive && $locale == 'en' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="<?php echo !$mneActive && $locale == 'sr' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> </ul> </div> </div> <!-- \\Right side content on mobile/tablets --> <?php if( !$detect->isMobile() && !$detect->isTablet() ){ ?> <div class="logo"> <?= $this->element('nav/logo') ?> </div> <div class="inner clearfix"> <nav> <ul> <?= $this->Format->printMenu('nav/desktop_menu') ?> </ul> </nav> </div> <div class="user-block"> <ul class="lang"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> <li class="separator"></li> <li class="forum-hide<?php echo !$mneActive && $locale == 'en' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="forum-hide<?php echo !$mneActive && $locale == 'sr' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="forum-hide<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> <li class="separator forum-hide"></li> <?php if($authMember) { ?> <li> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Press enter to search') ?>" name="term" class="search-input" onkeyup="buttonUp();" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> <span class="search-icon icon-search"></span> </form> </div> </li> <?php } ?> </ul> </div> <?php } ?> </header> <div class="page-hero" style="background-image: url(<?php echo !empty($page['HeroImage']['file']) ? $page['HeroImage']['file'] : $parentPageHero ?>);" > <div class="inner"> <div class="page-title"> <?php if(!isset($page['Page']['is_parent_title_hidden'])) { ?> <h2><?php echo $parentPage['Page']['title']?></h2> <?php } ?> <h1><?php echo !empty($page['Page']['alternative_page_title']) ? $page['Page']['alternative_page_title'] : $page['Page']['title']?></h1> <p><?php echo nl2br($page['Page']['page_summary']) ?></p> <?php if(!empty($page['Page']['button_text']) || !empty($page['Page']['button_alt_text'])) { ?> <div class="actions"> <?php if(!empty($page['Page']['button_text'])) { ?> <a href="<?= $page['Page']['button_url'] ?>" class="button btn-big btn-light <?= $page['Page']['button_class'] ?>"><?= $page['Page']['button_text'] ?></a> <?php } ?> <?php if(!empty($page['Page']['button_alt_text'])) { ?> <a href="<?= $page['Page']['button_alt_url'] ?>" class="button btn-big btn-light" target="_blank"><?= $page['Page']['button_alt_text'] ?></a> <?php } ?> </div> <?php } ?> </div> </div> </div> <?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main> <?php $setting = ClassRegistry::init('Setting')->find('first', array()); ?> <footer> <div class="newsletter"> <div class="inner"> <div class="row"> <div class="__7 st__6 lt__3 column newsletter-text"> <div> <h2>Join Our</h2> <h3>mailing list</h3> </div> <div> <p><?= $setting['Setting']['newsletter_text']?></p> </div> </div> <div class="__5 st__6 lt__3 column newsletter-form"> <div class="field"> <form id="newsletterForm" action="/api/v1/newsletter" method="post"> <div> <input name="data[email]" type="text" placeholder="<?= __('Your email address') ?>"/> <button><span class="icon-arrow-right"></span></button> </div> <div class="form-message"></div> </form> </div> </div> </div> </div> </div> <div class="info"> <div class="inner"> <div class="row"> <div class="__5 column info-block"><p>Copyright © <?= date('Y')?> Operosa.Ltd. <?= __('All rights reserved') ?></p></div> <div class="__2 column info-block"><p><a href="mailto:<?= $setting['Setting']['email']?>"><?= $setting['Setting']['email']?></a></p></div> <div class="__5 column info-block"><p>Design & development: <a href="https://intellex.rs" target="_blank">Intellex</a></p></div> <div class="__5 column info-block"><p><a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::TERMS_PAGE, $sitemap, 'path') ?>" target="_blank">Terms and Conditions</a></p></div> </div> </div> </div> </footer> <div class="popups" style="display:none"> <?php if(!isset($currentMember)) { ?> <!-- Login popup --> <div id="loginPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="login"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <?= $this->element('auth/login') ?> </div> </div> <!-- Login popup --> <!-- Signup popup --> <div id="signUpPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="signup"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Registration</h2> <p></p> <div class="form"> <form class="form-signup" action="/api/v2/auth/signup" method="post" data-recaptcha="true"> <div class="form-message"></div> <div class="field-item"> <div class="field"><input type="text" name="data[first_name]" placeholder="First name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[last_name]" placeholder="Last name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light">Sign up</button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> <div class="text-center" style="display: flex; align-items: center; justify-content: center"> <div class="recaptcha-holder" style="margin: auto!important"></div> </div> </form> </div> </div> </div> <!-- Signup popup --> <!-- Forgot password popup --> <div id="forgotPassPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="forgot"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Password reset</h2> <p>Please insert your email and reset instructions will be sent to it.</p> <div class="form"> <form class="form-reset" action="/api/v2/auth/reset" method="post"> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> </form> </div> </div> </div> <!-- Forgot password popup --> <?php } else { ?> <!-- Change password popup --> <div id="changePassPopup" class="popup change-pass-popup standard-popup" style="display: none" data-vector-module="Profile" data-vector-action="changePassword"> <div class="popup-heading"> <h2>Password change</h2> </div> <div class="popup-body"> <div class="text text-padd"> <p>Please insert your old, new and repeat new password in order to change current password.</p> </div> <form class="form-change-pass" action="/api/v2/profile/change_password" method="post"> <div class="form"> <div class="field-item"> <div class="field"><input type="password" name="data[old_password]" placeholder="Old password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[new_password]" placeholder="New password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[repeated_new_password]" placeholder="Repeat new password" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Close</button> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> </form> </div> </div> <!-- Change password popup --> <!-- notification popup --> <div class="popup notification-popup login-popup"> <div class="close-popup"><a href="javascript:void(0)">x</a></div> <div class="popup-text"> <h2 class="lbl-notification-title"></h2> <div class="lbl-notification-message"></div> </div> </div> <!-- notification popup --> <!-- Upload photo to gallery popup --> <div id="uploadPhotoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new photo to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-photo-to-gallery" action="/api/v2/gallery/upload_photo" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('photo_file', __('Select photo')) ?> <div class="field-item"> <label>Photo title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload photo to gallery popup --> <!-- Upload audio to gallery popup --> <div id="uploadAudioToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new audio to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-audio-to-gallery" action="/api/v2/gallery/upload_audio" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('audio_file', __('Select audio file'), FrontHelper::EXT_AUDIO) ?> <div class="field-item"> <label>Audio title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload audio to gallery popup --> <!-- Upload video to gallery popup --> <div id="uploadVideoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new video to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-video-to-gallery" action="/api/v2/gallery/upload_video" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('video_file', __('Select video file'), FrontHelper::EXT_VIDEO, '150MB') ?> <div class="field-item"> <label>Video title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload video to gallery popup --> <!-- Delete gallery item popup --> <div id="deleteGalleryItem" class="popup standard-popup" style="display: none"> <div class="popup-heading"> <h2>Delete gallery</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> <span class="lbl-item-title">Montenegro Opera Festival 2016 – Opera in the street</span>?</p> </div> <div class="popup-actions"> <button class="button btn-big btn-lighter close-popup">No</button> <button class="button btn-big btn-dark btn-confirm">Yes</button> </div> </div> </div> <!-- \\ Delete gallery item popup --> <!-- Delete post popup --> <div id="deletePostPopup" class="popup standard-popup"> <div class="popup-heading"> <h2>Delete post</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> "<span class="lbl-post-title"></span>"?</p> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark btn-confirm">Delete</button> </div> </div> </div> <!-- \\ Delete post popup --> <?php } ?> </div> <script src="https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&render=explicit" async defer></script> <script> methodStack.push(function () { }); </script>', 'frontTranslations' => array( 'checking' => 'Checking data' ), 'searchTerm' => null, 'metaTags' => array( (int) 1 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 12 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 19 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 27 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 28 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 3 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 13 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 17 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 11 => array( 'en' => 'http://www.operosa.org/gallery/video' ), (int) 15 => array( 'en' => 'http://www.operosa.org/gallery/video' ), (int) 23 => array( 'en' => 'http://www.operosa.org/gallery/video' ) ), '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' => '', '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', '1705269326387809'); fbq('track', 'PageView');</script><noscript><img height="1" width="1" src="https://www.facebook.com/tr?id=1705269326387809&ev=PageView&noscript=1"/></noscript> <!-- End Facebook Pixel Code -->', 'body_end' => '', 'seo_metatags' => 'a:0:{}', 'seo_generated_metatags' => null, 'created' => '2017-01-19 15:10:53', 'modified' => '2017-11-29 17:37:39', 'global_title_suffix' => 'Operosa', 'global_meta_title' => '', 'global_meta_description' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.', 'global_meta_keywords' => '', 'is_translated' => true, 'global_title_suffix__' => array( 'sr' => 'Operosa', 'en' => 'Operosa' ), 'global_meta_title__' => array( 'sr' => '', 'en' => '' ), 'global_meta_description__' => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), 'global_meta_keywords__' => array( 'sr' => '', 'en' => '' ), 'is_translated__' => array( 'sr' => true, 'en' => true ) ), 'forceTitle' => array( (int) 0 => 'Video', (int) 1 => 'Operosa' ), 'assets' => array( 'stylesheets' => array( (int) 5 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'javascripts' => array( (int) 99 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), 'page' => array( 'Page' => array( 'id' => (int) 97, 'identifier' => '', 'type' => 'Page', 'parent_id' => (int) 24, 'layout_id' => (int) 1, 'module_id' => null, 'change_frequency' => 'monthly', 'priority' => '0.5 - default', 'visible_when' => 'always', 'custom_css_class' => '', 'meta' => 'Generic', 'seo_metatags' => 'a:0:{}', 'seo_generated_metatags' => array( [maximum depth reached] ), 'seo_last_mod' => '2020-03-26 00:19:11', 'head_end' => '', 'body_start' => '', 'body_end' => '', 'stylesheet_set' => '', 'javascript_set' => '', 'is_default' => (int) 0, 'is_category' => (int) 1, 'is_visible' => (int) 1, 'url' => '', 'url_target' => (int) 0, 'lft' => (int) 147, 'rght' => (int) 160, 'is_active' => (int) 1, 'is_popup' => (int) 0, 'modified_by' => (int) 1, 'modified' => '2017-04-11 11:52:33', 'created_by' => (int) 1, 'created' => '2017-04-10 16:26:33', 'is_parent_title_hidden' => (int) 0, 'selected' => '0', 'title' => 'Video', 'title_short' => 'Video', 'page_summary' => '', 'menu_summary' => '', 'alternative_page_title' => 'Video Gallery', 'summary' => '', 'button_url' => '', 'button_text' => '', 'button_class' => '', 'button_alt_text' => '', 'button_alt_url' => '', 'slug' => 'video', 'content' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', 'meta_title' => null, 'meta_keywords' => null, 'meta_description' => null, 'is_translated' => (int) 1, 'title__' => array( [maximum depth reached] ), 'title_short__' => array( [maximum depth reached] ), 'page_summary__' => array( [maximum depth reached] ), 'menu_summary__' => array( [maximum depth reached] ), 'alternative_page_title__' => array( [maximum depth reached] ), 'summary__' => array( [maximum depth reached] ), 'button_url__' => array( [maximum depth reached] ), 'button_text__' => array( [maximum depth reached] ), 'button_class__' => array( [maximum depth reached] ), 'button_alt_text__' => array( [maximum depth reached] ), 'button_alt_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' => '/gallery/video' ), '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, 'cms_member_gallery_id' => null, 'show_in_gallery' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'Images' => array(), 'Documents' => array(), 'Seo' => array( 'metatag' => array([maximum depth reached]) ), 'HeroImage' => array( 'id' => '14665', 'locale' => null, 'association' => 'HeroImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'gallery_operosa.jpg', 'path' => 'upload/Page/HeroImage/2017-04/', 'filesize' => '169882', 'mimetype' => 'image/jpeg', 'title' => 'gallery operosa', 'meta' => array([maximum depth reached]), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 19:00:21', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/HeroImage/2017-04/gallery_operosa.jpg' ), 'DocumentSr' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'DocumentEn' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'MenuImage' => array( 'id' => '14664', 'locale' => null, 'association' => 'MenuImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'operosa_video_gallery~0.jpg', 'path' => 'upload/Page/MenuImage/2017-04/', 'filesize' => '80751', 'mimetype' => 'image/jpeg', 'title' => 'operosa video gallery', 'meta' => array([maximum depth reached]), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 18:59:22', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/MenuImage/2017-04/operosa_video_gallery~0.jpg' ), 'children' => array( 'operosa-workshops' => array( [maximum depth reached] ), 'operosa-studio-projects' => array( [maximum depth reached] ), 'operosa-opera-festivals' => array( [maximum depth reached] ), 'operosa-master-classes' => array( [maximum depth reached] ), 'operosa-media' => array( [maximum depth reached] ), 'youngopera' => array( [maximum depth reached] ) ), 'Layout' => array( 'id' => (int) 1, 'name' => 'default', 'slug' => 'default', 'body' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $parentPageHero = !empty($parentPage['HeroImage']['file']) ? $parentPage['HeroImage']['file'] : '/img/hero_temp.jpg'; ?> <?php require_once VECTORCMS_ROOT . 'webroot' . DS . 'plugins' . DS . 'mobile-detect' . DS . 'Mobile_Detect.php'; $detect = new Mobile_Detect; $socials = ClassRegistry::init('Social')->find('all', array()); // if($member) { // echo 'Logged in as ' . $member['first_name'] . ' ' . $member['last_name']; // } else { // echo 'Not logged in'; // } // die; $mneActive = $this->request->here == $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path'); ?> <header> <!-- Any mobile device (phones or tablets), open right menu --> <div class="open-menu" id="openRight"> <span class="open"></span> <span class="close"></span> </div> <?php if($authMember) { ?> <!-- Open left menu --> <div class="open-menu" id="openLeft"> <span class="icon-user open"></span> <span class="close"></span> </div> <?php } ?> <div class="logo mobile-logo"> <?= $this->element('nav/logo') ?> </div> <!-- Right side content on mobile/tablets --> <div class="off-canvas-right-content"> <?php if($authMember) { ?> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Search...') ?>" name="term" class="search-input" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> </form> </div> <?php } ?> <nav> <ul> <?= $this->Format->printMenu('nav/mobile_menu') ?> </ul> </nav> <div class="social-block"> <ul class="social"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> </ul> <ul class="lang"> <li class="<?php echo !$mneActive && $locale == 'en' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="<?php echo !$mneActive && $locale == 'sr' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> </ul> </div> </div> <!-- \\Right side content on mobile/tablets --> <?php if( !$detect->isMobile() && !$detect->isTablet() ){ ?> <div class="logo"> <?= $this->element('nav/logo') ?> </div> <div class="inner clearfix"> <nav> <ul> <?= $this->Format->printMenu('nav/desktop_menu') ?> </ul> </nav> </div> <div class="user-block"> <ul class="lang"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> <li class="separator"></li> <li class="forum-hide<?php echo !$mneActive && $locale == 'en' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="forum-hide<?php echo !$mneActive && $locale == 'sr' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="forum-hide<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> <li class="separator forum-hide"></li> <?php if($authMember) { ?> <li> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Press enter to search') ?>" name="term" class="search-input" onkeyup="buttonUp();" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> <span class="search-icon icon-search"></span> </form> </div> </li> <?php } ?> </ul> </div> <?php } ?> </header> <div class="page-hero" style="background-image: url(<?php echo !empty($page['HeroImage']['file']) ? $page['HeroImage']['file'] : $parentPageHero ?>);" > <div class="inner"> <div class="page-title"> <?php if(!isset($page['Page']['is_parent_title_hidden'])) { ?> <h2><?php echo $parentPage['Page']['title']?></h2> <?php } ?> <h1><?php echo !empty($page['Page']['alternative_page_title']) ? $page['Page']['alternative_page_title'] : $page['Page']['title']?></h1> <p><?php echo nl2br($page['Page']['page_summary']) ?></p> <?php if(!empty($page['Page']['button_text']) || !empty($page['Page']['button_alt_text'])) { ?> <div class="actions"> <?php if(!empty($page['Page']['button_text'])) { ?> <a href="<?= $page['Page']['button_url'] ?>" class="button btn-big btn-light <?= $page['Page']['button_class'] ?>"><?= $page['Page']['button_text'] ?></a> <?php } ?> <?php if(!empty($page['Page']['button_alt_text'])) { ?> <a href="<?= $page['Page']['button_alt_url'] ?>" class="button btn-big btn-light" target="_blank"><?= $page['Page']['button_alt_text'] ?></a> <?php } ?> </div> <?php } ?> </div> </div> </div> <?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main> <?php $setting = ClassRegistry::init('Setting')->find('first', array()); ?> <footer> <div class="newsletter"> <div class="inner"> <div class="row"> <div class="__7 st__6 lt__3 column newsletter-text"> <div> <h2>Join Our</h2> <h3>mailing list</h3> </div> <div> <p><?= $setting['Setting']['newsletter_text']?></p> </div> </div> <div class="__5 st__6 lt__3 column newsletter-form"> <div class="field"> <form id="newsletterForm" action="/api/v1/newsletter" method="post"> <div> <input name="data[email]" type="text" placeholder="<?= __('Your email address') ?>"/> <button><span class="icon-arrow-right"></span></button> </div> <div class="form-message"></div> </form> </div> </div> </div> </div> </div> <div class="info"> <div class="inner"> <div class="row"> <div class="__5 column info-block"><p>Copyright © <?= date('Y')?> Operosa.Ltd. <?= __('All rights reserved') ?></p></div> <div class="__2 column info-block"><p><a href="mailto:<?= $setting['Setting']['email']?>"><?= $setting['Setting']['email']?></a></p></div> <div class="__5 column info-block"><p>Design & development: <a href="https://intellex.rs" target="_blank">Intellex</a></p></div> <div class="__5 column info-block"><p><a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::TERMS_PAGE, $sitemap, 'path') ?>" target="_blank">Terms and Conditions</a></p></div> </div> </div> </div> </footer> <div class="popups" style="display:none"> <?php if(!isset($currentMember)) { ?> <!-- Login popup --> <div id="loginPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="login"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <?= $this->element('auth/login') ?> </div> </div> <!-- Login popup --> <!-- Signup popup --> <div id="signUpPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="signup"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Registration</h2> <p></p> <div class="form"> <form class="form-signup" action="/api/v2/auth/signup" method="post" data-recaptcha="true"> <div class="form-message"></div> <div class="field-item"> <div class="field"><input type="text" name="data[first_name]" placeholder="First name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[last_name]" placeholder="Last name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light">Sign up</button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> <div class="text-center" style="display: flex; align-items: center; justify-content: center"> <div class="recaptcha-holder" style="margin: auto!important"></div> </div> </form> </div> </div> </div> <!-- Signup popup --> <!-- Forgot password popup --> <div id="forgotPassPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="forgot"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Password reset</h2> <p>Please insert your email and reset instructions will be sent to it.</p> <div class="form"> <form class="form-reset" action="/api/v2/auth/reset" method="post"> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> </form> </div> </div> </div> <!-- Forgot password popup --> <?php } else { ?> <!-- Change password popup --> <div id="changePassPopup" class="popup change-pass-popup standard-popup" style="display: none" data-vector-module="Profile" data-vector-action="changePassword"> <div class="popup-heading"> <h2>Password change</h2> </div> <div class="popup-body"> <div class="text text-padd"> <p>Please insert your old, new and repeat new password in order to change current password.</p> </div> <form class="form-change-pass" action="/api/v2/profile/change_password" method="post"> <div class="form"> <div class="field-item"> <div class="field"><input type="password" name="data[old_password]" placeholder="Old password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[new_password]" placeholder="New password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[repeated_new_password]" placeholder="Repeat new password" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Close</button> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> </form> </div> </div> <!-- Change password popup --> <!-- notification popup --> <div class="popup notification-popup login-popup"> <div class="close-popup"><a href="javascript:void(0)">x</a></div> <div class="popup-text"> <h2 class="lbl-notification-title"></h2> <div class="lbl-notification-message"></div> </div> </div> <!-- notification popup --> <!-- Upload photo to gallery popup --> <div id="uploadPhotoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new photo to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-photo-to-gallery" action="/api/v2/gallery/upload_photo" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('photo_file', __('Select photo')) ?> <div class="field-item"> <label>Photo title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload photo to gallery popup --> <!-- Upload audio to gallery popup --> <div id="uploadAudioToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new audio to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-audio-to-gallery" action="/api/v2/gallery/upload_audio" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('audio_file', __('Select audio file'), FrontHelper::EXT_AUDIO) ?> <div class="field-item"> <label>Audio title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload audio to gallery popup --> <!-- Upload video to gallery popup --> <div id="uploadVideoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new video to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-video-to-gallery" action="/api/v2/gallery/upload_video" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('video_file', __('Select video file'), FrontHelper::EXT_VIDEO, '150MB') ?> <div class="field-item"> <label>Video title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload video to gallery popup --> <!-- Delete gallery item popup --> <div id="deleteGalleryItem" class="popup standard-popup" style="display: none"> <div class="popup-heading"> <h2>Delete gallery</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> <span class="lbl-item-title">Montenegro Opera Festival 2016 – Opera in the street</span>?</p> </div> <div class="popup-actions"> <button class="button btn-big btn-lighter close-popup">No</button> <button class="button btn-big btn-dark btn-confirm">Yes</button> </div> </div> </div> <!-- \\ Delete gallery item popup --> <!-- Delete post popup --> <div id="deletePostPopup" class="popup standard-popup"> <div class="popup-heading"> <h2>Delete post</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> "<span class="lbl-post-title"></span>"?</p> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark btn-confirm">Delete</button> </div> </div> </div> <!-- \\ Delete post popup --> <?php } ?> </div> <script src="https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&render=explicit" async defer></script> <script> methodStack.push(function () { }); </script>', 'stylesheet_set' => '1,5,4', 'javascript_set' => '2,4,5,7,8,9,10,99,1' ), 'Content' => array( 'Body' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', '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] ) ), 'Javascript' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'here' => '/gallery/video', 'sitemap' => array( 'main-navigation' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array( [maximum depth reached] ) ), 'operosa-activities-' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array( [maximum depth reached] ) ), 'helper-navigation' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array( [maximum depth reached] ) ) ), 'flatSitemap' => null, 'activePage' => array( 'Page' => array( 'id' => (int) 97, 'identifier' => '', 'type' => 'Page', 'parent_id' => (int) 24, 'layout_id' => (int) 1, 'module_id' => null, 'change_frequency' => 'monthly', 'priority' => '0.5 - default', 'visible_when' => 'always', 'custom_css_class' => '', 'meta' => 'Generic', 'seo_metatags' => 'a:0:{}', 'seo_generated_metatags' => array( [maximum depth reached] ), 'seo_last_mod' => '2020-03-26 00:19:11', 'head_end' => '', 'body_start' => '', 'body_end' => '', 'stylesheet_set' => '', 'javascript_set' => '', 'is_default' => (int) 0, 'is_category' => (int) 1, 'is_visible' => (int) 1, 'url' => '', 'url_target' => (int) 0, 'lft' => (int) 147, 'rght' => (int) 160, 'is_active' => (int) 1, 'is_popup' => (int) 0, 'modified_by' => (int) 1, 'modified' => '2017-04-11 11:52:33', 'created_by' => (int) 1, 'created' => '2017-04-10 16:26:33', 'is_parent_title_hidden' => (int) 0, 'selected' => '0', 'title' => 'Video', 'title_short' => 'Video', 'page_summary' => '', 'menu_summary' => '', 'alternative_page_title' => 'Video Gallery', 'summary' => '', 'button_url' => '', 'button_text' => '', 'button_class' => '', 'button_alt_text' => '', 'button_alt_url' => '', 'slug' => 'video', 'content' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', 'meta_title' => null, 'meta_keywords' => null, 'meta_description' => null, 'is_translated' => (int) 1, 'title__' => array( [maximum depth reached] ), 'title_short__' => array( [maximum depth reached] ), 'page_summary__' => array( [maximum depth reached] ), 'menu_summary__' => array( [maximum depth reached] ), 'alternative_page_title__' => array( [maximum depth reached] ), 'summary__' => array( [maximum depth reached] ), 'button_url__' => array( [maximum depth reached] ), 'button_text__' => array( [maximum depth reached] ), 'button_class__' => array( [maximum depth reached] ), 'button_alt_text__' => array( [maximum depth reached] ), 'button_alt_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' => '/gallery/video' ), '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, 'cms_member_gallery_id' => null, 'show_in_gallery' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'Images' => array(), 'Documents' => array(), 'Seo' => array( 'metatag' => array([maximum depth reached]) ), 'HeroImage' => array( 'id' => '14665', 'locale' => null, 'association' => 'HeroImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'gallery_operosa.jpg', 'path' => 'upload/Page/HeroImage/2017-04/', 'filesize' => '169882', 'mimetype' => 'image/jpeg', 'title' => 'gallery operosa', 'meta' => array([maximum depth reached]), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 19:00:21', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/HeroImage/2017-04/gallery_operosa.jpg' ), 'DocumentSr' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'DocumentEn' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'MenuImage' => array( 'id' => '14664', 'locale' => null, 'association' => 'MenuImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'operosa_video_gallery~0.jpg', 'path' => 'upload/Page/MenuImage/2017-04/', 'filesize' => '80751', 'mimetype' => 'image/jpeg', 'title' => 'operosa video gallery', 'meta' => array([maximum depth reached]), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 18:59:22', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/MenuImage/2017-04/operosa_video_gallery~0.jpg' ), 'children' => array( 'operosa-workshops' => array( [maximum depth reached] ), 'operosa-studio-projects' => array( [maximum depth reached] ), 'operosa-opera-festivals' => array( [maximum depth reached] ), 'operosa-master-classes' => array( [maximum depth reached] ), 'operosa-media' => array( [maximum depth reached] ), 'youngopera' => array( [maximum depth reached] ) ), 'Layout' => array( 'id' => (int) 1, 'name' => 'default', 'slug' => 'default', 'body' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $parentPageHero = !empty($parentPage['HeroImage']['file']) ? $parentPage['HeroImage']['file'] : '/img/hero_temp.jpg'; ?> <code cms="element" id="1">Header</code> <div class="page-hero" style="background-image: url(<?php echo !empty($page['HeroImage']['file']) ? $page['HeroImage']['file'] : $parentPageHero ?>);" > <div class="inner"> <div class="page-title"> <?php if(!isset($page['Page']['is_parent_title_hidden'])) { ?> <h2><?php echo $parentPage['Page']['title']?></h2> <?php } ?> <h1><?php echo !empty($page['Page']['alternative_page_title']) ? $page['Page']['alternative_page_title'] : $page['Page']['title']?></h1> <p><?php echo nl2br($page['Page']['page_summary']) ?></p> <?php if(!empty($page['Page']['button_text']) || !empty($page['Page']['button_alt_text'])) { ?> <div class="actions"> <?php if(!empty($page['Page']['button_text'])) { ?> <a href="<?= $page['Page']['button_url'] ?>" class="button btn-big btn-light <?= $page['Page']['button_class'] ?>"><?= $page['Page']['button_text'] ?></a> <?php } ?> <?php if(!empty($page['Page']['button_alt_text'])) { ?> <a href="<?= $page['Page']['button_alt_url'] ?>" class="button btn-big btn-light" target="_blank"><?= $page['Page']['button_alt_text'] ?></a> <?php } ?> </div> <?php } ?> </div> </div> </div> <code cms="block" name="content"></code> <code cms="element" id="2">Footer</code> <script> methodStack.push(function () { }); </script>', 'stylesheet_set' => '1,5,4', 'javascript_set' => '2,4,5,7,8,9,10,99,1' ), 'Content' => array( 'Body' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', '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] ) ), 'Javascript' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'pageTitleAppend' => null, '_cookies' => array( 'language' => 'en' ), 'currentMember' => null, 'authMember' => null, 'isAjax' => false, 'referer' => '/', 'fieldOptions' => array(), '_actions' => array(), 'controller' => 'front', 'user' => false, 'locale' => 'en', 'localelessHere' => '/gallery/video', 'plural' => 'fronts', 'singular' => 'front', 'modelClass' => 'Front', 'serviceContainer' => object(ServiceContainer) { serviceConfig => array( [maximum depth reached] ) instances => array( [maximum depth reached] ) } ) $html = '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $parentPageHero = !empty($parentPage['HeroImage']['file']) ? $parentPage['HeroImage']['file'] : '/img/hero_temp.jpg'; ?> <?php require_once VECTORCMS_ROOT . 'webroot' . DS . 'plugins' . DS . 'mobile-detect' . DS . 'Mobile_Detect.php'; $detect = new Mobile_Detect; $socials = ClassRegistry::init('Social')->find('all', array()); // if($member) { // echo 'Logged in as ' . $member['first_name'] . ' ' . $member['last_name']; // } else { // echo 'Not logged in'; // } // die; $mneActive = $this->request->here == $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path'); ?> <header> <!-- Any mobile device (phones or tablets), open right menu --> <div class="open-menu" id="openRight"> <span class="open"></span> <span class="close"></span> </div> <?php if($authMember) { ?> <!-- Open left menu --> <div class="open-menu" id="openLeft"> <span class="icon-user open"></span> <span class="close"></span> </div> <?php } ?> <div class="logo mobile-logo"> <?= $this->element('nav/logo') ?> </div> <!-- Right side content on mobile/tablets --> <div class="off-canvas-right-content"> <?php if($authMember) { ?> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Search...') ?>" name="term" class="search-input" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> </form> </div> <?php } ?> <nav> <ul> <?= $this->Format->printMenu('nav/mobile_menu') ?> </ul> </nav> <div class="social-block"> <ul class="social"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> </ul> <ul class="lang"> <li class="<?php echo !$mneActive && $locale == 'en' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="<?php echo !$mneActive && $locale == 'sr' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> </ul> </div> </div> <!-- \\Right side content on mobile/tablets --> <?php if( !$detect->isMobile() && !$detect->isTablet() ){ ?> <div class="logo"> <?= $this->element('nav/logo') ?> </div> <div class="inner clearfix"> <nav> <ul> <?= $this->Format->printMenu('nav/desktop_menu') ?> </ul> </nav> </div> <div class="user-block"> <ul class="lang"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> <li class="separator"></li> <li class="forum-hide<?php echo !$mneActive && $locale == 'en' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="forum-hide<?php echo !$mneActive && $locale == 'sr' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="forum-hide<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> <li class="separator forum-hide"></li> <?php if($authMember) { ?> <li> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Press enter to search') ?>" name="term" class="search-input" onkeyup="buttonUp();" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> <span class="search-icon icon-search"></span> </form> </div> </li> <?php } ?> </ul> </div> <?php } ?> </header> <div class="page-hero" style="background-image: url(<?php echo !empty($page['HeroImage']['file']) ? $page['HeroImage']['file'] : $parentPageHero ?>);" > <div class="inner"> <div class="page-title"> <?php if(!isset($page['Page']['is_parent_title_hidden'])) { ?> <h2><?php echo $parentPage['Page']['title']?></h2> <?php } ?> <h1><?php echo !empty($page['Page']['alternative_page_title']) ? $page['Page']['alternative_page_title'] : $page['Page']['title']?></h1> <p><?php echo nl2br($page['Page']['page_summary']) ?></p> <?php if(!empty($page['Page']['button_text']) || !empty($page['Page']['button_alt_text'])) { ?> <div class="actions"> <?php if(!empty($page['Page']['button_text'])) { ?> <a href="<?= $page['Page']['button_url'] ?>" class="button btn-big btn-light <?= $page['Page']['button_class'] ?>"><?= $page['Page']['button_text'] ?></a> <?php } ?> <?php if(!empty($page['Page']['button_alt_text'])) { ?> <a href="<?= $page['Page']['button_alt_url'] ?>" class="button btn-big btn-light" target="_blank"><?= $page['Page']['button_alt_text'] ?></a> <?php } ?> </div> <?php } ?> </div> </div> </div> <?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main> <?php $setting = ClassRegistry::init('Setting')->find('first', array()); ?> <footer> <div class="newsletter"> <div class="inner"> <div class="row"> <div class="__7 st__6 lt__3 column newsletter-text"> <div> <h2>Join Our</h2> <h3>mailing list</h3> </div> <div> <p><?= $setting['Setting']['newsletter_text']?></p> </div> </div> <div class="__5 st__6 lt__3 column newsletter-form"> <div class="field"> <form id="newsletterForm" action="/api/v1/newsletter" method="post"> <div> <input name="data[email]" type="text" placeholder="<?= __('Your email address') ?>"/> <button><span class="icon-arrow-right"></span></button> </div> <div class="form-message"></div> </form> </div> </div> </div> </div> </div> <div class="info"> <div class="inner"> <div class="row"> <div class="__5 column info-block"><p>Copyright © <?= date('Y')?> Operosa.Ltd. <?= __('All rights reserved') ?></p></div> <div class="__2 column info-block"><p><a href="mailto:<?= $setting['Setting']['email']?>"><?= $setting['Setting']['email']?></a></p></div> <div class="__5 column info-block"><p>Design & development: <a href="https://intellex.rs" target="_blank">Intellex</a></p></div> <div class="__5 column info-block"><p><a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::TERMS_PAGE, $sitemap, 'path') ?>" target="_blank">Terms and Conditions</a></p></div> </div> </div> </div> </footer> <div class="popups" style="display:none"> <?php if(!isset($currentMember)) { ?> <!-- Login popup --> <div id="loginPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="login"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <?= $this->element('auth/login') ?> </div> </div> <!-- Login popup --> <!-- Signup popup --> <div id="signUpPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="signup"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Registration</h2> <p></p> <div class="form"> <form class="form-signup" action="/api/v2/auth/signup" method="post" data-recaptcha="true"> <div class="form-message"></div> <div class="field-item"> <div class="field"><input type="text" name="data[first_name]" placeholder="First name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[last_name]" placeholder="Last name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light">Sign up</button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> <div class="text-center" style="display: flex; align-items: center; justify-content: center"> <div class="recaptcha-holder" style="margin: auto!important"></div> </div> </form> </div> </div> </div> <!-- Signup popup --> <!-- Forgot password popup --> <div id="forgotPassPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="forgot"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Password reset</h2> <p>Please insert your email and reset instructions will be sent to it.</p> <div class="form"> <form class="form-reset" action="/api/v2/auth/reset" method="post"> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> </form> </div> </div> </div> <!-- Forgot password popup --> <?php } else { ?> <!-- Change password popup --> <div id="changePassPopup" class="popup change-pass-popup standard-popup" style="display: none" data-vector-module="Profile" data-vector-action="changePassword"> <div class="popup-heading"> <h2>Password change</h2> </div> <div class="popup-body"> <div class="text text-padd"> <p>Please insert your old, new and repeat new password in order to change current password.</p> </div> <form class="form-change-pass" action="/api/v2/profile/change_password" method="post"> <div class="form"> <div class="field-item"> <div class="field"><input type="password" name="data[old_password]" placeholder="Old password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[new_password]" placeholder="New password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[repeated_new_password]" placeholder="Repeat new password" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Close</button> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> </form> </div> </div> <!-- Change password popup --> <!-- notification popup --> <div class="popup notification-popup login-popup"> <div class="close-popup"><a href="javascript:void(0)">x</a></div> <div class="popup-text"> <h2 class="lbl-notification-title"></h2> <div class="lbl-notification-message"></div> </div> </div> <!-- notification popup --> <!-- Upload photo to gallery popup --> <div id="uploadPhotoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new photo to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-photo-to-gallery" action="/api/v2/gallery/upload_photo" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('photo_file', __('Select photo')) ?> <div class="field-item"> <label>Photo title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload photo to gallery popup --> <!-- Upload audio to gallery popup --> <div id="uploadAudioToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new audio to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-audio-to-gallery" action="/api/v2/gallery/upload_audio" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('audio_file', __('Select audio file'), FrontHelper::EXT_AUDIO) ?> <div class="field-item"> <label>Audio title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload audio to gallery popup --> <!-- Upload video to gallery popup --> <div id="uploadVideoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new video to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-video-to-gallery" action="/api/v2/gallery/upload_video" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('video_file', __('Select video file'), FrontHelper::EXT_VIDEO, '150MB') ?> <div class="field-item"> <label>Video title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload video to gallery popup --> <!-- Delete gallery item popup --> <div id="deleteGalleryItem" class="popup standard-popup" style="display: none"> <div class="popup-heading"> <h2>Delete gallery</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> <span class="lbl-item-title">Montenegro Opera Festival 2016 – Opera in the street</span>?</p> </div> <div class="popup-actions"> <button class="button btn-big btn-lighter close-popup">No</button> <button class="button btn-big btn-dark btn-confirm">Yes</button> </div> </div> </div> <!-- \\ Delete gallery item popup --> <!-- Delete post popup --> <div id="deletePostPopup" class="popup standard-popup"> <div class="popup-heading"> <h2>Delete post</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> "<span class="lbl-post-title"></span>"?</p> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark btn-confirm">Delete</button> </div> </div> </div> <!-- \\ Delete post popup --> <?php } ?> </div> <script src="https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&render=explicit" async defer></script> <script> methodStack.push(function () { }); </script>' $frontTranslations = array( 'checking' => 'Checking data' ) $searchTerm = null $metaTags = array( (int) 1 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 12 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 19 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 27 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 28 => array( 'sr' => 'Video', 'en' => 'Video' ), (int) 3 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 13 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 17 => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), (int) 11 => array( 'en' => 'http://www.operosa.org/gallery/video' ), (int) 15 => array( 'en' => 'http://www.operosa.org/gallery/video' ), (int) 23 => array( 'en' => 'http://www.operosa.org/gallery/video' ) ) $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' => '', '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', '1705269326387809'); fbq('track', 'PageView');</script><noscript><img height="1" width="1" src="https://www.facebook.com/tr?id=1705269326387809&ev=PageView&noscript=1"/></noscript> <!-- End Facebook Pixel Code -->', 'body_end' => '', 'seo_metatags' => 'a:0:{}', 'seo_generated_metatags' => null, 'created' => '2017-01-19 15:10:53', 'modified' => '2017-11-29 17:37:39', 'global_title_suffix' => 'Operosa', 'global_meta_title' => '', 'global_meta_description' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.', 'global_meta_keywords' => '', 'is_translated' => true, 'global_title_suffix__' => array( 'sr' => 'Operosa', 'en' => 'Operosa' ), 'global_meta_title__' => array( 'sr' => '', 'en' => '' ), 'global_meta_description__' => array( 'sr' => 'Operosa je operski i festival klasične muzike koji je osnovala mecosopran Katherine Haataja 2006. godine u svrhu promocije mladih operskih talenata i savremenog izraza modernoj publici. Cilj Operose jeste da se fokusira na repertoar koji odgovara mladim operskim pevačima, radeći sa vrhunskim producentima i prikazujući operu kao modernu i zabavnu formu.', 'en' => 'Operosa is a classical music and opera festival founded by Finnish mezzo soprano Katherine Haataja in 2006. Operosa promotes young opera talent and contemporary interpretation to a modern audience. The aim of Operosa is to focus on repertoire ideally suited for young opera singers while working with leading international guest artistic directors and showcasing opera as a modern form of art and entertainment.' ), 'global_meta_keywords__' => array( 'sr' => '', 'en' => '' ), 'is_translated__' => array( 'sr' => true, 'en' => true ) ) $forceTitle = array( (int) 0 => 'Video', (int) 1 => 'Operosa' ) $assets = array( 'stylesheets' => array( (int) 5 => array( 'id' => (int) 5, 'name' => 'select2.min', 'data' => '.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb} ', 'modified' => '2017-01-20 16:44:44' ), (int) 4 => array( 'id' => (int) 4, 'name' => 'jquery.slider.slick', 'data' => '/* Slider */ .slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; } .slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; } .slick-list:focus { outline: none; } .slick-list.dragging { cursor: pointer; cursor: hand; } .slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .slick-track { position: relative; top: 0; left: 0; display: block; } .slick-track:before, .slick-track:after { display: table; content: ''; } .slick-track:after { clear: both; } .slick-loading .slick-track { visibility: hidden; } .slick-slide { display: none; float: left; height: 100%; min-height: 1px; } [dir='rtl'] .slick-slide { float: right; } .slick-slide img { display: block; } .slick-slide.slick-loading img { display: none; } .slick-slide.dragging img { pointer-events: none; } .slick-initialized .slick-slide { display: block !important; } .slick-loading .slick-slide { visibility: hidden; } .slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; } .slick-arrow.slick-hidden { display: none; } ', 'modified' => '2017-01-20 16:44:44' ), (int) 1 => array( 'id' => (int) 1, 'name' => 'main', 'data' => '/*======================= CSS Reset ===========================*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, section, main, footer, header, figure, aside, input, textarea, i, mark, *:before, *:after { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: top; background: transparent; line-height: 1; -webkit-font-smoothing: antialiased; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html, body { 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 ===========================*/ .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } .clearfix { display: block; } * html .clearfix { height: 1%; } table, table td tr { border: none; border-collapse: collapse; } .block { display: block !important; } @font-face { font-family: 'montserrathairline'; src: url("/font/montserrat-hairline-webfont.eot"); src: url("/font/montserrat-hairline-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-hairline-webfont.woff2") format("woff2"), url("/font/montserrat-hairline-webfont.woff") format("woff"), url("/font/montserrat-hairline-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'montserratlight'; src: url("/font/montserrat-light-webfont.eot"); src: url("/font/montserrat-light-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-light-webfont.woff2") format("woff2"), url("/font/montserrat-light-webfont.woff") format("woff"), url("/font/montserrat-light-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'montserratregular'; src: url("/font/montserrat-regular-webfont.eot"); src: url("/font/montserrat-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-regular-webfont.woff2") format("woff2"), url("/font/montserrat-regular-webfont.woff") format("woff"), url("/font/montserrat-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'playfair_displayregular'; src: url("/font/playfairdisplay-regular-webfont.eot"); src: url("/font/playfairdisplay-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/playfairdisplay-regular-webfont.woff2") format("woff2"), url("/font/playfairdisplay-regular-webfont.woff") format("woff"), url("/font/playfairdisplay-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @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.woff2") format("woff2"), 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: 'robotomedium'; src: url("/font/roboto-medium-webfont.eot"); src: url("/font/roboto-medium-webfont.eot?#iefix") format("embedded-opentype"), url("/font/roboto-medium-webfont.woff2") format("woff2"), url("/font/roboto-medium-webfont.woff") format("woff"), url("/font/roboto-medium-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'robotoregular'; src: url("/font/roboto-regular-webfont.eot"); src: url("/font/roboto-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/roboto-regular-webfont.woff2") format("woff2"), url("/font/roboto-regular-webfont.woff") format("woff"), url("/font/roboto-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'icomoon'; src: url("/font/icomoon.eot?7x7kcg"); src: url("/font/icomoon.eot?7x7kcg#iefix") format("embedded-opentype"), url("/font/icomoon.ttf?7x7kcg") format("truetype"), url("/font/icomoon.woff?7x7kcg") format("woff"), url("/font/icomoon.svg?7x7kcg#icomoon") format("svg"); font-weight: normal; font-style: normal; } [class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-user:before { content: "\e92a"; } .icon-ask:before { content: "\e929"; } .icon-arrow-down:before { content: "\e900"; } .icon-arrow-right:before { content: "\e901"; } .icon-arrow-up:before { content: "\e902"; } .icon-check:before { content: "\e903"; } .icon-comment:before { content: "\e904"; } .icon-contact-email:before { content: "\e905"; } .icon-contact-facebook:before { content: "\e906"; } .icon-contact-linkedin:before { content: "\e907"; } .icon-contact-twitter:before { content: "\e908"; } .icon-edit:before { content: "\e909"; } .icon-envelope:before { content: "\e90a"; } .icon-folder:before { content: "\e90b"; } .icon-gallery:before { content: "\e90c"; } .icon-gallery-audio:before { content: "\e90d"; } .icon-gallery-photo:before { content: "\e90e"; } .icon-gallery-video:before { content: "\e90f"; } .icon-logout:before { content: "\e910"; } .icon-messages:before { content: "\e911"; } .icon-notifications:before { content: "\e912"; } .icon-operosa:before { content: "\e913"; } .icon-piace:before { content: "\e914"; } .icon-player-backward:before { content: "\e915"; } .icon-player-forward:before { content: "\e916"; } .icon-player-pause:before { content: "\e917"; } .icon-player-play:before { content: "\e918"; } .icon-posts:before { content: "\e919"; } .icon-search:before { content: "\e91a"; } .icon-select:before { content: "\e91b"; } .icon-send:before { content: "\e91c"; } .icon-share:before { content: "\e91d"; } .icon-social-facebook:before { content: "\e91e"; } .icon-social-instagram:before { content: "\e91f"; } .icon-social-linkedin:before { content: "\e920"; } .icon-social-twitter:before { content: "\e921"; } .icon-social-youtube:before { content: "\e922"; } .icon-timeline:before { content: "\e923"; } .icon-trash:before { content: "\e924"; } .icon-triangle-down:before { content: "\e925"; } .icon-video-play:before { content: "\e926"; } .icon-volume:before { content: "\e927"; } .icon-volume-mute:before { content: "\e928"; } body { font-size: 17px; font-family: 'robotolight'; color: #7f7f85; } h1, h2, h3, h4, h5, h6 { font-weight: normal; } /*======================= Clearfix ===========================*/ .clear { clear: both; font-size: 1px; line-height: 0; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-block; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* End hide from IE-mac */ /*======================= Helpers ===========================*/ .left { float: left !important; } .right { float: right !important; } .no-padd { padding: 0 !important; } img { width: 100%; height: auto; display: block; } html, body { height: 100%; } body { left: 0; right: 0; position: relative; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /*======================= HEADER ===========================*/ header { width: 100%; position: fixed; left: 0; right: 0; top: 0; z-index: 2; padding: 0 20px; box-sizing: border-box; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } @media only screen and (max-width: 767px) { header { width: 100%; padding: 10px 5%; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { header { width: 100%; padding: 15px 5%; } } header:after { height: 1px; content: ""; background: rgba(255, 255, 255, 0.14); position: absolute; left: 50px; right: 50px; bottom: 0; } @media only screen and (max-width: 1279px) { header:after { display: none; } } header .logo { position: absolute; left: 50px; top: 30px; width: 198px; max-height: 45px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } header .logo a { display: block; } header .logo a svg { fill: #b5975c; display: block; } header .logo a:hover { opacity: .6; } @media only screen and (max-width: 1279px) { header .logo { display: none; } } @media only screen and (min-width: 1280px) and (max-width: 1366px) { header.search-is-open { padding: 0 120px; } } @media only screen and (min-width: 1280px) and (max-width: 1366px) { header.search-is-open > ul li { margin: 0 6px; } } header .inner { width: 1170px; position: relative; max-width: 85%; } @media only screen and (max-width: 1279px) { header .inner { display: none; } } header .inner nav { padding: 0 70px; position: relative; z-index: 99; } @media only screen and (min-width: 1280px) and (max-width: 1365px) { header .inner nav { padding: 0 50px; } } header .inner nav > ul { display: block; text-align: center; } header .inner nav > ul li { display: inline-block; vertical-align: middle; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li.auth-section { margin-top: -30px !important; } header .inner nav > ul li.auth-section a { cursor: pointer; } header .inner nav > ul li a { font-size: 15px; color: #8a8374; font-family: 'montserratregular'; text-transform: uppercase; padding: 46px 15px; display: block; position: relative; } @media only screen and (max-width: 1600px) { header .inner nav > ul li a { font-size: 0.85rem; } } @media only screen and (min-width: 1280px) and (max-width: 1365px) { header .inner nav > ul li a { padding: 46px 8px; } } header .inner nav > ul li a:hover { color: #b5975c; text-decoration: none; } header .inner nav > ul li a span { color: #b5975c; font-size: 3px; position: relative; top: 5px; margin: 0 0 0 2px; } header .inner nav > ul li .submenu { width: 100%; border-top: 2px solid #b5975c; position: absolute; top: 104px; left: 0; background: #ffffff; padding: 20px; box-sizing: border-box; display: none; -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; -webkit-box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); } header .inner nav > ul li .submenu .row { margin: 0 -7px; } header .inner nav > ul li .submenu .row .column { padding: 0 7px; text-align: center; } header .inner nav > ul li .submenu .row .column:first-child { margin: 0; } header .inner nav > ul li .submenu .row .column a { padding: 0; } header .inner nav > ul li .submenu .row .column a > div { position: relative; /*margin: 0 0 10px 0;*/ } header .inner nav > ul li .submenu .row .column a > div h2 { width: 100%; display: block; color: #fff; font-size: 15px; position: absolute; bottom: 15px; z-index: 3; font-family: 'montserratregular'; text-transform: uppercase; } header .inner nav > ul li .submenu .row .column a > div .img { position: relative; -webkit-transition: color 0.3s ease-out; -moz-transition: color 0.3s ease-out; -ms-transition: color 0.3s ease-out; -o-transition: color 0.3s ease-out; transition: color 0.3s ease-out; overflow: hidden; height: 100px; } header .inner nav > ul li .submenu .row .column a > div .img img { position: relative; z-index: 1; -webkit-filter: grayscale(80%); -moz-filter: grayscale(80%); -ms-filter: grayscale(80%); -o-filter: grayscale(80%); filter: grayscale(80%); -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li .submenu .row .column a > div .img:after { width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); position: absolute; content: ""; z-index: 2; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li .submenu .row .column a p { width: 86%; margin: 0 auto; color: #68687d; font-size: 13px; text-transform: none; font-family: 'robotolight'; line-height: 20px; } header .inner nav > ul li .submenu .row .column a:hover .img img { -webkit-filter: grayscale(0); -moz-filter: grayscale(0); -ms-filter: grayscale(0); -o-filter: grayscale(0); filter: grayscale(0); } header .inner nav > ul li .submenu .row .column a:hover .img:after { opacity: .5; } header .inner nav > ul li:hover > .submenu { z-index: 9999; display: block; } header .inner nav > ul li:hover > a { color: #b5975c; } header .inner nav > ul li.dropdown > a:after { opacity: 0; visibility: hidden; width: 31px; height: 9px; background: url("/img/dropdown.png") no-repeat bottom center; position: absolute; bottom: 0; left: 50%; margin: 0 0 0 -15px; content: ""; -webkit-transition: all 0.1s ease; -moz-transition: all 0.1s ease; -ms-transition: all 0.1s ease; -o-transition: all 0.1s ease; transition: all 0.1s ease; } header .inner nav > ul li.dropdown:hover a:after { opacity: 1; visibility: visible; overflow: visible; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } header .user-block { position: absolute; top: 34px; right: 50px; text-align: right; z-index: 112; -webkit-transition: top 0.2s ease; -moz-transition: top 0.2s ease; -ms-transition: top 0.2s ease; -o-transition: top 0.2s ease; transition: top 0.2s ease; /* Languages */ /* Search */ } @media only screen and (min-width: 1280px) and (max-width: 1600px) { header .user-block { right: 10px; } } @media only screen and (max-width: 1279px) { header .user-block { display: none; } } header .user-block ul.lang { display: inline-block; vertical-align: top; margin: 2px 0 0 0; padding: 10px 0; position: relative; } header .user-block ul.lang li { text-align: left; display: inline-block; margin: 0 5px; z-index: 111; } header .user-block ul.lang li a { font-size: 13px; color: #8a8374; text-transform: uppercase; } header .user-block ul.lang li a:hover { color: #fff; } header .user-block ul.lang li.separator { width: 2px; height: 15px; background: rgba(255, 255, 255, 0.5); } header .user-block ul.lang li:last-child:not(.separator) { width: 20px; height: 17px; } header .user-block ul.lang li.active a { color: #fff; } header .user-block ul.lang.search-is-open li { opacity: 0; z-index: 0; } header .user-block ul.lang.search-is-open li:last-child { opacity: 1; z-index: 999; } header .user-block ul.lang.search-is-open li:last-child .search form .search-input { opacity: 0; } header .user-block .search { display: block; } header .user-block .search form { width: 40px; overflow: hidden; right: 0; top: 0px; bottom: 0px; position: absolute; -webkit-transition: width 0.3s; -moz-transition: width 0.3s; -ms-transition: width 0.3s; -o-transition: width 0.3s; transition: width 0.3s; } header .user-block .search form .search-input { top: 0; right: 0; border: 0; outline: 0; width: 100%; height: 36px; margin: 0; padding: 0px 55px 0px 10px; font-size: 14px; color: #777163; background: none; opacity: 0; } header .user-block .search form .search-input::-webkit-input-placeholder { color: #777163; } header .user-block .search form .search-input:-moz-placeholder { color: #777163; } header .user-block .search form .search-input::-moz-placeholder { color: #777163; } header .user-block .search form .search-input:-ms-input-placeholder { color: #777163; } header .user-block .search .search-icon, header .user-block .search .search-submit { width: 36px; height: 36px; display: block; position: absolute; top: 0; font-size: 17px; right: 0; margin: 0; border: 0; outline: 0; text-align: center; cursor: pointer; color: #dcddd8; padding: 10px 0 0 0; background: none; } header .user-block .search .search-submit { padding: 0; } header .user-block .search.search-open form { width: 100%; } header .user-block .search.search-open form .search-input { border-bottom: 1px solid #8a8374; opacity: 1 !important; } header .user-block .search.search-open form .search-icon { display: none; } header .mobile-logo { width: 165px; max-height: 40px; position: relative; top: auto !important; left: auto !important; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; display: none; } @media only screen and (max-width: 1279px) { header .mobile-logo { display: inline-block; } } header .mobile-logo a { display: block; } header .mobile-logo a svg { fill: #b5975c; display: block; } header .mobile-logo a:hover { opacity: .6; } header .open-menu { width: 34px; height: 34px; background: #b5975c; color: #fff; text-align: center; position: absolute; top: 13px; z-index: 99; display: none; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu { top: 17px; } } header .open-menu#openRight { right: 20px; padding: 15px 0 0 0; } @media only screen and (max-width: 1279px) { header .open-menu#openRight { display: block; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu#openRight { right: 30px; } } header .open-menu#openRight .open { width: 22px; height: 4px; display: inline-block; background: #fff; position: relative; } header .open-menu#openRight .open:before { width: 100%; height: 4px; background: #fff; position: absolute; top: -6px; left: 0; content: ""; } header .open-menu#openRight .open:after { width: 100%; height: 4px; background: #fff; position: absolute; bottom: -6px; left: 0; content: ""; } header .open-menu#openRight .close { width: 4px; height: 22px; background: #fff; position: relative; top: -8px; left: 15px; display: none; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } header .open-menu#openRight .close:after { width: 4px; height: 22px; display: inline-block; background: #fff; position: absolute; top: 0; left: 0; content: ""; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } header .open-menu#openLeft { left: 20px; padding: 7px 0 0 0; } header .open-menu#openLeft .open { font-size: 1.2em; } header .open-menu#openLeft .close { width: 4px; height: 22px; background: #fff; position: relative; top: -1px; left: 15px; display: none; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } header .open-menu#openLeft .close:after { width: 4px; height: 22px; display: inline-block; background: #fff; position: absolute; top: 0; left: 0; content: ""; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu#openLeft { right: 30px; } } body.fixed-nav header { background: rgba(10, 11, 16, 0.84); z-index: 101; -webkit-box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); } body.fixed-nav header .logo { top: 5px; } body.fixed-nav header .user-block { top: 10px; } body.fixed-nav header .inner nav > ul > li > a { padding-top: 20px; padding-bottom: 20px; } body.fixed-nav header .inner nav > ul > li .submenu { top: 53px; -webkit-transition: all 0s ease 0; -moz-transition: all 0s ease 0; -ms-transition: all 0s ease 0; -o-transition: all 0s ease 0; transition: all 0s ease 0; } body.fixed-nav header:after { display: none; } body.forum header { position: absolute; } @media only screen and (max-width: 1279px) { body.forum header { text-align: center; } } body.forum header .forum-hide { display: none !important; } @media only screen and (max-width: 1279px) { body.forum #openLeft { display: block; } } @media only screen and (min-width: 1280px) { body.forum.fixed-nav header { position: absolute; } } .off-canvas-right-content { width: 80%; height: 100%; background: #1f2124; position: fixed; top: 0; bottom: 0; right: -80%; overflow-y: auto; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; display: none; } @media only screen and (max-width: 1279px) { .off-canvas-right-content { display: inline-block; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .off-canvas-right-content { width: 50%; right: -50%; } } .off-canvas-right-content nav ul > li { border-bottom: 1px solid #2c2e31; } .off-canvas-right-content nav ul > li > a { font-size: 17px; color: #8a8374; font-family: 'montserratregular'; text-transform: uppercase; display: block; padding: 20px 25px; position: relative; } .off-canvas-right-content nav ul > li > a:hover { color: #b5975c; } .off-canvas-right-content nav ul > li > a span { font-size: 3px; position: absolute; right: 25px; top: 26px; } .off-canvas-right-content nav ul > li ul { background: #1a1c1f; border-top: 1px solid #2c2e31; display: none; } .off-canvas-right-content nav ul > li ul.dropdown-opened { display: block; } .off-canvas-right-content nav ul > li ul li { border: none; } .off-canvas-right-content nav ul > li ul li a { font-family: 'montserratlight'; text-transform: none; } .off-canvas-right-content .search { position: relative; } .off-canvas-right-content .search input { width: 100%; display: block; background: #343639; padding: 15px 25px; color: #7b7b7c; font-size: 15px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .off-canvas-right-content .search input:focus { background: #484a4e; } .off-canvas-right-content .search button { position: absolute; right: 20px; top: 17px; border: none; background: none; margin: 0; padding: 0; } .off-canvas-right-content .search button span { color: #7b7b7c; font-size: 1.3em; } .off-canvas-right-content .social-block { position: relative; left: auto; top: auto; padding: 15px 20px; display: block; } .off-canvas-right-content .social-block ul li { margin: 0; display: inline-block; } .off-canvas-right-content .social-block ul li a { width: 45px; text-align: center; font-size: 15px; padding: 13px 0; border: 1px solid #383b3f; display: block; } @media only screen and (min-width: 768px) and (max-width: 1279px) { .off-canvas-right-content .social-block ul.social { display: inline-block; } } .off-canvas-right-content .social-block ul.lang { padding: 5px 0 0 0; } @media only screen and (min-width: 768px) and (max-width: 1279px) { .off-canvas-right-content .social-block ul.lang { padding: 0; display: inline-block; float: right; } } body.off-canvas-right-opened { left: -80%; } body.off-canvas-right-opened:not(.forum) header { left: -80%; } body.off-canvas-right-opened .off-canvas-right-content { text-align: left; right: 0; } body.off-canvas-right-opened .open-menu#openRight .open { display: none; } body.off-canvas-right-opened .open-menu#openRight .close { display: block; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { body.off-canvas-right-opened { left: -50%; } } @media only screen and (max-width: 1279px) { .off-canvas-left-content { width: 80%; height: 100%; background: #1f2124; position: fixed; top: 0; bottom: 0; left: -80%; overflow-y: auto; display: inline-block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .off-canvas-left-content { width: 50%; right: -50%; } } @media only screen and (max-width: 1279px) { body.off-canvas-left-opened { right: -80%; left: auto; position: fixed; } body.off-canvas-left-opened .off-canvas-left-content { left: 0; } body.off-canvas-left-opened .open-menu#openLeft .open { display: none; } body.off-canvas-left-opened .open-menu#openLeft .close { display: block; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { body.off-canvas-left-opened { right: -50%; } } /*======================= FOOTER ===========================*/ footer { background: #282828; } footer .newsletter { background: #ebe5da; } footer .newsletter .inner { background: url("/img/operosa-shape-01.png") no-repeat left -10px; } footer .newsletter .newsletter-text { padding: 40px 15px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text { padding: 20px 15px; } } footer .newsletter .newsletter-text div { display: inline-block; } footer .newsletter .newsletter-text div:first-child { width: 40%; text-align: center; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:first-child { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { footer .newsletter .newsletter-text div:first-child { width: 45%; padding: 10px 0 0 0; } } footer .newsletter .newsletter-text div:first-child h2 { color: #333840; font-size: 40px; font-family: 'playfair_displayregular'; text-transform: uppercase; letter-spacing: 2px; padding: 0 0 5px 0; } footer .newsletter .newsletter-text div:first-child h3 { color: #b28b3e; font-size: 22px; font-family: 'montserratlight'; text-transform: uppercase; letter-spacing: 4px; } footer .newsletter .newsletter-text div:last-child { width: 55%; margin: 0 0 0 -5px; padding: 0 0 0 20px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:last-child { width: 100%; margin: 0; padding: 0; text-align: center; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { footer .newsletter .newsletter-text div:last-child { width: 55%; } } footer .newsletter .newsletter-text div:last-child p { color: #4f5159; font-size: 15px; line-height: 22px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:last-child p { padding: 15px 0 0 0; } } footer .newsletter .newsletter-form { padding: 50px 15px 0 15px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-form { padding: 0 15px 25px 15px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { footer .newsletter .newsletter-form { padding: 0 15px 25px 15px; } } footer .newsletter .newsletter-form .field { width: 100%; text-align: right; position: relative; } footer .newsletter .newsletter-form .field input[type=text] { width: 100%; display: block; color: #81796d; font-size: 16px; text-align: left; background: #d1c8b7; border: none; padding: 15px 20px; -webkit-box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); -moz-box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); } @media only screen and (max-width: 767px) and (max-width: 1023px) { footer .newsletter .newsletter-form .field input[type=text] { padding: 12px 20px; line-height: 30px; } } footer .newsletter .newsletter-form .field input[type=text]::-webkit-input-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]:-moz-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]::-moz-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]:-ms-input-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field button { background: none; border: none; cursor: pointer; position: absolute; right: 3px; top: 16px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-form .field button { top: 18px; } } footer .newsletter .newsletter-form .field button span { color: #a2947d; font-size: 18px; -webkit-transition: color 0.2s ease-out; -moz-transition: color 0.2s ease-out; -ms-transition: color 0.2s ease-out; -o-transition: color 0.2s ease-out; transition: color 0.2s ease-out; } footer .newsletter .newsletter-form .field button:hover span { color: #86775f; } @media only screen and (max-width: 1279px) { footer .newsletter .__1 { display: none; } } footer .info { padding: 38px 0 30px 0; } footer .info .info-block p { color: #726f6b; font-size: 14px; line-height: 30px; } footer .info .info-block p a { color: #937436; line-height: 30px; } footer .info .info-block p a:hover { color: #d0a859; text-decoration: none; } @media only screen and (max-width: 767px) { footer .info .info-block { text-align: center; padding: 0 0 10px 0; } footer .info .info-block p { line-height: 20px; } footer .info .info-block p a { line-height: 20px; } } footer .info .info-block:nth-child(2) { text-align: center; } footer .info .info-block:nth-child(3) { text-align: right; } @media only screen and (max-width: 767px) { footer .info .info-block:nth-child(3) { text-align: center; padding: 0; } } /*======================= PAGE HERO ===========================*/ .page-hero { text-align: center; padding: 155px 0 45px 0; background-repeat: no-repeat; background-attachment: fixed; background-position: top center; } @media only screen and (max-width: 767px) { .page-hero { padding: 90px 0 50px 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .page-hero { padding: 80px 0 40px 0; } } .page-hero .page-title { text-align: center; } @media only screen and (max-width: 767px) { .page-hero .page-title { width: 100%; margin: 0 auto; } } .page-hero .page-title h1 { width: 70%; color: #fff; font-family: 'playfair_displayregular'; font-size: 40px; padding: 0 0 25px 0; margin: 0 auto; line-height: 42px; } @media only screen and (max-width: 1023px) { .page-hero .page-title h1 { font-size: 30px; line-height: 36px; } } .page-hero .page-title h2 { color: #b5975c; font-size: 14px; text-transform: uppercase; font-family: 'robotolight'; padding: 0 0 8px 0; } .page-hero .page-title h3, .page-hero .page-title p b { color: #e1c07f; font-family: 'playfair_displayregular' !important; line-height: 22px; padding: 0 0 10px 0; font-size: 1.0588em; font-weight: normal; } .page-hero .page-title p { width: 65.811965812%; margin: 0 auto; color: #9c9ca3; font-size: 16px; line-height: 24px; font-family: 'robotolight'; } @media only screen and (max-width: 1023px) { .page-hero .page-title p { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .page-hero .page-title p { width: 80%; } } .page-hero .page-title p a { color: #b5975c; line-height: 24px; } .page-hero .page-title p a:hover { color: #ecc881; } .page-hero .page-title .actions { padding: 30px 0 0 0; } .page-hero .page-title .actions form { display: inline-block; margin: 3px; } @media only screen and (max-width: 479px) { .page-hero .page-title .actions form { min-width: 100%; margin: 0 0 10px 0; } .page-hero .page-title .actions form .button { width: 100%; } } .page-hero .page-title .actions a { min-width: 215px; display: inline-block; margin: 3px; } @media only screen and (max-width: 479px) { .page-hero .page-title .actions a { min-width: 100%; margin: 0 0 10px 0; } .page-hero .page-title .actions a:last-child { margin: 0; } } @media only screen and (min-width: 480px) and (max-width: 539px) { .page-hero .page-title .actions a { min-width: 200px; } } @media only screen and (max-width: 767px) { .page-hero .page-title .actions button { margin-bottom: 5px; } } /*======================= RICH TEXT ===========================*/ .rich-text { line-height: 30px; text-align: justify; } .rich-text p { padding: 0 0 18px 0; text-align: justify; } @media only screen and (max-width: 767px) { .rich-text p { text-align: justify; } } .rich-text h2 { font-size: 1.4em; padding: 0 0 15px 0; } .rich-text a { line-height: 17px; border-bottom: 1px solid #ddd; } .rich-text a:hover { border-bottom: 1px solid #b5975c; } .rich-text span a { line-height: 17px; } .rich-text ul li { line-height: 30px; position: relative; padding: 0 0 0 15px; } .rich-text ul li:before { width: 7px; height: 7px; background: #b5975c; content: ""; position: absolute; left: 0; top: 12px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .rich-text .media-block { width: 34.188034188%; float: right; margin: 0 0 30px 70px; } .rich-text .media-block.wide { width: 50%; margin: 0 0 30px 30px; } @media only screen and (max-width: 767px) { .rich-text .media-block { width: 100%; margin: 0 0 35px 0; float: none; } } .rich-text .media-block img { border: 6px solid #fff; margin: 0 0 10px 0; -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); } .rich-text .media-block .button { display: block; color: #fff; line-height: 50px; padding-top: 0; padding-bottom: 0; } .rich-text .media-block .button:hover { text-decoration: none; } .rich-text .quotes { width: 230px; text-align: center; border: none; margin: 0; float: right; padding: 80px; box-sizing: unset; } @media only screen and (max-width: 767px) { .rich-text .quotes { width: 100%; padding: 0 30px 30px 30px; float: none; box-sizing: border-box; } } .rich-text .quotes p { text-align: center; padding: 0; } @media only screen and (max-width: 767px) { .rich-text .quotes article { padding: 0; } .rich-text .quotes article:before, .rich-text .quotes article:after { display: none; } } /*======================= MESSAGES ===========================*/ /*.validation-error { margin: 0 0 10px 0; input[type=text], input[type=email], input[type=password], textarea { border: 1px solid #ea7373!important; } .validation-error-message { text-align: right; position: relative; color: #f13042; font-size: 0.7em!important; } }*/ .validation-error input[type=text], .validation-error input[type=email], .validation-error input[type=password], .validation-error textarea, .validation-error .inputfile + label, .validation-error .select2 .select2-selection { border: 1px solid #ea7373 !important; } .validation-error .validation-error-message { text-align: right; color: #fff; font-size: 0.6em !important; background: #d15454; position: absolute; padding: 3px 6px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .form-signup .validation-error-message, .form-login .validation-error-message, .form-change-pass .validation-error-message, .form-reset .validation-error-message { top: 16px; right: 6px; } .form-reset-password .validation-error-message { top: 34px; right: 6px; } #postCommentForm .validation-error-message { top: 16px; right: 50px; } .post-comments #postCommentForm .validation-error-message { top: 16px; right: 10px; } #newsCommentForm .validation-error-message { top: 16px; right: 10px; } .form-upload-audio-to-gallery .validation-error-message, .form-upload-video-to-gallery .validation-error-message, .form-upload-photo-to-gallery .validation-error-message { top: 36px; right: 6px; } .form-upload-audio-to-gallery .upload-item .validation-error-message, .form-upload-video-to-gallery .upload-item .validation-error-message, .form-upload-photo-to-gallery .upload-item .validation-error-message { right: 53px; } #JobApplication .validation-error-message { top: 34px; right: 52px; } #newsletterForm .validation-error-message { top: 18px; right: 35px; } #contactForm .validation-error-message, #addPostForm .validation-error-message { top: 34px; right: 6px; } #addMessageForm .validation-error-message { top: 15px; right: 6px; } .form-update-profile .validation-error-message { top: 35px; right: 6px; } .form-update-profile .select-country .validation-error-message, .form-update-profile .select-category .validation-error-message { right: 46px; } .apply-popup .validation-error-message { top: 35px; right: 6px; } .apply-popup .upload-item .validation-error-message { top: 35px; right: 56px; } .apply-popup .field-radio .validation-error-message { top: 7px; right: 6px; } .form-message { width: 100%; text-align: center; } .form-message.form-message-error { color: #f13042; } .message-empty { background: #fff; text-align: center; -webkit-box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); } .message-empty p { padding: 40px 0; font-style: italic; } /*======================= GALLERY ===========================*/ div.gallerie-loading { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 126px; height: 22px; margin: auto; z-index: 10000; background: url("loading.gif"); } .gallerie-overlay { width: 100%; height: 100%; position: fixed; left: 0px; top: 0px; background: rgba(0, 0, 0, 0.9); z-index: 1000; } .gallerie-overlay .gallerie-imagebox { width: 100%; height: 70%; position: relative; top: 0px; left: 0px; margin: 20px 0px; } .gallerie-overlay .gallerie-imagebox .loading { opacity: 0.3; } .gallerie-overlay .gallerie-imagebox img { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; margin: auto; border: 4px solid white; border-radius: 5px; -webkit-transition: all 500ms; -moz-transition: all 500ms; -ms-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; } .gallerie-overlay .gallerie-imagebox:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; } .gallerie-overlay .gallerie-captionbox { width: 100%; height: 50px; color: #fff; position: relative; top: 0px; left: 0px; text-align: center; padding: 5px 0px 15px 0px; } .gallerie-overlay .gallerie-captionbox > div { display: inline-block; } .gallerie-overlay .gallerie-captionbox:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; } .gallerie-overlay .gallerie-captionbox .gallerie-control { font-size: 30px; min-width: 40px; min-height: 40px; padding: 5px; margin: 0px; border: 2px solid transparent; vertical-align: top; border-radius: 100%; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 500ms; -moz-transition: all 500ms; -ms-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; } .gallerie-overlay .gallerie-captionbox .gallerie-control:hover { background: #222; border: 2px solid white; border-radius: 100%; cursor: pointer; } .gallerie-overlay .gallerie-captionbox .gallerie-text { max-width: 60%; min-width: 200px; margin: 0px 10px; vertical-align: bottom; } .gallerie-overlay .gallerie-captionbox .gallerie-text div { width: 100%; text-overflow: ellipsis; } .gallerie-overlay .gallerie-thumbbox { min-width: 100%; height: 100px; position: relative; top: 0px; left: 0px; margin: 0px auto; text-align: center; float: left; white-space: nowrap; } .gallerie-overlay .gallerie-thumbbox ul { position: relative; list-style-type: none; margin: 0px; padding: 0px; left: 0px; } .gallerie-overlay .gallerie-thumbbox ul li { width: 75px; height: 75px; display: inline-block; text-align: center; margin: 0px 10px 0px 10px; cursor: pointer; } .gallerie-overlay .gallerie-thumbbox ul li.gallerie-thumbbox-selected img { opacity: 1.0; border-color: #0ff; } .gallerie-overlay .gallerie-thumbbox ul li.gallerie-thumbbox-hover img { opacity: 1.0; border-color: #0ff; } /*======================= POPUP ===========================*/ .popup_background { -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -ms-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; } .popup { transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform: translateX(0) translateY(-40%); -moz-transform: translateX(0) translateY(-40%); -ms-transform: translateX(0) translateY(-40%); -o-transform: translateX(0) translateY(-40%); transform: translateX(0) translateY(-40%); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .popup.popup_wrapper { transition: all 0.3s ease-out; } .popup .close-popup a { position: absolute; right: 10px; top: 5px; cursor: pointer; } .popup .close-popup.close-icon { position: absolute; right: 20px; top: 25px; } .popup .close-popup.close-icon span { width: 15px; height: 3px; display: block; background: #b5975c; position: relative; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } .popup .close-popup.close-icon span:before { width: 15px; height: 3px; background: #b5975c; position: absolute; left: 0; top: 0; content: ''; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg); } .popup .close-popup.close-icon span:hover { opacity: .6; } .popup.login-popup { width: 750px; padding: 40px 50px; background: url("/img/operosa-shape-04.png") no-repeat -170px 120px #fff; } @media only screen and (max-width: 767px) { .popup.login-popup { width: 94%; padding: 30px; } } .popup.login-popup .popup-text { text-align: center; } .popup.login-popup .popup-text h2 { font-size: 1.4117em; } .popup.login-popup .popup-text p { font-size: 0.8235em; padding: 20px 0; } @media only screen and (max-width: 767px) { .popup.login-popup .popup-text p { display: none; } } .popup.login-popup .form { width: 350px; margin: 0 auto; text-align: left; } @media only screen and (max-width: 767px) { .popup.login-popup .form { width: 100%; padding: 20px 0 0 0; } .popup.login-popup .form .field-link { float: none !important; padding: 10px !important; text-align: center !important; } } .popup.login-popup .form label p { padding: 0; } .popup.login-popup .form .field-check { display: inline-block; } .popup.login-popup .form .field-link { float: right; padding-top: 6px; } .popup.login-popup .form .field-link a { font-size: 0.8823em; } .popup.login-popup .form .field-button button { width: 100%; } .popup.login-popup .form .or-sign { text-align: center; color: #8a857b; font-size: 0.8823em; position: relative; margin: 5px 0 15px 0; } .popup.login-popup .form .or-sign span { background: #fff; padding: 0 10px; position: relative; top: 2px; } .popup.login-popup .form .or-sign:before { width: 100%; height: 1px; background: #dfe1e3; position: absolute; left: 0; right: 0; top: 10px; content: ""; } .popup.standard-popup { width: 600px; max-width: 94%; } .popup.standard-popup .popup-heading { background: #967a42; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; } .popup.standard-popup .popup-heading h2 { color: #fff; font-size: 1.08em; text-transform: uppercase; text-align: center; padding: 17px 0; } .popup.standard-popup .popup-body { background: #fff; -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; } .popup.standard-popup .popup-body .form { width: 405px; margin: 0 auto; } @media only screen and (max-width: 767px) { .popup.standard-popup .popup-body .form { width: 100%; } } .popup.standard-popup .popup-body .margin-bottom { margin-bottom: 20px; } .popup.standard-popup .popup-body .text { text-align: center; } .popup.standard-popup .popup-body .text p { color: #5c5c60; font-size: 1em; } .popup.standard-popup .popup-body .text p span { color: #ac8a45; line-height: 26px; } .popup.standard-popup .popup-body .text.text-padd { padding: 0 0 20px 0; } .popup.standard-popup .popup-body .popup-actions { border-top: 1px solid #ecedee; padding: 20px 0 0 0; margin: 20px 0 0 0; text-align: center; } .popup.standard-popup .popup-body .popup-actions button { min-width: 130px; display: inline-block; margin: 0 2px; } .popup.standard-popup:not(.apply-popup) .popup-body .form .field-item label { display: block; text-align: center; padding: 0 0 6px 0; } .popup.standard-popup:not(.apply-popup) .popup-body .form .field-item.upload-item .upload label { text-align: right; padding: 0; } .popup.notification-popup { width: 550px; max-width: 94%; background: url("/img/operosa-shape-05.png") no-repeat center center #fff; } .popup.notification-popup .popup-text { font-family: 'playfair_displayregular'; color: #896e39; font-size: 20px; } .popup_visible .popup { transform: translateX(0) translateY(0); } .popup_wrapper_visible { bottom: auto; -webkit-backface-visibility: hidden !important; } #renamePopup .popup-body, .apply-popup .popup-body, #deletePopup .popup-body, #deleteGalleryItem .popup-body, #uploadPhotoToGallery .popup-body, #uploadAudioToGallery .popup-body, #uploadVideoToGallery .popup-body, #createPopup .popup-body, #deletePostPopup .popup-body, #changePassPopup .popup-body { padding: 35px 40px 20px 40px; } @media only screen and (max-width: 767px) { #renamePopup .popup-body, .apply-popup .popup-body, #deletePopup .popup-body, #deleteGalleryItem .popup-body, #uploadPhotoToGallery .popup-body, #uploadAudioToGallery .popup-body, #uploadVideoToGallery .popup-body, #createPopup .popup-body, #deletePostPopup .popup-body, #changePassPopup .popup-body { padding: 35px 15px 20px; } } .loader-helper { position: absolute; top: 0; bottom: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.5); } .loader-helper img { width: auto; } /*======================= PAGINATOR ===========================*/ .paginator { padding: 20px 0 0 0; text-align: center; } .paginator span { width: 35px; background: #e4e2e2; color: #fff; font-size: 0.9411em; display: inline-block; text-align: center; margin: 0 2px 0 0; -webkit-box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); } .paginator span a { display: block; color: #978a8a; padding: 10px 0; } .paginator span a:hover { background: #b5975b; color: #fff; } .paginator span.current { background: #b5975b; padding: 10px 0; } /*======================= LANGUAGE DIFFERENCES ===========================*/ .locale-sr footer .newsletter .newsletter-text div:first-child h2 { font-size: 35px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .locale-sr footer .newsletter .newsletter-text div:first-child h2 { font-size: 28px; } } .locale-sr footer .newsletter .newsletter-text div:first-child h3 { font-size: 18px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .locale-sr footer .newsletter .newsletter-text div:first-child h3 { font-size: 14px; } } /*======================= FORMs ON PAGE ===========================*/ main.form-on-page { background: #e4e4e4; border-bottom: 1px solid #d6cfc1; } main.form-on-page h2 { line-height: 20px; text-align: center; font-size: 20px; padding: 0 0 20px 0; } main.form-on-page .form-content { background: #fff; margin: 0 auto; padding: 40px 50px; -webkit-box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); /* Login */ } @media only screen and (max-width: 767px) { main.form-on-page .form-content { padding: 30px 20px; } } main.form-on-page .form-content.fc-login, main.form-on-page .form-content.fc-reset { width: 500px; max-width: 100%; } main.form-on-page .form-content.fc-login .form .or-sign, main.form-on-page .form-content.fc-reset .form .or-sign { text-align: center; color: #8a857b; font-size: 0.8823em; position: relative; margin: 5px 0 15px 0; } main.form-on-page .form-content.fc-login .form .or-sign span, main.form-on-page .form-content.fc-reset .form .or-sign span { background: #fff; padding: 0 10px; position: relative; top: 2px; } main.form-on-page .form-content.fc-login .form .or-sign:before, main.form-on-page .form-content.fc-reset .form .or-sign:before { width: 100%; height: 1px; background: #dfe1e3; position: absolute; left: 0; right: 0; top: 10px; content: ""; } main.form-on-page .form-content.fc-complete { width: 700px; max-width: 100%; padding: 20px 50px 40px 50px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete { padding: 20px; } } main.form-on-page .form-content.fc-complete .forum-form { position: relative; } main.form-on-page .form-content.fc-complete .forum-form .field-item { padding-bottom: 15px; } main.form-on-page .form-content.fc-complete .forum-form .field-item.field-padding { padding-top: 25px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .field-item.field-padding { padding-top: 0; } } main.form-on-page .form-content.fc-complete .forum-form .field-item textarea { height: 130px; } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action { border-top: 1px solid #dfe1e3; padding: 10px 0 0 0; text-align: right; margin: 20px 0 0 0; } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action button { min-width: 215px; } @media only screen and (max-width: 1279px) { main.form-on-page .form-content.fc-complete .forum-form .forum-form-action button { min-width: 100%; } } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text { text-align: left; } @media only screen and (max-width: 1279px) { main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text { text-align: center; padding-bottom: 10px; } } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text p, main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text a { line-height: 20px; font-size: 14px; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block h3 { font-size: 0.75em; text-transform: uppercase; border-bottom: 1px solid #dfe1e3; padding: 0 0 7px 0; font-family: 'robotomedium'; margin: 20px 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div { width: 32.4%; display: inline-block; margin: 0 0 0 -4px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div { width: 100%; display: block; margin: 0; } } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(1) { margin: 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(2) { margin: 0 6px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(2) { margin: 0; } } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-padding { padding: 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block:first-child h3 { margin: 0 0 20px 0; } main.form-on-page .form { text-align: left; } main.form-on-page .form label p { padding: 0; } main.form-on-page .form .field-check { display: inline-block; } main.form-on-page .form .field-link { float: right; padding-top: 6px; } main.form-on-page .form .field-link a { font-size: 0.8823em; } main.form-on-page .form .field-button button { width: 100%; } .young header .inner nav > ul li a { color: #63b6cd; } .young header .inner nav > ul li a:hover { color: #63b6cd; } .young header .inner nav > ul li a span { color: #63b6cd; } .young header .inner nav > ul li .submenu { border-top: 2px solid #63b6cd; } .young header .inner nav > ul li:hover > a { color: #63b6cd; } .young header .inner nav > ul li.dropdown > a:after { background: url(/img/blue_dropdown.png) no-repeat bottom center; } .young header .user-block ul.lang li a { color: #63b6cd; } @media only screen and (max-width: 1023px) { .form-login .field-item.field-check { display: none !important; } } /*======================= Grid ===========================*/ .row { width: auto; display: block; margin: 0 -15px; position: relative; clear: both; } .row:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } @media only screen and (max-width: 767px) { .row { margin: 0; } } .row > .column { padding: 0 15px; float: left; } .row > .column.pull-right { float: right; } @media only screen and (max-width: 767px) { .row > .column { padding: 0; } } .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.m__2, .row > .column.__12, .row > .column.__11, .row > .column.__10, .row > .column.__9, .row > .column.__8, .row > .column.__7, .row > .column.__6, .row > .column.__5, .row > .column.__4, .row > .column.__3, .row > .column.__2, .row > .column.__1, .row > .column.lt__6, .row > .column.lt__5, .row > .column.lt__4, .row > .column.lt__3, .row > .column.lt__2, .row > .column.lt__1, .row > .column.st__6, .row > .column.st__5, .row > .column.st__4, .row > .column.st__3, .row > .column.st__2, .row > .column.st__1 { 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%; } .row.block-row.__7-block .column { width: 14.285714%; } .row.block-row.__8-block .column { width: 12.5%; } @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__1-block .column { width: 100%; } .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%; } } @media only screen and (max-width: 767px) { .row.block-row.m__1-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.__0 { margin: 0; } .row.__0 .column { padding: 0; } input[type=text], input[type=password] { font-family: 'robotolight'; } .field-item { padding: 0 0 7px 0; position: relative; } .field-item .progress-bar-holder { position: absolute; z-index: 999; text-align: left; bottom: 31px; left: 4px; right: 50px; } .field-item .progress-bar-holder span { float: right; text-align: right; font-size: 12px; margin: 0px 6px 6px 0; } .field-item .progress-bar-holder .progress-bar-custom { position: absolute; left: 0; bottom: 0; height: 3px; background: #b5975c; width: 0; } .field-item em { display: block; font-style: normal; font-size: 0.69em; padding: 2px 2px 0 5px; color: #9999a3; text-align: right; } .field-item .required { float: right; color: #d2ccc2; font-size: 0.6470em; text-transform: uppercase; padding: 3px 0 0 0; } .field-item label { font-size: 0.8823em; color: #8a857b; padding: 0 0 3px 5px; display: inline-block; } .field-item .field { background: #f9f5ee; padding: 3px; /* Check boxes*/ /* Radio boxes*/ } .field-item .field input[type=text], .field-item .field input[type=password], .field-item .field textarea { width: 100%; height: 42px; background: #fff; border: 1px solid #dbd3c4; font-size: 0.8823em; color: #7f7f85; padding: 0 13px; line-height: 40px; display: block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .field-item .field input[type=text]:hover, .field-item .field input[type=password]:hover, .field-item .field textarea:hover { border: 1px solid #c5bdad; } .field-item .field textarea { height: auto; resize: none; box-sizing: border-box; overflow: hidden; line-height: 20px; padding: 9px 13px; } .field-item .field textarea.profile-text { line-height: 1.4; height: 300px; padding: 13px; } .field-item .field button { cursor: pointer; border: none; background: none; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .field-item .field .select2 .select2-selection__clear { position: absolute; right: 40px; top: 0; padding: 13px !important; } .field-item .field .select2 .select2-selection { border: 1px solid #dbd3c4; height: auto; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .field-item .field .select2 .select2-selection .select2-selection__rendered { font-size: 0.8823em; color: #7f7f85; padding: 0 13px; line-height: 40px; } .field-item .field .select2 .select2-selection .select2-selection__rendered > span { padding: 14px 0 12px 0; display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__rendered .select2-image { display: inline-block; margin: -4px 10px -4px 0; max-width: 100%; width: auto; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .field-item .field .select2 .select2-selection .select2-selection__placeholder { font-size: 0.8823em; color: #7f7f85; padding: 14px 13px 12px 3px; display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__placeholder > span { display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__placeholder .select2-image { display: none; } .field-item .field .select2 .select2-selection .select2-selection__arrow { width: 40px; height: auto; top: 0; right: 0; bottom: 0; } .field-item .field .select2 .select2-selection .select2-selection__arrow b { width: 40px; height: 26px; border: none; left: auto; top: 50%; margin: -13px 0 0 0; background: url("/img/select.png") no-repeat center center; border-left: 1px solid #e4e4e4; } .field-item .field.upload .inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } .field-item .field.upload .inputfile + label { width: 100%; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; display: inline-block; overflow: hidden; padding: 0; text-align: right; font-size: 15px; color: #7f7f85; border: 1px solid #dbd3c4; background: #fff; } .field-item .field.upload .inputfile:focus + label, .field-item .field.upload .inputfile + label:hover { border: 1px solid #dbd3c4; } .field-item .field.upload .inputfile:focus + label, .field-item .field.upload .inputfile.has-focus + label, .field-item .field.upload .inputfile + label:hover { border: 1px solid #c5bdad; } .field-item .field.upload .inputfile + label span { font-size: 15px; color: #7f7f85; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: left; float: left; line-height: 40px; padding: 0 13px; max-width: 85%; } .field-item .field.upload .inputfile + label div { height: 100%; color: #fff; background: #cbc5ba; display: inline-block; border: 1px solid #cbc5ba; } .field-item .field.upload .inputfile + label div i { width: 45px; font-style: normal; padding: 12px 0; text-align: center; display: block; } .field-item .field.upload .inputfile:focus + label strong, .field-item .field.upload .inputfile.has-focus + label strong, .field-item .field.upload .inputfile + label:hover strong { background-color: #722040; } .field-item .field.field-checkbox { background: none; } .field-item .field.field-checkbox label { padding: 0; } .field-item .field.field-checkbox input { width: 100%; height: 100%; display: none; position: absolute; top: 0; left: 0; opacity: 0; background: none; border: none; } .field-item .field.field-checkbox input + label { cursor: pointer; text-align: left; } .field-item .field.field-checkbox input + label span { width: 22px; height: 22px; background: #f9f5ee; padding: 3px; display: inline-block; vertical-align: middle; } .field-item .field.field-checkbox input + label span span { width: auto; height: auto; font-size: 8px; display: block; color: #eaeaea; background: #fff; border: 1px solid #cfc9bd; position: relative; } .field-item .field.field-checkbox input + label span span:hover { border: none; color: #d2d2d2; } .field-item .field.field-checkbox input + label p { display: inline-block; line-height: 18px; vertical-align: middle; } .field-item .field.field-checkbox input:checked + label span span { color: #b5975c; } .field-item .field.field-radio { background: none; } .field-item .field.field-radio label { padding: 0; } .field-item .field.field-radio input { width: 100%; height: 100%; display: none; position: absolute; top: 0; left: 0; opacity: 0; background: none; border: none; } .field-item .field.field-radio input + label { cursor: pointer; text-align: left; } .field-item .field.field-radio input + label > span { width: 22px; height: 22px; background: #f9f5ee; padding: 3px; display: inline-block; vertical-align: middle; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; position: relative; } .field-item .field.field-radio input + label > span > span { position: absolute; top: 3px; left: 3px; bottom: 3px; right: 3px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; background: #fff; border: 1px solid #b5975c; } .field-item .field.field-radio input + label > span > span:after { position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; content: ""; background: none; } .field-item .field.field-radio input + label > span > span:after:hover { border: none; background: #b5975c; } .field-item .field.field-radio input + label p { display: inline-block; line-height: 18px; vertical-align: middle; } .field-item .field.field-radio input:checked + label > span > span:after { background: #b5975c; } .field-item:last-child:not(:first-child) { padding: 0; } #addMessageForm .field-item button { margin: 20px 0 0 0; } .select2-container--open { z-index: 111111; } .select2-dropdown { border: 1px solid #dbd3c4; font-size: 0.8823em; color: #7f7f85; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; -webkit-box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); } .select2-dropdown .select2-results__options > li > span { padding: 5px 0; display: inline-block; } .select2-dropdown .select2-results__options > li .select2-image { display: inline-block; margin: -4px 10px -4px 0; max-width: 100%; width: auto; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .select2-container .select2-search__field { border: 1px solid #dbd3c4 !important; color: #7f7f85; font-size: 0.8823em; padding: 10px !important; } .select2-container .select2-results__option { color: #7f7f85; font-size: 0.8823em; } /* Buttons */ .button { position: relative; font-size: 0.8235em; color: #fff; text-transform: uppercase; text-align: center; padding: 0 30px; border: none; cursor: pointer; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .button:after { background: none; position: absolute; content: ""; left: 3px; right: 3px; bottom: 3px; top: 3px; } .button:hover { text-decoration: none; } .button.btn-big { padding: 13px 30px; line-height: 20px; } .button.btn-sans-serif { font-family: 'robotolight'; } .button.btn-serif { font-family: 'playfair_displayregular'; text-transform: none; font-size: 1em; padding: 12px 30px; } .button.btn-light { background: #b5975c; } .button.btn-light:hover { background: #947b49; } .button.btn-light:after { border: 1px solid #cbb68d; } .button.btn-young { background: #26477a; } .button.btn-young:hover { background: #07337a; } .button.btn-young:after { border: 1px solid #63b6cd; } .button.btn-dark { background: #937436; } .button.btn-dark:hover { background: #775c26; } .button.btn-dark:after { border: 1px solid #cbb68d; } .button.btn-lighter { background: #c3bdb2; } .button.btn-lighter:hover { background: #b4aea2; } .button.btn-lighter:after { border: 1px solid #d5d1c9; } form .button { min-width: 100%; } .select2-dropdown { border: 1px solid #c5bdad !important; } .upload-preview { max-width: 300px; margin: 10px auto; position: relative; } .upload-preview img { width: 100%; } .upload-preview a.btn-remove-media { position: absolute; top: 0; left: -20px; } .ui-datepicker { background: white; padding: 5px; border: 1px solid #B3B3BE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .ui-datepicker a { cursor: pointer; } .ui-datepicker .ui-datepicker-header { margin-bottom: 5px; padding: 3px; } .ui-datepicker .ui-datepicker-header .ui-datepicker-prev { float: left; } .ui-datepicker .ui-datepicker-header .ui-datepicker-next { float: right; } .ui-datepicker .ui-datepicker-header .ui-datepicker-title { font-weight: bold; text-align: center; margin: 25px 0 0 0; } .ui-datepicker th { color: white; background: #b5975c; padding: 8px 5px; } .ui-datepicker td { text-align: center; } .ui-datepicker td a { display: block; padding: 8px 5px; margin: 3px; } .ui-datepicker td a:hover { background: #e0e0e0; color: #b5975c; } .ui-datepicker .ui-state-active { background: #b5975c; color: white; } .ui-datepicker .ui-state-highlight { background: #e0e0e0; } h2 { color: #b5975c; font-size: 1.6470em; font-family: 'playfair_displayregular'; } @media only screen and (max-width: 767px) { h2 { font-size: 1.4em; } } h3 { color: #46464c; font-size: 1.0588em; font-family: 'montserratregular'; } p { line-height: 30px; } p strong { line-height: 30px; font-weight: bold; } p strong em { line-height: 30px; font-weight: bold; } a { color: #b5975c; text-decoration: none; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } a:hover { text-decoration: none; } /* ====== SLIDER ====== */ .home-slider { position: relative; z-index: 1; background: #000; } @media only screen and (max-width: 1024px) { .home-slider { height: 100vh; } } @media only screen and (max-width: 1024px) { .home-slider figure { height: 100vh !important; } .home-slider figure img { object-fit: cover; object-position: 50% 50%; height: 100%; } } .home-slider figure figcaption { width: 590px; position: absolute; z-index: 2; text-align: center; top: 50%; left: 50%; margin-left: -295px; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } @media only screen and (max-width: 1024px) { .home-slider figure figcaption { width: 90%; margin-left: -45%; } } .home-slider figure figcaption h2 { font-family: 'montserrathairline'; color: #ffd582; font-size: 2.9411em; text-transform: uppercase; line-height: 40px; } @media only screen and (max-width: 767px) { .home-slider figure figcaption h2 { font-size: 2.2em; } } @media only screen and (max-width: 767px) and (orientation: landscape) { .home-slider figure figcaption h2 { padding: 10px 0 0 0; line-height: 36px; } } .home-slider figure figcaption p { color: #fff; padding: 25px 0; line-height: 25px; } @media only screen and (max-width: 767px) { .home-slider figure figcaption p { line-height: 20px; } } @media only screen and (max-width: 767px) and (orientation: landscape) { .home-slider figure figcaption p { padding: 15px 0; } } .home-slider figure figcaption .button { min-width: 250px; padding: 18px 30px; display: inline-block; } @media only screen and (max-width: 767px) { .home-slider figure figcaption .button { padding: 13px 14px; } } .home-slider ul.slick-dots { width: 100%; text-align: center; position: absolute; bottom: 30px; } .home-slider ul.slick-dots li { display: inline-block; padding: 0 2px; } .home-slider ul.slick-dots li div { width: 12px; height: 12px; cursor: pointer; background: #fff; opacity: .2; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .home-slider ul.slick-dots li div:hover { opacity: .8; } .home-slider ul.slick-dots li.slick-active div { background: #b5975c; opacity: 1; } main { padding: 80px 0; display: block; } @media only screen and (max-width: 767px) { main { padding: 40px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { main { padding: 50px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { main { min-height: 500px; } } @media only screen and (min-width: 1280px) { main { min-height: 450px; } } .inner { width: 1170px; max-width: 90%; margin: 0 auto; } /* ====== HOMEPAGE ====== */ .home-blocks { margin: 0 -5px; } .home-blocks .column { padding: 0 5px; } .home-blocks .home-block { background-position: center center; position: relative; } @media only screen and (max-width: 767px) { .home-blocks .home-block { margin: 0 0 15px 0; } } .home-blocks .home-block figure { position: relative; } .home-blocks .home-block figure .link-view-all { width: 100px; color: #f8cb71; text-transform: uppercase; font-size: 0.6470em; text-align: center; z-index: 100; position: absolute; left: 50%; bottom: 40px; margin: 0 0 0 -50px; } .home-blocks .home-block figure .link-view-all:hover { color: #ffe6b5; } .home-blocks .home-block figure .img { position: relative; } .home-blocks .home-block figure .img figcaption { -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; } @media only screen and (max-width: 767px) { .home-blocks .home-block figure .img figcaption { display: none; } } .home-blocks .home-block figure .img:after { width: 100%; top: 0; left: 0; bottom: 0; right: 0; background: rgba(21, 26, 32, 0.85); position: absolute; content: ""; z-index: 2; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } .home-blocks .home-block figure .img.img-link { display: block; z-index: 2000; } .home-blocks .home-block figure .img.img-link:before { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 9999; } .home-blocks .home-block figure .img.img-link:hover:after { background: rgba(21, 26, 32, 0); } .home-blocks .home-block figure .img.img-link:hover figcaption { opacity: 0; } .home-blocks .home-block figure .img img { width: 100%; height: auto; display: block; position: relative; z-index: 1; } .home-blocks .home-block figure figcaption { width: 100%; position: absolute; text-align: center; left: 0; top: 0; z-index: 11; padding: 80px 15px; box-sizing: border-box; word-wrap: break-word; height: 100%; } .home-blocks .home-block figure figcaption div { color: #c8c0bc; font-size: 0.7058em; text-transform: uppercase; position: relative; margin-bottom: 30px; } .home-blocks .home-block figure figcaption div:after { width: 40px; height: 1px; background: #b5975c; position: absolute; bottom: -8px; left: 50%; margin-left: -20px; content: ""; } .home-blocks .home-block figure figcaption h2 { font-family: 'playfair_displayregular'; color: #fff; font-size: 1.1746em; padding-bottom: 15px; line-height: 24px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .home-blocks .home-block figure figcaption h2 { font-size: 1.1em; line-height: 20px; } } .home-blocks .home-block figure figcaption .button { display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; line-height: 13px; position: absolute; left: 50%; bottom: 70px; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); z-index: 2001; } .home-blocks .home-block figure:after { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 10; } .home-blocks .home-block ul.slick-dots { width: 100%; text-align: center; position: absolute; bottom: 15px; z-index: 99; } .home-blocks .home-block ul.slick-dots li { display: inline-block; padding: 0 2px; } .home-blocks .home-block ul.slick-dots li button { width: 9px; height: 9px; border: none; text-indent: -99999px; cursor: pointer; background: #737477; display: block; padding: 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .home-blocks .home-block ul.slick-dots li button:hover { background: #fff; } .home-blocks .home-block ul.slick-dots li.slick-active button { background: #fff; } .home-blocks .home-block.home-advertisement figure figcaption .img { position: absolute; left: 0; width: 100%; top: 0; height: 100%; padding: 80px 15px; } .home-blocks .home-block.home-advertisement figure figcaption .img > div { z-index: 9; } .home-blocks .home-block.home-advertisement figure figcaption .img h2 { z-index: 9; position: relative; } @media only screen and (max-width: 767px) { .home-blocks .home-block.home-advertisement figure figcaption .img:after { background: rgba(21, 26, 32, 0); } } .home-blocks .home-block.home-advertisement figure .button { display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; line-height: 13px; position: absolute; left: 50%; bottom: 70px; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); z-index: 2001; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .home-blocks .column { width: 49.5%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) and (min-width: 768px) and (max-width: 1023px) { .home-blocks .column:last-child { text-align: center; } } .home-blocks .show-tablet { display: none; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .home-blocks .show-tablet { display: block; margin: 10px 0; } } /*======================= GRIDs and LISTs ===========================*/ /* Big Text page grid */ .text-grid .row { margin-bottom: 70px; } @media only screen and (max-width: 1023px) { .text-grid .row { margin: 0; } } .text-grid .row .rich-text { width: 94%; display: inline-block; text-align: justify; } @media only screen and (max-width: 1023px) { .text-grid .row .rich-text { width: 100%; margin: 30px 0; text-align: justify; } } .text-grid .row .rich-text p { padding: 20px 0 0 0; text-align: justify; } @media only screen and (max-width: 767px) { .text-grid .row .rich-text h2 { text-align: center; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .text-grid .row .rich-text h2 { text-align: center; } } .text-grid .row .rich-text h3 { padding: 10px 0 0 0; } @media only screen and (max-width: 767px) { .text-grid .row .rich-text h3 { line-height: 25px; text-align: center; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .text-grid .row .rich-text h3 { text-align: center; } } .text-grid .row .rich-text ul { padding: 20px 0 0 0; } .text-grid .row:nth-child(2n+1) { text-align: right; } .text-grid .row:last-child:not(:first-child) { margin-bottom: 0; } .text-grid .row img { border: 6px solid #fff; -webkit-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); } .text-grid.alt-text-grid .row, .text-grid.alt-text-grid .margin-bottom { margin-bottom: 40px; } .text-grid.alt-text-grid .row .rich-text, .text-grid.alt-text-grid .margin-bottom .rich-text { width: 100%; } @media only screen and (max-width: 1023px) { .text-grid.alt-text-grid .row .rich-text, .text-grid.alt-text-grid .margin-bottom .rich-text { margin: 0; } } .text-grid.alt-text-grid .row .rich-text .videoWrapper, .text-grid.alt-text-grid .margin-bottom .rich-text .videoWrapper { position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; } .text-grid.alt-text-grid .row .rich-text .videoWrapper iframe, .text-grid.alt-text-grid .margin-bottom .rich-text .videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .text-grid.alt-text-grid .row .rich-text p, .text-grid.alt-text-grid .margin-bottom .rich-text p { padding: 0 0 20px 0; } .text-grid.alt-text-grid .row .rich-text p:last-child, .text-grid.alt-text-grid .margin-bottom .rich-text p:last-child { padding: 0; } .text-grid.alt-text-grid .row .rich-text p strong, .text-grid.alt-text-grid .margin-bottom .rich-text p strong { font-weight: bold !important; line-height: 30px; } .text-grid.alt-text-grid .row .__12, .text-grid.alt-text-grid .margin-bottom .__12 { text-align: center; } .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 70%; text-align: center; display: inline-block; } @media only screen and (max-width: 1023px) { .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 85%; } } .text-grid.alt-text-grid .row .__12 .rich-text p, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text p { text-align: center; } .text-grid .grid-title { padding: 0 0 40px 0; } .text-grid .grid-title .grid-title-img { text-align: center; padding: 0 0 10px 0; } .text-grid .grid-title .grid-title-img img { width: auto; display: inline-block; } .text-grid .grid-title .grid-title-cnt { border-bottom: 1px solid #eff0f1; border-top: 1px solid #eff0f1; padding: 15px 0; } @media only screen and (max-width: 767px) { .text-grid .grid-title .grid-title-cnt { text-align: center; } } .text-grid .grid-title .grid-title-cnt a:hover { border-bottom: 1px solid #b5975c; } .text-grid .grid-title .grid-title-cnt a span { font-size: 0.7em; position: relative; top: 3px; margin: 0 3px 0 0; text-decoration: none; } .text-grid .grid-title .grid-title-cnt p { display: inline-block; line-height: 18px; } .text-grid .grid-title .grid-title-cnt div { float: right; } @media only screen and (max-width: 767px) { .text-grid .grid-title .grid-title-cnt div { float: none; padding: 15px 0 0 0; } } .text-grid .grid-title .grid-title-cnt div ul { padding: 0 0 0 10px; display: inline-block; } .text-grid .grid-title .grid-title-cnt div ul li { display: inline-block; vertical-align: top; padding: 0 5px; } .text-grid .grid-title .grid-title-cnt div ul li a span { font-size: 0.9em; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .text-grid .grid-title .grid-title-cnt div ul li a:hover { color: #d3b271; text-decoration: none; border: none; } .text-grid .grid-title .grid-title-cnt div ul li:nth-child(2) span { font-size: 0.75em; position: relative; top: 5px; } .text-grid .grid-logo { border-top: 1px solid #eff0f1; border-bottom: 1px solid #eff0f1; position: relative; top: -40px; } @media only screen and (max-width: 1023px) { .text-grid .grid-logo { top: auto; } } .text-grid .grid-logo > div { width: 300px; margin: 0 auto; } .text-grid.young-text-grid section:nth-child(2) { background: #ecf4f1; background: -moz-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -webkit-gradient(left top, right top, color-stop(0%, #ecf4f1), color-stop(50%, #ecf4f1), color-stop(50%, #e2eae7), color-stop(100%, #e2eae7)); background: -webkit-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -o-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -ms-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: linear-gradient(to right, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf4f1', endColorstr='#e2eae7', GradientType=1 ); } .text-grid.young-text-grid section:nth-child(2) .row { margin: 0; } .text-grid.young-text-grid section:nth-child(2) .row .rich-text { text-align: center; } .text-grid.young-text-grid section:nth-child(2) .row .rich-text p { text-align: center; } .text-grid.young-text-grid section:nth-child(1) { background: url("/img/young-bg-blue.png") no-repeat 50% -10%; } .text-grid.young-text-grid section .text-center { text-align: center; } .text-grid.young-text-grid section .text-center .rich-text { text-align: center; } .text-grid.young-text-grid section .text-center .rich-text p { text-align: center; } .text-grid.young-text-grid section:last-child, .text-grid.young-text-grid section.brown { padding: 80px 0; background: url("/img/young-bg-white.png") no-repeat 50% 20% #efe8dc; } .text-grid.young-text-grid section:last-child .rich-text, .text-grid.young-text-grid section.brown .rich-text { width: 768px; max-width: 100%; margin: 0 auto; } .text-grid.young-text-grid section.white { padding: 80px 0; background: white !important; } .text-grid.young-text-grid section.co-funded { padding: 50px 0 10px 0; } .text-grid.young-text-grid section.co-funded img { width: 80%; max-width: 400px; margin-bottom: 20px; display: inline-block; } .text-grid.young-text-grid section.co-funded p { display: inline-block; width: 500px; max-width: 95%; text-align: center; font-size: 0.8em; line-height: 1.5em; font-style: italic; } .text-grid.young-text-grid section.partners { padding: 30px 0 10px 0; } .text-grid.young-text-grid section.partners ul { list-style: none; margin: 0; padding: 0; } .text-grid.young-text-grid section.partners ul li { padding: 0; display: inline-block; } .text-grid.young-text-grid section.partners ul li:before { content: none; } .text-grid.young-text-grid section.partners ul li img { display: inline; max-width: 180px; } .text-grid.young-text-grid .row { margin: 0; } .text-grid.young-text-grid .row .rich-text { width: 100%; } .text-grid.young-text-grid .row .column { padding-top: 120px; padding-bottom: 120px; } @media only screen and (max-width: 1279px) { .text-grid.young-text-grid .row .column { padding-top: 60px; padding-bottom: 60px; } } @media only screen and (max-width: 1023px) { .text-grid.young-text-grid .row .column { padding-top: 20px; padding-bottom: 20px; } } section.padding { padding: 60px 0; padding: 60px 0; } /* Block article grid */ .article-grid { position: relative; z-index: 1; } .article-grid .row { margin-left: -6px; margin-right: -6px; } .article-grid .row .column { padding: 0 6px 10px 6px; } .article-grid .row .column.filter-box { display: none; } .article-grid .row .column.filter-box.active { display: block; } .article-grid .row .column article { text-align: center; } .article-grid .row .column article a { display: block; position: relative; z-index: 9; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a .video-thumb { position: relative; } .article-grid .row .column article a i.icon-player-play { position: absolute; z-index: 99; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 30px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 80px; height: 80px; text-align: center; border: 2px solid #b5975c; background: rgba(0, 0, 0, 0.5); padding: 24px 0 0 7px; } .article-grid .row .column article a img { border: 3px solid #fff; position: relative; -webkit-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a span, .article-grid .row .column article a h4, .article-grid .row .column article a h2 { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a .caption { padding: 15px 10px; box-sizing: border-box; } .article-grid .row .column article a .caption span { color: #aba8a2; font-size: 0.7058em; } .article-grid .row .column article a .caption h4 { color: #8a857b; font-size: 0.8235em; line-height: 20px; } @media only screen and (max-width: 767px) { .article-grid .row .column article a .caption h4 { font-size: 1.1em; line-height: 23px; } } .article-grid .row .column article a .caption h2 { color: #896e39; font-size: 0.95em; line-height: 24px; } .article-grid .row .column article a:hover { z-index: 10; -webkit-box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); } .article-grid .row .column article a:hover img { -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); } .article-grid .row .column article a:hover .caption span, .article-grid .row .column article a:hover .caption h4, .article-grid .row .column article a:hover .caption h2 { color: #b5975c; } .article-grid .row.video-gallery { text-align: center; } .article-grid .row.video-gallery .column { margin: 0 -2px; float: none; display: inline-block; } .article-grid.news-grid .row .column article a { -webkit-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); } .article-grid.news-grid .row .column article a img { -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); } .article-grid.news-grid .row .column article a .caption h4 { color: #896e39; font-size: 0.9em; line-height: 20px; font-family: 'playfair_displayregular'; } @media only screen and (max-width: 767px) { .article-grid.news-grid .row .column article a .caption h4 { font-size: 1.1em; line-height: 23px; } } /* Post actions */ .post-actions-block { border-top: 1px solid #dfe1e3; padding: 10px 0; font-size: 0.7647em; } .post-actions-block > ul { display: inline-block; } .post-actions-block > ul > li { display: inline-block; margin: 0 15px 0 0; position: relative; } .post-actions-block > ul > li a, .post-actions-block > ul > li mark { color: #7f7f85; } .post-actions-block > ul > li a em, .post-actions-block > ul > li mark em { font-style: normal; color: #8e764d; } .post-actions-block > ul > li a span, .post-actions-block > ul > li mark span { font-size: 0.8em; position: relative; top: 1px; } .post-actions-block > ul > li a:hover, .post-actions-block > ul > li mark:hover { color: #b5975c; } /* Post comments */ .comments-block { margin: 35px 0 0 0; padding: 35px 70px 0 70px; position: relative; z-index: 3; -webkit-box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); } @media only screen and (max-width: 767px) { .comments-block { padding: 35px 15px; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block { padding: 35px 40px 0 40px; } } .comments-block h4 { color: #46464c; font-size: 0.7058em; text-transform: uppercase; font-weight: bold; border-bottom: 1px solid #dfe1e3; padding: 0 0 10px 0; margin: 0 0 15px 0; font-family: 'montserratregular'; } .comments-block h2.anonymus { color: #a4a4ab; font-size: 1.1764em; text-align: center; padding: 25px 0 40px 0; } .comments-block .comment-form { padding: 0 60px; margin: 15px 0 0 0; } @media only screen and (max-width: 767px) { .comments-block .comment-form { padding: 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block .comment-form { padding: 0 30px; } } .comments-block .comment-form .member-avatar { width: 48px; display: inline-block; vertical-align: top; } .comments-block .comment-form .member-avatar img { border-width: 2px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .member-avatar { display: none; } } .comments-block .comment-form .form { width: 93.3333333333%; display: inline-block; vertical-align: top; position: relative; margin: 0 0 0 5px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .form { width: 100%; margin: 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .comments-block .comment-form .form { width: 89%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .comments-block .comment-form .form { width: 92%; } } .comments-block .comment-form .form textarea { color: #7f7f85; font-size: 13px; line-height: 20px; padding: 10px 13px; } .comments-block .comment-form .form .field-button { text-align: right; } .comments-block .comment-form .form .field-button .button { min-width: 215px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .form .field-button .button { width: 100%; } } .comments-block .comment-list { padding: 20px 60px; } @media only screen and (max-width: 767px) { .comments-block .comment-list { padding: 20px 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block .comment-list { padding: 20px 30px; } } .comments-block .comment-list article { padding: 12px 0; border-top: 1px solid #dfe1e3; } .comments-block .comment-list article:last-child { padding-bottom: 0; } .comments-block .comment-list article .member-avatar { width: 48px; display: inline-block; vertical-align: top; } .comments-block .comment-list article .member-avatar img { border-width: 2px; } .comments-block .comment-list article .comment-content { width: 93.3333333333%; display: inline-block; vertical-align: top; position: relative; margin: 0 0 0 5px; padding: 5px 0 0 0; } @media only screen and (max-width: 767px) { .comments-block .comment-list article .comment-content { width: 80%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .comments-block .comment-list article .comment-content { width: 89%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .comments-block .comment-list article .comment-content { width: 92%; } } .comments-block .comment-list article .comment-content h3 a { font-size: 14px; color: #4b4e54; text-transform: none; font-weight: bold; } .comments-block .comment-list article .comment-content .comment-date { color: #b6b4b0; font-size: 0.7647em; position: absolute; right: 0; top: 0; } @media only screen and (max-width: 767px) { .comments-block .comment-list article .comment-content .comment-date { position: relative; right: auto; top: auto; padding: 0 0 5px 0; } } .comments-block .comment-list article .comment-content p { color: #7f7f85; font-size: 13px; line-height: 20px; padding: 3px 0 0 0; } /* Member avatar */ .member-avatar { position: relative; } .member-avatar img { border-color: #ede4d5; border-style: solid; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .member-avatar.profile-avatar { width: 130px; display: inline-block; } .member-avatar.profile-avatar img { border-width: 4px; } .member-avatar a:hover img { border-color: #dbd0be; } /* Support grid */ .support-grid .row { margin: 0 -3px; } .support-grid .row .column { padding: 0 3px 6px 3px; } .support-grid .row.centered .column { float: none; display: inline-block; margin: 0 -2px; } .support-grid.individual h3 { border-bottom: 1px solid #e7e9ea; padding: 20px 0; margin: 0 0 20px 0; text-align: center; } .support-grid.individual .column div { height: 65px; background: #fbf7f0; padding: 0 20px; } @media only screen and (max-width: 767px) { .support-grid.individual .column div { height: auto; padding: 15px 10px; text-align: center; } } .support-grid.individual .column div h2 { color: #927741; font-size: 1.0588em; display: inline-block; line-height: 22px; } .support-grid.corporate { text-align: center; } .support-grid.corporate > div { margin: 0 0 60px 0; display: inline-block; } .support-grid.corporate > div:last-child { margin: 0; } .support-grid.corporate h3 { border-bottom: 1px solid #e7e9ea; padding: 0 0 20px 0; margin: 0 0 20px 0; } .support-grid.corporate .column div a { display: block; padding: 20px 0; background: #fff; text-align: center; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; } @media only screen and (max-width: 767px) { .support-grid.corporate .column div a { height: auto; padding: 15px 10px; } } .support-grid.corporate .column div a img { width: auto; height: auto; display: inline-block; } .support-grid.corporate .column div a:hover { position: relative; -webkit-box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); -webkit-transition: all 0.5s ease-in; -moz-transition: all 0.5s ease-in; -ms-transition: all 0.5s ease-in; -o-transition: all 0.5s ease-in; transition: all 0.5s ease-in; } .support-grid.corporate .button { margin: 20px 0 0 0; display: inline-block; } @media only screen and (max-width: 767px) { .support-grid.corporate .button { padding: 0 10px; } } .support-grid.support-grid .column .img { padding: 0 20px 0 0; } .support-grid.support-grid .column .img a { display: block; } .support-grid.support-grid .column .img a img { max-width: 100%; } .support-grid.support-grid .column .heading { text-align: left; } .support-grid.support-grid .column .heading a { display: inline-block; padding: 0; background: none; text-align: left; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } /* Member grid */ .member-grid .row { margin-left: -3px; margin-right: -3px; } .member-grid .row .column { padding: 0 3px 6px 3px; } .member-grid .row .column article { padding: 20px; background: #fbf7f0; } @media only screen and (max-width: 767px) { .member-grid .row .column article { text-align: center; } } .member-grid .row .column article .photo { width: 110px; display: inline-block; vertical-align: top; } @media only screen and (max-width: 767px) { .member-grid .row .column article .photo { margin: 0 0 10px 0; } } .member-grid .row .column article .photo img { border: 4px solid #ede4d5; } .member-grid .row .column article .info { width: 79.6296296296%; margin: 0 0 0 -5px; padding: 0 0 0 15px; display: inline-block; vertical-align: top; text-align: justify; } @media only screen and (max-width: 767px) { .member-grid .row .column article .info { width: 100%; padding: 0; margin: 0; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .member-grid .row .column article .info { width: 73%; } } .member-grid .row .column article .info div { /*border-bottom: 1px solid #eae0ce; padding: 0 0 10px 0; margin: 0 0 10px 0;*/ padding: 24px 0 0 0; } .member-grid .row .column article .info div h2 { font-size: 1.0588em; } .member-grid .row .column article .info div span { font-size: 0.75em; color: #6c6c71; display: block; padding: 5px 0; } .member-grid .row .column article .info div p { font-size: 0.85em; } .member-grid .row .column article .info p { font-size: 0.85em; line-height: 24px; } .member-grid .row.__1-block.row .column { width: 100%; } .member-grid .row.__1-block.row .column article .info { width: 89.7435897436%; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .member-grid .row.__1-block.row .column article .info { width: 87%; } } .member-grid.member-info .row .column article .info div { padding: 0; } .press-image-wrapper { text-align: center; margin: 0 0 40px 0; } .press-image-wrapper .press-image { border: 6px solid #fff; margin: 0 0 10px 0; width: 100%; -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); } /* Article lists */ .article-list article { padding: 50px 0; border-bottom: 1px solid #d9dadc; } .article-list article:first-child { padding: 0 0 50px 0; } .article-list article:last-child { padding: 50px 0 0 0; border: none; } .article-list article .heading { position: relative; } @media only screen and (max-width: 767px) { .article-list article .heading { text-align: center; padding: 15px 0 0 0; } } .article-list article .heading h2 { color: #46464c; font-size: 1.1764em; font-family: 'montserratregular'; padding: 0 0 5px 0; } .article-list article .heading a { font-size: 0.8823em; border-bottom: 1px solid #ddd; } .article-list article .heading a:hover { border-bottom: 1px solid #b5975c; } .article-list article .heading a span { font-size: 0.7em; position: relative; top: 3px; margin: 0 3px 0 0; text-decoration: none; } .article-list article .heading a.link-gallery { font-size: 0.8823em; border: none; } .article-list article .body { padding: 10px 0 0 0; } @media only screen and (max-width: 767px) { .article-list article .body { text-align: justify; } } .article-list.platinum-sponsors-list article .img { height: 130px; text-align: center; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); } @media only screen and (max-width: 767px) { .article-list.platinum-sponsors-list article .img { height: auto; padding: 20px 0; } } .article-list.platinum-sponsors-list article .img img { width: auto; display: inline-block; } .article-list.platinum-sponsors-list article .heading a.link-gallery { position: absolute; right: 0; top: 0; } @media only screen and (max-width: 767px) { .article-list.platinum-sponsors-list article .heading a.link-gallery { position: relative; top: auto; right: auto; display: block; margin: 10px 0 0 0; } } .article-list.platinum-sponsors-list article .heading a.link-gallery:hover { text-decoration: none; color: #907540; } /*======================= TEXT ELEMENTs ===========================*/ .article-details { margin: -20px 0 0 0; } .article-details .article-img { padding: 0 0 40px 0; } .article-details .article-img img { border: 6px solid #fff; -webkit-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); } .article-details .article-video { width: 60%; background: #ccc; padding: 4px; margin: 0 auto 40px auto; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } @media only screen and (max-width: 767px) { .article-details .article-video { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-details .article-video { width: 85%; } } .article-details .article-video .video { width: 100%; position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } .article-details .article-video .video iframe, .article-details .article-video .video object, .article-details .article-video .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .article-details .article-title { text-align: center; border-bottom: 1px solid #dfdfdf; padding: 0 0 35px 0; } .article-details .article-title h2 { width: 80%; line-height: 40px; padding: 10px 0; margin: 0 auto; } @media only screen and (max-width: 767px) { .article-details .article-title h2 { width: 100%; line-height: 34px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-details .article-title h2 { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .article-details .article-title h2 { width: 90%; } } .article-details .article-title ul li { display: inline-block; vertical-align: middle; padding: 0 5px; } .article-details .article-title ul li a span { color: #bbb; font-size: 0.9em; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-details .article-title ul li a:hover span { color: #d4b478; } .article-details .article-title ul li:nth-child(2) span { font-size: 0.75em; position: relative; top: 2px; } .article-details .article-content { padding: 35px 0 0 0; } .article-details .article-content .rich-text h3 { line-height: 26px; padding: 0 0 15px 0; } .article-details .article-content .rich-text h2 { color: #46464c; font-size: 1.0588em; line-height: 26px; font-family: 'montserratregular'; } .article-details .article-source { padding: 20px 0; border-top: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf; } .article-details .article-source a:hover { color: #97793e; } .article-details .article-comments { padding: 30px 70px; -webkit-box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); -moz-box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); } /*.intro-text { width: 770px / 1170px * 100%; margin: 0 auto; text-align: center; }*/ /*======================= ===========================*/ .year-filter { text-align: center; position: relative; z-index: 2; background: #fff; margin: 0 0 30px 0; } .year-filter:after { width: 100%; height: 1px; background: #d7b269; content: ""; position: absolute; top: 50%; left: 0; z-index: 1; } .year-filter ul { position: relative; z-index: 2; } .year-filter ul li { display: inline-block; background: #fff; padding: 0 10px; } @media only screen and (max-width: 767px) { .year-filter ul li { padding: 3px 10px; } } .year-filter ul li a { color: #909193; font-family: 'playfair_displayregular'; font-size: 1.1764em; } .year-filter ul li a:hover, .year-filter ul li a.active { color: #b5975c; } /*======================= TABBED CONTENT ===========================*/ .tabbed-content ul.tabs { border-bottom: 1px solid #dfdfdf; } @media only screen and (max-width: 767px) { .tabbed-content ul.tabs { text-align: center; } } .tabbed-content ul.tabs li { padding: 15px 30px; color: #818188; font-family: 'playfair_displayregular'; font-size: 1.0588em; cursor: pointer; display: inline-block; border-bottom: 2px solid transparent; margin-bottom: -2px; position: relative; } @media only screen and (max-width: 767px) { .tabbed-content ul.tabs li { padding: 15px; } } .tabbed-content ul.tabs li.active { color: #896f3b; border-bottom: 2px solid #b5975c; } .tabbed-content ul.tabs li.active:after { bottom: -10px; left: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(181, 151, 92, 0); border-top-color: #b5975c; border-width: 4px; margin-left: -4px; } .tabbed-content .tab-content { display: none; padding: 35px 0 0 0; } .tabbed-content .tab-content.active { display: inherit; } /*======================= QUOTES ===========================*/ .quotes { border-top: 1px solid #eff0f1; margin: 50px 0 0 0; padding: 50px 0 0 0; } .quotes article { position: relative; padding: 20px 10px; text-align: center; } .quotes article > div { width: 100%; text-align: center; position: absolute; bottom: 10px; left: 0; } @media only screen and (max-width: 1023px) { .quotes article > div { position: relative; bottom: auto; left: auto; } } .quotes article:before, .quotes article:after { width: 110px; height: 2px; background: #b5975c; content: ""; position: absolute; left: 50%; margin-left: -55px; } .quotes article:before { top: 0; } .quotes article:after { bottom: 0; } @media only screen and (max-width: 767px) { .quotes article:after { display: none; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .quotes article:after { display: none; } } .quotes article p { font-size: 1.1em; font-style: italic; font-family: 'playfair_displayregular'; color: #4c4c4e; padding: 0 0 40px 0; } @media only screen and (max-width: 1023px) { .quotes article p { padding: 0; } } .quotes article h4 { color: #5c5c60; padding: 15px 0 5px 0; } .quotes article span { color: #8c8c93; font-size: 0.6470em; text-transform: uppercase; } .quotes .quote-logo { position: relative; } .quotes .quote-logo > div { width: 80%; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } @media only screen and (max-width: 1023px) { .quotes .quote-logo > div { width: 60%; margin: 20px auto 40px auto; position: relative; top: auto; left: auto; -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); } } /*======================= GALLERY GRIDs ===========================*/ .gallery-grid .gallery-item { position: relative; display: block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; background: no-repeat center; background-size: cover; border: 2px solid #fff; } .gallery-grid .gallery-item.gallery-item-3-2 { padding: 34% 0; } .gallery-grid .gallery-item.gallery-item-4-2 { padding: 25% 0; } .gallery-grid .gallery-item.gallery-item-6-2 { padding: 16.666666% 0; } .gallery-grid .gallery-item:before { width: 100%; height: 100%; top: 0; bottom: 0; left: 0; background: rgba(21, 17, 8, 0.6); position: absolute; content: ""; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .gallery-grid .gallery-item:after { top: 10px; left: 10px; bottom: 10px; right: 10px; border: 1px solid #574521; position: absolute; content: ""; box-sizing: border-box; } .gallery-grid .gallery-item h4 { width: 100%; color: #fff; text-align: center; font-family: 'montserrathairline'; font-size: 2.1em; position: absolute; z-index: 3; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } @media only screen and (max-width: 767px) and (orientation: portrait) { .gallery-grid .gallery-item h4 { font-size: 1.8em; } } .gallery-grid .gallery-item:hover:before { background: rgba(21, 17, 8, 0); } .gallery-grid.gallery-grid-wrapper .gallery-grid-holder { width: 80%; margin: 0 auto; } @media only screen and (max-width: 1023px) { .gallery-grid.gallery-grid-wrapper .gallery-grid-holder { width: 100%; } } #ShowUpWrapper .popup-media { display: inline-block; vertical-align: top; width: 100vh; } #ShowUpWrapper .popup-media .video { width: 100%; position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } #ShowUpWrapper .popup-media .video iframe, #ShowUpWrapper .popup-media .video object, #ShowUpWrapper .popup-media .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .article-gallery-grid { margin: -50px 0 0 0; padding: 0 0 30px 0; } @media only screen and (max-width: 767px) { .article-gallery-grid { margin: -10px 0 0 0; text-align: center; } } .article-gallery-grid > div { display: inline-block; vertical-align: top; } .article-gallery-grid > div .button { display: block; padding: 15px 30px; margin: 5px 0 0 0; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-gallery-grid > div .button { padding: 0 10px; } } .article-gallery-grid > div .item { background: #151108; } .article-gallery-grid > div .item a { display: block; } .article-gallery-grid > div .item a.video-showup { position: relative; } .article-gallery-grid > div .item a.video-showup:after { position: absolute; background: transparent; top: 0; left: 0; width: 100%; height: 100%; z-index: 88; content: ""; border: solid 2px #b5975c; } .article-gallery-grid > div .item a img { opacity: .6; } .article-gallery-grid > div .item a:hover img { opacity: 1; } .article-gallery-grid .holder-half { width: 50%; display: inline-block; padding: 0 3px 0 0; } .article-gallery-grid .holder-half:last-child { margin: 0 0 0 -5px; padding: 0 0 0 3px; } .article-gallery-grid .holder-left { width: 36.7521367521%; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-left { display: none; } } .article-gallery-grid .holder-left .item:first-child { margin: 0 0 5px 0; } .article-gallery-grid .holder-middle { width: 26.4957264957%; margin: -58px 0 0 -5px; padding: 0 5px; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-middle { width: 80%; display: inline-block; padding: 0; } } .article-gallery-grid .holder-middle .item a img { opacity: 1; } .article-gallery-grid .holder-right { width: 36.7521367521%; margin-left: -4px; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-right { display: none; } } .article-gallery-grid .holder-right .holder-half { padding-top: 5px; } a.video-showup { position: relative; display: block; } a.video-showup i { position: absolute; z-index: 99; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 30px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 80px; height: 80px; text-align: center; border: 2px solid #b5975c; background: rgba(0, 0, 0, 0.5); padding: 24px 0 0 7px; } a.video-showup img { margin: 0 !important; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /*======================= TABLES ===========================*/ .table-cast { padding: 0 0 30px 0; } .table-cast h2 { color: #454a53; font-size: 0.86em; text-transform: uppercase; padding: 0 0 10px 20px; } @media only screen and (max-width: 767px) { .table-cast h2 { padding: 0 0 10px 0; text-align: center; line-height: 20px; } } .table-cast table tr td { color: #7f7f85; padding: 10px 20px; background: #fdfcf9; line-height: 22px; } .table-cast table tr td a { color: #997c42; line-height: 22px; } .table-cast table tr td a:hover { text-decoration: underline; } .table-cast table tr td:first-child { color: #333338; } .table-cast table tr:nth-child(2n+1) td { background: #fbf7f0; } .table-program table tr td { padding: 12px 20px; vertical-align: top; background: #fdfcf9; } .table-program table tr td h2 { color: #454a53; font-size: 0.88em; font-style: italic; padding: 0 0 5px 0; } .table-program table tr td p { line-height: 18px; } .table-program table tr td:nth-child(1) { width: 50%; } .table-program table tr td:nth-child(2) { width: 50%; } .table-program table tr td:nth-child(2) p { color: #454a53; line-height: 16px; } .table-program table tr:nth-child(2n+1) td { background: #fbf7f0; } .table-next-program { padding: 0 0 30px 0; } .table-next-program table thead { border-top: 3px solid #e9e1d3; } .table-next-program table thead tr th { background: #f4eee4; text-align: left; padding: 12px 20px; } @media only screen and (max-width: 767px) { .table-next-program table thead tr th { text-align: center; } } .table-next-program table thead tr th span { display: block; font-family: 'playfair_displayregular'; color: #957943; padding: 0 0 5px 0; } .table-next-program table thead tr th h2 { color: #454a53; font-size: 17px; } @media only screen and (max-width: 767px) { .table-next-program table thead tr th h2 { line-height: 20px; } } .table-next-program table thead tr th h2 i { font-style: italic; } .table-next-program table tbody tr td { font-size: 0.85em; color: #7f7f85; padding: 10px 20px; background: #fbf7f0; line-height: 22px; } .table-next-program table tbody tr td a { color: #997c42; line-height: 22px; } .table-next-program table tbody tr td a:hover { text-decoration: underline; } .table-next-program table tbody tr td:first-child { color: #333338; } .table-next-program table tbody tr:nth-child(2n+1) td { background: #fdfcf9; } .table-next-program table tbody tr.intro td { color: #7f7f85; } @media only screen and (max-width: 767px) { .table-next-program table tbody tr.intro td { text-align: center; } } /*======================= Seating Map & Tickets ===========================*/ .seating-map { background: #f1f3f4; padding: 5px; } .seating-map > div { background: #fff; border: 1px solid #bfc3cc; padding: 0 15px; } .seating-map > div .map { padding: 20px; border-right: 1px solid #bfc3cc; } @media only screen and (max-width: 767px) { .seating-map > div .map { padding: 10px; border: none; } } /*======================= Element Blocks ===========================*/ .ticket-block { /*padding-top: 50px;*/ } .ticket-block .row { text-align: left !important; margin-bottom: 0; } .ticket-block .row .rich-text { width: 80%; } @media only screen and (max-width: 767px) { .ticket-block .row .rich-text { width: 100%; margin: 0 0 20px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .rich-text { margin: 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .rich-text h2 { text-align: left; } } .ticket-block .row .ticketing { background: #ebe5da; padding: 10px; text-align: center; } .ticket-block .row .ticketing > div { border: 1px solid #fff; padding: 30px 50px; } @media only screen and (max-width: 767px) { .ticket-block .row .ticketing > div { padding: 30px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .ticketing > div { padding: 30px; } } .ticket-block .row .ticketing > div h2 { color: #2d2d2e; font-size: 1.29em; padding: 0; } .ticket-block .row .ticketing > div p { font-size: 0.8em; line-height: 18px; padding: 15px 0 20px 0; } .ticket-block .row .ticketing > div .button { min-width: 190px; display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding: 0; line-height: 42px; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .ticketing > div .button { min-width: 100%; } } .brochure-block { background: url("/img/bg-notes.png") no-repeat 0 -320px #f8f8f8; text-align: center; margin: 70px 0 0 0; padding: 50px 0; } @media only screen and (max-width: 767px) { .brochure-block { padding: 25px; } } .brochure-block h3 { font-size: 1.1764em; } @media only screen and (max-width: 767px) { .brochure-block h3 { line-height: 25px; } } .brochure-block p { width: 70%; margin: 20px auto; } @media only screen and (max-width: 767px) { .brochure-block p { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .brochure-block p { width: 80%; } } .brochure-block .button { display: inline-block; } @media only screen and (max-width: 767px) { .brochure-block .button { width: 100%; } } .accounts-block { background: #f0f0f1; padding: 10px; margin: 50px 0 0 0; } @media only screen and (max-width: 767px) { .accounts-block { margin: 20px 0 0 0; } } .accounts-block > div { border: 1px solid #fff; } .accounts-block > div .account { padding: 25px; text-align: center; } .accounts-block > div .account h2 { color: #2d2d2e; font-size: 1.0588em; padding: 0 0 10px 0; } .accounts-block > div .account p { font-size: 0.8em; line-height: 22px; } .apply-work-block { padding: 40px; background: url("/img/bg-notes.png") no-repeat 0 0 #f6f3ed; } @media only screen and (max-width: 767px) { .apply-work-block { text-align: center; padding: 25px; } } .apply-work-block h3 { padding: 0 0 15px 0; } .apply-work-block p { line-height: 28px; } .apply-work-block .note { border-left: 5px solid #b5975c; padding: 0 0 0 20px; margin: 30px 0 0 0; } @media only screen and (max-width: 767px) { .apply-work-block .note { border-left: none; border-top: 5px solid #b5975c; border-bottom: 5px solid #b5975c; padding: 20px 0; } } .apply-work-block .note p { font-size: 0.8823em; line-height: 24px; text-align: justify; } .apply-work-block .form { width: 90%; float: right; padding: 20px 0 0 0; } @media only screen and (max-width: 1023px) { .apply-work-block .form { width: 100%; float: none; text-align: left; } } .apply-work-block .form .field-item .field { background: #e5e1d9; } .apply-work-block .form .field-item .field input[type=text], .apply-work-block .form .field-item .field input[type=password] { border: 1px solid #cbc5ba; } .apply-work-block .form .field-item .field input[type=text]:hover, .apply-work-block .form .field-item .field input[type=password]:hover { border: 1px solid #b9b2a5; } .apply-work-block .form .field-item.field-button { text-align: center; } .contact-block { padding: 0 0 50px 0; } .contact-block .contact-info .column { padding-top: 20px; } .contact-block .contact-info .column:last-child { padding-bottom: 20px; } .contact-block .contact-info h3 { padding: 0 0 20px 0; } .contact-block .contact-info p { font-size: 0.88em; line-height: 18px; padding: 0 0 4px 0; } .contact-block .contact-info p a { border-bottom: 1px solid #ddd; } .contact-block .contact-info p a:hover { border-bottom: 1px solid #b5975c; } .contact-block .contact-form { padding: 25px; background: url("/img/bg-notes.png") no-repeat 0 0 #f6f3ed; } .contact-block .contact-form .field-item .field { background: #e5e1d9; } .contact-block .contact-form .field-item .field input[type=text], .contact-block .contact-form .field-item .field input[type=password] { border: 1px solid #cbc5ba; } .contact-block .contact-form .field-item .field input[type=text]:hover, .contact-block .contact-form .field-item .field input[type=password]:hover { border: 1px solid #b9b2a5; } .contact-block .contact-form .field-item .field textarea { height: 110px; padding: 12px; } .contact-block .contact-form .field-item.field-button { text-align: center; } .form-block { padding: 40px; background: url("/img/bg-notes.png") no-repeat 0 -50px #f6f3ed; } @media only screen and (max-width: 767px) { .form-block { padding: 30px 20px; } } .form-block .form { width: 40%; margin: 0 auto; } @media only screen and (max-width: 767px) { .form-block .form { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .form-block .form { width: 60%; } } .form-block .form .field-item .field { background: #e5e1d9; } .form-block .form .field-item .field input[type=text], .form-block .form .field-item .field input[type=password], .form-block .form .field-item .field textarea { border: 1px solid #cbc5ba; } .form-block .form .field-item .field input[type=text]:hover, .form-block .form .field-item .field input[type=password]:hover, .form-block .form .field-item .field textarea:hover { border: 1px solid #b9b2a5; } .form-block .form .field-item.field-button { text-align: center; } .apply-block { text-align: center; } .apply-block figure { width: 100%; display: inline-block; position: relative; margin: 0 0 30px 0; } .apply-block figure .apply-button { display: block; position: relative; } .apply-block figure .apply-button:before { width: 100%; height: 100%; position: absolute; top: 0; left: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); content: ""; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .apply-block figure .apply-button:after { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 1; } .apply-block figure .apply-button:hover:before { background: rgba(0, 0, 0, 0.6); } .apply-block figure figcaption { width: 100%; position: absolute; text-align: center; left: 0; top: 50%; z-index: 11; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } .apply-block figure figcaption div { color: #c8c0bc; font-size: 0.7058em; text-transform: uppercase; position: relative; margin-bottom: 13px; } .apply-block figure figcaption div:after { width: 40px; height: 1px; background: #b5975c; position: absolute; bottom: -8px; left: 50%; margin-left: -20px; content: ""; } .apply-block figure figcaption h2 { font-family: 'playfair_displayregular'; color: #fff; font-size: 1.1746em; line-height: 24px; } .vertical-align { -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; } /*======================= Special pages ===========================*/ main.complete-profile-form .inner { width: 500px; } main.complete-profile-form .forum-form .__7, main.complete-profile-form .forum-form .lt__6 { width: 100%; } main.complete-profile-form .forum-form .field-item { padding: 0 0 15px 0; } main.complete-profile-form .forum-form .field-item-3 .field-item:last-child { padding: 0; } main.complete-profile-form .forum-form .form-text { text-align: center; padding-top: 15px; padding-bottom: 15px; } main.complete-profile-form .forum-form .form-text p, main.complete-profile-form .forum-form .form-text a { line-height: 22px; font-size: 15px; } main.complete-profile-form .forum-form .profile-form-block h3 { font-size: 0.75em; text-transform: uppercase; border-bottom: 1px solid #dfe1e3; padding: 0 0 7px 0; font-family: 'robotomedium'; margin: 20px 0; } main.complete-profile-form .forum-form .profile-form-block:first-child h3 { margin: 0 0 20px 0; } .buy-ticket-email { margin: 20px auto; } .buy-ticket-email .link-buy-ticket-email { font-size: 1.3em; } @media only screen and (min-width: 1024px) { .buy-ticket-email .link-buy-ticket-email { font-size: 1.7em; } } /*# sourceMappingURL=1-main.css.map */ ', 'modified' => '2017-01-20 16:30:40' ) ), 'javascripts' => array( (int) 99 => array( 'id' => (int) 99, 'name' => 'init', 'data' => '// Header scroll $(window).scroll(function () { var body = $('body'); if(!body.hasClass('forum')) { if ($(window).scrollTop() > 0) { body.addClass('fixed-nav'); } else { body.removeClass('fixed-nav'); } } }); $('.off-canvas-right-content nav ul').first().append($('.off-canvas-right-content .mobile-last')); // Comments textarea autoexpand jQuery.each(jQuery('textarea[data-autoresize]'), function() { var offset = this.offsetHeight - this.clientHeight; var resizeTextarea = function(el) { jQuery(el).css('height', 'auto').css('height', el.scrollHeight + offset); }; jQuery(this).on('keyup input', function() { resizeTextarea(this); }).removeAttr('data-autoresize'); }); // Comments on ENTER key get submited $(document).on('keydown', '.form-add-comment textarea', function(event) { if (event.keyCode == 13 && !event.shiftKey) { $(this).closest('.form-add-comment').submit(); } }); // Off canvas right menu $('#openRight').click(function(){ $('body').toggleClass('off-canvas-right-opened'); }); // Off canvas right menu - Submenu $('.off-canvas-right-content .dropdown > a').click(function(){ $(this).parent('.dropdown').find('ul').stop().slideToggle('dropdown-opened'); }); // Off canvas left menu (forum) $('#openLeft').click(function(){ $('body').toggleClass('off-canvas-left-opened'); }); // Popup open $('#loginPopup, #renamePopup, #deletePopup, #createPopup, .apply-popup').popup({ outline: true, focusdelay: 0, escape: true, blur: true, scrolllock: false, onclose: function() { var validationError = $('.validation-error-message'); if(validationError.length) { $('.validation-error').removeClass('validation-error'); validationError.remove(); } } }); $('.btn-add-gallery').click(function () { $('#WriteGalleryType').text($(this).data('gallery-type')) }); //Show gallery actions $('.profile-gallery-block article').hover(function(){ $(this).closest('article').find('.gallery-mark').toggleClass('show-hidden'); }); // Vertical align script $.fn.vAlign = function() { return this.each(function(i){ var ah = $(this).height(); var ph = $(this).parent().height(); var mh = Math.ceil((ph-ah) / 2); $(this).css('margin-top', mh); }); }; $(function() { if ($(window).width() > 767) { //Height match if($.fn.matchHeight) { $('.match-height').matchHeight(); } //Vertical align if($.fn.vAlign) { $('.vertical-align').vAlign(); } } //Select menu style if($.fn.select2) { $('select:not(.select-search)').select2({ minimumResultsForSearch: Infinity, width: '100%' }); $('.select-country select').select2({ width: '100%' }); } }); // Search open/close if ($(window).width() > 767) { var isOpen = false; $('.search-icon').click(function(){ if(isOpen == false){ $('.search').addClass('search-open'); $('.search-input').focus(); isOpen = true; $('nav').addClass('search-is-open'); $('ul.lang').addClass('search-is-open'); } else { $('.search').removeClass('search-open'); $('.search-input').focusout(); isOpen = false; $('nav').removeClass('search-is-open'); $('ul.lang').removeClass('search-is-open'); } }); $('.search-icon').mouseup(function(){ return false; }); $('.search').mouseup(function(){ return false; }); $(document).mouseup(function(){ if(isOpen == true){ $('.search-icon').click(); } }); } // Tabbed content $('ul.tabs li').click(function(){ var tab_id = $(this).attr('data-tab'); $('ul.tabs li').removeClass('active'); $('.tab-content').removeClass('active'); $(this).addClass('active'); $("#"+tab_id).addClass('active'); }); $(document).ready(function() { $('#newsletterForm').intlxform({ onError : function() { $('.validation-error input').click(function () { $(this).closest('.validation-error').find('.validation-error-message').remove() }); } }); }); function onRecaptchaLoadCallback() { $(window).trigger('recaptcha.loaded'); }', 'modified' => '2017-01-20 16:39:06' ), (int) 10 => array( 'id' => (int) 10, 'name' => 'jquery.popupoverlay', 'data' => '/*! * jQuery Popup Overlay * * @version 1.7.13 * @requires jQuery v1.7.1+ * @link http://vast-engineering.github.com/jquery-popup-overlay/ */ ;(function ($) { var $window = $(window); var options = {}; var zindexvalues = []; var lastclicked = []; var scrollbarwidth; var bodymarginright = null; var opensuffix = '_open'; var closesuffix = '_close'; var visiblePopupsArray = []; var transitionsupport = null; var opentimer; var iOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent); var focusableElementsString = "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]"; var methods = { _init: function (el) { var $el = $(el); var options = $el.data('popupoptions'); lastclicked[el.id] = false; zindexvalues[el.id] = 0; if (!$el.data('popup-initialized')) { $el.attr('data-popup-initialized', 'true'); methods._initonce(el); } if (options.autoopen) { setTimeout(function() { methods.show(el, 0); }, 0); } }, _initonce: function (el) { var $el = $(el); var $body = $('body'); var $wrapper; var options = $el.data('popupoptions'); var css; bodymarginright = parseInt($body.css('margin-right'), 10); transitionsupport = document.body.style.webkitTransition !== undefined || document.body.style.MozTransition !== undefined || document.body.style.msTransition !== undefined || document.body.style.OTransition !== undefined || document.body.style.transition !== undefined; if (options.type == 'tooltip') { options.background = false; options.scrolllock = false; } if (options.backgroundactive) { options.background = false; options.blur = false; options.scrolllock = false; } if (options.scrolllock) { // Calculate the browser's scrollbar width dynamically var parent; var child; if (typeof scrollbarwidth === 'undefined') { parent = $('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'); child = parent.children(); scrollbarwidth = child.innerWidth() - child.height(99).innerWidth(); parent.remove(); } } if (!$el.attr('id')) { $el.attr('id', 'j-popup-' + parseInt((Math.random() * 100000000), 10)); } $el.addClass('popup_content'); if ((options.background) && (!$('#' + el.id + '_background').length)) { $body.append('<div id="' + el.id + '_background" class="popup_background"></div>'); var $background = $('#' + el.id + '_background'); $background.css({ opacity: 0, visibility: 'hidden', backgroundColor: options.color, position: 'fixed', top: 0, right: 0, bottom: 0, left: 0 }); if (options.setzindex && !options.autozindex) { $background.css('z-index', '100000'); } if (options.transition) { $background.css('transition', options.transition); } } $body.append(el); $el.wrap('<div id="' + el.id + '_wrapper" class="popup_wrapper" />'); $wrapper = $('#' + el.id + '_wrapper'); $wrapper.css({ opacity: 0, visibility: 'hidden', position: 'absolute' }); // Make div clickable in iOS if (iOS) { $wrapper.css('cursor', 'pointer'); } if (options.type == 'overlay') { $wrapper.css('overflow','auto'); } $el.css({ opacity: 0, visibility: 'hidden', display: 'inline-block' }); if (options.setzindex && !options.autozindex) { $wrapper.css('z-index', '100001'); } if (!options.outline) { $el.css('outline', 'none'); } if (options.transition) { $el.css('transition', options.transition); $wrapper.css('transition', options.transition); } // Hide popup content from screen readers initially $el.attr('aria-hidden', true); if (options.type == 'overlay') { $el.css({ textAlign: 'left', position: 'relative', verticalAlign: 'middle' }); css = { position: 'fixed', width: '100%', height: '100%', top: 0, left: 0, textAlign: 'center' }; if(options.backgroundactive){ css.position = 'absolute'; css.height = '0'; css.overflow = 'visible'; } $wrapper.css(css); // CSS vertical align helper $wrapper.append('<div class="popup_align" />'); $('.popup_align').css({ display: 'inline-block', verticalAlign: 'middle', height: '100%' }); } // Add WAI ARIA role to announce dialog to screen readers $el.attr('role', 'dialog'); var openelement = (options.openelement) ? options.openelement : ('.' + el.id + opensuffix); $(openelement).each(function (i, item) { $(item).attr('data-popup-ordinal', i); if (!item.id) { $(item).attr('id', 'open_' + parseInt((Math.random() * 100000000), 10)); } }); // Set aria-labelledby (if aria-label or aria-labelledby is not set in html) if (!($el.attr('aria-labelledby') || $el.attr('aria-label'))) { $el.attr('aria-labelledby', $(openelement).attr('id')); } // Show and hide tooltips on hover if(options.action == 'hover'){ options.keepfocus = false; // Handler: mouseenter, focusin $(openelement).on('mouseenter', function (event) { methods.show(el, $(this).data('popup-ordinal')); }); // Handler: mouseleave, focusout $(openelement).on('mouseleave', function (event) { methods.hide(el); }); } else { // Handler: Show popup when clicked on `open` element $(document).on('click', openelement, function (event) { event.preventDefault(); var ord = $(this).data('popup-ordinal'); setTimeout(function() { // setTimeout is to allow `close` method to finish (for issues with multiple tooltips) methods.show(el, ord); }, 0); }); } if (options.closebutton) { methods.addclosebutton(el); } if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } }, /** * Show method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ show: function (el, ordinal) { var $el = $(el); if ($el.data('popup-visible')) return; // Initialize if not initialized. Required for: $('#popup').popup('show') if (!$el.data('popup-initialized')) { methods._init(el); } $el.attr('data-popup-initialized', 'true'); var $body = $('body'); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); // `beforeopen` callback event callback(el, ordinal, options.beforeopen); // Remember last clicked place lastclicked[el.id] = ordinal; // Add popup id to visiblePopupsArray setTimeout(function() { visiblePopupsArray.push(el.id); }, 0); // Calculating maximum z-index if (options.autozindex) { var elements = document.getElementsByTagName('*'); var len = elements.length; var maxzindex = 0; for(var i=0; i<len; i++){ var elementzindex = $(elements[i]).css('z-index'); if(elementzindex !== 'auto'){ elementzindex = parseInt(elementzindex, 10); if(maxzindex < elementzindex){ maxzindex = elementzindex; } } } zindexvalues[el.id] = maxzindex; // Add z-index to the background if (options.background) { if (zindexvalues[el.id] > 0) { $('#' + el.id + '_background').css({ zIndex: (zindexvalues[el.id] + 1) }); } } // Add z-index to the wrapper if (zindexvalues[el.id] > 0) { $wrapper.css({ zIndex: (zindexvalues[el.id] + 2) }); } } if (options.detach) { $wrapper.prepend(el); $el.show(); } else { $wrapper.show(); } opentimer = setTimeout(function() { $wrapper.css({ visibility: 'visible', opacity: 1 }); $('html').addClass('popup_visible').addClass('popup_visible_' + el.id); $wrapper.addClass('popup_wrapper_visible'); }, 20); // 20ms required for opening animation to occur in FF // Disable background layer scrolling when popup is opened if (options.scrolllock) { $body.css('overflow', 'hidden'); if ($body.height() > $window.height()) { $body.css('margin-right', bodymarginright + scrollbarwidth); } } if(options.backgroundactive){ //calculates the vertical align $el.css({ top:( $window.height() - ( $el.get(0).offsetHeight + parseInt($el.css('margin-top'), 10) + parseInt($el.css('margin-bottom'), 10) ) )/2 +'px' }); } $el.css({ 'visibility': 'visible', 'opacity': 1 }); // Show background if (options.background) { $background.css({ 'visibility': 'visible', 'opacity': options.opacity }); // Fix IE8 issue with background not appearing setTimeout(function() { $background.css({ 'opacity': options.opacity }); }, 0); } $el.data('popup-visible', true); // Position popup methods.reposition(el, ordinal); // Remember which element had focus before opening a popup $el.data('focusedelementbeforepopup', document.activeElement); // Handler: Keep focus inside dialog box if (options.keepfocus) { // Make holder div focusable $el.attr('tabindex', -1); // Focus popup or user specified element. // Initial timeout of 50ms is set to give some time to popup to show after clicking on // `open` element, and after animation is complete to prevent background scrolling. setTimeout(function() { if (options.focuselement === 'closebutton') { $('#' + el.id + ' .' + el.id + closesuffix + ':first').focus(); } else if (options.focuselement) { $(options.focuselement).focus(); } else { $el.focus(); } }, options.focusdelay); } // Hide main content from screen readers $(options.pagecontainer).attr('aria-hidden', true); // Reveal popup content to screen readers $el.attr('aria-hidden', false); callback(el, ordinal, options.onopen); if (transitionsupport) { $wrapper.one('transitionend', function() { callback(el, ordinal, options.opentransitionend); }); } else { callback(el, ordinal, options.opentransitionend); } // Handler: Reposition tooltip when window is resized if (options.type == 'tooltip') { $(window).on('resize.' + el.id, function () { methods.reposition(el, ordinal); }); } }, /** * Hide method * * @param object el - popup instance DOM node * @param boolean outerClick - click on the outer content below popup */ hide: function (el, outerClick) { // Get index of popup ID inside of visiblePopupsArray var popupIdIndex = $.inArray(el.id, visiblePopupsArray); // If popup is not opened, ignore the rest of the function if (popupIdIndex === -1) { return; } if(opentimer) clearTimeout(opentimer); var $body = $('body'); var $el = $(el); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); $el.data('popup-visible', false); if (visiblePopupsArray.length === 1) { $('html').removeClass('popup_visible').removeClass('popup_visible_' + el.id); } else { if($('html').hasClass('popup_visible_' + el.id)) { $('html').removeClass('popup_visible_' + el.id); } } // Remove popup from the visiblePopupsArray visiblePopupsArray.splice(popupIdIndex, 1); if($wrapper.hasClass('popup_wrapper_visible')) { $wrapper.removeClass('popup_wrapper_visible'); } // Focus back on saved element if (options.keepfocus && !outerClick) { setTimeout(function() { if ($($el.data('focusedelementbeforepopup')).is(':visible')) { $el.data('focusedelementbeforepopup').focus(); } }, 0); } // Hide popup $wrapper.css({ 'visibility': 'hidden', 'opacity': 0 }); $el.css({ 'visibility': 'hidden', 'opacity': 0 }); // Hide background if (options.background) { $background.css({ 'visibility': 'hidden', 'opacity': 0 }); } // Reveal main content to screen readers $(options.pagecontainer).attr('aria-hidden', false); // Hide popup content from screen readers $el.attr('aria-hidden', true); // `onclose` callback event callback(el, lastclicked[el.id], options.onclose); if (transitionsupport && $el.css('transition-duration') !== '0s') { $el.one('transitionend', function(e) { if (!($el.data('popup-visible'))) { if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } } // Re-enable scrolling of background layer if (options.scrolllock) { setTimeout(function() { $body.css({ overflow: 'visible', 'margin-right': bodymarginright }); }, 10); // 10ms added for CSS transition in Firefox which doesn't like overflow:auto } callback(el, lastclicked[el.id], options.closetransitionend); }); } else { if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } // Re-enable scrolling of background layer if (options.scrolllock) { setTimeout(function() { $body.css({ overflow: 'visible', 'margin-right': bodymarginright }); }, 10); // 10ms added for CSS transition in Firefox which doesn't like overflow:auto } callback(el, lastclicked[el.id], options.closetransitionend); } if (options.type == 'tooltip') { $(window).off('resize.' + el.id); } }, /** * Toggle method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ toggle: function (el, ordinal) { if ($(el).data('popup-visible')) { methods.hide(el); } else { setTimeout(function() { methods.show(el, ordinal); }, 0); } }, /** * Reposition method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ reposition: function (el, ordinal) { var $el = $(el); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); ordinal = ordinal || 0; // Tooltip type if (options.type == 'tooltip') { $wrapper.css({ 'position': 'absolute' }); var $tooltipanchor; if (options.tooltipanchor) { $tooltipanchor = $(options.tooltipanchor); } else if (options.openelement) { $tooltipanchor = $(options.openelement).filter('[data-popup-ordinal="' + ordinal + '"]'); } else { $tooltipanchor = $('.' + el.id + opensuffix + '[data-popup-ordinal="' + ordinal + '"]'); } var linkOffset = $tooltipanchor.offset(); // Horizontal position for tooltip if (options.horizontal == 'right') { $wrapper.css('left', linkOffset.left + $tooltipanchor.outerWidth() + options.offsetleft); } else if (options.horizontal == 'leftedge') { $wrapper.css('left', linkOffset.left + $tooltipanchor.outerWidth() - $tooltipanchor.outerWidth() + options.offsetleft); } else if (options.horizontal == 'left') { $wrapper.css('right', $window.width() - linkOffset.left - options.offsetleft); } else if (options.horizontal == 'rightedge') { $wrapper.css('right', $window.width() - linkOffset.left - $tooltipanchor.outerWidth() - options.offsetleft); } else { $wrapper.css('left', linkOffset.left + ($tooltipanchor.outerWidth() / 2) - ($el.outerWidth() / 2) - parseFloat($el.css('marginLeft')) + options.offsetleft); } // Vertical position for tooltip if (options.vertical == 'bottom') { $wrapper.css('top', linkOffset.top + $tooltipanchor.outerHeight() + options.offsettop); } else if (options.vertical == 'bottomedge') { $wrapper.css('top', linkOffset.top + $tooltipanchor.outerHeight() - $el.outerHeight() + options.offsettop); } else if (options.vertical == 'top') { $wrapper.css('bottom', $window.height() - linkOffset.top - options.offsettop); } else if (options.vertical == 'topedge') { $wrapper.css('bottom', $window.height() - linkOffset.top - $el.outerHeight() - options.offsettop); } else { $wrapper.css('top', linkOffset.top + ($tooltipanchor.outerHeight() / 2) - ($el.outerHeight() / 2) - parseFloat($el.css('marginTop')) + options.offsettop); } // Overlay type } else if (options.type == 'overlay') { // Horizontal position for overlay if (options.horizontal) { $wrapper.css('text-align', options.horizontal); } else { $wrapper.css('text-align', 'center'); } // Vertical position for overlay if (options.vertical) { $el.css('vertical-align', options.vertical); } else { $el.css('vertical-align', 'middle'); } } }, /** * Add-close-button method * * @param {object} el - popup instance DOM node */ addclosebutton: function (el) { var genericCloseButton; if ($(el).data('popupoptions').closebuttonmarkup) { genericCloseButton = $(options.closebuttonmarkup).addClass(el.id + '_close'); } else { genericCloseButton = '<button class="popup_close ' + el.id + '_close" title="Close" aria-label="Close"><span aria-hidden="true">×</span></button>'; } if ($(el).data('popup-initialized')){ $(el).append(genericCloseButton); } } }; /** * Callback event calls * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element * @param {function} func - callback function */ var callback = function (el, ordinal, func) { var options = $(el).data('popupoptions'); var openelement = (options.openelement) ? options.openelement : ('.' + el.id + opensuffix); var elementclicked = $(openelement + '[data-popup-ordinal="' + ordinal + '"]'); if (typeof func == 'function') { func.call($(el), el, elementclicked); } }; // Hide popup if ESC key is pressed $(document).on('keydown', function (event) { if(visiblePopupsArray.length) { var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); if ($(el).data('popupoptions').escape && event.keyCode == 27) { methods.hide(el); } } }); // Hide popup on click $(document).on('click', function (event) { if(visiblePopupsArray.length) { var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); var closeButton = ($(el).data('popupoptions').closeelement) ? $(el).data('popupoptions').closeelement : ('.' + el.id + closesuffix); // If Close button clicked if ($(event.target).closest(closeButton).length) { event.preventDefault(); methods.hide(el); } // If clicked outside of popup if ($(el).data('popupoptions').blur && !$(event.target).closest('#' + elementId).length && event.which !== 2 && $(event.target).is(':visible')) { if ($(el).data('popupoptions').background) { // If clicked on popup cover methods.hide(el); // Older iOS/Safari will trigger a click on the elements below the cover, // when tapping on the cover, so the default action needs to be prevented. event.preventDefault(); } else { // If clicked on outer content methods.hide(el, true); } } } }); // Keep keyboard focus inside of popup $(document).on('keydown', function(event) { if(visiblePopupsArray.length && event.which == 9) { // If tab or shift-tab pressed var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); // Get list of all children elements in given object var popupItems = $(el).find('*'); // Get list of focusable items var focusableItems = popupItems.filter(focusableElementsString).filter(':visible'); // Get currently focused item var focusedItem = $(':focus'); // Get the number of focusable items var numberOfFocusableItems = focusableItems.length; // Get the index of the currently focused item var focusedItemIndex = focusableItems.index(focusedItem); // If popup doesn't contain focusable elements, focus popup itself if (numberOfFocusableItems === 0) { $(el).focus(); event.preventDefault(); } else { if (event.shiftKey) { // Back tab // If focused on first item and user preses back-tab, go to the last focusable item if (focusedItemIndex === 0) { focusableItems.get(numberOfFocusableItems - 1).focus(); event.preventDefault(); } } else { // Forward tab // If focused on the last item and user preses tab, go to the first focusable item if (focusedItemIndex == numberOfFocusableItems - 1) { focusableItems.get(0).focus(); event.preventDefault(); } } } } }); /** * Plugin API */ $.fn.popup = function (customoptions) { return this.each(function () { var $el = $(this); if (typeof customoptions === 'object') { // e.g. $('#popup').popup({'color':'blue'}) var opt = $.extend({}, $.fn.popup.defaults, $el.data('popupoptions'), customoptions); $el.data('popupoptions', opt); options = $el.data('popupoptions'); methods._init(this); } else if (typeof customoptions === 'string') { // e.g. $('#popup').popup('hide') if (!($el.data('popupoptions'))) { $el.data('popupoptions', $.fn.popup.defaults); options = $el.data('popupoptions'); } methods[customoptions].call(this, this); } else { // e.g. $('#popup').popup() if (!($el.data('popupoptions'))) { $el.data('popupoptions', $.fn.popup.defaults); options = $el.data('popupoptions'); } methods._init(this); } }); }; $.fn.popup.defaults = { type: 'overlay', autoopen: false, background: true, backgroundactive: false, color: 'black', opacity: '0.7', horizontal: 'center', vertical: 'middle', offsettop: 0, offsetleft: 0, escape: true, blur: true, setzindex: true, autozindex: false, scrolllock: false, closebutton: false, closebuttonmarkup: null, keepfocus: true, focuselement: null, focusdelay: 50, outline: false, pagecontainer: null, detach: false, openelement: null, closeelement: null, transition: null, tooltipanchor: null, beforeopen: null, onclose: null, onopen: null, opentransitionend: null, closetransitionend: null }; })(jQuery); ', 'modified' => '2017-01-31 14:13:20' ), (int) 9 => array( 'id' => (int) 9, 'name' => 'jquery.fileupload', 'data' => '/* * jQuery File Upload Plugin 5.40.0 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /* jshint nomen:false */ /* global define, window, document, location, Blob, FormData */ (function (factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // Register as an anonymous AMD module: define([ 'jquery', 'jquery.ui.widget' ], factory); } else { // Browser globals: factory(window.jQuery); } }(function ($) { 'use strict'; // Detect file input support, based on // http://viljamis.com/blog/2012/file-upload-support-on-mobile/ $.support.fileInput = !(new RegExp( // Handle devices which give false positives for the feature detection: '(Android (1\\.[0156]|2\\.[01]))' + '|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)' + '|(w(eb)?OSBrowser)|(webOS)' + '|(Kindle/(1\\.0|2\\.[05]|3\\.0))' ).test(window.navigator.userAgent) || // Feature detection for all other devices: $('<input type="file">').prop('disabled')); // The FileReader API is not actually used, but works as feature detection, // as some Safari versions (5?) support XHR file uploads via the FormData API, // but not non-multipart XHR file uploads. // window.XMLHttpRequestUpload is not available on IE10, so we check for // window.ProgressEvent instead to detect XHR2 file upload capability: $.support.xhrFileUpload = !!(window.ProgressEvent && window.FileReader); $.support.xhrFormDataFileUpload = !!window.FormData; // Detect support for Blob slicing (required for chunked uploads): $.support.blobSlice = window.Blob && (Blob.prototype.slice || Blob.prototype.webkitSlice || Blob.prototype.mozSlice); // The fileupload widget listens for change events on file input fields defined // via fileInput setting and paste or drop events of the given dropZone. // In addition to the default jQuery Widget methods, the fileupload widget // exposes the "add" and "send" methods, to add or directly send files using // the fileupload API. // By default, files added via file input selection, paste, drag & drop or // "add" method are uploaded immediately, but it is possible to override // the "add" callback option to queue file uploads. $.widget('blueimp.fileupload', { options: { // The drop target element(s), by the default the complete document. // Set to null to disable drag & drop support: dropZone: $(document), // The paste target element(s), by the default the complete document. // Set to null to disable paste support: pasteZone: $(document), // The file input field(s), that are listened to for change events. // If undefined, it is set to the file input fields inside // of the widget element on plugin initialization. // Set to null to disable the change listener. fileInput: undefined, // By default, the file input field is replaced with a clone after // each input field change event. This is required for iframe transport // queues and allows change events to be fired for the same file // selection, but can be disabled by setting the following option to false: replaceFileInput: true, // The parameter name for the file form data (the request argument name). // If undefined or empty, the name property of the file input field is // used, or "files[]" if the file input name property is also empty, // can be a string or an array of strings: paramName: undefined, // By default, each file of a selection is uploaded using an individual // request for XHR type uploads. Set to false to upload file // selections in one request each: singleFileUploads: true, // To limit the number of files uploaded with one XHR request, // set the following option to an integer greater than 0: limitMultiFileUploads: undefined, // The following option limits the number of files uploaded with one // XHR request to keep the request size under or equal to the defined // limit in bytes: limitMultiFileUploadSize: undefined, // Multipart file uploads add a number of bytes to each uploaded file, // therefore the following option adds an overhead for each file used // in the limitMultiFileUploadSize configuration: limitMultiFileUploadSizeOverhead: 512, // Set the following option to true to issue all file upload requests // in a sequential order: sequentialUploads: false, // To limit the number of concurrent uploads, // set the following option to an integer greater than 0: limitConcurrentUploads: undefined, // Set the following option to true to force iframe transport uploads: forceIframeTransport: false, // Set the following option to the location of a redirect url on the // origin server, for cross-domain iframe transport uploads: redirect: undefined, // The parameter name for the redirect url, sent as part of the form // data and set to 'redirect' if this option is empty: redirectParamName: undefined, // Set the following option to the location of a postMessage window, // to enable postMessage transport uploads: postMessage: undefined, // By default, XHR file uploads are sent as multipart/form-data. // The iframe transport is always using multipart/form-data. // Set to false to enable non-multipart XHR uploads: multipart: true, // To upload large files in smaller chunks, set the following option // to a preferred maximum chunk size. If set to 0, null or undefined, // or the browser does not support the required Blob API, files will // be uploaded as a whole. maxChunkSize: undefined, // When a non-multipart upload or a chunked multipart upload has been // aborted, this option can be used to resume the upload by setting // it to the size of the already uploaded bytes. This option is most // useful when modifying the options object inside of the "add" or // "send" callbacks, as the options are cloned for each file upload. uploadedBytes: undefined, // By default, failed (abort or error) file uploads are removed from the // global progress calculation. Set the following option to false to // prevent recalculating the global progress data: recalculateProgress: true, // Interval in milliseconds to calculate and trigger progress events: progressInterval: 100, // Interval in milliseconds to calculate progress bitrate: bitrateInterval: 500, // By default, uploads are started automatically when adding files: autoUpload: true, // Error and info messages: messages: { uploadedBytes: 'Uploaded bytes exceed file size' }, // Translation function, gets the message key to be translated // and an object with context specific data as arguments: i18n: function (message, context) { message = this.messages[message] || message.toString(); if (context) { $.each(context, function (key, value) { message = message.replace('{' + key + '}', value); }); } return message; }, // Additional form data to be sent along with the file uploads can be set // using this option, which accepts an array of objects with name and // value properties, a function returning such an array, a FormData // object (for XHR file uploads), or a simple object. // The form of the first fileInput is given as parameter to the function: formData: function (form) { return form.serializeArray(); }, // The add callback is invoked as soon as files are added to the fileupload // widget (via file input selection, drag & drop, paste or add API call). // If the singleFileUploads option is enabled, this callback will be // called once for each file in the selection for XHR file uploads, else // once for each file selection. // // The upload starts when the submit method is invoked on the data parameter. // The data object contains a files property holding the added files // and allows you to override plugin options as well as define ajax settings. // // Listeners for this callback can also be bound the following way: // .bind('fileuploadadd', func); // // data.submit() returns a Promise object and allows to attach additional // handlers using jQuery's Deferred callbacks: // data.submit().done(func).fail(func).always(func); add: function (e, data) { if (e.isDefaultPrevented()) { return false; } if (data.autoUpload || (data.autoUpload !== false && $(this).fileupload('option', 'autoUpload'))) { data.process().done(function () { data.submit(); }); } }, // Other callbacks: // Callback for the submit event of each file upload: // submit: function (e, data) {}, // .bind('fileuploadsubmit', func); // Callback for the start of each file upload request: // send: function (e, data) {}, // .bind('fileuploadsend', func); // Callback for successful uploads: // done: function (e, data) {}, // .bind('fileuploaddone', func); // Callback for failed (abort or error) uploads: // fail: function (e, data) {}, // .bind('fileuploadfail', func); // Callback for completed (success, abort or error) requests: // always: function (e, data) {}, // .bind('fileuploadalways', func); // Callback for upload progress events: // progress: function (e, data) {}, // .bind('fileuploadprogress', func); // Callback for global upload progress events: // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func); // Callback for uploads start, equivalent to the global ajaxStart event: // start: function (e) {}, // .bind('fileuploadstart', func); // Callback for uploads stop, equivalent to the global ajaxStop event: // stop: function (e) {}, // .bind('fileuploadstop', func); // Callback for change events of the fileInput(s): // change: function (e, data) {}, // .bind('fileuploadchange', func); // Callback for paste events to the pasteZone(s): // paste: function (e, data) {}, // .bind('fileuploadpaste', func); // Callback for drop events of the dropZone(s): // drop: function (e, data) {}, // .bind('fileuploaddrop', func); // Callback for dragover events of the dropZone(s): // dragover: function (e) {}, // .bind('fileuploaddragover', func); // Callback for the start of each chunk upload request: // chunksend: function (e, data) {}, // .bind('fileuploadchunksend', func); // Callback for successful chunk uploads: // chunkdone: function (e, data) {}, // .bind('fileuploadchunkdone', func); // Callback for failed (abort or error) chunk uploads: // chunkfail: function (e, data) {}, // .bind('fileuploadchunkfail', func); // Callback for completed (success, abort or error) chunk upload requests: // chunkalways: function (e, data) {}, // .bind('fileuploadchunkalways', func); // The plugin options are used as settings object for the ajax calls. // The following are jQuery ajax settings required for the file uploads: processData: false, contentType: false, cache: false }, // A list of options that require reinitializing event listeners and/or // special initialization code: _specialOptions: [ 'fileInput', 'dropZone', 'pasteZone', 'multipart', 'forceIframeTransport' ], _blobSlice: $.support.blobSlice && function () { var slice = this.slice || this.webkitSlice || this.mozSlice; return slice.apply(this, arguments); }, _BitrateTimer: function () { this.timestamp = ((Date.now) ? Date.now() : (new Date()).getTime()); this.loaded = 0; this.bitrate = 0; this.getBitrate = function (now, loaded, interval) { var timeDiff = now - this.timestamp; if (!this.bitrate || !interval || timeDiff > interval) { this.bitrate = (loaded - this.loaded) * (1000 / timeDiff) * 8; this.loaded = loaded; this.timestamp = now; } return this.bitrate; }; }, _isXHRUpload: function (options) { return !options.forceIframeTransport && ((!options.multipart && $.support.xhrFileUpload) || $.support.xhrFormDataFileUpload); }, _getFormData: function (options) { var formData; if ($.type(options.formData) === 'function') { return options.formData(options.form); } if ($.isArray(options.formData)) { return options.formData; } if ($.type(options.formData) === 'object') { formData = []; $.each(options.formData, function (name, value) { formData.push({name: name, value: value}); }); return formData; } return []; }, _getTotal: function (files) { var total = 0; $.each(files, function (index, file) { total += file.size || 1; }); return total; }, _initProgressObject: function (obj) { var progress = { loaded: 0, total: 0, bitrate: 0 }; if (obj._progress) { $.extend(obj._progress, progress); } else { obj._progress = progress; } }, _initResponseObject: function (obj) { var prop; if (obj._response) { for (prop in obj._response) { if (obj._response.hasOwnProperty(prop)) { delete obj._response[prop]; } } } else { obj._response = {}; } }, _onProgress: function (e, data) { if (e.lengthComputable) { var now = ((Date.now) ? Date.now() : (new Date()).getTime()), loaded; if (data._time && data.progressInterval && (now - data._time < data.progressInterval) && e.loaded !== e.total) { return; } data._time = now; loaded = Math.floor( e.loaded / e.total * (data.chunkSize || data._progress.total) ) + (data.uploadedBytes || 0); // Add the difference from the previously loaded state // to the global loaded counter: this._progress.loaded += (loaded - data._progress.loaded); this._progress.bitrate = this._bitrateTimer.getBitrate( now, this._progress.loaded, data.bitrateInterval ); data._progress.loaded = data.loaded = loaded; data._progress.bitrate = data.bitrate = data._bitrateTimer.getBitrate( now, loaded, data.bitrateInterval ); // Trigger a custom progress event with a total data property set // to the file size(s) of the current upload and a loaded data // property calculated accordingly: this._trigger( 'progress', $.Event('progress', {delegatedEvent: e}), data ); // Trigger a global progress event for all current file uploads, // including ajax calls queued for sequential file uploads: this._trigger( 'progressall', $.Event('progressall', {delegatedEvent: e}), this._progress ); } }, _initProgressListener: function (options) { var that = this, xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr(); // Accesss to the native XHR object is required to add event listeners // for the upload progress event: if (xhr.upload) { $(xhr.upload).bind('progress', function (e) { var oe = e.originalEvent; // Make sure the progress event properties get copied over: e.lengthComputable = oe.lengthComputable; e.loaded = oe.loaded; e.total = oe.total; that._onProgress(e, options); }); options.xhr = function () { return xhr; }; } }, _isInstanceOf: function (type, obj) { // Cross-frame instanceof check return Object.prototype.toString.call(obj) === '[object ' + type + ']'; }, _initXHRData: function (options) { var that = this, formData, file = options.files[0], // Ignore non-multipart setting if not supported: multipart = options.multipart || !$.support.xhrFileUpload, paramName = $.type(options.paramName) === 'array' ? options.paramName[0] : options.paramName; options.headers = $.extend({}, options.headers); if (options.contentRange) { options.headers['Content-Range'] = options.contentRange; } if (!multipart || options.blob || !this._isInstanceOf('File', file)) { options.headers['Content-Disposition'] = 'attachment; filename="' + encodeURI(file.name) + '"'; } if (!multipart) { options.contentType = file.type || 'application/octet-stream'; options.data = options.blob || file; } else if ($.support.xhrFormDataFileUpload) { if (options.postMessage) { // window.postMessage does not allow sending FormData // objects, so we just add the File/Blob objects to // the formData array and let the postMessage window // create the FormData object out of this array: formData = this._getFormData(options); if (options.blob) { formData.push({ name: paramName, value: options.blob }); } else { $.each(options.files, function (index, file) { formData.push({ name: ($.type(options.paramName) === 'array' && options.paramName[index]) || paramName, value: file }); }); } } else { if (that._isInstanceOf('FormData', options.formData)) { formData = options.formData; } else { formData = new FormData(); $.each(this._getFormData(options), function (index, field) { formData.append(field.name, field.value); }); } if (options.blob) { formData.append(paramName, options.blob, file.name); } else { $.each(options.files, function (index, file) { // This check allows the tests to run with // dummy objects: if (that._isInstanceOf('File', file) || that._isInstanceOf('Blob', file)) { formData.append( ($.type(options.paramName) === 'array' && options.paramName[index]) || paramName, file, file.uploadName || file.name ); } }); } } options.data = formData; } // Blob reference is not needed anymore, free memory: options.blob = null; }, _initIframeSettings: function (options) { var targetHost = $('<a></a>').prop('href', options.url).prop('host'); // Setting the dataType to iframe enables the iframe transport: options.dataType = 'iframe ' + (options.dataType || ''); // The iframe transport accepts a serialized array as form data: options.formData = this._getFormData(options); // Add redirect url to form data on cross-domain uploads: if (options.redirect && targetHost && targetHost !== location.host) { options.formData.push({ name: options.redirectParamName || 'redirect', value: options.redirect }); } }, _initDataSettings: function (options) { if (this._isXHRUpload(options)) { if (!this._chunkedUpload(options, true)) { if (!options.data) { this._initXHRData(options); } this._initProgressListener(options); } if (options.postMessage) { // Setting the dataType to postmessage enables the // postMessage transport: options.dataType = 'postmessage ' + (options.dataType || ''); } } else { this._initIframeSettings(options); } }, _getParamName: function (options) { var fileInput = $(options.fileInput), paramName = options.paramName; if (!paramName) { paramName = []; fileInput.each(function () { var input = $(this), name = input.prop('name') || 'files[]', i = (input.prop('files') || [1]).length; while (i) { paramName.push(name); i -= 1; } }); if (!paramName.length) { paramName = [fileInput.prop('name') || 'files[]']; } } else if (!$.isArray(paramName)) { paramName = [paramName]; } return paramName; }, _initFormSettings: function (options) { // Retrieve missing options from the input field and the // associated form, if available: if (!options.form || !options.form.length) { options.form = $(options.fileInput.prop('form')); // If the given file input doesn't have an associated form, // use the default widget file input's form: if (!options.form.length) { options.form = $(this.options.fileInput.prop('form')); } } options.paramName = this._getParamName(options); if (!options.url) { options.url = options.form.prop('action') || location.href; } // The HTTP request method must be "POST" or "PUT": options.type = (options.type || ($.type(options.form.prop('method')) === 'string' && options.form.prop('method')) || '' ).toUpperCase(); if (options.type !== 'POST' && options.type !== 'PUT' && options.type !== 'PATCH') { options.type = 'POST'; } if (!options.formAcceptCharset) { options.formAcceptCharset = options.form.attr('accept-charset'); } }, _getAJAXSettings: function (data) { var options = $.extend({}, this.options, data); this._initFormSettings(options); this._initDataSettings(options); return options; }, // jQuery 1.6 doesn't provide .state(), // while jQuery 1.8+ removed .isRejected() and .isResolved(): _getDeferredState: function (deferred) { if (deferred.state) { return deferred.state(); } if (deferred.isResolved()) { return 'resolved'; } if (deferred.isRejected()) { return 'rejected'; } return 'pending'; }, // Maps jqXHR callbacks to the equivalent // methods of the given Promise object: _enhancePromise: function (promise) { promise.success = promise.done; promise.error = promise.fail; promise.complete = promise.always; return promise; }, // Creates and returns a Promise object enhanced with // the jqXHR methods abort, success, error and complete: _getXHRPromise: function (resolveOrReject, context, args) { var dfd = $.Deferred(), promise = dfd.promise(); context = context || this.options.context || promise; if (resolveOrReject === true) { dfd.resolveWith(context, args); } else if (resolveOrReject === false) { dfd.rejectWith(context, args); } promise.abort = dfd.promise; return this._enhancePromise(promise); }, // Adds convenience methods to the data callback argument: _addConvenienceMethods: function (e, data) { var that = this, getPromise = function (args) { return $.Deferred().resolveWith(that, args).promise(); }; data.process = function (resolveFunc, rejectFunc) { if (resolveFunc || rejectFunc) { data._processQueue = this._processQueue = (this._processQueue || getPromise([this])).pipe( function () { if (data.errorThrown) { return $.Deferred() .rejectWith(that, [data]).promise(); } return getPromise(arguments); } ).pipe(resolveFunc, rejectFunc); } return this._processQueue || getPromise([this]); }; data.submit = function () { if (this.state() !== 'pending') { data.jqXHR = this.jqXHR = (that._trigger( 'submit', $.Event('submit', {delegatedEvent: e}), this ) !== false) && that._onSend(e, this); } return this.jqXHR || that._getXHRPromise(); }; data.abort = function () { if (this.jqXHR) { return this.jqXHR.abort(); } this.errorThrown = 'abort'; that._trigger('fail', null, this); return that._getXHRPromise(false); }; data.state = function () { if (this.jqXHR) { return that._getDeferredState(this.jqXHR); } if (this._processQueue) { return that._getDeferredState(this._processQueue); } }; data.processing = function () { return !this.jqXHR && this._processQueue && that ._getDeferredState(this._processQueue) === 'pending'; }; data.progress = function () { return this._progress; }; data.response = function () { return this._response; }; }, // Parses the Range header from the server response // and returns the uploaded bytes: _getUploadedBytes: function (jqXHR) { var range = jqXHR.getResponseHeader('Range'), parts = range && range.split('-'), upperBytesPos = parts && parts.length > 1 && parseInt(parts[1], 10); return upperBytesPos && upperBytesPos + 1; }, // Uploads a file in multiple, sequential requests // by splitting the file up in multiple blob chunks. // If the second parameter is true, only tests if the file // should be uploaded in chunks, but does not invoke any // upload requests: _chunkedUpload: function (options, testOnly) { options.uploadedBytes = options.uploadedBytes || 0; var that = this, file = options.files[0], fs = file.size, ub = options.uploadedBytes, mcs = options.maxChunkSize || fs, slice = this._blobSlice, dfd = $.Deferred(), promise = dfd.promise(), jqXHR, upload; if (!(this._isXHRUpload(options) && slice && (ub || mcs < fs)) || options.data) { return false; } if (testOnly) { return true; } if (ub >= fs) { file.error = options.i18n('uploadedBytes'); return this._getXHRPromise( false, options.context, [null, 'error', file.error] ); } // The chunk upload method: upload = function () { // Clone the options object for each chunk upload: var o = $.extend({}, options), currentLoaded = o._progress.loaded; o.blob = slice.call( file, ub, ub + mcs, file.type ); // Store the current chunk size, as the blob itself // will be dereferenced after data processing: o.chunkSize = o.blob.size; // Expose the chunk bytes position range: o.contentRange = 'bytes ' + ub + '-' + (ub + o.chunkSize - 1) + '/' + fs; // Process the upload data (the blob and potential form data): that._initXHRData(o); // Add progress listeners for this chunk upload: that._initProgressListener(o); jqXHR = ((that._trigger('chunksend', null, o) !== false && $.ajax(o)) || that._getXHRPromise(false, o.context)) .done(function (result, textStatus, jqXHR) { ub = that._getUploadedBytes(jqXHR) || (ub + o.chunkSize); // Create a progress event if no final progress event // with loaded equaling total has been triggered // for this chunk: if (currentLoaded + o.chunkSize - o._progress.loaded) { that._onProgress($.Event('progress', { lengthComputable: true, loaded: ub - o.uploadedBytes, total: ub - o.uploadedBytes }), o); } options.uploadedBytes = o.uploadedBytes = ub; o.result = result; o.textStatus = textStatus; o.jqXHR = jqXHR; that._trigger('chunkdone', null, o); that._trigger('chunkalways', null, o); if (ub < fs) { // File upload not yet complete, // continue with the next chunk: upload(); } else { dfd.resolveWith( o.context, [result, textStatus, jqXHR] ); } }) .fail(function (jqXHR, textStatus, errorThrown) { o.jqXHR = jqXHR; o.textStatus = textStatus; o.errorThrown = errorThrown; that._trigger('chunkfail', null, o); that._trigger('chunkalways', null, o); dfd.rejectWith( o.context, [jqXHR, textStatus, errorThrown] ); }); }; this._enhancePromise(promise); promise.abort = function () { return jqXHR.abort(); }; upload(); return promise; }, _beforeSend: function (e, data) { if (this._active === 0) { // the start callback is triggered when an upload starts // and no other uploads are currently running, // equivalent to the global ajaxStart event: this._trigger('start'); // Set timer for global bitrate progress calculation: this._bitrateTimer = new this._BitrateTimer(); // Reset the global progress values: this._progress.loaded = this._progress.total = 0; this._progress.bitrate = 0; } // Make sure the container objects for the .response() and // .progress() methods on the data object are available // and reset to their initial state: this._initResponseObject(data); this._initProgressObject(data); data._progress.loaded = data.loaded = data.uploadedBytes || 0; data._progress.total = data.total = this._getTotal(data.files) || 1; data._progress.bitrate = data.bitrate = 0; this._active += 1; // Initialize the global progress values: this._progress.loaded += data.loaded; this._progress.total += data.total; }, _onDone: function (result, textStatus, jqXHR, options) { var total = options._progress.total, response = options._response; if (options._progress.loaded < total) { // Create a progress event if no final progress event // with loaded equaling total has been triggered: this._onProgress($.Event('progress', { lengthComputable: true, loaded: total, total: total }), options); } response.result = options.result = result; response.textStatus = options.textStatus = textStatus; response.jqXHR = options.jqXHR = jqXHR; this._trigger('done', null, options); }, _onFail: function (jqXHR, textStatus, errorThrown, options) { var response = options._response; if (options.recalculateProgress) { // Remove the failed (error or abort) file upload from // the global progress calculation: this._progress.loaded -= options._progress.loaded; this._progress.total -= options._progress.total; } response.jqXHR = options.jqXHR = jqXHR; response.textStatus = options.textStatus = textStatus; response.errorThrown = options.errorThrown = errorThrown; this._trigger('fail', null, options); }, _onAlways: function (jqXHRorResult, textStatus, jqXHRorError, options) { // jqXHRorResult, textStatus and jqXHRorError are added to the // options object via done and fail callbacks this._trigger('always', null, options); }, _onSend: function (e, data) { if (!data.submit) { this._addConvenienceMethods(e, data); } var that = this, jqXHR, aborted, slot, pipe, options = that._getAJAXSettings(data), send = function () { that._sending += 1; // Set timer for bitrate progress calculation: options._bitrateTimer = new that._BitrateTimer(); jqXHR = jqXHR || ( ((aborted || that._trigger( 'send', $.Event('send', {delegatedEvent: e}), options ) === false) && that._getXHRPromise(false, options.context, aborted)) || that._chunkedUpload(options) || $.ajax(options) ).done(function (result, textStatus, jqXHR) { that._onDone(result, textStatus, jqXHR, options); }).fail(function (jqXHR, textStatus, errorThrown) { that._onFail(jqXHR, textStatus, errorThrown, options); }).always(function (jqXHRorResult, textStatus, jqXHRorError) { that._onAlways( jqXHRorResult, textStatus, jqXHRorError, options ); that._sending -= 1; that._active -= 1; if (options.limitConcurrentUploads && options.limitConcurrentUploads > that._sending) { // Start the next queued upload, // that has not been aborted: var nextSlot = that._slots.shift(); while (nextSlot) { if (that._getDeferredState(nextSlot) === 'pending') { nextSlot.resolve(); break; } nextSlot = that._slots.shift(); } } if (that._active === 0) { // The stop callback is triggered when all uploads have // been completed, equivalent to the global ajaxStop event: that._trigger('stop'); } }); return jqXHR; }; this._beforeSend(e, options); if (this.options.sequentialUploads || (this.options.limitConcurrentUploads && this.options.limitConcurrentUploads <= this._sending)) { if (this.options.limitConcurrentUploads > 1) { slot = $.Deferred(); this._slots.push(slot); pipe = slot.pipe(send); } else { this._sequence = this._sequence.pipe(send, send); pipe = this._sequence; } // Return the piped Promise object, enhanced with an abort method, // which is delegated to the jqXHR object of the current upload, // and jqXHR callbacks mapped to the equivalent Promise methods: pipe.abort = function () { aborted = [undefined, 'abort', 'abort']; if (!jqXHR) { if (slot) { slot.rejectWith(options.context, aborted); } return send(); } return jqXHR.abort(); }; return this._enhancePromise(pipe); } return send(); }, _onAdd: function (e, data) { var that = this, result = true, options = $.extend({}, this.options, data), files = data.files, filesLength = files.length, limit = options.limitMultiFileUploads, limitSize = options.limitMultiFileUploadSize, overhead = options.limitMultiFileUploadSizeOverhead, batchSize = 0, paramName = this._getParamName(options), paramNameSet, paramNameSlice, fileSet, i, j = 0; if (limitSize && (!filesLength || files[0].size === undefined)) { limitSize = undefined; } if (!(options.singleFileUploads || limit || limitSize) || !this._isXHRUpload(options)) { fileSet = [files]; paramNameSet = [paramName]; } else if (!(options.singleFileUploads || limitSize) && limit) { fileSet = []; paramNameSet = []; for (i = 0; i < filesLength; i += limit) { fileSet.push(files.slice(i, i + limit)); paramNameSlice = paramName.slice(i, i + limit); if (!paramNameSlice.length) { paramNameSlice = paramName; } paramNameSet.push(paramNameSlice); } } else if (!options.singleFileUploads && limitSize) { fileSet = []; paramNameSet = []; for (i = 0; i < filesLength; i = i + 1) { batchSize += files[i].size + overhead; if (i + 1 === filesLength || ((batchSize + files[i + 1].size + overhead) > limitSize) || (limit && i + 1 - j >= limit)) { fileSet.push(files.slice(j, i + 1)); paramNameSlice = paramName.slice(j, i + 1); if (!paramNameSlice.length) { paramNameSlice = paramName; } paramNameSet.push(paramNameSlice); j = i + 1; batchSize = 0; } } } else { paramNameSet = paramName; } data.originalFiles = files; $.each(fileSet || files, function (index, element) { var newData = $.extend({}, data); newData.files = fileSet ? element : [element]; newData.paramName = paramNameSet[index]; that._initResponseObject(newData); that._initProgressObject(newData); that._addConvenienceMethods(e, newData); result = that._trigger( 'add', $.Event('add', {delegatedEvent: e}), newData ); return result; }); return result; }, _replaceFileInput: function (input) { var inputClone = input.clone(true); $('<form></form>').append(inputClone)[0].reset(); // Detaching allows to insert the fileInput on another form // without loosing the file input value: input.after(inputClone).detach(); // Avoid memory leaks with the detached file input: $.cleanData(input.unbind('remove')); // Replace the original file input element in the fileInput // elements set with the clone, which has been copied including // event handlers: this.options.fileInput = this.options.fileInput.map(function (i, el) { if (el === input[0]) { return inputClone[0]; } return el; }); // If the widget has been initialized on the file input itself, // override this.element with the file input clone: if (input[0] === this.element[0]) { this.element = inputClone; } }, _handleFileTreeEntry: function (entry, path) { var that = this, dfd = $.Deferred(), errorHandler = function (e) { if (e && !e.entry) { e.entry = entry; } // Since $.when returns immediately if one // Deferred is rejected, we use resolve instead. // This allows valid files and invalid items // to be returned together in one set: dfd.resolve([e]); }, dirReader; path = path || ''; if (entry.isFile) { if (entry._file) { // Workaround for Chrome bug #149735 entry._file.relativePath = path; dfd.resolve(entry._file); } else { entry.file(function (file) { file.relativePath = path; dfd.resolve(file); }, errorHandler); } } else if (entry.isDirectory) { dirReader = entry.createReader(); dirReader.readEntries(function (entries) { that._handleFileTreeEntries( entries, path + entry.name + '/' ).done(function (files) { dfd.resolve(files); }).fail(errorHandler); }, errorHandler); } else { // Return an empy list for file system items // other than files or directories: dfd.resolve([]); } return dfd.promise(); }, _handleFileTreeEntries: function (entries, path) { var that = this; return $.when.apply( $, $.map(entries, function (entry) { return that._handleFileTreeEntry(entry, path); }) ).pipe(function () { return Array.prototype.concat.apply( [], arguments ); }); }, _getDroppedFiles: function (dataTransfer) { dataTransfer = dataTransfer || {}; var items = dataTransfer.items; if (items && items.length && (items[0].webkitGetAsEntry || items[0].getAsEntry)) { return this._handleFileTreeEntries( $.map(items, function (item) { var entry; if (item.webkitGetAsEntry) { entry = item.webkitGetAsEntry(); if (entry) { // Workaround for Chrome bug #149735: entry._file = item.getAsFile(); } return entry; } return item.getAsEntry(); }) ); } return $.Deferred().resolve( $.makeArray(dataTransfer.files) ).promise(); }, _getSingleFileInputFiles: function (fileInput) { fileInput = $(fileInput); var entries = fileInput.prop('webkitEntries') || fileInput.prop('entries'), files, value; if (entries && entries.length) { return this._handleFileTreeEntries(entries); } files = $.makeArray(fileInput.prop('files')); if (!files.length) { value = fileInput.prop('value'); if (!value) { return $.Deferred().resolve([]).promise(); } // If the files property is not available, the browser does not // support the File API and we add a pseudo File object with // the input value as name with path information removed: files = [{name: value.replace(/^.*\\/, '')}]; } else if (files[0].name === undefined && files[0].fileName) { // File normalization for Safari 4 and Firefox 3: $.each(files, function (index, file) { file.name = file.fileName; file.size = file.fileSize; }); } return $.Deferred().resolve(files).promise(); }, _getFileInputFiles: function (fileInput) { if (!(fileInput instanceof $) || fileInput.length === 1) { return this._getSingleFileInputFiles(fileInput); } return $.when.apply( $, $.map(fileInput, this._getSingleFileInputFiles) ).pipe(function () { return Array.prototype.concat.apply( [], arguments ); }); }, _onChange: function (e) { var that = this, data = { fileInput: $(e.target), form: $(e.target.form) }; this._getFileInputFiles(data.fileInput).always(function (files) { data.files = files; if (that.options.replaceFileInput) { that._replaceFileInput(data.fileInput); } if (that._trigger( 'change', $.Event('change', {delegatedEvent: e}), data ) !== false) { that._onAdd(e, data); } }); }, _onPaste: function (e) { var items = e.originalEvent && e.originalEvent.clipboardData && e.originalEvent.clipboardData.items, data = {files: []}; if (items && items.length) { $.each(items, function (index, item) { var file = item.getAsFile && item.getAsFile(); if (file) { data.files.push(file); } }); if (this._trigger( 'paste', $.Event('paste', {delegatedEvent: e}), data ) !== false) { this._onAdd(e, data); } } }, _onDrop: function (e) { e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer; var that = this, dataTransfer = e.dataTransfer, data = {}; if (dataTransfer && dataTransfer.files && dataTransfer.files.length) { e.preventDefault(); this._getDroppedFiles(dataTransfer).always(function (files) { data.files = files; if (that._trigger( 'drop', $.Event('drop', {delegatedEvent: e}), data ) !== false) { that._onAdd(e, data); } }); } }, _onDragOver: function (e) { e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer; var dataTransfer = e.dataTransfer; if (dataTransfer && $.inArray('Files', dataTransfer.types) !== -1 && this._trigger( 'dragover', $.Event('dragover', {delegatedEvent: e}) ) !== false) { e.preventDefault(); dataTransfer.dropEffect = 'copy'; } }, _initEventHandlers: function () { if (this._isXHRUpload(this.options)) { this._on(this.options.dropZone, { dragover: this._onDragOver, drop: this._onDrop }); this._on(this.options.pasteZone, { paste: this._onPaste }); } if ($.support.fileInput) { this._on(this.options.fileInput, { change: this._onChange }); } }, _destroyEventHandlers: function () { this._off(this.options.dropZone, 'dragover drop'); this._off(this.options.pasteZone, 'paste'); this._off(this.options.fileInput, 'change'); }, _setOption: function (key, value) { var reinit = $.inArray(key, this._specialOptions) !== -1; if (reinit) { this._destroyEventHandlers(); } this._super(key, value); if (reinit) { this._initSpecialOptions(); this._initEventHandlers(); } }, _initSpecialOptions: function () { var options = this.options; if (options.fileInput === undefined) { options.fileInput = this.element.is('input[type="file"]') ? this.element : this.element.find('input[type="file"]'); } else if (!(options.fileInput instanceof $)) { options.fileInput = $(options.fileInput); } if (!(options.dropZone instanceof $)) { options.dropZone = $(options.dropZone); } if (!(options.pasteZone instanceof $)) { options.pasteZone = $(options.pasteZone); } }, _getRegExp: function (str) { var parts = str.split('/'), modifiers = parts.pop(); parts.shift(); return new RegExp(parts.join('/'), modifiers); }, _isRegExpOption: function (key, value) { return key !== 'url' && $.type(value) === 'string' && /^\/.*\/[igm]{0,3}$/.test(value); }, _initDataAttributes: function () { var that = this, options = this.options; // Initialize options set via HTML5 data-attributes: $.each( $(this.element[0].cloneNode(false)).data(), function (key, value) { if (that._isRegExpOption(key, value)) { value = that._getRegExp(value); } options[key] = value; } ); }, _create: function () { this._initDataAttributes(); this._initSpecialOptions(); this._slots = []; this._sequence = this._getXHRPromise(true); this._sending = this._active = 0; this._initProgressObject(this); this._initEventHandlers(); }, // This method is exposed to the widget API and allows to query // the number of active uploads: active: function () { return this._active; }, // This method is exposed to the widget API and allows to query // the widget upload progress. // It returns an object with loaded, total and bitrate properties // for the running uploads: progress: function () { return this._progress; }, // This method is exposed to the widget API and allows adding files // using the fileupload API. The data parameter accepts an object which // must have a files property and can contain additional options: // .fileupload('add', {files: filesList}); add: function (data) { var that = this; if (!data || this.options.disabled) { return; } if (data.fileInput && !data.files) { this._getFileInputFiles(data.fileInput).always(function (files) { data.files = files; that._onAdd(null, data); }); } else { data.files = $.makeArray(data.files); this._onAdd(null, data); } }, // This method is exposed to the widget API and allows sending files // using the fileupload API. The data parameter accepts an object which // must have a files or fileInput property and can contain additional options: // .fileupload('send', {files: filesList}); // The method returns a Promise object for the file upload call. send: function (data) { if (data && !this.options.disabled) { if (data.fileInput && !data.files) { var that = this, dfd = $.Deferred(), promise = dfd.promise(), jqXHR, aborted; promise.abort = function () { aborted = true; if (jqXHR) { return jqXHR.abort(); } dfd.reject(null, 'abort', 'abort'); return promise; }; this._getFileInputFiles(data.fileInput).always( function (files) { if (aborted) { return; } if (!files.length) { dfd.reject(); return; } data.files = files; jqXHR = that._onSend(null, data).then( function (result, textStatus, jqXHR) { dfd.resolve(result, textStatus, jqXHR); }, function (jqXHR, textStatus, errorThrown) { dfd.reject(jqXHR, textStatus, errorThrown); } ); } ); return this._enhancePromise(promise); } data.files = $.makeArray(data.files); if (data.files.length) { return this._onSend(null, data); } } return this._getXHRPromise(false, data && data.context); } }); })); ', 'modified' => '2017-01-26 14:55:15' ), (int) 8 => array( 'id' => (int) 8, 'name' => 'intlxForm', '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' : window.preloadedData.translations.checking, 'wrapElem' : '', 'loadingWrapper' : null, 'clearForm': true, 'fieldRemark' : true, 'hideForm' : false, 'onSubmit' : null, 'onSuccess' : null, 'onFailure' : null, 'onError' : null, 'onFinish' : null, 'headers': { 'Accept' : 'application/json; charset=utf-8' }, 'messageTimeout': 2500 }; settings = $.extend(settings, options); // Go over each form separatelly return this.each(function() { // Make sure no form is initalized more then once if($(this).data('intlxform_initialized')) { return; } $(this).data('intlxform_initialized', true); // Read action (GET or POST) from the form if not specified if(settings.type.length == 0) { if($(this).attr('method') != undefined) { settings.type = $(this).attr('method'); } } // Configure action if(settings.action.length == 0) { if($(this).attr('action') != undefined) { settings.action = $(this).attr('action'); } } // Append locale if(settings.action && settings.action.substr(0, 4) == '/api') { settings.action = '/' + window.preloadedData.locale + settings.action; } var $form = $(this); var request = null; // Setup form and its inputs var $inputs = $form.find("input, select, button, textarea"); var actualSubmit = function($form, token) { // Abort any pending request if (request) { request.abort(); } // Callback: On success var onSubmitResponse = true; if(typeof settings.onSubmit == 'function') { onSubmitResponse = settings.onSubmit($(this)); onSubmitResponse = typeof onSubmitResponse == 'undefined' ? true : onSubmitResponse; } if(onSubmitResponse && settings.loadingWrapper) { $(window).trigger('vector.loading.show', [ settings.loadingWrapper ]); } $inputs = $form.find("input, select, button, textarea"); if($form.data('uploads') && !_.isEmpty($form.data('uploads'))) { if(!confirm('Some files are still uploading, they won\'t be saved. Are you sure?')) { event.preventDefault(); return false; } } // Serialize the data in the form $inputs.each(function() { // Make sure no default values are sent if($(this).attr('data-defaultValue') != 'undefined' && $(this).attr('data-defaultValue') == $(this).val()) { $(this).val(''); } }); // Return default values $inputs.each(function() { if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() == '') { $(this).val($(this).attr('data-defaultValue')); } }); var serializedData = $form.serialize(); // 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 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 if(console && console.error) { 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); }); } var captcha = $(this).attr('data-recaptcha') != undefined; var captchaId = null; if(captcha) { var captchaId = $(this).data('captcha-id') ? $(this).data('captcha-id') : grecaptcha.render($(this).find('.recaptcha-holder').get(0), { sitekey: window.preloadedData.siteKey, size: 'invisible', badge: 'inline', callback: function (token) { actualSubmit($form, token); } }); $(this).data('captcha-id', captchaId); } $(this).submit(function(event) { var captcha = $(this).attr('data-recaptcha') != undefined; if(captcha) { var captchaId = $(this).data('captcha-id'); var response = grecaptcha.getResponse(captchaId); if(response) { grecaptcha.reset(captchaId); } grecaptcha.execute(captchaId); } else { actualSubmit($(this)); } // Prevent default posting of form event.preventDefault(); return false; }); }) 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; } } var requestSuccess = response.response ? response.response : response.success; // On error occured if(!requestSuccess) { 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 { var onSuccessResponse = true; // Callback: On success if(typeof settings.onSuccess == 'function') { onSuccessResponse = settings.onSuccess(response, form); if(typeof onSuccessResponse == 'undefined') { onSuccessResponse = true; } } // Auto handling if(onSuccessResponse) { $(window).trigger('vector.success.response', [response, settings.messageTimeout]); if(window.afterLoginRedirection) { window.location = window.afterLoginRedirection; window.location.reload(true); return; } if(response.data && response.data.redirect) { var timeout = response.data.redirectionTimeout ? response.data.redirectionTimeout : 2000; setTimeout(function() { window.location = response.data.redirect; }, timeout); } } // Clear form if(settings.clearForm) { form.find("input, select, textarea").not('[type=button], [type=submit], [type=reset], .persistent').val(''); form.find('.intlxform-reset').text(''); } } // 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(); if(settings.messageTimeout) { setTimeout(function() { messageElement.hide(); }, settings.messageTimeout); } } // Callback: On finish var onFinishResponse = true; if(typeof settings.onFinish == 'function') { onFinishResponse = settings.onFinish(response); onFinishResponse = typeof onFinishResponse == 'undefined' ? true : onFinishResponse; } if(onFinishResponse && settings.loadingWrapper) { $(window).trigger('vector.loading.hide', [settings.loadingWrapper]); } } }; })(jQuery); ', 'modified' => '2017-01-26 13:53:10' ), (int) 7 => array( 'id' => (int) 7, 'name' => 'jquery.showup-1.0.0', 'data' => '; if(typeof ShowUpTheme == 'undefined') { ShowUpTheme = { '_defaultTheme': { getPadding: function() { return { top: 0, right: 0, bottom: 0, left: 0 }; } } }; } if(typeof ShowUpTransition == 'undefined') { ShowUpTransition = {}; } (function($, window, document, undefined) { ShowUp = { // Current version of the ShowUp version: '1.0.0', // The list of user selected options options: {}, // Contains the default values for all options getDefaults : function() { return { duration: 100, overflow: true, closeOnEsc: true, keyboardControls: true, minMargin: 20, gallery: null, overlay: { show: true, color: '#000000', opacity: 0.65, closeOnClick: true }, transitions: { blocks: {} }, theme: { name: 'default', colorscheme: 'light' }, path: $("script[src*='showup-" + ShowUp.version + ".js']").attr("src").split('?')[0].split('/').slice(0, -1).join('/')+'/', loop: false, autoplay: false, playInterval: 2200, fadeInTime: 400, fadeOutTime: 300, }; }, // The selected theme theme: null, // Gallery, required gallery: [], galleryCount: 0, galleryPointer: 0, // DOM objects and statuses DOM: {}, animating: false, loaderTimer : null, // Holds the list of all loading transitions for donwload optimization loadingTransitions: [], // Holds the references to all registered events registeredEvents: {}, getRegisteredTemplate: function() { return { 'onCreatePanel': [ ], 'init': [ ], 'onClick': [ ], 'onShow': [ ], 'onShown': [ ], 'onShowImage': [ ], 'onShowHTML': [ ], 'onHide': [ ], 'onAnimateSlices': [ ], 'onAnimateContent': [ ], 'onAnimateTransition': [ ], 'onAnimationComplete': [ ], 'onOverlayClick': [ ], 'onHoverIn': [ ], 'onHoverOut': [ ], 'onNext': [ ], 'onPrev': [ ], 'onPlay': [ ], 'onPause': [ ], 'onUnpause': [ ], 'onStop': [ ] }; }, /** * Trigger the event and invoke all registered methods. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ triggerEvent: function(name, arg1, arg2, arg3, arg4, arg5) { var ret = arg1; var value = null; for(var i in ShowUp.registeredEvents[name]) { if(typeof ShowUp.registeredEvents[name][i] != 'function') { continue; } value = ShowUp.registeredEvents[name][i](arg1, arg2, arg3, arg4, arg5); if(typeof value != 'undefined' && value != null) { ret = value; } } return ret; }, /** * Attaches the ShowUp to an HTML element. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ attach: function(element, options) { ShowUp.options = $.extend(true, {}, this.getDefaults(), ShowUp.options, options); delete ShowUp.options.options; // Default transition if(typeof ShowUp.options.transitions == 'undefined' || Object.keys(ShowUp.options.transitions).length == 0) { ShowUp.options.transitions = { blocks: {} }; } // Build panel if not built yet ShowUp.loadTransitions(false); if(typeof ShowUp.DOM.panel == 'undefined') { ShowUp.buildPanel(); } // Intercept element's onclick event element.on('click', function(event) { ShowUp.onClick(element, options); event.preventDefault(); return false; }); }, /** * Handle click action on the element that triggers the ShowUp. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ onClick: function(element, options) { // Load the options if($.isEmptyObject(ShowUp.options)) { ShowUp.options = $.extend({}, this.getDefaults()); } ShowUp.options = $.extend(ShowUp.options, ShowUpTheme[ShowUp.options.theme], options); // Default transition if(typeof ShowUp.options.transitions == 'undefined' || Object.keys(ShowUp.options.transitions).length == 0) { ShowUp.options.transitions = { blocks: {} }; } // Make sure we have transitions ShowUp.loadTransitions(true); // Handle percentages ShowUp.options.overlay.opacity = ShowUp.percentToFloat(ShowUp.options.overlay.opacity); ShowUp.options.duration = ShowUp.percentToFloat(ShowUp.options.duration); // Set the current element this.element = element; var elements; ShowUp.galleryPointer = 0; // Set the gallery ShowUp.gallery = []; ShowUp.galleryCount = 0; if(ShowUp.options.gallery != null) { ShowUp.gallery = ShowUp.options.gallery; elements = $(element); } else { var rel = element.attr('rel'); elements = rel ? $('a[rel=' + rel + ']') : $(element); elements.each(function(i, item) { ShowUp.gallery.push($(item).attr('href')); ShowUp.galleryCount++; }); // Mark pointer var href = element.attr('href'); for(var i=0; i<ShowUp.galleryCount; i++) { if(ShowUp.gallery[i] == href) { ShowUp.galleryPointer = i; break; } } } //ShowUp.galleryCount = ShowUp.gallery.length; // Invoke listener options = ShowUp.triggerEvent('onClick', options, element, elements, ShowUp.gallery, ShowUp.galleryPointer); // Show overlay ShowUp.showContent(this.getSlide()); ShowUp.showOverlay(); // Execute autoplay if requested if(ShowUp.options.autoplay != false && (ShowUp.options.loop || ShowUp.galleryPointer < ShowUp.galleryCount - 1)) { ShowUp.goPlay(null, null, true); } }, /** * Loads the transition from the server. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ loadTransitions: function(force) { // Load transitions for(var transition in ShowUp.options.transitions) { if((force || $.inArray(transition, ShowUp.loadingTransitions) == -1) && typeof ShowUpTransition[transition] == 'undefined') { ShowUp.loadingTransitions.push(transition); $.getScript(ShowUp.options.path + 'transitions/showup.' + transition + '.js'); } } }, /** * Build the frame for the ShowUp. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ buildPanel: function(rebuild) { var self = this; // If it is already loading if(ShowUp.building) { return; } ShowUp.building = true; // Get transitions ShowUp.loadTransitions(false); // Append theme js $.getScript(ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/theme.js', function(data, textStatus, jqxhr) { // Setup theme self.setupTheme(); // Rebuild panel from the scratch if(rebuild == true) { $('#ShowUpWrapper').remove(); } // If no panel is active create one if($('#ShowUpPanel').length == 0) { var panel = $('<div id="ShowUpPanel">'); var overlay = $('<div id="ShowUpOverlay">'); var container = $('<div id="ShowUpContainer">'); // Load the theme labels and options ShowUp.theme.labels = $.extend({}, ShowUp.theme.labels, ShowUp.options.theme.labels); ShowUp.theme.options = $.extend({}, ShowUp.theme.options, ShowUp.options.theme.options); // Load color scheme $.get( ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/theme.html', function(response) { // Put the labels if(ShowUp.theme.labels) { for(var key in ShowUp.theme.labels) { ShowUp.theme.options['label:' + key] = ShowUp.theme.labels[key]; } } // Set the options ShowUp.theme.options.path = ShowUp.options.path; for(var key in ShowUp.theme.options) if(typeof ShowUp.theme.options[key] != 'object') { response = response.replace(new RegExp('{\\$' + key + '}', 'g'), ShowUp.theme.options[key]); } // Add the theme response += '<link href="' + ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/' + ShowUp.options.theme.colorscheme + '.colorscheme.css" type="text/css" rel="stylesheet" media="all" />'; // Append to panel panel = ShowUp.triggerEvent('init', panel.html(response)); // Attach viewport ShowUp.DOM.viewport = $('#ShowUpViewport'); // Hover and touch events on viewpoint ShowUp.DOM.viewpoint = $('#ShowUpViewpoint'); ShowUp.DOM.viewpoint .on('mouseenter', function() { ShowUp.triggerEvent('onHoverIn'); }) .on('mouseleave', function() { ShowUp.triggerEvent('onHoverOut'); }) .on('touchstart', function(e) { ShowUp._touchSliding = false; ShowUp._touchStart = e.originalEvent.touches[0].screenX; }) .on('touchmove', function(e) { e.preventDefault(); if (ShowUp._touchSliding || !ShowUp._touchStart || ShowUp._touchStart < 0 || Math.abs(ShowUp._touchStart - e.originalEvent.touches[0].screenX) < 50) { return false; } else { if (ShowUp._touchStart > e.originalEvent.touches[0].screenX) { ShowUp.goNext(); } else if (ShowUp._touchStart < e.originalEvent.touches[0].screenX) { ShowUp.goPrev(); } ShowUp._touchSliding = true; return true; } }) .on('touchend', function(e) { ShowUp._touchSliding = false; }); ShowUp.building = false; } ); // Actions overlay.on('click', function () { ShowUp.overlayClick(); }); // Base css var style = '/* Necessary styling for ShowUp, please use external CSS to adapt */\n'; style += '#ShowUpWrapper { z-index: 3000; }\n'; style += '#ShowUpPanel { z-index: 3001; display: none; overflow: visible!important; }\n'; style += '#ShowUpOverlay { position: absolute; left: 0; top: 0; z-index: 3000; opacity: 0; transition: opacity 400ms ease; }\n'; style += '#ShowUpViewport { position: relative; z-index: 3002; }\n'; style += '#ShowUpContainer { position: absolute; left: -5000px; top: -5000px; overflow: hidden; }\n'; style += '#ShowUpViewport .final { width: 100%; height: 100%; }\n'; style += '#ShowUpPanel a { outline: none!important; }\n'; style += '#ShowUpViewport .obsolete { overflow: hidden; z-index: 3005; }\n'; style += '#ShowUpViewport .slice { position: absolute; overflow: hidden; z-index: 3006; '; style += '-webkit-transform: translateZ(0);'; style += '-webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; '; style += '-webkit-perspective: 1000; -moz-perspective: 1000; -ms-perspective: 1000; perspective: 1000; '; style += '}\n'; style += '#ShowUpViewport .slice .relative { position: relative; }\n'; // Append elements to document $('body').append($('<div id="ShowUpWrapper">').append('<style>' + style + '</style>').append(panel).append(overlay).append(container)); panel = ShowUp.triggerEvent('onCreatePanel', panel); } // Init DOM elements ShowUp.DOM.wrap = $('#ShowUpWrapper'); ShowUp.DOM.panel = $('#ShowUpPanel'); ShowUp.DOM.overlay = $('#ShowUpOverlay'); ShowUp.DOM.container = $('#ShowUpContainer'); }); }, /** * Initialize theme. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ setupTheme : function(options) { this.registeredEvents = this.getRegisteredTemplate(); ShowUp.theme = ShowUpTheme[ShowUp.options.theme.name]; if(options) { ShowUp.options = $.extend(ShowUp.options, ShowUp.theme); } // Default theme if(typeof ShowUp.theme == 'undefined') { ShowUp.theme = { name: 'default', colorscheme: 'light', options: { pauseOnHover: true }, labels: { image: 'Image' } }; } // Set up the theme for(var i in ShowUp.theme) { if(typeof ShowUp.theme[i] == 'function' && typeof ShowUp.registeredEvents[i] != 'undefined') { ShowUp.registeredEvents[i].push(ShowUp.theme[i]); ShowUp.theme[i] = null; } } // Initialize events for(var i in ShowUp.options) { if(typeof ShowUp.options[i] == 'function' && typeof ShowUp.registeredEvents[i] != 'undefined') { ShowUp.registeredEvents[i].push(ShowUp.options[i]); } } }, /** * Called when the overlay has been clicked. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ overlayClick: function() { ShowUp.triggerEvent('onOverlayClick'); if(ShowUp.options.overlay.closeOnClick) { ShowUp.hide(); } }, /** * Sets the slices from the content, using the specified transition. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ setSlices: function(transition, content, width, height) { // Make sure we have default options if(typeof transition.options == 'undefined') transition.options = {}; transition.options = $.extend({ duration: 1 }, transition.options); // Make sure we have defaults variable if(typeof transition.defaults == 'undefined') transition.defaults = {}; if(typeof transition.setDefaults == 'function') { transition.defaults = transition.setDefaults(content, width, height); } // Fill up missing defaults values transition.defaults = $.extend({ x: 0, y: 0, w: 1, h: 1, delay: 0, speed: transition.options.speed, easing: transition.options.easing }, transition.defaults); // Initially create slices and fill with dafault values if needed var slices = transition.apply(content, width, height); for(var i in slices) { if(typeof slices[i].x == 'undefined') slices[i].x = transition.defaults.x; if(typeof slices[i].y == 'undefined') slices[i].y = transition.defaults.y; if(typeof slices[i].w == 'undefined') slices[i].w = transition.defaults.w + 1; if(typeof slices[i].h == 'undefined') slices[i].h = transition.defaults.h + 1; // Default values for animations for(var c in slices[i].animations) { if(typeof slices[i].animations[c].speed == 'undefined') slices[i].animations[c].speed = transition.defaults.speed; if(typeof slices[i].animations[c].easing == 'undefined') slices[i].animations[c].easing = transition.defaults.easing; } } return slices; }, /** * Show content. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showContent: function(href) { // Trigger onShow href = ShowUp.triggerEvent('onShow', href, ShowUp.gallery, ShowUp.galleryPointer); // Show wrapper ShowUp.DOM.wrap.show(); // Detect content if(href.match(/\.(jpe?g|gif|png)$/i)) { ShowUp.showImage(href); } else if(href.match(/^#/)) { ShowUp.showHTML(href); } }, /** * Get the currently active slide. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ getSlide : function() { return ShowUp.gallery[ShowUp.galleryPointer]; }, /** * Show image from element. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showImage: function(href) { var self = this; var image = $('<img>'); ShowUp.loaderTimer = setTimeout(function() { self.showLoader(); }, 100); image.on('load', function() { ShowUp.animateContent(image); // Trigger onShown event ShowUp.triggerEvent('onShown', href, ShowUp.gallery, ShowUp.galleryPointer); }); image = ShowUp.triggerEvent('onShowImage', image, href); image.attr('src', href); }, /** * Show HTML as popup. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showHTML: function(href) { var HTML = $(href).show(); HTML = ShowUp.triggerEvent('onShowHTML', HTML, href); // Append hidden anchor to return the DOM object var anchor = $('<a style="display:none!important" class="ShowUp-anchor" />'); HTML.addClass('showup-anchored'); HTML.data('showup-anchor', anchor); HTML.before(anchor); // Animate HTML ShowUp.animateContent(HTML); // Trigger onShown event ShowUp.triggerEvent('onShown', href, ShowUp.gallery, ShowUp.galleryPointer); }, /** * Show background overlay. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showOverlay: function() { // Set the style of the overlay ShowUp.DOM.overlay.css({ opacity: 0, width: $(document).width(), height: $(document).height(), background: ShowUp.options.overlay.color, }).show(); // Fade in if(ShowUp.options.overlay.show) { ShowUp.DOM.overlay.css('transition', 'opacity ' + ShowUp.options.fadeInTime * ShowUp.options.duration + 'ms ease'); ShowUp.DOM.overlay.css('opacity', ShowUp.options.overlay.opacity); } }, /** * Show loader * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showLoader : function() { // Loader already there if(ShowUp.DOM.overlay.find('#ShowUp-Loader').length > 0) { return; } // Create loader var loader = $('<div id="ShowUp-Loader">'); // Create inner div var loaderInner = $('<div id="ShowUp-LoaderInner">'); // Loader image var loaderImage = $('<img src="' + ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/img/loader.gif' + '"/>'); loaderInner.append(loaderImage); // Append image loader.append(loaderInner); ShowUp.DOM.wrap.append(loader); loaderImage.on('load', function() { loader.show(); }); }, /** * Hide loader * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ hideLoader : function() { // Cancel timer if(ShowUp.loaderTimer) { clearTimeout(ShowUp.loaderTimer); ShowUp.loaderTimer = null; } ShowUp.DOM.wrap.find('#ShowUp-Loader').remove(); }, /** * Animate content. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ animateContent: function(content) { ShowUp.hideLoader(); ShowUp.animating = true; // Prepare viewport ShowUp.DOM.viewport = $('#ShowUpViewport'); // Initialize var animationsTotal = 0; var aligned = ShowUp.alignPanel(content, width, height); content = aligned.content; var width = aligned.width; var height = aligned.height; // Random transition or static one var transition = ShowUp.getTransition(); var slices = ShowUp.setSlices(transition, content, width, height); // Remove obsolete images ShowUp.DOM.viewport.attr('rel', 0); $('.slice', ShowUp.DOM.viewport).addClass('obsolete'); // Get hash var hash = Math.random().toString(36).substring(2); slices = ShowUp.triggerEvent('onAnimateSlices', slices); content = ShowUp.triggerEvent('onAnimateContent', content, width, height); transition = ShowUp.triggerEvent('onAnimateTransition', transition); var i = -1; var totalDuration = -1; var count = slices.length; while(++i < count) { var sliceContent = $('<div class="slice-content">').html(content.clone().removeClass('showup-anchored')); sliceContent.css({ 'margin-top': -slices[i].y, 'margin-left': -slices[i].x }); // Set end position for the animation var finalState = { top: slices[i].y, left: slices[i].x, width: slices[i].w, height: slices[i].h, opacity: 1, "border-radius": '0%' }; // Append the slice var slice = $('<div class="slice">').html(sliceContent).css(finalState); ShowUp.DOM.viewport.append(slice); // Prepare variables var anims = {}; var transitions = ''; var c = -1; var animationCount = slices[i].animations.length; animationsTotal += animationCount; while(++c < animationCount) { var animation = slices[i].animations[c]; // Set start value for the property var value = animation.value; slice.css(animation.property, value); // Get the speeds var duration = animation.duration * ShowUp.options.duration / 1000; var delay = animation.delay / 1000; var total = duration + delay; // Calculate the total duration totalDuration = Math.max(totalDuration, total); // Set the animation anims[animation.property] = finalState[animation.property]; // Define the transition if(transitions) transitions += ', '; transitions += animation.property + ' ' + duration + 's ease ' + delay + 's'; slice.css('transition', transitions); } slice.data('animations', anims); } ShowUp.DOM.viewport.data(hash, animationsTotal); // Triger animations var animationDelay = 0; setTimeout(function() { $('.slice', ShowUp.DOM.viewport).each(function() { $(this).css($(this).data('animations')); }); }, animationDelay); // Clean up setTimeout(function() { $('.slice', ShowUp.DOM.viewport).addClass('obsolete'); ShowUp.removeObsolete(content); }, animationDelay + totalDuration * 1000); }, /** * Aligns the panel in the user window. * Alignment is based either on the content or the width and height. * If width and height are set, then the content is ignored. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ alignPanel: function(content) { // Use width and height of the content? ShowUp.DOM.container.html('').append(content); var width = content.outerWidth(); var height = content.outerHeight(); // Get the padding from the theme var themePadding = ShowUp.theme.getPadding(); // Get the minimum margin from the theme var margin = ShowUp.options.minMargin; // Get the available space var user = $(window); var maxWidth = user.width() - themePadding.left - themePadding.right - 2*margin; var maxHeight = user.height() - themePadding.top - themePadding.bottom - 2*margin; // Resize the content if needed var scale = Math.max(1, width / maxWidth, height / maxHeight); var contentSize = { width: width /= scale, height: height /= scale }; content.css(contentSize); // Define CSS for the panel and viewport var overflow = ShowUp.options.overflow ? 'visible' : 'hidden'; var position = { opacity: 1, display: 'block', width: width + themePadding.left + themePadding.right, left: (user.width() - (contentSize.width + themePadding.left + themePadding.right)) / 2 , "padding-top": (user.height() - (contentSize.height + themePadding.top + themePadding.bottom)) / 2 } // Fade in panel ShowUp.DOM.panel.parents().not(':visible').show(); ShowUp.DOM.panel.css({ transition : 'all ' + (ShowUp.options.fadeInTime * ShowUp.options.duration) + 'ms ease', overflow: 'visible' }); ShowUp.DOM.panel.css(position); // Fade in view port ShowUp.DOM.panel.parents().not(':visible').show(); ShowUp.DOM.viewport.css({ transition : 'all ' + (ShowUp.options.fadeInTime * ShowUp.options.duration) + 'ms ease', overflow: overflow }); ShowUp.DOM.viewport.css(contentSize); // Return resized content return { content: content, width: width, height: height }; }, /** * Returns all anchored elemets to their original position. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ restoreAnchored: function(ignoredElement) { // Ignore supplied element var ignored = false; if(typeof ignoredElement != 'undefined' && ignoredElement.is('.showup-anchored')) { ignored = true; ignoredElement.removeClass('showup-anchored'); } // Check if there are valid achored elements $('.showup-anchored').each(function(i, content) { content = $(content).removeClass('showup-anchored'); var anchor = content.data('showup-anchor'); if(anchor != null) { content.data('showup-anchor', null); anchor.after(content.hide()); anchor.remove(); } }); // Restore class to ignored element if(ignored) { ignoredElement.addClass('showup-anchored'); } }, /** * Remove the obsolete slices from the viewport. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ removeObsolete: function(content) { ShowUp.restoreAnchored(content); $('.obsolete', ShowUp.DOM.viewport).remove(); if(typeof content != 'undefined') { ShowUp.animating = false; content = ShowUp.triggerEvent('onAnimationComplete', content); // Full width for images if(content.is('img')) { content.css({ width: '100%', height: '100%' }); } var final = $('<div class="final content obsolete">').html(content); ShowUp.DOM.viewport.append(final); } }, /** * Get the transition from the options array. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ getTransition: function() { var transitions = ShowUp.options.transitions; // Simple string if(typeof ShowUp.options.transition == 'string') { return ShowUpTransition[transitions]; } // Multiple var names = []; var available = []; for(var i in transitions) { var transition = {}; // Array if(i.match(/^\d+$/)) { names.push(transitions[i]); transition[transitions[i]] = {}; } // JSON else { names.push(i); transition[i] = transitions[i]; } available.push(transition); } var key = Math.floor(Math.random() * names.length); var selected = ShowUpTransition[names[key]]; selected.options = $.extend(selected.options, available[key][names[key]]); return selected; }, /** * Hides the panel from the user. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ hide: function() { if(!ShowUp.triggerEvent('onHide', true)) { return; } // Clear current gallery state ShowUp.gallery = []; ShowUp.galleryCount = 0; ShowUp.galleryPointer = 0; ShowUp.element = null; // Fade out overlay ShowUp.DOM.overlay.css('transition', 'opacity ' + ShowUp.options.fadeOutTime + 'ms ease'); ShowUp.DOM.overlay.css('opacity', 0); // Fade out panel ShowUp.DOM.panel.css('transition', 'opacity ' + ShowUp.options.fadeOutTime + 'ms ease'); ShowUp.DOM.panel.css('opacity', 0); // Fade out setTimeout( function() { ShowUp.DOM.wrap.hide(); ShowUp.restoreAnchored(); ShowUp.DOM.viewport.html(''); }, ShowUp.options.fadeOutTime ); // Stop all animations ShowUp.goStop(); }, /** * Convert percentages to float (0 - 1). * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ percentToFloat: function(percent) { return percent > 1 ? ("" + percent).replace(/[^0-9]+/g, '') / 100 : percent; }, pause: false, player: null, /** * Publicly available statuses. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ status: { isActive: function() { return ShowUp.DOM.panel.is(':visible'); }, animating: function() { return ShowUp.animating; }, playing: function() { return ShowUp.player != null; }, paused: function() { return ShowUp.player != null && ShowUp.pause; }, hasNext: function() { return ShowUp.galleryPointer + 1 < ShowUp.galleryCount; }, hasPrev: function() { return ShowUp.galleryPointer > 0; } }, /** * The public API. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ goTo: function(index, loop, force) { if(ShowUp.galleryPointer == index) { return false; } if(ShowUp.status.animating() || ShowUp.galleryCount == 0 || (!force && this.status.playing())) return false; // Should we loop if(typeof loop == 'undefined') { loop = ShowUp.options.loop; } // Which event to trigger var event = ShowUp.galleryPointer > index ? 'onPrev' : 'onNext'; // Trigger event index = ShowUp.triggerEvent(event, index, ShowUp.gallery, loop); // Handle last if(index >= ShowUp.galleryCount) { if(loop) { index = 0; } else { ShowUp.goStop(); return false; } } // Handle first if(index < 0) { if(loop) { index = ShowUp.galleryCount-1; } else { return false; } } // Update pointer and show content ShowUp.galleryPointer = index; ShowUp.showContent(this.getSlide()); return true; }, goNext: function(loop, force) { return this.goTo(ShowUp.galleryPointer + 1, loop, force); }, goPrev: function(loop, force) { return this.goTo(ShowUp.galleryPointer - 1, loop, force); }, goPlay: function(interval, loop, init) { if(!loop) loop = ShowUp.options.loop; if(!interval) interval = ShowUp.options.playInterval; // Get the interval interval = ShowUp.triggerEvent('onPlay', Math.max(interval, 2000)); if(ShowUp.galleryCount < 2 || interval == 0) return false; if(!loop && ShowUp.galleryPointer == ShowUp.galleryCount - 1) { ShowUp.galleryPointer = -1; } if(!init) ShowUp.goNext(loop, true); ShowUp.player = setInterval(function() { if(!ShowUp.pause) ShowUp.goNext(loop, true); }, interval); return true; }, goStop: function() { if(ShowUp.player != null && ShowUp.triggerEvent('onStop', true)) { clearInterval(ShowUp.player); ShowUp.player = null; return true; } return false; }, goPause: function() { if(ShowUp.status.playing() && !ShowUp.status.paused()) { ShowUp.pause = ShowUp.triggerEvent('onPause', true); return true; } return false; }, goUnpause: function() { if(ShowUp.status.paused()) { ShowUp.pause = !ShowUp.triggerEvent('onUnpause', true); return true; } return false; }, goHide: function() { ShowUp.hide(); } }; /** * Define jQuery plugin. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ $.fn.showUp = function(options) { return this.each(function() { _this = $(this); if(!_this.data('plugin_showUp')) { ShowUp.attach(_this, options); _this.data('plugin_showUp', options); } }); }; /** * Detects keyboard input. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ document.onkeydown = function(evt) { evt = evt || window.event; if(evt.keyCode == 27 && ShowUp.options.closeOnEsc && ShowUp.status.isActive()) { ShowUp.goHide(); } else if (evt.keyCode == 37 && ShowUp.options.keyboardControls && ShowUp.status.isActive()) { ShowUp.goPrev(); } else if ((evt.keyCode == 39 || evt.keyCode == 32) && ShowUp.options.keyboardControls && ShowUp.status.isActive()) { ShowUp.goNext(); } }; })(jQuery, window, document); ', 'modified' => '2017-01-25 12:42:34' ), (int) 5 => array( 'id' => (int) 5, 'name' => 'jquery.matchHeight-min', 'data' => '/* * jquery-match-height 0.7.0 by @liabru * http://brm.io/jquery-match-height/ * License MIT */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,o=-1,i=function(t){return parseFloat(t)||0},a=function(e){var o=1,a=t(e),n=null,r=[];return a.each(function(){var e=t(this),a=e.offset().top-i(e.css("margin-top")),s=r.length>0?r[r.length-1]:null;null===s?r.push(e):Math.floor(Math.abs(n-a))<=o?r[r.length-1]=s.add(e):r.push(e),n=a}),r},n=function(e){var o={ byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=n(e);if(o.remove){var i=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this)};r.version="0.7.0",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null, r._afterUpdate=null,r._rows=a,r._parse=i,r._parseOptions=n,r._apply=function(e,o){var s=n(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),d=h.parents().filter(":hidden");return d.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),d.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0", "padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),l=a(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(l,function(e,o){var a=t(o),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each(function(){var e=t(this),o=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var a={ display:i};a[s.property]="",e.css(a),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")})}a.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=i(e.css("border-top-width"))+i(e.css("border-bottom-width")),o+=i(e.css("padding-top"))+i(e.css("padding-bottom"))),e.css(s.property,n-o+"px"))})}),d.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)), this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),i=o.attr("data-mh")||o.attr("data-match-height");i in e?e[i]=e[i].add(o):e[i]=o}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(i,a){if(a&&"resize"===a.type){var n=t(window).width();if(n===e)return;e=n; }i?-1===o&&(o=setTimeout(function(){s(a),o=-1},r._throttle)):s(a)},t(r._applyDataApi),t(window).bind("load",function(t){r._update(!1,t)}),t(window).bind("resize orientationchange",function(t){r._update(!0,t)})});', 'modified' => '2017-01-20 16:39:06' ), (int) 4 => array( 'id' => (int) 4, 'name' => 'custom-file-input', 'data' => '/* By Osvaldas Valutis, www.osvaldas.info Available for use under the MIT License */ 'use strict'; ( function ( document, window, index ) { var inputs = document.querySelectorAll( '.inputfile' ); Array.prototype.forEach.call( inputs, function( input ) { var label = input.nextElementSibling, labelVal = label.innerHTML; input.addEventListener( 'change', function( e ) { var fileName = ''; if( this.files && this.files.length > 1 ) fileName = ( this.getAttribute( 'data-multiple-caption' ) || '' ).replace( '{count}', this.files.length ); else fileName = e.target.value.split( '\\' ).pop(); if( fileName ) label.querySelector( 'span' ).innerHTML = fileName; else label.innerHTML = labelVal; }); // Firefox bug fix input.addEventListener( 'focus', function(){ input.classList.add( 'has-focus' ); }); input.addEventListener( 'blur', function(){ input.classList.remove( 'has-focus' ); }); }); }( document, window, 0 ));', 'modified' => '2017-01-20 16:39:06' ), (int) 2 => array( 'id' => (int) 2, 'name' => 'select2.min', 'data' => '/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=v.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("unselect",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):0>h-g&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");return"true"===c.attr("aria-selected")?void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{})):void d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select2-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change"); if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select2-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b),d=g.$element.find("option").filter(function(){return a(this).val()===c.id});if(!d.length){var e=g.option(c);e.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([e])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()&&e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null; },e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});', 'modified' => '2017-01-20 16:39:06' ), (int) 1 => array( 'id' => (int) 1, 'name' => 'jquery.slider.slick.min', 'data' => '/* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Version: 1.6.0 Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwheeler/slick Issues: http://github.com/kenwheeler/slick/issues */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.getNavTarget=function(){var b=this,c=b.options.asNavFor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asNavFor=function(b){var c=this,d=c.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayClear(),a.slideCount>a.options.slidesToShow&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this,b=a.currentSlide+a.options.slidesToScroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentSlide+1===a.slideCount-1?a.direction=0:0===a.direction&&(b=a.currentSlide-a.options.slidesToScroll,a.currentSlide-1===0&&(a.direction=1))),a.slideHandler(b))},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(b.$slider.addClass("slick-dotted"),d=a("<ul />").addClass(b.options.dotsClass),c=0;c<=b.getDotCount();c+=1)d.append(a("<li />").append(b.options.customPaging.call(this,b,c)));b.$dots=d.appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.empty().append(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.currentTarget);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&a("li",b.$dots).off("click.slick",b.changeSlide).off("mouseenter.slick",a.proxy(b.interrupt,b,!0)).off("mouseleave.slick",a.proxy(b.interrupt,b,!1)),b.$slider.off("focus.slick blur.slick"),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.cleanUpSlideEvents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpSlideEvents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.empty().append(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.$slider.removeClass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.focusHandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.options.pauseOnFocus&&(b.focussed=d.is(":focus"),b.autoPlay())},0)})},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else if(a.options.asNavFor)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else d=1+Math.ceil((a.slideCount-a.options.slidesToShow)/a.options.slidesToScroll);return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.options.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots(),c.checkResponsive(!0),c.focusHandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA(),c.options.autoplay&&(c.paused=!1,c.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.off("click.slick").on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initSlideEvents=function(){var b=this;b.options.pauseOnHover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.initSlideEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyLoad=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createElement("img");e.onload=function(){c.animate({opacity:0},100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeAttr("data-lazy").removeClass("slick-loading")}),b.$slider.trigger("lazyLoaded",[b,c,d])})},e.onerror=function(){c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),b.$slider.trigger("lazyLoadError",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=Math.ceil(e+b.options.slidesToShow),b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.autoPlay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postSlide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay&&b.autoPlay(),b.options.accessibility===!0&&b.initADA())},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createElement("img"),g.onload=function(){e.attr("src",f).removeAttr("data-lazy").removeClass("slick-loading"),c.options.adaptiveHeight===!0&&c.setPosition(),c.$slider.trigger("lazyLoaded",[c,e,f]),c.progressiveLazyLoad()},g.onerror=function(){3>b?setTimeout(function(){c.progressiveLazyLoad(b+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),c.$slider.trigger("lazyLoadError",[c,e,f]),c.progressiveLazyLoad())},g.src=f):c.$slider.trigger("allImagesLoaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,!c.options.infinite&&c.currentSlide>e&&(c.currentSlide=e),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.cleanUpSlideEvents(),b.initSlideEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.setPosition(),b.focusHandler(),b.paused=!b.options.autoplay,b.autoPlay(),b.$slider.trigger("reInit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a, d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.interrupt=function(a){var b=this;a||b.autoPlay(),b.interrupted=a},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.options.asNavFor&&(j=i.getNavTarget(),j=j.slick("getSlick"),j.slideCount<=j.options.slidesToShow&&j.setSlideClasses(i.currentSlide)),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeEnd=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe){switch(d=b.swipeDirection()){case"left":case"down":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.currentDirection=0;break;case"right":case"up":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.currentDirection=1}"vertical"!=d&&(b.slideHandler(c),b.touchObject={},b.$slider.trigger("swipe",[b,d]))}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>4&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});', 'modified' => '2017-01-20 16:39:06' ) ) ) $page = array( 'Page' => array( 'id' => (int) 97, 'identifier' => '', 'type' => 'Page', 'parent_id' => (int) 24, 'layout_id' => (int) 1, 'module_id' => null, 'change_frequency' => 'monthly', 'priority' => '0.5 - default', 'visible_when' => 'always', 'custom_css_class' => '', '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' => '2020-03-26 00:19:11', 'head_end' => '', 'body_start' => '', 'body_end' => '', 'stylesheet_set' => '', 'javascript_set' => '', 'is_default' => (int) 0, 'is_category' => (int) 1, 'is_visible' => (int) 1, 'url' => '', 'url_target' => (int) 0, 'lft' => (int) 147, 'rght' => (int) 160, 'is_active' => (int) 1, 'is_popup' => (int) 0, 'modified_by' => (int) 1, 'modified' => '2017-04-11 11:52:33', 'created_by' => (int) 1, 'created' => '2017-04-10 16:26:33', 'is_parent_title_hidden' => (int) 0, 'selected' => '0', 'title' => 'Video', 'title_short' => 'Video', 'page_summary' => '', 'menu_summary' => '', 'alternative_page_title' => 'Video Gallery', 'summary' => '', 'button_url' => '', 'button_text' => '', 'button_class' => '', 'button_alt_text' => '', 'button_alt_url' => '', 'slug' => 'video', 'content' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', 'meta_title' => null, 'meta_keywords' => null, 'meta_description' => null, 'is_translated' => (int) 1, 'title__' => array( 'sr' => 'Video', 'en' => 'Video' ), 'title_short__' => array( 'sr' => 'Video', 'en' => 'Video' ), 'page_summary__' => array( 'sr' => '', 'en' => '' ), 'menu_summary__' => array( 'sr' => '', 'en' => '' ), 'alternative_page_title__' => array( 'sr' => 'Video Galerija', 'en' => 'Video Gallery' ), 'summary__' => array( 'sr' => '', 'en' => '' ), 'button_url__' => array( 'sr' => '', 'en' => '' ), 'button_text__' => array( 'sr' => '', 'en' => '' ), 'button_class__' => array( 'sr' => '', 'en' => '' ), 'button_alt_text__' => array( 'sr' => '', 'en' => '' ), 'button_alt_url__' => array( 'sr' => '', 'en' => '' ), 'slug__' => array( 'sr' => 'video', 'en' => 'video' ), 'content__' => array( 'sr' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[0]['Image']['file']?>" /> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[1]['Image']['file']?>" /> </a> <div class="row"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[2]['Image']['file']?>" /> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[3]['Image']['file']?>" /> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[4]['Image']['file']?>" /> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[5]['Image']['file']?>" /> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[6]['Image']['file']?>" /> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> <img src="<?= $bottomPageChild['Image']['file']?>" /> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', 'en' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[0]['Image']['file']?>" /> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[1]['Image']['file']?>" /> </a> <div class="row"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[2]['Image']['file']?>" /> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[3]['Image']['file']?>" /> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[4]['Image']['file']?>" /> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[5]['Image']['file']?>" /> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> <img src="<?= $topPageChildren[6]['Image']['file']?>" /> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> <img src="<?= $bottomPageChild['Image']['file']?>" /> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>' ), 'meta_title__' => array( 'sr' => '', 'en' => '' ), 'meta_keywords__' => array( 'sr' => '', 'en' => '' ), 'meta_description__' => array( 'sr' => '', 'en' => '' ), 'is_translated__' => array( 'sr' => true, 'en' => true ), 'path' => '/gallery/video' ), '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, 'cms_member_gallery_id' => null, 'show_in_gallery' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'Images' => array(), 'Documents' => array(), 'Seo' => array( 'metatag' => array() ), 'HeroImage' => array( 'id' => '14665', 'locale' => null, 'association' => 'HeroImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'gallery_operosa.jpg', 'path' => 'upload/Page/HeroImage/2017-04/', 'filesize' => '169882', 'mimetype' => 'image/jpeg', 'title' => 'gallery operosa', 'meta' => array(), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 19:00:21', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/HeroImage/2017-04/gallery_operosa.jpg' ), 'DocumentSr' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'DocumentEn' => 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, 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => null ), 'MenuImage' => array( 'id' => '14664', 'locale' => null, 'association' => 'MenuImage', 'model' => 'Page', 'foreign_key' => '97', 'filename' => 'operosa_video_gallery~0.jpg', 'path' => 'upload/Page/MenuImage/2017-04/', 'filesize' => '80751', 'mimetype' => 'image/jpeg', 'title' => 'operosa video gallery', 'meta' => array(), 'ordering' => null, 'is_deleted' => false, 'modified' => '2017-04-11 11:52:33', 'modified_by' => '1', 'created' => '2017-04-10 18:59:22', 'created_by' => '1', 'cms_member_gallery_id' => null, 'show_in_gallery' => null, 'file' => '/upload/Page/MenuImage/2017-04/operosa_video_gallery~0.jpg' ), 'children' => array( 'operosa-workshops' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), 'operosa-studio-projects' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), 'operosa-opera-festivals' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), 'operosa-master-classes' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), 'operosa-media' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => array( [maximum depth reached] ), 'Seo' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), 'youngopera' => array( 'Page' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'HeroImage' => array( [maximum depth reached] ), 'DocumentSr' => array( [maximum depth reached] ), 'DocumentEn' => array( [maximum depth reached] ), 'MenuImage' => 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 $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $parentPageHero = !empty($parentPage['HeroImage']['file']) ? $parentPage['HeroImage']['file'] : '/img/hero_temp.jpg'; ?> <?php require_once VECTORCMS_ROOT . 'webroot' . DS . 'plugins' . DS . 'mobile-detect' . DS . 'Mobile_Detect.php'; $detect = new Mobile_Detect; $socials = ClassRegistry::init('Social')->find('all', array()); // if($member) { // echo 'Logged in as ' . $member['first_name'] . ' ' . $member['last_name']; // } else { // echo 'Not logged in'; // } // die; $mneActive = $this->request->here == $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path'); ?> <header> <!-- Any mobile device (phones or tablets), open right menu --> <div class="open-menu" id="openRight"> <span class="open"></span> <span class="close"></span> </div> <?php if($authMember) { ?> <!-- Open left menu --> <div class="open-menu" id="openLeft"> <span class="icon-user open"></span> <span class="close"></span> </div> <?php } ?> <div class="logo mobile-logo"> <?= $this->element('nav/logo') ?> </div> <!-- Right side content on mobile/tablets --> <div class="off-canvas-right-content"> <?php if($authMember) { ?> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Search...') ?>" name="term" class="search-input" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> </form> </div> <?php } ?> <nav> <ul> <?= $this->Format->printMenu('nav/mobile_menu') ?> </ul> </nav> <div class="social-block"> <ul class="social"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> </ul> <ul class="lang"> <li class="<?php echo !$mneActive && $locale == 'en' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="<?php echo !$mneActive && $locale == 'sr' ? 'active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> </ul> </div> </div> <!-- \\Right side content on mobile/tablets --> <?php if( !$detect->isMobile() && !$detect->isTablet() ){ ?> <div class="logo"> <?= $this->element('nav/logo') ?> </div> <div class="inner clearfix"> <nav> <ul> <?= $this->Format->printMenu('nav/desktop_menu') ?> </ul> </nav> </div> <div class="user-block"> <ul class="lang"> <?php foreach ($socials as $social) { ?> <li><a href="<?php echo $social['Social']['url'] ?>" title="<?php echo $social['Social']['summary'] ?>" target="_blank"><span class="icon-social-<?php echo $social['Social']['icon_class'] ?>"></span></a></li> <?php } ?> <li class="separator"></li> <li class="forum-hide<?php echo !$mneActive && $locale == 'en' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'en' ? ($mneActive ? '/en' : 'javascript:void(0)') : '/' . $locale . ':en' . $localelessHere ?>" title="Operosa na engleskom">En</a> </li> <li class="forum-hide<?php echo !$mneActive && $locale == 'sr' ? ' active' : '' ?>"> <a href="<?php echo $locale == 'sr' ? ($mneActive ? '/sr' : 'javascript:void(0)') : '/' . $locale . ':sr' . $localelessHere ?>" title="Operosa na srpskom">Sr</a> </li> <li class="forum-hide<?php echo $mneActive ? ' active' : '' ?>"> <a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::MNE_PAGE, $sitemap, 'path') ?>" title="Operosa na crnogorskom">CG</a> </li> <li class="separator forum-hide"></li> <?php if($authMember) { ?> <li> <div class="search"> <form action="<?= $this->Format->getPageFromSitemap(AppFrontController::SEARCH_PAGE, $sitemap, 'path') ?>"> <input type="text" placeholder="<?php echo __('Press enter to search') ?>" name="term" class="search-input" onkeyup="buttonUp();" required value="<?= $searchTerm ?>"> <button type="submit" class="search-submit icon-search"></button> <span class="search-icon icon-search"></span> </form> </div> </li> <?php } ?> </ul> </div> <?php } ?> </header> <div class="page-hero" style="background-image: url(<?php echo !empty($page['HeroImage']['file']) ? $page['HeroImage']['file'] : $parentPageHero ?>);" > <div class="inner"> <div class="page-title"> <?php if(!isset($page['Page']['is_parent_title_hidden'])) { ?> <h2><?php echo $parentPage['Page']['title']?></h2> <?php } ?> <h1><?php echo !empty($page['Page']['alternative_page_title']) ? $page['Page']['alternative_page_title'] : $page['Page']['title']?></h1> <p><?php echo nl2br($page['Page']['page_summary']) ?></p> <?php if(!empty($page['Page']['button_text']) || !empty($page['Page']['button_alt_text'])) { ?> <div class="actions"> <?php if(!empty($page['Page']['button_text'])) { ?> <a href="<?= $page['Page']['button_url'] ?>" class="button btn-big btn-light <?= $page['Page']['button_class'] ?>"><?= $page['Page']['button_text'] ?></a> <?php } ?> <?php if(!empty($page['Page']['button_alt_text'])) { ?> <a href="<?= $page['Page']['button_alt_url'] ?>" class="button btn-big btn-light" target="_blank"><?= $page['Page']['button_alt_text'] ?></a> <?php } ?> </div> <?php } ?> </div> </div> </div> <?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main> <?php $setting = ClassRegistry::init('Setting')->find('first', array()); ?> <footer> <div class="newsletter"> <div class="inner"> <div class="row"> <div class="__7 st__6 lt__3 column newsletter-text"> <div> <h2>Join Our</h2> <h3>mailing list</h3> </div> <div> <p><?= $setting['Setting']['newsletter_text']?></p> </div> </div> <div class="__5 st__6 lt__3 column newsletter-form"> <div class="field"> <form id="newsletterForm" action="/api/v1/newsletter" method="post"> <div> <input name="data[email]" type="text" placeholder="<?= __('Your email address') ?>"/> <button><span class="icon-arrow-right"></span></button> </div> <div class="form-message"></div> </form> </div> </div> </div> </div> </div> <div class="info"> <div class="inner"> <div class="row"> <div class="__5 column info-block"><p>Copyright © <?= date('Y')?> Operosa.Ltd. <?= __('All rights reserved') ?></p></div> <div class="__2 column info-block"><p><a href="mailto:<?= $setting['Setting']['email']?>"><?= $setting['Setting']['email']?></a></p></div> <div class="__5 column info-block"><p>Design & development: <a href="https://intellex.rs" target="_blank">Intellex</a></p></div> <div class="__5 column info-block"><p><a href="<?php echo $this->Format->getPageFromSitemap(AppFrontController::TERMS_PAGE, $sitemap, 'path') ?>" target="_blank">Terms and Conditions</a></p></div> </div> </div> </div> </footer> <div class="popups" style="display:none"> <?php if(!isset($currentMember)) { ?> <!-- Login popup --> <div id="loginPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="login"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <?= $this->element('auth/login') ?> </div> </div> <!-- Login popup --> <!-- Signup popup --> <div id="signUpPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="signup"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Registration</h2> <p></p> <div class="form"> <form class="form-signup" action="/api/v2/auth/signup" method="post" data-recaptcha="true"> <div class="form-message"></div> <div class="field-item"> <div class="field"><input type="text" name="data[first_name]" placeholder="First name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[last_name]" placeholder="Last name" /></div> </div> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light">Sign up</button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> <div class="text-center" style="display: flex; align-items: center; justify-content: center"> <div class="recaptcha-holder" style="margin: auto!important"></div> </div> </form> </div> </div> </div> <!-- Signup popup --> <!-- Forgot password popup --> <div id="forgotPassPopup" class="popup login-popup" style="display: none" data-vector-module="Auth" data-vector-action="forgot"> <a href="javascript:void(0);" class="close-popup close-icon"><span></span></a> <div class="popup-text"> <h2>Password reset</h2> <p>Please insert your email and reset instructions will be sent to it.</p> <div class="form"> <form class="form-reset" action="/api/v2/auth/reset" method="post"> <div class="field-item"> <div class="field"><input type="text" name="data[email]" placeholder="Email address" /></div> </div> <div class="field-item field-button"> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> <div class="or-sign"><span>OR</span></div> <div class="field-item field-button"> <button type="button" class="button btn-big btn-lighter btn-show-login">Back to login</button> </div> </form> </div> </div> </div> <!-- Forgot password popup --> <?php } else { ?> <!-- Change password popup --> <div id="changePassPopup" class="popup change-pass-popup standard-popup" style="display: none" data-vector-module="Profile" data-vector-action="changePassword"> <div class="popup-heading"> <h2>Password change</h2> </div> <div class="popup-body"> <div class="text text-padd"> <p>Please insert your old, new and repeat new password in order to change current password.</p> </div> <form class="form-change-pass" action="/api/v2/profile/change_password" method="post"> <div class="form"> <div class="field-item"> <div class="field"><input type="password" name="data[old_password]" placeholder="Old password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[new_password]" placeholder="New password" /></div> </div> <div class="field-item"> <div class="field"><input type="password" name="data[repeated_new_password]" placeholder="Repeat new password" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Close</button> <button type="submit" class="button btn-big btn-light"><?= __('Submit') ?></button> </div> </form> </div> </div> <!-- Change password popup --> <!-- notification popup --> <div class="popup notification-popup login-popup"> <div class="close-popup"><a href="javascript:void(0)">x</a></div> <div class="popup-text"> <h2 class="lbl-notification-title"></h2> <div class="lbl-notification-message"></div> </div> </div> <!-- notification popup --> <!-- Upload photo to gallery popup --> <div id="uploadPhotoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new photo to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-photo-to-gallery" action="/api/v2/gallery/upload_photo" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('photo_file', __('Select photo')) ?> <div class="field-item"> <label>Photo title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload photo to gallery popup --> <!-- Upload audio to gallery popup --> <div id="uploadAudioToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new audio to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-audio-to-gallery" action="/api/v2/gallery/upload_audio" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('audio_file', __('Select audio file'), FrontHelper::EXT_AUDIO) ?> <div class="field-item"> <label>Audio title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload audio to gallery popup --> <!-- Upload video to gallery popup --> <div id="uploadVideoToGallery" class="popup standard-popup"> <div class="popup-heading"> <h2>Add new video to the gallery</h2> </div> <div class="popup-body"> <form class="form-upload-video-to-gallery" action="/api/v2/gallery/upload_video" method="post"> <input type="text" name="data[gallery]" class="txt-gallery-id" style="display:none"/> <div class="form"> <?= $this->Front->progressUpload('video_file', __('Select video file'), FrontHelper::EXT_VIDEO, '150MB') ?> <div class="field-item"> <label>Video title or description</label> <div class="field"><input type="text" name="data[title]" /></div> </div> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark">Create</button> </div> </form> </div> </div> <!-- \\ Upload video to gallery popup --> <!-- Delete gallery item popup --> <div id="deleteGalleryItem" class="popup standard-popup" style="display: none"> <div class="popup-heading"> <h2>Delete gallery</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> <span class="lbl-item-title">Montenegro Opera Festival 2016 – Opera in the street</span>?</p> </div> <div class="popup-actions"> <button class="button btn-big btn-lighter close-popup">No</button> <button class="button btn-big btn-dark btn-confirm">Yes</button> </div> </div> </div> <!-- \\ Delete gallery item popup --> <!-- Delete post popup --> <div id="deletePostPopup" class="popup standard-popup"> <div class="popup-heading"> <h2>Delete post</h2> </div> <div class="popup-body"> <div class="text"> <p>Are you sure you want to delete <br /> "<span class="lbl-post-title"></span>"?</p> </div> <div class="popup-actions"> <button type="button" class="button btn-big btn-lighter close-popup">Cancel</button> <button type="submit" class="button btn-big btn-dark btn-confirm">Delete</button> </div> </div> </div> <!-- \\ Delete post popup --> <?php } ?> </div> <script src="https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&render=explicit" async defer></script> <script> methodStack.push(function () { }); </script>', 'stylesheet_set' => '1,5,4', 'javascript_set' => '2,4,5,7,8,9,10,99,1' ), 'Content' => array( 'Body' => '<?php $parentPage = ClassRegistry::init('Page')->find('first', array( 'conditions'=>array( 'Page.id' => $page['Page']['parent_id'] ) )); $allPageChildren = array_values($page['children']); $topPageChildren = array_slice($allPageChildren, 0, 7); $bottomPageChildren = array_slice($allPageChildren, 7); ?> <main> <div class="inner clearfix"> <!-- Gallery grid --> <div class="gallery-grid gallery-grid-main"> <div class="gallery-grid-cycle"> <div class="row __0"> <?php for ($i = 0; $i < sizeof($topPageChildren); $i+=7) { ?> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[0]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[0]['Image']['file']?>)"> <h4><?= $topPageChildren[0]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[1]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-6-2" style="background-image:url(<?= $topPageChildren[1]['Image']['file']?>)"> <h4><?= $topPageChildren[1]['Page']['alternative_page_title'] ?></h4> </a> <div class="row __0"> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[2]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[2]['Image']['file']?>)"> <h4><?= $topPageChildren[2]['Page']['alternative_page_title'] ?></h4> </a> </div> <div class="__6 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[3]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $topPageChildren[3]['Image']['file']?>)"> <h4><?= $topPageChildren[3]['Page']['alternative_page_title'] ?></h4> </a> </div> </div> </div> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[4]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[4]['Image']['file']?>)"> <h4><?= $topPageChildren[4]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[5]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[5]['Image']['file']?>)"> <h4><?= $topPageChildren[5]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php if(isset($topPageChildren[5])) { ?> <div class="__4 column"> <a href="<?php echo $this->Format->getPageFromSitemap($topPageChildren[6]['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-4-2" style="background-image:url(<?= $topPageChildren[6]['Image']['file']?>)"> <h4><?= $topPageChildren[6]['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> <?php if(isset($bottomPageChildren)) { ?> <?php foreach ($bottomPageChildren as $bottomPageChild) { ?> <div class="__3 column"> <a href="<?php echo $this->Format->getPageFromSitemap($bottomPageChild['Page']['id'], $sitemap, 'path'); ?>" class="gallery-item gallery-item-3-2" style="background-image:url(<?= $bottomPageChild['Image']['file']?>)"> <h4><?= $bottomPageChild['Page']['alternative_page_title'] ?></h4> </a> </div> <?php } ?> <?php } ?> </div> </div> </div> <!-- \\Gallery grid --> </div> </main>', '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) 5, 'name' => 'select2.min', 'data' => '.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb} ', 'modified' => '2017-01-20 16:44:44' ), (int) 1 => array( 'id' => (int) 4, 'name' => 'jquery.slider.slick', 'data' => '/* Slider */ .slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; } .slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; } .slick-list:focus { outline: none; } .slick-list.dragging { cursor: pointer; cursor: hand; } .slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .slick-track { position: relative; top: 0; left: 0; display: block; } .slick-track:before, .slick-track:after { display: table; content: ''; } .slick-track:after { clear: both; } .slick-loading .slick-track { visibility: hidden; } .slick-slide { display: none; float: left; height: 100%; min-height: 1px; } [dir='rtl'] .slick-slide { float: right; } .slick-slide img { display: block; } .slick-slide.slick-loading img { display: none; } .slick-slide.dragging img { pointer-events: none; } .slick-initialized .slick-slide { display: block !important; } .slick-loading .slick-slide { visibility: hidden; } .slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; } .slick-arrow.slick-hidden { display: none; } ', 'modified' => '2017-01-20 16:44:44' ), (int) 2 => array( 'id' => (int) 1, 'name' => 'main', 'data' => '/*======================= CSS Reset ===========================*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, section, main, footer, header, figure, aside, input, textarea, i, mark, *:before, *:after { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: top; background: transparent; line-height: 1; -webkit-font-smoothing: antialiased; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html, body { 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 ===========================*/ .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } .clearfix { display: block; } * html .clearfix { height: 1%; } table, table td tr { border: none; border-collapse: collapse; } .block { display: block !important; } @font-face { font-family: 'montserrathairline'; src: url("/font/montserrat-hairline-webfont.eot"); src: url("/font/montserrat-hairline-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-hairline-webfont.woff2") format("woff2"), url("/font/montserrat-hairline-webfont.woff") format("woff"), url("/font/montserrat-hairline-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'montserratlight'; src: url("/font/montserrat-light-webfont.eot"); src: url("/font/montserrat-light-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-light-webfont.woff2") format("woff2"), url("/font/montserrat-light-webfont.woff") format("woff"), url("/font/montserrat-light-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'montserratregular'; src: url("/font/montserrat-regular-webfont.eot"); src: url("/font/montserrat-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/montserrat-regular-webfont.woff2") format("woff2"), url("/font/montserrat-regular-webfont.woff") format("woff"), url("/font/montserrat-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'playfair_displayregular'; src: url("/font/playfairdisplay-regular-webfont.eot"); src: url("/font/playfairdisplay-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/playfairdisplay-regular-webfont.woff2") format("woff2"), url("/font/playfairdisplay-regular-webfont.woff") format("woff"), url("/font/playfairdisplay-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @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.woff2") format("woff2"), 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: 'robotomedium'; src: url("/font/roboto-medium-webfont.eot"); src: url("/font/roboto-medium-webfont.eot?#iefix") format("embedded-opentype"), url("/font/roboto-medium-webfont.woff2") format("woff2"), url("/font/roboto-medium-webfont.woff") format("woff"), url("/font/roboto-medium-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'robotoregular'; src: url("/font/roboto-regular-webfont.eot"); src: url("/font/roboto-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/font/roboto-regular-webfont.woff2") format("woff2"), url("/font/roboto-regular-webfont.woff") format("woff"), url("/font/roboto-regular-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'icomoon'; src: url("/font/icomoon.eot?7x7kcg"); src: url("/font/icomoon.eot?7x7kcg#iefix") format("embedded-opentype"), url("/font/icomoon.ttf?7x7kcg") format("truetype"), url("/font/icomoon.woff?7x7kcg") format("woff"), url("/font/icomoon.svg?7x7kcg#icomoon") format("svg"); font-weight: normal; font-style: normal; } [class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-user:before { content: "\e92a"; } .icon-ask:before { content: "\e929"; } .icon-arrow-down:before { content: "\e900"; } .icon-arrow-right:before { content: "\e901"; } .icon-arrow-up:before { content: "\e902"; } .icon-check:before { content: "\e903"; } .icon-comment:before { content: "\e904"; } .icon-contact-email:before { content: "\e905"; } .icon-contact-facebook:before { content: "\e906"; } .icon-contact-linkedin:before { content: "\e907"; } .icon-contact-twitter:before { content: "\e908"; } .icon-edit:before { content: "\e909"; } .icon-envelope:before { content: "\e90a"; } .icon-folder:before { content: "\e90b"; } .icon-gallery:before { content: "\e90c"; } .icon-gallery-audio:before { content: "\e90d"; } .icon-gallery-photo:before { content: "\e90e"; } .icon-gallery-video:before { content: "\e90f"; } .icon-logout:before { content: "\e910"; } .icon-messages:before { content: "\e911"; } .icon-notifications:before { content: "\e912"; } .icon-operosa:before { content: "\e913"; } .icon-piace:before { content: "\e914"; } .icon-player-backward:before { content: "\e915"; } .icon-player-forward:before { content: "\e916"; } .icon-player-pause:before { content: "\e917"; } .icon-player-play:before { content: "\e918"; } .icon-posts:before { content: "\e919"; } .icon-search:before { content: "\e91a"; } .icon-select:before { content: "\e91b"; } .icon-send:before { content: "\e91c"; } .icon-share:before { content: "\e91d"; } .icon-social-facebook:before { content: "\e91e"; } .icon-social-instagram:before { content: "\e91f"; } .icon-social-linkedin:before { content: "\e920"; } .icon-social-twitter:before { content: "\e921"; } .icon-social-youtube:before { content: "\e922"; } .icon-timeline:before { content: "\e923"; } .icon-trash:before { content: "\e924"; } .icon-triangle-down:before { content: "\e925"; } .icon-video-play:before { content: "\e926"; } .icon-volume:before { content: "\e927"; } .icon-volume-mute:before { content: "\e928"; } body { font-size: 17px; font-family: 'robotolight'; color: #7f7f85; } h1, h2, h3, h4, h5, h6 { font-weight: normal; } /*======================= Clearfix ===========================*/ .clear { clear: both; font-size: 1px; line-height: 0; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-block; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* End hide from IE-mac */ /*======================= Helpers ===========================*/ .left { float: left !important; } .right { float: right !important; } .no-padd { padding: 0 !important; } img { width: 100%; height: auto; display: block; } html, body { height: 100%; } body { left: 0; right: 0; position: relative; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /*======================= HEADER ===========================*/ header { width: 100%; position: fixed; left: 0; right: 0; top: 0; z-index: 2; padding: 0 20px; box-sizing: border-box; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } @media only screen and (max-width: 767px) { header { width: 100%; padding: 10px 5%; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { header { width: 100%; padding: 15px 5%; } } header:after { height: 1px; content: ""; background: rgba(255, 255, 255, 0.14); position: absolute; left: 50px; right: 50px; bottom: 0; } @media only screen and (max-width: 1279px) { header:after { display: none; } } header .logo { position: absolute; left: 50px; top: 30px; width: 198px; max-height: 45px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } header .logo a { display: block; } header .logo a svg { fill: #b5975c; display: block; } header .logo a:hover { opacity: .6; } @media only screen and (max-width: 1279px) { header .logo { display: none; } } @media only screen and (min-width: 1280px) and (max-width: 1366px) { header.search-is-open { padding: 0 120px; } } @media only screen and (min-width: 1280px) and (max-width: 1366px) { header.search-is-open > ul li { margin: 0 6px; } } header .inner { width: 1170px; position: relative; max-width: 85%; } @media only screen and (max-width: 1279px) { header .inner { display: none; } } header .inner nav { padding: 0 70px; position: relative; z-index: 99; } @media only screen and (min-width: 1280px) and (max-width: 1365px) { header .inner nav { padding: 0 50px; } } header .inner nav > ul { display: block; text-align: center; } header .inner nav > ul li { display: inline-block; vertical-align: middle; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li.auth-section { margin-top: -30px !important; } header .inner nav > ul li.auth-section a { cursor: pointer; } header .inner nav > ul li a { font-size: 15px; color: #8a8374; font-family: 'montserratregular'; text-transform: uppercase; padding: 46px 15px; display: block; position: relative; } @media only screen and (max-width: 1600px) { header .inner nav > ul li a { font-size: 0.85rem; } } @media only screen and (min-width: 1280px) and (max-width: 1365px) { header .inner nav > ul li a { padding: 46px 8px; } } header .inner nav > ul li a:hover { color: #b5975c; text-decoration: none; } header .inner nav > ul li a span { color: #b5975c; font-size: 3px; position: relative; top: 5px; margin: 0 0 0 2px; } header .inner nav > ul li .submenu { width: 100%; border-top: 2px solid #b5975c; position: absolute; top: 104px; left: 0; background: #ffffff; padding: 20px; box-sizing: border-box; display: none; -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; -webkit-box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.15); } header .inner nav > ul li .submenu .row { margin: 0 -7px; } header .inner nav > ul li .submenu .row .column { padding: 0 7px; text-align: center; } header .inner nav > ul li .submenu .row .column:first-child { margin: 0; } header .inner nav > ul li .submenu .row .column a { padding: 0; } header .inner nav > ul li .submenu .row .column a > div { position: relative; /*margin: 0 0 10px 0;*/ } header .inner nav > ul li .submenu .row .column a > div h2 { width: 100%; display: block; color: #fff; font-size: 15px; position: absolute; bottom: 15px; z-index: 3; font-family: 'montserratregular'; text-transform: uppercase; } header .inner nav > ul li .submenu .row .column a > div .img { position: relative; -webkit-transition: color 0.3s ease-out; -moz-transition: color 0.3s ease-out; -ms-transition: color 0.3s ease-out; -o-transition: color 0.3s ease-out; transition: color 0.3s ease-out; overflow: hidden; height: 100px; } header .inner nav > ul li .submenu .row .column a > div .img img { position: relative; z-index: 1; -webkit-filter: grayscale(80%); -moz-filter: grayscale(80%); -ms-filter: grayscale(80%); -o-filter: grayscale(80%); filter: grayscale(80%); -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li .submenu .row .column a > div .img:after { width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); position: absolute; content: ""; z-index: 2; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } header .inner nav > ul li .submenu .row .column a p { width: 86%; margin: 0 auto; color: #68687d; font-size: 13px; text-transform: none; font-family: 'robotolight'; line-height: 20px; } header .inner nav > ul li .submenu .row .column a:hover .img img { -webkit-filter: grayscale(0); -moz-filter: grayscale(0); -ms-filter: grayscale(0); -o-filter: grayscale(0); filter: grayscale(0); } header .inner nav > ul li .submenu .row .column a:hover .img:after { opacity: .5; } header .inner nav > ul li:hover > .submenu { z-index: 9999; display: block; } header .inner nav > ul li:hover > a { color: #b5975c; } header .inner nav > ul li.dropdown > a:after { opacity: 0; visibility: hidden; width: 31px; height: 9px; background: url("/img/dropdown.png") no-repeat bottom center; position: absolute; bottom: 0; left: 50%; margin: 0 0 0 -15px; content: ""; -webkit-transition: all 0.1s ease; -moz-transition: all 0.1s ease; -ms-transition: all 0.1s ease; -o-transition: all 0.1s ease; transition: all 0.1s ease; } header .inner nav > ul li.dropdown:hover a:after { opacity: 1; visibility: visible; overflow: visible; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } header .user-block { position: absolute; top: 34px; right: 50px; text-align: right; z-index: 112; -webkit-transition: top 0.2s ease; -moz-transition: top 0.2s ease; -ms-transition: top 0.2s ease; -o-transition: top 0.2s ease; transition: top 0.2s ease; /* Languages */ /* Search */ } @media only screen and (min-width: 1280px) and (max-width: 1600px) { header .user-block { right: 10px; } } @media only screen and (max-width: 1279px) { header .user-block { display: none; } } header .user-block ul.lang { display: inline-block; vertical-align: top; margin: 2px 0 0 0; padding: 10px 0; position: relative; } header .user-block ul.lang li { text-align: left; display: inline-block; margin: 0 5px; z-index: 111; } header .user-block ul.lang li a { font-size: 13px; color: #8a8374; text-transform: uppercase; } header .user-block ul.lang li a:hover { color: #fff; } header .user-block ul.lang li.separator { width: 2px; height: 15px; background: rgba(255, 255, 255, 0.5); } header .user-block ul.lang li:last-child:not(.separator) { width: 20px; height: 17px; } header .user-block ul.lang li.active a { color: #fff; } header .user-block ul.lang.search-is-open li { opacity: 0; z-index: 0; } header .user-block ul.lang.search-is-open li:last-child { opacity: 1; z-index: 999; } header .user-block ul.lang.search-is-open li:last-child .search form .search-input { opacity: 0; } header .user-block .search { display: block; } header .user-block .search form { width: 40px; overflow: hidden; right: 0; top: 0px; bottom: 0px; position: absolute; -webkit-transition: width 0.3s; -moz-transition: width 0.3s; -ms-transition: width 0.3s; -o-transition: width 0.3s; transition: width 0.3s; } header .user-block .search form .search-input { top: 0; right: 0; border: 0; outline: 0; width: 100%; height: 36px; margin: 0; padding: 0px 55px 0px 10px; font-size: 14px; color: #777163; background: none; opacity: 0; } header .user-block .search form .search-input::-webkit-input-placeholder { color: #777163; } header .user-block .search form .search-input:-moz-placeholder { color: #777163; } header .user-block .search form .search-input::-moz-placeholder { color: #777163; } header .user-block .search form .search-input:-ms-input-placeholder { color: #777163; } header .user-block .search .search-icon, header .user-block .search .search-submit { width: 36px; height: 36px; display: block; position: absolute; top: 0; font-size: 17px; right: 0; margin: 0; border: 0; outline: 0; text-align: center; cursor: pointer; color: #dcddd8; padding: 10px 0 0 0; background: none; } header .user-block .search .search-submit { padding: 0; } header .user-block .search.search-open form { width: 100%; } header .user-block .search.search-open form .search-input { border-bottom: 1px solid #8a8374; opacity: 1 !important; } header .user-block .search.search-open form .search-icon { display: none; } header .mobile-logo { width: 165px; max-height: 40px; position: relative; top: auto !important; left: auto !important; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; display: none; } @media only screen and (max-width: 1279px) { header .mobile-logo { display: inline-block; } } header .mobile-logo a { display: block; } header .mobile-logo a svg { fill: #b5975c; display: block; } header .mobile-logo a:hover { opacity: .6; } header .open-menu { width: 34px; height: 34px; background: #b5975c; color: #fff; text-align: center; position: absolute; top: 13px; z-index: 99; display: none; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu { top: 17px; } } header .open-menu#openRight { right: 20px; padding: 15px 0 0 0; } @media only screen and (max-width: 1279px) { header .open-menu#openRight { display: block; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu#openRight { right: 30px; } } header .open-menu#openRight .open { width: 22px; height: 4px; display: inline-block; background: #fff; position: relative; } header .open-menu#openRight .open:before { width: 100%; height: 4px; background: #fff; position: absolute; top: -6px; left: 0; content: ""; } header .open-menu#openRight .open:after { width: 100%; height: 4px; background: #fff; position: absolute; bottom: -6px; left: 0; content: ""; } header .open-menu#openRight .close { width: 4px; height: 22px; background: #fff; position: relative; top: -8px; left: 15px; display: none; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } header .open-menu#openRight .close:after { width: 4px; height: 22px; display: inline-block; background: #fff; position: absolute; top: 0; left: 0; content: ""; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } header .open-menu#openLeft { left: 20px; padding: 7px 0 0 0; } header .open-menu#openLeft .open { font-size: 1.2em; } header .open-menu#openLeft .close { width: 4px; height: 22px; background: #fff; position: relative; top: -1px; left: 15px; display: none; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } header .open-menu#openLeft .close:after { width: 4px; height: 22px; display: inline-block; background: #fff; position: absolute; top: 0; left: 0; content: ""; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } @media only screen and (min-width: 768px) and (max-width: 1279px) { header .open-menu#openLeft { right: 30px; } } body.fixed-nav header { background: rgba(10, 11, 16, 0.84); z-index: 101; -webkit-box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); box-shadow: 0px 20px 45px 0px rgba(0, 0, 0, 0.3); } body.fixed-nav header .logo { top: 5px; } body.fixed-nav header .user-block { top: 10px; } body.fixed-nav header .inner nav > ul > li > a { padding-top: 20px; padding-bottom: 20px; } body.fixed-nav header .inner nav > ul > li .submenu { top: 53px; -webkit-transition: all 0s ease 0; -moz-transition: all 0s ease 0; -ms-transition: all 0s ease 0; -o-transition: all 0s ease 0; transition: all 0s ease 0; } body.fixed-nav header:after { display: none; } body.forum header { position: absolute; } @media only screen and (max-width: 1279px) { body.forum header { text-align: center; } } body.forum header .forum-hide { display: none !important; } @media only screen and (max-width: 1279px) { body.forum #openLeft { display: block; } } @media only screen and (min-width: 1280px) { body.forum.fixed-nav header { position: absolute; } } .off-canvas-right-content { width: 80%; height: 100%; background: #1f2124; position: fixed; top: 0; bottom: 0; right: -80%; overflow-y: auto; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; display: none; } @media only screen and (max-width: 1279px) { .off-canvas-right-content { display: inline-block; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .off-canvas-right-content { width: 50%; right: -50%; } } .off-canvas-right-content nav ul > li { border-bottom: 1px solid #2c2e31; } .off-canvas-right-content nav ul > li > a { font-size: 17px; color: #8a8374; font-family: 'montserratregular'; text-transform: uppercase; display: block; padding: 20px 25px; position: relative; } .off-canvas-right-content nav ul > li > a:hover { color: #b5975c; } .off-canvas-right-content nav ul > li > a span { font-size: 3px; position: absolute; right: 25px; top: 26px; } .off-canvas-right-content nav ul > li ul { background: #1a1c1f; border-top: 1px solid #2c2e31; display: none; } .off-canvas-right-content nav ul > li ul.dropdown-opened { display: block; } .off-canvas-right-content nav ul > li ul li { border: none; } .off-canvas-right-content nav ul > li ul li a { font-family: 'montserratlight'; text-transform: none; } .off-canvas-right-content .search { position: relative; } .off-canvas-right-content .search input { width: 100%; display: block; background: #343639; padding: 15px 25px; color: #7b7b7c; font-size: 15px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .off-canvas-right-content .search input:focus { background: #484a4e; } .off-canvas-right-content .search button { position: absolute; right: 20px; top: 17px; border: none; background: none; margin: 0; padding: 0; } .off-canvas-right-content .search button span { color: #7b7b7c; font-size: 1.3em; } .off-canvas-right-content .social-block { position: relative; left: auto; top: auto; padding: 15px 20px; display: block; } .off-canvas-right-content .social-block ul li { margin: 0; display: inline-block; } .off-canvas-right-content .social-block ul li a { width: 45px; text-align: center; font-size: 15px; padding: 13px 0; border: 1px solid #383b3f; display: block; } @media only screen and (min-width: 768px) and (max-width: 1279px) { .off-canvas-right-content .social-block ul.social { display: inline-block; } } .off-canvas-right-content .social-block ul.lang { padding: 5px 0 0 0; } @media only screen and (min-width: 768px) and (max-width: 1279px) { .off-canvas-right-content .social-block ul.lang { padding: 0; display: inline-block; float: right; } } body.off-canvas-right-opened { left: -80%; } body.off-canvas-right-opened:not(.forum) header { left: -80%; } body.off-canvas-right-opened .off-canvas-right-content { text-align: left; right: 0; } body.off-canvas-right-opened .open-menu#openRight .open { display: none; } body.off-canvas-right-opened .open-menu#openRight .close { display: block; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { body.off-canvas-right-opened { left: -50%; } } @media only screen and (max-width: 1279px) { .off-canvas-left-content { width: 80%; height: 100%; background: #1f2124; position: fixed; top: 0; bottom: 0; left: -80%; overflow-y: auto; display: inline-block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .off-canvas-left-content { width: 50%; right: -50%; } } @media only screen and (max-width: 1279px) { body.off-canvas-left-opened { right: -80%; left: auto; position: fixed; } body.off-canvas-left-opened .off-canvas-left-content { left: 0; } body.off-canvas-left-opened .open-menu#openLeft .open { display: none; } body.off-canvas-left-opened .open-menu#openLeft .close { display: block; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { body.off-canvas-left-opened { right: -50%; } } /*======================= FOOTER ===========================*/ footer { background: #282828; } footer .newsletter { background: #ebe5da; } footer .newsletter .inner { background: url("/img/operosa-shape-01.png") no-repeat left -10px; } footer .newsletter .newsletter-text { padding: 40px 15px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text { padding: 20px 15px; } } footer .newsletter .newsletter-text div { display: inline-block; } footer .newsletter .newsletter-text div:first-child { width: 40%; text-align: center; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:first-child { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { footer .newsletter .newsletter-text div:first-child { width: 45%; padding: 10px 0 0 0; } } footer .newsletter .newsletter-text div:first-child h2 { color: #333840; font-size: 40px; font-family: 'playfair_displayregular'; text-transform: uppercase; letter-spacing: 2px; padding: 0 0 5px 0; } footer .newsletter .newsletter-text div:first-child h3 { color: #b28b3e; font-size: 22px; font-family: 'montserratlight'; text-transform: uppercase; letter-spacing: 4px; } footer .newsletter .newsletter-text div:last-child { width: 55%; margin: 0 0 0 -5px; padding: 0 0 0 20px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:last-child { width: 100%; margin: 0; padding: 0; text-align: center; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { footer .newsletter .newsletter-text div:last-child { width: 55%; } } footer .newsletter .newsletter-text div:last-child p { color: #4f5159; font-size: 15px; line-height: 22px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-text div:last-child p { padding: 15px 0 0 0; } } footer .newsletter .newsletter-form { padding: 50px 15px 0 15px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-form { padding: 0 15px 25px 15px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { footer .newsletter .newsletter-form { padding: 0 15px 25px 15px; } } footer .newsletter .newsletter-form .field { width: 100%; text-align: right; position: relative; } footer .newsletter .newsletter-form .field input[type=text] { width: 100%; display: block; color: #81796d; font-size: 16px; text-align: left; background: #d1c8b7; border: none; padding: 15px 20px; -webkit-box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); -moz-box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); box-shadow: inset 1px 3px 3px 0px rgba(0, 0, 0, 0.06); } @media only screen and (max-width: 767px) and (max-width: 1023px) { footer .newsletter .newsletter-form .field input[type=text] { padding: 12px 20px; line-height: 30px; } } footer .newsletter .newsletter-form .field input[type=text]::-webkit-input-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]:-moz-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]::-moz-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field input[type=text]:-ms-input-placeholder { color: #605441 !important; } footer .newsletter .newsletter-form .field button { background: none; border: none; cursor: pointer; position: absolute; right: 3px; top: 16px; } @media only screen and (max-width: 767px) { footer .newsletter .newsletter-form .field button { top: 18px; } } footer .newsletter .newsletter-form .field button span { color: #a2947d; font-size: 18px; -webkit-transition: color 0.2s ease-out; -moz-transition: color 0.2s ease-out; -ms-transition: color 0.2s ease-out; -o-transition: color 0.2s ease-out; transition: color 0.2s ease-out; } footer .newsletter .newsletter-form .field button:hover span { color: #86775f; } @media only screen and (max-width: 1279px) { footer .newsletter .__1 { display: none; } } footer .info { padding: 38px 0 30px 0; } footer .info .info-block p { color: #726f6b; font-size: 14px; line-height: 30px; } footer .info .info-block p a { color: #937436; line-height: 30px; } footer .info .info-block p a:hover { color: #d0a859; text-decoration: none; } @media only screen and (max-width: 767px) { footer .info .info-block { text-align: center; padding: 0 0 10px 0; } footer .info .info-block p { line-height: 20px; } footer .info .info-block p a { line-height: 20px; } } footer .info .info-block:nth-child(2) { text-align: center; } footer .info .info-block:nth-child(3) { text-align: right; } @media only screen and (max-width: 767px) { footer .info .info-block:nth-child(3) { text-align: center; padding: 0; } } /*======================= PAGE HERO ===========================*/ .page-hero { text-align: center; padding: 155px 0 45px 0; background-repeat: no-repeat; background-attachment: fixed; background-position: top center; } @media only screen and (max-width: 767px) { .page-hero { padding: 90px 0 50px 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .page-hero { padding: 80px 0 40px 0; } } .page-hero .page-title { text-align: center; } @media only screen and (max-width: 767px) { .page-hero .page-title { width: 100%; margin: 0 auto; } } .page-hero .page-title h1 { width: 70%; color: #fff; font-family: 'playfair_displayregular'; font-size: 40px; padding: 0 0 25px 0; margin: 0 auto; line-height: 42px; } @media only screen and (max-width: 1023px) { .page-hero .page-title h1 { font-size: 30px; line-height: 36px; } } .page-hero .page-title h2 { color: #b5975c; font-size: 14px; text-transform: uppercase; font-family: 'robotolight'; padding: 0 0 8px 0; } .page-hero .page-title h3, .page-hero .page-title p b { color: #e1c07f; font-family: 'playfair_displayregular' !important; line-height: 22px; padding: 0 0 10px 0; font-size: 1.0588em; font-weight: normal; } .page-hero .page-title p { width: 65.811965812%; margin: 0 auto; color: #9c9ca3; font-size: 16px; line-height: 24px; font-family: 'robotolight'; } @media only screen and (max-width: 1023px) { .page-hero .page-title p { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .page-hero .page-title p { width: 80%; } } .page-hero .page-title p a { color: #b5975c; line-height: 24px; } .page-hero .page-title p a:hover { color: #ecc881; } .page-hero .page-title .actions { padding: 30px 0 0 0; } .page-hero .page-title .actions form { display: inline-block; margin: 3px; } @media only screen and (max-width: 479px) { .page-hero .page-title .actions form { min-width: 100%; margin: 0 0 10px 0; } .page-hero .page-title .actions form .button { width: 100%; } } .page-hero .page-title .actions a { min-width: 215px; display: inline-block; margin: 3px; } @media only screen and (max-width: 479px) { .page-hero .page-title .actions a { min-width: 100%; margin: 0 0 10px 0; } .page-hero .page-title .actions a:last-child { margin: 0; } } @media only screen and (min-width: 480px) and (max-width: 539px) { .page-hero .page-title .actions a { min-width: 200px; } } @media only screen and (max-width: 767px) { .page-hero .page-title .actions button { margin-bottom: 5px; } } /*======================= RICH TEXT ===========================*/ .rich-text { line-height: 30px; text-align: justify; } .rich-text p { padding: 0 0 18px 0; text-align: justify; } @media only screen and (max-width: 767px) { .rich-text p { text-align: justify; } } .rich-text h2 { font-size: 1.4em; padding: 0 0 15px 0; } .rich-text a { line-height: 17px; border-bottom: 1px solid #ddd; } .rich-text a:hover { border-bottom: 1px solid #b5975c; } .rich-text span a { line-height: 17px; } .rich-text ul li { line-height: 30px; position: relative; padding: 0 0 0 15px; } .rich-text ul li:before { width: 7px; height: 7px; background: #b5975c; content: ""; position: absolute; left: 0; top: 12px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .rich-text .media-block { width: 34.188034188%; float: right; margin: 0 0 30px 70px; } .rich-text .media-block.wide { width: 50%; margin: 0 0 30px 30px; } @media only screen and (max-width: 767px) { .rich-text .media-block { width: 100%; margin: 0 0 35px 0; float: none; } } .rich-text .media-block img { border: 6px solid #fff; margin: 0 0 10px 0; -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); } .rich-text .media-block .button { display: block; color: #fff; line-height: 50px; padding-top: 0; padding-bottom: 0; } .rich-text .media-block .button:hover { text-decoration: none; } .rich-text .quotes { width: 230px; text-align: center; border: none; margin: 0; float: right; padding: 80px; box-sizing: unset; } @media only screen and (max-width: 767px) { .rich-text .quotes { width: 100%; padding: 0 30px 30px 30px; float: none; box-sizing: border-box; } } .rich-text .quotes p { text-align: center; padding: 0; } @media only screen and (max-width: 767px) { .rich-text .quotes article { padding: 0; } .rich-text .quotes article:before, .rich-text .quotes article:after { display: none; } } /*======================= MESSAGES ===========================*/ /*.validation-error { margin: 0 0 10px 0; input[type=text], input[type=email], input[type=password], textarea { border: 1px solid #ea7373!important; } .validation-error-message { text-align: right; position: relative; color: #f13042; font-size: 0.7em!important; } }*/ .validation-error input[type=text], .validation-error input[type=email], .validation-error input[type=password], .validation-error textarea, .validation-error .inputfile + label, .validation-error .select2 .select2-selection { border: 1px solid #ea7373 !important; } .validation-error .validation-error-message { text-align: right; color: #fff; font-size: 0.6em !important; background: #d15454; position: absolute; padding: 3px 6px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .form-signup .validation-error-message, .form-login .validation-error-message, .form-change-pass .validation-error-message, .form-reset .validation-error-message { top: 16px; right: 6px; } .form-reset-password .validation-error-message { top: 34px; right: 6px; } #postCommentForm .validation-error-message { top: 16px; right: 50px; } .post-comments #postCommentForm .validation-error-message { top: 16px; right: 10px; } #newsCommentForm .validation-error-message { top: 16px; right: 10px; } .form-upload-audio-to-gallery .validation-error-message, .form-upload-video-to-gallery .validation-error-message, .form-upload-photo-to-gallery .validation-error-message { top: 36px; right: 6px; } .form-upload-audio-to-gallery .upload-item .validation-error-message, .form-upload-video-to-gallery .upload-item .validation-error-message, .form-upload-photo-to-gallery .upload-item .validation-error-message { right: 53px; } #JobApplication .validation-error-message { top: 34px; right: 52px; } #newsletterForm .validation-error-message { top: 18px; right: 35px; } #contactForm .validation-error-message, #addPostForm .validation-error-message { top: 34px; right: 6px; } #addMessageForm .validation-error-message { top: 15px; right: 6px; } .form-update-profile .validation-error-message { top: 35px; right: 6px; } .form-update-profile .select-country .validation-error-message, .form-update-profile .select-category .validation-error-message { right: 46px; } .apply-popup .validation-error-message { top: 35px; right: 6px; } .apply-popup .upload-item .validation-error-message { top: 35px; right: 56px; } .apply-popup .field-radio .validation-error-message { top: 7px; right: 6px; } .form-message { width: 100%; text-align: center; } .form-message.form-message-error { color: #f13042; } .message-empty { background: #fff; text-align: center; -webkit-box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 9px 9px 0px rgba(0, 0, 0, 0.05); } .message-empty p { padding: 40px 0; font-style: italic; } /*======================= GALLERY ===========================*/ div.gallerie-loading { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 126px; height: 22px; margin: auto; z-index: 10000; background: url("loading.gif"); } .gallerie-overlay { width: 100%; height: 100%; position: fixed; left: 0px; top: 0px; background: rgba(0, 0, 0, 0.9); z-index: 1000; } .gallerie-overlay .gallerie-imagebox { width: 100%; height: 70%; position: relative; top: 0px; left: 0px; margin: 20px 0px; } .gallerie-overlay .gallerie-imagebox .loading { opacity: 0.3; } .gallerie-overlay .gallerie-imagebox img { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; margin: auto; border: 4px solid white; border-radius: 5px; -webkit-transition: all 500ms; -moz-transition: all 500ms; -ms-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; } .gallerie-overlay .gallerie-imagebox:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; } .gallerie-overlay .gallerie-captionbox { width: 100%; height: 50px; color: #fff; position: relative; top: 0px; left: 0px; text-align: center; padding: 5px 0px 15px 0px; } .gallerie-overlay .gallerie-captionbox > div { display: inline-block; } .gallerie-overlay .gallerie-captionbox:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; } .gallerie-overlay .gallerie-captionbox .gallerie-control { font-size: 30px; min-width: 40px; min-height: 40px; padding: 5px; margin: 0px; border: 2px solid transparent; vertical-align: top; border-radius: 100%; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 500ms; -moz-transition: all 500ms; -ms-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; } .gallerie-overlay .gallerie-captionbox .gallerie-control:hover { background: #222; border: 2px solid white; border-radius: 100%; cursor: pointer; } .gallerie-overlay .gallerie-captionbox .gallerie-text { max-width: 60%; min-width: 200px; margin: 0px 10px; vertical-align: bottom; } .gallerie-overlay .gallerie-captionbox .gallerie-text div { width: 100%; text-overflow: ellipsis; } .gallerie-overlay .gallerie-thumbbox { min-width: 100%; height: 100px; position: relative; top: 0px; left: 0px; margin: 0px auto; text-align: center; float: left; white-space: nowrap; } .gallerie-overlay .gallerie-thumbbox ul { position: relative; list-style-type: none; margin: 0px; padding: 0px; left: 0px; } .gallerie-overlay .gallerie-thumbbox ul li { width: 75px; height: 75px; display: inline-block; text-align: center; margin: 0px 10px 0px 10px; cursor: pointer; } .gallerie-overlay .gallerie-thumbbox ul li.gallerie-thumbbox-selected img { opacity: 1.0; border-color: #0ff; } .gallerie-overlay .gallerie-thumbbox ul li.gallerie-thumbbox-hover img { opacity: 1.0; border-color: #0ff; } /*======================= POPUP ===========================*/ .popup_background { -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -ms-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; } .popup { transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform: translateX(0) translateY(-40%); -moz-transform: translateX(0) translateY(-40%); -ms-transform: translateX(0) translateY(-40%); -o-transform: translateX(0) translateY(-40%); transform: translateX(0) translateY(-40%); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .popup.popup_wrapper { transition: all 0.3s ease-out; } .popup .close-popup a { position: absolute; right: 10px; top: 5px; cursor: pointer; } .popup .close-popup.close-icon { position: absolute; right: 20px; top: 25px; } .popup .close-popup.close-icon span { width: 15px; height: 3px; display: block; background: #b5975c; position: relative; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } .popup .close-popup.close-icon span:before { width: 15px; height: 3px; background: #b5975c; position: absolute; left: 0; top: 0; content: ''; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg); } .popup .close-popup.close-icon span:hover { opacity: .6; } .popup.login-popup { width: 750px; padding: 40px 50px; background: url("/img/operosa-shape-04.png") no-repeat -170px 120px #fff; } @media only screen and (max-width: 767px) { .popup.login-popup { width: 94%; padding: 30px; } } .popup.login-popup .popup-text { text-align: center; } .popup.login-popup .popup-text h2 { font-size: 1.4117em; } .popup.login-popup .popup-text p { font-size: 0.8235em; padding: 20px 0; } @media only screen and (max-width: 767px) { .popup.login-popup .popup-text p { display: none; } } .popup.login-popup .form { width: 350px; margin: 0 auto; text-align: left; } @media only screen and (max-width: 767px) { .popup.login-popup .form { width: 100%; padding: 20px 0 0 0; } .popup.login-popup .form .field-link { float: none !important; padding: 10px !important; text-align: center !important; } } .popup.login-popup .form label p { padding: 0; } .popup.login-popup .form .field-check { display: inline-block; } .popup.login-popup .form .field-link { float: right; padding-top: 6px; } .popup.login-popup .form .field-link a { font-size: 0.8823em; } .popup.login-popup .form .field-button button { width: 100%; } .popup.login-popup .form .or-sign { text-align: center; color: #8a857b; font-size: 0.8823em; position: relative; margin: 5px 0 15px 0; } .popup.login-popup .form .or-sign span { background: #fff; padding: 0 10px; position: relative; top: 2px; } .popup.login-popup .form .or-sign:before { width: 100%; height: 1px; background: #dfe1e3; position: absolute; left: 0; right: 0; top: 10px; content: ""; } .popup.standard-popup { width: 600px; max-width: 94%; } .popup.standard-popup .popup-heading { background: #967a42; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; } .popup.standard-popup .popup-heading h2 { color: #fff; font-size: 1.08em; text-transform: uppercase; text-align: center; padding: 17px 0; } .popup.standard-popup .popup-body { background: #fff; -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; } .popup.standard-popup .popup-body .form { width: 405px; margin: 0 auto; } @media only screen and (max-width: 767px) { .popup.standard-popup .popup-body .form { width: 100%; } } .popup.standard-popup .popup-body .margin-bottom { margin-bottom: 20px; } .popup.standard-popup .popup-body .text { text-align: center; } .popup.standard-popup .popup-body .text p { color: #5c5c60; font-size: 1em; } .popup.standard-popup .popup-body .text p span { color: #ac8a45; line-height: 26px; } .popup.standard-popup .popup-body .text.text-padd { padding: 0 0 20px 0; } .popup.standard-popup .popup-body .popup-actions { border-top: 1px solid #ecedee; padding: 20px 0 0 0; margin: 20px 0 0 0; text-align: center; } .popup.standard-popup .popup-body .popup-actions button { min-width: 130px; display: inline-block; margin: 0 2px; } .popup.standard-popup:not(.apply-popup) .popup-body .form .field-item label { display: block; text-align: center; padding: 0 0 6px 0; } .popup.standard-popup:not(.apply-popup) .popup-body .form .field-item.upload-item .upload label { text-align: right; padding: 0; } .popup.notification-popup { width: 550px; max-width: 94%; background: url("/img/operosa-shape-05.png") no-repeat center center #fff; } .popup.notification-popup .popup-text { font-family: 'playfair_displayregular'; color: #896e39; font-size: 20px; } .popup_visible .popup { transform: translateX(0) translateY(0); } .popup_wrapper_visible { bottom: auto; -webkit-backface-visibility: hidden !important; } #renamePopup .popup-body, .apply-popup .popup-body, #deletePopup .popup-body, #deleteGalleryItem .popup-body, #uploadPhotoToGallery .popup-body, #uploadAudioToGallery .popup-body, #uploadVideoToGallery .popup-body, #createPopup .popup-body, #deletePostPopup .popup-body, #changePassPopup .popup-body { padding: 35px 40px 20px 40px; } @media only screen and (max-width: 767px) { #renamePopup .popup-body, .apply-popup .popup-body, #deletePopup .popup-body, #deleteGalleryItem .popup-body, #uploadPhotoToGallery .popup-body, #uploadAudioToGallery .popup-body, #uploadVideoToGallery .popup-body, #createPopup .popup-body, #deletePostPopup .popup-body, #changePassPopup .popup-body { padding: 35px 15px 20px; } } .loader-helper { position: absolute; top: 0; bottom: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.5); } .loader-helper img { width: auto; } /*======================= PAGINATOR ===========================*/ .paginator { padding: 20px 0 0 0; text-align: center; } .paginator span { width: 35px; background: #e4e2e2; color: #fff; font-size: 0.9411em; display: inline-block; text-align: center; margin: 0 2px 0 0; -webkit-box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 9px 16px 0px rgba(0, 0, 0, 0.1); } .paginator span a { display: block; color: #978a8a; padding: 10px 0; } .paginator span a:hover { background: #b5975b; color: #fff; } .paginator span.current { background: #b5975b; padding: 10px 0; } /*======================= LANGUAGE DIFFERENCES ===========================*/ .locale-sr footer .newsletter .newsletter-text div:first-child h2 { font-size: 35px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .locale-sr footer .newsletter .newsletter-text div:first-child h2 { font-size: 28px; } } .locale-sr footer .newsletter .newsletter-text div:first-child h3 { font-size: 18px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .locale-sr footer .newsletter .newsletter-text div:first-child h3 { font-size: 14px; } } /*======================= FORMs ON PAGE ===========================*/ main.form-on-page { background: #e4e4e4; border-bottom: 1px solid #d6cfc1; } main.form-on-page h2 { line-height: 20px; text-align: center; font-size: 20px; padding: 0 0 20px 0; } main.form-on-page .form-content { background: #fff; margin: 0 auto; padding: 40px 50px; -webkit-box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.07); /* Login */ } @media only screen and (max-width: 767px) { main.form-on-page .form-content { padding: 30px 20px; } } main.form-on-page .form-content.fc-login, main.form-on-page .form-content.fc-reset { width: 500px; max-width: 100%; } main.form-on-page .form-content.fc-login .form .or-sign, main.form-on-page .form-content.fc-reset .form .or-sign { text-align: center; color: #8a857b; font-size: 0.8823em; position: relative; margin: 5px 0 15px 0; } main.form-on-page .form-content.fc-login .form .or-sign span, main.form-on-page .form-content.fc-reset .form .or-sign span { background: #fff; padding: 0 10px; position: relative; top: 2px; } main.form-on-page .form-content.fc-login .form .or-sign:before, main.form-on-page .form-content.fc-reset .form .or-sign:before { width: 100%; height: 1px; background: #dfe1e3; position: absolute; left: 0; right: 0; top: 10px; content: ""; } main.form-on-page .form-content.fc-complete { width: 700px; max-width: 100%; padding: 20px 50px 40px 50px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete { padding: 20px; } } main.form-on-page .form-content.fc-complete .forum-form { position: relative; } main.form-on-page .form-content.fc-complete .forum-form .field-item { padding-bottom: 15px; } main.form-on-page .form-content.fc-complete .forum-form .field-item.field-padding { padding-top: 25px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .field-item.field-padding { padding-top: 0; } } main.form-on-page .form-content.fc-complete .forum-form .field-item textarea { height: 130px; } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action { border-top: 1px solid #dfe1e3; padding: 10px 0 0 0; text-align: right; margin: 20px 0 0 0; } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action button { min-width: 215px; } @media only screen and (max-width: 1279px) { main.form-on-page .form-content.fc-complete .forum-form .forum-form-action button { min-width: 100%; } } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text { text-align: left; } @media only screen and (max-width: 1279px) { main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text { text-align: center; padding-bottom: 10px; } } main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text p, main.form-on-page .form-content.fc-complete .forum-form .forum-form-action .form-text a { line-height: 20px; font-size: 14px; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block h3 { font-size: 0.75em; text-transform: uppercase; border-bottom: 1px solid #dfe1e3; padding: 0 0 7px 0; font-family: 'robotomedium'; margin: 20px 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div { width: 32.4%; display: inline-block; margin: 0 0 0 -4px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div { width: 100%; display: block; margin: 0; } } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(1) { margin: 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(2) { margin: 0 6px; } @media only screen and (max-width: 767px) { main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-item-3 > div:nth-child(2) { margin: 0; } } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block .field-padding { padding: 0; } main.form-on-page .form-content.fc-complete .forum-form .profile-form-block:first-child h3 { margin: 0 0 20px 0; } main.form-on-page .form { text-align: left; } main.form-on-page .form label p { padding: 0; } main.form-on-page .form .field-check { display: inline-block; } main.form-on-page .form .field-link { float: right; padding-top: 6px; } main.form-on-page .form .field-link a { font-size: 0.8823em; } main.form-on-page .form .field-button button { width: 100%; } .young header .inner nav > ul li a { color: #63b6cd; } .young header .inner nav > ul li a:hover { color: #63b6cd; } .young header .inner nav > ul li a span { color: #63b6cd; } .young header .inner nav > ul li .submenu { border-top: 2px solid #63b6cd; } .young header .inner nav > ul li:hover > a { color: #63b6cd; } .young header .inner nav > ul li.dropdown > a:after { background: url(/img/blue_dropdown.png) no-repeat bottom center; } .young header .user-block ul.lang li a { color: #63b6cd; } @media only screen and (max-width: 1023px) { .form-login .field-item.field-check { display: none !important; } } /*======================= Grid ===========================*/ .row { width: auto; display: block; margin: 0 -15px; position: relative; clear: both; } .row:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } @media only screen and (max-width: 767px) { .row { margin: 0; } } .row > .column { padding: 0 15px; float: left; } .row > .column.pull-right { float: right; } @media only screen and (max-width: 767px) { .row > .column { padding: 0; } } .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.m__2, .row > .column.__12, .row > .column.__11, .row > .column.__10, .row > .column.__9, .row > .column.__8, .row > .column.__7, .row > .column.__6, .row > .column.__5, .row > .column.__4, .row > .column.__3, .row > .column.__2, .row > .column.__1, .row > .column.lt__6, .row > .column.lt__5, .row > .column.lt__4, .row > .column.lt__3, .row > .column.lt__2, .row > .column.lt__1, .row > .column.st__6, .row > .column.st__5, .row > .column.st__4, .row > .column.st__3, .row > .column.st__2, .row > .column.st__1 { 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%; } .row.block-row.__7-block .column { width: 14.285714%; } .row.block-row.__8-block .column { width: 12.5%; } @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__1-block .column { width: 100%; } .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%; } } @media only screen and (max-width: 767px) { .row.block-row.m__1-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.__0 { margin: 0; } .row.__0 .column { padding: 0; } input[type=text], input[type=password] { font-family: 'robotolight'; } .field-item { padding: 0 0 7px 0; position: relative; } .field-item .progress-bar-holder { position: absolute; z-index: 999; text-align: left; bottom: 31px; left: 4px; right: 50px; } .field-item .progress-bar-holder span { float: right; text-align: right; font-size: 12px; margin: 0px 6px 6px 0; } .field-item .progress-bar-holder .progress-bar-custom { position: absolute; left: 0; bottom: 0; height: 3px; background: #b5975c; width: 0; } .field-item em { display: block; font-style: normal; font-size: 0.69em; padding: 2px 2px 0 5px; color: #9999a3; text-align: right; } .field-item .required { float: right; color: #d2ccc2; font-size: 0.6470em; text-transform: uppercase; padding: 3px 0 0 0; } .field-item label { font-size: 0.8823em; color: #8a857b; padding: 0 0 3px 5px; display: inline-block; } .field-item .field { background: #f9f5ee; padding: 3px; /* Check boxes*/ /* Radio boxes*/ } .field-item .field input[type=text], .field-item .field input[type=password], .field-item .field textarea { width: 100%; height: 42px; background: #fff; border: 1px solid #dbd3c4; font-size: 0.8823em; color: #7f7f85; padding: 0 13px; line-height: 40px; display: block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .field-item .field input[type=text]:hover, .field-item .field input[type=password]:hover, .field-item .field textarea:hover { border: 1px solid #c5bdad; } .field-item .field textarea { height: auto; resize: none; box-sizing: border-box; overflow: hidden; line-height: 20px; padding: 9px 13px; } .field-item .field textarea.profile-text { line-height: 1.4; height: 300px; padding: 13px; } .field-item .field button { cursor: pointer; border: none; background: none; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .field-item .field .select2 .select2-selection__clear { position: absolute; right: 40px; top: 0; padding: 13px !important; } .field-item .field .select2 .select2-selection { border: 1px solid #dbd3c4; height: auto; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .field-item .field .select2 .select2-selection .select2-selection__rendered { font-size: 0.8823em; color: #7f7f85; padding: 0 13px; line-height: 40px; } .field-item .field .select2 .select2-selection .select2-selection__rendered > span { padding: 14px 0 12px 0; display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__rendered .select2-image { display: inline-block; margin: -4px 10px -4px 0; max-width: 100%; width: auto; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .field-item .field .select2 .select2-selection .select2-selection__placeholder { font-size: 0.8823em; color: #7f7f85; padding: 14px 13px 12px 3px; display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__placeholder > span { display: inline-block; } .field-item .field .select2 .select2-selection .select2-selection__placeholder .select2-image { display: none; } .field-item .field .select2 .select2-selection .select2-selection__arrow { width: 40px; height: auto; top: 0; right: 0; bottom: 0; } .field-item .field .select2 .select2-selection .select2-selection__arrow b { width: 40px; height: 26px; border: none; left: auto; top: 50%; margin: -13px 0 0 0; background: url("/img/select.png") no-repeat center center; border-left: 1px solid #e4e4e4; } .field-item .field.upload .inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } .field-item .field.upload .inputfile + label { width: 100%; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; display: inline-block; overflow: hidden; padding: 0; text-align: right; font-size: 15px; color: #7f7f85; border: 1px solid #dbd3c4; background: #fff; } .field-item .field.upload .inputfile:focus + label, .field-item .field.upload .inputfile + label:hover { border: 1px solid #dbd3c4; } .field-item .field.upload .inputfile:focus + label, .field-item .field.upload .inputfile.has-focus + label, .field-item .field.upload .inputfile + label:hover { border: 1px solid #c5bdad; } .field-item .field.upload .inputfile + label span { font-size: 15px; color: #7f7f85; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: left; float: left; line-height: 40px; padding: 0 13px; max-width: 85%; } .field-item .field.upload .inputfile + label div { height: 100%; color: #fff; background: #cbc5ba; display: inline-block; border: 1px solid #cbc5ba; } .field-item .field.upload .inputfile + label div i { width: 45px; font-style: normal; padding: 12px 0; text-align: center; display: block; } .field-item .field.upload .inputfile:focus + label strong, .field-item .field.upload .inputfile.has-focus + label strong, .field-item .field.upload .inputfile + label:hover strong { background-color: #722040; } .field-item .field.field-checkbox { background: none; } .field-item .field.field-checkbox label { padding: 0; } .field-item .field.field-checkbox input { width: 100%; height: 100%; display: none; position: absolute; top: 0; left: 0; opacity: 0; background: none; border: none; } .field-item .field.field-checkbox input + label { cursor: pointer; text-align: left; } .field-item .field.field-checkbox input + label span { width: 22px; height: 22px; background: #f9f5ee; padding: 3px; display: inline-block; vertical-align: middle; } .field-item .field.field-checkbox input + label span span { width: auto; height: auto; font-size: 8px; display: block; color: #eaeaea; background: #fff; border: 1px solid #cfc9bd; position: relative; } .field-item .field.field-checkbox input + label span span:hover { border: none; color: #d2d2d2; } .field-item .field.field-checkbox input + label p { display: inline-block; line-height: 18px; vertical-align: middle; } .field-item .field.field-checkbox input:checked + label span span { color: #b5975c; } .field-item .field.field-radio { background: none; } .field-item .field.field-radio label { padding: 0; } .field-item .field.field-radio input { width: 100%; height: 100%; display: none; position: absolute; top: 0; left: 0; opacity: 0; background: none; border: none; } .field-item .field.field-radio input + label { cursor: pointer; text-align: left; } .field-item .field.field-radio input + label > span { width: 22px; height: 22px; background: #f9f5ee; padding: 3px; display: inline-block; vertical-align: middle; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; position: relative; } .field-item .field.field-radio input + label > span > span { position: absolute; top: 3px; left: 3px; bottom: 3px; right: 3px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; background: #fff; border: 1px solid #b5975c; } .field-item .field.field-radio input + label > span > span:after { position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; content: ""; background: none; } .field-item .field.field-radio input + label > span > span:after:hover { border: none; background: #b5975c; } .field-item .field.field-radio input + label p { display: inline-block; line-height: 18px; vertical-align: middle; } .field-item .field.field-radio input:checked + label > span > span:after { background: #b5975c; } .field-item:last-child:not(:first-child) { padding: 0; } #addMessageForm .field-item button { margin: 20px 0 0 0; } .select2-container--open { z-index: 111111; } .select2-dropdown { border: 1px solid #dbd3c4; font-size: 0.8823em; color: #7f7f85; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; -webkit-box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 11px 11px 0px rgba(0, 0, 0, 0.15); } .select2-dropdown .select2-results__options > li > span { padding: 5px 0; display: inline-block; } .select2-dropdown .select2-results__options > li .select2-image { display: inline-block; margin: -4px 10px -4px 0; max-width: 100%; width: auto; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .select2-container .select2-search__field { border: 1px solid #dbd3c4 !important; color: #7f7f85; font-size: 0.8823em; padding: 10px !important; } .select2-container .select2-results__option { color: #7f7f85; font-size: 0.8823em; } /* Buttons */ .button { position: relative; font-size: 0.8235em; color: #fff; text-transform: uppercase; text-align: center; padding: 0 30px; border: none; cursor: pointer; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .button:after { background: none; position: absolute; content: ""; left: 3px; right: 3px; bottom: 3px; top: 3px; } .button:hover { text-decoration: none; } .button.btn-big { padding: 13px 30px; line-height: 20px; } .button.btn-sans-serif { font-family: 'robotolight'; } .button.btn-serif { font-family: 'playfair_displayregular'; text-transform: none; font-size: 1em; padding: 12px 30px; } .button.btn-light { background: #b5975c; } .button.btn-light:hover { background: #947b49; } .button.btn-light:after { border: 1px solid #cbb68d; } .button.btn-young { background: #26477a; } .button.btn-young:hover { background: #07337a; } .button.btn-young:after { border: 1px solid #63b6cd; } .button.btn-dark { background: #937436; } .button.btn-dark:hover { background: #775c26; } .button.btn-dark:after { border: 1px solid #cbb68d; } .button.btn-lighter { background: #c3bdb2; } .button.btn-lighter:hover { background: #b4aea2; } .button.btn-lighter:after { border: 1px solid #d5d1c9; } form .button { min-width: 100%; } .select2-dropdown { border: 1px solid #c5bdad !important; } .upload-preview { max-width: 300px; margin: 10px auto; position: relative; } .upload-preview img { width: 100%; } .upload-preview a.btn-remove-media { position: absolute; top: 0; left: -20px; } .ui-datepicker { background: white; padding: 5px; border: 1px solid #B3B3BE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .ui-datepicker a { cursor: pointer; } .ui-datepicker .ui-datepicker-header { margin-bottom: 5px; padding: 3px; } .ui-datepicker .ui-datepicker-header .ui-datepicker-prev { float: left; } .ui-datepicker .ui-datepicker-header .ui-datepicker-next { float: right; } .ui-datepicker .ui-datepicker-header .ui-datepicker-title { font-weight: bold; text-align: center; margin: 25px 0 0 0; } .ui-datepicker th { color: white; background: #b5975c; padding: 8px 5px; } .ui-datepicker td { text-align: center; } .ui-datepicker td a { display: block; padding: 8px 5px; margin: 3px; } .ui-datepicker td a:hover { background: #e0e0e0; color: #b5975c; } .ui-datepicker .ui-state-active { background: #b5975c; color: white; } .ui-datepicker .ui-state-highlight { background: #e0e0e0; } h2 { color: #b5975c; font-size: 1.6470em; font-family: 'playfair_displayregular'; } @media only screen and (max-width: 767px) { h2 { font-size: 1.4em; } } h3 { color: #46464c; font-size: 1.0588em; font-family: 'montserratregular'; } p { line-height: 30px; } p strong { line-height: 30px; font-weight: bold; } p strong em { line-height: 30px; font-weight: bold; } a { color: #b5975c; text-decoration: none; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } a:hover { text-decoration: none; } /* ====== SLIDER ====== */ .home-slider { position: relative; z-index: 1; background: #000; } @media only screen and (max-width: 1024px) { .home-slider { height: 100vh; } } @media only screen and (max-width: 1024px) { .home-slider figure { height: 100vh !important; } .home-slider figure img { object-fit: cover; object-position: 50% 50%; height: 100%; } } .home-slider figure figcaption { width: 590px; position: absolute; z-index: 2; text-align: center; top: 50%; left: 50%; margin-left: -295px; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } @media only screen and (max-width: 1024px) { .home-slider figure figcaption { width: 90%; margin-left: -45%; } } .home-slider figure figcaption h2 { font-family: 'montserrathairline'; color: #ffd582; font-size: 2.9411em; text-transform: uppercase; line-height: 40px; } @media only screen and (max-width: 767px) { .home-slider figure figcaption h2 { font-size: 2.2em; } } @media only screen and (max-width: 767px) and (orientation: landscape) { .home-slider figure figcaption h2 { padding: 10px 0 0 0; line-height: 36px; } } .home-slider figure figcaption p { color: #fff; padding: 25px 0; line-height: 25px; } @media only screen and (max-width: 767px) { .home-slider figure figcaption p { line-height: 20px; } } @media only screen and (max-width: 767px) and (orientation: landscape) { .home-slider figure figcaption p { padding: 15px 0; } } .home-slider figure figcaption .button { min-width: 250px; padding: 18px 30px; display: inline-block; } @media only screen and (max-width: 767px) { .home-slider figure figcaption .button { padding: 13px 14px; } } .home-slider ul.slick-dots { width: 100%; text-align: center; position: absolute; bottom: 30px; } .home-slider ul.slick-dots li { display: inline-block; padding: 0 2px; } .home-slider ul.slick-dots li div { width: 12px; height: 12px; cursor: pointer; background: #fff; opacity: .2; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .home-slider ul.slick-dots li div:hover { opacity: .8; } .home-slider ul.slick-dots li.slick-active div { background: #b5975c; opacity: 1; } main { padding: 80px 0; display: block; } @media only screen and (max-width: 767px) { main { padding: 40px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { main { padding: 50px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { main { min-height: 500px; } } @media only screen and (min-width: 1280px) { main { min-height: 450px; } } .inner { width: 1170px; max-width: 90%; margin: 0 auto; } /* ====== HOMEPAGE ====== */ .home-blocks { margin: 0 -5px; } .home-blocks .column { padding: 0 5px; } .home-blocks .home-block { background-position: center center; position: relative; } @media only screen and (max-width: 767px) { .home-blocks .home-block { margin: 0 0 15px 0; } } .home-blocks .home-block figure { position: relative; } .home-blocks .home-block figure .link-view-all { width: 100px; color: #f8cb71; text-transform: uppercase; font-size: 0.6470em; text-align: center; z-index: 100; position: absolute; left: 50%; bottom: 40px; margin: 0 0 0 -50px; } .home-blocks .home-block figure .link-view-all:hover { color: #ffe6b5; } .home-blocks .home-block figure .img { position: relative; } .home-blocks .home-block figure .img figcaption { -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; } @media only screen and (max-width: 767px) { .home-blocks .home-block figure .img figcaption { display: none; } } .home-blocks .home-block figure .img:after { width: 100%; top: 0; left: 0; bottom: 0; right: 0; background: rgba(21, 26, 32, 0.85); position: absolute; content: ""; z-index: 2; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } .home-blocks .home-block figure .img.img-link { display: block; z-index: 2000; } .home-blocks .home-block figure .img.img-link:before { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 9999; } .home-blocks .home-block figure .img.img-link:hover:after { background: rgba(21, 26, 32, 0); } .home-blocks .home-block figure .img.img-link:hover figcaption { opacity: 0; } .home-blocks .home-block figure .img img { width: 100%; height: auto; display: block; position: relative; z-index: 1; } .home-blocks .home-block figure figcaption { width: 100%; position: absolute; text-align: center; left: 0; top: 0; z-index: 11; padding: 80px 15px; box-sizing: border-box; word-wrap: break-word; height: 100%; } .home-blocks .home-block figure figcaption div { color: #c8c0bc; font-size: 0.7058em; text-transform: uppercase; position: relative; margin-bottom: 30px; } .home-blocks .home-block figure figcaption div:after { width: 40px; height: 1px; background: #b5975c; position: absolute; bottom: -8px; left: 50%; margin-left: -20px; content: ""; } .home-blocks .home-block figure figcaption h2 { font-family: 'playfair_displayregular'; color: #fff; font-size: 1.1746em; padding-bottom: 15px; line-height: 24px; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .home-blocks .home-block figure figcaption h2 { font-size: 1.1em; line-height: 20px; } } .home-blocks .home-block figure figcaption .button { display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; line-height: 13px; position: absolute; left: 50%; bottom: 70px; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); z-index: 2001; } .home-blocks .home-block figure:after { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 10; } .home-blocks .home-block ul.slick-dots { width: 100%; text-align: center; position: absolute; bottom: 15px; z-index: 99; } .home-blocks .home-block ul.slick-dots li { display: inline-block; padding: 0 2px; } .home-blocks .home-block ul.slick-dots li button { width: 9px; height: 9px; border: none; text-indent: -99999px; cursor: pointer; background: #737477; display: block; padding: 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .home-blocks .home-block ul.slick-dots li button:hover { background: #fff; } .home-blocks .home-block ul.slick-dots li.slick-active button { background: #fff; } .home-blocks .home-block.home-advertisement figure figcaption .img { position: absolute; left: 0; width: 100%; top: 0; height: 100%; padding: 80px 15px; } .home-blocks .home-block.home-advertisement figure figcaption .img > div { z-index: 9; } .home-blocks .home-block.home-advertisement figure figcaption .img h2 { z-index: 9; position: relative; } @media only screen and (max-width: 767px) { .home-blocks .home-block.home-advertisement figure figcaption .img:after { background: rgba(21, 26, 32, 0); } } .home-blocks .home-block.home-advertisement figure .button { display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; line-height: 13px; position: absolute; left: 50%; bottom: 70px; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); z-index: 2001; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .home-blocks .column { width: 49.5%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) and (min-width: 768px) and (max-width: 1023px) { .home-blocks .column:last-child { text-align: center; } } .home-blocks .show-tablet { display: none; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .home-blocks .show-tablet { display: block; margin: 10px 0; } } /*======================= GRIDs and LISTs ===========================*/ /* Big Text page grid */ .text-grid .row { margin-bottom: 70px; } @media only screen and (max-width: 1023px) { .text-grid .row { margin: 0; } } .text-grid .row .rich-text { width: 94%; display: inline-block; text-align: justify; } @media only screen and (max-width: 1023px) { .text-grid .row .rich-text { width: 100%; margin: 30px 0; text-align: justify; } } .text-grid .row .rich-text p { padding: 20px 0 0 0; text-align: justify; } @media only screen and (max-width: 767px) { .text-grid .row .rich-text h2 { text-align: center; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .text-grid .row .rich-text h2 { text-align: center; } } .text-grid .row .rich-text h3 { padding: 10px 0 0 0; } @media only screen and (max-width: 767px) { .text-grid .row .rich-text h3 { line-height: 25px; text-align: center; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .text-grid .row .rich-text h3 { text-align: center; } } .text-grid .row .rich-text ul { padding: 20px 0 0 0; } .text-grid .row:nth-child(2n+1) { text-align: right; } .text-grid .row:last-child:not(:first-child) { margin-bottom: 0; } .text-grid .row img { border: 6px solid #fff; -webkit-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); } .text-grid.alt-text-grid .row, .text-grid.alt-text-grid .margin-bottom { margin-bottom: 40px; } .text-grid.alt-text-grid .row .rich-text, .text-grid.alt-text-grid .margin-bottom .rich-text { width: 100%; } @media only screen and (max-width: 1023px) { .text-grid.alt-text-grid .row .rich-text, .text-grid.alt-text-grid .margin-bottom .rich-text { margin: 0; } } .text-grid.alt-text-grid .row .rich-text .videoWrapper, .text-grid.alt-text-grid .margin-bottom .rich-text .videoWrapper { position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; } .text-grid.alt-text-grid .row .rich-text .videoWrapper iframe, .text-grid.alt-text-grid .margin-bottom .rich-text .videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .text-grid.alt-text-grid .row .rich-text p, .text-grid.alt-text-grid .margin-bottom .rich-text p { padding: 0 0 20px 0; } .text-grid.alt-text-grid .row .rich-text p:last-child, .text-grid.alt-text-grid .margin-bottom .rich-text p:last-child { padding: 0; } .text-grid.alt-text-grid .row .rich-text p strong, .text-grid.alt-text-grid .margin-bottom .rich-text p strong { font-weight: bold !important; line-height: 30px; } .text-grid.alt-text-grid .row .__12, .text-grid.alt-text-grid .margin-bottom .__12 { text-align: center; } .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 70%; text-align: center; display: inline-block; } @media only screen and (max-width: 1023px) { .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .text-grid.alt-text-grid .row .__12 .rich-text, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text { width: 85%; } } .text-grid.alt-text-grid .row .__12 .rich-text p, .text-grid.alt-text-grid .margin-bottom .__12 .rich-text p { text-align: center; } .text-grid .grid-title { padding: 0 0 40px 0; } .text-grid .grid-title .grid-title-img { text-align: center; padding: 0 0 10px 0; } .text-grid .grid-title .grid-title-img img { width: auto; display: inline-block; } .text-grid .grid-title .grid-title-cnt { border-bottom: 1px solid #eff0f1; border-top: 1px solid #eff0f1; padding: 15px 0; } @media only screen and (max-width: 767px) { .text-grid .grid-title .grid-title-cnt { text-align: center; } } .text-grid .grid-title .grid-title-cnt a:hover { border-bottom: 1px solid #b5975c; } .text-grid .grid-title .grid-title-cnt a span { font-size: 0.7em; position: relative; top: 3px; margin: 0 3px 0 0; text-decoration: none; } .text-grid .grid-title .grid-title-cnt p { display: inline-block; line-height: 18px; } .text-grid .grid-title .grid-title-cnt div { float: right; } @media only screen and (max-width: 767px) { .text-grid .grid-title .grid-title-cnt div { float: none; padding: 15px 0 0 0; } } .text-grid .grid-title .grid-title-cnt div ul { padding: 0 0 0 10px; display: inline-block; } .text-grid .grid-title .grid-title-cnt div ul li { display: inline-block; vertical-align: top; padding: 0 5px; } .text-grid .grid-title .grid-title-cnt div ul li a span { font-size: 0.9em; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .text-grid .grid-title .grid-title-cnt div ul li a:hover { color: #d3b271; text-decoration: none; border: none; } .text-grid .grid-title .grid-title-cnt div ul li:nth-child(2) span { font-size: 0.75em; position: relative; top: 5px; } .text-grid .grid-logo { border-top: 1px solid #eff0f1; border-bottom: 1px solid #eff0f1; position: relative; top: -40px; } @media only screen and (max-width: 1023px) { .text-grid .grid-logo { top: auto; } } .text-grid .grid-logo > div { width: 300px; margin: 0 auto; } .text-grid.young-text-grid section:nth-child(2) { background: #ecf4f1; background: -moz-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -webkit-gradient(left top, right top, color-stop(0%, #ecf4f1), color-stop(50%, #ecf4f1), color-stop(50%, #e2eae7), color-stop(100%, #e2eae7)); background: -webkit-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -o-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: -ms-linear-gradient(left, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); background: linear-gradient(to right, #ecf4f1 0%, #ecf4f1 50%, #e2eae7 50%, #e2eae7 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf4f1', endColorstr='#e2eae7', GradientType=1 ); } .text-grid.young-text-grid section:nth-child(2) .row { margin: 0; } .text-grid.young-text-grid section:nth-child(2) .row .rich-text { text-align: center; } .text-grid.young-text-grid section:nth-child(2) .row .rich-text p { text-align: center; } .text-grid.young-text-grid section:nth-child(1) { background: url("/img/young-bg-blue.png") no-repeat 50% -10%; } .text-grid.young-text-grid section .text-center { text-align: center; } .text-grid.young-text-grid section .text-center .rich-text { text-align: center; } .text-grid.young-text-grid section .text-center .rich-text p { text-align: center; } .text-grid.young-text-grid section:last-child, .text-grid.young-text-grid section.brown { padding: 80px 0; background: url("/img/young-bg-white.png") no-repeat 50% 20% #efe8dc; } .text-grid.young-text-grid section:last-child .rich-text, .text-grid.young-text-grid section.brown .rich-text { width: 768px; max-width: 100%; margin: 0 auto; } .text-grid.young-text-grid section.white { padding: 80px 0; background: white !important; } .text-grid.young-text-grid section.co-funded { padding: 50px 0 10px 0; } .text-grid.young-text-grid section.co-funded img { width: 80%; max-width: 400px; margin-bottom: 20px; display: inline-block; } .text-grid.young-text-grid section.co-funded p { display: inline-block; width: 500px; max-width: 95%; text-align: center; font-size: 0.8em; line-height: 1.5em; font-style: italic; } .text-grid.young-text-grid section.partners { padding: 30px 0 10px 0; } .text-grid.young-text-grid section.partners ul { list-style: none; margin: 0; padding: 0; } .text-grid.young-text-grid section.partners ul li { padding: 0; display: inline-block; } .text-grid.young-text-grid section.partners ul li:before { content: none; } .text-grid.young-text-grid section.partners ul li img { display: inline; max-width: 180px; } .text-grid.young-text-grid .row { margin: 0; } .text-grid.young-text-grid .row .rich-text { width: 100%; } .text-grid.young-text-grid .row .column { padding-top: 120px; padding-bottom: 120px; } @media only screen and (max-width: 1279px) { .text-grid.young-text-grid .row .column { padding-top: 60px; padding-bottom: 60px; } } @media only screen and (max-width: 1023px) { .text-grid.young-text-grid .row .column { padding-top: 20px; padding-bottom: 20px; } } section.padding { padding: 60px 0; padding: 60px 0; } /* Block article grid */ .article-grid { position: relative; z-index: 1; } .article-grid .row { margin-left: -6px; margin-right: -6px; } .article-grid .row .column { padding: 0 6px 10px 6px; } .article-grid .row .column.filter-box { display: none; } .article-grid .row .column.filter-box.active { display: block; } .article-grid .row .column article { text-align: center; } .article-grid .row .column article a { display: block; position: relative; z-index: 9; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a .video-thumb { position: relative; } .article-grid .row .column article a i.icon-player-play { position: absolute; z-index: 99; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 30px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 80px; height: 80px; text-align: center; border: 2px solid #b5975c; background: rgba(0, 0, 0, 0.5); padding: 24px 0 0 7px; } .article-grid .row .column article a img { border: 3px solid #fff; position: relative; -webkit-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a span, .article-grid .row .column article a h4, .article-grid .row .column article a h2 { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-grid .row .column article a .caption { padding: 15px 10px; box-sizing: border-box; } .article-grid .row .column article a .caption span { color: #aba8a2; font-size: 0.7058em; } .article-grid .row .column article a .caption h4 { color: #8a857b; font-size: 0.8235em; line-height: 20px; } @media only screen and (max-width: 767px) { .article-grid .row .column article a .caption h4 { font-size: 1.1em; line-height: 23px; } } .article-grid .row .column article a .caption h2 { color: #896e39; font-size: 0.95em; line-height: 24px; } .article-grid .row .column article a:hover { z-index: 10; -webkit-box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); box-shadow: 0 30px 60px 0px rgba(0, 0, 0, 0.1); } .article-grid .row .column article a:hover img { -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); } .article-grid .row .column article a:hover .caption span, .article-grid .row .column article a:hover .caption h4, .article-grid .row .column article a:hover .caption h2 { color: #b5975c; } .article-grid .row.video-gallery { text-align: center; } .article-grid .row.video-gallery .column { margin: 0 -2px; float: none; display: inline-block; } .article-grid.news-grid .row .column article a { -webkit-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1); } .article-grid.news-grid .row .column article a img { -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); } .article-grid.news-grid .row .column article a .caption h4 { color: #896e39; font-size: 0.9em; line-height: 20px; font-family: 'playfair_displayregular'; } @media only screen and (max-width: 767px) { .article-grid.news-grid .row .column article a .caption h4 { font-size: 1.1em; line-height: 23px; } } /* Post actions */ .post-actions-block { border-top: 1px solid #dfe1e3; padding: 10px 0; font-size: 0.7647em; } .post-actions-block > ul { display: inline-block; } .post-actions-block > ul > li { display: inline-block; margin: 0 15px 0 0; position: relative; } .post-actions-block > ul > li a, .post-actions-block > ul > li mark { color: #7f7f85; } .post-actions-block > ul > li a em, .post-actions-block > ul > li mark em { font-style: normal; color: #8e764d; } .post-actions-block > ul > li a span, .post-actions-block > ul > li mark span { font-size: 0.8em; position: relative; top: 1px; } .post-actions-block > ul > li a:hover, .post-actions-block > ul > li mark:hover { color: #b5975c; } /* Post comments */ .comments-block { margin: 35px 0 0 0; padding: 35px 70px 0 70px; position: relative; z-index: 3; -webkit-box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.05); } @media only screen and (max-width: 767px) { .comments-block { padding: 35px 15px; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block { padding: 35px 40px 0 40px; } } .comments-block h4 { color: #46464c; font-size: 0.7058em; text-transform: uppercase; font-weight: bold; border-bottom: 1px solid #dfe1e3; padding: 0 0 10px 0; margin: 0 0 15px 0; font-family: 'montserratregular'; } .comments-block h2.anonymus { color: #a4a4ab; font-size: 1.1764em; text-align: center; padding: 25px 0 40px 0; } .comments-block .comment-form { padding: 0 60px; margin: 15px 0 0 0; } @media only screen and (max-width: 767px) { .comments-block .comment-form { padding: 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block .comment-form { padding: 0 30px; } } .comments-block .comment-form .member-avatar { width: 48px; display: inline-block; vertical-align: top; } .comments-block .comment-form .member-avatar img { border-width: 2px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .member-avatar { display: none; } } .comments-block .comment-form .form { width: 93.3333333333%; display: inline-block; vertical-align: top; position: relative; margin: 0 0 0 5px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .form { width: 100%; margin: 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .comments-block .comment-form .form { width: 89%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .comments-block .comment-form .form { width: 92%; } } .comments-block .comment-form .form textarea { color: #7f7f85; font-size: 13px; line-height: 20px; padding: 10px 13px; } .comments-block .comment-form .form .field-button { text-align: right; } .comments-block .comment-form .form .field-button .button { min-width: 215px; } @media only screen and (max-width: 767px) { .comments-block .comment-form .form .field-button .button { width: 100%; } } .comments-block .comment-list { padding: 20px 60px; } @media only screen and (max-width: 767px) { .comments-block .comment-list { padding: 20px 0; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .comments-block .comment-list { padding: 20px 30px; } } .comments-block .comment-list article { padding: 12px 0; border-top: 1px solid #dfe1e3; } .comments-block .comment-list article:last-child { padding-bottom: 0; } .comments-block .comment-list article .member-avatar { width: 48px; display: inline-block; vertical-align: top; } .comments-block .comment-list article .member-avatar img { border-width: 2px; } .comments-block .comment-list article .comment-content { width: 93.3333333333%; display: inline-block; vertical-align: top; position: relative; margin: 0 0 0 5px; padding: 5px 0 0 0; } @media only screen and (max-width: 767px) { .comments-block .comment-list article .comment-content { width: 80%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .comments-block .comment-list article .comment-content { width: 89%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .comments-block .comment-list article .comment-content { width: 92%; } } .comments-block .comment-list article .comment-content h3 a { font-size: 14px; color: #4b4e54; text-transform: none; font-weight: bold; } .comments-block .comment-list article .comment-content .comment-date { color: #b6b4b0; font-size: 0.7647em; position: absolute; right: 0; top: 0; } @media only screen and (max-width: 767px) { .comments-block .comment-list article .comment-content .comment-date { position: relative; right: auto; top: auto; padding: 0 0 5px 0; } } .comments-block .comment-list article .comment-content p { color: #7f7f85; font-size: 13px; line-height: 20px; padding: 3px 0 0 0; } /* Member avatar */ .member-avatar { position: relative; } .member-avatar img { border-color: #ede4d5; border-style: solid; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .member-avatar.profile-avatar { width: 130px; display: inline-block; } .member-avatar.profile-avatar img { border-width: 4px; } .member-avatar a:hover img { border-color: #dbd0be; } /* Support grid */ .support-grid .row { margin: 0 -3px; } .support-grid .row .column { padding: 0 3px 6px 3px; } .support-grid .row.centered .column { float: none; display: inline-block; margin: 0 -2px; } .support-grid.individual h3 { border-bottom: 1px solid #e7e9ea; padding: 20px 0; margin: 0 0 20px 0; text-align: center; } .support-grid.individual .column div { height: 65px; background: #fbf7f0; padding: 0 20px; } @media only screen and (max-width: 767px) { .support-grid.individual .column div { height: auto; padding: 15px 10px; text-align: center; } } .support-grid.individual .column div h2 { color: #927741; font-size: 1.0588em; display: inline-block; line-height: 22px; } .support-grid.corporate { text-align: center; } .support-grid.corporate > div { margin: 0 0 60px 0; display: inline-block; } .support-grid.corporate > div:last-child { margin: 0; } .support-grid.corporate h3 { border-bottom: 1px solid #e7e9ea; padding: 0 0 20px 0; margin: 0 0 20px 0; } .support-grid.corporate .column div a { display: block; padding: 20px 0; background: #fff; text-align: center; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; } @media only screen and (max-width: 767px) { .support-grid.corporate .column div a { height: auto; padding: 15px 10px; } } .support-grid.corporate .column div a img { width: auto; height: auto; display: inline-block; } .support-grid.corporate .column div a:hover { position: relative; -webkit-box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.15); -webkit-transition: all 0.5s ease-in; -moz-transition: all 0.5s ease-in; -ms-transition: all 0.5s ease-in; -o-transition: all 0.5s ease-in; transition: all 0.5s ease-in; } .support-grid.corporate .button { margin: 20px 0 0 0; display: inline-block; } @media only screen and (max-width: 767px) { .support-grid.corporate .button { padding: 0 10px; } } .support-grid.support-grid .column .img { padding: 0 20px 0 0; } .support-grid.support-grid .column .img a { display: block; } .support-grid.support-grid .column .img a img { max-width: 100%; } .support-grid.support-grid .column .heading { text-align: left; } .support-grid.support-grid .column .heading a { display: inline-block; padding: 0; background: none; text-align: left; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } /* Member grid */ .member-grid .row { margin-left: -3px; margin-right: -3px; } .member-grid .row .column { padding: 0 3px 6px 3px; } .member-grid .row .column article { padding: 20px; background: #fbf7f0; } @media only screen and (max-width: 767px) { .member-grid .row .column article { text-align: center; } } .member-grid .row .column article .photo { width: 110px; display: inline-block; vertical-align: top; } @media only screen and (max-width: 767px) { .member-grid .row .column article .photo { margin: 0 0 10px 0; } } .member-grid .row .column article .photo img { border: 4px solid #ede4d5; } .member-grid .row .column article .info { width: 79.6296296296%; margin: 0 0 0 -5px; padding: 0 0 0 15px; display: inline-block; vertical-align: top; text-align: justify; } @media only screen and (max-width: 767px) { .member-grid .row .column article .info { width: 100%; padding: 0; margin: 0; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .member-grid .row .column article .info { width: 73%; } } .member-grid .row .column article .info div { /*border-bottom: 1px solid #eae0ce; padding: 0 0 10px 0; margin: 0 0 10px 0;*/ padding: 24px 0 0 0; } .member-grid .row .column article .info div h2 { font-size: 1.0588em; } .member-grid .row .column article .info div span { font-size: 0.75em; color: #6c6c71; display: block; padding: 5px 0; } .member-grid .row .column article .info div p { font-size: 0.85em; } .member-grid .row .column article .info p { font-size: 0.85em; line-height: 24px; } .member-grid .row.__1-block.row .column { width: 100%; } .member-grid .row.__1-block.row .column article .info { width: 89.7435897436%; } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .member-grid .row.__1-block.row .column article .info { width: 87%; } } .member-grid.member-info .row .column article .info div { padding: 0; } .press-image-wrapper { text-align: center; margin: 0 0 40px 0; } .press-image-wrapper .press-image { border: 6px solid #fff; margin: 0 0 10px 0; width: 100%; -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15); } /* Article lists */ .article-list article { padding: 50px 0; border-bottom: 1px solid #d9dadc; } .article-list article:first-child { padding: 0 0 50px 0; } .article-list article:last-child { padding: 50px 0 0 0; border: none; } .article-list article .heading { position: relative; } @media only screen and (max-width: 767px) { .article-list article .heading { text-align: center; padding: 15px 0 0 0; } } .article-list article .heading h2 { color: #46464c; font-size: 1.1764em; font-family: 'montserratregular'; padding: 0 0 5px 0; } .article-list article .heading a { font-size: 0.8823em; border-bottom: 1px solid #ddd; } .article-list article .heading a:hover { border-bottom: 1px solid #b5975c; } .article-list article .heading a span { font-size: 0.7em; position: relative; top: 3px; margin: 0 3px 0 0; text-decoration: none; } .article-list article .heading a.link-gallery { font-size: 0.8823em; border: none; } .article-list article .body { padding: 10px 0 0 0; } @media only screen and (max-width: 767px) { .article-list article .body { text-align: justify; } } .article-list.platinum-sponsors-list article .img { height: 130px; text-align: center; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07); } @media only screen and (max-width: 767px) { .article-list.platinum-sponsors-list article .img { height: auto; padding: 20px 0; } } .article-list.platinum-sponsors-list article .img img { width: auto; display: inline-block; } .article-list.platinum-sponsors-list article .heading a.link-gallery { position: absolute; right: 0; top: 0; } @media only screen and (max-width: 767px) { .article-list.platinum-sponsors-list article .heading a.link-gallery { position: relative; top: auto; right: auto; display: block; margin: 10px 0 0 0; } } .article-list.platinum-sponsors-list article .heading a.link-gallery:hover { text-decoration: none; color: #907540; } /*======================= TEXT ELEMENTs ===========================*/ .article-details { margin: -20px 0 0 0; } .article-details .article-img { padding: 0 0 40px 0; } .article-details .article-img img { border: 6px solid #fff; -webkit-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); box-shadow: 0px 14px 25px 0px rgba(0, 0, 0, 0.17); } .article-details .article-video { width: 60%; background: #ccc; padding: 4px; margin: 0 auto 40px auto; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } @media only screen and (max-width: 767px) { .article-details .article-video { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-details .article-video { width: 85%; } } .article-details .article-video .video { width: 100%; position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } .article-details .article-video .video iframe, .article-details .article-video .video object, .article-details .article-video .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .article-details .article-title { text-align: center; border-bottom: 1px solid #dfdfdf; padding: 0 0 35px 0; } .article-details .article-title h2 { width: 80%; line-height: 40px; padding: 10px 0; margin: 0 auto; } @media only screen and (max-width: 767px) { .article-details .article-title h2 { width: 100%; line-height: 34px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-details .article-title h2 { width: 100%; } } @media only screen and (min-width: 1024px) and (max-width: 1279px) { .article-details .article-title h2 { width: 90%; } } .article-details .article-title ul li { display: inline-block; vertical-align: middle; padding: 0 5px; } .article-details .article-title ul li a span { color: #bbb; font-size: 0.9em; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .article-details .article-title ul li a:hover span { color: #d4b478; } .article-details .article-title ul li:nth-child(2) span { font-size: 0.75em; position: relative; top: 2px; } .article-details .article-content { padding: 35px 0 0 0; } .article-details .article-content .rich-text h3 { line-height: 26px; padding: 0 0 15px 0; } .article-details .article-content .rich-text h2 { color: #46464c; font-size: 1.0588em; line-height: 26px; font-family: 'montserratregular'; } .article-details .article-source { padding: 20px 0; border-top: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf; } .article-details .article-source a:hover { color: #97793e; } .article-details .article-comments { padding: 30px 70px; -webkit-box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); -moz-box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.06); } /*.intro-text { width: 770px / 1170px * 100%; margin: 0 auto; text-align: center; }*/ /*======================= ===========================*/ .year-filter { text-align: center; position: relative; z-index: 2; background: #fff; margin: 0 0 30px 0; } .year-filter:after { width: 100%; height: 1px; background: #d7b269; content: ""; position: absolute; top: 50%; left: 0; z-index: 1; } .year-filter ul { position: relative; z-index: 2; } .year-filter ul li { display: inline-block; background: #fff; padding: 0 10px; } @media only screen and (max-width: 767px) { .year-filter ul li { padding: 3px 10px; } } .year-filter ul li a { color: #909193; font-family: 'playfair_displayregular'; font-size: 1.1764em; } .year-filter ul li a:hover, .year-filter ul li a.active { color: #b5975c; } /*======================= TABBED CONTENT ===========================*/ .tabbed-content ul.tabs { border-bottom: 1px solid #dfdfdf; } @media only screen and (max-width: 767px) { .tabbed-content ul.tabs { text-align: center; } } .tabbed-content ul.tabs li { padding: 15px 30px; color: #818188; font-family: 'playfair_displayregular'; font-size: 1.0588em; cursor: pointer; display: inline-block; border-bottom: 2px solid transparent; margin-bottom: -2px; position: relative; } @media only screen and (max-width: 767px) { .tabbed-content ul.tabs li { padding: 15px; } } .tabbed-content ul.tabs li.active { color: #896f3b; border-bottom: 2px solid #b5975c; } .tabbed-content ul.tabs li.active:after { bottom: -10px; left: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(181, 151, 92, 0); border-top-color: #b5975c; border-width: 4px; margin-left: -4px; } .tabbed-content .tab-content { display: none; padding: 35px 0 0 0; } .tabbed-content .tab-content.active { display: inherit; } /*======================= QUOTES ===========================*/ .quotes { border-top: 1px solid #eff0f1; margin: 50px 0 0 0; padding: 50px 0 0 0; } .quotes article { position: relative; padding: 20px 10px; text-align: center; } .quotes article > div { width: 100%; text-align: center; position: absolute; bottom: 10px; left: 0; } @media only screen and (max-width: 1023px) { .quotes article > div { position: relative; bottom: auto; left: auto; } } .quotes article:before, .quotes article:after { width: 110px; height: 2px; background: #b5975c; content: ""; position: absolute; left: 50%; margin-left: -55px; } .quotes article:before { top: 0; } .quotes article:after { bottom: 0; } @media only screen and (max-width: 767px) { .quotes article:after { display: none; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .quotes article:after { display: none; } } .quotes article p { font-size: 1.1em; font-style: italic; font-family: 'playfair_displayregular'; color: #4c4c4e; padding: 0 0 40px 0; } @media only screen and (max-width: 1023px) { .quotes article p { padding: 0; } } .quotes article h4 { color: #5c5c60; padding: 15px 0 5px 0; } .quotes article span { color: #8c8c93; font-size: 0.6470em; text-transform: uppercase; } .quotes .quote-logo { position: relative; } .quotes .quote-logo > div { width: 80%; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } @media only screen and (max-width: 1023px) { .quotes .quote-logo > div { width: 60%; margin: 20px auto 40px auto; position: relative; top: auto; left: auto; -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); } } /*======================= GALLERY GRIDs ===========================*/ .gallery-grid .gallery-item { position: relative; display: block; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; background: no-repeat center; background-size: cover; border: 2px solid #fff; } .gallery-grid .gallery-item.gallery-item-3-2 { padding: 34% 0; } .gallery-grid .gallery-item.gallery-item-4-2 { padding: 25% 0; } .gallery-grid .gallery-item.gallery-item-6-2 { padding: 16.666666% 0; } .gallery-grid .gallery-item:before { width: 100%; height: 100%; top: 0; bottom: 0; left: 0; background: rgba(21, 17, 8, 0.6); position: absolute; content: ""; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .gallery-grid .gallery-item:after { top: 10px; left: 10px; bottom: 10px; right: 10px; border: 1px solid #574521; position: absolute; content: ""; box-sizing: border-box; } .gallery-grid .gallery-item h4 { width: 100%; color: #fff; text-align: center; font-family: 'montserrathairline'; font-size: 2.1em; position: absolute; z-index: 3; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } @media only screen and (max-width: 767px) and (orientation: portrait) { .gallery-grid .gallery-item h4 { font-size: 1.8em; } } .gallery-grid .gallery-item:hover:before { background: rgba(21, 17, 8, 0); } .gallery-grid.gallery-grid-wrapper .gallery-grid-holder { width: 80%; margin: 0 auto; } @media only screen and (max-width: 1023px) { .gallery-grid.gallery-grid-wrapper .gallery-grid-holder { width: 100%; } } #ShowUpWrapper .popup-media { display: inline-block; vertical-align: top; width: 100vh; } #ShowUpWrapper .popup-media .video { width: 100%; position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } #ShowUpWrapper .popup-media .video iframe, #ShowUpWrapper .popup-media .video object, #ShowUpWrapper .popup-media .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .article-gallery-grid { margin: -50px 0 0 0; padding: 0 0 30px 0; } @media only screen and (max-width: 767px) { .article-gallery-grid { margin: -10px 0 0 0; text-align: center; } } .article-gallery-grid > div { display: inline-block; vertical-align: top; } .article-gallery-grid > div .button { display: block; padding: 15px 30px; margin: 5px 0 0 0; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .article-gallery-grid > div .button { padding: 0 10px; } } .article-gallery-grid > div .item { background: #151108; } .article-gallery-grid > div .item a { display: block; } .article-gallery-grid > div .item a.video-showup { position: relative; } .article-gallery-grid > div .item a.video-showup:after { position: absolute; background: transparent; top: 0; left: 0; width: 100%; height: 100%; z-index: 88; content: ""; border: solid 2px #b5975c; } .article-gallery-grid > div .item a img { opacity: .6; } .article-gallery-grid > div .item a:hover img { opacity: 1; } .article-gallery-grid .holder-half { width: 50%; display: inline-block; padding: 0 3px 0 0; } .article-gallery-grid .holder-half:last-child { margin: 0 0 0 -5px; padding: 0 0 0 3px; } .article-gallery-grid .holder-left { width: 36.7521367521%; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-left { display: none; } } .article-gallery-grid .holder-left .item:first-child { margin: 0 0 5px 0; } .article-gallery-grid .holder-middle { width: 26.4957264957%; margin: -58px 0 0 -5px; padding: 0 5px; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-middle { width: 80%; display: inline-block; padding: 0; } } .article-gallery-grid .holder-middle .item a img { opacity: 1; } .article-gallery-grid .holder-right { width: 36.7521367521%; margin-left: -4px; } @media only screen and (max-width: 767px) { .article-gallery-grid .holder-right { display: none; } } .article-gallery-grid .holder-right .holder-half { padding-top: 5px; } a.video-showup { position: relative; display: block; } a.video-showup i { position: absolute; z-index: 99; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 30px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 80px; height: 80px; text-align: center; border: 2px solid #b5975c; background: rgba(0, 0, 0, 0.5); padding: 24px 0 0 7px; } a.video-showup img { margin: 0 !important; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /*======================= TABLES ===========================*/ .table-cast { padding: 0 0 30px 0; } .table-cast h2 { color: #454a53; font-size: 0.86em; text-transform: uppercase; padding: 0 0 10px 20px; } @media only screen and (max-width: 767px) { .table-cast h2 { padding: 0 0 10px 0; text-align: center; line-height: 20px; } } .table-cast table tr td { color: #7f7f85; padding: 10px 20px; background: #fdfcf9; line-height: 22px; } .table-cast table tr td a { color: #997c42; line-height: 22px; } .table-cast table tr td a:hover { text-decoration: underline; } .table-cast table tr td:first-child { color: #333338; } .table-cast table tr:nth-child(2n+1) td { background: #fbf7f0; } .table-program table tr td { padding: 12px 20px; vertical-align: top; background: #fdfcf9; } .table-program table tr td h2 { color: #454a53; font-size: 0.88em; font-style: italic; padding: 0 0 5px 0; } .table-program table tr td p { line-height: 18px; } .table-program table tr td:nth-child(1) { width: 50%; } .table-program table tr td:nth-child(2) { width: 50%; } .table-program table tr td:nth-child(2) p { color: #454a53; line-height: 16px; } .table-program table tr:nth-child(2n+1) td { background: #fbf7f0; } .table-next-program { padding: 0 0 30px 0; } .table-next-program table thead { border-top: 3px solid #e9e1d3; } .table-next-program table thead tr th { background: #f4eee4; text-align: left; padding: 12px 20px; } @media only screen and (max-width: 767px) { .table-next-program table thead tr th { text-align: center; } } .table-next-program table thead tr th span { display: block; font-family: 'playfair_displayregular'; color: #957943; padding: 0 0 5px 0; } .table-next-program table thead tr th h2 { color: #454a53; font-size: 17px; } @media only screen and (max-width: 767px) { .table-next-program table thead tr th h2 { line-height: 20px; } } .table-next-program table thead tr th h2 i { font-style: italic; } .table-next-program table tbody tr td { font-size: 0.85em; color: #7f7f85; padding: 10px 20px; background: #fbf7f0; line-height: 22px; } .table-next-program table tbody tr td a { color: #997c42; line-height: 22px; } .table-next-program table tbody tr td a:hover { text-decoration: underline; } .table-next-program table tbody tr td:first-child { color: #333338; } .table-next-program table tbody tr:nth-child(2n+1) td { background: #fdfcf9; } .table-next-program table tbody tr.intro td { color: #7f7f85; } @media only screen and (max-width: 767px) { .table-next-program table tbody tr.intro td { text-align: center; } } /*======================= Seating Map & Tickets ===========================*/ .seating-map { background: #f1f3f4; padding: 5px; } .seating-map > div { background: #fff; border: 1px solid #bfc3cc; padding: 0 15px; } .seating-map > div .map { padding: 20px; border-right: 1px solid #bfc3cc; } @media only screen and (max-width: 767px) { .seating-map > div .map { padding: 10px; border: none; } } /*======================= Element Blocks ===========================*/ .ticket-block { /*padding-top: 50px;*/ } .ticket-block .row { text-align: left !important; margin-bottom: 0; } .ticket-block .row .rich-text { width: 80%; } @media only screen and (max-width: 767px) { .ticket-block .row .rich-text { width: 100%; margin: 0 0 20px 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .rich-text { margin: 0; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .rich-text h2 { text-align: left; } } .ticket-block .row .ticketing { background: #ebe5da; padding: 10px; text-align: center; } .ticket-block .row .ticketing > div { border: 1px solid #fff; padding: 30px 50px; } @media only screen and (max-width: 767px) { .ticket-block .row .ticketing > div { padding: 30px; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .ticketing > div { padding: 30px; } } .ticket-block .row .ticketing > div h2 { color: #2d2d2e; font-size: 1.29em; padding: 0; } .ticket-block .row .ticketing > div p { font-size: 0.8em; line-height: 18px; padding: 15px 0 20px 0; } .ticket-block .row .ticketing > div .button { min-width: 190px; display: inline-block; font-size: 0.7058em; text-transform: uppercase; padding: 0; line-height: 42px; } @media only screen and (min-width: 768px) and (max-width: 1023px) { .ticket-block .row .ticketing > div .button { min-width: 100%; } } .brochure-block { background: url("/img/bg-notes.png") no-repeat 0 -320px #f8f8f8; text-align: center; margin: 70px 0 0 0; padding: 50px 0; } @media only screen and (max-width: 767px) { .brochure-block { padding: 25px; } } .brochure-block h3 { font-size: 1.1764em; } @media only screen and (max-width: 767px) { .brochure-block h3 { line-height: 25px; } } .brochure-block p { width: 70%; margin: 20px auto; } @media only screen and (max-width: 767px) { .brochure-block p { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { .brochure-block p { width: 80%; } } .brochure-block .button { display: inline-block; } @media only screen and (max-width: 767px) { .brochure-block .button { width: 100%; } } .accounts-block { background: #f0f0f1; padding: 10px; margin: 50px 0 0 0; } @media only screen and (max-width: 767px) { .accounts-block { margin: 20px 0 0 0; } } .accounts-block > div { border: 1px solid #fff; } .accounts-block > div .account { padding: 25px; text-align: center; } .accounts-block > div .account h2 { color: #2d2d2e; font-size: 1.0588em; padding: 0 0 10px 0; } .accounts-block > div .account p { font-size: 0.8em; line-height: 22px; } .apply-work-block { padding: 40px; background: url("/img/bg-notes.png") no-repeat 0 0 #f6f3ed; } @media only screen and (max-width: 767px) { .apply-work-block { text-align: center; padding: 25px; } } .apply-work-block h3 { padding: 0 0 15px 0; } .apply-work-block p { line-height: 28px; } .apply-work-block .note { border-left: 5px solid #b5975c; padding: 0 0 0 20px; margin: 30px 0 0 0; } @media only screen and (max-width: 767px) { .apply-work-block .note { border-left: none; border-top: 5px solid #b5975c; border-bottom: 5px solid #b5975c; padding: 20px 0; } } .apply-work-block .note p { font-size: 0.8823em; line-height: 24px; text-align: justify; } .apply-work-block .form { width: 90%; float: right; padding: 20px 0 0 0; } @media only screen and (max-width: 1023px) { .apply-work-block .form { width: 100%; float: none; text-align: left; } } .apply-work-block .form .field-item .field { background: #e5e1d9; } .apply-work-block .form .field-item .field input[type=text], .apply-work-block .form .field-item .field input[type=password] { border: 1px solid #cbc5ba; } .apply-work-block .form .field-item .field input[type=text]:hover, .apply-work-block .form .field-item .field input[type=password]:hover { border: 1px solid #b9b2a5; } .apply-work-block .form .field-item.field-button { text-align: center; } .contact-block { padding: 0 0 50px 0; } .contact-block .contact-info .column { padding-top: 20px; } .contact-block .contact-info .column:last-child { padding-bottom: 20px; } .contact-block .contact-info h3 { padding: 0 0 20px 0; } .contact-block .contact-info p { font-size: 0.88em; line-height: 18px; padding: 0 0 4px 0; } .contact-block .contact-info p a { border-bottom: 1px solid #ddd; } .contact-block .contact-info p a:hover { border-bottom: 1px solid #b5975c; } .contact-block .contact-form { padding: 25px; background: url("/img/bg-notes.png") no-repeat 0 0 #f6f3ed; } .contact-block .contact-form .field-item .field { background: #e5e1d9; } .contact-block .contact-form .field-item .field input[type=text], .contact-block .contact-form .field-item .field input[type=password] { border: 1px solid #cbc5ba; } .contact-block .contact-form .field-item .field input[type=text]:hover, .contact-block .contact-form .field-item .field input[type=password]:hover { border: 1px solid #b9b2a5; } .contact-block .contact-form .field-item .field textarea { height: 110px; padding: 12px; } .contact-block .contact-form .field-item.field-button { text-align: center; } .form-block { padding: 40px; background: url("/img/bg-notes.png") no-repeat 0 -50px #f6f3ed; } @media only screen and (max-width: 767px) { .form-block { padding: 30px 20px; } } .form-block .form { width: 40%; margin: 0 auto; } @media only screen and (max-width: 767px) { .form-block .form { width: 100%; } } @media only screen and (min-width: 768px) and (max-width: 1279px) { .form-block .form { width: 60%; } } .form-block .form .field-item .field { background: #e5e1d9; } .form-block .form .field-item .field input[type=text], .form-block .form .field-item .field input[type=password], .form-block .form .field-item .field textarea { border: 1px solid #cbc5ba; } .form-block .form .field-item .field input[type=text]:hover, .form-block .form .field-item .field input[type=password]:hover, .form-block .form .field-item .field textarea:hover { border: 1px solid #b9b2a5; } .form-block .form .field-item.field-button { text-align: center; } .apply-block { text-align: center; } .apply-block figure { width: 100%; display: inline-block; position: relative; margin: 0 0 30px 0; } .apply-block figure .apply-button { display: block; position: relative; } .apply-block figure .apply-button:before { width: 100%; height: 100%; position: absolute; top: 0; left: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); content: ""; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .apply-block figure .apply-button:after { border: 1px solid #574521; background: none; content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; z-index: 1; } .apply-block figure .apply-button:hover:before { background: rgba(0, 0, 0, 0.6); } .apply-block figure figcaption { width: 100%; position: absolute; text-align: center; left: 0; top: 50%; z-index: 11; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } .apply-block figure figcaption div { color: #c8c0bc; font-size: 0.7058em; text-transform: uppercase; position: relative; margin-bottom: 13px; } .apply-block figure figcaption div:after { width: 40px; height: 1px; background: #b5975c; position: absolute; bottom: -8px; left: 50%; margin-left: -20px; content: ""; } .apply-block figure figcaption h2 { font-family: 'playfair_displayregular'; color: #fff; font-size: 1.1746em; line-height: 24px; } .vertical-align { -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; } /*======================= Special pages ===========================*/ main.complete-profile-form .inner { width: 500px; } main.complete-profile-form .forum-form .__7, main.complete-profile-form .forum-form .lt__6 { width: 100%; } main.complete-profile-form .forum-form .field-item { padding: 0 0 15px 0; } main.complete-profile-form .forum-form .field-item-3 .field-item:last-child { padding: 0; } main.complete-profile-form .forum-form .form-text { text-align: center; padding-top: 15px; padding-bottom: 15px; } main.complete-profile-form .forum-form .form-text p, main.complete-profile-form .forum-form .form-text a { line-height: 22px; font-size: 15px; } main.complete-profile-form .forum-form .profile-form-block h3 { font-size: 0.75em; text-transform: uppercase; border-bottom: 1px solid #dfe1e3; padding: 0 0 7px 0; font-family: 'robotomedium'; margin: 20px 0; } main.complete-profile-form .forum-form .profile-form-block:first-child h3 { margin: 0 0 20px 0; } .buy-ticket-email { margin: 20px auto; } .buy-ticket-email .link-buy-ticket-email { font-size: 1.3em; } @media only screen and (min-width: 1024px) { .buy-ticket-email .link-buy-ticket-email { font-size: 1.7em; } } /*# sourceMappingURL=1-main.css.map */ ', 'modified' => '2017-01-20 16:30:40' ) ), 'Javascript' => array( (int) 0 => array( 'id' => (int) 99, 'name' => 'init', 'data' => '// Header scroll $(window).scroll(function () { var body = $('body'); if(!body.hasClass('forum')) { if ($(window).scrollTop() > 0) { body.addClass('fixed-nav'); } else { body.removeClass('fixed-nav'); } } }); $('.off-canvas-right-content nav ul').first().append($('.off-canvas-right-content .mobile-last')); // Comments textarea autoexpand jQuery.each(jQuery('textarea[data-autoresize]'), function() { var offset = this.offsetHeight - this.clientHeight; var resizeTextarea = function(el) { jQuery(el).css('height', 'auto').css('height', el.scrollHeight + offset); }; jQuery(this).on('keyup input', function() { resizeTextarea(this); }).removeAttr('data-autoresize'); }); // Comments on ENTER key get submited $(document).on('keydown', '.form-add-comment textarea', function(event) { if (event.keyCode == 13 && !event.shiftKey) { $(this).closest('.form-add-comment').submit(); } }); // Off canvas right menu $('#openRight').click(function(){ $('body').toggleClass('off-canvas-right-opened'); }); // Off canvas right menu - Submenu $('.off-canvas-right-content .dropdown > a').click(function(){ $(this).parent('.dropdown').find('ul').stop().slideToggle('dropdown-opened'); }); // Off canvas left menu (forum) $('#openLeft').click(function(){ $('body').toggleClass('off-canvas-left-opened'); }); // Popup open $('#loginPopup, #renamePopup, #deletePopup, #createPopup, .apply-popup').popup({ outline: true, focusdelay: 0, escape: true, blur: true, scrolllock: false, onclose: function() { var validationError = $('.validation-error-message'); if(validationError.length) { $('.validation-error').removeClass('validation-error'); validationError.remove(); } } }); $('.btn-add-gallery').click(function () { $('#WriteGalleryType').text($(this).data('gallery-type')) }); //Show gallery actions $('.profile-gallery-block article').hover(function(){ $(this).closest('article').find('.gallery-mark').toggleClass('show-hidden'); }); // Vertical align script $.fn.vAlign = function() { return this.each(function(i){ var ah = $(this).height(); var ph = $(this).parent().height(); var mh = Math.ceil((ph-ah) / 2); $(this).css('margin-top', mh); }); }; $(function() { if ($(window).width() > 767) { //Height match if($.fn.matchHeight) { $('.match-height').matchHeight(); } //Vertical align if($.fn.vAlign) { $('.vertical-align').vAlign(); } } //Select menu style if($.fn.select2) { $('select:not(.select-search)').select2({ minimumResultsForSearch: Infinity, width: '100%' }); $('.select-country select').select2({ width: '100%' }); } }); // Search open/close if ($(window).width() > 767) { var isOpen = false; $('.search-icon').click(function(){ if(isOpen == false){ $('.search').addClass('search-open'); $('.search-input').focus(); isOpen = true; $('nav').addClass('search-is-open'); $('ul.lang').addClass('search-is-open'); } else { $('.search').removeClass('search-open'); $('.search-input').focusout(); isOpen = false; $('nav').removeClass('search-is-open'); $('ul.lang').removeClass('search-is-open'); } }); $('.search-icon').mouseup(function(){ return false; }); $('.search').mouseup(function(){ return false; }); $(document).mouseup(function(){ if(isOpen == true){ $('.search-icon').click(); } }); } // Tabbed content $('ul.tabs li').click(function(){ var tab_id = $(this).attr('data-tab'); $('ul.tabs li').removeClass('active'); $('.tab-content').removeClass('active'); $(this).addClass('active'); $("#"+tab_id).addClass('active'); }); $(document).ready(function() { $('#newsletterForm').intlxform({ onError : function() { $('.validation-error input').click(function () { $(this).closest('.validation-error').find('.validation-error-message').remove() }); } }); }); function onRecaptchaLoadCallback() { $(window).trigger('recaptcha.loaded'); }', 'modified' => '2017-01-20 16:39:06' ), (int) 1 => array( 'id' => (int) 10, 'name' => 'jquery.popupoverlay', 'data' => '/*! * jQuery Popup Overlay * * @version 1.7.13 * @requires jQuery v1.7.1+ * @link http://vast-engineering.github.com/jquery-popup-overlay/ */ ;(function ($) { var $window = $(window); var options = {}; var zindexvalues = []; var lastclicked = []; var scrollbarwidth; var bodymarginright = null; var opensuffix = '_open'; var closesuffix = '_close'; var visiblePopupsArray = []; var transitionsupport = null; var opentimer; var iOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent); var focusableElementsString = "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]"; var methods = { _init: function (el) { var $el = $(el); var options = $el.data('popupoptions'); lastclicked[el.id] = false; zindexvalues[el.id] = 0; if (!$el.data('popup-initialized')) { $el.attr('data-popup-initialized', 'true'); methods._initonce(el); } if (options.autoopen) { setTimeout(function() { methods.show(el, 0); }, 0); } }, _initonce: function (el) { var $el = $(el); var $body = $('body'); var $wrapper; var options = $el.data('popupoptions'); var css; bodymarginright = parseInt($body.css('margin-right'), 10); transitionsupport = document.body.style.webkitTransition !== undefined || document.body.style.MozTransition !== undefined || document.body.style.msTransition !== undefined || document.body.style.OTransition !== undefined || document.body.style.transition !== undefined; if (options.type == 'tooltip') { options.background = false; options.scrolllock = false; } if (options.backgroundactive) { options.background = false; options.blur = false; options.scrolllock = false; } if (options.scrolllock) { // Calculate the browser's scrollbar width dynamically var parent; var child; if (typeof scrollbarwidth === 'undefined') { parent = $('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'); child = parent.children(); scrollbarwidth = child.innerWidth() - child.height(99).innerWidth(); parent.remove(); } } if (!$el.attr('id')) { $el.attr('id', 'j-popup-' + parseInt((Math.random() * 100000000), 10)); } $el.addClass('popup_content'); if ((options.background) && (!$('#' + el.id + '_background').length)) { $body.append('<div id="' + el.id + '_background" class="popup_background"></div>'); var $background = $('#' + el.id + '_background'); $background.css({ opacity: 0, visibility: 'hidden', backgroundColor: options.color, position: 'fixed', top: 0, right: 0, bottom: 0, left: 0 }); if (options.setzindex && !options.autozindex) { $background.css('z-index', '100000'); } if (options.transition) { $background.css('transition', options.transition); } } $body.append(el); $el.wrap('<div id="' + el.id + '_wrapper" class="popup_wrapper" />'); $wrapper = $('#' + el.id + '_wrapper'); $wrapper.css({ opacity: 0, visibility: 'hidden', position: 'absolute' }); // Make div clickable in iOS if (iOS) { $wrapper.css('cursor', 'pointer'); } if (options.type == 'overlay') { $wrapper.css('overflow','auto'); } $el.css({ opacity: 0, visibility: 'hidden', display: 'inline-block' }); if (options.setzindex && !options.autozindex) { $wrapper.css('z-index', '100001'); } if (!options.outline) { $el.css('outline', 'none'); } if (options.transition) { $el.css('transition', options.transition); $wrapper.css('transition', options.transition); } // Hide popup content from screen readers initially $el.attr('aria-hidden', true); if (options.type == 'overlay') { $el.css({ textAlign: 'left', position: 'relative', verticalAlign: 'middle' }); css = { position: 'fixed', width: '100%', height: '100%', top: 0, left: 0, textAlign: 'center' }; if(options.backgroundactive){ css.position = 'absolute'; css.height = '0'; css.overflow = 'visible'; } $wrapper.css(css); // CSS vertical align helper $wrapper.append('<div class="popup_align" />'); $('.popup_align').css({ display: 'inline-block', verticalAlign: 'middle', height: '100%' }); } // Add WAI ARIA role to announce dialog to screen readers $el.attr('role', 'dialog'); var openelement = (options.openelement) ? options.openelement : ('.' + el.id + opensuffix); $(openelement).each(function (i, item) { $(item).attr('data-popup-ordinal', i); if (!item.id) { $(item).attr('id', 'open_' + parseInt((Math.random() * 100000000), 10)); } }); // Set aria-labelledby (if aria-label or aria-labelledby is not set in html) if (!($el.attr('aria-labelledby') || $el.attr('aria-label'))) { $el.attr('aria-labelledby', $(openelement).attr('id')); } // Show and hide tooltips on hover if(options.action == 'hover'){ options.keepfocus = false; // Handler: mouseenter, focusin $(openelement).on('mouseenter', function (event) { methods.show(el, $(this).data('popup-ordinal')); }); // Handler: mouseleave, focusout $(openelement).on('mouseleave', function (event) { methods.hide(el); }); } else { // Handler: Show popup when clicked on `open` element $(document).on('click', openelement, function (event) { event.preventDefault(); var ord = $(this).data('popup-ordinal'); setTimeout(function() { // setTimeout is to allow `close` method to finish (for issues with multiple tooltips) methods.show(el, ord); }, 0); }); } if (options.closebutton) { methods.addclosebutton(el); } if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } }, /** * Show method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ show: function (el, ordinal) { var $el = $(el); if ($el.data('popup-visible')) return; // Initialize if not initialized. Required for: $('#popup').popup('show') if (!$el.data('popup-initialized')) { methods._init(el); } $el.attr('data-popup-initialized', 'true'); var $body = $('body'); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); // `beforeopen` callback event callback(el, ordinal, options.beforeopen); // Remember last clicked place lastclicked[el.id] = ordinal; // Add popup id to visiblePopupsArray setTimeout(function() { visiblePopupsArray.push(el.id); }, 0); // Calculating maximum z-index if (options.autozindex) { var elements = document.getElementsByTagName('*'); var len = elements.length; var maxzindex = 0; for(var i=0; i<len; i++){ var elementzindex = $(elements[i]).css('z-index'); if(elementzindex !== 'auto'){ elementzindex = parseInt(elementzindex, 10); if(maxzindex < elementzindex){ maxzindex = elementzindex; } } } zindexvalues[el.id] = maxzindex; // Add z-index to the background if (options.background) { if (zindexvalues[el.id] > 0) { $('#' + el.id + '_background').css({ zIndex: (zindexvalues[el.id] + 1) }); } } // Add z-index to the wrapper if (zindexvalues[el.id] > 0) { $wrapper.css({ zIndex: (zindexvalues[el.id] + 2) }); } } if (options.detach) { $wrapper.prepend(el); $el.show(); } else { $wrapper.show(); } opentimer = setTimeout(function() { $wrapper.css({ visibility: 'visible', opacity: 1 }); $('html').addClass('popup_visible').addClass('popup_visible_' + el.id); $wrapper.addClass('popup_wrapper_visible'); }, 20); // 20ms required for opening animation to occur in FF // Disable background layer scrolling when popup is opened if (options.scrolllock) { $body.css('overflow', 'hidden'); if ($body.height() > $window.height()) { $body.css('margin-right', bodymarginright + scrollbarwidth); } } if(options.backgroundactive){ //calculates the vertical align $el.css({ top:( $window.height() - ( $el.get(0).offsetHeight + parseInt($el.css('margin-top'), 10) + parseInt($el.css('margin-bottom'), 10) ) )/2 +'px' }); } $el.css({ 'visibility': 'visible', 'opacity': 1 }); // Show background if (options.background) { $background.css({ 'visibility': 'visible', 'opacity': options.opacity }); // Fix IE8 issue with background not appearing setTimeout(function() { $background.css({ 'opacity': options.opacity }); }, 0); } $el.data('popup-visible', true); // Position popup methods.reposition(el, ordinal); // Remember which element had focus before opening a popup $el.data('focusedelementbeforepopup', document.activeElement); // Handler: Keep focus inside dialog box if (options.keepfocus) { // Make holder div focusable $el.attr('tabindex', -1); // Focus popup or user specified element. // Initial timeout of 50ms is set to give some time to popup to show after clicking on // `open` element, and after animation is complete to prevent background scrolling. setTimeout(function() { if (options.focuselement === 'closebutton') { $('#' + el.id + ' .' + el.id + closesuffix + ':first').focus(); } else if (options.focuselement) { $(options.focuselement).focus(); } else { $el.focus(); } }, options.focusdelay); } // Hide main content from screen readers $(options.pagecontainer).attr('aria-hidden', true); // Reveal popup content to screen readers $el.attr('aria-hidden', false); callback(el, ordinal, options.onopen); if (transitionsupport) { $wrapper.one('transitionend', function() { callback(el, ordinal, options.opentransitionend); }); } else { callback(el, ordinal, options.opentransitionend); } // Handler: Reposition tooltip when window is resized if (options.type == 'tooltip') { $(window).on('resize.' + el.id, function () { methods.reposition(el, ordinal); }); } }, /** * Hide method * * @param object el - popup instance DOM node * @param boolean outerClick - click on the outer content below popup */ hide: function (el, outerClick) { // Get index of popup ID inside of visiblePopupsArray var popupIdIndex = $.inArray(el.id, visiblePopupsArray); // If popup is not opened, ignore the rest of the function if (popupIdIndex === -1) { return; } if(opentimer) clearTimeout(opentimer); var $body = $('body'); var $el = $(el); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); $el.data('popup-visible', false); if (visiblePopupsArray.length === 1) { $('html').removeClass('popup_visible').removeClass('popup_visible_' + el.id); } else { if($('html').hasClass('popup_visible_' + el.id)) { $('html').removeClass('popup_visible_' + el.id); } } // Remove popup from the visiblePopupsArray visiblePopupsArray.splice(popupIdIndex, 1); if($wrapper.hasClass('popup_wrapper_visible')) { $wrapper.removeClass('popup_wrapper_visible'); } // Focus back on saved element if (options.keepfocus && !outerClick) { setTimeout(function() { if ($($el.data('focusedelementbeforepopup')).is(':visible')) { $el.data('focusedelementbeforepopup').focus(); } }, 0); } // Hide popup $wrapper.css({ 'visibility': 'hidden', 'opacity': 0 }); $el.css({ 'visibility': 'hidden', 'opacity': 0 }); // Hide background if (options.background) { $background.css({ 'visibility': 'hidden', 'opacity': 0 }); } // Reveal main content to screen readers $(options.pagecontainer).attr('aria-hidden', false); // Hide popup content from screen readers $el.attr('aria-hidden', true); // `onclose` callback event callback(el, lastclicked[el.id], options.onclose); if (transitionsupport && $el.css('transition-duration') !== '0s') { $el.one('transitionend', function(e) { if (!($el.data('popup-visible'))) { if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } } // Re-enable scrolling of background layer if (options.scrolllock) { setTimeout(function() { $body.css({ overflow: 'visible', 'margin-right': bodymarginright }); }, 10); // 10ms added for CSS transition in Firefox which doesn't like overflow:auto } callback(el, lastclicked[el.id], options.closetransitionend); }); } else { if (options.detach) { $el.hide().detach(); } else { $wrapper.hide(); } // Re-enable scrolling of background layer if (options.scrolllock) { setTimeout(function() { $body.css({ overflow: 'visible', 'margin-right': bodymarginright }); }, 10); // 10ms added for CSS transition in Firefox which doesn't like overflow:auto } callback(el, lastclicked[el.id], options.closetransitionend); } if (options.type == 'tooltip') { $(window).off('resize.' + el.id); } }, /** * Toggle method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ toggle: function (el, ordinal) { if ($(el).data('popup-visible')) { methods.hide(el); } else { setTimeout(function() { methods.show(el, ordinal); }, 0); } }, /** * Reposition method * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element */ reposition: function (el, ordinal) { var $el = $(el); var options = $el.data('popupoptions'); var $wrapper = $('#' + el.id + '_wrapper'); var $background = $('#' + el.id + '_background'); ordinal = ordinal || 0; // Tooltip type if (options.type == 'tooltip') { $wrapper.css({ 'position': 'absolute' }); var $tooltipanchor; if (options.tooltipanchor) { $tooltipanchor = $(options.tooltipanchor); } else if (options.openelement) { $tooltipanchor = $(options.openelement).filter('[data-popup-ordinal="' + ordinal + '"]'); } else { $tooltipanchor = $('.' + el.id + opensuffix + '[data-popup-ordinal="' + ordinal + '"]'); } var linkOffset = $tooltipanchor.offset(); // Horizontal position for tooltip if (options.horizontal == 'right') { $wrapper.css('left', linkOffset.left + $tooltipanchor.outerWidth() + options.offsetleft); } else if (options.horizontal == 'leftedge') { $wrapper.css('left', linkOffset.left + $tooltipanchor.outerWidth() - $tooltipanchor.outerWidth() + options.offsetleft); } else if (options.horizontal == 'left') { $wrapper.css('right', $window.width() - linkOffset.left - options.offsetleft); } else if (options.horizontal == 'rightedge') { $wrapper.css('right', $window.width() - linkOffset.left - $tooltipanchor.outerWidth() - options.offsetleft); } else { $wrapper.css('left', linkOffset.left + ($tooltipanchor.outerWidth() / 2) - ($el.outerWidth() / 2) - parseFloat($el.css('marginLeft')) + options.offsetleft); } // Vertical position for tooltip if (options.vertical == 'bottom') { $wrapper.css('top', linkOffset.top + $tooltipanchor.outerHeight() + options.offsettop); } else if (options.vertical == 'bottomedge') { $wrapper.css('top', linkOffset.top + $tooltipanchor.outerHeight() - $el.outerHeight() + options.offsettop); } else if (options.vertical == 'top') { $wrapper.css('bottom', $window.height() - linkOffset.top - options.offsettop); } else if (options.vertical == 'topedge') { $wrapper.css('bottom', $window.height() - linkOffset.top - $el.outerHeight() - options.offsettop); } else { $wrapper.css('top', linkOffset.top + ($tooltipanchor.outerHeight() / 2) - ($el.outerHeight() / 2) - parseFloat($el.css('marginTop')) + options.offsettop); } // Overlay type } else if (options.type == 'overlay') { // Horizontal position for overlay if (options.horizontal) { $wrapper.css('text-align', options.horizontal); } else { $wrapper.css('text-align', 'center'); } // Vertical position for overlay if (options.vertical) { $el.css('vertical-align', options.vertical); } else { $el.css('vertical-align', 'middle'); } } }, /** * Add-close-button method * * @param {object} el - popup instance DOM node */ addclosebutton: function (el) { var genericCloseButton; if ($(el).data('popupoptions').closebuttonmarkup) { genericCloseButton = $(options.closebuttonmarkup).addClass(el.id + '_close'); } else { genericCloseButton = '<button class="popup_close ' + el.id + '_close" title="Close" aria-label="Close"><span aria-hidden="true">×</span></button>'; } if ($(el).data('popup-initialized')){ $(el).append(genericCloseButton); } } }; /** * Callback event calls * * @param {object} el - popup instance DOM node * @param {number} ordinal - order number of an `open` element * @param {function} func - callback function */ var callback = function (el, ordinal, func) { var options = $(el).data('popupoptions'); var openelement = (options.openelement) ? options.openelement : ('.' + el.id + opensuffix); var elementclicked = $(openelement + '[data-popup-ordinal="' + ordinal + '"]'); if (typeof func == 'function') { func.call($(el), el, elementclicked); } }; // Hide popup if ESC key is pressed $(document).on('keydown', function (event) { if(visiblePopupsArray.length) { var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); if ($(el).data('popupoptions').escape && event.keyCode == 27) { methods.hide(el); } } }); // Hide popup on click $(document).on('click', function (event) { if(visiblePopupsArray.length) { var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); var closeButton = ($(el).data('popupoptions').closeelement) ? $(el).data('popupoptions').closeelement : ('.' + el.id + closesuffix); // If Close button clicked if ($(event.target).closest(closeButton).length) { event.preventDefault(); methods.hide(el); } // If clicked outside of popup if ($(el).data('popupoptions').blur && !$(event.target).closest('#' + elementId).length && event.which !== 2 && $(event.target).is(':visible')) { if ($(el).data('popupoptions').background) { // If clicked on popup cover methods.hide(el); // Older iOS/Safari will trigger a click on the elements below the cover, // when tapping on the cover, so the default action needs to be prevented. event.preventDefault(); } else { // If clicked on outer content methods.hide(el, true); } } } }); // Keep keyboard focus inside of popup $(document).on('keydown', function(event) { if(visiblePopupsArray.length && event.which == 9) { // If tab or shift-tab pressed var elementId = visiblePopupsArray[visiblePopupsArray.length - 1]; var el = document.getElementById(elementId); // Get list of all children elements in given object var popupItems = $(el).find('*'); // Get list of focusable items var focusableItems = popupItems.filter(focusableElementsString).filter(':visible'); // Get currently focused item var focusedItem = $(':focus'); // Get the number of focusable items var numberOfFocusableItems = focusableItems.length; // Get the index of the currently focused item var focusedItemIndex = focusableItems.index(focusedItem); // If popup doesn't contain focusable elements, focus popup itself if (numberOfFocusableItems === 0) { $(el).focus(); event.preventDefault(); } else { if (event.shiftKey) { // Back tab // If focused on first item and user preses back-tab, go to the last focusable item if (focusedItemIndex === 0) { focusableItems.get(numberOfFocusableItems - 1).focus(); event.preventDefault(); } } else { // Forward tab // If focused on the last item and user preses tab, go to the first focusable item if (focusedItemIndex == numberOfFocusableItems - 1) { focusableItems.get(0).focus(); event.preventDefault(); } } } } }); /** * Plugin API */ $.fn.popup = function (customoptions) { return this.each(function () { var $el = $(this); if (typeof customoptions === 'object') { // e.g. $('#popup').popup({'color':'blue'}) var opt = $.extend({}, $.fn.popup.defaults, $el.data('popupoptions'), customoptions); $el.data('popupoptions', opt); options = $el.data('popupoptions'); methods._init(this); } else if (typeof customoptions === 'string') { // e.g. $('#popup').popup('hide') if (!($el.data('popupoptions'))) { $el.data('popupoptions', $.fn.popup.defaults); options = $el.data('popupoptions'); } methods[customoptions].call(this, this); } else { // e.g. $('#popup').popup() if (!($el.data('popupoptions'))) { $el.data('popupoptions', $.fn.popup.defaults); options = $el.data('popupoptions'); } methods._init(this); } }); }; $.fn.popup.defaults = { type: 'overlay', autoopen: false, background: true, backgroundactive: false, color: 'black', opacity: '0.7', horizontal: 'center', vertical: 'middle', offsettop: 0, offsetleft: 0, escape: true, blur: true, setzindex: true, autozindex: false, scrolllock: false, closebutton: false, closebuttonmarkup: null, keepfocus: true, focuselement: null, focusdelay: 50, outline: false, pagecontainer: null, detach: false, openelement: null, closeelement: null, transition: null, tooltipanchor: null, beforeopen: null, onclose: null, onopen: null, opentransitionend: null, closetransitionend: null }; })(jQuery); ', 'modified' => '2017-01-31 14:13:20' ), (int) 2 => array( 'id' => (int) 9, 'name' => 'jquery.fileupload', 'data' => '/* * jQuery File Upload Plugin 5.40.0 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /* jshint nomen:false */ /* global define, window, document, location, Blob, FormData */ (function (factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // Register as an anonymous AMD module: define([ 'jquery', 'jquery.ui.widget' ], factory); } else { // Browser globals: factory(window.jQuery); } }(function ($) { 'use strict'; // Detect file input support, based on // http://viljamis.com/blog/2012/file-upload-support-on-mobile/ $.support.fileInput = !(new RegExp( // Handle devices which give false positives for the feature detection: '(Android (1\\.[0156]|2\\.[01]))' + '|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)' + '|(w(eb)?OSBrowser)|(webOS)' + '|(Kindle/(1\\.0|2\\.[05]|3\\.0))' ).test(window.navigator.userAgent) || // Feature detection for all other devices: $('<input type="file">').prop('disabled')); // The FileReader API is not actually used, but works as feature detection, // as some Safari versions (5?) support XHR file uploads via the FormData API, // but not non-multipart XHR file uploads. // window.XMLHttpRequestUpload is not available on IE10, so we check for // window.ProgressEvent instead to detect XHR2 file upload capability: $.support.xhrFileUpload = !!(window.ProgressEvent && window.FileReader); $.support.xhrFormDataFileUpload = !!window.FormData; // Detect support for Blob slicing (required for chunked uploads): $.support.blobSlice = window.Blob && (Blob.prototype.slice || Blob.prototype.webkitSlice || Blob.prototype.mozSlice); // The fileupload widget listens for change events on file input fields defined // via fileInput setting and paste or drop events of the given dropZone. // In addition to the default jQuery Widget methods, the fileupload widget // exposes the "add" and "send" methods, to add or directly send files using // the fileupload API. // By default, files added via file input selection, paste, drag & drop or // "add" method are uploaded immediately, but it is possible to override // the "add" callback option to queue file uploads. $.widget('blueimp.fileupload', { options: { // The drop target element(s), by the default the complete document. // Set to null to disable drag & drop support: dropZone: $(document), // The paste target element(s), by the default the complete document. // Set to null to disable paste support: pasteZone: $(document), // The file input field(s), that are listened to for change events. // If undefined, it is set to the file input fields inside // of the widget element on plugin initialization. // Set to null to disable the change listener. fileInput: undefined, // By default, the file input field is replaced with a clone after // each input field change event. This is required for iframe transport // queues and allows change events to be fired for the same file // selection, but can be disabled by setting the following option to false: replaceFileInput: true, // The parameter name for the file form data (the request argument name). // If undefined or empty, the name property of the file input field is // used, or "files[]" if the file input name property is also empty, // can be a string or an array of strings: paramName: undefined, // By default, each file of a selection is uploaded using an individual // request for XHR type uploads. Set to false to upload file // selections in one request each: singleFileUploads: true, // To limit the number of files uploaded with one XHR request, // set the following option to an integer greater than 0: limitMultiFileUploads: undefined, // The following option limits the number of files uploaded with one // XHR request to keep the request size under or equal to the defined // limit in bytes: limitMultiFileUploadSize: undefined, // Multipart file uploads add a number of bytes to each uploaded file, // therefore the following option adds an overhead for each file used // in the limitMultiFileUploadSize configuration: limitMultiFileUploadSizeOverhead: 512, // Set the following option to true to issue all file upload requests // in a sequential order: sequentialUploads: false, // To limit the number of concurrent uploads, // set the following option to an integer greater than 0: limitConcurrentUploads: undefined, // Set the following option to true to force iframe transport uploads: forceIframeTransport: false, // Set the following option to the location of a redirect url on the // origin server, for cross-domain iframe transport uploads: redirect: undefined, // The parameter name for the redirect url, sent as part of the form // data and set to 'redirect' if this option is empty: redirectParamName: undefined, // Set the following option to the location of a postMessage window, // to enable postMessage transport uploads: postMessage: undefined, // By default, XHR file uploads are sent as multipart/form-data. // The iframe transport is always using multipart/form-data. // Set to false to enable non-multipart XHR uploads: multipart: true, // To upload large files in smaller chunks, set the following option // to a preferred maximum chunk size. If set to 0, null or undefined, // or the browser does not support the required Blob API, files will // be uploaded as a whole. maxChunkSize: undefined, // When a non-multipart upload or a chunked multipart upload has been // aborted, this option can be used to resume the upload by setting // it to the size of the already uploaded bytes. This option is most // useful when modifying the options object inside of the "add" or // "send" callbacks, as the options are cloned for each file upload. uploadedBytes: undefined, // By default, failed (abort or error) file uploads are removed from the // global progress calculation. Set the following option to false to // prevent recalculating the global progress data: recalculateProgress: true, // Interval in milliseconds to calculate and trigger progress events: progressInterval: 100, // Interval in milliseconds to calculate progress bitrate: bitrateInterval: 500, // By default, uploads are started automatically when adding files: autoUpload: true, // Error and info messages: messages: { uploadedBytes: 'Uploaded bytes exceed file size' }, // Translation function, gets the message key to be translated // and an object with context specific data as arguments: i18n: function (message, context) { message = this.messages[message] || message.toString(); if (context) { $.each(context, function (key, value) { message = message.replace('{' + key + '}', value); }); } return message; }, // Additional form data to be sent along with the file uploads can be set // using this option, which accepts an array of objects with name and // value properties, a function returning such an array, a FormData // object (for XHR file uploads), or a simple object. // The form of the first fileInput is given as parameter to the function: formData: function (form) { return form.serializeArray(); }, // The add callback is invoked as soon as files are added to the fileupload // widget (via file input selection, drag & drop, paste or add API call). // If the singleFileUploads option is enabled, this callback will be // called once for each file in the selection for XHR file uploads, else // once for each file selection. // // The upload starts when the submit method is invoked on the data parameter. // The data object contains a files property holding the added files // and allows you to override plugin options as well as define ajax settings. // // Listeners for this callback can also be bound the following way: // .bind('fileuploadadd', func); // // data.submit() returns a Promise object and allows to attach additional // handlers using jQuery's Deferred callbacks: // data.submit().done(func).fail(func).always(func); add: function (e, data) { if (e.isDefaultPrevented()) { return false; } if (data.autoUpload || (data.autoUpload !== false && $(this).fileupload('option', 'autoUpload'))) { data.process().done(function () { data.submit(); }); } }, // Other callbacks: // Callback for the submit event of each file upload: // submit: function (e, data) {}, // .bind('fileuploadsubmit', func); // Callback for the start of each file upload request: // send: function (e, data) {}, // .bind('fileuploadsend', func); // Callback for successful uploads: // done: function (e, data) {}, // .bind('fileuploaddone', func); // Callback for failed (abort or error) uploads: // fail: function (e, data) {}, // .bind('fileuploadfail', func); // Callback for completed (success, abort or error) requests: // always: function (e, data) {}, // .bind('fileuploadalways', func); // Callback for upload progress events: // progress: function (e, data) {}, // .bind('fileuploadprogress', func); // Callback for global upload progress events: // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func); // Callback for uploads start, equivalent to the global ajaxStart event: // start: function (e) {}, // .bind('fileuploadstart', func); // Callback for uploads stop, equivalent to the global ajaxStop event: // stop: function (e) {}, // .bind('fileuploadstop', func); // Callback for change events of the fileInput(s): // change: function (e, data) {}, // .bind('fileuploadchange', func); // Callback for paste events to the pasteZone(s): // paste: function (e, data) {}, // .bind('fileuploadpaste', func); // Callback for drop events of the dropZone(s): // drop: function (e, data) {}, // .bind('fileuploaddrop', func); // Callback for dragover events of the dropZone(s): // dragover: function (e) {}, // .bind('fileuploaddragover', func); // Callback for the start of each chunk upload request: // chunksend: function (e, data) {}, // .bind('fileuploadchunksend', func); // Callback for successful chunk uploads: // chunkdone: function (e, data) {}, // .bind('fileuploadchunkdone', func); // Callback for failed (abort or error) chunk uploads: // chunkfail: function (e, data) {}, // .bind('fileuploadchunkfail', func); // Callback for completed (success, abort or error) chunk upload requests: // chunkalways: function (e, data) {}, // .bind('fileuploadchunkalways', func); // The plugin options are used as settings object for the ajax calls. // The following are jQuery ajax settings required for the file uploads: processData: false, contentType: false, cache: false }, // A list of options that require reinitializing event listeners and/or // special initialization code: _specialOptions: [ 'fileInput', 'dropZone', 'pasteZone', 'multipart', 'forceIframeTransport' ], _blobSlice: $.support.blobSlice && function () { var slice = this.slice || this.webkitSlice || this.mozSlice; return slice.apply(this, arguments); }, _BitrateTimer: function () { this.timestamp = ((Date.now) ? Date.now() : (new Date()).getTime()); this.loaded = 0; this.bitrate = 0; this.getBitrate = function (now, loaded, interval) { var timeDiff = now - this.timestamp; if (!this.bitrate || !interval || timeDiff > interval) { this.bitrate = (loaded - this.loaded) * (1000 / timeDiff) * 8; this.loaded = loaded; this.timestamp = now; } return this.bitrate; }; }, _isXHRUpload: function (options) { return !options.forceIframeTransport && ((!options.multipart && $.support.xhrFileUpload) || $.support.xhrFormDataFileUpload); }, _getFormData: function (options) { var formData; if ($.type(options.formData) === 'function') { return options.formData(options.form); } if ($.isArray(options.formData)) { return options.formData; } if ($.type(options.formData) === 'object') { formData = []; $.each(options.formData, function (name, value) { formData.push({name: name, value: value}); }); return formData; } return []; }, _getTotal: function (files) { var total = 0; $.each(files, function (index, file) { total += file.size || 1; }); return total; }, _initProgressObject: function (obj) { var progress = { loaded: 0, total: 0, bitrate: 0 }; if (obj._progress) { $.extend(obj._progress, progress); } else { obj._progress = progress; } }, _initResponseObject: function (obj) { var prop; if (obj._response) { for (prop in obj._response) { if (obj._response.hasOwnProperty(prop)) { delete obj._response[prop]; } } } else { obj._response = {}; } }, _onProgress: function (e, data) { if (e.lengthComputable) { var now = ((Date.now) ? Date.now() : (new Date()).getTime()), loaded; if (data._time && data.progressInterval && (now - data._time < data.progressInterval) && e.loaded !== e.total) { return; } data._time = now; loaded = Math.floor( e.loaded / e.total * (data.chunkSize || data._progress.total) ) + (data.uploadedBytes || 0); // Add the difference from the previously loaded state // to the global loaded counter: this._progress.loaded += (loaded - data._progress.loaded); this._progress.bitrate = this._bitrateTimer.getBitrate( now, this._progress.loaded, data.bitrateInterval ); data._progress.loaded = data.loaded = loaded; data._progress.bitrate = data.bitrate = data._bitrateTimer.getBitrate( now, loaded, data.bitrateInterval ); // Trigger a custom progress event with a total data property set // to the file size(s) of the current upload and a loaded data // property calculated accordingly: this._trigger( 'progress', $.Event('progress', {delegatedEvent: e}), data ); // Trigger a global progress event for all current file uploads, // including ajax calls queued for sequential file uploads: this._trigger( 'progressall', $.Event('progressall', {delegatedEvent: e}), this._progress ); } }, _initProgressListener: function (options) { var that = this, xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr(); // Accesss to the native XHR object is required to add event listeners // for the upload progress event: if (xhr.upload) { $(xhr.upload).bind('progress', function (e) { var oe = e.originalEvent; // Make sure the progress event properties get copied over: e.lengthComputable = oe.lengthComputable; e.loaded = oe.loaded; e.total = oe.total; that._onProgress(e, options); }); options.xhr = function () { return xhr; }; } }, _isInstanceOf: function (type, obj) { // Cross-frame instanceof check return Object.prototype.toString.call(obj) === '[object ' + type + ']'; }, _initXHRData: function (options) { var that = this, formData, file = options.files[0], // Ignore non-multipart setting if not supported: multipart = options.multipart || !$.support.xhrFileUpload, paramName = $.type(options.paramName) === 'array' ? options.paramName[0] : options.paramName; options.headers = $.extend({}, options.headers); if (options.contentRange) { options.headers['Content-Range'] = options.contentRange; } if (!multipart || options.blob || !this._isInstanceOf('File', file)) { options.headers['Content-Disposition'] = 'attachment; filename="' + encodeURI(file.name) + '"'; } if (!multipart) { options.contentType = file.type || 'application/octet-stream'; options.data = options.blob || file; } else if ($.support.xhrFormDataFileUpload) { if (options.postMessage) { // window.postMessage does not allow sending FormData // objects, so we just add the File/Blob objects to // the formData array and let the postMessage window // create the FormData object out of this array: formData = this._getFormData(options); if (options.blob) { formData.push({ name: paramName, value: options.blob }); } else { $.each(options.files, function (index, file) { formData.push({ name: ($.type(options.paramName) === 'array' && options.paramName[index]) || paramName, value: file }); }); } } else { if (that._isInstanceOf('FormData', options.formData)) { formData = options.formData; } else { formData = new FormData(); $.each(this._getFormData(options), function (index, field) { formData.append(field.name, field.value); }); } if (options.blob) { formData.append(paramName, options.blob, file.name); } else { $.each(options.files, function (index, file) { // This check allows the tests to run with // dummy objects: if (that._isInstanceOf('File', file) || that._isInstanceOf('Blob', file)) { formData.append( ($.type(options.paramName) === 'array' && options.paramName[index]) || paramName, file, file.uploadName || file.name ); } }); } } options.data = formData; } // Blob reference is not needed anymore, free memory: options.blob = null; }, _initIframeSettings: function (options) { var targetHost = $('<a></a>').prop('href', options.url).prop('host'); // Setting the dataType to iframe enables the iframe transport: options.dataType = 'iframe ' + (options.dataType || ''); // The iframe transport accepts a serialized array as form data: options.formData = this._getFormData(options); // Add redirect url to form data on cross-domain uploads: if (options.redirect && targetHost && targetHost !== location.host) { options.formData.push({ name: options.redirectParamName || 'redirect', value: options.redirect }); } }, _initDataSettings: function (options) { if (this._isXHRUpload(options)) { if (!this._chunkedUpload(options, true)) { if (!options.data) { this._initXHRData(options); } this._initProgressListener(options); } if (options.postMessage) { // Setting the dataType to postmessage enables the // postMessage transport: options.dataType = 'postmessage ' + (options.dataType || ''); } } else { this._initIframeSettings(options); } }, _getParamName: function (options) { var fileInput = $(options.fileInput), paramName = options.paramName; if (!paramName) { paramName = []; fileInput.each(function () { var input = $(this), name = input.prop('name') || 'files[]', i = (input.prop('files') || [1]).length; while (i) { paramName.push(name); i -= 1; } }); if (!paramName.length) { paramName = [fileInput.prop('name') || 'files[]']; } } else if (!$.isArray(paramName)) { paramName = [paramName]; } return paramName; }, _initFormSettings: function (options) { // Retrieve missing options from the input field and the // associated form, if available: if (!options.form || !options.form.length) { options.form = $(options.fileInput.prop('form')); // If the given file input doesn't have an associated form, // use the default widget file input's form: if (!options.form.length) { options.form = $(this.options.fileInput.prop('form')); } } options.paramName = this._getParamName(options); if (!options.url) { options.url = options.form.prop('action') || location.href; } // The HTTP request method must be "POST" or "PUT": options.type = (options.type || ($.type(options.form.prop('method')) === 'string' && options.form.prop('method')) || '' ).toUpperCase(); if (options.type !== 'POST' && options.type !== 'PUT' && options.type !== 'PATCH') { options.type = 'POST'; } if (!options.formAcceptCharset) { options.formAcceptCharset = options.form.attr('accept-charset'); } }, _getAJAXSettings: function (data) { var options = $.extend({}, this.options, data); this._initFormSettings(options); this._initDataSettings(options); return options; }, // jQuery 1.6 doesn't provide .state(), // while jQuery 1.8+ removed .isRejected() and .isResolved(): _getDeferredState: function (deferred) { if (deferred.state) { return deferred.state(); } if (deferred.isResolved()) { return 'resolved'; } if (deferred.isRejected()) { return 'rejected'; } return 'pending'; }, // Maps jqXHR callbacks to the equivalent // methods of the given Promise object: _enhancePromise: function (promise) { promise.success = promise.done; promise.error = promise.fail; promise.complete = promise.always; return promise; }, // Creates and returns a Promise object enhanced with // the jqXHR methods abort, success, error and complete: _getXHRPromise: function (resolveOrReject, context, args) { var dfd = $.Deferred(), promise = dfd.promise(); context = context || this.options.context || promise; if (resolveOrReject === true) { dfd.resolveWith(context, args); } else if (resolveOrReject === false) { dfd.rejectWith(context, args); } promise.abort = dfd.promise; return this._enhancePromise(promise); }, // Adds convenience methods to the data callback argument: _addConvenienceMethods: function (e, data) { var that = this, getPromise = function (args) { return $.Deferred().resolveWith(that, args).promise(); }; data.process = function (resolveFunc, rejectFunc) { if (resolveFunc || rejectFunc) { data._processQueue = this._processQueue = (this._processQueue || getPromise([this])).pipe( function () { if (data.errorThrown) { return $.Deferred() .rejectWith(that, [data]).promise(); } return getPromise(arguments); } ).pipe(resolveFunc, rejectFunc); } return this._processQueue || getPromise([this]); }; data.submit = function () { if (this.state() !== 'pending') { data.jqXHR = this.jqXHR = (that._trigger( 'submit', $.Event('submit', {delegatedEvent: e}), this ) !== false) && that._onSend(e, this); } return this.jqXHR || that._getXHRPromise(); }; data.abort = function () { if (this.jqXHR) { return this.jqXHR.abort(); } this.errorThrown = 'abort'; that._trigger('fail', null, this); return that._getXHRPromise(false); }; data.state = function () { if (this.jqXHR) { return that._getDeferredState(this.jqXHR); } if (this._processQueue) { return that._getDeferredState(this._processQueue); } }; data.processing = function () { return !this.jqXHR && this._processQueue && that ._getDeferredState(this._processQueue) === 'pending'; }; data.progress = function () { return this._progress; }; data.response = function () { return this._response; }; }, // Parses the Range header from the server response // and returns the uploaded bytes: _getUploadedBytes: function (jqXHR) { var range = jqXHR.getResponseHeader('Range'), parts = range && range.split('-'), upperBytesPos = parts && parts.length > 1 && parseInt(parts[1], 10); return upperBytesPos && upperBytesPos + 1; }, // Uploads a file in multiple, sequential requests // by splitting the file up in multiple blob chunks. // If the second parameter is true, only tests if the file // should be uploaded in chunks, but does not invoke any // upload requests: _chunkedUpload: function (options, testOnly) { options.uploadedBytes = options.uploadedBytes || 0; var that = this, file = options.files[0], fs = file.size, ub = options.uploadedBytes, mcs = options.maxChunkSize || fs, slice = this._blobSlice, dfd = $.Deferred(), promise = dfd.promise(), jqXHR, upload; if (!(this._isXHRUpload(options) && slice && (ub || mcs < fs)) || options.data) { return false; } if (testOnly) { return true; } if (ub >= fs) { file.error = options.i18n('uploadedBytes'); return this._getXHRPromise( false, options.context, [null, 'error', file.error] ); } // The chunk upload method: upload = function () { // Clone the options object for each chunk upload: var o = $.extend({}, options), currentLoaded = o._progress.loaded; o.blob = slice.call( file, ub, ub + mcs, file.type ); // Store the current chunk size, as the blob itself // will be dereferenced after data processing: o.chunkSize = o.blob.size; // Expose the chunk bytes position range: o.contentRange = 'bytes ' + ub + '-' + (ub + o.chunkSize - 1) + '/' + fs; // Process the upload data (the blob and potential form data): that._initXHRData(o); // Add progress listeners for this chunk upload: that._initProgressListener(o); jqXHR = ((that._trigger('chunksend', null, o) !== false && $.ajax(o)) || that._getXHRPromise(false, o.context)) .done(function (result, textStatus, jqXHR) { ub = that._getUploadedBytes(jqXHR) || (ub + o.chunkSize); // Create a progress event if no final progress event // with loaded equaling total has been triggered // for this chunk: if (currentLoaded + o.chunkSize - o._progress.loaded) { that._onProgress($.Event('progress', { lengthComputable: true, loaded: ub - o.uploadedBytes, total: ub - o.uploadedBytes }), o); } options.uploadedBytes = o.uploadedBytes = ub; o.result = result; o.textStatus = textStatus; o.jqXHR = jqXHR; that._trigger('chunkdone', null, o); that._trigger('chunkalways', null, o); if (ub < fs) { // File upload not yet complete, // continue with the next chunk: upload(); } else { dfd.resolveWith( o.context, [result, textStatus, jqXHR] ); } }) .fail(function (jqXHR, textStatus, errorThrown) { o.jqXHR = jqXHR; o.textStatus = textStatus; o.errorThrown = errorThrown; that._trigger('chunkfail', null, o); that._trigger('chunkalways', null, o); dfd.rejectWith( o.context, [jqXHR, textStatus, errorThrown] ); }); }; this._enhancePromise(promise); promise.abort = function () { return jqXHR.abort(); }; upload(); return promise; }, _beforeSend: function (e, data) { if (this._active === 0) { // the start callback is triggered when an upload starts // and no other uploads are currently running, // equivalent to the global ajaxStart event: this._trigger('start'); // Set timer for global bitrate progress calculation: this._bitrateTimer = new this._BitrateTimer(); // Reset the global progress values: this._progress.loaded = this._progress.total = 0; this._progress.bitrate = 0; } // Make sure the container objects for the .response() and // .progress() methods on the data object are available // and reset to their initial state: this._initResponseObject(data); this._initProgressObject(data); data._progress.loaded = data.loaded = data.uploadedBytes || 0; data._progress.total = data.total = this._getTotal(data.files) || 1; data._progress.bitrate = data.bitrate = 0; this._active += 1; // Initialize the global progress values: this._progress.loaded += data.loaded; this._progress.total += data.total; }, _onDone: function (result, textStatus, jqXHR, options) { var total = options._progress.total, response = options._response; if (options._progress.loaded < total) { // Create a progress event if no final progress event // with loaded equaling total has been triggered: this._onProgress($.Event('progress', { lengthComputable: true, loaded: total, total: total }), options); } response.result = options.result = result; response.textStatus = options.textStatus = textStatus; response.jqXHR = options.jqXHR = jqXHR; this._trigger('done', null, options); }, _onFail: function (jqXHR, textStatus, errorThrown, options) { var response = options._response; if (options.recalculateProgress) { // Remove the failed (error or abort) file upload from // the global progress calculation: this._progress.loaded -= options._progress.loaded; this._progress.total -= options._progress.total; } response.jqXHR = options.jqXHR = jqXHR; response.textStatus = options.textStatus = textStatus; response.errorThrown = options.errorThrown = errorThrown; this._trigger('fail', null, options); }, _onAlways: function (jqXHRorResult, textStatus, jqXHRorError, options) { // jqXHRorResult, textStatus and jqXHRorError are added to the // options object via done and fail callbacks this._trigger('always', null, options); }, _onSend: function (e, data) { if (!data.submit) { this._addConvenienceMethods(e, data); } var that = this, jqXHR, aborted, slot, pipe, options = that._getAJAXSettings(data), send = function () { that._sending += 1; // Set timer for bitrate progress calculation: options._bitrateTimer = new that._BitrateTimer(); jqXHR = jqXHR || ( ((aborted || that._trigger( 'send', $.Event('send', {delegatedEvent: e}), options ) === false) && that._getXHRPromise(false, options.context, aborted)) || that._chunkedUpload(options) || $.ajax(options) ).done(function (result, textStatus, jqXHR) { that._onDone(result, textStatus, jqXHR, options); }).fail(function (jqXHR, textStatus, errorThrown) { that._onFail(jqXHR, textStatus, errorThrown, options); }).always(function (jqXHRorResult, textStatus, jqXHRorError) { that._onAlways( jqXHRorResult, textStatus, jqXHRorError, options ); that._sending -= 1; that._active -= 1; if (options.limitConcurrentUploads && options.limitConcurrentUploads > that._sending) { // Start the next queued upload, // that has not been aborted: var nextSlot = that._slots.shift(); while (nextSlot) { if (that._getDeferredState(nextSlot) === 'pending') { nextSlot.resolve(); break; } nextSlot = that._slots.shift(); } } if (that._active === 0) { // The stop callback is triggered when all uploads have // been completed, equivalent to the global ajaxStop event: that._trigger('stop'); } }); return jqXHR; }; this._beforeSend(e, options); if (this.options.sequentialUploads || (this.options.limitConcurrentUploads && this.options.limitConcurrentUploads <= this._sending)) { if (this.options.limitConcurrentUploads > 1) { slot = $.Deferred(); this._slots.push(slot); pipe = slot.pipe(send); } else { this._sequence = this._sequence.pipe(send, send); pipe = this._sequence; } // Return the piped Promise object, enhanced with an abort method, // which is delegated to the jqXHR object of the current upload, // and jqXHR callbacks mapped to the equivalent Promise methods: pipe.abort = function () { aborted = [undefined, 'abort', 'abort']; if (!jqXHR) { if (slot) { slot.rejectWith(options.context, aborted); } return send(); } return jqXHR.abort(); }; return this._enhancePromise(pipe); } return send(); }, _onAdd: function (e, data) { var that = this, result = true, options = $.extend({}, this.options, data), files = data.files, filesLength = files.length, limit = options.limitMultiFileUploads, limitSize = options.limitMultiFileUploadSize, overhead = options.limitMultiFileUploadSizeOverhead, batchSize = 0, paramName = this._getParamName(options), paramNameSet, paramNameSlice, fileSet, i, j = 0; if (limitSize && (!filesLength || files[0].size === undefined)) { limitSize = undefined; } if (!(options.singleFileUploads || limit || limitSize) || !this._isXHRUpload(options)) { fileSet = [files]; paramNameSet = [paramName]; } else if (!(options.singleFileUploads || limitSize) && limit) { fileSet = []; paramNameSet = []; for (i = 0; i < filesLength; i += limit) { fileSet.push(files.slice(i, i + limit)); paramNameSlice = paramName.slice(i, i + limit); if (!paramNameSlice.length) { paramNameSlice = paramName; } paramNameSet.push(paramNameSlice); } } else if (!options.singleFileUploads && limitSize) { fileSet = []; paramNameSet = []; for (i = 0; i < filesLength; i = i + 1) { batchSize += files[i].size + overhead; if (i + 1 === filesLength || ((batchSize + files[i + 1].size + overhead) > limitSize) || (limit && i + 1 - j >= limit)) { fileSet.push(files.slice(j, i + 1)); paramNameSlice = paramName.slice(j, i + 1); if (!paramNameSlice.length) { paramNameSlice = paramName; } paramNameSet.push(paramNameSlice); j = i + 1; batchSize = 0; } } } else { paramNameSet = paramName; } data.originalFiles = files; $.each(fileSet || files, function (index, element) { var newData = $.extend({}, data); newData.files = fileSet ? element : [element]; newData.paramName = paramNameSet[index]; that._initResponseObject(newData); that._initProgressObject(newData); that._addConvenienceMethods(e, newData); result = that._trigger( 'add', $.Event('add', {delegatedEvent: e}), newData ); return result; }); return result; }, _replaceFileInput: function (input) { var inputClone = input.clone(true); $('<form></form>').append(inputClone)[0].reset(); // Detaching allows to insert the fileInput on another form // without loosing the file input value: input.after(inputClone).detach(); // Avoid memory leaks with the detached file input: $.cleanData(input.unbind('remove')); // Replace the original file input element in the fileInput // elements set with the clone, which has been copied including // event handlers: this.options.fileInput = this.options.fileInput.map(function (i, el) { if (el === input[0]) { return inputClone[0]; } return el; }); // If the widget has been initialized on the file input itself, // override this.element with the file input clone: if (input[0] === this.element[0]) { this.element = inputClone; } }, _handleFileTreeEntry: function (entry, path) { var that = this, dfd = $.Deferred(), errorHandler = function (e) { if (e && !e.entry) { e.entry = entry; } // Since $.when returns immediately if one // Deferred is rejected, we use resolve instead. // This allows valid files and invalid items // to be returned together in one set: dfd.resolve([e]); }, dirReader; path = path || ''; if (entry.isFile) { if (entry._file) { // Workaround for Chrome bug #149735 entry._file.relativePath = path; dfd.resolve(entry._file); } else { entry.file(function (file) { file.relativePath = path; dfd.resolve(file); }, errorHandler); } } else if (entry.isDirectory) { dirReader = entry.createReader(); dirReader.readEntries(function (entries) { that._handleFileTreeEntries( entries, path + entry.name + '/' ).done(function (files) { dfd.resolve(files); }).fail(errorHandler); }, errorHandler); } else { // Return an empy list for file system items // other than files or directories: dfd.resolve([]); } return dfd.promise(); }, _handleFileTreeEntries: function (entries, path) { var that = this; return $.when.apply( $, $.map(entries, function (entry) { return that._handleFileTreeEntry(entry, path); }) ).pipe(function () { return Array.prototype.concat.apply( [], arguments ); }); }, _getDroppedFiles: function (dataTransfer) { dataTransfer = dataTransfer || {}; var items = dataTransfer.items; if (items && items.length && (items[0].webkitGetAsEntry || items[0].getAsEntry)) { return this._handleFileTreeEntries( $.map(items, function (item) { var entry; if (item.webkitGetAsEntry) { entry = item.webkitGetAsEntry(); if (entry) { // Workaround for Chrome bug #149735: entry._file = item.getAsFile(); } return entry; } return item.getAsEntry(); }) ); } return $.Deferred().resolve( $.makeArray(dataTransfer.files) ).promise(); }, _getSingleFileInputFiles: function (fileInput) { fileInput = $(fileInput); var entries = fileInput.prop('webkitEntries') || fileInput.prop('entries'), files, value; if (entries && entries.length) { return this._handleFileTreeEntries(entries); } files = $.makeArray(fileInput.prop('files')); if (!files.length) { value = fileInput.prop('value'); if (!value) { return $.Deferred().resolve([]).promise(); } // If the files property is not available, the browser does not // support the File API and we add a pseudo File object with // the input value as name with path information removed: files = [{name: value.replace(/^.*\\/, '')}]; } else if (files[0].name === undefined && files[0].fileName) { // File normalization for Safari 4 and Firefox 3: $.each(files, function (index, file) { file.name = file.fileName; file.size = file.fileSize; }); } return $.Deferred().resolve(files).promise(); }, _getFileInputFiles: function (fileInput) { if (!(fileInput instanceof $) || fileInput.length === 1) { return this._getSingleFileInputFiles(fileInput); } return $.when.apply( $, $.map(fileInput, this._getSingleFileInputFiles) ).pipe(function () { return Array.prototype.concat.apply( [], arguments ); }); }, _onChange: function (e) { var that = this, data = { fileInput: $(e.target), form: $(e.target.form) }; this._getFileInputFiles(data.fileInput).always(function (files) { data.files = files; if (that.options.replaceFileInput) { that._replaceFileInput(data.fileInput); } if (that._trigger( 'change', $.Event('change', {delegatedEvent: e}), data ) !== false) { that._onAdd(e, data); } }); }, _onPaste: function (e) { var items = e.originalEvent && e.originalEvent.clipboardData && e.originalEvent.clipboardData.items, data = {files: []}; if (items && items.length) { $.each(items, function (index, item) { var file = item.getAsFile && item.getAsFile(); if (file) { data.files.push(file); } }); if (this._trigger( 'paste', $.Event('paste', {delegatedEvent: e}), data ) !== false) { this._onAdd(e, data); } } }, _onDrop: function (e) { e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer; var that = this, dataTransfer = e.dataTransfer, data = {}; if (dataTransfer && dataTransfer.files && dataTransfer.files.length) { e.preventDefault(); this._getDroppedFiles(dataTransfer).always(function (files) { data.files = files; if (that._trigger( 'drop', $.Event('drop', {delegatedEvent: e}), data ) !== false) { that._onAdd(e, data); } }); } }, _onDragOver: function (e) { e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer; var dataTransfer = e.dataTransfer; if (dataTransfer && $.inArray('Files', dataTransfer.types) !== -1 && this._trigger( 'dragover', $.Event('dragover', {delegatedEvent: e}) ) !== false) { e.preventDefault(); dataTransfer.dropEffect = 'copy'; } }, _initEventHandlers: function () { if (this._isXHRUpload(this.options)) { this._on(this.options.dropZone, { dragover: this._onDragOver, drop: this._onDrop }); this._on(this.options.pasteZone, { paste: this._onPaste }); } if ($.support.fileInput) { this._on(this.options.fileInput, { change: this._onChange }); } }, _destroyEventHandlers: function () { this._off(this.options.dropZone, 'dragover drop'); this._off(this.options.pasteZone, 'paste'); this._off(this.options.fileInput, 'change'); }, _setOption: function (key, value) { var reinit = $.inArray(key, this._specialOptions) !== -1; if (reinit) { this._destroyEventHandlers(); } this._super(key, value); if (reinit) { this._initSpecialOptions(); this._initEventHandlers(); } }, _initSpecialOptions: function () { var options = this.options; if (options.fileInput === undefined) { options.fileInput = this.element.is('input[type="file"]') ? this.element : this.element.find('input[type="file"]'); } else if (!(options.fileInput instanceof $)) { options.fileInput = $(options.fileInput); } if (!(options.dropZone instanceof $)) { options.dropZone = $(options.dropZone); } if (!(options.pasteZone instanceof $)) { options.pasteZone = $(options.pasteZone); } }, _getRegExp: function (str) { var parts = str.split('/'), modifiers = parts.pop(); parts.shift(); return new RegExp(parts.join('/'), modifiers); }, _isRegExpOption: function (key, value) { return key !== 'url' && $.type(value) === 'string' && /^\/.*\/[igm]{0,3}$/.test(value); }, _initDataAttributes: function () { var that = this, options = this.options; // Initialize options set via HTML5 data-attributes: $.each( $(this.element[0].cloneNode(false)).data(), function (key, value) { if (that._isRegExpOption(key, value)) { value = that._getRegExp(value); } options[key] = value; } ); }, _create: function () { this._initDataAttributes(); this._initSpecialOptions(); this._slots = []; this._sequence = this._getXHRPromise(true); this._sending = this._active = 0; this._initProgressObject(this); this._initEventHandlers(); }, // This method is exposed to the widget API and allows to query // the number of active uploads: active: function () { return this._active; }, // This method is exposed to the widget API and allows to query // the widget upload progress. // It returns an object with loaded, total and bitrate properties // for the running uploads: progress: function () { return this._progress; }, // This method is exposed to the widget API and allows adding files // using the fileupload API. The data parameter accepts an object which // must have a files property and can contain additional options: // .fileupload('add', {files: filesList}); add: function (data) { var that = this; if (!data || this.options.disabled) { return; } if (data.fileInput && !data.files) { this._getFileInputFiles(data.fileInput).always(function (files) { data.files = files; that._onAdd(null, data); }); } else { data.files = $.makeArray(data.files); this._onAdd(null, data); } }, // This method is exposed to the widget API and allows sending files // using the fileupload API. The data parameter accepts an object which // must have a files or fileInput property and can contain additional options: // .fileupload('send', {files: filesList}); // The method returns a Promise object for the file upload call. send: function (data) { if (data && !this.options.disabled) { if (data.fileInput && !data.files) { var that = this, dfd = $.Deferred(), promise = dfd.promise(), jqXHR, aborted; promise.abort = function () { aborted = true; if (jqXHR) { return jqXHR.abort(); } dfd.reject(null, 'abort', 'abort'); return promise; }; this._getFileInputFiles(data.fileInput).always( function (files) { if (aborted) { return; } if (!files.length) { dfd.reject(); return; } data.files = files; jqXHR = that._onSend(null, data).then( function (result, textStatus, jqXHR) { dfd.resolve(result, textStatus, jqXHR); }, function (jqXHR, textStatus, errorThrown) { dfd.reject(jqXHR, textStatus, errorThrown); } ); } ); return this._enhancePromise(promise); } data.files = $.makeArray(data.files); if (data.files.length) { return this._onSend(null, data); } } return this._getXHRPromise(false, data && data.context); } }); })); ', 'modified' => '2017-01-26 14:55:15' ), (int) 3 => array( 'id' => (int) 8, 'name' => 'intlxForm', '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' : window.preloadedData.translations.checking, 'wrapElem' : '', 'loadingWrapper' : null, 'clearForm': true, 'fieldRemark' : true, 'hideForm' : false, 'onSubmit' : null, 'onSuccess' : null, 'onFailure' : null, 'onError' : null, 'onFinish' : null, 'headers': { 'Accept' : 'application/json; charset=utf-8' }, 'messageTimeout': 2500 }; settings = $.extend(settings, options); // Go over each form separatelly return this.each(function() { // Make sure no form is initalized more then once if($(this).data('intlxform_initialized')) { return; } $(this).data('intlxform_initialized', true); // Read action (GET or POST) from the form if not specified if(settings.type.length == 0) { if($(this).attr('method') != undefined) { settings.type = $(this).attr('method'); } } // Configure action if(settings.action.length == 0) { if($(this).attr('action') != undefined) { settings.action = $(this).attr('action'); } } // Append locale if(settings.action && settings.action.substr(0, 4) == '/api') { settings.action = '/' + window.preloadedData.locale + settings.action; } var $form = $(this); var request = null; // Setup form and its inputs var $inputs = $form.find("input, select, button, textarea"); var actualSubmit = function($form, token) { // Abort any pending request if (request) { request.abort(); } // Callback: On success var onSubmitResponse = true; if(typeof settings.onSubmit == 'function') { onSubmitResponse = settings.onSubmit($(this)); onSubmitResponse = typeof onSubmitResponse == 'undefined' ? true : onSubmitResponse; } if(onSubmitResponse && settings.loadingWrapper) { $(window).trigger('vector.loading.show', [ settings.loadingWrapper ]); } $inputs = $form.find("input, select, button, textarea"); if($form.data('uploads') && !_.isEmpty($form.data('uploads'))) { if(!confirm('Some files are still uploading, they won\'t be saved. Are you sure?')) { event.preventDefault(); return false; } } // Serialize the data in the form $inputs.each(function() { // Make sure no default values are sent if($(this).attr('data-defaultValue') != 'undefined' && $(this).attr('data-defaultValue') == $(this).val()) { $(this).val(''); } }); // Return default values $inputs.each(function() { if($(this).attr('data-defaultValue') != 'undefined' && $(this).val() == '') { $(this).val($(this).attr('data-defaultValue')); } }); var serializedData = $form.serialize(); // 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 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 if(console && console.error) { 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); }); } var captcha = $(this).attr('data-recaptcha') != undefined; var captchaId = null; if(captcha) { var captchaId = $(this).data('captcha-id') ? $(this).data('captcha-id') : grecaptcha.render($(this).find('.recaptcha-holder').get(0), { sitekey: window.preloadedData.siteKey, size: 'invisible', badge: 'inline', callback: function (token) { actualSubmit($form, token); } }); $(this).data('captcha-id', captchaId); } $(this).submit(function(event) { var captcha = $(this).attr('data-recaptcha') != undefined; if(captcha) { var captchaId = $(this).data('captcha-id'); var response = grecaptcha.getResponse(captchaId); if(response) { grecaptcha.reset(captchaId); } grecaptcha.execute(captchaId); } else { actualSubmit($(this)); } // Prevent default posting of form event.preventDefault(); return false; }); }) 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; } } var requestSuccess = response.response ? response.response : response.success; // On error occured if(!requestSuccess) { 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 { var onSuccessResponse = true; // Callback: On success if(typeof settings.onSuccess == 'function') { onSuccessResponse = settings.onSuccess(response, form); if(typeof onSuccessResponse == 'undefined') { onSuccessResponse = true; } } // Auto handling if(onSuccessResponse) { $(window).trigger('vector.success.response', [response, settings.messageTimeout]); if(window.afterLoginRedirection) { window.location = window.afterLoginRedirection; window.location.reload(true); return; } if(response.data && response.data.redirect) { var timeout = response.data.redirectionTimeout ? response.data.redirectionTimeout : 2000; setTimeout(function() { window.location = response.data.redirect; }, timeout); } } // Clear form if(settings.clearForm) { form.find("input, select, textarea").not('[type=button], [type=submit], [type=reset], .persistent').val(''); form.find('.intlxform-reset').text(''); } } // 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(); if(settings.messageTimeout) { setTimeout(function() { messageElement.hide(); }, settings.messageTimeout); } } // Callback: On finish var onFinishResponse = true; if(typeof settings.onFinish == 'function') { onFinishResponse = settings.onFinish(response); onFinishResponse = typeof onFinishResponse == 'undefined' ? true : onFinishResponse; } if(onFinishResponse && settings.loadingWrapper) { $(window).trigger('vector.loading.hide', [settings.loadingWrapper]); } } }; })(jQuery); ', 'modified' => '2017-01-26 13:53:10' ), (int) 4 => array( 'id' => (int) 7, 'name' => 'jquery.showup-1.0.0', 'data' => '; if(typeof ShowUpTheme == 'undefined') { ShowUpTheme = { '_defaultTheme': { getPadding: function() { return { top: 0, right: 0, bottom: 0, left: 0 }; } } }; } if(typeof ShowUpTransition == 'undefined') { ShowUpTransition = {}; } (function($, window, document, undefined) { ShowUp = { // Current version of the ShowUp version: '1.0.0', // The list of user selected options options: {}, // Contains the default values for all options getDefaults : function() { return { duration: 100, overflow: true, closeOnEsc: true, keyboardControls: true, minMargin: 20, gallery: null, overlay: { show: true, color: '#000000', opacity: 0.65, closeOnClick: true }, transitions: { blocks: {} }, theme: { name: 'default', colorscheme: 'light' }, path: $("script[src*='showup-" + ShowUp.version + ".js']").attr("src").split('?')[0].split('/').slice(0, -1).join('/')+'/', loop: false, autoplay: false, playInterval: 2200, fadeInTime: 400, fadeOutTime: 300, }; }, // The selected theme theme: null, // Gallery, required gallery: [], galleryCount: 0, galleryPointer: 0, // DOM objects and statuses DOM: {}, animating: false, loaderTimer : null, // Holds the list of all loading transitions for donwload optimization loadingTransitions: [], // Holds the references to all registered events registeredEvents: {}, getRegisteredTemplate: function() { return { 'onCreatePanel': [ ], 'init': [ ], 'onClick': [ ], 'onShow': [ ], 'onShown': [ ], 'onShowImage': [ ], 'onShowHTML': [ ], 'onHide': [ ], 'onAnimateSlices': [ ], 'onAnimateContent': [ ], 'onAnimateTransition': [ ], 'onAnimationComplete': [ ], 'onOverlayClick': [ ], 'onHoverIn': [ ], 'onHoverOut': [ ], 'onNext': [ ], 'onPrev': [ ], 'onPlay': [ ], 'onPause': [ ], 'onUnpause': [ ], 'onStop': [ ] }; }, /** * Trigger the event and invoke all registered methods. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ triggerEvent: function(name, arg1, arg2, arg3, arg4, arg5) { var ret = arg1; var value = null; for(var i in ShowUp.registeredEvents[name]) { if(typeof ShowUp.registeredEvents[name][i] != 'function') { continue; } value = ShowUp.registeredEvents[name][i](arg1, arg2, arg3, arg4, arg5); if(typeof value != 'undefined' && value != null) { ret = value; } } return ret; }, /** * Attaches the ShowUp to an HTML element. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ attach: function(element, options) { ShowUp.options = $.extend(true, {}, this.getDefaults(), ShowUp.options, options); delete ShowUp.options.options; // Default transition if(typeof ShowUp.options.transitions == 'undefined' || Object.keys(ShowUp.options.transitions).length == 0) { ShowUp.options.transitions = { blocks: {} }; } // Build panel if not built yet ShowUp.loadTransitions(false); if(typeof ShowUp.DOM.panel == 'undefined') { ShowUp.buildPanel(); } // Intercept element's onclick event element.on('click', function(event) { ShowUp.onClick(element, options); event.preventDefault(); return false; }); }, /** * Handle click action on the element that triggers the ShowUp. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ onClick: function(element, options) { // Load the options if($.isEmptyObject(ShowUp.options)) { ShowUp.options = $.extend({}, this.getDefaults()); } ShowUp.options = $.extend(ShowUp.options, ShowUpTheme[ShowUp.options.theme], options); // Default transition if(typeof ShowUp.options.transitions == 'undefined' || Object.keys(ShowUp.options.transitions).length == 0) { ShowUp.options.transitions = { blocks: {} }; } // Make sure we have transitions ShowUp.loadTransitions(true); // Handle percentages ShowUp.options.overlay.opacity = ShowUp.percentToFloat(ShowUp.options.overlay.opacity); ShowUp.options.duration = ShowUp.percentToFloat(ShowUp.options.duration); // Set the current element this.element = element; var elements; ShowUp.galleryPointer = 0; // Set the gallery ShowUp.gallery = []; ShowUp.galleryCount = 0; if(ShowUp.options.gallery != null) { ShowUp.gallery = ShowUp.options.gallery; elements = $(element); } else { var rel = element.attr('rel'); elements = rel ? $('a[rel=' + rel + ']') : $(element); elements.each(function(i, item) { ShowUp.gallery.push($(item).attr('href')); ShowUp.galleryCount++; }); // Mark pointer var href = element.attr('href'); for(var i=0; i<ShowUp.galleryCount; i++) { if(ShowUp.gallery[i] == href) { ShowUp.galleryPointer = i; break; } } } //ShowUp.galleryCount = ShowUp.gallery.length; // Invoke listener options = ShowUp.triggerEvent('onClick', options, element, elements, ShowUp.gallery, ShowUp.galleryPointer); // Show overlay ShowUp.showContent(this.getSlide()); ShowUp.showOverlay(); // Execute autoplay if requested if(ShowUp.options.autoplay != false && (ShowUp.options.loop || ShowUp.galleryPointer < ShowUp.galleryCount - 1)) { ShowUp.goPlay(null, null, true); } }, /** * Loads the transition from the server. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ loadTransitions: function(force) { // Load transitions for(var transition in ShowUp.options.transitions) { if((force || $.inArray(transition, ShowUp.loadingTransitions) == -1) && typeof ShowUpTransition[transition] == 'undefined') { ShowUp.loadingTransitions.push(transition); $.getScript(ShowUp.options.path + 'transitions/showup.' + transition + '.js'); } } }, /** * Build the frame for the ShowUp. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ buildPanel: function(rebuild) { var self = this; // If it is already loading if(ShowUp.building) { return; } ShowUp.building = true; // Get transitions ShowUp.loadTransitions(false); // Append theme js $.getScript(ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/theme.js', function(data, textStatus, jqxhr) { // Setup theme self.setupTheme(); // Rebuild panel from the scratch if(rebuild == true) { $('#ShowUpWrapper').remove(); } // If no panel is active create one if($('#ShowUpPanel').length == 0) { var panel = $('<div id="ShowUpPanel">'); var overlay = $('<div id="ShowUpOverlay">'); var container = $('<div id="ShowUpContainer">'); // Load the theme labels and options ShowUp.theme.labels = $.extend({}, ShowUp.theme.labels, ShowUp.options.theme.labels); ShowUp.theme.options = $.extend({}, ShowUp.theme.options, ShowUp.options.theme.options); // Load color scheme $.get( ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/theme.html', function(response) { // Put the labels if(ShowUp.theme.labels) { for(var key in ShowUp.theme.labels) { ShowUp.theme.options['label:' + key] = ShowUp.theme.labels[key]; } } // Set the options ShowUp.theme.options.path = ShowUp.options.path; for(var key in ShowUp.theme.options) if(typeof ShowUp.theme.options[key] != 'object') { response = response.replace(new RegExp('{\\$' + key + '}', 'g'), ShowUp.theme.options[key]); } // Add the theme response += '<link href="' + ShowUp.options.path + 'themes/' + ShowUp.options.theme.name + '/' + ShowUp.options.theme.colorscheme + '.colorscheme.css" type="text/css" rel="stylesheet" media="all" />'; // Append to panel panel = ShowUp.triggerEvent('init', panel.html(response)); // Attach viewport ShowUp.DOM.viewport = $('#ShowUpViewport'); // Hover and touch events on viewpoint ShowUp.DOM.viewpoint = $('#ShowUpViewpoint'); ShowUp.DOM.viewpoint .on('mouseenter', function() { ShowUp.triggerEvent('onHoverIn'); }) .on('mouseleave', function() { ShowUp.triggerEvent('onHoverOut'); }) .on('touchstart', function(e) { ShowUp._touchSliding = false; ShowUp._touchStart = e.originalEvent.touches[0].screenX; }) .on('touchmove', function(e) { e.preventDefault(); if (ShowUp._touchSliding || !ShowUp._touchStart || ShowUp._touchStart < 0 || Math.abs(ShowUp._touchStart - e.originalEvent.touches[0].screenX) < 50) { return false; } else { if (ShowUp._touchStart > e.originalEvent.touches[0].screenX) { ShowUp.goNext(); } else if (ShowUp._touchStart < e.originalEvent.touches[0].screenX) { ShowUp.goPrev(); } ShowUp._touchSliding = true; return true; } }) .on('touchend', function(e) { ShowUp._touchSliding = false; }); ShowUp.building = false; } ); // Actions overlay.on('click', function () { ShowUp.overlayClick(); }); // Base css var style = '/* Necessary styling for ShowUp, please use external CSS to adapt */\n'; style += '#ShowUpWrapper { z-index: 3000; }\n'; style += '#ShowUpPanel { z-index: 3001; display: none; overflow: visible!important; }\n'; style += '#ShowUpOverlay { position: absolute; left: 0; top: 0; z-index: 3000; opacity: 0; transition: opacity 400ms ease; }\n'; style += '#ShowUpViewport { position: relative; z-index: 3002; }\n'; style += '#ShowUpContainer { position: absolute; left: -5000px; top: -5000px; overflow: hidden; }\n'; style += '#ShowUpViewport .final { width: 100%; height: 100%; }\n'; style += '#ShowUpPanel a { outline: none!important; }\n'; style += '#ShowUpViewport .obsolete { overflow: hidden; z-index: 3005; }\n'; style += '#ShowUpViewport .slice { position: absolute; overflow: hidden; z-index: 3006; '; style += '-webkit-transform: translateZ(0);'; style += '-webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; '; style += '-webkit-perspective: 1000; -moz-perspective: 1000; -ms-perspective: 1000; perspective: 1000; '; style += '}\n'; style += '#ShowUpViewport .slice .relative { position: relative; }\n'; // Append elements to document $('body').append($('<div id="ShowUpWrapper">').append('<style>' + style + '</style>').append(panel).append(overlay).append(container)); panel = ShowUp.triggerEvent('onCreatePanel', panel); } // Init DOM elements ShowUp.DOM.wrap = $('#ShowUpWrapper'); ShowUp.DOM.panel = $('#ShowUpPanel'); ShowUp.DOM.overlay = $('#ShowUpOverlay'); ShowUp.DOM.container = $('#ShowUpContainer'); }); }, /** * Initialize theme. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ setupTheme : function(options) { this.registeredEvents = this.getRegisteredTemplate(); ShowUp.theme = ShowUpTheme[ShowUp.options.theme.name]; if(options) { ShowUp.options = $.extend(ShowUp.options, ShowUp.theme); } // Default theme if(typeof ShowUp.theme == 'undefined') { ShowUp.theme = { name: 'default', colorscheme: 'light', options: { pauseOnHover: true }, labels: { image: 'Image' } }; } // Set up the theme for(var i in ShowUp.theme) { if(typeof ShowUp.theme[i] == 'function' && typeof ShowUp.registeredEvents[i] != 'undefined') { ShowUp.registeredEvents[i].push(ShowUp.theme[i]); ShowUp.theme[i] = null; } } // Initialize events for(var i in ShowUp.options) { if(typeof ShowUp.options[i] == 'function' && typeof ShowUp.registeredEvents[i] != 'undefined') { ShowUp.registeredEvents[i].push(ShowUp.options[i]); } } }, /** * Called when the overlay has been clicked. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ overlayClick: function() { ShowUp.triggerEvent('onOverlayClick'); if(ShowUp.options.overlay.closeOnClick) { ShowUp.hide(); } }, /** * Sets the slices from the content, using the specified transition. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ setSlices: function(transition, content, width, height) { // Make sure we have default options if(typeof transition.options == 'undefined') transition.options = {}; transition.options = $.extend({ duration: 1 }, transition.options); // Make sure we have defaults variable if(typeof transition.defaults == 'undefined') transition.defaults = {}; if(typeof transition.setDefaults == 'function') { transition.defaults = transition.setDefaults(content, width, height); } // Fill up missing defaults values transition.defaults = $.extend({ x: 0, y: 0, w: 1, h: 1, delay: 0, speed: transition.options.speed, easing: transition.options.easing }, transition.defaults); // Initially create slices and fill with dafault values if needed var slices = transition.apply(content, width, height); for(var i in slices) { if(typeof slices[i].x == 'undefined') slices[i].x = transition.defaults.x; if(typeof slices[i].y == 'undefined') slices[i].y = transition.defaults.y; if(typeof slices[i].w == 'undefined') slices[i].w = transition.defaults.w + 1; if(typeof slices[i].h == 'undefined') slices[i].h = transition.defaults.h + 1; // Default values for animations for(var c in slices[i].animations) { if(typeof slices[i].animations[c].speed == 'undefined') slices[i].animations[c].speed = transition.defaults.speed; if(typeof slices[i].animations[c].easing == 'undefined') slices[i].animations[c].easing = transition.defaults.easing; } } return slices; }, /** * Show content. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showContent: function(href) { // Trigger onShow href = ShowUp.triggerEvent('onShow', href, ShowUp.gallery, ShowUp.galleryPointer); // Show wrapper ShowUp.DOM.wrap.show(); // Detect content if(href.match(/\.(jpe?g|gif|png)$/i)) { ShowUp.showImage(href); } else if(href.match(/^#/)) { ShowUp.showHTML(href); } }, /** * Get the currently active slide. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ getSlide : function() { return ShowUp.gallery[ShowUp.galleryPointer]; }, /** * Show image from element. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showImage: function(href) { var self = this; var image = $('<img>'); ShowUp.loaderTimer = setTimeout(function() { self.showLoader(); }, 100); image.on('load', function() { ShowUp.animateContent(image); // Trigger onShown event ShowUp.triggerEvent('onShown', href, ShowUp.gallery, ShowUp.galleryPointer); }); image = ShowUp.triggerEvent('onShowImage', image, href); image.attr('src', href); }, /** * Show HTML as popup. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ showHTML: function(href) { var HTML = $(href).show(); HTML = ShowUp.triggerEvent('onShowHTML', HTML, href); //