.dir_rtl{
    direction: rtl;
}
.dir_ltr{
    direction: ltr;
}

@font-face {
    font-family: 'vazir';
    src: url('vazir.eot') format('eot'), /* IE6–8 */ url('Vazir.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('Vazir.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

 .vazir , * {
    font-family: vazir, Arial, Helvetica, sans-serif;
}

p,h1,h2,h3,h4,h5,h6,a{
    font-family: vazir, Arial, Helvetica, sans-serif;
}


.product-info-colors {
    height: 1.6rem;
    border-radius: 10%;
    display: inline-block;
    margin-bottom: -0.3rem;
    border: 1px solid tomato;
    text-align: center;
    color: white;
    padding: 0 5px;
}

.colors-container{
    border: 1px solid bisque;
    padding: 10px;
    border-radius: 5px;
    background-color: lightgray;
}
.tabs-container{
    width: 100%;
    padding-bottom: 80px;
    border-bottom: solid 1px #ebebeb;
    box-sizing: border-box;
}
.nav-link{
    color: black;
    background-color: beige;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: teal;
}
/* article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
} */

.user_pic
{
	width: 70px;
	height: 70px;
	background: #ebebeb;
	border-radius: 50%;
}
.review
{
	padding-right: 30px;
    direction: rtl;
}
.review_date
{
	color: #fe4c50;
	margin-top: -4px;
    font-size: 10px;
    
    text-align: right;
}
.user_name
{
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 18px;
    text-align: right;
}


.add_review
{
	margin-top: 94px;
}
#review_form > div
{
	margin-bottom: 40px;
}
#review_form div:nth-child(2) h1
{
	display: inline-block;
}
#review_form div:nth-child(2)
{
	margin-bottom: 20px;
}
#review_form > div:last-child
{
	margin-bottom: 0px;
}
.add_review h1
{
	font-size: 18px;
	font-weight: 500;
}
.form_input
{
	display: block;
	width: 100%;
	height: 50px;
	border: solid 1px #e5e5e5;
	padding-right: 20px;
}
.input_name
{
	margin-bottom: 19px;
	margin-top: 31px;
}
.input_review
{
	display: block;
	width: 100%;
	border: solid 1px #e5e5e5;
	margin-top: 23px;
	padding-right: 20px;
	padding-top: 13px;
}
.user_star_rating
{
	display: inline-block;
	margin-right: 18px;
}
.user_star_rating li
{
	display: inline-block;
	margin-left: -3px;
	cursor: pointer;
}
.user_star_rating li i
{
	color: #f5c136;
	font-size: 18px;
}
.review_submit_btn
{
	width: 170px;
	border: none;
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.header-cart-dropdown {
    position: absolute;
    top: 70%;
    left: 0px;
    width: 240px;
    max-height: 320px;
    overflow: auto;
    background-color: #FFFFFF;
    z-index: 9999;
    padding: 0.3rem;
    font-size: 0.8rem;
    border: 0.5px solid;
    border-radius: 10px;
	display: none;
}
.header-cart-dropdown-body-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #efefef;
}
.navbar_user li a {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    color: #1e1e27;
    -webkit-transition: color 0.3sease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3sease;
}

.header-cart-dropdown-body-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #efefef;
}
.header-cart-dropdown-body-item img {
    max-width: 2rem;
    max-height: 2rem;
    margin-left: 0.4rem;
}
.header-cart-dropdown-body {
    padding: 0.6rem 0.3rem;
}
.nocheckout {
	border-radius: 0 !important;
    background: unset !important;
	width: unset !important;
    height: unset !important;
}
.header-cart-dropdown-body-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #efefef;
}
.header-cart-dropdown-footer {
    font-size: 0.7rem;
}
.d-block {
    display: block !important;
}
.btnred {
    background-color: #dc3545 !important;
    border-radius: 5px !important;
    color: white !important;
}
.address-add-button {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 0.25rem;
    border: 1px dashed #dedede;
    color: #666666;
    background-color: #fcfcfc;
    font-size: 0.8rem;
    line-height: 4rem;
    padding-top: 0.3rem;
    transition: 0.4s;
}

/* .address-select input[type=radio] {
    display: none;
} */

.comment-add-button {
    display: block;
    width: 100%;
    text-align: center;
    color: rgb(102, 102, 102);
    background-color: rgb(247, 247, 247);
    font-size: 0.8rem;
    line-height: 4rem;
    padding-top: 0.3rem;
    border-radius: 0.25rem;
    border-width: 1px;
    border-style: dashed;
    border-color: rgb(222, 222, 222);
    border-image: initial;
    transition: 0.4s;
}
.custom-drop-down .dropdown-item {
    font-size: 0.8rem;
    padding: 0.3rem;
    color: #333333;
}
.dropdown-item i {
    padding: 0.2rem 0.5rem 0rem 0.5rem;
    font-size: 1rem;
}
.drop-down-link{
    width: 100% !important;
    display: block !important;
    text-align: start;
}