/* * jQuery FlexSlider v2.0 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) */ /* Browser Resets */ .flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {outline: none;} .slides, .flex-control-nav, .flex-direction-nav {margin: 0; padding: 0; list-style: none;} /* FlexSlider Necessary Styles *********************************/ .flexslider, .gallery_slider {margin: 0; padding: 0;} .flexslider .slides > li, .gallery_slider .slides > li { display: none; padding: 0; background: none; height: auto !important; position: relative; z-index: 2; } /* Hide the slides before the JS is loaded. Avoids image jumping */ .flexslider .slides img {width: 100%; display: block;} .gallery_slider .slides img {width: 100%; display: block;} .flex-pauseplay span {text-transform: capitalize;} /* Clearfix for the .slides element */ .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} html[xmlns] .slides {display: block;} * html .slides {height: 1%;} /* No JavaScript Fallback */ /* If you are not using another script, such as Modernizr, make sure you * include js that eliminates this class on page load */ .no-js .slides > li:first-child {display: block;} /* Gallery Post Type Slider *********************************/ .gallery_slider { background: none repeat scroll 0 0 #FFF; border: 3px solid #FFF; outline: 1px solid #D4D4D4; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; margin: 0 0 5px 0; position: relative; zoom: 1; overflow: hidden; } .gallery_slider li:before { display: none; } .gallery_slider .slides { width: 100%; overflow: visible !important; } .gallery_slider .flex-control-nav { margin: 0; bottom: 5px; left: 0; right: 0; text-align: center; position: absolute; } /* FlexSlider Default Theme *********************************/ .flexslider li:before { display: none; } .flexslider { margin: 0; position: relative; box-shadow: 0 5px 7px rgba(0,0,0,.22); zoom: 1; overflow: hidden; } .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;} .loading .flex-viewport {max-height: 300px;} .flexslider .slides { zoom: 1; } .flexslider .slides li { } .flexslider .slides li img { } .carousel li {margin-right: 5px} .flex-controls-wrap { position: absolute; right: 0; bottom: -50px; padding: 10px; background: #000; z-index: 30; -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -o-transition: all .5s ease; -ms-transition: all .5s ease; transition: all .5s ease; } .flexslider:hover .flex-controls-wrap { bottom: 0; } /* Direction Nav */ .flex-direction-nav { display: inline-block; vertical-align: middle; } .flex-direction-nav li { padding: 0; background: none; display: inline-block; vertical-align: middle; } .flex-direction-nav a { width: 20px; height: 20px; margin: 0; display: block; background: none; cursor: pointer; color: #fff; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; transition: all .3s ease; } .flex-direction-nav a:after { font-family: FontAwesome; font-size: 26px; line-height: 20px; display: block; text-align: center; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; transition: all .3s ease; } .flex-direction-nav a.flex-prev:after { content: "\f104"; } .flex-direction-nav a.flex-next:after { content: "\f105"; } .flexslider .flex-direction-nav a:hover { color: #0cafdc; text-decoration: none; } .flexslider .flex-direction-nav a:focus, .flexslider .flex-direction-nav a:active { text-decoration: none; } .flex-direction-nav .flex-disabled { opacity: .3!important; filter:alpha(opacity=30); cursor: default; } div[class*="gall-holder"] .flex-direction-nav, div[class*="gall-holder"] .flex-direction-nav li { position: static; } div[class*="gall-holder"] .flex-direction-nav li a { position: absolute; top: 50%; height: 40px; width: 20px; line-height: 40px; background: #fff; color: #000; margin: -20px 0 0 0; z-index: 10; } div[class*="gall-holder"] .flex-direction-nav li a:after { line-height: 40px; width: 20px; } div[class*="gall-holder"] .flex-direction-nav li a.flex-prev { left: 0; } div[class*="gall-holder"] .flex-direction-nav li a.flex-next { right: 0; } div[class*="gall-holder"] .flex-direction-nav li a:hover { color: #0CAFDC; } /* Control Nav */ .flex-control-nav { text-align: center; display: inline-block; margin:0 10px 0 0; padding: 0; font-size: 0; line-height: 0; overflow: hidden; vertical-align: middle; } .gall-control-nav { bottom: 0; left: 0; right: 0; text-align: center; position: absolute; } .flex-control-nav li, .gall-control-nav li { margin: 0 2px; padding: 0; display: inline-block; zoom: 1; overflow: hidden; width: 14px; height: 14px; *display: inline; } .gall-control-nav li { margin: 0 2px 5px; } .flex-control-paging li a, .gall-control-nav li a { width: 14px; height: 14px; display: block; background: #fff; cursor: pointer; text-indent: -99px; overflow: hidden; -webkit-border-radius: 7px; -moz-border-radius: 7px; -o-border-radius: 7px; border-radius: 7px; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; transition: all .3s ease; } .flex-control-paging li a:hover, .gall-control-nav li a:hover { background: #0cafdc; } .flex-control-paging li a.flex-active, .gall-control-nav li.flex-active a { background: #0cafdc; cursor: default; } .flex-control-thumbs { margin: 5px 0 0; position: static; overflow: hidden; } .flex-control-thumbs li { width: 25%; float: left; margin: 0; } .flex-control-thumbs img { width: 100%; display: block; opacity: .7; cursor: pointer; } .flex-control-thumbs img:hover {opacity: 1;} .flex-control-thumbs .flex-active {opacity: 1; cursor: default;} .slider-caption { position: absolute; bottom: 30px; left: 0; right: 0; color: #fff; padding: 0; z-index: 99; font-weight: 300; max-width: 80%; } .slider-caption h4 { color: #fff; font-weight: 300; font-size: 32px; line-height: 34px; padding: 10px; background: #000; display: inline-block; margin: 0 0 1px 0; } .flex-active-slide .slider-caption h4 { -moz-animation:banner-h 1000ms linear; } .sl-capt-content { padding: 10px; background: #000; font-size: 14px; line-height: 20px; margin: 0 0 7px 0; display: inline-block; } .flex-active-slide .slider-caption .sl-capt-content { -moz-animation:banner-t 2000ms linear; } .slider-caption .btn.btn-primary { clear: both; font-weight: normal; border-radius: 0; border: none; } .slider-caption .btn.btn-primary:hover { border: none; } .flex-active-slide .slider-caption .sl-btn-wrap { -moz-animation:banner-b 2500ms linear; } /* Tablet to desktop /* -------------------------------------------------- */ @media (min-width: 768px) and (max-width: 979px) { .slider-caption h4 { font-size: 18px; line-height: 20px; } .sl-capt-content { font-size: 12px; line-height: 20px; } } @media (max-width: 767px) { .slider-caption { display: none; } } @-moz-keyframes banner-h { 0% { opacity:0; -moz-transform: translateX(-800px); } 100% { opacity:1; -moz-transform: translateX(0); } } @-moz-keyframes banner-t { 0% { opacity:0; -moz-transform: translateX(-800px); } 50% { opacity:0; -moz-transform: translateX(-800px); } 100% { opacity:1; -moz-transform: translateX(0); } } @-moz-keyframes banner-b { 0% { opacity:0; -moz-transform: translateX(-800px); } 50% { opacity:0; -moz-transform: translateX(-800px); } 100% { opacity:1; -moz-transform: translateX(0); } }