@charset "utf-8";

*{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	padding:0;
	margin:0;
}
@font-face {
  font-family: 'webfont';
	src: url('../fonts/webfont.woff') format('woff'),
		url('../fonts/webfont.ttf') format('truetype'),
		url('../fonts/webfont.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'font awesome';
  src: url('fonticon.eot');
  src: url('fonticon/fa.eot') format('embedded-opentype'), url('fonticon/fa.woff2') format('woff2'), url('fonticon/fa.woff') format('woff'), url('fonticon/fa.ttf') format('truetype'), url('fonticon/fa.svg') format('svg');
  font-weight: normal;
}
html,p,h1,h2,h3,h4,h5,h6,a,span,i{font-style:normal;}
body{
	direction:rtl;
	font-size:16px;
	font-family:'webfont';
	background:#f9f9f9;
}

::selection{
	background:#0C3C86;
	color:#f9f9f9;
}

.clear{clear:both;}

li{list-style:none;}
a{text-decoration:none}
input{font-family:webfont;}

#container {
	width:1100px;
	height:auto;
	margin:0 auto;
	padding:0;
	background:#f9f9f9;
}

/* ------- header design --------*/

/* ----- top menu ---- */
#header{
	width:100%;
	height:110px;
	margin:0 auto;
	background:#27a3f9;
	position:relative;
}

#header .menu{
	width:1100px;
	height:60px;
	margin:0 auto;
}

#header .menu-div{
	min-width:35%;
	max-width:65%;
	height:60px;
	float:right;
	margin-right:10px;
}
#header .topmenu{
	height:60px;
	float:right;
}
#header .topmenu{
	height:60px;
}
.topmenu li{
	display:inline-block;
	float:right;
	position:relative;
	line-height:60px;
	margin-left:10px;
}
.topmenu li > a{
	color:#fff;
	display:block;
	padding:0px 10px;
	background:transparent;
	transition:background 0.4s;
	-webkit-transition:background 0.4s;
	}
.topmenu li > a:hover {
		background:#f927a3;
	}
.search{
	width:20%;
	height:60px;
	float:left;
	padding: 10px;
}
.search form{position:relative;}
.search .srch-box{
	width:90%;
	height:40px;
	padding:5px 15px;
	border:none;
	color:#fff;
	background:#2a39d1;
	float:left;
	border-radius:5px;
	-webkit-border-radius:5px;
	transition:width .4s;
	-webkit-transition:width .4s;
}
.search .srch-box:focus{
	width:100%;
	}
.search .sub-srch{
	width:35px;
	height:40px;
	border:none;
	background:transparent;
	background-image: url('../images/search.png') !important;
	background-repeat: no-repeat;
	background-position: 0 5px;
	background-size: 30px;
	cursor: pointer;
	position: absolute;
	left: 10px;
	top: 0;
}
/* ----- main menu design ------ */
#header .mainmenu-div{
	width:100%;
	height:50px;
	margin:0 auto;
	background: #2a39d1;

}
.mainmenu-div .mainmenu{
	max-width:80%;
	height:50px;
	float:right;
	margin-right:10px;
}

.mainmenu-div .mainmenu .mainmenu-ul{
	height:50px;
}
.mainmenu-div .mainmenu .mainmenu-ul > li{
	list-style:none;
	display:inline-block;
	float:right;
	margin-left:10px;
	line-height:50px;
	position:relative;
}
 .mainmenu .mainmenu-ul > li > a{
	color:#fff;
	display:block;
	padding:0 10px;
	background:transparent;
	transition:background .4s;
}
.mainmenu .mainmenu-ul > li > a::after{
	content:'';
	width:0%;
	height:2px;
	position:absolute;
	right:0;
	bottom:0;
	background:#f927a3;
	transition:width .4s;
	
}
.mainmenu .mainmenu-ul > li >  a:hover:after{
	content:'';
	width:100%;
}
/* ------ logo section -------- */
.mainmenu-div .logo-div{
	width:11%;
	height:50px;
	float:left;
}
.logo-div .logo {
	width:100%;
	height:50px;
	margin:0 auto;
	position:relative;
}
.logo-div .logo .logo-img{
	width:100px;
	height:50px;
	display:block;
	margin:0 auto;
	background-image:url('../images/logo.png');
	background-size:100% 50px;
	background-repeat:no-repeat;
}
/* --------------- end header design ----------------*/

