.cq-skewbox { overflow: hidden; position: relative; height: 320px; } .cq-skewbox-item { position: absolute; left: 0; top: 0; height: 100%; width: 100%; transform-style: preserve-3d; /*z-index: 1;*/ /*background-color: rgba(0,0,0,0.5);*/ } .cq-skewbox-cover { position: absolute; top: 0; width: 50%; height: 100%; transition: transform 0.8s; } .cq-skewbox-cover-left { left: 0; transform: translate3d(-32.4vh, 100%, 0); } .cq-skewbox-cover-right { left: 50%; transform: translate3d(32.4vh, -100%, 0); } .cq-skewbox-item.active .cq-skewbox-cover { transform: translate3d(0, 0, 0); } .cq-skewbox-item.active{ z-index: 2; } .cq-skewbox-item.inactive { z-index: 1; } .cq-skewbox-skewed { overflow: hidden; position: absolute; top: 0; width: 140%; height: 100%; transform: skewX(-18deg); } .cq-skewbox-cover-left .cq-skewbox-skewed { left: -40%; } .cq-skewbox-cover-right .cq-skewbox-skewed { right: -40%; } .cq-skewbox-content { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; -ms-flex-flow: column wrap; flex-flow: column wrap; position: absolute; left: 0; top: 0; width: 100%; height: 100%; /*padding: 0 30%;*/ color: #fff; transform: skewX(18deg); transition: transform 0.8s, opacity 0.8s; background-color: #656D78; background-size: cover; text-align: center; } .cq-skewbox-cover-left .cq-skewbox-content { transform-origin: 100% 0; } .cq-skewbox-cover-right .cq-skewbox-content { transform-origin: 0 100%; } .cq-skewbox-item.inactive .cq-skewbox-content { /*opacity: 0.5;*/ opacity: 0; transform: skewX(18deg) scale(0.95); } .cq-skewbox h3.cq-skewbox-title { margin-bottom: 14px; font-size: 1.5em; text-align: center; padding: 4px 8px; color: #FFF; /*background-color: rgba(0, 0, 0, 0.6);*/ /*border-radius: 4px;*/ max-width: 60%; line-height: 140%; } .cq-skewbox .cq-skewbox-label { margin: 0; font-size: 1em; padding: 4px 8px; text-align: center; max-width: 60%; line-height: 140%; } .cq-skewbox.square .cq-skewbox-title, .cq-skewbox.square .cq-skewbox-label { border-radius: 0px; } .cq-skewbox.roundsmall .cq-skewbox-title, .cq-skewbox.roundsmall .cq-skewbox-label { border-radius: 4px; } .cq-skewbox.roundlarge .cq-skewbox-title, .cq-skewbox.roundlarge .cq-skewbox-label { border-radius: 8px; } .cq-skewbox .cq-skewbox-content.light-grapefruit { background-color: #ED5565; } .cq-skewbox .cq-skewbox-content.dark-grapefruit { background-color: #DA4453; } .cq-skewbox .cq-skewbox-content.light-bittersweet { background-color: #FC6E51; } .cq-skewbox .cq-skewbox-content.dark-bittersweet { background-color: #E9573F; } .cq-skewbox .cq-skewbox-content.light-sunflower { background-color: #FFCE54; } .cq-skewbox .cq-skewbox-content.dark-sunflower { background-color: #F6BB42; } .cq-skewbox .cq-skewbox-content.light-grass { background-color: #A0D468; } .cq-skewbox .cq-skewbox-content.dark-grass { background-color: #8CC152; } .cq-skewbox .cq-skewbox-content.light-mint { background-color: #48CFAD; } .cq-skewbox .cq-skewbox-content.dark-mint { background-color: #37BC9B; } .cq-skewbox .cq-skewbox-content.light-aqua { background-color: #4FC1E9; } .cq-skewbox .cq-skewbox-content.dark-aqua { background-color: #3BAFDA; } .cq-skewbox .cq-skewbox-content.light-lavender { background-color: #AC92EC; } .cq-skewbox .cq-skewbox-content.dark-lavender { background-color: #967ADC; } .cq-skewbox .cq-skewbox-content.light-bluejeans { background-color: #5D9CEC; } .cq-skewbox .cq-skewbox-content.dark-bluejeans { background-color: #4A89DC; } .cq-skewbox .cq-skewbox-content.light-pinkrose { background-color: #EC87C0; } .cq-skewbox .cq-skewbox-content.dark-pinkrose { background-color: #D770AD; } .cq-skewbox .cq-skewbox-content.medium-gray { background-color: #656D78; } .cq-skewbox .cq-skewbox-content.dark-gray { background-color: #434A54; } .cq-skewbox .cq-skewbox-content.light-gray { background-color: #E6E9ED; } .cq-skewbox .cq-skewbox-content.white { background-color: #FFF; } .cq-skewbox .cq-skewbox-content.transparent { background-color: none; } .cq-skewbox-upnav { cursor: pointer; position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #333; top: 24px; z-index: 999999; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity 0.8s; } .cq-skewbox-downnav { cursor: pointer; position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #333; bottom: 24px; z-index: 999999; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity 0.8s; } .cq-skewbox:hover .cq-skewbox-upnav, .cq-skewbox:hover .cq-skewbox-downnav{ opacity: 1; } .cq-skewbox-downnav .cq-skewbox-icon, .cq-skewbox-upnav .cq-skewbox-icon { display: block; width: 100%; height: 100%; line-height: 48px; text-align: center; font-size: 18px; color: #FFF; } /* Extended Attributes ------------------------------------------------ */ .woocommerce div.product form.cart .variations td { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } .woocommerce div.product form.cart .variations tr+tr td.label { padding: 1em 0 0; } .trx_addons_attrib_item { cursor:pointer !important; } .trx_addons_attrib_item span { overflow:hidden; display:block; } /* Image */ .trx_addons_attrib_item.trx_addons_attrib_image { display:inline-block; vertical-align:top; margin-right: 1em; padding: 5px; border: 1px solid #ddd; background-color: #fff; } .trx_addons_attrib_item.trx_addons_attrib_image img { width: 70px; height: auto; } /* Color */ .trx_addons_attrib_item.trx_addons_attrib_color { display:inline-block; vertical-align:top; margin-right: 0.5em; padding: 3px; border: 1px solid #ddd; background-color: #fafafa; } .trx_addons_attrib_item.trx_addons_attrib_color span { display:block; width: 30px; height: 30px; } /* Button */ .trx_addons_attrib_item.trx_addons_attrib_button { display:inline-block; vertical-align:top; margin-right: 0.5em; padding: 3px; border: 1px solid #ddd; background-color: #fafafa; } .trx_addons_attrib_item.trx_addons_attrib_button span { padding: 0.5em 1.5em; } /* Selected items */ .trx_addons_attrib_item.trx_addons_attrib_selected { background-color: #f0f0f0; border-color: red; } /* Disabled items */ .trx_addons_attrib_item.trx_addons_attrib_disabled { cursor:not-allowed !important; } .trx_addons_attrib_item.trx_addons_attrib_disabled span { position: relative; } .trx_addons_attrib_item.trx_addons_attrib_disabled span:before, .trx_addons_attrib_item.trx_addons_attrib_disabled span:after { content: ' '; position:absolute; top: 50%; left: -20%; width: 140%; height: 1px; background-color: #f0f0f0; -webkit-transform:rotate(-45deg); -moz-transform:rotate(-45deg); -ms-transform:rotate(-45deg); transform:rotate(-45deg); } .trx_addons_attrib_item.trx_addons_attrib_disabled span:after { -webkit-transform:rotate(45deg); -moz-transform:rotate(45deg); -ms-transform:rotate(45deg); transform:rotate(45deg); } /* Third-party plugins ------------------------------------------------------ */ .yith_magnifier_zoom_wrap .yith_magnifier_zoom_magnifier { border-width: 1px; margin-left:4px; } .yith_magnifier_gallery li + li { padding-left: 20px; } .yith_magnifier_gallery li a { margin-left:0; margin-right: 0; }!function(a,b,c,d){"use strict";function n(b,c){this.element=b;var d={};a.each(a(this.element).data(),function(a,b){var c=function(a){return a&&a[0].toLowerCase()+a.slice(1)},e=c(a.replace("fluidbox",""));(""!==e||null!==e)&&(b="false"==b?!1:!0,d[e]=b)}),this.settings=a.extend({},h,c,d),this.settings.viewportFill=Math.max(Math.min(parseFloat(this.settings.viewportFill),1),0),this.settings.stackIndex",{"class":"fluidbox__wrap",css:{zIndex:this.settings.stackIndex-this.settings.stackIndexDelta}});if(a(this.element).addClass("fluidbox--closed").wrapInner(b).find("img").first().css({opacity:1}).addClass("fluidbox__thumb").after('
'),this.settings.loader){var c=a("
",{"class":"fluidbox__loader",css:{zIndex:2}});a(this.element).find(".fluidbox__wrap").append(c)}},prepareFb:function(){var b=this,c=a(this.element);c.trigger("thumbloaddone.fluidbox"),o.measure.fbElements.call(this),b.bindEvents(),c.addClass("fluidbox--ready"),b.bindListeners(),c.trigger("ready.fluidbox")},measure:{viewport:function(){i.viewport={w:e.width(),h:e.height()}},fbElements:function(){var b=this,c=a(this.element),d=c.find("img").first(),e=c.find(".fluidbox__ghost"),f=c.find(".fluidbox__wrap");b.instanceData.thumb={natW:d[0].naturalWidth,natH:d[0].naturalHeight,w:d.width(),h:d.height()},e.css({width:d.width(),height:d.height(),top:d.offset().top-f.offset().top+parseInt(d.css("borderTopWidth"))+parseInt(d.css("paddingTop")),left:d.offset().left-f.offset().left+parseInt(d.css("borderLeftWidth"))+parseInt(d.css("paddingLeft"))})}},checkURL:function(a){var b=0;return/[\s+]/g.test(a)?(console.warn("Fluidbox: Fluidbox opening is halted because it has detected characters in your URL string that need to be properly encoded/escaped. Whitespace(s) have to be escaped manually. See RFC3986 documentation."),b=1):/[\"\'\(\)]/g.test(a)&&(console.warn("Fluidbox: Fluidbox opening will proceed, but it has detected characters in your URL string that need to be properly encoded/escaped. These will be escaped for you. See RFC3986 documentation."),b=0),b},formatURL:function(a){return a.replace(/"/g,"%22").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}};a.extend(n.prototype,{init:function(){var b=this,c=a(this.element),d=c.find("img").first();if(o.measure.viewport(),(!b.instanceData||!b.instanceData.initialized)&&c.is("a")&&1===c.children().length&&(c.children().is("img")||c.children().is("picture")&&1===c.find("img").length)&&"none"!==c.css("display")&&"none"!==c.children().css("display")&&"none"!==c.parents().css("display")){c.removeClass("fluidbox--destroyed"),b.instanceData={},b.instanceData.initialized=!0,b.instanceData.originalNode=c.html(),k+=1,b.instanceData.id=k,c.addClass("fluidbox__instance-"+k),c.addClass("fluidbox--initialized"),o.dom.call(b),c.trigger("init.fluidbox");var e=new Image;d.width()>0&&d.height()>0?o.prepareFb.call(b):(e.onload=function(){o.prepareFb.call(b)},e.onerror=function(){c.trigger("thumbloadfail.fluidbox")},e.src=d.attr("src"))}},open:function(){var b=this,c=a(this.element),d=c.find("img").first(),e=c.find(".fluidbox__ghost"),f=c.find(".fluidbox__wrap");b.instanceData.state=1,e.off(m),a(".fluidbox--opened").fluidbox("close");var g=a("
",{"class":"fluidbox__overlay",css:{zIndex:-1}});if(f.append(g),c.removeClass("fluidbox--closed").addClass("fluidbox--loading"),o.checkURL(d.attr("src")))return b.close(),!1;e.css({"background-image":"url("+o.formatURL(d.attr("src"))+")",opacity:1}),o.measure.fbElements.call(b);var h;b.settings.immediateOpen?(c.addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:b.settings.stackIndex+b.settings.stackIndexDelta}),c.trigger("openstart.fluidbox"),b.compute(),d.css({opacity:0}),a(".fluidbox__overlay").css({opacity:1}),e.one(m,function(){c.trigger("openend.fluidbox")}),h=new Image,h.onload=function(){if(1===b.instanceData.state){if(b.instanceData.thumb.natW=h.naturalWidth,b.instanceData.thumb.natH=h.naturalHeight,c.removeClass("fluidbox--loading"),o.checkURL(h.src))return b.close(),!1;e.css({"background-image":"url("+o.formatURL(h.src)+")"}),b.compute()}},h.onerror=function(){b.close(),c.trigger("imageloadfail.fluidbox"),c.trigger("delayedloadfail.fluidbox")},h.src=c.attr("href")):(h=new Image,h.onload=function(){return c.removeClass("fluidbox--loading").addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:b.settings.stackIndex+b.settings.stackIndexDelta}),c.trigger("openstart.fluidbox"),o.checkURL(h.src)?(b.close(),!1):(e.css({"background-image":"url("+o.formatURL(h.src)+")"}),b.instanceData.thumb.natW=h.naturalWidth,b.instanceData.thumb.natH=h.naturalHeight,b.compute(),d.css({opacity:0}),a(".fluidbox__overlay").css({opacity:1}),void e.one(m,function(){c.trigger("openend.fluidbox")}))},h.onerror=function(){b.close(),c.trigger("imageloadfail.fluidbox")},h.src=c.attr("href"))},compute:function(){var b=this,c=a(this.element),d=c.find("img").first(),f=c.find(".fluidbox__ghost"),g=c.find(".fluidbox__wrap"),h=b.instanceData.thumb.natW,j=b.instanceData.thumb.natH,k=b.instanceData.thumb.w,l=b.instanceData.thumb.h,m=h/j,n=i.viewport.w/i.viewport.h;b.settings.maxWidth>0?(h=b.settings.maxWidth,j=h/m):b.settings.maxHeight>0&&(j=b.settings.maxHeight,h=j*m);var o,p,q,r,s;n>m?(o=j").attr("src", $(img).attr("src")).load(function() { pic_real_width = this.width; // Note: $(this).width() will not pic_real_height = this.height; // work for in memory images. _ratio = pic_real_height/pic_real_width; _this.css('height', _this.width()*_ratio); _cat.css('height', _this.width()*_ratio); $(window).on('resize', function(event) { _this.css('height', _this.width()*_ratio); _cat.css('height', _this.width()*_ratio); }); var _catNum = _cat.find('li.productcover-thumb').length; var _ulHeight; _cat.find('li.productcover-thumb').each(function(index) { _ulHeight = $(this).find('img').height(); $(this).css({ 'width': 1/_catNum*100+'%', 'left': index/_catNum*100+'%' }); // $(this).find('a').fluidbox({ // stackIndex: 1000 // }); if(_onclick=="link_image"){ $(this).find('a.productcover-link').attr('rel', 'gallery' + _index); $(this).find('a.productcover-link').boxer({ // minWidth: _minWidth, fixed : true }); }else if(_onclick=="link_image_current"){ $(this).on('click', function(event) { var _thumburl = $(this).find('img').data('largeimage'); $('.cover-image', _this).attr('src', _thumburl).addClass('cover-image'); }).css('cursor', 'pointer');; } }); _cat.on('mouseover', function(event) { $(this).find('ul').css({ top: _thumbtop }); $(this).find('span.productcover-caption').css({ top: _captiontop }); }).on('mouseleave', function(event) { $(this).find('ul').css({ top: '120%' }); $(this).find('span.productcover-caption').css({ top: '100%' }); }); }); }); }); .cqtooltip-wrapper{position:relative;margin:0 auto}.cqtooltip-wrapper img{width:100%;height:auto}.tooltipster-content p{line-height:140%;margin:4px 0}.tooltipster-content h2,.tooltipster-content h3,.tooltipster-content h4,.tooltipster-content h5{margin:4px 0 6px}.cq-hotspots{position:absolute;left:0;top:0;width:100%;height:100%;background-size:contain;z-index:100}.cq-hotspots .hotspot-item{position:absolute}.cq-hotspots .hotspot-item a{width:24px;height:24px;border:2px solid rgba(255,255,255,.4);color:#fff;text-decoration:none;position:absolute;left:auto;top:auto;border-radius:100%;-moz-transition:all .2s ease-out 0;-o-transition:all .2s ease-out 0;-webkit-transition:all .2s ease-out;-webkit-transition-delay:0;transition:all .2s ease-out 0}.cq-hotspots .hotspot-item.pulse-white a{border:none;-webkit-animation:pulse-white 2s ease-out infinite;-moz-animation:pulse-white 2s ease-out infinite;animation:pulse-white 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-gray a{border:none;-webkit-animation:pulse-gray 2s ease-out infinite;-moz-animation:pulse-gray 2s ease-out infinite;animation:pulse-gray 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-red a{border:none;-webkit-animation:pulse-red 2s ease-out infinite;-moz-animation:pulse-red 2s ease-out infinite;animation:pulse-red 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-green a{border:none;-webkit-animation:pulse-green 2s ease-out infinite;-moz-animation:pulse-green 2s ease-out infinite;animation:pulse-green 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-yellow a{border:none;-webkit-animation:pulse-yellow 2s ease-out infinite;-moz-animation:pulse-yellow 2s ease-out infinite;animation:pulse-yellow 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-blue a{border:none;-webkit-animation:pulse-blue 2s ease-out infinite;-moz-animation:pulse-blue 2s ease-out infinite;animation:pulse-blue 2s ease-out infinite}.cq-hotspots .hotspot-item.pulse-purple a{border:none;-webkit-animation:pulse-purple 2s ease-out infinite;-moz-animation:pulse-purple 2s ease-out infinite;animation:pulse-purple 2s ease-out infinite}.cq-hotspots .hotspot-item a:hover{-moz-transform:scale(1.2,1.2);-ms-transform:scale(1.2,1.2);-webkit-transform:scale(1.2,1.2);transform:scale(1.2,1.2);-webkit-animation:none;-moz-animation:none;animation:none}.cq-hotspots .hotspot-item a span{width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:100%;position:absolute;display:block;background:#FFF;left:50%;top:50%}.cq-hotspots .hotspot-item a i{display:block;font-size:12px;position:relative;width:100%;text-align:center;font-style:normal;color:#fff;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.cq-hotspots .hotspot-item.cq-pulse a i{margin-top:6px}.cq-hotspots .hotspot-item a:focus{outline:0}@-webkit-keyframes pulse-white{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,255,255,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,255,255,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,255,255,0)}}@-moz-keyframes pulse-white{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,215,0,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,215,0,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,215,0,0)}}@keyframes pulse-white{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,255,255,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,255,255,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,255,255,0)}}@-webkit-keyframes pulse-red{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,69,0,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,69,0,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,69,0,0)}}@-moz-keyframes pulse-red{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,69,0,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,69,0,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,69,0,0)}}@keyframes pulse-red{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,69,0,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,69,0,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,69,0,0)}}@-webkit-keyframes pulse-green{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(50,205,50,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(50,205,50,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(50,205,50,0)}}@-moz-keyframes pulse-green{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(50,205,50,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(50,205,50,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(50,205,50,0)}}@keyframes pulse-green{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(50,205,50,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(50,205,50,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(50,205,50,0)}}@-webkit-keyframes pulse-yellow{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,215,0,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,215,0,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(255,215,0,0)}}@-moz-keyframes pulse-yellow{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,215,0,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,215,0,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(255,215,0,0)}}@keyframes pulse-yellow{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,215,0,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,215,0,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(255,215,0,0)}}@-webkit-keyframes pulse-gray{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(127,127,127,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(127,127,127,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(127,127,127,0)}}@-moz-keyframes pulse-gray{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(127,127,127,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(127,127,127,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(127,127,127,0)}}@keyframes pulse-gray{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(127,127,127,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(127,127,127,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(127,127,127,0)}}@-webkit-keyframes pulse-blue{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(0,191,255,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(0,191,255,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(0,191,255,0)}}@-moz-keyframes pulse-blue{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(0,191,255,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(0,191,255,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(0,191,255,0)}}@keyframes pulse-blue{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(0,191,255,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(0,191,255,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(0,191,255,0)}}@-webkit-keyframes pulse-purple{0%{-webkit-transform:scale(1);box-shadow:0 0 rgba(160,32,240,1)}50%{-webkit-transform:scale(1.1);box-shadow:0 0 0 8px rgba(160,32,240,0)}100%{-webkit-transform:scale(1);box-shadow:0 0 rgba(160,32,240,0)}}@-moz-keyframes pulse-purple{0%{-moz-transform:scale(1);box-shadow:0 0 rgba(160,32,240,1)}50%{-moz-transform:scale(1.1);box-shadow:0 0 0 8px rgba(160,32,240,0)}100%{-moz-transform:scale(1);box-shadow:0 0 rgba(160,32,240,0)}}@keyframes pulse-purple{0%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(160,32,240,1)}50%{-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1);box-shadow:0 0 0 8px rgba(160,32,240,0)}100%{-moz-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);box-shadow:0 0 rgba(160,32,240,0)}}@media screen and (min-width:320px) and (max-width:479px){.cq-hotspots .hotspot-item a{width:16px;height:16px}.cq-hotspots .hotspot-item a span{width:4px;height:4px;margin:-2px 0 0 -2px}.cq-hotspots .hotspot-item a i{font-style:normal;font-size:10px}}@media only screen and (min-width:160px) and (max-width:319px){.cq-hotspots .hotspot-item a{width:14px;height:14px}.cq-hotspots .hotspot-item a span{width:4px;height:4px;margin:-2px 0 0 -2px}.cq-hotspots .hotspot-item a i{font-style:normal;font-size:10px}}.cq-ribbon-container { /*border-radius: 4px;*/ /*width: 300px;*/ background-color: #fff; width: 100%; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); position: relative; /*max-width: 420px;*/ } .cq-ribbon-content .cq-ribbon-text{ margin: 8px 0 0 0; padding: 4px 18px 10px 18px; } .cq-ribbon-content img{ margin: 0; padding: 0; border-radius: 0; /*border-top-left-radius: 4px;*/ /*border-top-right-radius: 4px;*/ /*border-bottom-right-radius: 0;*/ /*border-bottom-left-radius: 0;*/ box-shadow: none; } /*img { border-radius: 10px; max-width: 300px; display: block; } */ .cq-ribbon { width: 100px; height: 100px; /*background: rgba(0,0,0,.4);*/ overflow: hidden; position: absolute; z-index: 1002; } .cq-ribbon.left { } .cq-ribbon.right { right: 0px; } .cq-ribbon > .cq-ribbon-bg { font: bold 15px sans-serif; color: #EFEFEF; text-align: center; position: relative; padding: 7px 0; width: 120px; background-color: #bd0f23; /*background-image: -webkit-linear-gradient(top, #f04256, #bd0f23);*/ /*background-image: -moz-linear-gradient(top, #f04256, #bd0f23);*/ /*background-image: linear-gradient(top, #f04256, #bd0f23);*/ } .cq-ribbon.left > .cq-ribbon-bg { top: 15px; left: -30px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); } .cq-ribbon.right > .cq-ribbon-bg { top: 15px; right: -30px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg); } .cq-ribbon a, .cq-ribbon a:visited{ color: #5f0812; text-decoration: none; } .cq-ribbon2 { font-size: 16px !important; /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */ width: 70%; /*width: auto;*/ position: relative; background: #ba89b6; color: #fff; text-align: center; padding: 1em 2em; /* Adjust to suit */ margin: 2em auto 3em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */ } .cq-ribbon2:before, .cq-ribbon2:after { content: ""; position: absolute; display: block; bottom: -1em; border: 1.5em solid #986794; /*z-index: -1;*/ /*z-index: 0;*/ } .cq-ribbon2:before { left: -2em; border-right-width: 1.5em; border-left-color: transparent; } .cq-ribbon2:after { right: -2em; border-left-width: 1.5em; border-right-color: transparent; } .cq-ribbon2 .cq-ribbon2-content:before, .cq-ribbon2 .cq-ribbon2-content:after { content: ""; position: absolute; display: block; border-style: solid; border-color: #804f7c transparent transparent transparent; bottom: -1em; } .cq-ribbon2 .cq-ribbon2-content:before { left: 0; border-width: 1em 0 0 1em; } .cq-ribbon2 .cq-ribbon2-content:after { right: 0; border-width: 1em 1em 0 0; } .cq-ribbon3, .cq-ribbon4 { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); position: absolute; padding: 0px 8px; margin: 10px -10px 20px -10px; font-size: 14px; text-align: center; color: #fff; background: #e74c3c; zoom: 1; z-index: 1002; } .cq-ribbon4{ right: 0; } .cq-ribbon3 a, .cq-ribbon4 a{ text-decoration: none; } .cq-ribbon3 a:visited, .cq-ribbon4 a:visited{ color: #efefef; } /* .cq-ribbon3:before { content: ""; position: absolute; top: 100%; left: 0; border-width: 0 10px 10px 0; border-style: solid; border-color: transparent #d62c1a; } */ .cq-ribbon3 > div.arrow { position: absolute; content: ""; top: 100%; left: 0px; border-width: 0 10px 10px 0; border-style: solid; border-color: transparent #d62c1a; } .cq-ribbon4 > div.arrow { position: absolute; content: ""; left: auto; right: 0; border-width: 0 0 10px 10px; border-style: solid; border-color: transparent #d62c1a; } /*.cq-ribbon3:after { left: auto; right: 0; border-width: 0 0 10px 10px; } */ /* * jQuery Mobile v1.4.5 * http://jquerymobile.com * * Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery" ], function ( $ ) { factory( $, root, doc ); return $.mobile; }); } else { // Browser globals factory( root.jQuery, root, doc ); } }( this, document, function ( jQuery, window, document, undefined ) {// This plugin is an experiment for abstracting away the touch and mouse // events so that developers don't have to worry about which method of input // the device their document is loaded on supports. // // The idea here is to allow the developer to register listeners for the // basic mouse events, such as mousedown, mousemove, mouseup, and click, // and the plugin will take care of registering the correct listeners // behind the scenes to invoke the listener at the fastest possible time // for that device, while still retaining the order of event firing in // the traditional mouse environment, should multiple handlers be registered // on the same element for different events. // // The current version exposes the following virtual events to jQuery bind methods: // "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel" (function( $, window, document, undefined ) { var dataPropertyName = "virtualMouseBindings", touchTargetPropertyName = "virtualTouchID", virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split( " " ), touchEventProps = "clientX clientY pageX pageY screenX screenY".split( " " ), mouseHookProps = $.event.mouseHooks ? $.event.mouseHooks.props : [], mouseEventProps = $.event.props.concat( mouseHookProps ), activeDocHandlers = {}, resetTimerID = 0, startX = 0, startY = 0, didScroll = false, clickBlockList = [], blockMouseTriggers = false, blockTouchTriggers = false, eventCaptureSupported = "addEventListener" in document, $document = $( document ), nextTouchID = 1, lastTouchID = 0, threshold, i; $.vmouse = { moveDistanceThreshold: 10, clickDistanceThreshold: 10, resetTimerDuration: 1500 }; function getNativeEvent( event ) { while ( event && typeof event.originalEvent !== "undefined" ) { event = event.originalEvent; } return event; } function createVirtualEvent( event, eventType ) { var t = event.type, oe, props, ne, prop, ct, touch, i, j, len; event = $.Event( event ); event.type = eventType; oe = event.originalEvent; props = $.event.props; // addresses separation of $.event.props in to $.event.mouseHook.props and Issue 3280 // https://github.com/jquery/jquery-mobile/issues/3280 if ( t.search( /^(mouse|click)/ ) > -1 ) { props = mouseEventProps; } // copy original event properties over to the new event // this would happen if we could call $.event.fix instead of $.Event // but we don't have a way to force an event to be fixed multiple times if ( oe ) { for ( i = props.length, prop; i; ) { prop = props[ --i ]; event[ prop ] = oe[ prop ]; } } // make sure that if the mouse and click virtual events are generated // without a .which one is defined if ( t.search(/mouse(down|up)|click/) > -1 && !event.which ) { event.which = 1; } if ( t.search(/^touch/) !== -1 ) { ne = getNativeEvent( oe ); t = ne.touches; ct = ne.changedTouches; touch = ( t && t.length ) ? t[0] : ( ( ct && ct.length ) ? ct[ 0 ] : undefined ); if ( touch ) { for ( j = 0, len = touchEventProps.length; j < len; j++) { prop = touchEventProps[ j ]; event[ prop ] = touch[ prop ]; } } } return event; } function getVirtualBindingFlags( element ) { var flags = {}, b, k; while ( element ) { b = $.data( element, dataPropertyName ); for ( k in b ) { if ( b[ k ] ) { flags[ k ] = flags.hasVirtualBinding = true; } } element = element.parentNode; } return flags; } function getClosestElementWithVirtualBinding( element, eventType ) { var b; while ( element ) { b = $.data( element, dataPropertyName ); if ( b && ( !eventType || b[ eventType ] ) ) { return element; } element = element.parentNode; } return null; } function enableTouchBindings() { blockTouchTriggers = false; } function disableTouchBindings() { blockTouchTriggers = true; } function enableMouseBindings() { lastTouchID = 0; clickBlockList.length = 0; blockMouseTriggers = false; // When mouse bindings are enabled, our // touch bindings are disabled. disableTouchBindings(); } function disableMouseBindings() { // When mouse bindings are disabled, our // touch bindings are enabled. enableTouchBindings(); } function startResetTimer() { clearResetTimer(); resetTimerID = setTimeout( function() { resetTimerID = 0; enableMouseBindings(); }, $.vmouse.resetTimerDuration ); } function clearResetTimer() { if ( resetTimerID ) { clearTimeout( resetTimerID ); resetTimerID = 0; } } function triggerVirtualEvent( eventType, event, flags ) { var ve; if ( ( flags && flags[ eventType ] ) || ( !flags && getClosestElementWithVirtualBinding( event.target, eventType ) ) ) { ve = createVirtualEvent( event, eventType ); $( event.target).trigger( ve ); } return ve; } function mouseEventCallback( event ) { var touchID = $.data( event.target, touchTargetPropertyName ), ve; if ( !blockMouseTriggers && ( !lastTouchID || lastTouchID !== touchID ) ) { ve = triggerVirtualEvent( "v" + event.type, event ); if ( ve ) { if ( ve.isDefaultPrevented() ) { event.preventDefault(); } if ( ve.isPropagationStopped() ) { event.stopPropagation(); } if ( ve.isImmediatePropagationStopped() ) { event.stopImmediatePropagation(); } } } } function handleTouchStart( event ) { var touches = getNativeEvent( event ).touches, target, flags, t; if ( touches && touches.length === 1 ) { target = event.target; flags = getVirtualBindingFlags( target ); if ( flags.hasVirtualBinding ) { lastTouchID = nextTouchID++; $.data( target, touchTargetPropertyName, lastTouchID ); clearResetTimer(); disableMouseBindings(); didScroll = false; t = getNativeEvent( event ).touches[ 0 ]; startX = t.pageX; startY = t.pageY; triggerVirtualEvent( "vmouseover", event, flags ); triggerVirtualEvent( "vmousedown", event, flags ); } } } function handleScroll( event ) { if ( blockTouchTriggers ) { return; } if ( !didScroll ) { triggerVirtualEvent( "vmousecancel", event, getVirtualBindingFlags( event.target ) ); } didScroll = true; startResetTimer(); } function handleTouchMove( event ) { if ( blockTouchTriggers ) { return; } var t = getNativeEvent( event ).touches[ 0 ], didCancel = didScroll, moveThreshold = $.vmouse.moveDistanceThreshold, flags = getVirtualBindingFlags( event.target ); didScroll = didScroll || ( Math.abs( t.pageX - startX ) > moveThreshold || Math.abs( t.pageY - startY ) > moveThreshold ); if ( didScroll && !didCancel ) { triggerVirtualEvent( "vmousecancel", event, flags ); } triggerVirtualEvent( "vmousemove", event, flags ); startResetTimer(); } function handleTouchEnd( event ) { if ( blockTouchTriggers ) { return; } disableTouchBindings(); var flags = getVirtualBindingFlags( event.target ), ve, t; triggerVirtualEvent( "vmouseup", event, flags ); if ( !didScroll ) { ve = triggerVirtualEvent( "vclick", event, flags ); if ( ve && ve.isDefaultPrevented() ) { // The target of the mouse events that follow the touchend // event don't necessarily match the target used during the // touch. This means we need to rely on coordinates for blocking // any click that is generated. t = getNativeEvent( event ).changedTouches[ 0 ]; clickBlockList.push({ touchID: lastTouchID, x: t.clientX, y: t.clientY }); // Prevent any mouse events that follow from triggering // virtual event notifications. blockMouseTriggers = true; } } triggerVirtualEvent( "vmouseout", event, flags); didScroll = false; startResetTimer(); } function hasVirtualBindings( ele ) { var bindings = $.data( ele, dataPropertyName ), k; if ( bindings ) { for ( k in bindings ) { if ( bindings[ k ] ) { return true; } } } return false; } function dummyMouseHandler() {} function getSpecialEventObject( eventType ) { var realType = eventType.substr( 1 ); return { setup: function(/* data, namespace */) { // If this is the first virtual mouse binding for this element, // add a bindings object to its data. if ( !hasVirtualBindings( this ) ) { $.data( this, dataPropertyName, {} ); } // If setup is called, we know it is the first binding for this // eventType, so initialize the count for the eventType to zero. var bindings = $.data( this, dataPropertyName ); bindings[ eventType ] = true; // If this is the first virtual mouse event for this type, // register a global handler on the document. activeDocHandlers[ eventType ] = ( activeDocHandlers[ eventType ] || 0 ) + 1; if ( activeDocHandlers[ eventType ] === 1 ) { $document.bind( realType, mouseEventCallback ); } // Some browsers, like Opera Mini, won't dispatch mouse/click events // for elements unless they actually have handlers registered on them. // To get around this, we register dummy handlers on the elements. $( this ).bind( realType, dummyMouseHandler ); // For now, if event capture is not supported, we rely on mouse handlers. if ( eventCaptureSupported ) { // If this is the first virtual mouse binding for the document, // register our touchstart handler on the document. activeDocHandlers[ "touchstart" ] = ( activeDocHandlers[ "touchstart" ] || 0) + 1; if ( activeDocHandlers[ "touchstart" ] === 1 ) { $document.bind( "touchstart", handleTouchStart ) .bind( "touchend", handleTouchEnd ) // On touch platforms, touching the screen and then dragging your finger // causes the window content to scroll after some distance threshold is // exceeded. On these platforms, a scroll prevents a click event from being // dispatched, and on some platforms, even the touchend is suppressed. To // mimic the suppression of the click event, we need to watch for a scroll // event. Unfortunately, some platforms like iOS don't dispatch scroll // events until *AFTER* the user lifts their finger (touchend). This means // we need to watch both scroll and touchmove events to figure out whether // or not a scroll happenens before the touchend event is fired. .bind( "touchmove", handleTouchMove ) .bind( "scroll", handleScroll ); } } }, teardown: function(/* data, namespace */) { // If this is the last virtual binding for this eventType, // remove its global handler from the document. --activeDocHandlers[ eventType ]; if ( !activeDocHandlers[ eventType ] ) { $document.unbind( realType, mouseEventCallback ); } if ( eventCaptureSupported ) { // If this is the last virtual mouse binding in existence, // remove our document touchstart listener. --activeDocHandlers[ "touchstart" ]; if ( !activeDocHandlers[ "touchstart" ] ) { $document.unbind( "touchstart", handleTouchStart ) .unbind( "touchmove", handleTouchMove ) .unbind( "touchend", handleTouchEnd ) .unbind( "scroll", handleScroll ); } } var $this = $( this ), bindings = $.data( this, dataPropertyName ); // teardown may be called when an element was // removed from the DOM. If this is the case, // jQuery core may have already stripped the element // of any data bindings so we need to check it before // using it. if ( bindings ) { bindings[ eventType ] = false; } // Unregister the dummy event handler. $this.unbind( realType, dummyMouseHandler ); // If this is the last virtual mouse binding on the // element, remove the binding data from the element. if ( !hasVirtualBindings( this ) ) { $this.removeData( dataPropertyName ); } } }; } // Expose our custom events to the jQuery bind/unbind mechanism. for ( i = 0; i < virtualEventNames.length; i++ ) { $.event.special[ virtualEventNames[ i ] ] = getSpecialEventObject( virtualEventNames[ i ] ); } // Add a capture click handler to block clicks. // Note that we require event capture support for this so if the device // doesn't support it, we punt for now and rely solely on mouse events. if ( eventCaptureSupported ) { document.addEventListener( "click", function( e ) { var cnt = clickBlockList.length, target = e.target, x, y, ele, i, o, touchID; if ( cnt ) { x = e.clientX; y = e.clientY; threshold = $.vmouse.clickDistanceThreshold; // The idea here is to run through the clickBlockList to see if // the current click event is in the proximity of one of our // vclick events that had preventDefault() called on it. If we find // one, then we block the click. // // Why do we have to rely on proximity? // // Because the target of the touch event that triggered the vclick // can be different from the target of the click event synthesized // by the browser. The target of a mouse/click event that is synthesized // from a touch event seems to be implementation specific. For example, // some browsers will fire mouse/click events for a link that is near // a touch event, even though the target of the touchstart/touchend event // says the user touched outside the link. Also, it seems that with most // browsers, the target of the mouse/click event is not calculated until the // time it is dispatched, so if you replace an element that you touched // with another element, the target of the mouse/click will be the new // element underneath that point. // // Aside from proximity, we also check to see if the target and any // of its ancestors were the ones that blocked a click. This is necessary // because of the strange mouse/click target calculation done in the // Android 2.1 browser, where if you click on an element, and there is a // mouse/click handler on one of its ancestors, the target will be the // innermost child of the touched element, even if that child is no where // near the point of touch. ele = target; while ( ele ) { for ( i = 0; i < cnt; i++ ) { o = clickBlockList[ i ]; touchID = 0; if ( ( ele === target && Math.abs( o.x - x ) < threshold && Math.abs( o.y - y ) < threshold ) || $.data( ele, touchTargetPropertyName ) === o.touchID ) { // XXX: We may want to consider removing matches from the block list // instead of waiting for the reset timer to fire. e.preventDefault(); e.stopPropagation(); return; } } ele = ele.parentNode; } } }, true); } })( jQuery, window, document ); (function( $ ) { $.mobile = {}; }( jQuery )); (function( $, undefined ) { var support = { touch: "ontouchend" in document }; $.mobile.support = $.mobile.support || {}; $.extend( $.support, support ); $.extend( $.mobile.support, support ); }( jQuery )); (function( $, window, undefined ) { var $document = $( document ), supportTouch = $.mobile.support.touch, scrollEvent = "touchmove scroll", touchStartEvent = supportTouch ? "touchstart" : "mousedown", touchStopEvent = supportTouch ? "touchend" : "mouseup", touchMoveEvent = supportTouch ? "touchmove" : "mousemove"; // setup new event shortcuts $.each( ( "touchstart touchmove touchend " + "tap taphold " + "swipe swipeleft swiperight " + "scrollstart scrollstop" ).split( " " ), function( i, name ) { $.fn[ name ] = function( fn ) { return fn ? this.bind( name, fn ) : this.trigger( name ); }; // jQuery < 1.8 if ( $.attrFn ) { $.attrFn[ name ] = true; } }); function triggerCustomEvent( obj, eventType, event, bubble ) { var originalType = event.type; event.type = eventType; if ( bubble ) { $.event.trigger( event, undefined, obj ); } else { $.event.dispatch.call( obj, event ); } event.type = originalType; } // also handles scrollstop $.event.special.scrollstart = { enabled: true, setup: function() { var thisObject = this, $this = $( thisObject ), scrolling, timer; function trigger( event, state ) { scrolling = state; triggerCustomEvent( thisObject, scrolling ? "scrollstart" : "scrollstop", event ); } // iPhone triggers scroll after a small delay; use touchmove instead $this.bind( scrollEvent, function( event ) { if ( !$.event.special.scrollstart.enabled ) { return; } if ( !scrolling ) { trigger( event, true ); } clearTimeout( timer ); timer = setTimeout( function() { trigger( event, false ); }, 50 ); }); }, teardown: function() { $( this ).unbind( scrollEvent ); } }; // also handles taphold $.event.special.tap = { tapholdThreshold: 750, emitTapOnTaphold: true, setup: function() { var thisObject = this, $this = $( thisObject ), isTaphold = false; $this.bind( "vmousedown", function( event ) { isTaphold = false; if ( event.which && event.which !== 1 ) { return false; } var origTarget = event.target, timer; function clearTapTimer() { clearTimeout( timer ); } function clearTapHandlers() { clearTapTimer(); $this.unbind( "vclick", clickHandler ) .unbind( "vmouseup", clearTapTimer ); $document.unbind( "vmousecancel", clearTapHandlers ); } function clickHandler( event ) { clearTapHandlers(); // ONLY trigger a 'tap' event if the start target is // the same as the stop target. if ( !isTaphold && origTarget === event.target ) { triggerCustomEvent( thisObject, "tap", event ); } else if ( isTaphold ) { event.preventDefault(); } } $this.bind( "vmouseup", clearTapTimer ) .bind( "vclick", clickHandler ); $document.bind( "vmousecancel", clearTapHandlers ); timer = setTimeout( function() { if ( !$.event.special.tap.emitTapOnTaphold ) { isTaphold = true; } triggerCustomEvent( thisObject, "taphold", $.Event( "taphold", { target: origTarget } ) ); }, $.event.special.tap.tapholdThreshold ); }); }, teardown: function() { $( this ).unbind( "vmousedown" ).unbind( "vclick" ).unbind( "vmouseup" ); $document.unbind( "vmousecancel" ); } }; // Also handles swipeleft, swiperight $.event.special.swipe = { // More than this horizontal displacement, and we will suppress scrolling. scrollSupressionThreshold: 30, // More time than this, and it isn't a swipe. durationThreshold: 1000, // Swipe horizontal displacement must be more than this. horizontalDistanceThreshold: 30, // Swipe vertical displacement must be less than this. verticalDistanceThreshold: 30, getLocation: function ( event ) { var winPageX = window.pageXOffset, winPageY = window.pageYOffset, x = event.clientX, y = event.clientY; if ( event.pageY === 0 && Math.floor( y ) > Math.floor( event.pageY ) || event.pageX === 0 && Math.floor( x ) > Math.floor( event.pageX ) ) { // iOS4 clientX/clientY have the value that should have been // in pageX/pageY. While pageX/page/ have the value 0 x = x - winPageX; y = y - winPageY; } else if ( y < ( event.pageY - winPageY) || x < ( event.pageX - winPageX ) ) { // Some Android browsers have totally bogus values for clientX/Y // when scrolling/zooming a page. Detectable since clientX/clientY // should never be smaller than pageX/pageY minus page scroll x = event.pageX - winPageX; y = event.pageY - winPageY; } return { x: x, y: y }; }, start: function( event ) { var data = event.originalEvent.touches ? event.originalEvent.touches[ 0 ] : event, location = $.event.special.swipe.getLocation( data ); return { time: ( new Date() ).getTime(), coords: [ location.x, location.y ], origin: $( event.target ) }; }, stop: function( event ) { var data = event.originalEvent.touches ? event.originalEvent.touches[ 0 ] : event, location = $.event.special.swipe.getLocation( data ); return { time: ( new Date() ).getTime(), coords: [ location.x, location.y ] }; }, handleSwipe: function( start, stop, thisObject, origTarget ) { if ( stop.time - start.time < $.event.special.swipe.durationThreshold && Math.abs( start.coords[ 0 ] - stop.coords[ 0 ] ) > $.event.special.swipe.horizontalDistanceThreshold && Math.abs( start.coords[ 1 ] - stop.coords[ 1 ] ) < $.event.special.swipe.verticalDistanceThreshold ) { var direction = start.coords[0] > stop.coords[ 0 ] ? "swipeleft" : "swiperight"; triggerCustomEvent( thisObject, "swipe", $.Event( "swipe", { target: origTarget, swipestart: start, swipestop: stop }), true ); triggerCustomEvent( thisObject, direction,$.Event( direction, { target: origTarget, swipestart: start, swipestop: stop } ), true ); return true; } return false; }, // This serves as a flag to ensure that at most one swipe event event is // in work at any given time eventInProgress: false, setup: function() { var events, thisObject = this, $this = $( thisObject ), context = {}; // Retrieve the events data for this element and add the swipe context events = $.data( this, "mobile-events" ); if ( !events ) { events = { length: 0 }; $.data( this, "mobile-events", events ); } events.length++; events.swipe = context; context.start = function( event ) { // Bail if we're already working on a swipe event if ( $.event.special.swipe.eventInProgress ) { return; } $.event.special.swipe.eventInProgress = true; var stop, start = $.event.special.swipe.start( event ), origTarget = event.target, emitted = false; context.move = function( event ) { if ( !start || event.isDefaultPrevented() ) { return; } stop = $.event.special.swipe.stop( event ); if ( !emitted ) { emitted = $.event.special.swipe.handleSwipe( start, stop, thisObject, origTarget ); if ( emitted ) { // Reset the context to make way for the next swipe event $.event.special.swipe.eventInProgress = false; } } // prevent scrolling if ( Math.abs( start.coords[ 0 ] - stop.coords[ 0 ] ) > $.event.special.swipe.scrollSupressionThreshold ) { event.preventDefault(); } }; context.stop = function() { emitted = true; // Reset the context to make way for the next swipe event $.event.special.swipe.eventInProgress = false; $document.off( touchMoveEvent, context.move ); context.move = null; }; $document.on( touchMoveEvent, context.move ) .one( touchStopEvent, context.stop ); }; $this.on( touchStartEvent, context.start ); }, teardown: function() { var events, context; events = $.data( this, "mobile-events" ); if ( events ) { context = events.swipe; delete events.swipe; events.length--; if ( events.length === 0 ) { $.removeData( this, "mobile-events" ); } } if ( context ) { if ( context.start ) { $( this ).off( touchStartEvent, context.start ); } if ( context.move ) { $document.off( touchMoveEvent, context.move ); } if ( context.stop ) { $document.off( touchStopEvent, context.stop ); } } } }; $.each({ scrollstop: "scrollstart", taphold: "tap", swipeleft: "swipe.left", swiperight: "swipe.right" }, function( event, sourceEvent ) { $.event.special[ event ] = { setup: function() { $( this ).bind( sourceEvent, $.noop ); }, teardown: function() { $( this ).unbind( sourceEvent ); } }; }); })( jQuery, this ); })); .cq-borderhover-overlay{ opacity: 0; position: absolute; background-color: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; top: 0; left: 0; -webkit-transition: opacity 400ms cubic-bezier(0.175, 0.885, 0.320, 1); -moz-transition: opacity 400ms cubic-bezier(0.175, 0.885, 0.320, 1); -o-transition: opacity 400ms cubic-bezier(0.175, 0.885, 0.320, 1); transition: opacity 400ms cubic-bezier(0.175, 0.885, 0.320, 1); } .cq-borderhover-item { position: relative; text-align: center; overflow: hidden; height: 240px; min-height: 200px; margin-bottom: 24px; } /*@media (max-width:991px) { .cq-borderhover-item { padding-top: 400px } } @media (max-width:767px) { .cq-borderhover-item { padding-top: 200px } } */ .cq-borderhover-item:hover .cq-borderhover-overlay{ opacity: 1; } .cq-borderhover-item:hover .cq-borderhover-background { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1) } .cq-borderhover-item .cq-borderhover-background { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; background-position: center center; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; -webkit-transition: all 400ms cubic-bezier(0.175, 0.885, 0.320, 1); -moz-transition: all 400ms cubic-bezier(0.175, 0.885, 0.320, 1); -o-transition: all 400ms cubic-bezier(0.175, 0.885, 0.320, 1); transition: all 400ms cubic-bezier(0.175, 0.885, 0.320, 1); -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1) } .cq-borderhover-item a { text-decoration: none; color: #fff; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 20% 20px; z-index: 2 } /*@media (max-width:1199px) { .cq-borderhover-item a { padding: 10% 0px } } @media (max-width:991px) { .cq-borderhover-item a { padding: 60px 10px } } @media (max-width:767px) { .cq-borderhover-item a { padding: 50px 10px } } */ .cq-borderhover-item a .cq-borderhover-topborder { border-top: 2px solid #fff; content: ''; position: absolute; width: 0; height: 90%; /*left: 5%;*/ top: 5%; -webkit-transition: all 600ms cubic-bezier(1, 0, 0, 1); -moz-transition: all 600ms cubic-bezier(1, 0, 0, 1); -o-transition: all 600ms cubic-bezier(1, 0, 0, 1); transition: all 600ms cubic-bezier(1, 0, 0, 1); -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1); -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1); -o-transition-timing-function: cubic-bezier(1, 0, 0, 1); transition-timing-function: cubic-bezier(1, 0, 0, 1) } .cq-borderhover-item a .cq-borderhover-rightborder { border-right: 2px solid #fff; content: ''; position: absolute; width: 90%; height: 0; left: 5%; /*top: 5%;*/ -webkit-transition: all 600ms cubic-bezier(1, 0, 0, 1); -moz-transition: all 600ms cubic-bezier(1, 0, 0, 1); -o-transition: all 600ms cubic-bezier(1, 0, 0, 1); transition: all 600ms cubic-bezier(1, 0, 0, 1); -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1); -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1); -o-transition-timing-function: cubic-bezier(1, 0, 0, 1); transition-timing-function: cubic-bezier(1, 0, 0, 1) } .cq-borderhover-item a .cq-borderhover-bottomborder { border-bottom: 2px solid #fff; content: ''; position: absolute; width: 0; height: 90%; /*right: 5%;*/ top: 5%; -webkit-transition: all 600ms cubic-bezier(1, 0, 0, 1); -moz-transition: all 600ms cubic-bezier(1, 0, 0, 1); -o-transition: all 600ms cubic-bezier(1, 0, 0, 1); transition: all 600ms cubic-bezier(1, 0, 0, 1); -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1); -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1); -o-transition-timing-function: cubic-bezier(1, 0, 0, 1); transition-timing-function: cubic-bezier(1, 0, 0, 1) } .cq-borderhover-item a .cq-borderhover-leftborder { content: ''; position: absolute; width: 90%; height: 0; left: 5%; bottom: 5%; -webkit-transition: all 600ms cubic-bezier(1, 0, 0, 1); -moz-transition: all 600ms cubic-bezier(1, 0, 0, 1); -o-transition: all 600ms cubic-bezier(1, 0, 0, 1); transition: all 600ms cubic-bezier(1, 0, 0, 1); -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1); -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1); -o-transition-timing-function: cubic-bezier(1, 0, 0, 1); transition-timing-function: cubic-bezier(1, 0, 0, 1) } .cq-borderhover.cq-bordertype-solid .cq-borderhover-topborder{ border-top: 2px solid #fff; } .cq-borderhover.cq-bordertype-solid .cq-borderhover-rightborder{ border-right: 2px solid #fff; } .cq-borderhover.cq-bordertype-solid .cq-borderhover-bottomborder{ border-bottom: 2px solid #fff; } .cq-borderhover.cq-bordertype-solid .cq-borderhover-leftborder{ border-left: 2px solid #fff; } .cq-borderhover.cq-bordertype-dashed .cq-borderhover-topborder{ border-top: 2px dashed #fff; } .cq-borderhover.cq-bordertype-dashed .cq-borderhover-rightborder{ border-right: 2px dashed #fff; } .cq-borderhover.cq-bordertype-dashed .cq-borderhover-bottomborder{ border-bottom: 2px dashed #fff; } .cq-borderhover.cq-bordertype-dashed .cq-borderhover-leftborder{ border-left: 2px dashed #fff; } .cq-borderhover.cq-bordertype-none .cq-borderhover-topborder{ border-top: none; } .cq-borderhover.cq-bordertype-none .cq-borderhover-rightborder{ border-right: none; } .cq-borderhover.cq-bordertype-none .cq-borderhover-bottomborder{ border-bottom: none; } .cq-borderhover.cq-bordertype-none .cq-borderhover-leftborder{ border-left: none; } .cq-borderhover.cq-bordertype-dotted .cq-borderhover-topborder{ border-top: 2px dotted #fff; } .cq-borderhover.cq-bordertype-dotted .cq-borderhover-rightborder{ border-right: 2px dotted #fff; } .cq-borderhover.cq-bordertype-dotted .cq-borderhover-bottomborder{ border-bottom: 2px dotted #fff; } .cq-borderhover.cq-bordertype-dotted .cq-borderhover-leftborder{ border-left: 2px dotted #fff; } .cq-borderhover-item.cq-crosshand1 a .cq-borderhover-topborder{ left: 5%; } .cq-borderhover-item.cq-crosshand1 a .cq-borderhover-rightborder{ bottom: 5%; } .cq-borderhover-item.cq-crosshand1 a .cq-borderhover-bottomborder{ right: 5%; } .cq-borderhover-item.cq-crosshand1 a .cq-borderhover-leftborder{ top: 5%; } .cq-borderhover-item.cq-crosshand2 a .cq-borderhover-topborder{ left: 5%; } .cq-borderhover-item.cq-crosshand2 a .cq-borderhover-rightborder{ top: 5%; left: 5%; } .cq-borderhover-item.cq-crosshand2 a .cq-borderhover-bottomborder{ right: 5%; } .cq-borderhover-item.cq-crosshand2 a .cq-borderhover-leftborder{ right: 5%; } .cq-borderhover-item.cq-crosshand3 a .cq-borderhover-topborder{ right: 5%; } .cq-borderhover-item.cq-crosshand3 a .cq-borderhover-rightborder{ top: 5%; left: 5%; } .cq-borderhover-item.cq-crosshand3 a .cq-borderhover-bottomborder{ left: 5%; } .cq-borderhover-item.cq-crosshand3 a .cq-borderhover-leftborder{ left: 5%; } .cq-borderhover-item.cq-crosshand4 a .cq-borderhover-topborder{ right: 5%; } .cq-borderhover-item.cq-crosshand4 a .cq-borderhover-rightborder{ bottom: 5%; right: 5%; } .cq-borderhover-item.cq-crosshand4 a .cq-borderhover-bottomborder{ left: 5%; } .cq-borderhover-item.cq-crosshand4 a .cq-borderhover-leftborder{ top: 5%; left: 5%; } .cq-borderhover-item a:hover .cq-borderhover-leftborder { height: 90% } .cq-borderhover-item a:hover .cq-borderhover-topborder { width: 90% } .cq-borderhover-item a:hover .cq-borderhover-rightborder { height: 90% } .cq-borderhover-item a:hover .cq-borderhover-bottomborder { width: 90% } .cq-borderhover-item .cq-borderhover-textcontainer { width: 80%; text-align: center; position: absolute; left: 10%; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } .cq-borderhover.cq-borderhover-hidetexttrue .cq-borderhover-textcontainer{ opacity: 0; -webkit-transition: opacity 400ms ease; -moz-transition: opacity 400ms ease; -o-transition: opacity 400ms ease; transition: opacity 400ms ease; } .cq-borderhover.cq-borderhover-hidetexttrue:hover .cq-borderhover-textcontainer{ opacity: 1; } .cq-borderhover-item .cq-borderhover-title { color: #FFF; margin: 0; position: relative; line-height: 140%; /*padding-bottom: 20px;*/ margin-bottom: 12px } .cq-borderhover-item .cq-borderhover-label { margin: 0px 0 0 0; line-height: 150%; padding-top: 12px; } /*@media (min-width:1400px) { .cq-borderhover-item .cq-borderhover-title { font-size: 25px } } */.cq-borderhover-item .cq-borderhover-titleborder { display: inline-block; width: 40px; position: absolute; left: 50%; /*bottom: 20px;*/ margin-left: -20px; border-bottom: 1px solid #fff } .cq-hovercard{ position: relative; overflow: hidden; /*background: #499FCD;*/ /*background: -webkit-radial-gradient(center, ellipse cover, #499FCD 0%, #1A69AA 100%);*/ } .cq-hovercard-textcontainer { width: 100%; /*text-align: left;*/ text-align: center; padding: 0 1em; color: #fff; position: absolute; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); transform: translateY(-50%); } .cq-hovercard .cq-hovercard-icon{ display: inline-block; /*width: 24px;*/ /*height: 24px;*/ line-height: 24px; font-size: 24px; margin-top: 12px; -webkit-transition: all 0.3s ease 0.2s; -moz-transition: all 0.3s ease 0.2s; transition: all 0.3s ease 0.2s; overflow: visible; } .cq-hovercard.cq-hovercard-hideicon .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideall .cq-hovercard-icon { opacity: 0; } .cq-hovercard.cq-hovercard-hideicon.cq-rotateY .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideall.cq-rotateY .cq-hovercard-icon { -webkit-transform: translate3d(0, 10px, 0) rotateY(-90deg); transform: translate3d(0, 10px, 0) rotateY(-90deg); } .cq-hovercard.cq-hovercard-hideicon.cq-rotate .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideall.cq-rotate .cq-hovercard-icon { -webkit-transform: translate3d(0, 10px, 0) rotate(-90deg); transform: translate3d(0, 10px, 0) rotate(-90deg); } .cq-hovercard.cq-hovercard-hideicon.cq-rotateX .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideall.cq-rotateX .cq-hovercard-icon { -webkit-transform: translate3d(0, 10px, 0) rotateX(-90deg); transform: translate3d(0, 10px, 0) rotateX(-90deg); } .cq-hovercard.cq-hovercard-hideall .cq-hovercard-title, .cq-hovercard.cq-hovercard-hideall .cq-hovercard-content{ opacity: 0; -webkit-transform: translate3d(0, 10px, 0); transform: translate3d(0, 10px, 0); } .cq-hovercard.cq-hovercard-hideicon .cq-hovercard-title, .cq-hovercard.cq-hovercard-hideicon .cq-hovercard-content{ -webkit-transform: translate3d(0, 10px, 0); transform: translate3d(0, 10px, 0); } .cq-hovercard .cq-hovercard-title { /*opacity: 0;*/ color: #fff; margin: 0 0 10px 0; /*-webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0);*/ font-size: 2em; line-height: 120%; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease; } .cq-hovercard.cq-hovercard-hideall .cq-hovercard-title { opacity: 0; } .cq-hovercard .cq-hovercard-content { display: block; -webkit-transition: all 0.3s ease 0.1s; -moz-transition: all 0.3s ease 0.1s; transition: all 0.3s ease 0.1s; padding: 0; /*opacity: 0;*/ margin: 0; } .cq-hovercard.cq-hovercard-hideall .cq-hovercard-content { opacity: 0; } .cq-hovercard.cq-hovercard-showall .cq-hovercard-title, .cq-hovercard.cq-hovercard-showall .cq-hovercard-content, .cq-hovercard.cq-hovercard-showall .cq-hovercard-title { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } /*.cq-hovercard:hover .cq-hovercard-title { opacity: 1; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); } */ .cq-hovercard.cq-hovercard-hideall:hover .cq-hovercard-title { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .cq-hovercard.cq-hovercard-hideicon:hover .cq-hovercard-title { opacity: 1; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); } /*.cq-hovercard:hover .cq-hovercard-content { opacity: 1; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); } */ .cq-hovercard.cq-hovercard-hideall:hover .cq-hovercard-content { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .cq-hovercard.cq-hovercard-hideicon:hover .cq-hovercard-content { opacity: 1; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); } .cq-hovercard.cq-hovercard-hideall:hover .cq-hovercard-icon { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .cq-hovercard.cq-hovercard-hideicon:hover .cq-hovercard-icon { opacity: 1; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); } /*.cq-hovercard:hover .cq-hovercard-icon { opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotateY(0deg); transform: translate3d(0, 0, 0) rotateY(0deg); } */ .cq-hovercard .cq-hovercard-background { width: 100%; height: 100%; -webkit-transition: all 0.4s ease-out; -moz-transition: all 0.4s ease-out; transition: all 0.4s ease-out; } .cq-hovercard:hover .cq-hovercard-background { -webkit-transform: scale3d(1.1, 1.1, 1.1); transform: scale3d(1.1, 1.1, 1.1); } @media only screen and (min-width:160px) and (max-width:640px) { .cq-hovercard.cq-hovercard-hideall .cq-hovercard-textcontainer .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideall .cq-hovercard-content, .cq-hovercard.cq-hovercard-hideall .cq-hovercard-title, .cq-hovercard.cq-hovercard-hideicon .cq-hovercard-textcontainer .cq-hovercard-icon { opacity: 1; -webkit-transform: none; transform: none; } .cq-hovercard.cq-hovercard-hideall .cq-hovercard-textcontainer .cq-hovercard-icon, .cq-hovercard.cq-hovercard-hideicon .cq-hovercard-textcontainer .cq-hovercard-icon{ margin-top: 20px; } } .cq-notify-image{ margin: 0; padding: 0; } .cq-notify-image.floatnone{ float: none; } .cq-notify-image.floatleft{ float: left; margin-right: 8px; } .cq-notify-image.floatright{ float: right; margin-left: 8px; margin-right: 8px; } .cq-notify-closebutton{ display: inline-block; /*background: url(../img/delete.png) no-repeat;*/ background: url(../img/notification_close.png) no-repeat; width: 20px; height: 20px; position: absolute; /*top: -8px;*/ /*right: -8px;*/ top: -8px; right: -8px; cursor: pointer; } .cq-scroll-notification { /*display: none;*/ /*opacity: 0;*/ position: fixed; z-index: 100001; color: #333; background: rgba(0,0,0,0.5); width: auto; padding: 10px 10px 10px 10px; line-height: 160%; font-size: 12px; text-align: left; /*box-shadow: 0 2px 3px rgba(0,0,0,0.5); -moz-box-shadow: 0 2px 3px rgba(0,0,0,0.5); -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.5);*/ -webkit-box-shadow: 0 0 16px #666; -moz-box-shadow: 0 0 16px #666; box-shadow: 0 0 16px #666; } /* option to hide the notification in small screen */ /*@media screen and (min-width: 480px) and (max-width: 767px) { .cq-scroll-notification{ display: none!important; } } @media only screen and (min-width: 160px) and (max-width: 479px) { .cq-scroll-notification{ display: none!important; } } @media screen and (min-width: 768px) and (max-width: 959px) { .cq-scroll-notification{ display: none; } } */ .cq-scroll-notification.topAll{ top: 0px; left: 0px; width: 99%; } .cq-scroll-notification.bottomAll{ bottom: 0px; left: 0px; width: 99%; } .cq-scroll-notification.topLeft{ top: 20px; left: 20px; } .cq-scroll-notification.topRight{ top: 20px; right: 20px; } .cq-scroll-notification.bottomLeft{ bottom: 20px; left: 20px; } .cq-scroll-notification.bottomRight{ bottom: 20px; right: 20px; } .cq-newsblock { position: relative; width: 100%; /*height: 100%;*/ height: 160px; margin: 0 auto; overflow: hidden; /*background-color: #EFEFEF;*/ display: -webkit-flex; display: flex; } .cq-newsblock-square { border-radius: 0; } .cq-newsblock-rounded { border-radius: 8px; } .cq-newsblock-round{ border-radius: 16px; } .cq-newsblock-name { background-size: cover; background-position: center center; padding: 8px 0 8px 0; /*border-right: 1px solid #E8E8E8;*/ min-width: 20%; height: 100%; font-size: 18px; letter-spacing: 0.02em; display: -webkit-flex; display: flex; align-items: center; justify-content: center; } .cq-newsblock.cq-newsblock-align-right .cq-newsblock-name { /*border-left: 1px solid #E8E8E8;*/ border-right: none; } .cq-newsblock-wrapper{ /*position: absolute;*/ display: inline-block; display: -webkit-flex; display: flex; margin-left: 20px; margin-right: 32px; /*width: calc(100% - 160px);*/ /*top: 0;*/ /*left: 120px;*/ } .cq-newsblock.cq-newsblock-align-right .cq-newsblock-wrapper { margin-left: 42px; margin-right: 0; } .cq-newsblock-item { /*width: 100%;*/ height: auto; padding: 16px 8px; display: -webkit-flex; display: flex; align-items: center; justify-content: center; flex-direction: column; /*border-bottom: 1px solid #333;*/ } /* .cq-newsblock-padding-small .cq-newsblock-item { padding: 8px; } .cq-newsblock-padding-medium .cq-newsblock-item { padding: 12px; } .cq-newsblock-padding-large .cq-newsblock-item { padding: 16px; } */ h4.cq-newsblock-title { font-size: 1.5em; font-weight: bold; display: block; line-height: 120%; margin: 0 0 10px 0; padding: 0; } .cq-newsblock .cq-newsblock-content { font-size: 1em; margin: 0; padding: 0; } .cq-newsblock .cq-newsblock-content p { margin: 0 0 10px 0; } .cq-newsblock .cq-newsblock-label { margin: 0; padding: 0; font-size: 1em; font-style: italic; } .swiper-button-prev, .swiper-button-next { display: -webkit-flex; display: flex; /*right: 0;*/ width: 12px; height: 24px; margin-top: -22px; z-index: 10; cursor: pointer; background-size: 12px 24px; background-position: center; background-repeat: no-repeat; } .cq-newsblock .swiper-button-nav { } .cq-newsblock .swiper-button-prev { /*position: absolute;*/ left: auto; right: 20px; transform: rotate(90deg); } .cq-newsblock.cq-newsblock-align-right .swiper-button-prev { left: 20px; right: auto; } .cq-newsblock .swiper-button-next { /*position: absolute;*/ left: auto; margin-top: 12px; right: 20px; transform: rotate(90deg); } .cq-newsblock.cq-newsblock-align-right .swiper-button-next { left: 20px; right: auto; } .cq-newsblock-pagination { position: absolute; right: 0; } .cq-vectorcard { position: relative; /*height: 360px;*/ box-shadow: 0 2px 3px rgba(0, 1, 1, 0.2); background-color: #FFF; height: auto; overflow: hidden; } .cq-vectorcard.roundsmall { border-radius: 8px; } .cq-vectorcard.roundlarge { border-radius: 16px; } .cq-vectorcard-top { width: 100%; background-color: #AAB2BD; background-size: cover; background-position: center; color: #FFF; /*height: 80%;*/ padding: 30px; padding-top: 100px; padding-bottom: 80px; margin-top: -100px; } .cq-vectorcard.left_2_right .cq-vectorcard-top{ -ms-transform: skewY(-5deg); -webkit-transform: skewY(-5deg); transform: skewY(-5deg); } .cq-vectorcard.right_2_left .cq-vectorcard-top{ -ms-transform: skewY(5deg); -webkit-transform: skewY(5deg); transform: skewY(5deg); } .cq-vectorcard-content { margin-top: 30px; font-size: 1.5em; line-height: 160%; /*-ms-transform: skewY(-5deg); -webkit-transform: skewY(-5deg); transform: skewY(-5deg);*/ } .cq-vectorcard.left_2_right .cq-vectorcard-content{ -ms-transform: skewY(5deg); -webkit-transform: skewY(5deg); transform: skewY(5deg); } .cq-vectorcard.right_2_left .cq-vectorcard-content{ -ms-transform: skewY(-5deg); -webkit-transform: skewY(-5deg); transform: skewY(-5deg); } .cq-vectorcard-avatar { position: relative; width: 80px; height: 80px; background: #EFEFEF; border-radius: 50%; margin-left: 32px; margin-top: -50px; z-index: 3; } i.cq-vectorcard-icon{ display: inline-block; text-align: center; font-size: 2em; color: #333; width: 80px; height: 80px; line-height: 80px; border-radius: 50%; } .cq-vectorcard.left_2_right .cq-vectorcard-avatar { margin-left: calc(100% - 112px); } .cq-vectorcard .cq-vectorcard-line { /*background: rgba(0, 0, 0, 0.1);*/ display: block; height: 48px; overflow: hidden; position: absolute; bottom: 100px; left: 0; right: 0; top: auto; width: 100%; z-index: 2; } .cq-vectorcard.left_2_right .cq-vectorcard-line { /*background: rgba(0, 0, 0, 0.1);*/ } .cq-vectorcard.right_2_left .cq-vectorcard-line { } .cq-vectorcard .cq-vectorcard-line img { display: block; height: auto; line-height: 30px; margin: 0; max-width: none; padding: 0; position: absolute; bottom: -1px; left: -2.5%; width: 110%; } p.cq-vectorcard-author { /*width: 140px;*/ /*text-align: center;*/ /*background: #efefef;*/ padding: 0; font-size: 1.2em; margin-left: 30px; margin-top: 18px; /*padding-bottom: 20px;*/ } p.cq-vectorcard-author span.cq-vectorcard-authorrole{ display: inline-block; margin-top: 6px; font-size: 0.8em; font-style: italic; } .cq-vectorcard.left_2_right p.cq-vectorcard-author { /*background: #efefef;*/ width: auto; float: right; /*margin-left: calc(100% - 148px);*/ margin-right: 30px; } .cq-vectorcard-bottom { /*height: 50px; */ } .cq-vectorcard-extrainfo{ /*width: 120px;*/ position: absolute; bottom: 0px; right: 30px; left: auto; font-size: 1em; } .cq-vectorcard.left_2_right .cq-vectorcard-extrainfo{ position: absolute; bottom: 0px; left: 30px; right: auto; } .cq-vectorcard.right_2_left .cq-vectorcard-extrainfo{ position: absolute; bottom: 0px; right: 30px; left: auto; } .cq-vectorcard-avatarlink, .cq-vectorcard-extralink{ outline: none; border: none; } .cq-videocover{ /*cursor: pointer;*/ position: relative; } .cq-videocover-img.square{ border-radius: 0; } .cq-videocover-img.roundsmall{ border-radius: 8px; } .cq-videocover-img.roundlarge{ border-radius: 16px; } .cq-videocover-img.ellipse{ border-radius: 50%; } .cq-videocover-lightbox{ border: none; outline: none; } .fs-lightbox-video{ border: none; outline: none; } .cq-videocover-iconcontainer{ position: absolute; margin: 0; width: 64px; height: 64px; /*border-radius: 50%;*/ /*border-radius: 16px;*/ background: rgba(0, 0, 0, .7); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); } .cq-videocover-iconcontainer.icon-center{ top: 50%; left: 50%; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); } .cq-videocover-iconcontainer.icon-top-left{ top: 0; left: 0; -webkit-transform: translateX(32px) translateY(-50%); -moz-transform: translateX(32px) translateY(-50%); transform: translateX(32px) translateY(-50%); } .cq-videocover-iconcontainer.icon-top-center{ top: 0; left: 50%; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); } .cq-videocover-iconcontainer.icon-top-right{ top: 0; right: 0; -webkit-transform: translateX(-32px) translateY(-50%); -moz-transform: translateX(-32px) translateY(-50%); transform: translateX(-32px) translateY(-50%); } .cq-videocover-iconcontainer.icon-left-top{ top: 0; left: 0; -webkit-transform: translateX(-50%) translateY(32px); -moz-transform: translateX(-50%) translateY(32px); transform: translateX(-50%) translateY(32px); } .cq-videocover-iconcontainer.icon-left-center{ top: 50%; left: 0; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); } .cq-videocover-iconcontainer.icon-left-bottom{ bottom: 0; left: 0; -webkit-transform: translateX(-50%) translateY(-32px); -moz-transform: translateX(-50%) translateY(-32px); transform: translateX(-50%) translateY(-32px); } .cq-videocover-iconcontainer.icon-right-top{ top: 0; right: 0; -webkit-transform: translateX(50%) translateY(32px); -moz-transform: translateX(50%) translateY(32px); transform: translateX(50%) translateY(32px); } .cq-videocover-iconcontainer.icon-right-center{ top: 50%; right: 0; -webkit-transform: translateX(50%) translateY(-50%); -moz-transform: translateX(50%) translateY(-50%); transform: translateX(50%) translateY(-50%); } .cq-videocover-iconcontainer.icon-right-bottom{ bottom: 0; right: 0; -webkit-transform: translateX(50%) translateY(-32px); -moz-transform: translateX(50%) translateY(-32px); transform: translateX(50%) translateY(-32px); } .cq-videocover-iconcontainer.icon-bottom-left{ bottom: 0; left: 0; -webkit-transform: translateX(32px) translateY(50%); -moz-transform: translateX(32px) translateY(50%); transform: translateX(32px) translateY(50%); } .cq-videocover-iconcontainer.icon-bottom-center{ bottom: 0; left: 50%; -webkit-transform: translateX(-50%) translateY(50%); -moz-transform: translateX(-50%) translateY(50%); transform: translateX(-50%) translateY(50%); } .cq-videocover-iconcontainer.icon-bottom-right{ bottom: 0; right: 0; -webkit-transform: translateX(-32px) translateY(50%); -moz-transform: translateX(-32px) translateY(50%); transform: translateX(-32px) translateY(50%); } .cq-videocover-iconcontainer .cq-videocover-icon{ display: inline-block; width: 100%; text-align: center; color: #fff; padding: 0; border-radius: 4px; margin: 0 auto; padding: 0; font-size: 2em; line-height: 64px; } .cq-videocover-label{ display: inline-block; width: 100%; text-align: center; color: #fff; padding: 0; border-radius: 4px; margin: 0 auto; padding: 0; font-size: 1em; line-height: 64px; } .cq-videocover-iconcontainer.circle{ border-radius: 50%; /*line-height: 64px;*/ } .cq-videocover-iconcontainer.roundsmall{ border-radius: 8px; /*line-height: 64px;*/ } .cq-videocover-iconcontainer.roundlarge{ border-radius: 16px; /*line-height: 64px;*/ } .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes zoomIn { 0% { opacity: 0; -webkit-transform: scale(.3); transform: scale(.3); } 50% { opacity: 1; } 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } } @keyframes zoomIn { 0% { opacity: 0; -webkit-transform: scale3d(.3, .3, .3); transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } } .zoomIn { -webkit-animation-name: zoomIn; animation-name: zoomIn; }