.sppb-title-heading{
	.header-title{
		padding-bottom: 20px;
		border-bottom: 2px solid #dadada;
		position: relative;
		display: inline-block;
		
		strong{
			color: $link_color;
		}
		
		&::after{
			width: 70px;
			margin-left: -35px;
			position: absolute;
			width: 50px;
			left: 50%;
			border-bottom: 2px solid $link_color;
			bottom: -2px;
			clear: both;
			content: ' ';
			line-height: 0;
			display: table;
		}
	}
}
    

.jbd-cities,.jn-categories {
	.sppb-addon-single-image{
		
		overflow: hidden;
	
		h3{
			position: absolute;
			width: 100%;
			bottom: 0;
			background: linear-gradient(0deg, hsl(0, 0%, 0%) 0%, rgba(0, 0, 0, 0) 100%);
			padding: 30px 0 20px;
			margin: 0;
			border-bottom-left-radius: 8px;
			border-bottom-right-radius: 8px;
			font-size: 20px;
		}
		
		img{
			transition: transform .5s ease;
		}
		
		img:hover {
		  transform: scale(1.15); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
		}
	}
}
//categories
.jn-categories{
	.sppb-row{
		display: inherit;
		
		&::before{
			display: table;
			content: " ";
		}
		
		[class^="sppb-col"]{
			float: left;
		}
		
		&::after{
			display: table;
			content: " ";
			clear: both;
		}
		
		.sppb-addon-single-image-container{
			display: inherit;
		}
		
		.sppb-column-addons{
			margin-bottom: 30px;
			
			img{
				width: 100%;
			}
		}
		
	}
	
}

// home page articles
#sp-page-builder{

	.blog-list-item-inner{
		background-color: #fff;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		flex-wrap: wrap;
		position: relative;
		border: none;
		border-radius: 0.28rem;
	}

	.blog-list-container {
		display: inline-block;
		width: 100%;
	}
	.blog-list-container .item-text-holder {
		justify-content: flex-start;
		align-items: flex-start;
		flex: 1;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0.28rem;
		border-bottom-left-radius: 0.28rem;
		border: 1px solid rgba(0, 0, 0, 0.125);

		border-top: none;
		padding: 10px 20px;
		width: 100%;
		height: 100%;
		
		
	}
	
	.blog-list-container{
		.item-image-wrap{
			min-height: 240px;
			position: relative;
			z-index: 1;
			width: 100%;
			
			> a{
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				z-index: 2;
				cursor: pointer;
			}
			
			>img{
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: center;
				border-top-left-radius: 0.28rem;
				border-top-right-radius: 0.28rem;
			}
		}
	}
	
	
	.blog-list-container .item-intro {
		margin: 0;
		color: #7f7f7f;
	}
	.blog-list-container .item-info-section {
		margin: 22px 0 0;
		
		&.bottom{
			border-top: 1px solid #eaeaea;
			padding-top: 10px;
		}
	}

	.blog-list-container .item-title {
		margin: 0 0 18px;
		line-height: 22px;
		
	}
	.blog-list-container .item-title >a {
		color: #2b2b2b;
		font-size: 1.2rem;
	}

	.blog-list-container .item-info-section{
		display: flex;
		align-items: center;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: auto;
		width: 100%;
	}

	.blog-list-container .post-info-category {
		color: #7f7f7f;;
	}
	.blog-list-container .item-info-section > div:first-child {
		padding: 0 3px 0 0;
	}
	.blog-list-container .item-info-section span, .blog-list-container .item-info-section > div a {
		color: #7f7f7f;
	}
	.blog-list-container .item-info-section > .post-info-date {
		color: #000;
	}

	.btn, .widget_search input[type="text"] {
		box-sizing: border-box;
		font-family: Poppins,sans-serif;
		outline: 0 none;
		text-transform: uppercase;
	}

	.blog-list-container .item-image a {
		display: table;
		height: 100%;
		position: relative;
	}
	.blog-list-container  a.item-image-link::after {
		background-color: rgba(255, 255, 255, 0.2);
		content: "";
		height: 50%;
		left: 0;
		opacity: 0;
		position: absolute;
		top: 0;
		transition: opacity 0.6s ease 0s;
		width: 100%;
	}
	.blog-list-container a.item-image-link:hover::after {
		opacity: 1;
	}
	.blog-list-container .item-title a {
		transition: color 0.6s ease 0s;
	}

	.blog-list-container .item-image{
		background-position: center center;
		background-size: cover;
		padding-top: 60%;
		min-height: 145px;
	}

	.blog-list-container.masonry .blog-list-masonry-grid-gutter {
		width: 25px;
	}

	.sppb-section-title{
		
	}

	.sppb-section-title.sppb-text-center{
		.sppb-title-subheading {
			color: #646464;
			display: inline-block;
			max-width: 50%;
			line-height: 24px;
		}
	}
	
} 

