@import url(animate.min.css);
@import url(bacarousel.min.css);

.ba---gallery-category *{-webkit-box-sizing:border-box;box-sizing:border-box; font-size: 16px;}
.ba---gallery-category img{max-width:100%;height:auto;max-height:100%;display:inline-block;}
.ba---gallery{width:100%}
.ba---gallery:not(.slideshow):not(.carousel) > * > *{padding:.1em;text-align:center}
.ba---gallery .title,.ba---gallery .caption{display:none;height:auto}
.ba__gallery-thumbnails{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.ba---gallery .item{position:relative;overflow:hidden;line-height:normal;cursor: pointer;}
.ba---gallery .item-inside{position: relative; z-index: 2;}
.ba---gallery.thumbnails .item-inside{position:absolute;left:0;top:50%;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}
.ba__gallery-masonry{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0;-webkit-column-count:3;-moz-column-count:3;column-count:3;orphans:1;widows:1;line-height:0}
.ba__gallery-masonry > *:not([hidden]){display:inline-block;width:100%;-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid}
.ba__gallery-mosaic *{width: 100%; height: 100%; display: block;}
.ba---gallery > .slider-thumbnail{margin-top:10px;}
.ba---gallery > .slider-thumbnail a{text-decoration: none; outline: none;}
.ba---gallery > .slider-main a{text-align: center;}
.ba__carousel-viewport{height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
.ba__modal-container{position: fixed;left: 0;top: 0;right: 0;bottom: 0;background: #303440;z-index: 9999;display: none;-webkit-transition: all .3s;-webkit-transition: all .9s;transition: all .9s; }
.lightbox-body{text-align: center;}
.lightbox-body img{max-height: 100%; width: auto; display: inline-block;}
.ba__modal-container *{-webkit-box-sizing: border-box;box-sizing: border-box;}
.ba__modal-container > *{position: absolute; left:50%; top: 50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%); display: block; width: 100%; height: 100%; -webkit-transition: all .5s; transition: all .5s;background: rgba(150,150,150,.2); -webkit-box-shadow: 0 0 3em rgba(0,0,0,.5); box-shadow: 0 0 3em rgba(0,0,0,.5);}
.ba__modal-container .ba__carousel-viewport{height: calc(100% - 6em);}
.ba__modal-container .ba__carousel-wrap{display: block; width: 100%; height: 100%; margin: auto;}
.ba__modal-container .ba__buttons,
.ba---gallery.slideshow .ba__buttons{position: absolute; left: 0; top: 50%; width: 100%; height: 0; display: block;}
.ba__modal-container .ba__buttons > *,
.ba---gallery.slideshow .ba__buttons > *{width:48px; height: 80px; border-radius: 2px; background: rgba(128, 128, 128, 0.5);margin: 0;-webkit-transform: translate(0, -100%);transform: translate(0, -100%);}
.ba__modal-container .ba__buttons > .next,
.ba---gallery.slideshow .ba__buttons > .next{float: right;}
.ba__modal-container .ba__buttons > :hover{background: rgba(255, 255, 255, 0.5);}
.ba__gallery-controls{position: absolute; left: 0; top: 0; width: 100%; background-color: rgba(0,0,0,.3); z-index: 99;}
.ba__gallery-controls > *{display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end;}
.type-thumbnails > i,
.ba__carousel-wrap .ba__gallery-control{display: block;padding:0;margin: 8px;width: 30px;height: 30px;color: #fff !important; opacity: .5; cursor: pointer;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 516 32'%3E%3Cpath d='M19 30 7 16 19 2m4 22-8-8 8-8m20 22 12-14L43 2m-4 22 8-8-8-8m34-6v28l14-14L73 2zm46 0v28M105 2v28m27-18V4h8m8 0h8v8m-24 8v8h8m16-8v8h-8m16-16h8V4m8 0v8h8m-24 8h8v8m16-8h-8v8'/%3E%3Cpath d='m484 27 22-22m0 22L484 5'/%3E%3Ccircle cx='207' cy='14' r='12'/%3E%3Cpath d='m216 23 7 7m-16-20v8m-4-4h8'/%3E%3Ccircle cx='239' cy='14' r='12'/%3E%3Cpath d='m248 23 7 7m-20-16h8m16.688 2c-3-4-2-10 3-12s8 2 9 4c1-2 5-6 10-4s5 8 2 12-12 12-12 12-9-8-12-12zM316 22v8h-24v-8m12-18v20m-8-8 8 8 8-8m24-2v9m0-15v2'/%3E%3Ccircle cx='336' cy='16' r='14'/%3E%3Cpath fill='%23fff' stroke='none' d='M382.144 9.136q-.941 1.377-2.276 2.346.014.197.014.59 0 1.827-.534 3.647t-1.624 3.49-2.592 2.958-3.625 2.052-4.538.765q-3.808 0-6.969-2.037.492.056 1.096.056 3.161 0 5.634-1.939-1.475-.028-2.64-.906t-1.603-2.241q.464.07.857.07.604 0 1.194-.154-1.573-.324-2.606-1.567t-1.033-2.887v-.056q.955.534 2.05.576-.927-.619-1.474-1.616t-.548-2.164q0-1.236.618-2.29 1.7 2.093 4.138 3.35t5.22 1.399q-.113-.535-.113-1.04 0-1.883 1.328-3.21T375.328 7q1.968 0 3.316 1.433 1.531-.295 2.88-1.096-.52 1.616-1.995 2.501 1.307-.14 2.613-.703l.002.001zm23.285-3.977V8.65h-2.077c-.758 0-1.27.159-1.534.477s-.397.793-.397 1.429v2.5h3.875l-.515 3.915h-3.36v10.04h-4.048v-10.04H394v-3.915h3.373v-2.884c0-1.64.46-2.913 1.376-3.816S400.887 5 402.413 5c1.296 0 2.301.053 3.015.159h.001zM423 12.328q0-1.507.523-2.839t1.444-2.323 2.12-1.715 2.582-1.088T432.487 4q2.204 0 4.101.928t3.083 2.7 1.186 4.003q0 1.34-.265 2.623t-.837 2.47-1.395 2.085-2.023 1.437-2.636.538q-.949 0-1.884-.447t-1.339-1.227q-.14.544-.39 1.57t-.329 1.325-.286.99-.362.99-.446.873-.642 1.081-.864 1.207l-.196.07-.125-.14q-.21-2.19-.21-2.623 0-1.283.3-2.881t.928-4.011.726-2.832q-.446-.907-.446-2.358 0-1.158.726-2.176t1.841-1.02q.85 0 1.325.566t.474 1.43q0 .92-.614 2.664t-.614 2.609q0 .879.628 1.458t1.52.578q.768 0 1.423-.348t1.096-.948.78-1.325.531-1.542.28-1.548.09-1.389q0-2.413-1.527-3.76t-3.983-1.346q-2.79 0-4.66 1.807t-1.87 4.583q0 .614.175 1.186t.377.907.376.635.174.426q0 .39-.209 1.019t-.516.628q-.029 0-.238-.042-.712-.21-1.262-.782t-.851-1.318-.453-1.507-.153-1.486l-.002-.002zm46.978 9.842 1.094 3.241c-.209.319-.715.62-1.518.903s-1.61.428-2.42.437c-.948.018-1.815-.1-2.605-.355s-1.439-.592-1.949-1.012-.943-.902-1.298-1.449-.609-1.094-.759-1.64-.226-1.085-.226-1.614v-7.438H458v-2.94c.656-.236 1.244-.553 1.764-.95s.934-.807 1.244-1.23.575-.89.794-1.395.373-.957.464-1.354.16-.8.206-1.21c.009-.045.03-.084.06-.116S462.6 4 462.637 4h3.336v5.797h4.553v3.446h-4.567v7.082c0 .274.03.53.089.766s.161.476.308.718.372.431.676.568.677.2 1.115.191c.71-.017 1.322-.15 1.832-.396v-.001z'/%3E%3C/svg%3E") no-repeat; background-size: 486px 32px;}
.ba__gallery-control.close{background-position: -452px 0;}
.ba__gallery-control.play{background-position: -60px 0;}
.ba__carousel-viewport[data-play] ~ .ba__gallery-controls .play{background-position: -90px 0;}
.ba__gallery-control.zoomout{background-position: -182px 0;}
.ba__gallery-control.zoomin{background-position: -212px 0;}
.ba__gallery-control.download{background-position: -272px 0;}
.ba__gallery-control.fullscreen{background-position: -121px 0;}
.ba__gallery-control.fullscreen.on{background-position: -151px 0;}
.ba__gallery-control.facebook{background-position: -362px 0;}
.ba__gallery-control.twitter{background-position: -335px 0;}
.ba__gallery-control.pinterest{background-position: -392px 0;}
.ba__modal-container .type-thumbnails{position: absolute; left: 0; bottom: 0; width: 100%; height: auto; background: #4b4e59;}
.ba__carousel-wrap .pager.thumbnails>*{border-width: 5px;}
.ba__modal-container .type-thumbnails > i,
.ba---gallery.slideshow .type-thumbnails > i{background-position: 0 50%; margin: 0; position: absolute; left: 0; top: 0; width: 36px; height: 100%; display: block !important;background-color: rgba(128, 128, 128, 0.5); cursor: pointer;font-size:0;font-style: normal;color: #fff;line-height: 2;text-align: center; -webkit-transition: all .3s; transition: all .3s;}
.ba__modal-container .type-thumbnails > :last-child,
.ba---gallery.slideshow .type-thumbnails > :last-child{background-position:-28px 50%; left: auto; right: 0;}
.ba---gallery.slideshow .type-thumbnails > i:hover:not(.disable){background-color: #4b4e59;}
.ba__modal-container .type-thumbnails > :not(.disable):hover,
.ba__modal-container .ba__gallery-control:not(.disable):hover{opacity: 1;}
.ba__carousel-wrap .type-thumbnails > .disable{opacity: .1;}
.ba__gallery-controls .disable{opacity: .2;}
.ba__gallery-counter{font-size: 18px;font-weight:400;color: #ccc;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;margin-right: auto;padding: 0 10px;}
.ba__modal-loading+*{opacity: 0; z-index: -99;}
.ba__gallery-slideshow .ba__carousel-item{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}
.ba__gallery-slideshow .ba__carousel-item > a{display: block; text-align: center;}
.ba---gallery.slideshow .type-thumbnails{background: rgba(0,0,0,.1);border-radius: .3em;}
.ba__modal-container .item{opacity: 0; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
.ba__modal-container .ba__carousel-item.active{opacity: 1;}
.ba__modal-container.on-hover .ba__buttons > *{left: -10em; -webkit-transition: all .3s; transition: all .3s;}
.ba__modal-container.on-hover .ba__buttons > .next{left: auto; right: -10em;}
.ba__modal-container.on-hover:hover .ba__buttons > *{left:0;}
.ba__modal-container.on-hover:hover .ba__buttons > .next{left: auto; right:0;}
.ba__modal-container .caption{background: rgba(0,0,0,.5);padding: 1em;color: #fff;position: fixed;left: 0;bottom:100px;width: 100%; display: none;}
.ba__modal-container.show-caption .caption{display:block;}
.ba---gallery.polaroid > .ba__gallery-polaroid > *{width: 33%;float: left;border:1px solid #dddfe6;-webkit-box-shadow: 0 0 1em #d5d9e1;box-shadow: 0 0 1em #d5d9e1;padding: 1vw;background: #f5f5f5; position: relative;}
.ba---gallery.polaroid > .ba__gallery-polaroid > :hover{z-index: 99; background: #fff; -webkit-box-shadow: 0 0 3em rgba(0,0,0,.3); box-shadow: 0 0 3em rgba(0,0,0,.3); -webkit-transition: all .3s; transition: all .3s;}
.ba---gallery .caption > *{height: auto;}
.ba---gallery .caption > .caption-body{display: none;}
.ba---gallery .caption.title-on,
.ba---gallery .item-wrap:hover .caption.title-hover{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;z-index:9;background:rgba(0,0,0,.5);color:#fff;width:100%;height:100%;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-pack: end;-ms-flex-pack: end;justify-content: flex-end;padding: .5em; cursor: pointer;}
.ba---gallery:not(.browser):not(.blog):not(.slideshow):not(.carousel) .item .ba---gallery-image:not(.ba-lazy){-webkit-transition: all .3s;transition: all .3s; cursor: pointer; opacity: 1;}
.ba---gallery:not(.browser):not(.blog):not(.slideshow):not(.carousel) .item:hover .ba---gallery-image{-webkit-transform: scale(1.1);transform: scale(1.1);}
.ba---gallery .ba__gallery-item .caption.title-hover{opacity: 0;}
.ba---gallery .ba__gallery-item:hover .caption.title-hover{opacity: 1;}
.ba---gallery.slideshow .ba__gallery-item .caption,
.ba---gallery.browser .ba__gallery-item .caption,
.ba---gallery.blog .item-wrap > .item .caption,
.ba---gallery.polaroid .item-wrap > .item .caption{height: auto; bottom: 0; top: auto;}
.ba---gallery.carousel .ba__buttons{position: absolute; left:10px; top: 50%; width:calc(100% - 20px); height: 0;}
.ba---gallery.carousel .ba__buttons > *{margin: -42px 0 0; background: #fff;border: 8px solid rgba(0,0,0,.2); color: #000; opacity: .7;}
.ba---gallery.carousel .ba__buttons > .next{float: right;}
.ba---gallery.carousel .ba__buttons > :hover{opacity: 1;}
.ba---gallery.carousel .item{overflow: hidden; margin: 1px; background-color: rgba(0,0,0,.1);}
.ba---gallery.blog .item-wrap{padding: 1em; border-bottom: 1px solid rgba(0,0,0,.1);}
.ba__gallery-blog > * > * .caption.title-on,
.ba---gallery.browser > * > * .caption.title-on,
.ba---gallery.carousel > * > * .caption.title-on{position: static;background: none;color: inherit;}
.ba__gallery-blog > * > * .caption.title-on > *,
.ba---gallery.browser > * > * .caption.title-on > *{display: block;}
.ba__gallery-blog .item{display:table; margin: 0 auto; }
.ba---gallery.browser .ba__buttons{display: table; width: 100%;}
.ba---gallery.browser .ba__buttons > *{margin: 0; width: 80px; height: 42px; background: #dcdee1; color: #000; opacity: .7;}
.ba---gallery.browser .ba__buttons > .next{float: right;}
.ba---gallery.browser .ba__buttons > :hover{opacity: 1;}
.ba__gallery-browser .item{display: table; margin: auto;}
.ba__gallery-polaroid{padding: 3em;}
.filters .form-control{height: auto;}
.ba-lazy{opacity: 0;}
.item:not(.loaded)::before{position:absolute;left:50%;top:50%;margin:-15px 0 0 -15px;border:5px solid #c7cdd1;border-radius:50%;border-top-color:#0abe5b;width:30px;height:30px;content:'';-webkit-animation:spinner .5s linear infinite;animation:spinner .5s linear infinite}
@-webkit-keyframes spinner {
0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}
}
@keyframes spinner {
0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}
}
_:-ms-fullscreen, :root .ba---gallery.carousel .ba__carousel {display: table;}
_:-ms-input-placeholder, :root .ba__gallery-controls > * {display:block; width: 100%; height: 40px;}
_:-ms-input-placeholder, :root .ba__gallery-controls > * > *{display: block; float: left;}


.ba---gallery.mosaic.vertical > *{display: -webkit-box;display: -ms-flexbox;display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-line-pack: center; align-content: center; -webkit-transition: all .3s; transition: all .3s;}
.ba---gallery.mosaic.vertical > * > *{-webkit-box-flex: 1;-ms-flex: 1 0 auto;flex: 1 0 auto; text-align: center; max-width: 33.33%; display:block; height: auto;}


.container-min{max-width: 600px;}
.ba__gallery-thumbnails > *{width: 33.33%;}
.ba__gallery-thumbnails .item{padding-top: 68%;}
.ba__gallery-masonry img, .ba__gallery-polaroid img{width:100%; height: auto;}
@media (max-width: 991px) {
    .ba__gallery-thumbnails > *, .ba---gallery.polaroid > .ba__gallery-polaroid > *{width: 50%;}
    .ba__gallery-masonry{-webkit-column-count: 2;-moz-column-count: 2;column-count: 2;}
}
@media (max-width: 575px) {
    .ba__gallery-thumbnails > *{width: 100%;}
    .ba__gallery-masonry{-webkit-column-count: 1;-moz-column-count: 1;column-count: 1;}
}