/* -------------- main container design -------------- */
#main{
	width:100%;
	height:auto;
	background:#f9f9f9;
	margin:20px auto 30px;
	float:right;
}


/* ----- related post section ----- */

#section-content{
	width:100%;
	float:right;
}

#container .related-section{
	width:100%;
	height:300px;
	margin: 10px auto;
	float:right;
}
.related-section .related-row{
	width:100%;
	height:300px;
	margin:0 auto;
}

.related-section .related-row .rel-col-1, .related-row .new-col-2{
	width:40%;
	height:300px;
	float:right;
	border-radius: 5px;
	margin-left:10px;
}
.rel-col-1 .rel-post-col, .new-post-col{
	width:100%;
	height:300px;
	overflow:hidden;
	border-radius: 5px;
	box-shadow: 0px 2px 7px -1px #a5a4a4;
}
.rel-col-1 .rel-post-col .rel-post-h, .new-post-col .new-post-h{
	width:100%;
	height:40px;
	background:#659aea;
	padding: 0 14px;
	display:block;
	position:relative;
}
.rel-post-col .rel-post-h h3, .new-post-h h3{
	font-size:18px;
	color:#fafafa;
}

.rel-post-h a .fa.fa-sign-in::before, .new-post-h a .fa.fa-sign-in::before {
    content: "\f090";
    font-family: font awesome;
    font-size: 35px;
    font-style: normal;
    transform: rotate(-180deg);
    position: absolute;
    left: 17px;
    bottom: -2px;
    color: #f1f1f1;
}

.rel-post-col .rel-post, .new-post-col .new-post{
	padding:5px;
	background:#fff;
	height:260px;
	overflow:hidden;
}
.rel-post > ul, .new-pos > ul{
	width:98%;
    margin: 0px;
    position: absolute;
    top: 0px;
    right: 4px;
}

.rel-post > ul > li, .new-pos > ul > li {
	border-bottom:1px dashed #ccc;
	padding:13px 10px;
	
}

.rel-post > ul > li > a, .new-pos > ul > li  > a{
	display:block;
	color:#689CEA;
	font-size:14px;
}
.rel-post a img, .new-pos a img {
	width:70px;
	height:60px;
	float:right;
	margin-left:10px;
	border-radius:0 5px 5px 0;
}
.rel-post p, .new-pos p{
	display:inline-block;
	font-size:14px;
}
.rel-post p:hover, .new-pos p:hover {
	color:#F22BA6;
}
.rel-post span, .new-pos span{
	font-size:11px;
}

/* -- post column 2 -- */

.new-post-col .new-post-h{
	background:#de5db8;
}

/* -- banner education column -- */
.related-row .banner-col{
	width:18.1%;
	height:300px;
	float:right;
}
.banner-col .b-row{
	width:100%;
	height:94px;
	display:block;
	border-radius:5px;
	box-shadow: 0px 2px 7px -1px #a5a4a4;
	overflow:hidden;
}
.banner-col .b-row img{
	width:100%;
	height:100%;
	border-radius:5px;
}
.banner-col .b-row-top, .b-row-center{
	margin-bottom:9px;
}

/* ----- end related post section ----- */

/* ------- article post ------- */
#article{
	width:700px;
	height:auto;
	margin:20px 0 30px 0;
	border-radius: 5px;
	float:right;
}

#article .post-artc{
	width:100%;
	height:auto;
	margin:0 0 15px;
	padding-bottom:10px;
	background:#fff;
	border-radius:5px;
	overflow:hidden;
	box-shadow: 0px 2px 7px -1px #a5a4a4;
}
.post-artc .post-title{
	background:#22bacc;
	padding:0 14px;
}
.post-artc .post-title h3{
	color:#f1f1f1;
	font-size:18px;
}

