.grid-aboutzhav {
  flex-grow: 1;
  background-color: #9bfcf4;
  color: rgb(53, 53, 53);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: 400px;
  overflow: auto;
max-width: 800px;
  font-size: 20px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  /* align-items: center; */
  text-align: left;
  /* column-gap: 20px; */
  /* row-gap: 10px; */
  text-wrap:balance;
  text-align:start;
  word-wrap:break-word;
}


.grid-aboutzhav-f {
  flex-grow: 1;
  background-color: #9bfcf4;
  color: rgb(116, 116, 116);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: px solid #00f597;
  border-radius: 0px;
  height: 400px;
  overflow: auto;
max-width: 800px;
  font-size: 20px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  /* align-items: center; */
  text-align: right;
  /* column-gap: 20px; */
  /* row-gap: 10px; */
  text-wrap:balance;
  text-align:start;
  word-wrap:break-word;
}

.grid-productbase{
  background-color: #011db9be;
  color: rgb(253, 233, 233);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: 403.3px;
  flex-wrap:nowrap;
  overflow: auto;
   max-width: 700px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: left;
}

.grid-productbase-f{
  background-color: #011db9be;
  color: rgb(253, 233, 233);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: 500.7px;
  flex-wrap:nowrap;
  overflow: auto;
   max-width: 700px;
  font-size: 14px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-align: right;
}


.grid-productbase2{
  background-color: #ff0095a8;
  color: rgb(255, 255, 255);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0;
  margin-bottom: 0px;
 border:1px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: auto;
  flex-wrap:nowrap;
  overflow: auto;
  /* max-width: 700px; */
  max-width: 700px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: left;
}

.grid-productbase2-f{
  background-color: #d8035c;
  color: rgb(255, 255, 255);
  padding: 20px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 20px;
  margin-top: 0;
  margin-bottom: 0px;
 border:0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: auto;
  flex-wrap:nowrap;
  overflow: auto;
  /* max-width: 700px; */
  max-width: 700px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: right;
}


.grid-productbase4{
  background-color: rgb(123, 255, 255);
  color: rgb(83, 83, 83);
  padding: 20px;

  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0;
  border: 0px solid #ffffff;
  border-radius: 0px;
  height: auto;
  min-height: auto;
  flex-wrap: nowrap;
  overflow: auto;
  /* max-width: 700px; */
  max-width: 600px;
  font-size: 26px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-align: left;
  width: 1000px;
  height: 85px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  columns: 1;
}

.grid-productbase4-f{
  background-color: rgb(123, 255, 255);
  color: rgb(83, 83, 83);
  padding-top: 30px;
  margin: 20px;
  margin-top: 0;
  border: 0px solid #ffffff;
  border-radius: 0px;
  max-width: 600px;
  font-size: 26px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-align: center;
  width: 600px;
  height: 80px;
align-items: center;
  justify-content:center;
  columns: 1;
}

.grid-productbase5-f{
  background-color: rgba(0, 0, 0, 0.267);
  color: rgb(255, 255, 255);
  padding-top: 30px;
  margin: 20px;
  margin-top: 0;
  border: 0px solid #ffffff;
  border-radius: 0px;
 max-width: 500px;
  font-size: 26px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-align: center;
  width: 500px;
  height: auto;
  justify-content:center;
  columns: 1;
  position: relative;
}


.grid-productbase3{
  background-color: #011db9be;
  color: rgb(253, 233, 233);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: 593px;
  flex-wrap:nowrap;
  overflow: auto;
   max-width: 700px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: left;
}

.grid-productbase3-f{
  background-color: #011db9be;
  color: rgb(253, 233, 233);
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: 593px;
  flex-wrap:nowrap;
  overflow: auto;
   max-width: 700px;
  font-size: 14px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-align: right;
}

/* گرید مخصوص آخرین لایه دیتا شیت محصولات */
.grid-resins{
  background-color: #fc52a1;
  color: rgb(255, 255, 255);
  padding: 40px;
  padding-left:30px;
  padding-right: 30px;
  margin: 20px;
  margin-top: 0;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  min-height: auto;
  flex-wrap:nowrap;
  overflow: auto;
  width: 460px;
  /* max-width: 700px; */
  max-width: 1000px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: left;
}

.grid-standard{
  background-color: #ff9898;
  color: rgb(255, 255, 255);
  padding: 40px;
  padding-left:30px;
  padding-right: 30px;
  margin: 20px;
  margin-top: 0;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  flex-wrap:nowrap;
  overflow: auto;
  width: 260px;
  /* max-width: 700px; */
  max-width: 1000px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: right;
}

