@import url("https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Mochiy+Pop+One&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Poppins:ital,wght@0,100;0,200;0,600;0,700;0,800;0,900;1,100;1,500;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=ADLaM+Display&family=Cairo:wght@200;300;400;500;600;700;800;900;1000&family=Mochiy+Pop+One&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Poppins:ital,wght@0,100;0,200;0,600;0,700;0,800;0,900;1,100;1,500;1,700;1,800;1,900&display=swap");
:root {
  --main-color: #0E8388;
  --second-background: #f2f7f6;
  --btn-background: #ff6f61;
  --edit-color: #fff3a0;
  --semi-black: #2e2e2e;
  --distinct-price: #e07a5f;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
body {
  direction: rtl;
  font-family: "Cairo", sans-serif;
  background-color: #f6f6f6;
  padding-top: 40px;
  padding-bottom: 40px;
  position :relative;
}
.span-bold{
	font-size: 14px;
	font-weight: bold;
}
.errMessage
{
    text-align: center;
    font-size: 12px;
    color: red;
    padding: 5px;
    font-weight: bold;
}
.dis-flex{
	display: flex;
	justify-content: flex-end;
}
.flex-wrap{
	flex-wrap:wrap;
}
.dis-none{
	display:none;
}
.dis-block{
	display:block;
}
.flex-wrap{
	flex-wrap:wrap;
}
.notify{
	position: fixed;
    top: 70vh;
    background-color: rgba(0,0,0,.8);
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    right: 50%;
    transform: translateX(50%);
    font-size: 16px;
    font-weight: bold;
    width: 200px;
    text-align: center;
}
.distinct-price{
	color:var(--distinct-price);
}
.showBoder{
	border: 1px solid var(--main-color);
    padding: 5px;
}
.textCenter{
	text-align:center;
}
.sectionHeader{
	width: 100%;
} 
.sectionHeader h2{
	text-align:left;
    margin: 10px 0;
    color: var(--main-color);
    text-align: center;
	
}
.sectionHeader p{
	background-color: #fff; 
    font-size: 18px; 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-align: center; 
    width: 90%;
    margin: auto;
    font-weight:bold;
    color:var(--distinct-price);
    box-shadow: 1px 1px 4px #fff;
}
/* start section */
.section-box {
  background-color: #fff;
  position: fixed;
  right: -300px;
  top:-65px;
  height: 100%;
  width: 300px;
  border-left: 1px solid var(--main-color);
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  z-index: 102;
  margin-top: 64px; /*because the header height is 65px*/
}
 
@media (max-width: 599px) {
  .section-box {
    width: 250px;
    right: -250px;
  }
}
.open {
  right: 0;
}
.menu-icon {
  width: 50px;
  height: 50px;
  background-color: var(--main-color);
  position: absolute;
  left: -50px;
  top: 42px;
  padding-top: 15px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  z-index:999;
}
.menu-icon > span {
  display: block;
  margin: auto;
  width: 30px;
  height: 4px;
  background-color: #fff;
  margin-bottom: 5px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.section-box .logo{
	width:128px;
	height:128px;
	margin: 20px auto 20px ;
}
/* Transform spans into "close" icon */
.section-box.open .menu-icon{
	left:0px;
}
.section-box.open .menu-icon{
		background-color: #FFFFFF;
		top:2px;
}
.section-box.open .menu-icon > span{
background-color:var(--main-color);
 transition: all 0.3s ease-in-out;
}
.section-box.open .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 5px);
}
.section-box.open .menu-icon span:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}

.section-box.open .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -5px);
}

.section-box .logo img{
	width:100%; 
}

.section-box ul >li {
  position:relative;
  text-decoration: none;
  padding: 10px 15px;
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
}

.section-box ul > li > i {
  margin-left: 10px;
  font-size: 14px;
  color: var(--main-color);
}
.section-box ul > li >  a	 {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 800;
  font-size: 16px;
}
@media (max-width: 599px) {
  .section-box ul > li > a {
    font-size: 14px;
  }
}