.post-artc .post-content{
	width:100%;
	height:auto;
	float:right;
}
.post-content .post-img{
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.post-content .post-img img{
	width:100%;
	height:100%;
}
.post-content .post-text{
	padding:5px 10px;
}
.post-content .post-text p{
	text-align:justify;
	color:#818181;
}

.post-content .post-footer{
	width:100%;
	height:auto;
	float:right;
}

.post-footer .post-details{
	width:auto;
	height:auto;
	float:right;
	margin:0 10px;
	overflow:hidden;
}
.post-footer .post-details a{
		color:#b4b4b4;
			line-height: 40px;
}
.post-footer .post-details a:hover{
	color:#555;
}
.post-footer .post-details .fa {
	font-family:font awesome;
	font-size:20px;
	float:right;
	margin-left: 15px;
}

.post-footer .post-details .fa-eye::before{
	content:'\f06e';
}
.post-footer .post-details .fa-comment::before{
	content:'\f075';
}
.post-footer .post-details .fa-calendar::before{
	content:'\f073';
}

#article .post-meta{
	width:100%;
	background:#fff;
	padding:10px;
	float:right;
	margin-top:10px;
	margin-bottom:10px;
	border-radius:5px;
	box-shadow: 0px 2px 7px -1px #a5a4a4;
}

.post-meta .meta{
	position:relative;
	float:right;
	margin-left:15px;
	border-radius:5px;
	overflow:hidden;
}

.post-meta .download{
	background:#06e4f0;
}
.post-meta .help{
	background:#5ef95a;
}
.post-meta .password{
	background:#f964b8;
}

.help-btn, .password-btn{cursor:default;}

.post-meta .btn-meta{
	display:block;
	padding:5px 20px;
	color:#fff;
	position:relative;
	z-index:1;
}

/* before after meta post bottun */
.post-meta .download::before{
	content:'';
	position:absolute;
	left: -20px;
	top: -29px;
	width: 0%;
	height: 87px;
	background: #0C3D86;
	transform: rotate(30deg);
	transition:width 0.3s;
}
.post-meta .download:hover:before{
	width:150%;
}

.post-meta .help::before{
	content:'';
	position:absolute;
	left: -20px;
	top: -29px;
	width: 0%;
	height: 87px;
	background: #29a225;
	transform: rotate(30deg);
	transition:width 0.3s;
}
.post-meta .help:hover:before{
	width:150%;
}

.post-meta .password::before{
	content:'';
	position:absolute;
	left: -20px;
	top: -29px;
	width: 0%;
	height: 90px;
	background: #a22586;
	transform: rotate(30deg);
	transition:width 0.4s;
}
.post-meta .password:hover:before{
	width:150%;
}


.post-meta .meta::after{
		content:'';
	position:absolute;
	left: -120%;
	top: -60px;
	width:80%;
	height: 150px;
	background: linear-gradient(to right, #fff0 0%,#fff 100%);
	transform: rotate(30deg);
}

.post-meta .meta:hover:after{
	left: 120%;
	transition: left 1s ease 0.1s;
}

/*------------ single related post -----------*/

#article .relate-post{
	width:100%;
	float:right;
	background:#fff;
	padding:10px;
	margin-top:20px;
	margin-bottom:20px;
	border-radius:5px;
	box-shadow: 0px 2px 7px -1px #a5a4a4;
}

.relate-post .relate-right, .relate-left{
	border-radius:5px;
	width:300px;
	height:180px;
	overflow:hidden;
}
.relate-post .relate-right{
	float:right;
}
.relate-post .relate-left{
	float:left;
}
.relate-post a img{
	width:100%;
	height:180px;
	border-radius:5px;
}
/*----------- end single related post -----------*/
/* ------- end article post ------- */

/* ------- sidebar -------- */
#sidebar-section{
    width: 360px;
    height: auto;
    padding:0;
    margin: 20px 0px;
    float: left;
	border-radius:5px;
}

