/**
--------------------------------------------------------------------------------------
This set of fonts are used in this project under the license: (-----)
--------------------------------------------------------------------------------------
**/
@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/iranyekan/eot/iranyekanwebboldfanum.eot');
	src: url('../fonts/iranyekan/eot/iranyekanwebboldfanum.eot@#iefix') format('embedded-opentype'),
		 url('../fonts/iranyekan/woff/iranyekanwebboldfanum.woff') format('woff'),
		 url('../fonts/iranyekan/ttf/iranyekanwebboldfanum.ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/iranyekan/eot/iranyekanweblightfanum.eot');
	src: url('../fonts/iranyekan/eot/iranyekanweblightfanum.eot@#iefix') format('embedded-opentype'),
		 url('../fonts/iranyekan/woff/iranyekanweblightfanum.woff') format('woff'),
		 url('../fonts/iranyekan/ttf/iranyekanweblightfanum.ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/iranyekan/eot/iranyekanwebregularfanum.eot');
	src: url('../fonts/iranyekan/eot/iranyekanwebregularfanum.eot@#iefix') format('embedded-opentype'),
		 url('../fonts/iranyekan/woff/iranyekanwebregularfanum.woff') format('woff'),
		 url('../fonts/iranyekan/ttf/iranyekanwebregularfanum.ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/iranyekan/eot/iranyekanwebmediumfanum.eot');
	src: url('../fonts/iranyekan/eot/iranyekanwebmediumfanum.eot@#iefix') format('embedded-opentype'),
		 url('../fonts/iranyekan/woff/iranyekanwebmediumfanum.woff') format('woff'),
		 url('../fonts/iranyekan/ttf/iranyekanwebmediumfanum.ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/iranyekan/eot/iranyekanwebblackfanum.eot');
	src: url('../fonts/iranyekan/eot/iranyekanwebblackfanum.eot@#iefix') format('embedded-opentype'),
		 url('../fonts/iranyekan/woff/iranyekanwebblackfanum.woff') format('woff'),
		 url('../fonts/iranyekan/ttf/iranyekanwebblackfanum.ttf') format('truetype');
}

/**
 * GENERAL
 */
* {
    font-family: iranyekan, tahoma, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
	font-family: iranyekan, tahoma, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
  direction: rtl;
  unicode-bidi: embed;
  overflow-x: hidden;
  height: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  text-align: right;
  color: #0c0c0c;
  background-color: #fff;
}

a,
a:hover,
a:focus {
	text-decoration: none;
}

a:focus,
button:focus {
	outline: 0;
}

b,
strong {
    font-weight: 600;
}

img,
object,
figure,
iframe,
embed {
    max-width: 100%;
    height: auto;
	border: 0;
}

legend {
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
}

table {
	width: 100%;
	border: 1px solid #dedede;
	border-spacing: 0;
	border-collapse: separate;
	vertical-align: middle;
}

thead {
    font-size: 1em;
    background-color: #eee;
    color: #0c0c0c;
}

th {
	font-weight: bold;
	color: #0c0c0c;
}

th,td {
	padding: 0.5em;
	border: 1px solid #dedede;
	border-right-width: 0;
	border-left-width: 0;
	border-top-width: 0;
	text-align: right;
}

th:last-child,
td:last-child {
	border-left-width: 0;
}

tr:last-child td,
tr:last-child th {
	border-bottom-width: 0;
}

thead tr:last-child td,
thead tr:last-child th {
	border-bottom-width: 1px;
}

tfoot tr:first-child td,
tfoot tr:first-child th {
	border-top-width: 1px;
}

button,
input {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  line-height: normal;
}

textarea:not(.form-control) {
  resize: vertical;
}

label {
	color: #0c0c0c;
	font-size: 13px;
	font-weight: 500;
}

blockquote {
	padding: 15px;
	color: #010101;
	background-color: #f8f9fa;
	border-bottom: 4px solid #00c0ff;
}

blockquote p:last-child {
	margin: 0;
}

.ltr {
    direction: ltr;
}

