/* image */
.imagestop {
  background-position: center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  padding: 150px 0;
}

.imagestop::after {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000000e5;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  content: "";
}

.imagestop h1 {
  position: relative;
  z-index: 1;
}

.homepre {
  background: transparent none repeat scroll 0 0;
  border: none;
  display: inline-block;
  margin: 0;
  position: relative;
  z-index: 1;
  padding: 0;
}

.homepre li {
  font-family: "Yantramanav", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0 5px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.homepre a {
  font-family: "Yantramanav", sans-serif;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
}

/* Top part */
.topup {
  color: rgb(46, 46, 46);
}

.topup:hover {
  color: rgb(255, 94, 0);
}

.topup:active {
  color: rgb(255, 94, 0);
}

p {
  color: #5d5d5d;
}

/* -----------------------------------
      Gallery Section
--------------------------------------*/
.portfolio-section {
  padding: 50px 0;
}

.portfolio-section .protfolioprog h2 {
  font-size: 28px;
  font-weight: 600;
  color: #dd3030;
  text-transform: uppercase;
}

.portfolio-menu {
  text-align: center;
}
.section-padding {
  padding: 100px 0;
}

.bg-grey {
  background-color: #ffffff;
}
.portfolio-menu .control {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 3px;
  text-transform: capitalize;
  background-color: #ffffff;
  border: 1px solid #e62b40;
  transition: all 0.4s ease-in-out 0s;
  margin: 0 5px;
}

.portfolio-menu .control:hover {
  color: #fff;
  background-color: #e62b40;
  transition: all 0.5s ease-in-out 0s;
}

.mixitup-control-active {
  color: #ffffff;
  background-image: linear-gradient(to right, #e62b40, #e62b40, #e62b40);
}

.fancybox-container button:focus {
  outline: 0;
  box-shadow: none;
}

.portfolio-item {
  padding-top: 30px;
  cursor: pointer;
}

.pd {
  padding: 0;
  padding: 10px;
}

.pd img {
  transition: all 0.5s;
  border-radius: 5px;
}

.mix .imagein:hover{
  transform: translateY(-15px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 995;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

/* when the lightbox is open */
.lightbox.open {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
}

.lightbox_wrapper {
  display: grid;
  place-items: center;
  min-height: calc(100% - 3rem);
  margin: 1.5rem;
}

@media (max-width: 575.98px) {
  .lightbox_wrapper {
    margin: 0.5rem;
    min-height: calc(100% - 1rem);
  }
}

.lightbox_content {
  box-shadow: var(--box-shadow);
  max-width: 700px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  transform: scale(0);
  transition: transform 0.5s ease;
}

.lightbox_img {
  border-radius: 20px;
}

.lightbox_img {
  width: 80%;
  height: 80%;
}

/* when Lightbox is open then lightbox-content will... */
.lightbox.open .lightbox_content {
  transform: scale(1);
}

/* lightbox-close-btn */
.lightbox_close {
  position: absolute;
  top: 16vh;
  right: 3vw;
  z-index: 1;
  width: 38px;
  height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.lightbox_close span {
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  margin-bottom: -1.5px;
  background-color: #ddd;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lightbox_close:hover span {
  opacity: 1;
}

.lightbox_close span:first-child {
  transform: rotate(45deg);
}

.lightbox_close span:last-child {
  transform: rotate(-45deg);
}

.lead {
  font-size: 1.5rem;
  font-weight: 300;
}
