@font-face {
  font-family: iransans;
  font-style: normal;
  font-weight: normal;
  src: url('../../fonts/IRANSansWeb_Light.eot');
  src: url('../../fonts/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),
  url('../../fonts/IRANSansWeb_Light.woff2') format('woff2'),
  url('../../fonts/IRANSansWeb_Light.woff') format('woff'),
  url('../../fonts/IRANSansWeb_Light.ttf') format('truetype');
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.login-box h4{
  font-weight: bold;
  font-size: 20px;
}
.login-box p{
  font-size: 14px;
}
.login-box button{
  background-color: #2fa4b4 !important;
  border-color: #2fa4b4 !important;
}
.login-box button:hover{
  background-color: #1f8894 !important;
  border-color: #1f8894 !important;
}
.login-box .form-control:focus{
  border-color: #1f8894 !important;
}

.dashboard-login-info img{
  width: 100%;
  border-radius: 100%;
}
.dashboard-login-info p{
  font-size: 14px;
}
.dashboard-login-info p span{
  color: #2fa4b4;
}
.dashboard-login-info p i{
  color: #2fa4b4;
  background: rgba(47, 164, 180, 0.16);
  padding: 3px;
}

.product-row td:first-of-type{
  width: 100px;
}
.product-row td img{
  max-width: 120px;
}
.product-row td.price{
  color: #333333 !important;
  font-size: 16px;
}
.product-row td.price span{
  margin: 0 5px;
  font-size: 13px;
}
.product-row td.cart-btn i{
  position: relative;
  left: 7px;
}

.btn-outline-ostad{
  color: #2fa4b4;
  border-color: #2fa4b4;
  background: transparent;
}
.btn-outline-ostad:checked, .btn-outline-ostad:active, .btn-outline-ostad:hover{
  color: #fff;
  background-color: #2fa4b4;
  border-color: #2fa4b4;
}
.btn-ostad{
  background-color: #2fa4b4 !important;
  border-color: #2fa4b4 !important;
  color: #fff;
}
.btn-ostad:hover{
  background-color: #1f8894 !important;
  border-color: #1f8894 !important;
  color: #fff;
}
.form-control:focus{
  border-color: #1f8894 !important;
}

.number-input {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.number-input input {
  text-align: center;
  font-size: 1rem;
  width: 80px;
}

.number-input button {
  padding: 5px 10px;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid #ccc;
  width: 35px;
  height: 39px;
}

.search-box{
  position: relative;
  margin-bottom: 20px;
}
.search-box input{
  line-height: 32px;
}
.search-box i{
  position: absolute;
  top: 13px;
  left: 14px;
  font-size: 22px;
}

.address-delete-alert .btn-close{
  position: absolute;
  left: 26px;
  top: 10px;
  margin-top: unset !important;
}
.address-delete-alert i{
  font-size: 3em;
  color: #f42828;
  width: 100px;
  height: 100px;
  border: 1px solid #f42828;
  border-radius: 50%;
  line-height: 96px;
  margin-bottom: 28px;
}
.address-delete-alert p{
  font-size: 17px;
  font-weight: bold;
}

.clickable-row {
  cursor: pointer;
}


.upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  direction: rtl;
}

.upload-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-display {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}

.choose-btn {
  background: none;
  color: #1e3a8a;
  cursor: pointer;
  font-weight: bold;
  border-left: 1px solid #ccc;
  padding-left: 10px;
  margin-left: 10px;
}

.add-more {
  background-color: rgba(191, 212, 239, 0.6);
  border: none;
  color: #4260b7;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 25px;
}

.add-more:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.remove-btn {
  background-color: #f8d7da;
  color: #721c24;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  margin-top: -9px;
}

.remove-btn:hover {
  background-color: #f5c6cb;
}

.support-message{
  border-left: 5px solid #2fa4b4;
}

.message-header{
  padding: 25px 20px;
  position: relative;
  border-bottom: 1px solid #eee;
}
.message-header-img{
  display: inline-block;
  margin-left: 15px;
}
.message-header-img img{
  max-width: 55px;
  border-radius: 50%;
  margin-top: -30px;
  border: 1px solid #eee;
  padding: 2px;
}
.message-header-info{
  display: inline-block;
}
.message-header-info p:first-of-type{
  font-weight: bold;
  margin-bottom: 5px;
}
.message-header-info p:last-of-type{
  margin: 0;
}
.message-header-date{
  position: absolute;
  left: 15px;
  top: 25px;
}
.message-desc{
  padding: 20px;
  line-height: 35px;
}
.message-desc p{
  margin: 0;
}
.card2{
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
}

.total-cart{
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  border-bottom: 1px dashed #ccc;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.total-cart:last-of-type{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.total-cart p{
  margin: 0;
}
.total-cart p span{
  margin: 0 5px;
  font-size: 13px;
}
.checkout-address{
  padding: 0 20px 20px 20px;
}
.checkout-address-box{
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 0.5rem;
  line-height: 35px;
  font-size: 15px;
  margin-bottom: 15px;
}
.checkout-address-box input{
  display: inline-block;
  position: relative;
  top: -30px;
  width: 15px;
  height: 15px;
}
.checkout-address-box span{
  display: inline-block;
  padding-right: 15px;
}


.empty-cart{
  text-align: center;
}
.empty-cart img{
  max-width: 200px;
  margin-bottom: 30px;
  margin-right: 45px;
}
.empty-cart p{
  font-weight: bold;
  font-size: 18px;
}

.priceWithOff{
  position: relative;
  display: inline-block;
  color: #888;
  font-size: 14px;
  margin: 0;
}
.priceWithOff:before{
  content: " ";
  display: block;
  width: 100%;
  border-top: 2px solid rgba(0,0,0, 0.3);
  height: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: rotate(-7deg);
}
.off{
  position: absolute;
  top: 5px;
  right: 5px;
  background: #FF0000FF;
  outline: 1px dashed #FF0000FF;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  color: #fff;
  outline-offset: 2px;
  font-size: 14px;
}

.alert-dismissible{
  padding-left: 0.9375rem !important;
}
.alert-dismissible .btn-close{
  position: absolute;
  top: -15px !important;
  left: -15px !important;
  z-index: 2;
  padding: 10px;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}