@CHARSET "ISO-8859-1";

.text_no_accsss {
	margin-top: 20px;
}

.body_data {
	display: grid;
	justify-content: center;
}

/* FORM HEADER */

#form-header {
	width: 100%;
	background-color: var(--black-back-icons);
}

.category-title {
	font-size: 20px;
    text-align: center;
    width: 100%;
    padding:15px 20px 10px 10px;
    justify-content: left;
    display: grid;
	color: white;
	box-sizing: border-box;
}

.description-and-metodology {
	position: relative;
    cursor: pointer;
    color: white;
    display: flex;
	margin-left: auto;
	padding-right: 20px;
	padding-bottom: 5px;
	width: fit-content;
}

.arrow-icon {
	width: 20px;
    height: 20px;
    transition: transform 0.5s ease-in-out;
    position: relative;
    top: -2px;
}

.hidden-description-and-metodology {
	display: none;
	position: absolute;
	top: 30px;
	left: -125px;
	width: 300px;
	background-color: white;
	color: black;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	padding: 10px;
	border-radius: 4px;
	transition: opacity 0.5s ease-in-out;
	z-index: 1;
}


/* OPTIONS BAR */

.form_ind_body {
	background-color: var(--grey-principal);
	display: flex;
}

.input.hidden_select {
	display: none;
}

#indicator, #back_categories {
	margin:0;
}

.title_grp {
	padding: 20px;
	font-size: 13px;
	border-right: 1px solid var(--black-back-icons);
	cursor: pointer;
}

.unroll_all_parameters {
	width: 56px;
	height: 56px;
	display: grid;
	align-items: center;
	justify-content: center;
}

#double_arrow_unroll {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.form_ind_bottons {
	margin-left: auto;
}

.group_buttons {
	display: flex;
}

.group_buttons  input {
	height: 55px;
	width: 100px;
	background-color: var(--main-purple);
	color:white;
	justify-content: center;
	align-items: center;
	border: 0;
	cursor: pointer;
}

#back_categories {
	border-left: 1px solid var(--black-back-icons);
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

@media screen and (max-width: 825px) {
	.modalDialog {
		overflow-y: auto;
	}
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 7% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}

@media screen and (max-width: 825px) {
	.modalDialog > div {
		max-height: 80%;
		overflow-y: auto;
	}
}

.close {
    background: var(--main-purple);
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
	z-index: 1;
}

@media screen and (max-width: 825px) {
	.close {
		right: 0px;
		top: 0px;
	}
}

/* HIDDEN-PARAMETERS */

select {
	width: 250px;
}

#hidden-parameters {
	background-color: var(--second-grey);
	display: block;
}

.hidden-div {
	display:none;
}

.hidden_title_select {
	display: none;
	font-size: 15px;
	color: var(--black-back-icons);
	border-bottom: 3px solid var(--black-back-icons);
	justify-content: left;
	padding-left: 10px;
	margin-top: 15px;
	margin-bottom: 5px;
	text-align: left;
}

@media screen and (max-width: 825px) {
	.hidden_title_select {
		display: block;
		text-align: left;
	}
}

.structure_ambits {
	display: flex;
}

.inner-ambit-structure {
	display: grid;
	justify-content: center;
}

.sel_ambit .input {
	display: grid;
	justify-content: left;
	padding: 20px;
	gap: 20px;
}

#nom_ambits_select {
	display:none;
}

#nom_ambits_select, .ambits_selected, ambits_options {
	padding:0px 20px 20px 20px;
}

.ambits_selected {
	position: relative;
	top: -16px;
}

.ambits_options .input {
	display: flex;
	padding: 20px 0px 0px 0px;
}

.ambits_options .input .col2 {
	top: -3px;
	position: relative;
}

.col2 {
	display: grid;
	justify-content: center;
}

.bottons_order .input {
	padding-bottom: 10px;
}

#temporality-structure {
	display: flex;
	gap: 10px;
	justify-content: center;
}

#container-mesos {
	display: grid;
}

.temporality2, .order_elems {
	display: flex;
	align-items: center;
	padding: 20px 20px 0 20px;
	gap: 25px;
}

table.order-table {
	margin: auto;
}

#temporality-structure > div:first-child {
	padding-top: 5px;
}


