/*

Misfits Cocktails v1

*/

body {
  background: #ffffff;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  font-size: 100%;
}

/* Preserve aspect ratios — never stretch images */
img {
  max-width: 100%;
  height: auto;
}

img.img-responsive {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo,
.navbar-brand > img {
  width: auto;
  height: 45px;
  object-fit: contain;
}

.hide {
  display: none;
}
/* Typography */
h1,
h2,
h3,
.btn {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 10px;
}

h1 {
  color: black;
  font-weight: bold;
  font-size: 120px;
  line-height: 70px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sub-heading {
  color: black;
  font-weight: 200;
  font-size: 40px;
  letter-spacing: 25px;
  margin: 0px;
  padding-bottom: 10px;
}

.accent {
  color: #A52F3B;
}

.bright {
  color: white;
}

.dark {
  color: black;
}

.fw-200 {
  font-weight: 200;
}

.fw-400 {
  font-weight: 400;
}

.fw-600 {
  font-weight: 600;
}

h2 {
  color: black;
  font-size: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

#contact h2 {
  color: #ffffff;
}

h3 {
  color: #444;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 1px;
  /* padding-bottom: 10px; */
}

#menu h3 {
  color: #555;
}

h4 {
  color: #A52F3B;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

p {
  color: black;
  font-size: 18px;
  letter-spacing: 0.8px;
  line-height: 28px;
}

a {
  text-decoration: none !important;
}

a:visited,
a:focus {
  outline: none;
  text-decoration: none !important;
}

.parallax-section {
  background-attachment: scroll;
  background-size: cover !important;
}

/* hover min css */
.hvr-bounce-to-bottom:before,
.hvr-bounce-to-right:before,
.hvr-bounce-to-left:before,
.hvr-bounce-to-top:before {
  background-color: black;
}


/* All Section styles */
#events,
#about,
#feature,
#video,
#menu,
#team,
#gallery,
#cta,
#review {
  color: #656565;
  padding-top: 100px;
  padding-bottom: 100px;
}
#events,
#feature,
#video,
#team,
#gallery,
#contact,
#cta {
  text-align: center;
}

#menu,
#feature,
#gallery {
  background: rgb(240, 240, 240);
}

#cta {
  background: #A52F3B;
}

/* section title */
.section-title {
  padding-bottom: 70px;
}

#about .section-title,
#menu .section-title {
  text-align: center;
}

#contact .section-title {
  color: #f0f0f0;
}



/* Preloader section  */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.sk-spinner-pulse {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
  animation: sk-pulseScaleOut 1s infinite ease-in-out;
}

.icon-spinner {
  width: auto;
  max-width: 80px;
  height: auto;
  max-height: 80px;
}

@-webkit-keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}


/* Home section */
#home {
  color: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#home .gradient-overlay {
  background: #A52F3B;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #A52F3B, white);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #A52F3B, white);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  opacity: 0.8;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
}

.flex {
  display: flex;
  justify-content: center;
}

.mw-90 {
  padding: 0 5% 0 5%;
  margin: auto;
}

.btn {
  background: transparent;
  border: 3px solid black;
  color: black;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 13px 30px;
  margin-top: 34px;
  text-transform: uppercase;
}

/* #home .btn:hover,
#home .btn:focus {
  color: #A52F3B;
} */

.btn:hover,
.btn:focus {
  color: white;
}

.pt-1 {
  padding-top: 15px
}

.mt-3 {
  margin-top: 30px
}

.mt-5 {
  margin-top: 50px
}

.mb-3 {
  margin-bottom: 30px
}

.mb-5 {
  margin-bottom: 50px
}

/* Navigation section */
.navbar-default {
  background: #ffffff;
  border: none;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.04);
  margin: 0 !important;
}

.navbar-default .navbar-brand {
  color: #505050;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 50px;
  margin: 0;
  padding: 0;
}

.navbar-brand>img {
  position: relative;
  padding: 5px 15px 0px 15px;
  display: none;
  width: auto;
  height: 45px;
  object-fit: contain;
}