.grid-standard2{
  background-color: rgb(59, 156, 140);
  color: rgb(255, 255, 255);
  padding: 40px;
  padding-left:30px;
  padding-right: 30px;
  margin: 20px;
  margin-top: 0;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: auto;
  flex-wrap:nowrap;
  overflow: auto;
  width: 260px;
  /* max-width: 700px; */
  max-width: 1000px;
  font-size: 14px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: right;
}

.grid-productbase2 .pic-aboutzhav h1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}


.pic-product{
  width: 270px;
  height: auto;
  max-height: 250px;
  align-items:center;
  margin: 0px;
 }


.pic-aboutzhav{
 width: 270px;
 height: auto;
 align-items:center;
 margin: 0px;
}

.pic-datasheet{
  width: 200px;
 height: auto;
 align-items:center;
 margin: 0px;

}

.pic-ourmission{
  width:auto;
 height: 400px;
 align-items:center;
 margin: 0px;
 opacity: .9;
}

.pic-ourmission-f{
  max-width:624px;
 height:400px;
 align-items:center;
 margin: 0px;
 opacity: .9;
}

.grid-aboutzhav-pic{
  background-color: #9bfcf400;
  color: rgb(53, 53, 53);
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: 400px;
  overflow: auto;
max-width: 800px;
  max-height: 1000px;
  font-size: 20px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  /* align-items: center; */
  text-align: left;
  /* column-gap: 20px; */
  /* row-gap: 10px; */
  text-wrap:balance;
  text-align:start;
  word-wrap:break-word;
}

.grid-aboutzhav-pic-f{
  background-color: #9bfcf400;
  color: rgb(53, 53, 53);
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid #00f597;
  border-radius: 0px;
  height: 400px;
  overflow: auto;
max-width: 800px;
  max-height: 1000px;
  font-size: 20px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: normal;
  /* align-items: center; */
  text-align: right;
  /* column-gap: 20px; */
  /* row-gap: 10px; */
  text-wrap:balance;
  text-align:start;
  word-wrap:break-word;
}


.grid-containerproduct{
  display: flex;
  flex-wrap:wrap;
  column-gap: 30px;
  row-gap: 5px;
  /* padding-left: 10%;
  padding-right: 10%; */
  padding-top: 10px;
  padding-bottom: 10px;
  flex-direction: row;
  justify-content: center;
  justify-items: center;
  position: absolute;
  width: 1000px;
  

}


.grid-product1{
  background-color:white;
  border-collapse: collapse;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow-x: auto;
}


.grid-product1 th, .grid-product1 td {
  border: 2px solid red;
  padding: 10px;
  
}



th {
  flex-grow: 1;
  flex-shrink: 0;
}

td {
  flex-grow: 2;
  flex-shrink: 1;
}


.red-border-table {
  border: 2px solid red;
  border-collapse: collapse;
}





/* این کلاس برای تغییر ترتیب الگوی کلی صفحه به راست به چپ استفاده می‌شود */
.rtl-page {
  direction: rtl;
  text-align: right;
}

/* این کلاس برای تغییر ترتیب المان‌های منو به راست به چپ استفاده می‌شود */
.rtl-menu {
  float: right;
}

/* این کلاس برای تغییر ترتیب المان‌های منوی زیرمنو به راست به چپ استفاده می‌شود */
.rtl-submenu {
  left: auto;
  right: 0;
}

/* این کلاس برای تغییر ترتیب تصاویر لینک‌ها به راست به چپ استفاده می‌شود */
.rtl-link-image {
  float: right;
}

/* این کلاس برای تغییر ترتیب توضیحات زیرمنو به راست به چپ استفاده می‌شود */
.rtl-submenu-description {
  text-align: right;
}

/* این کلاس برای تغییر ترتیب فوتر به راست به چپ استفاده می‌شود */
.rtl-footer {
  direction: rtl;
  text-align: right;
}



#search-form {
  width: 250px;
  margin: 0 auto;
}

#search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
}

#search-submit {
  background-color: #000;
  color: #fff;
  padding: 10px;
  border: none;
}

.result {
  margin-bottom: 10px;
}

.result h2 {
  font-size: 1.5rem;
}

.result p {
  font-size: 1rem;
}



.grid-container-home-f {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center; /* تغییر در ترتیب افقی به وسط */
}

.grid-item-home-f {
  /* border: 4px solid #fa3c3c; */
  padding: 10px;
  text-align: center;
  transition: transform 0.5s, width 0.5s;
  background-color: rgba(255, 0, 0, 0.644);
}