.section-box .submenu{
	display: none;
    list-style: none;
    padding: 0;
}
.section-box .submenu.active{
	display: block;
} 
ol.submenu >li{
	display: inline-block;
    width:40%;
    width:100%;
    border-bottom: 1px solid rgba(255,255,255,.8);
    padding:5px;
}
/*ol.submenu li a::after {
    font-family: "Font Awesome 5 Free";
    content: "\f053"; 
	margin-left: 5px; 
}*/
ol.submenu li >  a {
	display:inline-block;
    font-size: 12px;
    cursor: pointer;
    padding: 5px ;
    width: 100%;
}
ol.submenu li > a:hover{
	background-color: #fff;
	color:var(--main-color);
	border-radius: 5px;
	padding:5px;
}

/*Start Sub-menu */
.sub-menu {
  position: absolute;
  top: 0; 
  right: 150px; 
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 180px; 
  max-height: 300px; 
  display: none; 
  z-index: 1000;
  background-color: #FFFF;
}
.sub-menu::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -12px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.3);
}
.sub-menu.open {
  display: block; /* Show when open */
}

.sub-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
}
.sub-menu ul li {
  padding: 3px;
  cursor: pointer;
}

.sub-menu ul li a {
  text-decoration: none;
  display: block;
  font-size: 12px;
}

/*End Sub-menu*/

/* End section  */
/*Start main-ad*/
.main-ad{
	position:fixed;
	width:100%;
	top:0;
	background-color: #243642;
	color:#fff;
	font-size:14px;
	padding: 12px;
	text-align: center;
	font-weight:bold;
	z-index: 100;
	
}
/* .ads-board {
 height: 200px;
 }
.ads-board img{
	width:100%;
	height: 100%;

}
@media (max-width:599px) {
  .ads-board {
    height: 150px;
  }
}
*  */
/*End main-ad*/