.brand-name {
  display: block;
  position: relative;
  padding: 15px;
}

.navbar-default .navbar-nav li a {
  color: #757575;
  font-size: 19px;
  font-weight: 300;
  line-height: 50px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.navbar-default .navbar-nav>li a:hover {
  color: #A52F3B !important;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: #606060;
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  color: #A52F3B;
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
  border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}



/* Feature section */
#feature .feature-thumb {
  background-color: #ffffff;
  position: relative;
  padding: 40px;
  margin-top: 32px;
}

#feature .feature-icon {
  background-color: #222;
  width: 85px;
  height: 85px;
  margin: 0 auto;
  top: 0;
  margin-top: -70px;
  margin-bottom: 30px;
  position: relative;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease-in-out;
}

#feature .feature-icon:hover {
  background-color: #A52F3B;
}

#feature .feature-icon i {
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
}

#feature h3 {
  padding-top: 14px;
  padding-bottom: 10px;
}



/* About section  */
#about .col-md-4 ul {
  padding-top: 4px;
  padding-left: 28px;
}

#about .col-md-4 ul li {
  color: #777;
  font-size: 18px;
  font-weight: 400;
  padding-top: 2px;
  padding-bottom: 2px;
}

#about .flexslider .slides img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}



/* Video section  */
#video {
  background: url('../images/backgrounds/bg10.webp') 50% 0 repeat-y scroll;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  position: relative;
  color: #999;
}

#video .overlay {
  background: rgba(03, 03, 03, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

#video h2 {
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 16px;
}

#video .fa {
  position: relative;
  border: 2px solid #ffffff;
  border-radius: 100px;
  color: #ffffff;
  font-size: 28px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  vertical-align: middle;
  margin-top: 22px;
}



/* Menu section */
#menu .media {
  margin-bottom: 20px;
  width: 100%;
}

#menu .media-object img {
  width: 150px;
  height: 150px;
  padding-right: 12px;
  display: block;
  object-fit: cover;
  object-position: center;
}

#menu .media-object span.menu-price {
  position: absolute;
  background-color: #ffffff;
  opacity: 60%;
  color: #222;
  font-size: 20px;
  font-weight: bold;
  padding: 6px 20px;
  bottom: 5px;
  left: 5px;
}



/* Team section */
#team h3 {
  padding-bottom: 0px;
}

#team .team-des h4 {
  color: #666;
  padding-top: 0px;
  padding-bottom: 10px;
}

#team .team-thumb > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

#team .team-thumb {
  width: 100%;
  position: relative;
}

#team .team-des {
  background: #ffffff;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.04);
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 90px;
  overflow: hidden;
  transition: height 450ms;
}

#team .team-thumb:hover .team-des {
  color: #ffffff;
  height: 100%;
  background-color: #A52F3B;
  padding-top: 30%;
  opacity: 0.9;
}

#team .team-thumb:hover h3,
#team .team-thumb:hover h4,
#team .team-thumb:hover .social-icon li a {
  color: #eee;
}

#team .join-team {
  background-color: #A52F3B;
  color: #f0f0f0;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
}

#team .join-team .btn {
  background-color: transparent;
  border: 3px solid black;
  color: black;
  font-size: 18px;
  padding: 6px 26px;
  margin-top: 18px;
}

#team .join-team .btn:hover {
  color: white;
}

#team .col-md-6 {
  padding-top: 62px;
}

#team .col-md-6 h2 {
  padding-bottom: 16px;
}



/* Gallery section */
#gallery .gallery-thumb {
  position: relative;
  overflow: hidden;
  margin: 0;
}

#gallery .gallery-thumb .gallery-overlay {
  background: #A52F3B;
  position: absolute;
  top: 0;
  font-size: 22px;
  color: white;
  font-weight: bolder;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#gallery .gallery-thumb:hover .gallery-overlay {
  opacity: 0.9;
}

