/*------------------------------------------------------------ Galleries ============================================================*/ .gallery { margin: 0 -1.1666667% 1.75em; } .gallery-item { display: inline-block; max-width: 33.33%; padding: 0 1.14% 2.28%; text-align: center; vertical-align: top; width: 100%; margin:0; } .gallery-columns-1 .gallery-item { max-width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { /* see default */ } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; font-size: 0.8rem; font-style: italic; line-height: 1.6; padding-top: 0.5em; } .gallery-columns-5 .gallery-caption, .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; } /*------------------------------------------------------------ Single image ============================================================*/ .entry-title-image { color: $secondaryColor; } .full-attach { text-align: center; padding: .9375rem .9375rem 0 .9375rem; font-size: 0.9rem; } .post-body { padding: .9375rem; p { &:last-child { margin-bottom: 0; } } } .post-image { padding-top: .9375rem; text-align: center; img { width: 100%; } } /*------------------------------------------------------------ Orbit Carousel CSS ============================================================*/ .orbit-container { margin-left: 0 !important; } .orbit-previous { right: 50px; left:inherit; } .orbit-next { right: 10px; } .orbit-previous, .orbit-next { color: $whiteColor; margin: 5px; padding: 4px 12px; background: $primaryColor; display: inline-block; cursor: pointer; border-radius: 3px; top: 25px; &:hover, &:focus { background: $secondaryColor; color: $whiteColor; text-decoration: none; } }