@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{
	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{
	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 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;
}
form button:disabled{
	background: #c1d2ff;
}
.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{
	font-size: .85rem;
	font-weight: 500;
	text-align: center;
}
.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;
}
ul.reqhome{
    list-style: none;
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
    float: right;
}
ul.reqhome li{
	font-weight: 900;
	width: 33.333333%;
	display: inline-block;
	box-sizing: border-box;
	padding: 1rem 1rem;
}
ul.reqhome li div{
	background: #ebebeb;
	width: 4rem;
	height: 4rem;
	border-radius: 0.5rem;
	border: 0.1rem solid #dbdbdb;
	font-size: 2rem;
	margin: auto;
	text-align: center;
	line-height: 4rem;
	color: #727272;
	user-select: none;
}
ul.reqhome li.active div{
	background: #ffd400;
	border: 0.1rem solid #ff6a00;
	color: #b37d1c;
}
ul.reqhome li.true div{
	background: #a9ffa4;
	border: 0.1rem solid #4be542;
	color: #089300;
}
ul.reqhome li.false div{
	background: #ffb8b8;
	border: 0.1rem solid #ff0000;
	color: #b92626;
}
.rezsend{
	margin-top: 2rem;
	display: inline-block;
	width: 100%;
}
.homepage{
	display: table;
	margin: auto;
}
.border.home{
	display: inline-block;
	margin: 1rem;
	vertical-align: top;
	user-select: none;
}
.ready{
	font-size: 1.5rem;
	font-weight: 900;
	text-align: center;
	overflow: hidden;
	position: relative;
}
.ready .loading{
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	background: #ffffffa3;
	backdrop-filter: blur(2px);
	display: none;
	align-items: center;
    justify-content: center;
    color: #0043ff;
}
.ready .loading.active{
	display: flex;
}
.ready .timer{
	margin-bottom: 1rem;
	font-size: 2rem;
	color: #c90e0e;
}
.ready .q{
	font-size: .85rem;
	font-weight: 400;
	text-align: right;
	margin-bottom: 2rem;
}
.rad-label {
	display: flex;
	align-items: center;
	border-radius: 1rem;
	padding: 1rem;
	margin: 0.5rem 0;
	cursor: pointer;
}
.rad-label:hover,
.rad-label:focus-within {
	background: hsla(0, 0%, 80%, .14);
}
.rad-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	opacity: 0;
	z-index: -1;
}
.rad-design {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 100%;
	background: #0043ff;
	position: relative;
}
.rad-design::before {
	content: '';
	display: inline-block;
	width: inherit;
	height: inherit;
	border-radius: inherit;
	background: hsl(0, 0%, 90%);
	transform: scale(1.1);
	transition: .3s;
}
.rad-input:checked+.rad-design::before {
	transform: scale(0);
}
.rad-text {
	margin-right: 1rem;
	font-size: 1rem;
	font-weight: 400;
	transition: .3s;
}
.rad-input:checked~.rad-text {
	color: hsl(0, 0%, 40%);
}
.treb{
    width: 1rem;
    height: 1rem;
}
.treb.null{
	background: #ababab;
}
.treb.true{
	background: #1cb509;
}
.treb.false{
	background: #e31e1e;
}
@media only screen and (max-width: 70em){
	.border{
		width: calc(100% - 2rem);
	}
	.border.login{
	    width: 100%;
	}
}

@media only screen and (max-width: 50em){
	html, body{
		background: #ffffff;
	}
	.border{
		border-radius: 0;
		box-shadow: none;
		margin: 0;
	}
}