#gallery .gallery-thumb .gallery-overlay .gallery-item {
  text-align: center;
  position: absolute;
  width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#gallery .gallery-thumb .fa {
  background: #ffffff;
  border-radius: 100%;
  font-size: 24px;
  color: #222;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  vertical-align: middle;
}

/*filter css*/
.filter-wrapper {
  width: 100%;
  margin-bottom: 42px;
  overflow: hidden;
}

.filter-wrapper li {
  display: inline-block;
  margin: 4px;
}

.filter-wrapper li a {
  color: #666;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 17px;
  margin-right: 2px;
  margin-left: 2px;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.filter-wrapper li a:hover,
.filter-wrapper li a:focus {
  color: #A52F3B;
}

/*isotope box css*/
.iso-box-section {
  width: 100%;
}

.iso-box-wrapper {
  width: 100%;
  padding: 0;
  clear: both;
  position: relative;
}

.iso-box {
  position: relative;
  min-height: 50px;
  float: left;
  overflow: hidden;
  margin-bottom: 30px;
}

.iso-box>a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.fluid-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.footer-logo,
.missing-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.footer-logo {
  object-position: center;
}


/* Contact section  */
#contact {
  background: url('../images/team/say_hi.webp') 50% 0 repeat-y scroll;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  position: relative;
}
#contact{
    background-position: 88% 0 !important;
}
#contact .overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.contact-form {
  display: flex;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/* Call To Action section  */
#cta {
  background: url('../images/backgrounds/bg10.webp') 50% 0 repeat-y scroll;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  position: relative;
}

#cta .overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

#contact .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  border-radius: 0px;
  box-shadow: none;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 16px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:hover {
  border-color: #ddd;
}

#contact input {
  height: 45px;
}

#contact input[type='submit'] {
  background: #ffffff;
  border-radius: 4px;
  color: #A52F3B;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  height: 50px;
  margin-top: 20px;
  transition: all 0.4s ease-in-out;
}

#contact input[type='submit']:hover {
  background-color: #A52F3B;
  border-color: transparent;
  color: #ffffff;
}


/* Footer section  */
footer {
  background-color: #141414;
  color: #757575;
  padding-top: 50px;
  padding-bottom: 50px;
}

footer h3 {
  color: #ffffff;
  text-transform: uppercase;
  padding-bottom: 14px;
}

footer strong {
  color: #f0f0f0;
  font-size: 20px;
  display: block;
  padding-top: 6px;
  padding-bottom: 2px;
}


/* copyright section  */
#copyright p {
  padding: 20px;
  margin: 0px;
}

.gototop {
  background-color: #242424;
  color: #ffffff;
  font-size: 40px;
  padding: 10px 15px;
  text-align: right;
  transition: all 0.4s ease-in-out;
}

.gototop:hover {
  background-color: #A52F3B;
  color: #fff;
}

/* Ingredients list section */
#menu .media-body {
  width: 100%;
  position: relative;
}

#menu .media:hover .media-description {
  display: none;
}

#menu .ingredients-div {
  display: none;
}

#menu .media:hover .ingredients-div {
  display: block;
}

#menu .media:hover .media-heading {
  color: #A52F3B;
}

#menu .media:hover .mocktail-price{
  color:white;
}

.mocktail-price{
  font-size:15px;
}

.ingredients {
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 15px;
}

.ingredients li {
  color: rgb(210, 210, 210);
  list-style: none;
  display: inline-block;
  font-size: 13px;
  font-weight: 200;
}

.ingredients li a {
  color: rgb(210, 210, 210);
  text-decoration: none;
  font-size: 13px;
  font-weight: 200;
  text-align: center;
}

.ingredients li a:hover {
  color: #A52F3B;
  font-weight: 400;
}

/* social icon section  */
.social-icon {
  padding: 0;
  margin: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
}

.social-icon li a {
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 12px;
  margin-right: 10px;
}

/* Legacy text-based social links only — mc-icon uses mask in icons.css */
.social-icon li a:not([class*="mc-icon-"]) {
  color: #626262;
  font-size: 18px;
}

.social-icon li a:not([class*="mc-icon-"]):hover {
  background: #111;
  color: #ffffff;
}