#checkbox_mesos {
	display: none;
}

.input.check_monthly_off {
	display: none;
}

.hidden-structure {
	display: flex;
	flex-direction: column;
	padding-bottom: 10px;
}

#options-display {
	order: -1;
}

#radio-options-display {
	display: none;
}

#select-options-var {
	margin-bottom: 10px;
}

#swap {
	float: right;
	margin-bottom: 5px;
	margin-right: 7px;
}

table.order-table ul {
	padding: 0;
	margin: 0;
}

table.order-table li {
	list-style: none;
	display: flex;
	width: 100%;
}

table.order-table button {
	padding:0;
	border: none;
}

.swap-content {
	margin-left: auto;
	display: flex;
}

.order-cell-empty {
	background-color: var(--grey-principal);
	width: 25px;
	height: 15px;
}

.group_row, .group_col {
    display: none;
}


/* GRAFIC-ICONS */

#grafic-icons {
	background-color: var(--second-grey);
}

.box_buttons_grafic {
	padding: 7px;
}

.box_burrons_grafic:empty {
	padding: 0px;
}

.box_buttons_grafic {
	background-color: var(--second-grey);
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.item_chart_icon {
	display: grid;
	align-items: center;
	margin-right: 10px;
}

.box_buttons_grafic img:hover {
	outline: none;
}

.sub_chart_ico {
	margin-left:0;
}


/* MESSAGES */

.message_info {
	padding: 20px;
}

/* DATA-CHART */

.chart_div {
	display: none;
	justify-content: center;
}

.center.dataTable {
	margin:auto!important;
}

.center td {
	border: 1px solid #dddddd;
	padding: 3px;
	text-align: right;
	font-size: 13px;
}

.center td:first-child {
	text-align: left;
}

#form-indicator-table tr:hover {
	background-color: var(--second-grey);
}

.highcharts-container {
	margin: auto;
}

.download_area {
	margin: 0px 20px 20px 20px;
}

.link_excel, .download_canvas, .change_order_var {
    background-color: var(--second-grey);
    border-radius: 10px;
    border: 1px solid var(--grey-principal);
    padding: 5px;
    margin: auto;
    width: fit-content;
	display: flex;
	align-items: center;
	gap: 10px;
}

.change_order_var {
	display: none;
	padding: 7px;
	cursor: pointer;
	margin-bottom: 10px;
}

.link_excel:hover, .download_canvas:hover {
	background-color: var(--grey-principal);
}

.download_canvas {
	display: none;
	margin-bottom: 10px;
}

#download_chart {
	padding: 5px;
	border: 0;
}

.link_excel a {
	display: flex;
	text-decoration: none;
	color: black;
	gap: 10px;
	align-items: center;
}


/* EXTRA-BOTTOM-INFO */

#extra-bottom-info {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
}

.meta-info, .foot-info {
	display: grid;
	flex: 1;
}

.bottom-info {
	padding: 5px;
	box-sizing: border-box;
	text-align: left;
}


@media screen and (max-width: 700px) {
	.main_body {
		padding:0px;
	}
	.title_grp {
		padding: 10px;
	}
	.form_ind_body {
		display:grid;
	}
	.form_ind_bottons {
		margin:auto;
	}
	.group_buttons input {
		height: 35px;
	}
	#extra-bottom-info {
		display: grid;
	}
	.bottom-info {
		width:100%;
	}
	#temporality-structure {
		display: grid;
	}
	#temporality-structure > div:first-child {
		padding-bottom: 10px;
	}
	#button_mesos {
		padding-bottom: 10px;
	}
	.unroll_all_parameters {
		width: 100%;
	}
	.hidden-structure{
		display: block;
	}
}
/*canvis dels selects*/
@media screen and (max-width: 825px) {
	.structure_ambits{
		display: grid;
	}
	.sel_ambit {
		display:grid;
		justify-content: center;
	}
	.bottons_order .input {
		transform: rotate(90deg);
	}
	.bottons_order {
		display:flex;
		justify-content: center;
		gap: 5px;
		margin-bottom: 26px;
		margin-top: 10px;
	}
	.ambits_options{
		display: grid;
		justify-content: center;
	}
	#comarca_101 {
		padding-bottom: 10px;
	}
	.hidden-structure{
		display: block;
	}
}
