/* global body padding */

@font-face {
  font-family: "Dinar";
  src: url("../fonts/dinar/Dinar.eot") format("embedded-opentype"), url("../fonts/dinar/Dinar.woff") format("woff"),
    url("../fonts/dinar/Dinar.ttf") format("truetype");
}

@font-face {
  font-family: "IRANSansWeb";
  src:url("../fonts/IRANSansWeb/IRANSansWeb_0.ttf") format("truetype"),
    url("../fonts/IRANSansWeb/IRANSansWeb_0.woff") format("woff");
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../fonts/IRANSansFaNum/IRANSansWebFaNum.ttf") format("truetype"),
    url("../fonts/IRANSansFaNum/IRANSansWebFaNum.eot") format("embedded-opentype"),
    url("../fonts/IRANSansFaNum/IRANSansWebFaNum.woff") format("woff");
}


@font-face {
  font-family: "iransansDN";
  src: url("../fonts/IRANSansDN/IRANSansDN.eot") format("embedded-opentype"),
    url("../fonts/IRANSansDN/IRANSansDN.ttf") format("truetype"),
    url("../fonts/IRANSansDN/IRANSansDN.woff") format("woff");
}

@font-face {
  font-family: "tahoma";
  font-weight: 100;
  src: url("../fonts/tahoma/tahoma/TAHOMAB0.ttf") format("embedded-opentype"),
    url("../fonts/tahoma/TAHOMA_0.ttf") format("truetype"), url("../fonts/tahoma/tahoma/TAHOMABD.ttf") format("woff");
}

/******************************/

@font-face {
  font-family: "iranSansDN";
  src: url("../fonts/iranSansDN/IRANSansDN.eot");
  src: local("IRANSansDN"), url("../assets/fonts/iransans/IRANSansDN.eot?#iefix") format("embedded-opentype"),
    url("../fonts/iranSansDN/IRANSansDN.woff2") format("woff2"),
    url("../fonts/iranSansDN/IRANSansDN.woff") format("woff"),
    url("../fonts/iranSansDN/IRANSansDN.ttf") format("truetype"),
    url("../fonts/iranSansDN/IRANSansDN.svg#IRANSansDN") format("svg");
}
/******************************/

html,
body {
  direction: rtl;
  font-size: 12px;
  width: 100%;
  height: 100%;
}

* {
  font-family: iransansDN;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
  font-family: inherit;
}

.texttCenter {
  text-align: center;
}

.texttRight {
  text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "iranSansDN";
  color: #333;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2;
}

h4 {
  font-size: 1.25rem;
  line-height: 2;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 2;
}

h6 {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

/********************/

.tahoma {
  font-family: "tahoma";
}

.fo10 {
  font-size: 10px;
}

.fo11 {
  font-size: 11px;
}

.fo12 {
  font-size: 12px;
}

.fo13 {
  font-size: 13px;
}

.fo14 {
  font-size: 14px !important;
}

.fo15 {
  font-size: 15px !important;
}

.fo16 {
  font-size: 16px !important;
}

/****************/

.margin10 {
  margin: 10px;
}

.marginBottom10 {
  margin-bottom: 10px;
}

.marginTop10 {
  margin-top: 10px;
}

.marginTop22 {
  margin-top: 22px;
}

.marginRight10 {
  margin-right: 10px;
}

.marginLeft10 {
  margin-left: 10px;
}

/****************/

.margin15 {
  margin: 15px;
}
.margin10 {
  margin: 10px;
}

.marginBottom15 {
  margin-bottom: 15px;
}

.marginTop15 {
  margin-top: 15px;
}

.marginRight15 {
  margin-right: 15px;
}

.marginLeft15 {
  margin-left: 15px;
}

.marginAuto {
  margin: 0 auto;
}

/********************/

.pad0 {
  padding: 0 !important;
}

/********************/

.bold {
  font-weight: 600;
}

/********************/

.floatRight {
  float: right !important;
}

.floatLeft {
  float: left !important;
}

/*******************/

.w50 {
  width: 50% !important;
}

.w50calc5 {
  width: calc(50% - 5px);
}

.w100 {
  width: 100%;
}

.w100calc5 {
  width: calc(100% - 5px);
}

.w30 {
  width: 30% !important;
}

.w70 {
  width: 70% !important;
}

/*********************/

.height50 {
  height: 50px !important;
}

.height45 {
  height: 45px !important;
}

.height50 {
  height: 40px !important;
}

.maxheight100 {
  max-height: 100px !important;
}

.maxheight120 {
  max-height: 120px !important;
}

.maxheight150 {
  max-height: 150px !important;
}

.maxheight175 {
  max-height: 175px !important;
}

.h100calc135 {
  height: calc(100% - 135px) !important;
}

.h100calc100 {
  height: calc(100% - 100px) !important;
}

.h100calc50 {
  height: calc(100% - 50px) !important;
}

.h100calc97 {
  height: calc(100% - 97px) !important;
}

.height-initial {
  height: initial !important;
}

/***********************/

.blockDisplay {
  display: block;
}

.inlineBlock {
  display: inline-block;
}

/************************/

.align-left {
  text-align: left !important;
}

.align-right {
  text-align: right !important;
}

.align-center {
  text-align: center !important;
}

/****************************************************************************/

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/*=============== TARCK ===============*/
::-webkit-scrollbar-track {
  background-color: #e6e6e6;
  border-radius: 50px;
}

/*=============== THUMB ===============*/
::-webkit-scrollbar-thumb {
  background-color: #f7f7f7;
  border: 1px solid #dadada;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a6a6a6;
}

::-webkit-scrollbar-thumb:active {
  background-color: #606060;
}

/*************************************************************************************/

.row {
  width: 100%;
  height: 54px;
  line-height: 15px;
}

.row + .row {
  margin: 10px 0 0 0;
}

.modal-body .row {
  padding-top: 10px !important;
}

.row .column {
  float: right;
  padding: 0 10px;
}

.row .column:only-child {
  width: 100%;
}

.row.two .column {
  width: 50%;
}

.row .column.three-wide,
.row.three .column {
  width: 33.33%;
}

.row .column.four-wide,
.row.four .column {
  width: 25%;
}

.row .column.two-wide,
.row.five .column {
  width: 20%;
}
.row.six .column {
  width: 16.66%;
}
.row.seven .column {
  width: 14.2%;
}
.row.eight .column {
  width: 11.5%;
}
.row.nine .column {
  width: 10.5%;
}
.row.ten .column {
  width: 9.5%;
}
/********************/

.row .column.seven-wide {
  width: 66.66%;
}

.row .column.five-wide {
  width: 50%;
}

.row .column.six-wide {
  width: 75%;
}

.row .column.eight-wide {
  width: 80%;
}

.row .column.nine-wide {
  width: 90%;
}
/**************************************************************************************/

.green {
  color: #129c2d !important;
}

.red {
  color: #d81c1c !important;
}

/*************************************************************************************/

@keyframes translateTitle {
  0% {
    top: -30px;
  }

  100% {
    top: 0px;
  }
}

@keyframes showAlert {
  0% {
    transform: rotateX(-90deg);
    visibility: hidden;
    opacity: 0;
  }

  5% {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
  }

  95% {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
  }
}

@keyframes showScroll {
  0% {
    visibility: hidden;
    opacity: 0;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}
