*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html,body{
	height: 100%;
	font-family: 'IRANYekanFN2';
	background: #f7f7f7;
}
h1,h2,h3{
	font-family: 'IRANYekanFN2';
	padding:.6em 0 ; 
}    	
p{
}
.mainContent{
	min-height: 100%;  
	padding: 1em 0;
	position: relative;
}
.logInBox{ 
	position: relative;
	width: 60%;
	max-width: 60em;
	background: white; 
	box-shadow: 0 0 27px #d6d6d6;
	margin: 0 auto 1.5em auto;

}
.loginImage,.loginForm{
	display: inline-block; 
	vertical-align: middle;
	position: relative;
	height: 100%;
} 
.loginImage{
	position: relative;
	width: 60%; 
	background: #824aaf;  
	background: -moz-radial-gradient(circle, rgba(155,93,190,1) 0%, rgba(115,85,173,1) 100%);
	background: -webkit-radial-gradient(circle, rgba(155,93,190,1) 0%, rgba(115,85,173,1) 100%);
	background: radial-gradient(circle, rgba(155,93,190,1) 0%, rgba(115,85,173,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9b5dbe",endColorstr="#7355ad",GradientType=1);    		
	position: relative;
	min-height: 30em; 
}
.loginImage:before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url('https://s1.uupload.ir/files/mohamadt94/harfeto/qne3_3.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 0;
	    z-index: 0;
    opacity: 0.3;

}

.loginImage .social{
	position: absolute;
	left: 0;
	bottom: 0;
	color: white;
	padding: 0 0 1em;
	z-index: 2;
}
.loginImage .social i:hover{
	color: #9342c5;
}
.loginImage .social i{
	cursor: pointer;
	font-size: 1.2em;
	padding: 0 0 0 .5em ;
}
.loginImage .social a{
	color: inherit;
	text-decoration: none;
}
.otherChalenges a {
	display: inline-block;
	color: #7355af;
	text-align: right;
	white-space: nowrap;
	min-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
}
.loginImage .logo{
	position: absolute;
	top: 0;
	left: 0;
    width: 10em;

}
.loginImage .bgImg{
	display: none;
	width: auto;
	height: 30em;
	opacity: 0.2; 
	position: relative;
	left: -4em
}
.loginImage:after{
	content: '';
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	background: url(../img/bg.svg) transparent;
	width: 100px;
	background-size: 117% 104%;
	background-repeat: no-repeat;
	background-position: 5px -17px;
}
.loginForm{
	width: 30%;
	direction: rtl;
	font-size: .9em;
}
.loginForm > p{
	font-size: .93em;
	padding: .6em 0;
	text-align: justify;
}
.loginForm  p{
	position: relative;
	padding: 0rem;
}
.loginForm p .fa{
	position: absolute;
    right: 1rem;    
    color: #616161;
    top: 1rem;
}
.loginForm a {
	color: inherit;
}
input  {
	width: 100%;
	margin: .5rem 0;
	background: #e6e7e9;
	border: 0;
	padding: .3rem 3rem;
	border-radius: 2rem;
	color: #505050;
	outline: none;
	font-family: inherit;
	font-size: .9rem;
	text-align: center;
}
.loginBut{
	border: 0;
	background: #75003c;
	display: block;
	padding: .4em 3em;
	margin: .7em auto;
	color: white;
	border-radius: 2em;
	font-size: 1em;
	cursor: pointer;
	font-family: inherit;
	font-size: .9em;
	border: 2px solid transparent;

}
.loginButB{
	border: 2px solid #7355af;
	color: #7355af;
	background: transparent;

}
.loginBut:hover{
	border: 2px solid #7355af; 
	background: transparent;
	color: #7355af;
}
.loginButB:hover {
	border: 2px solid transparent;
	color: white;
	background: #7355af;

}

 .linkOfmessages .loginBut:hover{
	border: 2px solid white; 
	background: transparent;
	color: white;
}

.uName{
	font-weight: bold;
}
textarea{
	background: #efefef;
	border: 0;
	width: 100%;
	min-height: 8em;
	border-radius: 1em;
	margin: .6em 0;
	padding: .5em;
	outline: none;
	font-family: inherit;
	resize: vertical;
}


footer{
	text-align: center;
	font-size: 0.8em;
	padding: 1em;
}
footer a {
	color: #7355af;
}
.moreChalenges{
font-size: .9em;
    padding: 0 1em;
    display: inline-block;
    vertical-align: text-top; 
    border-radius: 2em;
    display: none;
}

.rf{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}
.rf img{
	vertical-align: middle;
	height: auto;
	width: 300px ;
	height: 100px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
	/*height: auto;*/
	overflow:hidden;	
}
.mainContent{ 
	padding: 1em 0 7em;
}
/*.scroller{
	overflow: hidden; 
}
.scroller:hover{
	overflow: auto; 
}*/


.linkOfmessages   .fa{
	position: absolute;
    right: 1rem;    
    color: #616161;
    top: 1rem;
}
.linkOfmessages{
	position: absolute;
	top: 22%;
	left: 50%;
	margin-left: -10em;
	width: 20em;
	/* background: white; */
	padding: 1em;
	text-align: right;
	color: white;
	font-size: .8em;
}
.linkOfmessages p {
	position: relative;
}

.messagesSection{
	text-align: right;
	position: absolute;
	right: -60%;
	top: 0;
	width: 60%;
	height: 93%;
	overflow: hidden;
}



table.messages {
    height: 21em;
    display: block;
    text-align: right;
    direction: rtl;
    margin: .5em 0;
    overflow: hidden;
    box-sizing: content-box;
    padding-left: 1em;
}
table.messages:hover {
	overflow: auto;

    padding-left: 0em;
}
table.messages tr{
	color: black;
	font-size: .9em;
	background: white;
	display:  block;
	width: 95%;
	padding: .6em;
	margin: 1.3em .3em;
	border-radius: 1em;
	box-shadow: 0 0 10px #d6d6d6;
	position: relative;
}
table.messages tr:before{
	content: '';
	display: inline-block;
	/*border: 5px solid transparent;*/
	border-right-color: #c5bdd2;
	position: absolute;
	/*left: -10px;*/
	bottom: 1em;
}


@media (max-width: 1200px) {
	.logInBox{ 
		width: 70%;
	} 
}
@media (max-width: 800px) {
	.logInBox{ 
		width: 85%;
	}	
	.rf{
		position: relative;
	}
	table.messages {
	    overflow: auto;
	}
	.regular .loginImage{
		width: 40%;
	}

	.regular .loginForm{ 
		width: 55%;
	}	

 
}
@media (max-width: 600px) {
	
	.logInBox{ 
		width: 90%;
	}
	.regular .loginImage{
		width: 40%;
	}

	.regular .loginForm{ 
		width: 55%;
	}
	table.messages {
	    overflow: auto;
    	padding-left: 0em;
	}
		.linkOfmessages { 
	    width: 16em;
	}
	.mainContent{ 
		padding: 0;
	}			
}
@media (max-width: 700px) {
	.mainContent{ 
		padding:  0;
	}	
	.otherChalenges a { 
		text-decoration: none;
		width: 100%;
	} 
	.logInBox{ 
		width: 100%;		
		margin: 0 auto 1.5em auto;
		box-shadow:  0 0 27px #adadad;
	}
	.messages .loginForm,
	.regular .loginForm{
		padding: 1.4em 1em 1em 1em;
		position: absolute;
		left: 0;
		top: 0;
		text-align: center; 
		color: white;
	}
	.messages .loginImage,.messages .loginForm,
	.regular .loginImage,.regular .loginForm{ 
		width: 100%;
	}
	.loginImage:after{
		display: none;
		background-size: 118% 101%;
		background-position: 20px -2px;
		
	}
	.loginForm p.text {
		padding: .6rem 0;
	}	
	.moreChalenges{ 
		display: inline-block;
	}
	p.otherChalenges {
		position: fixed;
		top: 20%;
		background: white;
		padding: 2em;
		left: 50%;
		margin-left: -40%;
		width: 80%;
		display: none;
	}	
	.rf{
		background: #8067b5;
	}	


	.loginBut:hover{
		border: 2px solid white; 
		background: transparent;
		color: white;
	}
	.loginButB{
		border: 2px solid white;
		color: white;
		background: transparent;

	}
	textarea{ 
		min-height: 6em;
	}
	table.messages {
		overflow: auto;
    	padding-left: 0em;
		height: auto;
	}

	table.messages tr{
		box-shadow: none;
	}

	table.messages tr:before{ 
		border-right-color: white; 
	}	
	.messagesSection{
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
		color: white;
		padding: 1em;
    	z-index: 2;
	}
	.linkOfmessages{
    	z-index: 2;
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 1em 1em 4em;

	}


}
@media (max-width: 300px) {

	.logInBox{ 
		width: 100%;
		margin: 0 auto 1.5em auto;
	}
}







.fa,
.fas {
  font-family: 'fontawesome';
  font-weight: 900; }
/*.fab {*/
  /*font-family: 'fontawesomeBrands';*/
  /*font-weight: 900; }*/


@font-face {
font-family: 'fontawesome';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("../fonts/fa-solid-900.eot");
src: url("../fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),
url("../fonts/fa-solid-900.woff2") format("woff2"),
url("../fonts/fa-solid-900.woff") format("woff"),
url("../fonts/fa-solid-900.ttf") format("truetype"),
url("../fonts/fa-solid-900.svg#fontawesome") format("svg");
}

/*@font-face {*/
/*font-family: 'fontawesomeBrands';*/
/*font-style: normal;*/
/*font-weight: 900;*/
/*font-display: auto;*/
/*src: url("../fonts/fa-brands-400.eot");*/
/*src: url("../fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"),*/
/*url("../fonts/fa-brands-400.woff2") format("woff2"),*/
/*url("../fonts/fa-brands-400.woff") format("woff"),*/
/*url("../fonts/fa-brands-400.ttf") format("truetype"),*/
/*url("../fonts/fa-brands-400.svg#fontawesome") format("svg");*/
/*}*/

/*@font-face {*/
/*font-family: 'Aviny2';*/
/*font-style: normal;*/
/*font-weight: 900;*/
/*font-display: auto;*/
/*src: url("../fonts/Aviny.eot");*/
/*src: url("../fonts/Aviny.eot?#iefix") format("embedded-opentype"),*/
/*url("../fonts/Aviny.woff2") format("woff2"),*/
/*url("../fonts/Aviny.woff") format("woff"),*/
/*url("../fonts/Aviny.ttf") format("truetype"),*/
/*url("../fonts/Aviny.svg#fontawesome") format("svg");*/
/*}*/
@font-face {
font-family: 'IRANYekanFN2';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("../fonts/IRANYekanFN.eot");
src: url("../fonts/IRANYekanFN.eot?#iefix") format("embedded-opentype"),
url("../fonts/IRANYekanFN.woff2") format("woff2"),
url("../fonts/IRANYekanFN.woff") format("woff"),
url("../fonts/IRANYekanFN.ttf") format("truetype"),
url("../fonts/IRANYekanFN.svg#fontawesome") format("svg");
}