.sidebar{
	width:100%;
	height:auto;
	padding:0 0 10px;
	margin:0 auto;
	float:right;
}
.sidebar .side-row{
	width:100%;
	height:auto;
	margin-bottom:30px;
	padding:0;
	background:#fff;
	box-shadow:0px 2px 7px -1px #a5a4a4;
	border-radius:5px;
	float:right;
	overflow:hidden;
}
.side-row .side-title{
	background:#0C3C86;
	padding:4px 14px;
}
.side-row .side-title h3{
	font-size:14px;
	color:#f1f1f1;
}
.side-row .side-content{
	margin:0;
	padding:10px 14px 0;
}
.side-content ul {
	margin:0 auto;
}
.side-content ul li{
	margin-bottom:10px;
	font-size:14px;
	background:#fbfbfb;
	line-height:36px;
	border-radius:5px;
	position:relative;
	overflow:hidden;
}
.side-content ul li::before{
	content:'';
	width:0%;
	height:100%;
	background:#65e1f5;
	position:absolute;
	top:0px;
	right:0%;
	transition:width .2s;
}
.side-content ul li:hover:before{
	content:'';
	color:#fff;
		position:absolute;
	top:0px;
	right:0;
	width:100%;
}
.side-content ul li a{
	display:block;
	padding:2px 5px;
	border-radius:5px;
	color:#818181;
	position:relative;
}
.side-content ul li:hover a{
	color:#fff;
}

/* -------------- end main container design -------------- */

/* ------ footer ---------- */
#footer{
	width:100%;
	margin:10px auto 0;
	border-top:7px solid #22BACC;
	clear:both;
	overflow:hidden;
	background-image:url('../images/footer.png');
	background-size:100% 190%;
	background-repeat:no-repeat;
}
#footer .footer-div{
	width:1100px;
	margin:0px auto;
	overflow:hidden;
}
.footer-div .fbox{
	width:31%;
	margin:30px 1.1%;
	padding:15px 7px;
	float:right;
	
}
.fbox .foo-title{
	padding:0 5px 5px 0;
	border-bottom:1px solid #ccc;
	margin-bottom:10px;
	position:relative;
}
.fbox .foo-title h4{
	color:#555;
	font-size:14px;
}
.fbox .foo-info{
	padding:3px 7px;
	font-size:13px;
	text-align:justify;
	color:#636363;
}
#footer .copyright{
	width:100%;
	float:right;
	padding:10px 20px;
	margin:0;
}
.copyright .text-copy{
	width:1000px;
	border-top:1px solid #ccc;
	margin:0 auto;
	padding: 15px 0px 5px;
}
.copyright p{
	font-size:14px;
	color:#636363;
	text-align:center;
}

/* ------ Responsive Codes ------ */

@media screen and (min-width:481px) and (max-width:767px) {
	#container{
		width: 100%;
	}
	
	#header{
		width: 100%;
		height: auto;
		margin: 0px auto;
		background: #27a3f9;
		float: right;
	}
	
		.topmenu{
		width:100%;
	}
	topmenu ul {
    width:100%;
	float:right;
	}
	.topmenu > ul > li{
		width:100%;
		display: block;
		text-align: center;
	}
	.search{
		width: 100%;
	display: block;
	margin: 10px 0px;
	float: left;
	padding: 0;
	height: auto;
	position: relative;
	}
	.search form {
    position: relative;
    width: 94%;
    margin: 0px auto;
	}
	.search .srch-box{
		width:100%;
	}

	
	#header .hmenu{
		width:100%;
	}
	#header .mainmenu-div{
		width:100%;
		height:auto;
		float: right;
	}
	.mainmenu-div .mainmenu{
		width: 100%;
	height: auto;
	margin: 0;
	float:none;
	}

.mainmenu-div .mainmenu .mainmenu-ul{
		width:125%;
	height:auto;
	float:right;
}	
.mainmenu-div .mainmenu .mainmenu-ul > ul {
	width:100%;
}
.mainmenu-div .mainmenu .mainmenu-ul > ul > li{
		width: 100%;
		height:auto;
		margin:0;
	background: #ccc;
	text-align: center;
	}
	
	.mainmenu-div .logo-div{
		width:100%;
		height:auto;
	}


	#main{
		width: 100%;
	}

		#main .slider-section{
			width: 94%;
