
:root {
    --main: #3FC2C2;
    --bg: #F1F1F1;
    --f1: Roboto;
    --f2: Raleway;
}

*{

}

.course-card{
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	border-bottom: 2px solid #3FC2C2;
	text-align: end;
}

body{
	padding: 0;
	margin: 0;
	background-color: var(--bg);
	font-family: var(--f1);
	overflow-x: hidden;
}


header{
	width: 100%;
	height: 100px;
	background-color: #fff;
}

.clear{
	clear: both;
}

.header{
	width: 75%;
	margin: 0 auto;
	
}

.header .logo{
	padding: 25px 0px;
	width: 20%;
	float: left;
}

.header .logo img{
	height: 45px;
}

.header .menu{
	float: right;
	width: 70%;
	padding: 25px 0px;
}

.header .menu ul{

}

.header .menu ul li{
	float: left;
	list-style: none;
	margin-left: 5px;
}
.header .menu ul li:first-child{
	margin-left: 0;
}


.header .menu ul li a{
	color:#000;
	font-family: var(--f2);;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	transition: width .3s;
	padding: 15px 20px;
}

.header .menu ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--main);
    transition: width .3s;
}

.header .menu ul li a:hover::after,.header .menu ul li .active::after {
    width: 100%;
}

.slider{
	width: 100%;
	background-color: #ffffff;
}
.slider .carousel,.carousel-item{
	height: 400px;
}
.slider .carousel .carousel-item img{
	height: 700px;
	width: 100%;
}
.cont{
	width: 75%;
	margin: 0 auto;
	padding-top: 100px;
}

.boxes{
	background-color: var(--bg);
	width: 100%;
	background-image: url(../../assets/img/frame.svg);
	background-repeat: no-repeat;
	background-size: 450px;
	background-position: right -225px top -225px;
}

.boxes .title{
	text-align: center;
	margin-bottom: 40px;
	text-transform: uppercase;

}


.boxes .content .part{
	width: 48%;
	display: inline-block;
	margin: 50px 15px 0;
	float: left;
}
.boxes .content .part:first-child{
	margin-left: 0px;
}

.boxes .content .part .title{
	text-align: center;
	margin: 10px auto;

}
.boxes .content .part img{
	position: absolute;
	width: 430px;
	height: 320px;
}

.boxes .title span{
	color: var(--main);
}
.boxes .box{
	float: left;
    width: 255px;
    height: 185px;
    margin: 0 15px 50px;
    background-color: #fff;
    transition: all 0.4s;
	display: inline-block;
	text-align: center;
	border-bottom: 2px solid var(--main);
}
.boxes .box:last-child, .boxes .box:nth-child(4) {
    margin-right: 0px;
}
.boxes .box a{
	color: #000;
	text-decoration: none;
	font-size: 15px;
}
.boxes .box:hover a{
	color: #fff;
}
.boxes .box:hover{
	color: #fff;
	background-color: var(--main);
}

.boxes .box .icon{
	width: 50%;
	margin: 50px auto;
}
/*.boxes .box:after{
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(0% 50%, 0% 100%, 100% 100%);
    width: 40px;
    height: 30px;
    background-color: var(--main);;
    content: '';
    display: block;
}*/
.boxes .box .icon i{
	font-size: 50px;
}

.boxes .box .icon h6{
	padding-top: 10px;
	text-transform: uppercase;
}

.quran {
    height: 55px;
    margin: auto;
    width: 60px;
    display: block;
    background-image: url(../../assets/img/quran.svg);
    background-repeat: no-repeat;
}
.boxes .box:hover .quran{
    height: 55px;
    margin: auto;
    width: 60px;
    display: block;
    background-image: url(../../assets/img/quran2.svg);
    background-repeat: no-repeat;
}

.video{
	width: 100%;
	height: 500px;
}
.video::before {
	font-family: IcoFont!important;
	speak: none;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	line-height: 1;
	-webkit-font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
	content: '';
	color: #fff;
	font-size: 100px;
	position: absolute;
	z-index: 2;
	margin: 194px auto;
	text-align: center;
	width: 100%;
	transition: all 0.4s;
}
.video:hover::before,.video.hide:hover::before{
	opacity: 1;
}