.transition {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.bold-300 {
	font-weight: 300 !important;
}

.bold-400 {
	font-weight: 400 !important;
}

.bold-500 {
	font-weight: 500 !important;
}

.bold-600 {
	font-weight: 600 !important;
}

.bold-900 {
	font-weight: 900 !important;
}

.font-6 {
	font-size: 6px !important;
}

.font-8 {
	font-size: 8px !important;
}

.font-9 {
	font-size: 9px !important;
}

.font-10 {
	font-size: 10px !important;
}

.font-11 {
	font-size: 11px !important;
}

.font-12 {
	font-size: 12px !important;
}

.font-13 {
	font-size: 13px !important;
}

.font-14 {
	font-size: 14px !important;
}

.font-15 {
	font-size: 15px !important;
}

.font-16 {
	font-size: 16px !important;
}

.font-17 {
	font-size: 17px !important;
}

.font-18 {
	font-size: 18px !important;
}

.font-20 {
	font-size: 20px !important;
}

.font-22 {
	font-size: 22px !important;
}

.font-24 {
	font-size: 24px !important;
}

.font-28 {
	font-size: 28px !important;
}

.font-30 {
	font-size: 30px !important;
}

.font-36 {
	font-size: 36px !important;
}

.font-40 {
	font-size: 40px !important;
}

.font-60 {
	font-size: 60px !important;
}

.line-1 {
	line-height: 1rem !important;
}

.line-15 {
	line-height: 1.5rem !important;
}

.line-2 {
	line-height: 2rem !important;
}

.ellipsis {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ellipsis-2,
.ellipsis-3 {
    line-height: 2rem;
    max-height: 4rem;
    overflow: hidden;
    display: block;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}

.ellipsis-3 {
    max-height: 6rem;
    -webkit-line-clamp: 3;
}

.no-shadow,
.no-shadow:hover,
.no-shadow:focus {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.no-decoration,
.no-decoration:hover,
.no-decoration:focus {
	text-decoration: none !important;
}

.line-through {
	text-decoration: line-through;
}

.text-justify {
	text-align: justify;
}

.bg-contain {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bg-cover {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.z2 {
	z-index: 2;
}

.z3 {
	z-index: 3;
}

.bg-blue {
	background-color: #004d81 !important;
}

.blue-input {
	color: #fff !important;
	background: #2969b0 !important;
	border: 0;
}

.blue-input:focus {
	color: #fff !important;
	background: #2969b0 !important;
	border: 0;
}

.text-yellow {
	color: #ffe500 !important;
}

.border-blue {
	border-color: #2a415a!important;
}

/**
 * BOOTSTRAP
 */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #0c0c0c;
    font-weight: 500;
    line-height: 1.5;
}

.h1,
h1 {
	font-size: 24px;
}

.h2,
h2 {
	font-size: 20px;
}

.h3,
h3 {
	font-size: 18px;
}

.h4,
h4 {
	font-size: 16px;
}

.h5,
h5 {
	font-size: 14px;
}

.h6,
h6 {
	font-size: 13px;
}

.btn,
.form-control,
.form-select {
	font-size: 13px;
}

/**
 * VALIDATION
 */
.form-control.ng-touched.ng-invalid,
.form-select.ng-touched.ng-invalid {
	border-color: #dc3545;
}

.form-control.ng-touched.ng-invalid:focus,
.form-select.ng-touched.ng-invalid:focus {
	border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}

.disabled,
.disabled * {
    pointer-events: none;
}

.disabled .form-control,
.disabled .form-select {
    background: #eee;
}

/**
 * TABLE
 */
 .app-table thead {
	background: #eee;
}

.app-table tr > th {
	min-width: 80px;
	padding: 0.5rem;
	color: #000;
	font-size: 12px;
	font-weight: 400;
}

.app-table tr > th.sm {
	width: 80px;
}

.app-table tr > th.md {
	width: 140px;
}

.app-table tr > th.xl {
	width: 190px;
}

.app-table tr > th.lg {
	min-width: 240px;
}

.app-table tbody tr > th,
.app-table tr > td {
	padding: 0.5rem;
	color: #444;
	font-size: 12px;
	font-weight: 400;
}

.app-table tbody tr > th,
.app-table tbody tr > td {
	border-bottom: 1px solid #eee;
}

/**
 * BOOKS
 */
 .book-theme .app-fixed-bg {
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	min-height: 100vh;
	position: relative;
	background-image: url(../img/book/bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-color: #000;
	background-attachment: fixed;
	z-index: 0;
}

.book-theme .app-fixed-bg:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.book-theme .app-main-content .container {
	position: relative;
	z-index: 2;
}

.book-theme .app-sticky-widget {
	position: sticky !important;
	top: 2rem;
	background: #004d81;
    border: solid 1px #2969b0;
    border-radius: 8px;
}

.book-theme .app-nav {
	background: #2969b0;
	pointer-events: none;
}

.book-theme .app-nav .nav-link {
	padding-right: 40px !important;
}

.book-theme .app-nav .nav-link.active {
	background: #004d81;
	border-top-right-radius: 0.45rem;
	border-top-left-radius: 0.45rem;
}

.book-theme .app-nav .nav-link .s {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.book-theme .app-nav .nav-link .t {
	color: #ffe500;
}

.book-theme .app-nav .nav-link.active .t {
	color: #fff;
}

.book-theme .app-course-image video {
	object-fit: fill;
}

.book-theme .mat-card {
	display: block;
    position: relative;
    padding: 16px;
    border-radius: 4px;
	background: #fff;
    color: rgba(0,0,0,.87);
	transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
}

.book-theme .mat-card-title {
    display: block;
    margin-bottom: 8px;
	font-size: 24px;
    font-weight: 500;
}

.book-theme .mat-card-content {
    display: block;
    font-size: 14px;
}

.app-suggest-book .image {
	height: 180px;
	background-image: url(../img/no-thumbnail.png);
}

/**
 * CART
 */
.app-quantity-spinner {
	position: relative;
	width: 100%;
	padding: 6px 20px;
}

.app-quantity-spinner .btn {
	position: absolute;
    right: 4px;
    top: 6px;
    width: 20px;
    height: 24px;
    color: #999999;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
}

.app-quantity-spinner .btn.sub {
	right: auto;
	left: 4px;
}

.app-quantity-spinner .q,
.app-quantity-spinner .q:hover,
.app-quantity-spinner .q:active,
.app-quantity-spinner .q:focus {
	height: 24px;
	padding: 0;
	background-color: transparent;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	text-align: center;
	border: 0;
	pointer-events: none;
}

/**
 * OFFER
 */
.book-offer-item {
	background-color: #fcf8e3;
    border: 3px dashed #000;
}

.book-offer-item .offer-btn {
	background-position: 7px 50%;
    background-size: 28px 17px;
    background-repeat: no-repeat;
    background-image: url(../img/book/arrow.gif);
    padding: 5px 5px 5px 40px;
}

.book-offer-item .offer-btn .check {
	width: 12px;
    height: 12px;
    position: relative;
    top: 3px;
    right: 2px;
}

.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
    color: #fff;
    background-color: #30d425;
    border-color: #30d425;
}

.form-is-loading:before {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	bottom: 0;
	background: rgba( 0, 0, 0, 0.3);
	border-radius: .25rem;
	z-index: 99;
}

.form-is-loading:after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 50%;
	margin-right: -1.5em;
	margin-top: -1.5em;
	width: 3rem;
	height: 3rem;
	border: .25em solid #fff;
	border-right-color: transparent;
	border-radius: 50%;
	-webkit-animation: spinner-border .75s linear infinite;
	animation: spinner-border .75s linear infinite;
	z-index: 100;
}


.book-nav {
	background: #2969b0;
}

.book-nav .nav-link {
	color: #fff;
	border: 0;
	margin: 0;
}

.book-nav .nav-link.active {
	color: #fff;
	background: #004d81;
	border-top-right-radius: 0.45rem;
	border-top-left-radius: 0.45rem;
}

.app-fixed-whatsapp-btn {
    left: 1rem;
    bottom: 1rem;
    height: 50px;
    width: 175px;
    padding: 0 10px;
    color: #fff;
    background: linear-gradient(-45deg,#1e9e2a 0%,#13c23a 100%);
    font-weight: 700;
    line-height: 19px;
    border-radius: 4px;
    z-index: 99;
}

.app-fixed-whatsapp-btn .fab {
    float: right;
    margin-left: 8px;
    font-size: 24px;
    line-height: 48px;
}

.app-fixed-whatsapp-btn span.t {
    display: block;
    width: 155px;
    margin-top: 6px;
    margin-bottom: 0;
    padding: 0;
}

.app-fixed-whatsapp-btn span.p {
    font-weight: 400;
    font-size: 12px;
}