
/* -----------------------------------
      Gallery Section
--------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", sans-serif;
  z-index: 0;
}


.row{
  list-style: none;
  justify-content: flex-start;
}
/* -----------------------------------
      Gallery Section
--------------------------------------*/
.portfolio-section {
  padding: 80px 0;
  background-color: #ffffff;
}
.portfolio-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
}
.portfolio-menu {
  text-align: center;
}
.control {
  background: #2957a4;
  color: #fff;
  padding: 8px 35px;
  border: 1px solid #2957a4;
  border-radius: 3px;
  margin: 5px;
  cursor: pointer;
  -webkit-transition: all 05s ease;
  -moz-transition: all 05s ease;
  -ms-transition: all 05s ease;
  -o-transition: all 05s ease;
  transition: all 0.5s ease;
}
.control:hover {
  background: #343a40;
}
.mixitup-control-active {
  color: #fff;
  background: #343a40;
}
.fancybox-container button:focus {
  outline: 0;
  box-shadow: none;
}
.portfolio-item {
  padding-top: 30px;
}
.pd {
  padding: 0;
  padding: 10px;
}
.pd img {
  height: 180px;
  transition: all 0.5s;
}
.portfolio-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  text-align: center;
  visibility: hidden;
  transition: all 0.5s;
  transform: scale(0);
}
.portfolio-overlay p,
.portfolio-overlay a {
  position: relative;
  z-index: 4;
}
.portfolio-overlay::before {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  left: 10%;
  top: 10%;
  transition: 50ms height ease 150ms;
  z-index: 3;
}
.portfolio-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  right: 10%;
  bottom: 10%;
  transition: 100ms width ease 200ms;
  z-index: 3;
}
.portfolio-item:hover .portfolio-overlay::before {
  width: 80%;
  height: 80%;
  border-top: 1px solid #2957a4;
  border-right: 1px solid #2957a4;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.5s;
}
.portfolio-item:hover .portfolio-overlay::after {
  width: 80%;
  height: 80%;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  transition: width 0.1s ease 0.6s, height 0.1s ease 0.7s;
}
.portfolio-item li:hover .portfolio-overlay {
  visibility: visible;
  transform: scale(1);
}
.portfolio-overlay .category {
  margin-top: 70px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}
.portfolio-overlay .magnify-icon {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  background: #2957a4;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.25s;
}
.portfolio-overlay .magnify-icon:hover {
  background: #000;
}
.portfolio-overlay .magnify-icon p span i {
  font-size: 15px;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}

/*******Responsive media query******/

/* Extra small devices (portrait phones, less than 576px)*/


/*******Responsive media query******/

/* Extra small devices (portrait phones, less than 576px)*/


/* rewards style */

img.hover-shadow {
  transition: all 0.3s; }

.carousel-row {
  max-width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; }
  .carousel-row--img {
    width: 24%;
    margin-bottom: 10px; }
    .carousel-row--img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
      transition: 0.4s; }
      .carousel-row--img img:hover {
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 12px 20px 0 rgba(0, 0, 0, 0.19); }

.column-box {
  white-space: nowrap;
  background-color: transparent;
  width: 100%;
  background: black;
  overflow: hidden; }
  .column-box .column {
    width: 20%;
    display: inline-block;
    transition: all 1s;
}
    .column-box .column img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer; }

/* The Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding: 50px 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black; }
  .modal.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .modal-contents {
    margin: auto;
    width: 50%;
    overflow: hidden;
}
    @media only screen and (max-width: 37.5em) {
      .modal-contents {
        width: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); } }

@keyframes anime {
  0% {
    opacity: 0;
    transform: scale(0.9); }
  100% {
    opacity: 1;
    transform: scale(1); } }

.my-slides {
  display: none;
  height: 60vh;
  transition: all 2s;
  overflow: hidden;
  animation: anime 0.8s ease-in; 
  position: relative;
}
  @media only screen and (max-width: 56.25em) {
    .my-slides {
      height: 70vh; } }
  @media only screen and (max-width: 37.5em) {
    .my-slides {
      height: 30vh; } }
  .my-slides img {
    object-fit: contain;
    width: 100%;
    height: 100%; }
  .my-slides--number {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0; }

.demo {
  opacity: 0.5;
  transition: all 0.4s; }
  .demo.active, .demo:hover {
    opacity: 1; }

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 6px 16px;
  color: white; }

/* The Close Button */
.close {
  color: #ffffff;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold; }
  .close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer; }

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: fixed;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  transform: translateY(-50%); }
  @media only screen and (max-width: 37.5em) {
    .prev,
    .next {
      position: fixed;
      top: 95%;
      padding: 10px;
      font-size: 40px;
      transform: translateY(-50%); } }
  .prev:active,
  .next:active {
    font-size: 30px; }

/* Position the "next button" to the right */
.next {
  right: 0; }

.prev {
  left: 0; }
  @media only screen and (max-width: 37.5em) {
    .prev {
      left: 80%; } }

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.1); }
  @media only screen and (max-width: 37.5em) {
    .prev:hover,
    .next:hover {
      background-color: transparent; } }
      
      
      
      @media (min-width: 1200px) {

      li.mix.dev.col-xl-3.col-md-4.col-12.col-sm-6.pd{
        flex: 0 0 25%;
        max-width: 33%;
      }
      li.mix.web.col-xl-3.col-md-4.col-12.col-sm-6.pd{
        flex: 0 0 25%;
        max-width: 33%;
      }
      li.mix.wp.col-xl-3.col-md-4.col-12.col-sm-6.pd{
          flex: 0 0 25%;
          max-width: 33%;
      }
      li.mix.wp.col-xl-3.col-md-4.col-12.col-sm-6.pd{
          flex: 0 0 25%;
          max-width: 33%;
      }
        .pd img {
            height: 160px;
            transition: all 0.5s;
        }
  
    }
    
    @media (max-width: 575.98px) {
    .pd img {
    height: 130px;
    transition: all 0.5s;
}
}