/*start header*/
.warning{
	  background-image: url('../imgs/header.png');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      width: 100%;
      height: 80vh;
      
}
.warning img{
	width:100%;
}
/*End Header*/
/* Start Header area */
.header-area {
  background-color: var(--main-color);
  padding: 10px;
  position: sticky;
  top: 35px;
  z-index: 10;
  width: 100%
}
.header-area .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.header-area .logo {
  font-family: "Cairo","ADLaM Display", cursive;
  font-size: 22px;
  color: #fff;
  font-weight: bold;
}
.header-area a{
	text-decoration: none;
}
@media (max-width: 599px) {
  .header-area .logo {
    flex-basis: 70%;
  }
}
.header-area .search-box{
	position: relative;
}
.header-area .search-box .resultList{
	border-radius: 5px;
    background-color: #fff;
    margin-top: -6px;
    padding: 5px;
    width: 100%;
    position: absolute;
}
.header-area .search-box .resultList li{
	font-size:14px;
	padding: 4px 8px;	
}
.header-area .search-box .resultList li:hover{
	background-color: var(--main-color);
	color:#fff;
	cursor:pointer;
}
.header-area .search-box form input {
  max-width: 500px;
  min-width: 300px;
  padding: 10px 15px;
  border-radius: 4px;
  border: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.header-area .search-box form input:focus {
  outline: none;
}
.header-area .search-box form input:focus::placeholder {
  color: transparent;
}
.header-area .search-box form input::placeholder {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

@media (max-width: 678px) {
  .header-area .search-box form input {
  	min-width: 100px;
  	max-width:150px;
  }
  .header-area .active-user{
   display: none;
  }
 
}

.header-area .location i {
  color: #f31559;
  font-size: 21px;
}
.header-area .location span {
  color: #fff;
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}
.header-area .location #userId{
	display:none;
}
.header-area .which-page {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}
@media (max-width: 992px) {
  .header-area .location {
    display: none;
  }
}
.header-area .active-user {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  position: relative;
}
.header-area .active-user::before {
  content: "";
  position: absolute;
  top: 3px;
  right: -15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: var(--btn-background);
}
@media (max-width: 992px) {
  /* i made this to make the active user get near to the cart by make logo take more 
  width from the header */
  .header-area .logo {
    flex: 0.9;
  }
}
.header-area a.btn {
  width: 140px;
  height: 45px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  text-align: center;
  line-height: 2.9;
  text-decoration: none;
  text-align: center;
  line-heigh:3;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
}
.header-area .btn:hover {
  background-color: #2ee59d;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}
@media (max-width: 992px) {
  .header-area .btn {
    display: none;
  }
}
.header-area .cart-icon {
  background-color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  position: relative;
  cursor: pointer;
}
.beforeCart {
  content: "0";
  color: #000;
  font-size:14px;
  font-weight:bold;
  width: 15px;
  height: 15px;
  position: absolute;
  top: -8px;
  left: -8px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:#fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.header-area .cart-icon i {
  color: var(--main-color);
  font: 1.5em;
  font-weight: bold;
}

/* End Header area */

.section_items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-bottom: 5px;
}
.section_items_discount {
  display: flex;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 5px;
  flex-wrap: wrap;
} 

.container .path {
  padding: 30px 30px 0;
}
.container .path p {
  color: #999;
  display: inline-block;
  font-size: 12px;
  font-weight:bold;
  
}

.section_items .card {
  flex-basis: calc(92% / 4);
  margin-left: 2%;
  margin-bottom: 25px;
  padding: 10px 0;
  border-bottom: 3px solid #ddd;
  position: relative;
}
.section_items .card img{
cursor: pointer;
}
.section_items .card.sold-out::before {
    content: "Sold Out !";
    position: absolute;
    top: 35%;
    right: 50%;
    transform-origin: center center;
    transform: translate(50%, -50%) rotate(-45deg);
    width: 7em;
    z-index: 9;
    color: #fff;
    background-color: rgba(255,0,0,0.9);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.section_items .card-top {
  background-color: #fff;
  position: relative;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  box-shadow: 1px 1px 15px #ddd;
}
.section_items .card-top span.discount {
  display: block;
  text-align: center;
  background-color: red;
  width: 40px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  padding: 2px 3px;
  top: 10px;
  left: 0;
  box-shadow: 4px 3px 0 var(--btn-background);
}
.section_items .card-top .img {
    width: 200px;
    height: 200px;
    padding: 0px;
    margin: auto;
}
@media (max-width: 599px) {
	.section_items .card-top .img{
	width: 124px;
  	height: 124px;
	}
}
.section_items .card-top .img img {
  width: 100%;
  height: 100%;
}
.section_items .card-top #addToCart  ,.section_items .card-top #buyNow ,#buyNow{
  background-color: var(--main-color);
  padding: 10px 8px;
  font-size: 13px;
  font-weight:bold;
  border: 1px solid var(--main-color);
  color: #fff;
  border-radius: 5px;
  cursor:pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
   width:100%;
}
.section_items .card-top #buyNow ,#buyNow{
	margin-top: 10px;
	background-color: var(--btn-background);
	border: 1px soild var(--btn-background);
}
.section_items .card-top #quantitiy {
  width: 64px;
  padding: 2px 4px;
  font-size:10px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  text-align: center;
  border-radius: 4px;
  margin-right:5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.section_items .card-top .descriptionLink{
	display:inline-block;
	font-size: 12px;
	text-decoration: underline; 
    cursor: pointer;	
    color: var(--main-color);
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 15px;
}