.video.hide:before {
	opacity: 0;
	content: '';
}
.video.hide::after{
	display: none;
}
.video::after {
	float:left;
	content:' ';
	width:100%;
	height:100%;
	background-color:var(--main);
	opacity:0.6;
}

.video iframe{
    position: absolute;
   width: 100% !important;
   height: 500px; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: 500px;
   min-width: 177.77vh;
}
.video video{
    position: absolute;
   width: 100% !important;
   height: 500px; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: 500px;
   min-width: 177.77vh;
   object-fit: fill;
}
/*	Start Blog	*/
.blog{
	display: inline-block;
	width: 100%
}
.blog .title{
	text-align: center;
	margin-bottom: 70px;
	text-transform: uppercase;

}
.blog .title span{
	color: var(--main);
}
.blog article{
	float: left;
	width: 260px;
	margin:0 15px;
	display: inline-block;
}
.blog article:last-child{
	margin:0px;
}
.blog article .top{

}
.blog article .top img{
	width: 100%;
	height: 230px;
}

.blog article .info{
	margin-top: 10px;
	
}

.blog article .info .left{
	float: left;
}

.blog article .info .right{
	float: right;
}
.blog article a{
	color: #000;
}
.blog article .info span{
	font-size: 13px;
}
.blog article .info i{
	font-size: 15px;
}

.blog article .des{
	display: inline-block;
	padding-top: 15px;
	width: 100%;
}

.blog article .des h5{
	font-family: var(--f2);
}
.blog article .des p{
	font-size: 13px;
}


/*	Start SocialMedia	*/
.socialmedia{
    margin: 100px 0px 0 !important;
	width: 100%;
	height: 150px;
	background-image: linear-gradient(to right, #01B9B1 , #5C7F8C);
}
.fb{
	background-image: linear-gradient(to right, #4267b2, #5C7F8C);
}
.socialmedia .cont{
	padding: 65px 0;
}
.socialmedia i{
	font-size: 35px;
	color: #fff;
	float: left;
	margin-right: 10px;
}


/*	News Ticker	*/
.ticker {
  text-align: left;
  position: relative;
  overflow: hidden;
  color:#fff;
}

.ticker ul {
  width: 100%;
  position: relative;
}

.ticker ul li {
  width: 100%;
  display: none;
  font-size: 18px;
  font-family: var(--f2);
}


/*	Start Event	*/
.event{
	display: inline-block;
}

.event .title{
	text-align: center;
	margin-bottom: 70px;
	text-transform: uppercase;

}
.event .title span{
	color: var(--main);
}
.event article{
	float: left;
	display: inline-block;
	width: 45%;
	margin-bottom: 20px
}
.event article:nth-child(2){
	width: 520px !important;
}
.event article:nth-child(2) .top img{
	height: 330px;
	width: 500px;
}


.event article:last-child{
	margin:0px;
}
.event article .top{
	float: left;
}
.event article .top img{
	height: 95px;
	width: 123px;
}

.event article:nth-child(2) .des{
	display: inline-block;
	padding-top: 15px;
	width: 100%;
}

.event article .des {
	display: inline-block;
    float: left !important;
    width: 350px !important;
    margin-left: 14px !important;
}
.event article .des a{
	color: #000;
}
.event article .des h5{
	font-family: var(--f2);
}
.event article .des p{
	font-size: 13px;
}


/*	Start Par	*/
.par{
	display: inline-block;
	width: 100%
}
.par .title{
	text-align: center;
	margin-bottom: 70px;
	text-transform: uppercase;

}
.par .title span{
	color: var(--main);
}

/*	Start Footer	*/

footer{
	/*display: none;*/
    background-color: #222222;
    color: #fff;
	height: 80px;
	text-align: center;
	padding: 25px;
	width: 100%;
	color: #fff;
	display: inline-block;

}

footer a,footer a:hover{
	color: var(--main);
}



.carousel-caption {
	position: absolute;
	top: 40%;
	right: 15%;
	bottom: 20px;
	left: 15%;
	z-index: 10;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
	text-align: center;
  }
