/* urunsinifi sayfası için css kodları*/

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0px;
  justify-content: center;
  padding: 0 15px;
}

@media (max-width: 992px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-wrapper {
    grid-template-columns: 1fr;
  }
}

.card-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper1 {
  width: 100%;
  max-width: 250px;
  height: 350px;
  background: #7b7db91a;
  border-radius: 10px;
  box-shadow: 0;
  transform: scale(0.95);
  transition: box-shadow 0.5s, transform 0.5s;
  overflow: hidden;
}

.wrapper1:hover {
  transform: scale(1);
  box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
}

.urundetayi {
  padding-left: 19px;
  padding-top: 16px;
  float: left;
  width: 66%;
}

.container1 {
  width: 250px;
  height: 100%;
  background-size: cover !important;
}

.container1 .top {
  height: 80%;
  width: 100%;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}

.container1 .bottom {
  width: 200%;
  height: 20%;
  transition: transform 0.5s;
}

.container1 .bottom.clicked {
  transform: translateX(-50%);
}

.container1 .bottom h1 {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.container1 .bottom p {
  margin: 0;
  padding: 0;
}

.container1 .bottom .left {
  height: 100%;
  width: 50%;
  background: #f4f4f4;
  position: relative;
  float: left;
}

.container1 .bottom .left .details {
  padding: 17px;
  float: left;
  width: calc(70% - 40px);
}

.container1 .bottom .left .buy {
  float: right;
  width: calc(30% - 2px);
  height: 100%;
  background: #f1f1f1;
  transition: background 0.5s;
  border-left: solid thin rgba(0,0,0,0.1);
}

.container1 .bottom .left .buy i {
  font-size: 40px;
  padding-top: 16px;
  padding-left: 19px;
  color: #254053;
  transition: transform 0.5s;
}

.container1 .bottom .left .buy:hover {
  background: #A6CDDE;
}

.container1 .bottom .left .buy:hover i {
  transform: translateY(5px);
  color: #00394B;
}

.container1 .bottom .right {
  width: 50%;
  background: #f4f4f4;
  color: white;
  float: right;
  height: 200%;
  overflow: hidden;
  display: none;
}

.container1 .bottom .right .details {
  padding: 20px;
  float: right;
  width: calc(70% - 40px);
}

.container1 .bottom .right .done,
.container1 .bottom .right .remove {
  width: calc(30% - 1px);
  float: left;
  transition: transform 0.5s, background 0.5s;
  border-right: solid thin rgba(255,255,255,0.3);
  height: 50%;
}

.container1 .bottom .right .done i,
.container1 .bottom .right .remove i {
  font-size: 30px;
  padding: 30px;
  color: white;
  transition: transform 0.5s;
}

.container1 .bottom .right .remove:hover {
  background: #9B2847;
}

.container1 .bottom .right .remove:hover i {
  transform: translateY(5px);
}

.container1 .bottom .right:hover .remove,
.container1 .bottom .right:hover .done {
  transform: translateY(-100%);
}

.inside{
    z-index: 9;
    background: #5d6269cf;
    width: 132px;
    height: 100px;
    position: absolute;
    top: -70px;
    right: -70px;
    transition: all 0.5s, border-radius 2s, top 1s;
    overflow: hidden;
    .icon{
        position: absolute;
        right: 89px;
        top: 69px;
        color: white;
        opacity: 1;
        font-size: 22px;
    }
    &:hover{
      width:100%;
      right:0;
      top:0;
      border-radius: 10px;
      height:80%;
      .icon{
        opacity: 0;
        right:15px;
        top:15px;
      }
      .contents{
        opacity: 1;
        transform: scale(1);
        transform: translateY(0);
      }
    }
    .contents{
      padding: 5%;
      opacity: 0;
      transform: scale(0.5);
      transform: translateY(-200%);
      transition: opacity 0.2s, transform 0.8s;
      table{
        text-align:left;
        width:100%;
      }
      td,th{
       text-align:center;
       font-size:16px;
       border-collapse: separate;
      }
 td {
    border: 0px solid #ddd;
  padding-bottom:70px;
  }
      h1, p, table{
        color: white;
      }
      p{
        font-size:13px;
      }
    }
  }
}

.product-substrates {
  position: absolute;
  right: 0;
  top: 45px;
  width: 35px;
  height: calc(100% - 75px);
  background: transparent;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: nowrap;
  margin: 0 !important;
  z-index: 3;
}

.substrates-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: nowrap;
  margin-top: 0px;
  flex-direction: column;
  float: right;
  background-color: #0e0e0e6e;
  border-bottom-left-radius: 10px;
}

.icon-substrates:hover {
    transform: scale(1);
    box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
    background: #A6CDDE;
}

.icon-substrates {
    position: relative;
    display: inline-block;
    height:45px;
}

.icon-substrates:hover .info-popup {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.icon-substrates .info-popup {
    position: absolute;
    left: -187px;
    background-color: #0e0e0e6e;
    color: white;
    padding: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    width: 187px;
    height: 360px;
}

.icon{
    color: white;
    opacity: 1;
    font-size: 22px;
    margin-left: 19px;
    padding-top: 8px;
}

/* urunler sayfası için css kodları*/

            .yeni-urun-tasarimi {
                padding-top: 5px;
                padding-bottom: 40px;
                background: #EEEEEE;
            }

            .yeni-urun-tasarimi .card {
                box-shadow: 0 20px 27px 0 rgb(0 0 0 / 5%);
            }

            .yeni-urun-tasarimi .avatar-md {
                height: 5rem;
                width: 5rem;
            }

            .yeni-urun-tasarimi .fs-19 {
                font-size: 19px;
            }


            .yeni-urun-tasarimi .primary-link {
                color: #314047 !important;
                -webkit-transition: all .5s ease;
                transition: all .5s ease;
            }


            .yeni-urun-tasarimi .bookmark-post .favorite-icon a,
            .job-box.bookmark-post .favorite-icon a {
                background-color: #da3746;
                color: #fff;
                border-color: danger;
            }

            .yeni-urun-tasarimi .favorite-icon a {
                display: inline-block;
                width: 30px;
                height: 30px;
                font-size: 18px;
                line-height: 30px;
                text-align: center;
                border: 1px solid #eff0f2;
                border-radius: 6px;
                color: rgba(173, 181, 189, .55);
                -webkit-transition: all .5s ease;
                transition: all .5s ease;
            }

            .yeni-urun-tasarimi .candidate-list-box .favorite-icon {
                position: absolute;
                right: 22px;
                top: 22px;
            }

            .yeni-urun-tasarimi .fs-14 {
                font-size: 14px;
            }

            .yeni-urun-tasarimi .bg-soft-secondary {
                background-color: rgba(116, 120, 141, .15) !important;
                color: #3d3d3d !important;
            }

            .yeni-urun-tasarimi .mt-1 {
                margin-top: 0.25rem !important;
            }
            
              .main-title {
    width: 100% !important;
    position: relative !important;
    margin-bottom: 10px !important;

    h1 {
      font-size: 22px !important;
      color: white !important;
      background-color: #bd3838 !important;
      text-align: center !important;
      padding: 10px !important;
    }
    }
    
                  .linkbar {
    width: 100% !important;
    position: relative !important;
    padding-bottom:10;
  }
  
  .badge {
       display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 8px;
    text-align: center;
}

.bg-purple{
   background-color: rgb(123 38 185) !important;
}

.bg-88{
   background-color: #b82927;
}

.bg-58{
   background-color: #7938a8;
}

.bg-109{
   background-color: #255fbc;
}




