@media screen and (min-width: 320px) {
  .dptm-cont {
    display: flex;
    z-index: 10;
    flex-flow: row wrap;
    position: relative;
    padding: 0px;
    overflow: hidden;
  }
  .dptm-cont .item {
    transition: all 0.3s;
    margin: 0;
    padding: 0;
    height: 300px;
    flex-basis: 1;
    width: 50%;
    background-color: #fff;
    position: relative;
    background-position: center;
    background-size: cover;
    cursor: pointer;
  }
  .dptm-cont .item:nth-child(1) {
    background-image: url("../img/insta1.jpg");
  }
  .dptm-cont .item:nth-child(2) {
    background-image: url("../img/insta2.jpg");
  }
  .dptm-cont .item:nth-child(3) {
    background-image: url("../img/intsa3.jpg");
  }
  .dptm-cont .item:nth-child(4) {
    background-image: url("../img/insta4.jpg");
  }
  .dptm-cont .item:hover {
    /* height: $dtp_size + 30px;*/
    /* margin-top: -15px;*/
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    z-index: 15;
    position: relative;
  }
  .dptm-cont .item-active {
    /* height: $dtp_size + 30px;*/
    /* margin-top: -15px;*/
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    z-index: 15;
    position: relative;
  }
  .dptm-cont .item:hover .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
  }
  .dptm-cont .item:hover .overlay .img-cont {
    height: 0;
    opacity: 0;
  }
  .dptm-cont .item .overlay {
    display: flex;
    transition: all 0.5s;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 138, 154, 0.8);
  }
  .dptm-cont .item .overlay .img-cont {
    display: flex;
    transition: all 0.35s;
    align-items: flex-end;
    justify-content: center;
    height: 200px;
  }
  .dptm-cont .item .overlay .img-cont img {
    height: 60px;
  }
  .dptm-cont .item .overlay p {
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
    font-family: "Montserrat-Regular";
    font-size: 18px;
  }
  .dptm-cont .item-active .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
  }
}

@media screen and (min-width: 1024px) {
  .dptm-cont {
    display: flex;
    z-index: 10;
    position: relative;
    height: 270px;
    padding: 0px 120px;
    margin-top: -135px;
    margin-bottom: 80px;
  }
  .dptm-cont .item {

    transition: all 0.3s;
    margin: 0;
    padding: 0;
    height: 270px;
    width: 25%;
    background-color: #fff;
    position: relative;
    background-position: center;
    background-size: cover;
  }
  .dptm-cont .item:hover {
    /* height: $dtp_size + 30px;*/
    /* margin-top: -15px;*/
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    z-index: 15;
    position: relative;
  }
  .dptm-cont .item:nth-child(1):hover .overlay, .dptm-cont .item:nth-child(3):hover .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
    text-shadow: 0px 0px 20px white;
  }

  .dptm-cont .item:nth-child(2):hover .overlay, .dptm-cont .item:nth-child(4):hover .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
    text-shadow: 0px 0px 20px white;
  }
  .dptm-cont .item:hover .overlay .img-cont {
    height: 0;
    opacity: 0;
  }
  .dptm-cont .item:nth-child(1) .overlay, .dptm-cont .item:nth-child(3) .overlay {
    display: flex;
    transition: all 0.5s;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 138, 154, 0.8);
  }

  .dptm-cont .item:nth-child(2) .overlay, .dptm-cont .item:nth-child(4) .overlay {
    display: flex;
    transition: all 0.5s;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 138, 154, 0.8);
  }
  .dptm-cont .item .overlay .img-cont {
    display: flex;
    transition: all 0.35s;
    align-items: flex-end;
    justify-content: center;
    height: 200px;
  }
  .dptm-cont .item .overlay .img-cont img {
    height: 60px;
  }
  .dptm-cont .item .overlay p {
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
    font-family: "Montserrat-Regular";
    font-size: 18px;
  }











  .dptm-cont .item-active {
    /* height: $dtp_size + 30px;*/
    /* margin-top: -15px;*/
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    z-index: 15;
    position: relative;
  }
  .dptm-cont .item-active:nth-child(1) .overlay, .dptm-cont .item-active:nth-child(3) .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
    text-shadow: 0px 0px 20px white;
  }

  .dptm-cont .item-active:nth-child(2) .overlay, .dptm-cont .item-active:nth-child(4) .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.8);
    text-shadow: 0px 0px 20px white;
  }



}

.slider-insta {
  margin-bottom: 50px;
  overflow: hidden;
}



.slider-inactive{
  height: 0;
  opacity: 0;
  margin: 0;
}


