/* -------------------------------------------------------------------------
 * mod_jbusinesscategories_joblo
 *
 * All selectors below are namespaced with a "joblo-" prefix so this module is
 * fully self-contained: no other module's CSS can reach these elements, and
 * none of these rules can leak onto another module's markup.
 *
 * The only unprefixed classes still present in the markup are runtime hooks
 * that belong to third-party JS (slick-*, metismenu, collapse) or to the icon
 * font (la la-*). Those are always scoped under a joblo- ancestor here.
 * ---------------------------------------------------------------------- */

/* Base container. This keeps .jbd-container alongside it in the markup: JBD's
   global stylesheet scopes its icon-font rules (la la-*) and the markup of the
   component-rendered viewtypes under .jbd-container, so dropping it removes
   the category icons. .joblo-container is what this module's own rules target. */
.joblo-container {
	width: 100%;
	position: relative;
}

/* Reset scoped to this module's own elements only - deliberately NOT applied
   to all descendants, so JBD's component-rendered markup keeps its layout. */
[class^="joblo-"],
[class*=" joblo-"] {
	box-sizing: border-box;
}

/* Loading spinner (was .slider-loader / .loader) */
.joblo-slider-loader {
	text-align: center;
}

.joblo-view-all-items {
	text-align: center;
}

.joblo-categories-menu ul.joblo-main-categories {
	width: 100%;
}

/* List reset. JBD's global stylesheet used to suppress the native <li>
   markers via .jbd-container; that class is dropped once the SVG bullet
   replaces the icons, so the reset has to live here or the browser's own
   bullet shows up alongside ours. */
.joblo-main-categories,
.joblo-main-categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.joblo-main-categories li {
	list-style: none;
}

/* Keep submenus visually indented now that the inherited padding is gone. */
.joblo-main-categories ul {
	padding-inline-start: 1.25em;
}

.joblo-main-categories [class^="la la-"] {}

/* The submenu expand/collapse arrow is now inline SVG (.joblo-menu-arrow),
   generated in mod_jbusinesscategories_joblo.php with its size, colour and
   RTL direction driven by module params. The old Line Awesome glyph rules
   (la-menu-arrow, content: "\f110"/"\f111") are no longer needed. */

/* Slide Image */

.joblo-categories-slider .joblo-categories-slider-item .joblo-categories-slide-image {
	margin: 0 auto;
	width: 111px;
	height: 111px;
	border-radius: 50%;
	margin-bottom: 10px;
	border: 1px solid #dfdfdf;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/* Slide Title */

.joblo-categories-slider .joblo-categories-slider-item p {
	font-family: Joblo-bold, arial !important;
	line-height: 1.5;
	font-weight: inherit;
	max-width: 200px;
	margin: 20px auto 10px auto;
	padding: 8px 0px 12px 0px;
	text-align: center;
	text-transform: none;
}

.joblo-main-categories-simple {
	display: flex;
	text-align: center;
	width: 100%;
	-webkit-justify-content: center;
	justify-content: center;
}

.joblo-main-categories-simple a {
	background: rgba(0, 0, 0, 0.7);
	border-radius: 2px;
	color: #ffff;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-pack: end;
	font-size: 0.875rem;
	margin-right: 1px;
	max-width: 80px;
	padding: 15px 6px 14px;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex: 0 1 80px;
	-ms-flex: 0 1 80px;
	flex: 0 1 80px;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}

.joblo-main-categories-simple a:hover {
	background: rgba(0, 0, 0, 0.5);
}

.joblo-main-categories-simple a i {
	font-size: 27px;
}

.joblo-main-categories-simple a span {
	color: #ffffff;
	line-height: 14px;
}

.joblo-main-categories-simple .joblo-cta-text {
	display: none;
}

/*---------------slider 2 ----------------*/

.joblo-ctg-slider-wrapper .slick-list {
	padding-top: 3rem;
	width: 180%;
}

.joblo-ctg-slider-wrapper .slick-arrow {
	position: absolute;
	top: -2.2rem;
	cursor: pointer;
	width: 2.3rem;
	height: 2.3rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	border: 2px solid #000;
	border-radius: 0.5rem;
	z-index: 3;
}

.joblo-ctg-slider-wrapper .slick-slider .controller-prev i, .joblo-ctg-slider-wrapper .slick-slider .controller-next i {
	background: none;
	color:rgba(0, 0, 0, 0.8);
	display: inline-block;
	margin-top: 0px;
	position: relative;
	font-size: 20px;
	width: 35px;
	height: 35px;
	line-height: initial;
	padding: 7px;
}

.joblo-ctg-slider-wrapper .slick-slider .controller-prev i:hover, .joblo-ctg-slider-wrapper .slick-slider .controller-next i:hover {
    background: #000;
    color: #fff;
}

.joblo-ctg-slider-wrapper .controller-prev {
	right: 4.5rem;
}

.joblo-ctg-slider-wrapper .controller-next {
	right: 1.8rem;
}

.joblo-ctg-slider-wrapper .slick-slide{
	width: 19rem;
}

.joblo-ctg-slider-wrapper .joblo-ctg-slider-item {
	padding: 0 1rem;
	display: block;
	color: #1E2E42;
}

.joblo-ctg-slider-wrapper .joblo-ctg-slider-img-wrap {
	background-repeat: no-repeat; 
	background-position: center center; 
	-webkit-background-size: cover; 
	-moz-background-size: cover; 
	-o-background-size: cover; 
	background-size: cover;
	
	overflow: hidden;
	border-radius: 0.5rem;
	width: 100%;
	height: 20rem;
	position: relative;
	-webkit-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	top: 0;
}

.joblo-ctg-slider-wrapper .joblo-ctg-slider-img-wrap:hover {
	-webkit-box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.8);
	box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.8);
	top: -0.3rem;
}

.joblo-ctg-slider-wrapper .joblo-ctg-slider-img-wrap img{
	widht: 100%;
}

.joblo-ctg-slider-wrapper .joblo-ctg-slider-item-text {
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1rem;
    text-transform: capitalize;
    margin-top: 1rem;
}