/* Mobile Responsive */
@media (max-width: 980px) {

  #home {
    height: 65vh;
  }

  #feature .col-md-4,
  #about .col-md-4 {
    margin-top: 42px;
  }

  #team .team-thumb {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #team .join-team {
    padding: 71px 50px;
    margin-top: 20px;
  }

}


@media (max-width: 900px) {

  h1 {
    font-size: 85px;
  }

  .sub-heading {
    font-size: 30px;
    letter-spacing: 18px;
  }

}

@media (max-width: 767px) {
  #about .flexslider .slides img {
    max-height: 320px;
  }

  #feature .col-md-4,
  #about .col-md-5,
  footer .col-md-4 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .filter-wrapper {
    padding: 0px;
  }

}

.navbar-brand>img {
  display: none;
}

@media (max-width: 650px) {

  #home {
    height: 100vh;
  }

  h1 {
    font-size: 60px;
  }

  .sub-heading {
    font-size: 25px;
    letter-spacing: 12px;
  }

  h2 {
    font-size: 30px;
  }

  #feature {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #about,
  #feature,
  #video,
  #menu,
  #team,
  #gallery,
  #contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #menu .media-object {
    float: none !important;
    text-align: center;
    margin-bottom: 12px;
  }

  #menu .media-object img {
    width: 150px;
    height: 150px;
    max-width: 100%;
    margin: 0 auto;
    padding-right: 0;
    object-fit: cover;
    object-position: center;
  }


  .iso-box {
    width: inherit;
  }

  footer {
    text-align: center;
  }

}

@media (max-width: 380px) {

  .navbar-brand>img {
    display: block;
  }

  .brand-name {
    display: none;
  }

}


@media (max-width: 1101px) {

  .navbar-default .navbar-brand {
    line-height: 20px;
  }

  .navbar-header {
    float: none;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
  }
}

.w-95 {
  width: 95%;
}

/*cardview*/
.septoberfest_cape_to_cairo,.mindMasters_game_night,.novare_pinnacle_mall_food_market,.shaarz_cosmetics_product_launch_east_park_mall,
.the_market_levy_junction_mall, .absa_end_of_year_2022, .absa_end_of_year_2024, .christmas_eve_party_19th_hole, .lusaka_night_market_leopards_hill_mall,
.womens_march_2023{
  opacity: 1;
  min-height: 0px; /* enough to show content */
  overflow: hidden;
  transition: all 0.3s ease;
}

.septoberfest_cape_to_cairo_toggle,.mindMasters_game_night_events_toggle,.novare_pinnacle_mall_food_market_events_toggle
,.shaarz_cosmetics_product_launch_east_park_mall_events_toggle,.the_market_levy_junction_mall_events_toggle, .absa_end_of_year_2022_events_toggle,.absa_end_of_year_2024_events_toggle,.christmas_eve_party_19th_hole_events_toggle,
.lusaka_night_market_leopards_hill_mall_events_toggle,.womens_march_2023_events_toggle {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

/*folder highlights*/
#gallery .septoberfest_cape_to_cairo_events .gallery-overlay, #gallery .mindMasters_game_night_events .gallery-overlay,
#gallery .novare_pinnacle_mall_food_market_events .gallery-overlay,#gallery .shaarz_cosmetics_product_launch_east_park_mall_events .gallery-overlay,
#gallery .the_market_levy_junction_mall_events .gallery-overlay,#gallery .absa_end_of_year_2022_events .gallery-overlay
,#gallery .absa_end_of_year_2024_events .gallery-overlay
,#gallery .christmas_eve_party_19th_hole_events .gallery-overlay
,#gallery .lusaka_night_market_leopards_hill_mall_events .gallery-overlay
,#gallery .womens_march_2023_events .gallery-overlay{
  background-color: black;
  opacity: 0.8;
}

#gallery .active .gallery-overlay{
  background: #555;
}


