@CHARSET "ISO-8859-1";


/* MAIN PAGE STRUCTURE */

.main-categories {
	display:grid;
}

.structureIndicatorsMet {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
	justify-content: flex-start;
}

.unroll-all {
	float: right;
	cursor: pointer;
	margin: auto;
	margin-top: 20px;
}

.box {
	width: 50%;
	height: 100px;
	padding-top: 5px;
	margin-bottom: 10px;
	padding-right: 10px;
	box-sizing: border-box; /* se añaden hacia fuera los margenes*/
	display: flex;
	cursor: pointer;
}

.box:nth-child(even) {
	padding-right: 0px;
}

.block_left {
	display: flex;
}

.box_logo {
	background-color: var(--black-back-icons);
    width: 100px;
    height: 100px;
	position: relative;
}

.logo_img {
	position: absolute;
    top: 50px;
    left: 50px;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.separation {
	padding-left: 10px;
}

.block_right {
	width: 100%;
}

.header_box {
	padding: 10px 10px 10px 0px;
	border-top: 1px solid var(--black-back-icons); 
	height: 100px;
    text-align: left;
	cursor: pointer;
	font-size: 17px;
}

.subcat_box {
	display: none;
	background-color: var(--grey-principal);
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;	border-top: 1px solid var(--black-back-icons); 
}

.subcat_box ul {
	list-style-type: none; 
	padding: 0;
}
  
 .subcat_box ul li {
	text-align: left;
}
  
.subcat_box ul li a {
	font-weight: bold; 
	text-decoration: none; 
	color: #000;
	display: block;
	padding: 11px 10px;
}




@media  screen and (max-width: 1000px) {
	.box_logo {
		width: 100px;
	}
}

@media screen  and (max-width: 700px) {
	.structureIndicatorsMet {
		display: grid;
		justify-content: center;
	}
	.box {
		width: 100%;
	}
	.block_right {
		width: -webkit-fill-available;
	}
}



/* LIST INDICATORS */
/* LIST INDICATORS - INDEX*/

.ap_list_indicators {
	display: flex;
}

#index {
	flex: 1;
}

#category-list-indicators {
	position: relative;
	height: 100px;
	width: 100%;
	background-color: var(--black-back-icons);
}

#name-category-list {
	position:absolute;
	top: 10px;
	left: 10px;
	color:#fff;
	font-size: 16px;
}

#category-number {
	position: absolute;
	top: 7px;
	right: 10%;
	font-size: 87px;
	color: #fff;
}

#selected-subcategory {
	background-color: var(--main-purple);
	text-align: left;
    padding: 14px 10px;
}

#selected-subcategory a {
    color: white!important;
}

li:is(:has(> div#selected-subcategory)) {
	padding: 0;
}


#rest-subcategories {
	background-color: var(--grey-principal);
	text-align: left;
}

#rest-subcategories li {
    padding: 14px 10px;
}


#rest-subcategories ul {
	list-style: none;
	margin:0px;
	padding:0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#rest-subcategories ul li:not(:last-child) {

}

#rest-subcategories ul li a{
	text-decoration: none;
	color:#000;
	font-weight:bold;
}


/* LIST INDICATORS - TABLE*/

#table-list {
	flex: 3;
}

.list_indicators_tb {
	border-spacing: 0;
}

.table-header, .table-row {
	display: flex;
}

.cell_header_font, .cell-font {
	border-left: 1px solid var(--black-back-icons);
	border-right: 1px solid var(--black-back-icons);
	width:30%;
}

.cell_header_name, .cell_ind_name {
	width:60%;
}

.cell_header_last_date, .cell-date {
	width:10%;
}

.list_indicators_tb .table-row:nth-child(odd):not(.table-header, .cell_category, .cell_sub_category) {
	background-color: var(--second-grey);
}

.table-header {
	background-color: var(--grey-principal);
}

.table-header > div {
	font-size: 15px;
	align-self: center;
}

.cell_category {
	background-color: var(--main-purple);
    color: white;
	width:100%;
	font-size: 17px;
}

.cell-date {
	text-align: right !important;
}

.cell {
	padding: 10px;
	text-align: left;
}

.list_indicators_tb .cell_sub_category {
	background-color: var(--second-purple);
	padding-left: 25px;
	font-size: 15px;
}

.list_indicators_tb .cell_ind_name a {
	text-decoration: none;
	color:#000;
	font-weight: bolder;
	font-size:14px;
}

.table-row:hover .cell_ind_name a{
	color:var(--main-purple);
}

@media screen and (max-width: 700px) {
	.ap_list_indicators {
		display: grid;
	}
	#index {
		margin-bottom: 20px;
	}
	#category-number {
		left: 82%;
	}
}