/**--------------------------------------
 * @package     ruxin_categories - Ruxin Categories
 * @copyright   Copyright (C) 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later.
 * ---------------------------------------**/
.ruxin_categories {
    margin: 0 -1px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	text-decoration: none;
	transition: all 0.5s ease;
}

.ruxin_categories *, ::after, ::before {
    box-sizing: border-box;
}

.ruxin_categories a, .news_module_title a {
	text-decoration: none;
}

.ruxin_categories img {
	max-width: 100%;
}

.ruxin-categories-col-1, .ruxin-categories-col-2, .ruxin-categories-col-3, .ruxin-categories-col-4, .ruxin-categories-col-5, .ruxin-categories-col-6, .ruxin-categories-col-7, .ruxin-categories-col-8 {
    float: left;
    padding: 3px;
}

.ruxin_categories .box img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.ruxin_categories .link_on_image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 9;
}

.ruxin_categories .news-item:hover .news_hover_effect_on img {
	opacity: 0.6;
	transform: scale3d(1, 1, 1);
}

.item_description.news_normal {
	display: table;
}

.ruxin_categories .float_none {
	margin: 0 auto;
	width: 100%;
}

.categories-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.categories-leading, .categories-intro, .categories-link {
    float: left;
}

.ruxin-categories-col-1 {
    width: 100%;
}

.ruxin-categories-col-2 {
    width: 50%;
}

.ruxin-categories-col-3 {
    width: 33.33333333%;
}

.ruxin-categories-col-4 {
    width: 25%;
}

.ruxin-categories-col-5 {
    width: 20%;
}

.ruxin-categories-col-6 {
    width: 16.66666666%;
}

.ruxin-categories-col-7 {
    width: 14.285%;
}

.ruxin-categories-col-8 {
    width: 12.5%;
}

.ruxin_categories .news-item {
    position: relative;
}

.ruxin_categories .news_on_image {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 40px 15px 15px 15px;
	background: -webkit-linear-gradient(0deg,rgba(0,0,0,1),rgba(0,0,0,0) 100%,rgba(0,0,0,0));
	background: linear-gradient(0deg,rgba(0,0,0,1),rgba(0,0,0,0) 100%,rgba(0,0,0,0));
}

.ruxin_categories .news_on_image > *, .ruxin_categories .news_on_image a, .ruxin_categories .news_on_image p {
    color: #fff;
    margin: 0;
    padding: 0;
	line-height: 120%;
}

.ruxin_categories .leading_categories_image.float_left, .ruxin_categories .intro_categories_image.float_left, .ruxin_categories .link_categories_image.float_left {
    float: left;
    margin-right: 10px;
}

.ruxin_categories .leading_categories_image.float_right, .ruxin_categories .intro_categories_image.float_right, .ruxin_categories .link_categories_image.float_right {
    float: right;
    margin-left: 10px;
}

.ruxin_categories .lead_category a, .ruxin_categories .intro_category a, .ruxin_categories .link_category a {
	font-size: 11px;
	color: #fff;
	background: #f30000;
	padding: 1px 4px;
	display: inline-block;
}

.ruxin_categories .lead_title, .ruxin_categories .intro_title, .ruxin_categories .link_title {
	font-size: 15px;
	margin: 0;
	padding: 0;
	color: #fff;
	display: block;
	line-height: 125%;
	text-transform: uppercase;
}

.ruxin_categories .lead_title:hover, .ruxin_categories .intro_title:hover, .ruxin_categories .link_title:hover {
	color: #fff;
	transition: all 0.5s ease;
}

.ruxin_categories .lead_title:focus, .ruxin_categories .intro_title:focus, .ruxin_categories .link_title:focus {
	color: #fff;
}

.ruxin_categories .lead_introtext, .ruxin_categories .intro_introtext, .ruxin_categories .link_introtext {
	font-size: 13px;
	color: #fff;
	display: block;
	margin: 0;
	padding: 0;
}

.ruxin_categories .lead_date, .ruxin_categories .intro_date, .ruxin_categories .link_date, .ruxin_categories .lead_hits, .ruxin_categories .intro_hits, .ruxin_categories .link_hits, .ruxin_categories .lead_auhor, .ruxin_categories .intro_auhor, .ruxin_categories .link_auhor {
	color: #adb5bd;
	font-size: 10px;
	display: inline-block;
	margin: 0;
	padding: 0;
	padding-right: 5px;
}

