.bg-color-main {
  background-color: #ffffff;
}
.body-content {
  padding-top: 50px;
  padding-bottom: 120px;
}
.hag-flex-gap-20 {
  gap: 20px;
}

.post-img-max-size {
  max-width: 1200px;
  max-height: 700px;
  width: 1200px;
  height: 700px;
}

.upperCase {
  text-transform: uppercase;
}

@media screen and (max-width: 820px) {
  .hag-custom-slider {
    margin-top: -45px !important;
  }
}
@media screen and (max-width: 1199px) {
  .elementor-163
    .elementor-element.elementor-element-2521c3a5
    .pxl-swiper-container
    .pxl-swiper-slide {
    padding-top: 100px;
  }
}
@media screen and (max-width: 819px) {
  .elementor-163
    .elementor-element.elementor-element-2521c3a5
    .pxl-swiper-container
    .pxl-swiper-slide {
    padding-top: 50px;
  }
}
@media screen and (max-width: 767px) {
  .view-detail-card {
    margin-top: 0px !important;
  }
}
@media screen and (min-width: 992px) {
  .hag-custom-about-title {
    margin-top: -10px !important;
  }
}

/* gallery-page */
/* .grid {
  display: grid;
  grid-template-rows: 
    repeat(4, 180px);
  grid-template-columns: 
    repeat(3, 1fr);
  grid-gap: 5px;
}

.item:nth-child(1) {
  grid-row: 1 / 4;
}

.item:nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
}

.item:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 3 / 5;
}

.item:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.item:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
} */

/* styling code */

/* .grid {
  margin:20px auto;
  max-width:1000px;
}

.grid > .item {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */

.gallery-container {
  display: inline-flex;
  justify-content: start;
  transform: translateX(32px);
  gap: 16px;
  row-gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.gallery-item {
  width: 23.5%;
  height: 400px;
  max-height: 400px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-detail-container {
  display: inline-flex;
  justify-content: start;
  gap: 16px;
  row-gap: 16px;
  flex-wrap: wrap;
}

.gallery-detail-item {
  width: 100%;
  height: auto;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

@media screen and (max-width: 1200px) {
  .gallery-item {
    width: 30%;
    max-height: 300px;
  }
  .gallery-container {
    transform: unset;
  }
}
@media screen and (max-width: 1000px) {
  .gallery-item {
    width: 48%;
    max-height: 330px;
  }
  .gallery-container {
    transform: translateX(20px);
  }
}
@media screen and (max-width: 800px) {
  .gallery-item {
    width: 100%;
    max-height: 350px;
  }
  .gallery-container {
    transform: translateX(17px);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1);
}

.content-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.gallery-item:hover .content-overlay {
  opacity: 1;
  z-index: 1;
}
.gallery-item:hover .content-details {
  top: 50%;
  left: 50%;
  opacity: 1;
  z-index: 2;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.content-details-mb {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 101%;
  top: 90%;
  left: 50%;
  opacity: 1;
  z-index: 1;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details p {
  color: #fff;
  font-size: 0.8em;
}

.fadeIn-bottom {
  top: 80%;
}

.fadeIn-top {
  top: 20%;
}

.fadeIn-left {
  left: 20%;
}

.fadeIn-right {
  left: 80%;
}

.slide-img-container {
  max-height: 975px;
}

.hagNavItem {
  position: relative;
}

.hagNavItem > ul {
  position: absolute;
  background-color: #fff;
  list-style: none;
  top: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.hagNavItem > ul {
  display: none;
}

.hagNavItem:hover > ul {
  display: block;
}




#toast {
  visibility: hidden;
  max-width: 50px;
  height: 50px;
  /*margin-left: -125px;*/
  margin: auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;

  position: fixed;
  z-index: 1;
  left: 0;right:0;
  bottom: 30px;
  font-size: 17px;
  white-space: nowrap;
}
#toast #img{
width: 50px;
height: 50px;
  
  float: left;
  
  padding-top: 16px;
  padding-bottom: 16px;
  
  box-sizing: border-box;

  
  background-color: #111;
  color: #fff;
}
#toast #desc{

  
  color: #fff;
 
  padding: 16px;
  
  overflow: hidden;
white-space: nowrap;
}

#toast.show {
  overflow: hidden;
  visibility: visible;
  -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes expand {
  from {min-width: 50px} 
  to {min-width: 350px}
}

@keyframes expand {
  from {min-width: 50px}
  to {min-width: 350px}
}
@-webkit-keyframes stay {
  from {min-width: 350px} 
  to {min-width: 350px}
}

@keyframes stay {
  from {min-width: 350px}
  to {min-width: 350px}
}
@-webkit-keyframes shrink {
  from {min-width: 350px;} 
  to {min-width: 50px;}
}

@keyframes shrink {
  from {min-width: 350px;} 
  to {min-width: 50px;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 60px; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 60px; opacity: 0;}
}

.hag-block {
  padding-top: 40px !important;
  padding-bottom: 60px !important;
}

@media screen and (max-width: 800px) {
  .hag-block {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
  }
}