.section_items .card-top .descritionLink:hover{
	text-decoration: none;
}
.section_items .card-bottom {
  padding: 10px;
}
.section_items .card-bottom .price {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.section_items .card-bottom .price #befor-discount {
  font-size: 16px;
  font-weight: bold;
  color: #999;
  text-decoration: line-through;
}
.section_items .card-bottom .price #after-discount {
  font-size: 22px;
  font-weight: bold;
  color: var(--main-color);
}
.section_items .card-bottom .item-name {
  text-align: center;
  margin-top: 5px;
  font-weight:bold;
}
.section_items .card-bottom .unit {
  margin-right: calc(100% - 50px);
  font-size: 13px;
  margin-top: 5px;
  color: #ccc;
}
/* Start pop up page to show product description */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-container {
 position: fixed;
    z-index: 11;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background-color: #fff;
    border-top: 7px solid var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.product-container span {
  display: block;
  position: absolute;
  top: 15px;
  right: 10px;
  font-size: 24px;
  color: red;
  cursor: pointer;
}
.product-container > div {
  padding: 10px;
  width: 48%;
  text-align: center;
}
@media (max-width: 599px) {
  .product-container {
  	width:300px;
    flex-direction: column-reverse;
    height: 80vh;
    justify-content: space-evenly;
    align-items: center;
  }
  .product-container > div {
    width: 100%;
  }
 .product-container .img{
 	width: 128px;
 	height: 128px;
 }
 .product-container .info p{
 	text-align: center;
 }
 
}
 .product-container .info h3{
  text-align: center;
  margin-top: 5px;
  }
  .product-container .img{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 250px;
    height: 250px;
  }
 @media (max-width: 599px) {
  .product-container .img{
    width: 150px;
    height: 150px;
  }
}
.product-container .img img {
  width: 100%;
  height: 100%;
  margin-bottom: 5px;
}
.product-container .info p {
  padding: 15px;
  margin-top: 5px;
  font-size: 13px; 
}
.product-container .info div.price {
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  font-size: 22px;
}
.product-container .info button.add {
  width:100%;
  padding: 10px 20px;  
  border: none;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
   display: block;
   margin: 10px auto;
  
}
.product-container .info button.add i {
  margin: 0 10px 0 0;
}
.product-container  .price span.unit{
	position: static;
    display: inline;
    font-size: 10px;
    color: #999;
    margin-right: 30px;
}
.product-container .description .change {
  padding: 5px;
  font-weight: bold;
  text-align: center;
  margin: 0 5px;
}
.product-container .description .quantitiy {
  width: 60px;
  text-align: center;
  padding: 5px;
}
.product-container .img{
display: flex;
    flex-direction: column;
}
.product-container .img .subImg{
	display: flex;
}

.product-container .img .subImg .imgContainer{
	width:52px;
	height:52px;	
	margin-left: 4px;
    opacity: .8;
    border: 1px solid #ddd;
    border-radius: 4px;
}
/* End pop up page to show product description */
/* start grid system */
/* small devices  */
.container {
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 599px) {
  .container {
    max-width: 540px;
  }
}
/* tablet */
@media (min-width: 600px) {
  .container {
    max-width: 720px;
  }
}
/* pc */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  .links-container .links {
    display: block;
  }
  .toggle-menu > span {
    display: none;
  }
}
/* large screen */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Start dashbord page */
.table-container {
  padding-top: 50px;
  padding-bottom: 50px;
  max-width: 100vw;
  margin: auto;
  
}
.table-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
  margin-right: 10px;
}
.table-container #searchInput_admin{
    width: 250px;
    font-size: 15PX;
    border-radius: 4px;
    border: 1px solid var(--main-color);
    padding: 8px;
    display: block;
    margin: 10px auto;
}
.table-container #searchInput:focus{
	outline: none;
}
@media (max-width: 600px) {
  .table-container h2 {
    font-size: 21px;
    text-align: center;
  }
}
.table-container table {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  padding: 20px;
}
.table-container thead tr {
  font-weight: bold;
  font-size: 18px;
  color: var(--main-color);
}
/* see more button */
.table-container tbody tr td span.textContainer{
	display:inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space:nowrap;
	width: 100px;
	margin:auto;
	text-align:center;
}
@media (max-width:600px) {
	.table-container tbody tr td span.textContainer{
			width: 60px;
		
	}
}
.see-more{
	display: none;
    background: none;
    border: none;
    text-decoration: underline;
    color: var(--main-color);
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin: 10px auto;
    cursor: pointer;
}
.table-container table tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 5px;
}
.table-container table tr:nth-child(even) {
  background-color: #eee;
}
/* for table in receipt table  */
.table-container.col-4 table tr td {
  flex-basis: calc(90% / 4);
  text-align: center;
  padding: 10px 0;
}
/* for table in section table  */
.table-container.col-3 table tr td {
  flex-basis: calc(100% / 3);
  text-align: center;
  padding: 10px 0;
}
.table-container.col-6 table tr td {
	  flex-basis: calc(100% / 5);
	  text-align: center;
}
.table-container.col-6.show-items a.add{
	display:block;
	margin-right: 10px;
	margin-bottom: 20px;
	font-weight:bold;
	font-size:14px;
}
.customContainer{
	overflow-x:auto;
}
.table-container table tr .btn {
  display: inline-block;
  width: fit-content;
  padding: 8px 6px;
  font-size: 10px;
  background-color: var(--main-color);
  border: none;
  cursor: pointer;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 1px 3px var(--main-color);
  text-decoration: none;
  margin-bottom: 5px;
}
.table-container table tr .btn.delete-btn {
  background-color: #f31559;
  box-shadow: 0 1px 3px #f31559;
}
.table-container table tr .btn.update-img {
  background-color: #ff9b50;
  box-shadow: 0 1px 3px #ff9b50;
}
@media (max-width: 600px) {
  .table-container table tr .btn {
    font-size: 10px;
    padding: 4px;
  }
  .table-container table tr td{
  	font-size:14px;
  }
  .table-container table.allItems tr td:first-child {
	display: none;
}
}
/* End dashbord page */