//testimonials
#sp-page-builder{
	.sppb-testimonial-pro{
		.sppb-carousel-inner{
			margin: 0 auto;
			max-width: 770px;
		}
	
		.sppb-item{
			text-align: left;
			padding-top: 46px;
			z-index: 9;
		}
		
		.sppb-item-quote-icon{
			position: absolute;
			color: #f3f3f6;
			top: -40px;
			left: 50%;
			line-height: 1em;
			font-size: 160px;
			transform: translate(-50%,0);
			z-index: -1;
		}
		
		.sppb-testimonial-message{
			font-size: 15px;
			margin-bottom: 25px;
		}
		
		.pro-client-position, .pro-client-url{
			color: #9ea6ba;
		}
		
		.testimonial-controlls{
			padding: 20px 0 10px;
			
			.sppb-carousel-control{
				display: inline-block;
				background-color: #fff;
				box-shadow: 0 8px 25px 0 rgba(37,44,65,.1);
				text-align: center;
				cursor: pointer;
				z-index: 9999;
				margin: 5px;
				border-radius: 50%;
				width: 60px;
				height: 60px;
				line-height: 60px;
				position: absolute;
				bottom: 50%;
				border: none;
				
				i{
					font-size:30px;
					line-height:inherit;
				}
				
				&:hover{
					color: $link_color;
				}
			}
			
			@media (max-width: 992px) {
				.sppb-carousel-control{
					bottom: 0;
				}
			}
		
			.left{
				left:10px;
			}
			
			.right{
				right:10px;
			}
		}
	}
}

.jn-header{
	padding: 0 25px;
}

.jn-user-menu{
    float: right;
    margin-left: 35px;
    display: block;
    height: 70px;
    line-height: 70px;
	
	.user-area{
		float: left;
		text-align: right;
		font-size: 13px;
		color: $menu_text_color;
		
		i{
			font-size: 16px;
			color: $menu_text_color;
			padding-right: 7px;
		}
		
		a{
			text-decoration: none;
			color: $menu_text_color;
			-webkit-transition: opacity .2s ease-in-out;
			transition: opacity .2s ease-in-out;
			line-height: 24px;
			font-size: 14px;
			opacity: .7;
		}
		
		a:hover{
			opacity: 1;
		}
		
		span {
			margin-left: 4px;
			margin-right: 4px;
			font-size: 14px;
			opacity: .7;
		}
	}
	
	.jbd-view-cart{
		float: left;
		margin-left: 20px;
		a{
			color: #fff;		
		}
	}
	
	.jbd-button-container{
		position: relative;
		float: left;
		margin-left: 20px;
		
		
		.button-create{
			border: 1px solid #fff;
			padding: 7px 20px;
			border-radius: 5px;
			color: #fff;		
			
			&:hover{
				background: #fff;
				color: #333;
			}
			
			i{
				margin-right: 7px;
			}
		}
	}
	
}

@media (max-width: 768px) {

	.jn-user-menu{
		float: left;
		margin-left: 0px;
		display: inline;
		
		.jbd-mod-user{
			float: none;
			margin-left: 0px;
		}
	}

}

.jbd-user-menu .user-menu > li > a{
	color: $menu_text_color;
}

@media (max-width: 992px) {
	.jbd-mod-user .allow-registration{
		display: none;
	}
}



.article-list {
	.article{
		background: #fff;
	}
}

.article-details {
	background: #fff;
	padding: 25px;
	
	.article-full-image{
		text-align: left;
	}
}

.related-article-list-container{
	margin-top: 30px;
	background: #fff;
	padding: 25px;
	
	.related-article-title {
		font-size: 22px;
		padding-bottom: 15px;
		margin-bottom: 30px;
    }
}

.contact{
	background: #fff;
	padding: 25px;
}

.j-login-container{
	background: #fff;
	padding: 25px;
}

.j-registration-container{
	background: #fff;
	padding: 25px;
}


.offcanvas-menu {
    .offcanvas-inner {
        padding: 50px 30px 30px;
	}
}



