/* ------------------------------------------- */
/* КАРТОЧКА - КАТЕГОРИЯ С ИКОНКОЙ И ЗАГОЛОВКОМ */
/* ------------------------------------------- */

/* Добавить в начало ярлыка:

cat-icon-title-card-left-
cat-icon-title-card-center-
cat-icon-title-card-right-

*/

/* ----------------- */
/* БЫСТРЫЕ НАСТРОЙКИ */
/* ----------------- */

/* 1. Раскомментировать, чтобы отключить ТЕНЬ при наведении на карточку */

.folders-row .col-lg-3 > a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"]:hover {
	filter: none;
	-webkit-filter: none;
}

/* Убираем рамку - ТЕНЬ вокруг карточки */

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: none;
	/* временный фон карточки */
    /* background: aqua;  */
}

/* Убираем ОПИСАНИЕ */

.folders-row a[href*="wpm-category/cat-icon-title-card-"] > .folder-content {
	display: none;
}

/* Переносим карточку КАТЕГОРИЯ на новую строку */

.col-lg-3:has(a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"]) {
	display: block!important;
	width: 100%!important;
	z-index: 498!important;
}

/* ------------------------ */
/* Внешние отступы карточки */
/* ------------------------ */

.col-lg-3:has(a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"]) {
    margin-bottom: 60px;
	margin-top: 20px;
}

/* ВЫСОТА карточки на разных экранах */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
    height: 170px!important;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	height: 160px!important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	height: 147px!important;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	height: 125px!important;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	height: 89px!important;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"][class*="folder-wrap"] {
	height: 90px!important;
}
}

/* ------------------- */
/* ИЗОБРАЖЕНИЕ ОБЛОЖКИ */
/* ------------------- */

/* Убираем обрезку обложки */

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-front,
.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-sub-front {
	z-index: 10;
	width: 100%!important;
	border-radius: 0!important;
	clip-path: none!important;
	-webkit-clip-path: none!important;
	/* исправляем глюк с закруглением (для clip-path) для Сафари */
	transform: translateZ(0);
    will-change: transform;
	top: 0;
	background: none;
}

/* Убираем коррекцию обложки */
	
.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-front path[id*="shape-front"],
.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-sub-front path[id*="shape-front"] {
	transform: none;
}

/* Убираем коррекцию стилей от Mozilla Firefox */

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-front use[fill^="url"],
.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-sub-front use[fill^="url"] {
	transform: none;
}

/* --------------- */
/* ЭФФЕКТЫ ОБЛОЖКИ */
/* --------------- */

/* Тонировка обложки */
/* Берётся от классической карточки */

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-sub-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-"] .folder-front pattern image {
	/* эффекты */
	filter: none;
	-webkit-filter: none;
}

/* Осветление и Яркость - при наведении */
/* Берётся от классической карточки */

.folders-row a[href*="wpm-category/cat-icon-title-card-"]:hover .folder-sub-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-"]:hover .folder-front pattern image {
	/* эффекты */
	filter: none;
	-webkit-filter: none;
}

/* ----------------------------------------- */
/* Фоновая картинка ИКОНКА на разных экранах */
/* ----------------------------------------- */

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - СЛЕВА */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 87px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 81.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 69px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .folder-sub-front  pattern image

{
	transform: translate(0px, 70px);
    width: 41px;
    height: 41px;
}
}

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - ЦЕНТР */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(124px, 87px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 81.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(115px, 69px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .folder-sub-front  pattern image

{
	transform: translate(115px, 70px);
    width: 41px;
    height: 41px;
}
}

/* ---------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - СПРАВА */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(248px, 87px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(245px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(245px, 84.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(244px, 81.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(229px, 69px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .folder-sub-front  pattern image

{
	transform: translate(229px, 70px);
    width: 41px;
    height: 41px;
}
}

/* ----------------------------- */
/* Превращаем СТИКЕР в ЗАГОЛОВОК */

/* Общие настройки */

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
	background: none!important;
	border-radius: 0;
	font-weight: bold;
	font-size: 40px;
	width: 100%!important;
	max-width: none;
	text-transform: none;
	padding: 6px 10px;
	line-height: 1.9rem;
	overflow: visible;
}

/* ---------------------------- */
/* ВЫРАВНИВАНИЕ СТИКЕРА - СЛЕВА */

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"] .label {
    left: -11px;
    text-align: left;
}

/* ---------------------------- */
/* ВЫРАВНИВАНИЕ СТИКЕРА - ЦЕНТР */

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"] .label {
    left: 0px;
    text-align: center;
    right: 0;
    margin: 0 auto;
}

/* ----------------------------- */
/* ВЫРАВНИВАНИЕ СТИКЕРА - СПРАВА */

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"] .label {
    left: 11px;
    text-align: right;
}

/* Размер заголовка на мобильных */

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {   
	font-size: 25px;
	line-height: .9;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {   
	font-size: 25px;
	line-height: .9;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

/* ПОЛОЖЕНИЕ ЗАГОЛОВКА на разных экранах на Страницах и в Активации */

/* ----------------------------------- */
/* ВЫРАВНИВАНИЕ - СЛЕВА, ЦЕНТР, СПРАВА */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
	top: 138px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
	top: 129px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
	top: 116px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
    top: 95px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
	top: 62px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-"] .label {
    top: 65px;
}
}

/* -------------------------- */
/* ЛИНИИ ПО БОКАМ ОТ КАРТИНКИ */

/* Общие настройки */

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after,

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before,
.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after,

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after
 {
	content: "";
	display: block;
    position: relative;
    background: var(--color-line-cat-icon-title-card);
	border-radius: 10px;
	height: 10px;
	transform: scaleY(var(--scale-line-cat-icon-title-card)) rotateY(var(--width-line-cat-icon-title-card)) rotateZ(var(--rotate-line-cat-icon-title-card));
}

/* -------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - СЛЕВА */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 1195px;
    top: 65px;
    left: 145px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 995px;
    top: 60px;
	left: 145px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 815px;
    top: 55px;
	left: 125px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 620px;
    top: 45px;
    left: 100px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 265px;
    top: 25px;
    left: 75px;
}
}	

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-left-"]:after {
    width: 285px;
    top: 25px;
    left: 75px;
}
}

/* -------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - ЦЕНТР */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before{
    width: 580px;
    top: 65px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after {
    width: 580px;
    top: 55px;
    float: right;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before {
    width: 480px;
	top: 60px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after {
    width: 480px;
    top: 50px;
    float: right;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before {
    width: 390px;
    top: 55px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after{
    width: 390px;
    top: 45px;
    float: right;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before {
    width: 290px;
    top: 45px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after {
    width: 290px;
    top: 35px;
    float: right;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before {
    width: 120px;
    top: 25px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after {
    width: 120px;
    top: 15px;
    float: right;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:before {
    width: 130px;
    top: 25px;
}

.folders-row a[href*="wpm-category/cat-icon-title-card-center-"]:after {
    width: 130px;
    top: 15px;
    float: right;
}
}

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - СПРАВА */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after {
    width: 1195px;
    top: 65px;
    left: 0;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after {
    width: 995px;
    top: 60px;
    left: 0;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after {
    width: 815px;
    top: 55px;
    left: 0;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after {
    width: 620px;
    top: 45px;
    left: 0;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after{
    width: 265px;
    top: 25px;
    left: 0;
}
}	

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-card-right-"]:after {
    width: 285px;
    top: 25px;
    left: 0;
}
}