/* start add section page  */

.add-section {
  padding-top: 50px;
  padding-bottom: 50px;
  max-width: 800px;
  min-width: 250px;
  margin: auto;
}
.add-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .table-container h2,
  .add-section h2 {
    font-size: 21px;
    text-align: center;
  }
}
.add-section form {
  padding: 50px;
  width: 100%;
  background-color: #fff;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

@media (max-width: 600px) {
  .add-section form {
    padding: 10px;
    width: 90%;
    margin: auto;
  }
}
.add-section label {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
  color: var(--main-color);
  width: 150px;
}
@media (max-width: 600px) {
  .add-section label {
    display: block;
    width:100%;
    margin-bottom: 10px;
  }
}
.add-section form input,
.add-section form select {
  padding: 10px;
  width: 60%;
  border: 1px solid #ccc;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  margin: 10px auto ;
}
.add-section form select {
	padding: 5px;
}
@media (max-width: 600px) {
  .add-section form input,
  .add-section form select {
    width: 300px;
  }
}
.add-section form input:focus {
  outline: none;
}
.add-section form input:focus::placeholder {
  color: transparent;
}
.add-section form input::placeholder {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.add-section form .btn {
  display: block;
  margin-right: calc(100% - 90px);
  margin-top: 20px;
  text-align: center;
  padding: 10px 20px;
  background-color: var(--main-color);
  border: none;
  cursor: pointer;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 1px 3px var(--main-color);
}

/* end add section page */

/* start add item page */
.add-item {
  padding-top: 25px;
  padding-bottom: 25px;
  max-width: 1000px;
  min-width: 250px;
  margin: auto;
}
@media (max-width: 600px) {
  .add-item h2 {
    text-align: center;
    font-size: 18px;
  }
  .add-item a {
    text-align: center;
    text-align: right;
  }
}
.add-item a {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--main-color);
  padding: 15px;
}
.add-item .container{
	margin-bottom: 50px;
}
.add-item form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 50px;
  width: 100%;
  background-color: #fff;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
@media (max-width: 600px){
  .add-item form {
    padding: 15px;
  }
}
.add-item form .data-row {
  flex-basis: 48%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content:flex-start;
}
@media (max-width: 992px) {
  .add-item form .data-row {
    flex-basis: 46%;
  }
}
.add-item form .data-row {
  margin-top: 10px;
  margin-left: 10px;
}
.add-item form .data-row label {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  font-weight: bold;
}
@media (max-width: 992px) {
  .add-item form .data-row label {
    margin-bottom: 15px;
	font-size: 12px;
  }
}
.add-item form input,
.add-item form select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  text-align: center;
}
@media (max-width: 992px) {
  .add-item form input,
  .add-item form select {
    width: 100%;
  }
}
.add-item form input::placeholder {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.add-item form input:focus::placeholder {
  color: transparent;
}
.add-item form input:focus,
.add-item form select:focus {
  outline: none;
}
.add-item form select {
  padding: 5px;
}
.add-item form textarea {
  width: 300px;
  padding: 10px;
  border: 1px solid var(--main-color);
  height: 100px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  width:100%;
}
.add-item form .data-row img {
  width: 164px;
  height: 164px;
  display: block;
  margin: auto;
}
@media (max-width: 992px) {
  .add-item form textarea {
    width: 100%;
  }
}
.btn-container{
	min-width:100%
}
.add-item form .btn {
  display: block;
  width: 170px;
  margin: 30px auto;
  padding: 10px;
  border: none;
  color: #fff;
  cursor:pointer;
  background-color: var(--main-color);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
}

#sellingPriceTrader,#sellingPriceCustomer{
color:var(--main-color);;
font-weight: bold;
}
/* start  item image for edit */


