.gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; .gallery-columns-2 & { max-width: 50%; } .gallery-columns-3 & { max-width: 33.33%; } .gallery-columns-4 & { max-width: 25%; } .gallery-columns-5 & { max-width: 20%; } .gallery-columns-6 & { max-width: 16.66%; } .gallery-columns-7 & { max-width: 14.28%; } .gallery-columns-8 & { max-width: 12.5%; } .gallery-columns-9 & { max-width: 11.11%; } } .gallery-caption { display: block; } /* * jQuery FlexSlider v2.5.0 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 and later license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) * */ @font-face { font-family: 'flexslider-icon'; src: url('fonts/flexslider-icon.eot'); src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg'); font-weight: normal; font-style: normal; } .flex-container a:hover, .flex-slider a:hover, .flex-container a:focus, .flex-slider a:focus { outline: none; } .slides, .slides > li, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; } .flex-pauseplay span { text-transform: capitalize; } .flexslider { margin: 0; padding: 0; } .flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; } .flexslider .slides img { width: 100%; display: block; } .flexslider .slides:after { content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } html[xmlns] .flexslider .slides { display: block; } * html .flexslider .slides { height: 1%; } .no-js .flexslider .slides > li:first-child { display: block; } .flexslider { background-color: $color__mid-grey; margin: 0; position: relative; zoom: 1; } .flexslider .slides { zoom: 1; } .flexslider .slides img { max-width: 99.9%; height: auto; } .flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; transition: all 1s ease; } .loading .flex-viewport { max-height: 300px; } .carousel li { margin-right: 0; } .flex-control-nav { width: 100%; position: absolute; bottom: 20px; text-align: center; z-index: 10; } .flex-control-nav li { margin: 0 6px; display: inline-block; zoom: 1; *display: inline; } .flex-control-paging li a { width: 14px; height: 14px; display: block; background: $color__white; background: rgba(255, 255, 255, 0.4); cursor: pointer; text-indent: -9999px; border-radius: 20px; } .flex-control-paging li a:hover { background: $color__link; } .flex-control-paging li a.flex-active { background: $color__link; cursor: default; } @media screen and (max-width: 860px) { .flex-direction-nav .flex-prev { opacity: 1; left: 10px; } .flex-direction-nav .flex-next { opacity: 1; right: 10px; } }