/*------- Gallery -------*/
.gallery-style {
  padding-top: 60px;
  padding-bottom: 90px;
  background-color: #232323;
}
.gallery-style .mbr-slider .carousel-control {
  background: #1b1b1b;
}
.gallery-style .mbr-slider .carousel-control-prev {
  left: 0;
  margin-left: 2.5rem;
}
.gallery-style .mbr-slider .carousel-control-next {
  right: 0;
  margin-right: 2.5rem;
}
.gallery-style .mbr-slider .modal-body .close {
  background: #1b1b1b;
}
.mbr-gallery .mbr-gallery-item {
  position: relative;
  display: inline-block;
  width: 25%; }
.mbr-gallery .mbr-gallery-item > div {
  background: #000;
  border-radius: 4px;
  display: block;
  outline: none;
  position: relative; 
  cursor: pointer; }
.mbr-gallery .mbr-gallery-item img {
  width: 100%;
  border-radius: 4px; 
  opacity: 1;
  -webkit-transition: .3s opacity ease-in-out;
  transition: .3s opacity ease-in-out; }
.mbr-gallery .mbr-gallery-item > div:hover img {
  opacity: .5; }

.gallery-style .mbr-gallery-title {
  font-size: .9em;
  position: absolute;
  display: block;
  width: 100%;
  bottom: -8px;
  padding: 1rem;
  color: #fff;
  opacity: 0;
  background: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all .3s ease-in-out; }

.mbr-gallery .mbr-gallery-item > div:hover .mbr-gallery-title {
  opacity: 1; }

.mbr-gallery .icon-focus {
  position: absolute;
  float: right;
  bottom: 3%;
  right: 4%;
  font-family: 'MobiriseIcons' !important;
  font-size: 1.7rem !important;
  color: #fff;
  opacity: 0;
  transition: .2s opacity ease-in-out; }

.mbr-gallery .icon-focus::before {
  content: '\e96b'; }