.alert.alert-error {
	background-color: #E6C0C0;
	border-color: #DE7A7B;
	color: #D22B2B;
	h4 {
		color: #D22B2B;
	}
}

.alert.alert-warning {
	background-color: #E6C0C0;
	border-color: #DE7A7B;
	color: #D22B2B;
	h4 {
		color: #D22B2B;
	}
}

.alert.alert-notice {
	background-color: #efe7b8;
	border-color: #F0DC7E;
	color: #D22B2B;
	h4 {
		color: #D22B2B;
	}
}

.alert.alert-message {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
	h4 {
		color: #468847;
	}
}



 
@media (max-width: 576px) {
	.sppb-col-xs-6 {
		width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}
} 

#sp-feature, .feature-section{
	background: $link_color;

	#companies-search{
		padding: 30px 0;
	}
}


#sp-page-builder{
	.sppb-icon{
		span{
			background: $link_color;
		}
	}
} 

.pagination{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin-top:10px;
	
	.limit{
		display: flex;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: nowrap;
		margin: 10px 15px;
		
		.text{
			margin-right: 10px;
			white-space: nowrap;
		}
	}
	
	.pagination {
		margin: 0;
		text-align:center;
		display:flex;
		aling-items: center;
		border-radius:0;
		margin: 10px 15px;

		li {
			 display:inline-block;
			 margin:0 5px;
			 
			 
			.disabled a{
				background:0 0!important;
			}
			
			.page-link {
				 width:36px;
				 height:36px;
				 line-height:36px;
				 text-align:center;
				 font-size:14px;
				 font-weight:600;
				 padding:0;
				 border:0;
				 background:0 0;
				 border-radius:100px;
				 color:#000;
				 
				&:hover, &:focus{
					color:#000;
					background:0 0;
				}
			}
			
			&.disabled{
				.page-link {
					background:0 0;
					color:#d0d4d6;
				}
				
				.page-link:hover,
				.page-link:focus {
					background:0 0;
					color:#d0d4d6;
				}
				
			}
			
			&:hover:not(.disabled){
				.page-link {
					color: #fff;
					border-color:$link_color;;
					background-color:$link_color;;
				}
			}
			
			
			&.active{
				.page-link {
					color: #fff;
					border-color:$link_color;;
					background-color:$link_color;;
				}
				
				.page-link:hover,
				.page-link:focus {
					border-color:$link_color;;
					background-color:$link_color;;
				}
			}
			
			&:first-child{
				float:left;
				margin:0;
			}
			
			&:last-child {
				float:right;
				margin:0;
			}
		}
	}
}

#system-message-container {
	right: auto;
	left: 15px;
}

body:not(.com_sppagebuilder) #system-message-container {
	position: relative;
	top: auto;
	right: auto;
	z-index: 20;
	bottom: auto;
	width: 100%;
	max-width: none;
	display: flex;
	justify-content: center
}

#system-message-container {
  
	// for joomla4
	joomla-alert {
		display: block;
	  	font-size: 13px;
	  	background: #fff;
	  	margin: 0;
	  	background: #FFFFFF;
		/* alertShadow */
		box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px rgba(0, 0, 0, 0.08);
		border-radius: 10px;
		padding: 20px;
		margin-bottom: 20px;
		max-width: 600px;
		min-width: 350px;

		.joomla-alert--close{
			padding: 0rem 1rem;
			top: -.1rem;
			z-index: 200;
		}

		.alert-message{
			padding-left: 30px;
			position: relative;
			color: #212121;
		}

		.alert-message::before{
			font-family: $font_awesome_font_family;
			font-weight: 900;
			display: block;
			position: absolute;
			font-size: 28px;
			color:	#23b26b;
			left: -10px;
			top: -10px;
		}
	}
	
	joomla-alert[type="success"]{
		color: #212121;
		.alert-message::before{
			content: "\f058";
			color:	#23b26b;
		}
	}

	joomla-alert[type="warning"]{
		color: #212121;
		.alert-message::before{
			content: "\f06a";
			color:	#f49720;
		}
	}
	
	joomla-alert[type="danger"]{
		color: #212121;
		.alert-message::before{
			content: "\f06a";
			color:	#f12a;
		}
	}
	
	joomla-alert[type="info"]{
		color: #212121;
		.alert-message::before{
			content: "\f05a";
			color:	#20729c;
		}
	}
}

#sp-component{
	position: relative;
}