@import url(//fonts.googleapis.com/earlyaccess/notosanskufiarabic.css);

#challenge_blocks{  
	text-align: center;
}
.main_title{ 
	margin-top: 80px;
	margin-bottom: 30px;
	display: block;
}
.main_title img{
	height: 120px;
}
.main_desc{
	font-size:15pt; 
	display: block;
	margin-bottom: 30px;
}
.challenge_row{ 
	margin: 3%;
	display: inline-block;
 	width: 27%;
	height: 500px;
	background: #fff;
	box-shadow: 0px 0px 10px #ccbec9;
	vertical-align: top;
	text-align: center;
	position: relative;
}
.challenge_row img{
	width: 50%; 
    margin: 0px auto;
    border-radius: 5px;
    display: block;
	margin-top: 50px;
}

.challenge_row b{
	font-size: 15pt;
    margin: 0px auto;  
    display: inline-block;
	text-align: center;
	margin-top: 20px;
	padding: 5px 20px;
	color: #472047;   
	font-family: 'Noto Sans Kufi Arabic', sans-serif;

}
.challenge_row #bottom{ 
	position: absolute;
    display: block;
    bottom: 5px;
    left: 0px;
    right: 0px;
}
.challenge_row #bottom a{
    display: inline-block;
    width: 42%;
    margin: 2%; 
    border-radius: 10px;
    font-size: 14pt; 
    padding: 7px;
    text-decoration: none;
	cursor: pointer;
}
 
.info{
	text-align: right;
	font-size: 15pt;
	line-height: 27px;
}
.info b{
	margin-top: 20px;
	margin-bottom: 10px;
	display: block;
	font-size: 19pt;
}

.challenge_row:nth-child(2) #bottom a{
	background: #ceefff;
	color: #3f7a96;
}

.challenge_row:nth-child(3) #bottom a{
	background: #ceffd7;
	color: #2a7538;
}
.challenge_row:nth-child(4) #bottom a{
	background: #f2cdff;
	color: #59276a;
}
.challenge_row:nth-child(5) #bottom a{
	background: #ffeccb;
	color: #6d552c;
}
.challenge_row:nth-child(6) #bottom a{
	background: #ffcecf;
	color: #7a2d2f;
}


.challenge_row span{
	font-size: 16pt;
	line-height: 22pt;
    margin: 0px 10px;  
    display: block;
	text-align: center;
	margin-top: 20px; 
	
}
.falid{
	background: red;
}
.a2a_default_style{
	float: none;
	width: auto; 
}
 
#challenge_result{
	width: 96%; 
    padding: 15px 30px;
    display: inline-block;
    font-size: 17pt; 
	text-align: center;
	background: #e7e5ff;
    border-radius: 5px;
    margin: 5px 2%;
    border: 1px solid #dfdfdf;
}
#challenge_result a{
	display: inline-block;
	color: #652557;
	margin-left: 50px;
	border-radius: 9px;
	border: 1px solid #652557;
	padding: 2px 20px;
	text-decoration: none;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}
#challenge_result a:hover{
	background: #652557;
	color: #fff;
}
#challenge_try{ 
	text-align: center; 
    font-size: 17pt;
    color: #2b3fa2; 
    margin: 10px 2%; 
	display: inline-block;
}
#challenge_items{
	padding: 20px;
	background: #f4f3f5;
}
#challenge_items .item{
	background: #fff;
    border: 1px solid #d3c2d8;
    border-bottom: 4px solid #d3c2d8;
	margin: 20px;
	padding: 15px;
	border-radius: 15px;
}
#challenge_items .title{
	text-align: right;
	font-size: 25pt;
}
#challenge_items .ask{ 
	background: #fbeddf;
	padding: 5px;
}
#challenge_items .description{
	text-align: right; 
	margin-bottom: 40px;
}
#challenge_items .item .row{
	margin-right: 0px;
	margin-left: 0px;
	font-size: 15pt;
}
#challenge_items .item .challenge_id{
	display: inline;
	background: #ebeaec;
	border-radius: 5px;
	padding: 0px 10px;
	font-size: 14pt;
}
#challenge_submit{
	text-align: center;
	border:none;
	border-radius: 5px;
	background: #00656f;
	padding: 2px 20px;
	color: #fff;
	width: 250px;
	cursor: pointer;
}
#challenge_true{
	background: #eefbdb;
	border: 1px solid #c5e49a;
	border-radius: 5px;
	margin: 2px 0px;
}
#challenge_false{
	background: #fbdbdb;
	border: 1px solid #e49a9a;
	border-radius: 5px;
	margin: 2px 0px;
}

.challenge_point{
	float: left;
	font-size: 14pt;
}
.challenge_failed{
	color: #a04949;
}
.challenge_correct_text{
	float: left;
	margin-left: 15px;
    font-size: 13pt;
}
.challenge_in_correct_text{
	float: left;
	margin-left: 15px;
    font-size: 13pt;
}
.error{
	color:red;
	text-align: center;
	margin-bottom: 10px;
}
.checkbox-custom {
	display: none;
}

.checkbox-custom-label {
	display: inline-block;
	position: relative;
	direction: rtl;
	vertical-align: middle;
	margin: 3px;
	cursor: pointer;
	font-weight: normal;
}

.checkbox-custom + .checkbox-custom-label:before {
	content: '';
	background: #fff;
	border-radius: 5px;
	border: 2px solid #baa0c1;
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	padding: 2px;
	margin-left: 10px;
}

.checkbox-custom:checked + .checkbox-custom-label:after {
	content: "";
	padding: 3px;
	position: absolute;
	width: 1px;
	height: 13px;
    border: solid #29905c;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    top: 9px;
    right: 6px; 
}


@media screen and (max-width: 680px) {
	
	#challenge_blocks{ 
		display: block;  
		text-align: center;
		padding-bottom: 20px;
	}
	.challenge_row{ 
		padding-top:1px;
		margin: 4% auto;  
		width: 80%;
		height: 450px;
		display: block;
		margin-top: 10px;
	}
	#challenge_items{
		padding:20px 4px;
	}
	#challenge_items .item{
		padding: 5px;
	}
	#challenge_items .item .row {
		font-size: 13pt;
	}
	#challenge_items .item .challenge_id{
		font-size: 12pt;
	}
	.challenge_correct_text , .challenge_in_correct_text{
		display: none;
	}
	
	.challenge_point{
		font-size: 12pt; 
		color:#0b6068;
		margin-left: 5px;
	}
	
	.main_title img{
		width: 90%;
		height: auto;
	}
	
}