@import "myfonts.css";

body {
  font-family: 'Samim';
  padding-bottom: 0px;
	font-size: 10.5pt;
  /*direction: ltr;*/
}

/* dropdown menu with submenu*/

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: .9rem;   /* فاصله از راست */
  left: auto;    /* غیرفعال کردن موقعیت از چپ */
  top: .9rem;
  top: .9rem;
}

.dropdown-submenu .dropdown-menu {
  top: -.7rem;
  left: 100%;
  border-radius: .25rem 0 .25rem .25rem;
  /* margin-right: .1rem; */
}
/* ------------------------ */


div.BoxProduct {
  background: rgba(255, 255, 255, 1.00);
  border: solid thin rgba(225, 222, 222, 1.00);
  z-index: 0;
  min-height: 400px;
  padding: 10px;
  border-radius: 3px;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  text-align: center;
}
.BoxProduct:hover {
  border: none;
  z-index: 1;
  -webkit-transform: scale(1.01, 1.01);
  transform: scale(1.01, 1.01);
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.35);
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.BoxProduct div.Title {
  background: rgba(200,200,200,0.36);
  
/*  margin-bottom: 5px;*/
}

.BoxProduct Div.ImageContainer{
  text-align: center;
  border: solid thin rgba(200,200,200,0.36); 
  width: 100%;
  height: 220px;
}

.BoxProduct .ImageContainer img {
  max-width: 90%;
  max-height: 90%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.BoxProduct a{
  text-decoration: none;
}

.BoxProduct p.NameProduct{
  font-size: 10.5pt;
  color: rgba(18,77,110,1.00);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0px;
  max-height: 40px;
  overflow: hidden;
}

.BoxProduct p.Price{
  font-size: 13pt;
  color: green;
  text-align: center;
  margin: 5px; 
	margin-bottom : 10px;
} 

.BoxProduct p.PriceOld{
  font-size: 10pt;
/*  color: green;*/
  font-style: oblique;
  text-decoration: line-through; 
  text-align: center;
  margin-top: 5px; 
  margin-bottom: 0px;
} 

/*---------------------------------*/
.framePreviewPic {
    height: 358px;   
    white-space: nowrap;
    text-align: center;
		margin: 1em 0;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.PreviewPic {
    background: #3A6F9A;
    vertical-align: middle;
    max-height: 350px;
    /* max-width: 160px; */
}

div.ImagesTump-container {
  display: flex;
	flex-direction: row;
  overflow-x: auto;
}

div.ImagesTump-container > div {
  flex: 0 0 80px;
  margin: 2px;
  border-radius: 3px;
  padding: 2px;
  display: table-cell;
  vertical-align: middle;
}

div.ImagesTump-container > div .tumbPic {
  max-width: 100%;
  max-height: 50px;
  text-align: center;
  vertical-align: middle;
}

/*---------------------------------*/
ul.BoxSpeciality{
  margin: 5px;
}

ul.BoxSpecialityProduct > li{
  font-size: 10pt;
  margin-bottom: 10px;
}

/* ------------------------------- */
div.DescSpeciality{
	margin: 5px;
	font-size: 10pt;
}

div.DescSpeciality div.LabelSpec{
	padding: 8px;
	background-color: #f8f9fa;
  border: solid 1px #e5e5e5;
  background-color: rgb(253, 252, 250);  
}

div.DescSpeciality div.ValueSpec{
	padding-right: 13px;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-bottom: 8px;
  border: solid 1px #e5e5e5;
  background-color: rgb(247, 247, 245);  
}

div.DescSpeciality div.CategorySpec{
	padding-right: 0;
	margin-top: 16px;
  margin-bottom: 16px;
}


/* ------------ Check Button Color ------------ */
.label_ck_button {
  /* float: left; */
  min-width: 60px;
  text-align: center;
  padding: .25em;
  border-radius: 3px;
  border: solid 1px #d6d0d0 ;
  background: #eeeded;
  cursor: pointer;
  /* Prevent text in buttons from being selected/highlighted */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.input_ck_button {
  display: none;
}
.input_ck_button:checked + .label_ck_button {
  /* color: #FFF;*/
  background: #e0dbdb; 
  border: solid 1px #7e6060;
}

/* -------- for chekbox imaging -------- */
.image_chk_button {
  /* float: left; */
  /* text-align: center; */
  /* padding: .01em; */
  /* background: #eeeded; */
  min-width: 60px;
  border-radius: 5px;
  border: solid 1px #d6d0d0 ;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.input_chk_button {
  display: none;
}
.input_chk_button:checked + .image_chk_button {
  box-shadow: 2px 2px 10px rgb(115, 185, 241);
  border: solid 1px #c4c1c1;
}


/* ------------ Input Text Search TopBar ------------ */

.dropdown_search_list {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-content_search_list {
   position: relative; 
  /* min-width: 200px; */
  /* max-width: 400px; */
  /* background-color: #f6f6f6; */
  background-color: #ffffff;
  overflow: auto;
  border: 1px solid #ddd;
  z-index: 1;
  border-radius:5px;  
}

.dropdown-content_search_list a {
  color: black;
  padding: 7px 16px;
  text-decoration: none;
  display: block;
  font-size: 9.5pt;
}

.dropdown-content_search_list a::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f002";
  margin-left: 5px;
}


.dropdown_search_list a:hover {background-color: #ddd;}


/* ...... */
/* .dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown > .dropdown-toggle:active {
  pointer-events: none;
} */