.mbr-gallery .mbr-gallery-item > div:hover .icon-focus {
  opacity: 1; }

  @media (max-width: 992px) {
    .gallery-style .mbr-gallery-title {
        opacity: 1; 
        text-shadow: 2px 2px 8px #000; }
    .mbr-gallery .mbr-gallery-item > div:hover img {
        opacity: 1; }
    .mbr-gallery .mbr-gallery-item .icon-focus {
        opacity: 1; 
        text-shadow: 2px 2px 8px #000;  }}

/* remove spacing */
.mbr-gallery .mbr-gallery-row.no-gutter {
  margin: 0; }

.mbr-gallery .mbr-gallery-row.no-gutter .mbr-gallery-item {
  padding: 0; }

/* container */
.mbr-gallery .container.mbr-gallery-layout-default {
  padding: 93px 0; }

/* fix horizontal scrollbar */
.mbr-gallery .mbr-gallery-layout-article,
.mbr-gallery .mbr-gallery-layout-default {
  overflow: hidden; }

/*------- Lightbox -------*/
.mbr-gallery .modal {
  position: fixed;
  overflow: hidden;
  padding-right: 0 !important; }

.mbr-gallery .modal-content {
  border-radius: 0;
  border: none;
  background: transparent; }

.mbr-gallery .modal-body {
  padding: 0; }

.mbr-gallery .modal-body img {
  width: 100%; 
  border-radius: 4px; }

.mbr-gallery .modal .close {
  position: fixed;
  background: #1b1b1b;
  opacity: .5;
  font-size: 35px;
  font-weight: 300;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: #fff;
  top: 2.5rem;
  right: 2.5rem;
  line-height: 70px;
  border: none;
  text-align: center;
  text-shadow: none;
  z-index: 5;
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease;
  font-family: 'MobiriseIcons'; }
  .mbr-gallery .modal .close::before {
    content: '\e91a'; }

.mbr-gallery .modal .close:hover {
  opacity: 1;
  background: #000;
  color: #fff; }

.mbr-gallery .modal-dialog {
  max-width: 100% !important; }

.mbr-gallery .modal.in .modal-dialog {
  margin: 0 auto; }

/* modal back color opacity */
.modal-backdrop.show {
  opacity: .9 !important;
  filter: alpha(opacity=90) !important; }

@media (max-width: 768px) {
  .mbr-gallery .carousel-control,
  .mbr-gallery .carousel-indicators,
  .mbr-gallery .modal .close {
    position: fixed; } }
/* fix fade in effect */
.mbr-gallery .modal.fade .modal-dialog {
  -webkit-transition: margin-top .3s ease-out;
  -moz-transition: margin-top .3s ease-out;
  -o-transition: margin-top .3s ease-out;
  transition: margin-top .3s ease-out; }

.mbr-gallery .modal.fade .modal-dialog,
.mbr-gallery .modal.in .modal-dialog {
  -webkit-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none; }

/*-------

   Slider

-------*/
.mbr-slider .carousel-inner > .active,
.mbr-slider .carousel-inner > .next,
.mbr-slider .carousel-inner > .prev {
  display: table; }

.mbr-slider .carousel-control {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 50%;
  margin-top: -35px;
  line-height: 70px;
  border-radius: 50%;
  font-size: 35px;
  border: 0;
  opacity: .5;
  text-shadow: none;
  z-index: 5;
  color: #fff;
  -webkit-transition: all .2s ease-in-out 0s;
  -o-transition: all .2s ease-in-out 0s;
  transition: all .2s ease-in-out 0s; }

.mbr-gallery .mbr-slider .carousel-control {
  position: fixed; }

@media (max-width: 991px) {
  .mbr-gallery .mbr-slider .carousel-control {
    bottom: 2.5rem;
    margin-top: 0;
    top: auto;
    z-index: 17; } }
.mbr-gallery .mbr-slider .carousel-inner > .active {
  display: block; }

.mbr-slider .carousel-control.left {
  left: 0;
  margin-left: 2.5rem; }

.mbr-slider .carousel-control.right {
  right: 0;
  margin-right: 2.5rem; }

.mbr-slider .carousel-control .icon-next,
.mbr-slider .carousel-control .icon-prev {
  margin-top: -18px;
  font-size: 40px;
  line-height: 27px; }

.mbr-slider .carousel-control:hover {
  background: #1b1b1b;
  color: #fff;
  opacity: 1; }

.mbr-slider .carousel-indicators {
  position: absolute;
  bottom: 0;
  margin-bottom: 1.5rem !important; }

@media (max-width: 543px) {
  .mbr-slider .carousel-indicators {
    display: none; } }
.carousel-indicators .active,
.carousel-indicators li {
  width: 15px;
  height: 15px;
  margin: 3px;
  background: #1b1b1b;
  border: 0;
  opacity: .5; }

.carousel-indicators .active {
  border: 4px solid #1b1b1b;
  background: #fff; }

.carousel-indicators li {
  max-width: 15px;
  max-height: 15px;
  margin: 3px;
  background: #1b1b1b;
  border: 0;
  border-radius: 50%;
  opacity: .5; }

.carousel-indicators li.active {
  border: 4px solid #1b1b1b;
  background: #fff; }

.container .carousel-indicators {
  margin-bottom: 3px; }

.mbr-gallery .mbr-slider .carousel-indicators {
  position: fixed;
  margin-bottom: 2.5rem !important; }

@media (max-width: 991px) {
  .mbr-gallery .mbr-slider .carousel-indicators {
    margin-bottom: 3.625rem !important;
    padding-left: 2.5rem;
    padding-right: 2.5rem; } }
.mbr-slider .carousel-indicators .active,
.mbr-slider .carousel-indicators li {
  width: 20px;
  height: 20px;
  margin: 3px;
  background: #1b1b1b;
  border: 0;
  opacity: .5; }

.mbr-slider .carousel-indicators .active {
  border: 4px solid #1b1b1b;
  background: #fff; }

@media (max-width: 767px) {
  .mbr-slider .carousel-control {
    top: auto;
    bottom: 20px; }

  .mbr-slider > .container .carousel-control {
    margin-bottom: 0; } }
/* boxed slider */
.mbr-slider > .boxed-slider {
  position: relative;
  padding: 93px 0; }

.mbr-slider > .boxed-slider > div {
  position: relative; }

.mbr-slider > .container img {
  width: 100%; }

.mbr-slider > .container img + .row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2; }

.mbr-slider .mbr-section {
  padding: 0;
  background-attachment: scroll; }

.mbr-slider .mbr-table-cell {
  padding: 0; }

.mbr-slider > .container .carousel-indicators {
  margin-bottom: 3px; }

/* article slider */
.mbr-slider > .article-slider .mbr-section,
.mbr-slider > .article-slider .mbr-section .mbr-table-cell {
  padding-top: 0;
  padding-bottom: 0; }

.modal-backdrop.show {
  opacity: .7; }

.video-container .mbr-background-video iframe {
  width: 100%;
  height: 100%; }

.mbr-gallery-item__hided {
  position: absolute !important;
  left: 0 !important;
  width: 0 !important;
  height: 0;
  padding: 0 !important; }

.mbr-gallery-item__hided img {
  display: none !important; }

.mbr-gallery-item__hided span {
  display: none !important; }

.mbr-gallery-filter {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center; }
  .mbr-gallery-filter li {
    display: inline-block;
    padding: 5px 0;
    transition: all .3s ease-out; }
    .mbr-gallery-filter li .btn {
      cursor: pointer; }
  .mbr-gallery-filter.gallery-filter__bg li {
    color: #fff; }
  .mbr-gallery-filter.gallery-filter__bg .active {
    color: #000;
    background-color: #fff; }
  .mbr-gallery-filter ul {
    display: inline-block;
    width: 100%;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none; }

.mbr-gallery-item > div {
  position: relative; }

.mbr-gallery-item--p1 {
  padding: 0.5rem; }

.mbr-gallery-item--p2 {
  padding: 1rem; }

.mbr-gallery-item--p3 {
  padding: 1.5rem; }

.mbr-gallery-item--p4 {
  padding: 2rem; }

.mbr-gallery-item--p5 {
  padding: 2.5rem; }

.mbr-gallery-item--p6 {
  padding: 3rem; }

.mbr-gallery .mbr-gallery-item {
  width: 33.333%; }


@media (max-width: 992px) {
  .mbr-gallery-item--p1 {
    padding: 0.5rem; }

  .mbr-gallery-item--p2 {
    padding: 0.8rem; }

  .mbr-gallery-item--p3 {
    padding: 1rem; }

  .mbr-gallery-item--p4 {
    padding: 1.5rem; }

  .mbr-gallery-item--p5 {
    padding: 1.8rem; }

  .mbr-gallery-item--p6 {
    padding: 2rem; }
}
@media (max-width: 768px) {
  .mbr-gallery .mbr-gallery-item {
    width: 50%; } 
  }

@media (max-width: 543px) {
  .mbr-gallery .mbr-gallery-item {
    width: 100%; } 
  }