.grid-item-home-f p {
  margin: 0px;
}

.expanded {
  transform: scale(1.62);
  background-color: #ff0040;
  border:0px solid rgb(75, 250, 183);
  color: #ffffff;
  font-size: 13px;
  margin: auto;
  position: fixed;
  justify-items: center;
  transition: transform 4s ease-in-out, width 4s ease-in-out; /* تنظیم انیمیشن */
}

.centered {
  grid-row: initial;
  margin: initial;
}



.grid-container-home {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center; /* تغییر در ترتیب افقی به وسط */
}

.grid-item-home{
  /* border: 4px solid #fa3c3c; */
  padding: 10px;
  text-align: center;
  transition: transform 0.5s, width 0.5s;
}

.grid-item-home p {
  margin: 0px;
}

.expanded{
  transform: scale(1.62);
  background-color: rgb(233, 0, 89);
  /* border:3px solid  rgb(170, 170, 170); */
  color: #ffffff;
  /* font-size: 13px; */
  margin: auto;
  position:absolute;
  justify-items: center;
  transition: transform 4s ease-in-out, width 4s ease-in-out; /* تنظیم انیمیشن */
  
}


.centered {
  grid-row: initial;
  margin: initial;
} 


/* .rotated {
  animation: rotate 4s linear infinite;
} */

/* @keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
} */



.h1-product{
  color: #ffffff;
  font-size: 22px;
}





/* موبایلللللللللللللللللللللللللللللللللللللللللللللللللللللل */

@media screen and (max-width: 768px) {
  /* استایل منو همبرگر برای این اندازه */

  .expanded{
    transform: scale(1);
    background-color: #ff0040;
    /* border:3px solid  rgb(170, 170, 170); */
    color: #ffffff;
    /* font-size: 13px; */
    margin: auto;
    position:absolute;
    justify-items: center;
    transition: transform 4s ease-in-out, width 4s ease-in-out; /* تنظیم انیمیشن */
    
  }

/* کشو اول  */
  .menu-bar .dropdown-content-f {
    display: none;
    position:absolute;
    background-color:  #fad502;
    min-width:30vh;
    box-shadow: 0px 8px 16px 0px rgba(187, 187, 187, 0.2);
    z-index: 1;
    font-size: 15px;
    text-align: right;
    line-height: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    direction: rtl;
    }


    .menu-bar .dropdown-content-f .dropdown-content2-f {
      display:block;
      position:absolute;
      background-color:  #d4b503;
      width: 28vh;
      box-shadow: 0px 8px 16px 0px rgba(187, 187, 187, 0.2);
      z-index: 400;
      font-size: 14px;
      text-align:right;
      transform: translate(-25%, -34px);
      line-height: 7px;
      margin-top: 2px;
      margin-bottom: 2px;
      direction: rtl;
      }

/* نمایش منو کشویی هنگامی که نشانگر موس روی دکمه قرار دارد */
#menu-bar + .dropdown-content {
  display: block;
  position: absolute;
  }
  
  
  /* نمایش منو کشویی هنگامی که نشانگر موس روی دکمه قرار دارد */
  #menu-bar + .dropdown-content-f {
  display: block;
  position: absolute;
  }


  .menu-bar .dropdown-f:hover .dropdown-content-f {
    display: block;
    }

  .menu-bar .dropdown-f:hover .dropdown-content-f:hover  .dropdown-content2-f {
      display: block;
      }



      .link-item-margin {
        margin-bottom: 0px; /* این مقدار ممکن است بر اساس نیاز شما تغییر کند */
      }


      .grid-productbase4-f{
        background-color: rgb(123, 255, 255);
        color: rgb(83, 83, 83);
        padding-top: 20px;
        margin: 20px;
        margin-top: 0;
        border: 0px solid #ffffff;
        border-radius: 0px;
        max-width: 350px;
        font-size: 26px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: normal;
        text-align: center;
        width: 600px;
        height: 70px;
      align-items: center;
        justify-content:center;
        columns: 1;
      }



}



/* موبایلللللللللللللللللللللللللللللللللللللللللللللللللللللل */



.product-title-f{
  height: auto;
  width: 100%;
  background-color: rgba(168, 168, 168, 0.635);
  /* margin-right: 15%;
  margin-left: 15%; */
  margin-top: 10px;
  margin-bottom: 0px;
  
}


.product-detail-f{
  width:300px;
  height: 42px;
  align-items:center;
  margin: 0px;
}