@import "mixins.less"; // Width variables (appears count calculates by raw css) @width1: 100%; // Appears 19 times // Height variables (appears count calculates by raw css) @height3: 100%; // Appears 14 times .a3-rslider-container { max-width: @width1; position:relative; .a3-cycle-slideshow>img.cycle-slide { max-height:@height3; max-width:@width1; } .a3-cycle-slideshow>img.a3-rslider-image-url { cursor: pointer; } .a3-cycle-slideshow-dynamic-tall>img.cycle-slide { max-height:inherit; } &:hover { .a3-cycle-controls, .a3-cycle-pauseplay { .opacity(1); } .cycle-pager-container { .opacity(1); } } .a3-cycle-slideshow-dynamic-tall { .a3-slider-video-slide { height:auto; } } } .a3-cycle-slideshow { margin: auto; overflow:hidden; &[data-cycle-youtube="true"] { .a3-cycle-pauseplay { display: none; } } &[data-enable-progressive="1"] { .cycle-pager-container { display: none !important; } } img.a3-rslider-image.lazy-hidden { background: transparent; } .cycle-sentinel { position: static !important; top: 0px; left: 0px; z-index: -100; .opacity(1); display: block; visibility: hidden; max-width:100% !important; height: auto; min-height: 150px; } } .a3-rslider-template-card { .a3-cycle-slideshow { margin-bottom:0 !important; } .a3-cycle-controls { .cycle-prev { left:0px; } .cycle-next { right:0; } } .a3-slider-bg { background:url("../images/mobile_slider_bg.png") repeat-x left bottom; bottom:0; height:16px; left:0; position:absolute; width:@width1; z-index:101; } } .cycle-caption-container { max-width:60%; position: absolute; right: 10px; top: 10px; width: auto; z-index: 700; } .cycle-caption { position: relative; } .cycle-caption-bg { .opacity(0.6); background: #000000; height:@height3; left:0; position: absolute; top:0; width:@width1; } .cycle-caption-text { color:#ffffff !important; font-size:14px !important; margin:0 !important; padding: 10px !important; text-align:left; } .cycle-overlay-container { bottom: 10px; left:10px; max-width:60%; position: absolute; width:auto; z-index: 600; } .cycle-overlay { position:relative; .cycle-description { color: #FFFFFF; padding:10px; text-align:left; } } .cycle-overlay-bg { .opacity(0.6); background: #000000; height:@height3; left:0; position: absolute; top:0; width:@width1; } .a3-cycle-controls { .opacity(0); -moz-transition: all 1s linear 0s; -o-transition: all 1s linear 0s; -webkit-transition: all 1s linear 0s; margin-top:-15px; position: absolute; text-align:center; top: 50%; left: 0px; transition: all 1s linear 0s; width: @width1; z-index: 1000; & > span { line-height: 1; position: absolute; margin-left: -10px; margin-right: -10px; span { color: #000; cursor: pointer; font-size: 30px; opacity: 0.6; padding: 0 10px; } } .cycle-prev-control { left: 5px; } .cycle-next-control { right: 5px; } } .a3-cycle-pauseplay { .opacity(0); -moz-transition: all 1s linear 0s; -o-transition: all 1s linear 0s; -webkit-transition: all 1s linear 0s; margin-top:-20px; margin-left: -20px; position: absolute; text-align:center; top: 50%; left: 50%; transition: all 1s linear 0s; z-index: 1001; .cycle-pause-control, .cycle-play-control { line-height: 1; span { color: #000; cursor: pointer; font-size: 30px; opacity: 0.6; padding: 10px; } } } .a3-rslider-template-widget { .a3-cycle-controls { .cycle-prev { left:0px; } .cycle-next { right:0; } } } .cycle-pager-container { .opacity(0); -moz-transition: all 1s linear 0s; -o-transition: all 1s linear 0s; -webkit-transition: all 1s linear 0s; bottom: 10px; position: absolute; right: 10px; text-align:center; transition: all 1s linear 0s; z-index: 800; } .cycle-pager-inside { display: table; margin: auto; position: relative; } .cycle-caption-inside { display: table; margin: auto; position: relative; } .cycle-pager-overlay { .opacity(0.6); .border_radius(4px); background: #000000; height:@height3; left:0; position: absolute; top:0; width:@width1; } .cycle-pager { display:table; padding: 5px; position:relative; span { .border_radius(10px); background: transparent; border:1px solid #FFFFFF; cursor: pointer; display: block; float: left; height: 10px; margin: 3px; text-indent: -999em; width: 10px; } span.cycle-pager-active { background: #FFFFFF; } } .a3-cycle-video-prev, .a3-cycle-video-next { display: none; } .a3-slider-card-container-mobile { .a3-cycle-slideshow>img.cycle-slide { height:auto; max-height:none !important; width:@width1; } .a3-slider-bg { background:url("../images/mobile_slider_bg.png") repeat-x left bottom; bottom:0; height:16px; left:0; position:absolute; width:@width1; z-index:101; } .a3-slider-video-slide { height:auto; .video_ojbect_container { height:0; } } .a3-slider-video-slide.cycle-slide-active { .video_ojbect_container { height:@height3; } } .video_ojbect_container { iframe { height:@height3 !important; width:@width1 !important; } } .a3-cycle-video-prev, .a3-cycle-video-next { display: block; position: absolute; left: 0; top: 15%; width: 40%; height: 70%; } .a3-cycle-video-next { left: auto; right:0; } } body { .a3-slider-card-container-basic-mobile-skin { margin: 0 !important; padding: 0 !important; } } .a3-slider-card-container-basic-mobile-skin { .cycle-caption-container { bottom: 15px; left: auto; position:absolute; right: 10px; top: auto; } .cycle-caption-overlay { .opacity(0.6); .border_radius(10px); background-color: #000000 !important; height:@height3; left:0; position:absolute; top:0; width:@width1; } .cycle-caption { .border_radius(10px); color:#FFFFFF !important; font:normal 11px Arial, sans-serif !important; padding: 2px 5px !important; position: relative !important; } .cycle-template-mobile-overlay { display:none; .cycle-title { color:#6d6d6d !important; display:block; font:normal 16px Arial, sans-serif !important; margin: 5px 10px 5px 10px !important; padding:0 !important; a { color:#6d6d6d !important; font:normal 16px Arial, sans-serif !important; &:hover { color: #383838 !important; } } } .cycle-description { color:#666666 !important; display:block; font:normal 12px Arial, sans-serif !important; margin: 10px 10px 5px 10px !important; } } } .a3-slider-video-slide { height:@height3; width:@width1; div.cycle-youtube { height:@height3; left:0; position:absolute; top:0; width:@width1; } iframe { height:@height3 !important; width:@width1 !important; } object { height:@height3 !important; width:@width1 !important; } embed { height:@height3 !important; width:@width1 !important; } img.a3-slider-video-space { height:auto; max-width:@width1; position:relative; width:@width1; } .video_ojbect_container { background:#000000; left:0; position:absolute; top:0; width:@width1; height:@height3; text-align:center; } } .a3-cycle-lazy-hidden { } .a3-rslider-container .lazy-hidden { height: @height3; position: absolute; width: @width1; z-index: 9999; } .cycle-slideshow-lazyload { position: relative; } .a3-slider-video-slide.cycle-slide-active { div.cycle-youtube { height:@height3; } } @media screen and (max-width :600px) { .a3-cycle-slideshow .cycle-overlay-container { display:none !important;} .a3-rslider-container .cycle-overlay { display:none !important;} .a3-slider-video-slide div.cycle-youtube { height:0;} .a3-slider-video-slide.cycle-slide-active div.cycle-youtube { height:100%; } }