/*pagination*/
  #pagination .page-btn {
    border: none;
    background-color: #eee;
    color: #333;
    border-radius: 4px;
    font-weight: bold;
  }

  #pagination .page-btn:hover {
    background-color: #555;
    color: white;
  }
  .events_container_header{
    font-size: 18px;
    line-height: 25px;
  }
  /*view button*/

  .view_button{
    background: transparent;
    border-radius: 5px;
    border: 1px solid white;
    margin-top: 10px;
    opacity: 0;
    transition: all 1s ease-in-out;
   
  
    text-align: center;
  }
  #gallery .gallery-thumb .gallery-overlay .has_album{
    transform: translate(-50%, -23%);
    transition: all 1s ease-in-out;
    text-transform: capitalize;
  }
  #gallery .gallery-thumb:hover .view_button {
     opacity: 0.9;
  }
  #gallery .gallery-thumb:hover .gallery-overlay .has_album{
     transform: translate(-50%, -50%);
  }

  /*upcoming events Section*/
  .upcoming-events-container{
    background-color: rgb(240, 240, 240);
    padding: 0;
    padding-bottom: 15px;
  }
  .upcoming-events-container p{
    padding: 0 15px;
  }
  .upcoming-events-icon {
    width: 100%;
    margin: 0;
    height: 250px;
    overflow: hidden;
  }

  .upcoming-events-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .upcoming-events-thumb{
    margin-top: 0;
    margin-top: 0;
  }
  .remove {
    display: none !important;
  }
  /*gallery*/
  .gallery-items {
  column-count: 3;
  column-gap: 1rem;
  margin: 0 auto;
  padding: 0;
  height: auto !important;
}

.gallery-thumb {
  break-inside: avoid;
  margin: 0.5rem 0 !important; /* top and bottom spacing */
}


.gallery-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.iso-box{
  position:  relative !important;
  min-height: none !important;
  float: none !important;
  overflow: visible;
  margin-bottom: 0 !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
}


/*upcoming events*/
.upcoming-events-icon {
  height: 250px;
  overflow: hidden;
}

.upcoming-events-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.upcoming-events-container + .upcoming-events-container {
  margin-left: 20px;
}
@media (max-width: 993px) {
  .upcoming-events-container + .upcoming-events-container p:nth-child(2){
    margin-bottom: 38px;
  }
}
@media (max-width: 750px) {
  .upcoming-events-container {
    margin-bottom: 20px;
  }
  .upcoming-events-container {
    margin-left: 20px;
    margin-right: 20px;
  }
  .upcoming-events-container + .upcoming-events-container {
    margin-top: 40px;
  }
  #gallery .gallery-thumb .gallery-overlay .has_album {
    font-size: 16px;
  }
  .gallery-items {
    column-count: 2;
  }
}

/* Lightbox — fit image to viewport, centered */
.nivo-lightbox-overlay {
  overflow: hidden;
}

.nivo-lightbox-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  box-sizing: border-box;
}

.nivo-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}

.nivo-lightbox-image,
.lightbox-stage {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  line-height: normal !important;
  text-align: center;
}

.lightbox-stage {
  position: relative;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.lightbox-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  border-radius: 12px;
  overflow: hidden;
  will-change: transform, opacity;
  transition:
    transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lightbox-photo img,
.nivo-lightbox-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 96px);
  max-height: calc(100vh - 96px);
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox-photo.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) translateX(0) scale(1) translateZ(0);
  z-index: 3;
}

.lightbox-photo.is-entering-next {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(11%) scale(0.9) translateZ(-70px);
  z-index: 2;
}

.lightbox-photo.is-entering-prev {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-11%) scale(0.9) translateZ(-70px);
  z-index: 2;
}

.lightbox-photo.is-exiting-next {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-9%) scale(0.84) translateZ(-110px);
  z-index: 1;
}

.lightbox-photo.is-exiting-prev {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(9%) scale(0.84) translateZ(-110px);
  z-index: 1;
}

.lightbox-photo.is-idle-behind {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82) translateZ(-120px);
  z-index: 0;
  pointer-events: none;
}