height: 397px;
margin: 20px 21px 40px;
		}
		.slider-section .slider-top {
    width: 97%;
    height: 50%;
    float: right;
		}
	#container .related-section{
		float:none;
	}
	.related-section .related-row{
		    width: 97%;
    height: 300px;
    margin: 0 auto;
	}
	
	.related-section .related-row .rel-col-1, .related-row .new-col-2{
		width: 46.6%;
height: 300px;
margin-right: 10px;
	}
	
	.related-row .banner-col{
width: 97.2%;
margin: 10px 9px 0;
height: 42%;
	}
	
	.banner-col .b-row{
width: 32.6%;
display: inline-block;
margin-left: 0.55%;
height: 95%;
	}
	.banner-col .b-row img {
    width:100%;
	height:100%;
	}
	
	#section-content{
		    width: 93%;
    float: right;
    margin: 0px 21px;
	}
	#section-content #article{
		width: 100%;
	}
	#sidebar-section {
    width: 100% !important;
	}
	
	#footer {
    width: 100%;
	}
	
	#footer .footer-div {
    width: 93%;
	}
	.footer-div .fbox {
    width: 97%;
    margin: 0px 1.1%;
	padding: 10px 7px 0;
	}
	
	.footer-div .foo1{
    margin-bottom: 40px;
	}
	.foo-box2 , .foo-box3{
    width: 97%;
	}
	#footer .copyright {
    width: 100%;
	}
	.copyright .text-copy {
    width: 85%;
	}
	.copyright p {
    font-size: 12px;
	}
}

@media screen and (min-width: 300px) and (max-width: 480px){

	#container{
		width: 100%;
	}
	
	#header{
		width: 100%;
		height: auto;
		margin: 0px auto;
		background: #27a3f9;
		float: right;
	}
	#header .hmenu{
		width:100%;

	}

	#header .mainmenu-div{
		width:100%;
		height:auto;
		float: right;
	}
	.mainmenu-div .mainmenu{
		width: 100%;
	height: auto;
	margin: 0;
	float:none;
	}

.mainmenu-div .mainmenu .mainmenu-ul{
		width:125%;
	height:auto;
	float:right;
}	
.mainmenu-div .mainmenu .mainmenu-ul > ul {
	width:100%;
}
.mainmenu-div .mainmenu .mainmenu-ul > ul > li{
		width: 100%;
		height:auto;
		margin:0;
	background: #ccc;
	text-align: center;
	}
	
	.mainmenu-div .logo-div{
		width:100%;
		height:auto;
	}

	
	.topmenu{
		width:100%;
	}
	topmenu ul {
    width:100%;
	float:right;
	}
	.topmenu > ul > li{
		width:100%;
		display: block;
		text-align: center;
	}
	.search{
		width: 100%;
	display: block;
	margin: 10px 0px;
	float: left;
	padding: 0;
	height: auto;
	position: relative;
	}
	.search form {
    position: relative;
    width: 94%;
    margin: 0px auto;
	}
	.search .srch-box{
		width:100%;
	}


	#main{
		width: 100%;
	}

		#main .slider-section{
width: 97%;
height: 397px;
margin: 0px 5px 40px;
		}
		.slider-section .slider-top {
    width: 97%;
    height: 50%;
    float: right;
		}
	#container .related-section{
		float:none;
	}
	.related-section .related-row{
		    width: 97%;
    height: 300px;
    margin: 0 auto;
	}
	
	.related-section .related-row .rel-col-1, .related-row .new-col-2{
		width: 100%;
height: 300px;
margin-bottom:30px;
	}
	
	.related-row .banner-col{
		display:none;
		}
	
	.banner-col .b-row{
width: 32.6%;
display: inline-block;
margin-left: 0.55%;
height: 95%;
	}
	.banner-col .b-row img {
    width:100%;
	height:100%;
	}
	
	#section-content{
		    width: 97%;
    float: none;
    margin: 0px 5px;
	}
	#section-content #article{
		width: 100%;
	}
	#sidebar-section {
    width: 100% !important;
	}
	
	#footer {
    width: 100%;
	}
	
	#footer .footer-div {
    width: 93%;
	}
	.footer-div .fbox {
    width: 97%;
    margin: 0px 1.1%;
	padding: 10px 7px 0;
	}
	
	.footer-div .foo1{
    margin-bottom: 40px;
	}
	.foo-box2 , .foo-box3{
    width: 97%;
	}
	#footer .copyright {
    width: 100%;
	}
	.copyright .text-copy {
    width: 85%;
	}
	.copyright p {
    font-size: 12px;
	}
}