@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/eot/iranyekanwebbold(fanum).eot');
  src: url('../fonts/eot/iranyekanwebbold(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/woff2/iranyekanwebbold(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/iranyekanwebbold(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebbold(fanum).ttf') format('truetype');
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/eot/iranyekanweblight(fanum).eot');
  src: url('../fonts/eot/iranyekanweblight(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/woff2/iranyekanweblight(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/iranyekanweblight(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanweblight(fanum).ttf') format('truetype');
}
@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/eot/iranyekanwebregular(fanum).eot');
  src: url('../fonts/eot/iranyekanwebregular(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/woff2/iranyekanwebregular(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/iranyekanwebregular(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebregular(fanum).ttf') format('truetype');
}

body {
  font-family: 'iranyekan' !important;
  font-weight: 700;
}
p {
  text-align: justify;
}
:root {
  --color1: #0ead98;
  --color2: #0ead97;
  --color3: #bd293c;
  --color4: #6edc29;
  --color5: #00405a;
  --color6: #fa9e1b;
  --color7: #ffe400;
  --white-background: #29313c;
  --primary-background: #0b0e11;
  --dark-background:#1f2630;
  --gray: #ddd3d3;
  --text-primary:#e0e4ed;
  --obj-primary:#7b818f;
  --dark-primary: #e9b911;
}
.mainbody{
    margin: 0 !important;
    border-radius: 0;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    position: absolute;
    bottom: 0;
    top: calc(50px + 2em);
	width:100%;
	opacity:0.8;
}
.dialogfull>.dialog {
    width: 100%;
    height: 100%;
    max-height: unset;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

.toplogin{
	height: 100%;
}
.toplogin a{
    float: right;
    text-decoration: none;
    color: #16a997;
    padding: 25px;
    margin-top: 20px;
}
.logobrand{
    height: 40px;
    margin-top: 30px;
    margin-left: 20px;
}
.bg-gold {
  background: -webkit-linear-gradient(100deg, #daf7f3 60%, #ccf3f0 60%);
  background: -o-linear-gradient(100deg, #daf7f3 60%, #ccf3f0 60%);
  background: -moz-linear-gradient(100deg, #daf7f3 60%, #ccf3f0 60%);
  background: linear-gradient(100deg, #daf7f3 60%, #ccf3f0 60%);
      text-align: left;

}
.lginform{
	text-align: center; 
	margin-top: 75px;
	direction:rtl;
	
}
.lginform ons-input{
 width:90%;	
 margin-top:20px;
}
.registerform ons-input{
    margin-top: 5px;
    font-size: 12px;
}
.lginform .text-input--underbar:focus{
	border-bottom: 1px solid #16a997;
}
.loginfooter{
	margin-top:120px;
}
.loginfooter a {
    margin: 0 auto;
    text-decoration: none;
    color: #16a997;
    display: block;
    text-align: center;
    margin-top: 10px;
}
.card__title{
	text-align:center;
	font-family: 'iranyekan' !important;
    font-weight: 700 !important;
}
.lginform i{
	position: relative;
    text-align: right;
    top: 8px;
    right: 15px;
    font-size: 18px;
	color:#16a997;
}
.registerform{
	    margin-top: 35px;
		    direction: rtl;
}
.registerform i{
	left: -18px;
}
.registerform .lginform i{
    position: relative;
    float: right;
    top: 30px;
    left: -11px;
    font-size: 18px;	
}
.registerbottom{
    margin-top: 30px;	
}
#username input,#password input{
	padding-right: 20px;
	font-family: 'iranyekan';
}
#signin_link{
	font-family: 'iranyekan' !important;	
}
.loginfooter button,.loginfooter a{
		font-family: 'iranyekan' !important;
}
.toast__message{
	text-align:right;
	direction:rtl;
  font-family: 'iranyekan' !important;	
}
.button--large--cta{
	border-radius:20px;
	background-color:var(--color1);
}
.registerform input{
    text-align: right;
    direction: rtl;
	padding-right: 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'iranyekan' !important;	
}
.dark .registerform input{
	color: var(--gray);
}
.rules_link {
padding-right: 15px;
    margin-top: 11px;
}
.rules_link a{
	text-decoration:none;
	color:#000;
	font-family: 'iranyekan' !important;
}
.button--large--cta.orange{
    border-radius: 20px;
    background-color: var(--color1);
}
.policy{
	text-align:justify;
	font-family:'iranyekan';
	height: 500px;
    overflow: scroll;
	font-size: 12px;
	direction: rtl;
}


/********************Dark Theme **********************/
.dark .mainbody{
	background-color:var(--white-background);
}
.dark .bg-gold{
    background: var(--dark-background);	
}
.dark .page__content h2{
	    color: var(--text-primary);
}
.dark .button--large--cta{
	background-color: #fcd434;
	color:#442700;
	border-radius:7px;
}
.dark .loginfooter a{
   color:var(--dark-primary);
}
.dark .lginform i{
	color:var(--dark-primary);
}
.dark .toplogin a{
	color:var(--dark-primary);
}
.dark .rules_link a{
color:var(--dark-primary);	
}
.dark .lginform .text-input--underbar:focus{
  border-bottom: 1px solid #fcd434;
}
.dark #username input, #password input {
    color: var(--gray);
}
.input_header{
		font-family:'iranyekan';
}
ons-toast{
	z-index: 39917 !important;
}

#register_message{
text-align: center;
    font-family: 'iranyekan';
    color: #2b2c6a;
    font-weight: 600;	
}