.square-list {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
}
.square-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
        padding: 8px 24px;
        margin: 30px 15px;
	margin-top: 0;
	box-shadow: 0px 2px 14px 1px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;

	-webkit-transform: perspective(2500px) rotateY(0);
	transform: perspective(2500px) rotateY(0);
	-webkit-transition-duration: .8s;
	-o-transition-duration: .8s;
	transition-duration: .8s;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function: ease;
}
.square-item span {
	display: inline-block;
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	color: #AA73E0;
	line-height: 36px;
	position: relative;
	z-index: 2;
}
.square-item:hover span {
	color: #fff;
}
.square-item::before {
	content: '';
	position: absolute;
	width: 124px;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	top: 0;
	left: 50%;
	margin-left: -75px;
	z-index: 2;
}
.square-item:after {
	content: '';
	position: absolute;
	z-index: 1;
	-webkit-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
	width: 100%;
	height: 0;
	top: 50%;
	left: 50%;
	opacity: 0;
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(-50deg);
	transform: translateX(-50%) translateY(-50%) rotate(-50deg);
}
.square-item::after {
	background-color: #422c74;
}

.square-item.active {
	background-color: #422c74;
}

.square-item.active span {
	color: white;
}

.square-item:hover:after {
	opacity: 1;
	height: 350%;
}
/**************************************************************************/
.single-blog-post {
    position: relative;
    z-index: 1;
    padding: 2.6rem;
    border-radius: 10px;
    box-shadow: 0 1rem 3rem #f5f3f3;
}
.mb-50 {
    margin-bottom: 50px !important;
}
.single-blog-post .blog-thumb {
    position: relative;
    z-index: 1;
}
.mb-30 {
    margin-bottom: 30px !important;
}
.single-blog-post .blog-thumb img {
    width: 100%;
}
.video-play-btn {
    position: absolute;
    width: 96px;
    height: 96px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    text-align: center;
    line-height: 96px;
    color: #ffffff;
    font-size: 30px;
    transition: all ease 0.5s;
}
.video-play-btn:hover{
    background: #422c74;
}
.video-play-btn.style2 {
    width: 58px;
    height: 58px;
    line-height: 58px;
    font-size: 18px;
    color: #FFF;
}
.single-blog-post .blog-content .post-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.single-blog-post .blog-content .post-meta p {
    color: #878787;
    margin-right: 15px;
    font-size: 11px;
    line-height: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
}
.single-blog-post.style2 .blog-content .post-meta p{
    font-size: 14px;
    padding-bottom: .6rem;
}
.single-blog-post.style2 .blog-content .post-meta p i{
    padding-right: .3rem;
}
.single-blog-post .blog-content .post-meta p:hover, .single-blog-post .blog-content .post-meta p:focus {
    color: #7e55b2;
}
/******************************************************************/
.row_flex {
    display: flex;
    flex-wrap: wrap;
}
.projects-thumbs{
    margin-bottom: 3rem;
}
.projects-thumb {
	background: #f9f9f9;
	border: 2px solid #ffffff;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	margin-bottom: 2rem;
	padding: 4rem;
	transition: all ease 0.5s;
}

.projects-thumb:hover {
	border-color: #422c74;
}
.projects-thumb:hover .projects-image,
.projects-thumb:focus .projects-image {
	transform: rotate(0) translateY(0);
}
.projects-thumb .popup-image {
	display: block;
	width: 100%;
	height: 100%;
}
.projects-image {
	border-radius: 20px;
	display: block;
	width: 100%;
	transition: all ease 0.5s;
}
.projects-title {
	margin-bottom: 16px;
	font-weight: bolder;
	font-size: 20px;
	line-height: 26px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.img-fluid {
	max-width: 100%;
	height: auto;
}
.paging-box{
   width: 100%;
}
.blog-grid-1 {
    transition: 0.3s ease-in;
    display: block;
    box-shadow: 0px 4px 24px rgb(179 179 179 / 16%);
    border-radius: 8px;
    margin-bottom: 2rem;
}
.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}
.course-details {
    position: relative;
    padding: 24px;
    border-radius: 0 0 8px 8px;
}
.course-meta{
    font-size: 14px;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.meta-item {
    margin-right: 20px;
    display: inline-block;
}
.meta-item span{
    color: #818181;
}
.course-details p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
    color: #8c8c8c;
}
a.course-desc {
    display: block;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #060606;
    transition: all 0.3s ease-in-out; 
}
a.course-desc:hover{
    color: #6f4ba3;
}
.btn-style {
    padding: 5px 20px 5px;
    font-size: 14px;
    color: #FFF !important;
    border-radius: 5px;
    font-weight: bold;
    outline: none;
    border: 2px solid #6f4ba3;
    background: #6f4ba3;
    transition: all 0.3s ease-in-out; 
}
.btn-style:hover {
    color: #6f4ba3!important;
    border-color: #6f4ba3;
    background: transparent;
}
@media (max-width: 767px) {
.activities-list-box{
    margin-top:2rem
}
.square-item{
    padding: 8px 10px;
}
.square-list{
    justify-content: space-around;
}
}