/* End  item image for edit */

/* end add item page 

/* start show items  */
.page{
	width:90%;
	text-align:center;
	margin: 0 auto 100px;
}
.page span{
	display: inline-block;
    background-color: #fff;	
    padding: 10px;
    margin: 3px;
    border: 1px solid var(--main-color);
    font-weight: 700;
    cursor: pointer
}

/* end show items */



/* start footer  */
.footer {
	
  min-width: 100%;
  position: fixed;
  bottom:0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: var(--second-background);
  padding:8px;
  z-index: 99;
  
}
.footer .social-media a {
  margin-left: 10px;
  text-decoration: none;
}
.footer .social-media a i {
  color: var(--main-color);
  font-size: 16px;
}
.footer .logo img {
  width: 32px;
  height: 32px;
}
.footer h3 { 
  font-family: "ADLaM Display", cursive;
  color: var(--main-color);
  font-size: 18px;
  font-weight: bold;
}
.footer h3 span {
  font-size: 30px;
  color: var(--btn-background);
}
/* end footer */





/* Start  when clicked on delete btn */
.overlay {
  position: fixed;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}
.dialogContainer {
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 300px;
  height: 250px;
  background-color: #fff;
  border-top: 7px solid #f31559;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.dialogContainer .textContainer {
  text-align: center;
  font-size: 20px;
  color: #888;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}
.dialogContainer .textContainer label{
	margin: 5px;
}
.dialogContainer .btnContainer {
  display: flex;
  justify-content: space-around;
  width: 60%;
  margin-top: 30px;
}
.dialogContainer .btnContainer button {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.dialogContainer .btnContainer button:first-child {
  background-color: #f31559;
  color: #fff;
}
.dialogContainer input{
	border-radius: 5px;
    border: 1px solid grey;
    margin-top: 10px;
    width: 200px;
    font-size: 16px;
    padding: 5px;
    text-align: center;
}


/* End  when clicked on delete btn */

/*edit container*/
.dialogContainer .btnContainer .edit-btn{
	background-color:var(--main-color) !important;
}