.ruxin_categories .leading_categories_field, .ruxin_categories .intro_categories_field, .ruxin_categories .link_categories_field {
	font-size: 12px;
	display: block;
	margin: 8px 0 0 0;
	padding: 0;
	clear: both;
	line-height: 120%;
}

.ruxin_categories .news_normal .leading_categories_field, .ruxin_categories .news_normal .intro_categories_field, .ruxin_categories .news_normal .link_categories_field {
	color: #9ca4ac;
}

.ruxin_categories .news_on_image .lead_category, .ruxin_categories .news_on_image .intro_category, .ruxin_categories .news_on_image .link_category {
	display: table;
	position: relative;
	z-index: 10;
	margin-bottom: 3px;
}

.ruxin_categories .news_on_image .lead_category a, .ruxin_categories .news_on_image .intro_category a, .ruxin_categories .news_on_image .link_category a {
	color: #fafafa;
}

.ruxin_categories .lead_category_top, .ruxin_categories .intro_category_top, .ruxin_categories .link_category_top {
	position: absolute;
	background: #ec0000;
	padding: 2px 10px;
	font-size: 12px;
	z-index: 10;
	top: 5px;
	left: 5px;
}

.ruxin_categories .lead_category_top a, .ruxin_categories .intro_category_top a, .ruxin_categories .link_category_top a {
	color: #ffffff;
}

.ruxin_categories .lead_category_top::before, .ruxin_categories .intro_category_top::before, .ruxin_categories .link_category_top::before {
	border-top: 5px solid #ec0000;
    content: '';
    position: absolute;
    left: 0;
    z-index: 0;
    bottom: -5px;
    border-right: 5px solid transparent;
}

.ruxin_categories .lead_hits, .ruxin_categories .intro_hits, .ruxin_categories .link_hits, .ruxin_categories .lead_auhor, .ruxin_categories .intro_auhor, .ruxin_categories .link_auhor {
	font-size: 10px;
	display: inline-block;
	margin-right: 5px;
}

.ruxin_categories .lead_category, .ruxin_categories .intro_category, .ruxin_categories .link_category {
	display: block;
}

.ruxin_categories .news_hover_effect_on {
	position: relative;
	background: #000;
	overflow: hidden;
}
.ruxin_categories .news_hover_effect_on img {
	width: 100%;
	height: auto;
	transform: scale3d(1.05, 1.05, 1);
	transition: all 0.35s ease 0s;
}
.ruxin_categories .news_hover_effect_on:hover img {
	opacity: 0.6;
	transform: scale3d(1, 1, 1);
}

.ruxin_categories .news_hover_effect_off img {
	width: 100%;
}

.ruxin_categories .news_on_image {
	max-height: 100%;
	overflow: hidden;
}

.ruxin_categories .leading_categories_image, .ruxin_categories .intro_categories_image, .ruxin_categories .link_categories_image {
	object-fit: cover;
	width: 100%;
}

.ruxin_categories .lead_date_icon, .ruxin_categories .lead_hits_icon, .ruxin_categories .lead_author_icon, .ruxin_categories .intro_date_icon, .ruxin_categories .intro_hits_icon, .ruxin_categories .intro_author_icon, .ruxin_categories .link_date_icon, .ruxin_categories .link_hits_icon, .ruxin_categories .link_author_icon {
	display: inline !important;
	padding: 0 0 2px 0;
	margin: 0;
	position: relative;
	width: 12px !important;
	height: auto;
	vertical-align: middle;
}

.ruxin-categories-slider.owl-theme .owl-nav {
    margin-top: 0 !important;
    position: absolute;
    top: calc(50% - 117px);
    width: 100%;
    height: 0;
}

.ruxin-categories-slider.owl-theme .owl-dots {
    position: relative;
    margin: 0 auto;
    display: table;
    margin-top: -20px;
    background: #fff;
    line-height: 0;
    padding: 10px;
    border-radius: 50px;
	box-shadow: none;
	border: 1px solid #F0F0F0;
}

.ruxin-categories-slider.owl-theme .owl-dots .owl-dot span {
    width: 15px !important;
    height: 15px !important;
    margin: 5px 10px !important;
    background: #ececec;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
}

.ruxin-categories-slider .owl-prev {
	float: left;
	font-size: 120px !important;
}

.ruxin-categories-slider .owl-next {
	float: right;
	font-size: 120px !important;
}

