@import url(./yekanbakh.css);

html, body{
	background: #f7f7f7;
	margin: 0;
	padding: 0;
	font-family: 'YekanBakh', Calibri;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.rtl {
	direction: rtl;
	text-align: right;
}
.ltr {
	direction: ltr;
	text-align: left;
}
a{
	text-decoration: none;
}
img{
	border:0;
}
a{
	color: #0043ff;
	font-weight: 600;
}
form label{
	display: block;
	font-size: .85rem;
	margin: 0.5rem 0;
}
form.admin label{
	display: inline-block;
	width: 7rem;
	vertical-align: top;
}
form input,
form select{
	width: 100%;
	padding: 0.5rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	outline: none;
	border: 0.1rem solid #b7b7b7;
	margin: 0 0 0.5rem 0;
	font-family: 'YekanBakh', Calibri;
}
form.admin input,
form.admin select{
	width: 20rem;
	display: inline-block;
}
form.admin textarea{
	padding: 0.5rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	outline: none;
	border: 0.1rem solid rgb(183, 183, 183);
	margin: 0px 0px 0.5rem;
	font-family: tahoma;
	width: 20rem;
	resize: vertical;
	height: 14rem;
}
form.admin textarea.admin{
	height: 7rem;
}
form button{
	margin-top: 1rem;
	background: #0043ff;
	color: #ffffff;
	width: 100%;
	padding: 0.5rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	outline: none;
	border: none;
	cursor: pointer;
	font-family: 'YekanBakh', Calibri;
}
.error{
	background: #cd4d4d;
	padding: .5rem 1rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	font-size: .8rem;
	color: #ffffff;
	margin-bottom: 1rem;
}
.border{
	background: #fff;
	width: 30rem;
	padding: 1rem;
	box-sizing: border-box;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1rem #0000001f;
	margin: 1rem auto;
	min-width: 17rem;
}
.username h1,
.username h2{
	font-weight: 500;
	text-align: center;
}
.username h1{
	font-size: .85rem;
}
.username h2{
	font-size: .75rem;
}
.username img{
	margin: auto;
    display: block;
    width: 15rem;
}
.username b{
	text-align: center;
	display: block;
	color: #ed0707;
	font-size: .8rem;
}
.username #qrcode{
	margin: auto;
	display: table;
}
.username textarea{
    border: 1px solid #000;
    background-color: #FBFBFB;
    width: 15rem;
    padding: 0.5rem;
    box-sizing: border-box;
    display: block;
    margin: .5rem auto;
    height: 5rem;
    resize: none;
}
.username a{
	text-align: center;
    display: block;
    margin: .5rem 0;
}
.username a.logout{
	display: inline-block;
}
.application h2{
	font-size: .9rem;
}
.application h1{
	font-size: .8rem;
	font-weight: 600;
}
.application span{
	display: block;
	font-size: .8rem;
	margin: 0.25rem 1rem;
}
.line{
	border-bottom: 0.1rem dashed #d3d3d3;
    margin: 2rem 0;
}
.dandu{
	background: #e9f5ff;
	padding: 1rem;
	border-radius: 1rem;
}
.dandu h2{
	font-size: .9rem;
}
.dandu span{
	display: block;
	font-size: .8rem;
	margin: 0.25rem 1rem;
}
.dandu span.b{
	font-weight: 700;
	font-size: .95rem;
	padding-bottom: .5rem;
}
@media only screen and (max-width: 50em){
	html, body{
		background: #ffffff;
	}
	.border{
		width: 100%;
		border-radius: 0;
		box-shadow: none;
		margin: 0;
	}
}
