:root {
  --txt_color: #fff;
	--upcommingcolor:#eb0000;
	--secondary:#202122;
	--secondary-light:#666666;
	--white:#fff;
    --title-color:#202122;
	--bg-light:#FAFAFA;
	--transition:all 0.3s linear;
}

.mx-events5 .row{align-items: center;}
.mx-events5{border-top: 1px solid #e5e5e5; padding: 50px 0px;}
.mx-events5 .sx-portfolio-title{
	font-weight: 600;
	font-size: 24px;
	text-transform: capitalize;
	margin-bottom: 0px;
}
@media only screen and (max-width:1199px){
	.mx-events5 .sx-portfolio-title{
		font-size: 18px;
	}	
}
@media only screen and (max-width:767px){
	.mx-events5-wrap ul{display: flex; flex-wrap: wrap; margin:0px -12px 30px;}
	.mx-events5-wrap ul li{width: 50%;}
	.mx-events5 {
		border-top: 1px solid #e5e5e5;
		padding: 50px 12px;
	  }
}
@media only screen and (max-width:575px){
	.mx-events5-wrap ul{display: block; margin:0px 0px 30px;}
	.mx-events5-wrap ul li{width: 100%;}
	.mx-events5 {
		border-top: 1px solid #e5e5e5;
		padding: 50px 0px;
	  }
}
.mx-events5 .sx-portfolio-title:hover{color: var(--upcommingcolor);}

.mx-events5 .sx-portfolio-type{margin-bottom: 0px; text-transform: uppercase;}
.mx-events5 .sx-portfolio-type span{ text-transform: lowercase;}


.sx-onshow-block{position: relative; max-width: 370px;height: 0px;}
.sx-onshow-block .sx-onshow-media .sx-onshow-link{
	position: absolute;
	top: 60%;
	left: 50%;
	background-color: #fff;
	width: 70px;
	height: 70px;
	text-align: center;
	border-radius: 50%;
	transform: translate(-50% , -50%);
	font-size: 36px;
	z-index: 2;
	color: var(--upcommingcolor);
	transition:all 0.4s linear;
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sx-onshow-block:hover .sx-onshow-media .sx-onshow-link{
	opacity: 1;
	top: 50%;
}

.sx-onshow-media {
	position: absolute;
	right: 0%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	overflow: hidden;
	visibility: hidden;
	top: -180px;
}
.mx-events5:hover  .sx-onshow-block .sx-onshow-media {
    width: 100%;
	visibility: visible;
	top: -160px;
	z-index: 999;
	box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.4);
}
@media only screen and (max-width:991px){
	.mx-events5:hover  .sx-onshow-block .sx-onshow-media{
		top: -100px;
	}
}

@media only screen and (max-width:767px){
	.sx-onshow-block{ max-width: 320px; margin: 0px auto; height: auto;}
	.sx-onshow-block .sx-onshow-media{visibility: visible; position: inherit; top: auto; right: auto;}
	.sx-onshow-block .sx-onshow-media .sx-onshow-link{opacity: 0;}
	.mx-events5:hover  .sx-onshow-block .sx-onshow-media {top: auto;}
	.mx-events5 .sx-portfolio-btn.text-right{text-align: left;}
	.mx-events5 .sx-portfolio-btn.text-right .site-button{margin-bottom: 15px;}

	.mx-events5 .sx-portfolio-title,
	.mx-events5 .sx-portfolio-type{margin-bottom: 20px;}
}


.sx-img-overlay{position: relative; overflow: hidden;}
.sx-img-overlay:before,
.sx-img-overlay:after{
	content:"";
	background-color:var(--upcommingcolor);
	position:absolute; 
	left:0; 
	top:0; 
	width:0; 
	height:0;
	opacity:0.5; 
	z-index:1;
	-webkit-transition:all 0.3s linear;
	-moz-transition:all 0.3s linear;
	-ms-transition:all 0.3s linear;
	-o-transition:all 0.3s linear;
	transition:all 0.3s linear;
}

.sx-img-overlay:before,
.sx-img-overlay:after {
	height:100%;
}
.sx-img-overlay:after {
	left:auto;
	right:0;
}
.sx-img-overlay:hover:before,
.sx-img-overlay:hover:after,

.sx-overlay-effect:hover .sx-img-overlay:before,
.sx-overlay-effect:hover .sx-img-overlay:after { 
	width:100%;
	opacity:0.5;
}
.text-right {
  text-align: right;
}
.sx-portfolio-btn span {
	margin-right: 6px;
	padding: 5px 20px;
	line-height: 34px;
	background-color: var(--upcommingcolor);
	color: var(--white);
}
.site-button {
	background-color: var(--bg-light);
	color: var(--secondary-light);
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	text-transform: capitalize;
	color:var(--secondary-light);
	border-radius: 100px;
	padding: 12px 20px;
	display: inline-flex;
	align-items: center;
}

.site-button.icon i,
.site-button-secondry.icon i{
	margin-right: 6px;
}
.site-button:active,
.site-button:hover,
.site-button:focus,
.active>.site-button {
	background-color: var(--upcommingcolor);
	color: var(--white);
}

.site-button:hover {
	background-color: var(--upcommingcolor);
	color: var(--white);
	box-shadow: inset 0px 2px 4px 0 rgba(0, 0, 0, .1);
}
.site-button:hover.icon i {
	-webkit-animation: flip-vertical-right 0.4s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	animation: flip-vertical-right 0.4s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;

}

@media only screen and (max-width:767px){
	.event-s5{display: flex; flex-wrap: wrap; margin:0px -12px 30px;}
	.mx-events5{width: 50%;}
	.mx-events5 {
		border-top: 1px solid #e5e5e5;
		padding: 30px 12px;
	  }
}
@media only screen and (max-width:575px){
	.event-s5{display: block; margin:0px 0px 30px;}
	.mx-events5{width: 100%;}
	.mx-events5 {
		border-top: 1px solid #e5e5e5;
		padding: 30px 10px;
	  }
}