.ruxin-categories-slider .owl-prev:hover, .ruxin-categories-slider .owl-next:hover {
	background: none !important;
}

.ruxin-categories-slider .owl-prev:focus, .ruxin-categories-slider .owl-next:focus, .ruxin-categories-slider.owl-theme .owl-dots .owl-dot:focus {
	outline: none !important;
}

.ruxin_hidden {
	display: none;
}

.ruxin_load_more_section {
	margin: 10px auto;
	display: table;
	text-align: center;
}

.ruxin_load_more_section button {
	margin: 0 3px;
	padding: 6px 18px;
	line-height: 130%;
	width: auto;
	height: auto;
	border: 2px solid #000;
	border-radius: 0;
	color: #000;
	font-size: 14px;
	background: transparent;
	background-image: linear-gradient(#000, #000);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size .3s, color .3s;
	cursor: pointer;
}

.ruxin_load_more_section button:hover {
	color: #fff;
	border: 2px solid #000;
	background-size: 100% 100%;
}

.ruxin_load_more_section button:focus {
	outline: none !important;
}

.ruxin_no_more_articles {
	font-size: 14px;
	color: #8a8a8a;
}

.ruxin_loading_image {
	width: 60px;
	height: 60px;
	background: none;
	border: 0;
}

.ruxin_load_more_section button:disabled,
.ruxin_load_more_section button[disabled]{
	opacity: 0.15;
	cursor: no-drop;
}

@media (min-width: 769px) and (max-width: 992px) {
	.ruxin_categories .ruxin-categories-col-1 .lead_title, .ruxin_categories .ruxin-categories-col-1 .intro_title, .ruxin_categories .ruxin-categories-col-1 .link_title {
		font-size: 15px !important;
	}
	
	.ruxin_categories .ruxin-categories-col-2 .lead_title, .ruxin_categories .ruxin-categories-col-2 .intro_title, .ruxin_categories .ruxin-categories-col-2 .link_title,
	.ruxin_categories .ruxin-categories-col-3 .lead_title, .ruxin_categories .ruxin-categories-col-3 .intro_title, .ruxin_categories .ruxin-categories-col-3 .link_title,
	.ruxin_categories .ruxin-categories-col-4 .lead_title, .ruxin_categories .ruxin-categories-col-4 .intro_title, .ruxin_categories .ruxin-categories-col-4 .link_title {
		font-size: 14px !important;
	}
	
	.news_on_image .lead_category, .news_on_image .intro_category, .news_on_image .link_category, .lead_date, .intro_date, .link_date {
		/*display: none;*/
	}
}

@media (min-width: 768px) and (max-width: 992px) {
	.ruxin_categories .leading_categories_image.float_left, .ruxin_categories .intro_categories_image.float_left, .ruxin_categories .link_categories_image.float_left,
	.ruxin_categories .leading_categories_image.float_right, .ruxin_categories .intro_categories_image.float_right, .ruxin_categories .link_categories_image.float_right {
		
	}
}

@media (min-width: 577px) and (max-width: 768px) {
	.ruxin_categories .ruxin-categories-col-1 .lead_title, .ruxin_categories .ruxin-categories-col-1 .intro_title, .ruxin_categories .ruxin-categories-col-1 .link_title {
		font-size: 15px !important;
	}
	.ruxin_categories .ruxin-categories-col-2 .lead_title, .ruxin_categories .ruxin-categories-col-2 .intro_title, .ruxin_categories .ruxin-categories-col-2 .link_title,
	.ruxin_categories .ruxin-categories-col-3 .lead_title, .ruxin_categories .ruxin-categories-col-3 .intro_title, .ruxin_categories .ruxin-categories-col-3 .link_title,
	.ruxin_categories .ruxin-categories-col-4 .lead_title, .ruxin_categories .ruxin-categories-col-4 .intro_title, .ruxin_categories .ruxin-categories-col-4 .link_title {
		font-size: 14px !important;
	}
    .ruxin-categories-col-2, .ruxin-categories-col-3, .ruxin-categories-col-4, .ruxin-categories-col-5, .ruxin-categories-col-6, .ruxin-categories-col-7, .ruxin-categories-col-8 {
        width: 100%;
    }
    .ruxin_categories .categories-leading, .categories-intro, .ruxin_categories .categories-link {
        width: 100% !important;
    }	
}

@media (max-width: 576px) {
	.ruxin-categories-slider .lead_title {
		font-size: 24px !important;
	}
	
	.ruxin_categories .ruxin-categories-col-1 .lead_title, .ruxin_categories .ruxin-categories-col-1 .intro_title, .ruxin_categories .ruxin-categories-col-1 .link_title {
		font-size: 16px !important;
	}
	.ruxin_categories .ruxin-categories-col-2 .lead_title, .ruxin_categories .ruxin-categories-col-2 .intro_title, .ruxin_categories .ruxin-categories-col-2 .link_title,
	.ruxin_categories .ruxin-categories-col-3 .lead_title, .ruxin_categories .ruxin-categories-col-3 .intro_title, .ruxin_categories .ruxin-categories-col-3 .link_title,
	.ruxin_categories .ruxin-categories-col-4 .lead_title, .ruxin_categories .ruxin-categories-col-4 .intro_title, .ruxin_categories .ruxin-categories-col-4 .link_title{
		font-size: 15px !important;
	}
	
    .ruxin-categories-col-2, .ruxin-categories-col-3, .ruxin-categories-col-4, .ruxin-categories-col-5, .ruxin-categories-col-6, .ruxin-categories-col-7, .ruxin-categories-col-8 {
        width: 100%;
    }
    .ruxin_categories .categories-leading, .ruxin_categories .categories-intro, .ruxin_categories .categories-link {
        width: 100% !important;
    }

	.ruxin_categories .leading_categories_image.float_left, .ruxin_categories .intro_categories_image.float_left, .ruxin_categories .link_categories_image.float_left,
	.ruxin_categories .leading_categories_image.float_right, .ruxin_categories .intro_categories_image.float_right, .ruxin_categories .link_categories_image.float_right {
		float: none !important;
		margin-bottom: 5px;
	}
	.ruxin_categories .lead_introtext, .ruxin_categories .intro_introtext, .ruxin_categories .link_introtext {
		/*display: none;*/
	}
	
	.ruxin_categories .lead_category a, .ruxin_categories .intro_category a, .ruxin_categories .link_category a {
		margin-top: 4px;
	}
}

.ruxin_categories .item_box0{
	position: relative;
	overflow: hidden;
}

.ruxin_categories .item_box0 .category-box-content:before,
.ruxin_categories .item_box0 .category-box-content:after{
	width: 1px;
	height: 50%;
	transform: scaleY(0);
}
.ruxin_categories .item_box0 .category-box-content:after{
	left: auto;
	right: 15px;
	top: auto;
	bottom: 15px;
}

.ruxin_categories .item_box0 .category-inner-content{
	color: #fff;
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 40px 25px 25px 30px;
	background: -webkit-linear-gradient(0deg,rgba(0,0,0,1),rgba(0,0,0,0) 100%,rgba(0,0,0,0));
	background: linear-gradient(0deg,rgba(0,0,0,1),rgba(0,0,0,0) 100%,rgba(0,0,0,0));
}

.ruxin_categories .item_box1{
	background: linear-gradient(180deg, #e52d27 0%, #b31217 100%);
	position: relative;
	overflow: hidden;
}
.ruxin_categories .item_box1:before,
.ruxin_categories .item_box1:after,
.ruxin_categories .item_box1 .category-box-content:before,
.ruxin_categories .item_box1 .category-box-content:after{
	content: "";
	background: #fff;
	width: 50%;
	height: 1px;
	transform: scaleX(0);
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 1;
	transition: all 600ms ease;
}
.ruxin_categories .item_box1:after{
	top: auto;
	bottom: 15px;
	left: auto;
	right: 15px;
}
.ruxin_categories .item_box1 .category-box-content:before,
.ruxin_categories .item_box1 .category-box-content:after{
	width: 1px;
	height: 50%;
	transform: scaleY(0);
}
.ruxin_categories .item_box1 .category-box-content:after{
	left: auto;
	right: 15px;
	top: auto;
	bottom: 15px;
}
.ruxin_categories .item_box1:before,
.ruxin_categories .item_box1:after,
.ruxin_categories .item_box1 .category-box-content:before,
.ruxin_categories .item_box1 .category-box-content:after{
	transform: scale(1);
}
.ruxin_categories .item_box1 img{
	width: 100%;
	transform: scale3d(1.1, 1.1, 1);
	transition: all 0.8s linear;
	object-fit: cover;
}
.ruxin_categories .item_box1 img{
	opacity: 0.15;
}

.ruxin_categories .item_box1:hover img{
	opacity: 0.4;
	transform: scale(1.35);
}

.ruxin_categories .item_box1 .category-inner-content{
	color: #fff;
	text-align: center;
	width: 70%;
	opacity: 0;
	transform: translateX(-50%) translateY(-50%);
	position: absolute;
	top: 70%;
	left: 50%;
	transition: all 600ms ease;
}
.ruxin_categories .item_box1 .category-inner-content{
	opacity: 1;
	top: 50%;
}


.ruxin_categories .item_box2{
	background-color: #222;
	overflow: hidden;
	position: relative;
}
.ruxin_categories .item_box2:before,
.ruxin_categories .item_box2:after{
	content: '';
	background: #ff7b08;
	width: 10px;
	height: 90%;
	box-shadow: 15px 0 0 #ff7b08;
	transform: skewY(50deg);
	position: absolute;
	bottom: -100%;
	left: 5px;
	z-index: 1;
	transition: all 0.95s ease;
}
.ruxin_categories .item_box2:after{
	box-shadow: -15px 0 0 #ff7b08;
	left:auto;
	right: 5px;
	bottom: auto;
	top: -100%;
}
.ruxin_categories .item_box2:hover:before{ bottom: -10px; }
.ruxin_categories .item_box2:hover:after{ top: -10px; }
.ruxin_categories .item_box2 img{
	width: 100%;
	height: auto;
	transition: all 0.95s;
}

.ruxin_categories .item_box2 img{
	opacity: 0.3;
	filter: grayscale(0%);
}

.ruxin_categories .item_box2:hover img{
	opacity: 0.2;
	filter: grayscale(90%);
	transform: scale(1.25);
}

.ruxin_categories .item_box2 .category-box-content{
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	transform: translateX(-50%) translateY(-50%);
	position: absolute;
	top: 50%;
	left: 50%;
	transition: all 0.45s ease;
}



.ruxin_categories .item_box3{
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s;
}
.ruxin_categories .item_box3:before,
.ruxin_categories .item_box3:after{
	content: "";
	background: #000;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	opacity: 0;
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 1;
	transition: all 600ms ease;
}
.ruxin_categories .item_box3:after{
	background: none;
	height: 100%;
	width: 100%;
	border: 15px solid rgba(0, 0, 0, .5);
	-webkit-background-clip: padding-box; /* for Safari */
	background-clip: padding-box;
	opacity: 1;
	left: 0;
	top: 0;
	transition: all 600ms ease;
}
.ruxin_categories .item_box3:before{ opacity: 0.6; }
.ruxin_categories .item_box3 img{
	width: 100%;
	height: auto;
	transition: all 1.4s ease;
}
.ruxin_categories .item_box3:hover img{
	filter: grayscale(70%);
	transform: scale(1.25);
}
.ruxin_categories .item_box3 .category-box-content{
	color: #fff;
	width: 100%;
	padding: 0 30px;
	transform: translateY(-50%);
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
}





.ruxin_categories .item_box4{
	text-align: center;
	overflow: hidden;
	position: relative;
}
.ruxin_categories .item_box4 img{
	width: 100%;
	height: auto;
	transform: scale3d(1, 1, 1);
	transition: all 0.9s ease 0s;
}
.ruxin_categories .item_box4:hover img{ transform: scale3d(1.15, 1.15, 1); }
.ruxin_categories .item_box4 .category-box-content{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.7);
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	transition: all 0.9s ease 0s;
}
.ruxin_categories .item_box4 .category-box-content:before,
.ruxin_categories .item_box4 .category-box-content:after{
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	bottom: 5px;
	right: 5px;
	border: 1px solid #313131;
	opacity: 0;
	z-index: -1;
	transform: scale(1.2);
	transition: all 0.9s ease 0.2s;
}
.ruxin_categories .item_box4 .category-box-content:before{
	border-top: none;
	border-bottom: none;
	left: 15px;
	right: 15px;
}
.ruxin_categories .item_box4 .category-box-content:after{
	border-left: none;
	border-right: none;
	top: 15px;
	bottom: 15px;
}
.ruxin_categories .item_box4 .category-box-content:before,
.ruxin_categories .item_box4 .category-box-content:after{
	opacity: 1;
	transform: scale(1);
}

.ruxin_categories .item_box4 .item_description {
	padding: 0 35px;
}

.ruxin_categories .category_box_link_layer {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}



