@import url("//fonts.googleapis.com/css?family=Noto+Sans:300,400,600,700");

/* Custom font */
body {
	font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Ecómetro */
.eco-font {
	/* font-family: Georgia, "Times New Roman", Times, serif; */
  font-family: "Noto Sans", Helvetica, Arial, sans-serif;
	font-weight: bold;
  letter-spacing: -0.8px;
  color: black !important;
}
.eco-font.xl { font-size: 40px; }
.eco-font.lg { font-size: 30px; }
.eco-font.md { font-size: 20px; }
.eco-font.sm { font-size: 17px; }
.eco-font.xs { font-size: 14px; }

.eco-font-2 {
	/* font-family: "Open Sans", Helvetica, Arial, sans-serif; */
	font-family: "Noto Sans", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}
.eco-font-2.xl { font-size: 24px; }
.eco-font-2.lg { font-size: 18px; }
.eco-font-2.md { font-size: 14px; }
.eco-font-2.sm { font-size: 12px; }
.eco-font-2.xs { font-size: 11px; }

/*
.eco-red {
	color: #cd1e3b !important;
}
.eco-black {
	color: #414042 !important;
}
*/

/* Font sizes */
.font-xl { font-size: 24px; }
.font-lg { font-size: 18px; }
.font-md { font-size: 14px; }
.font-sm { font-size: 12px; }
.font-xs { font-size: 11px; }

/* Logos */
.logo-sm img {
	max-width: 45px;
	margin-right: 5px;
	display: inline-block;
}
.logo-sm span {
	font-size: 22px !important;
	vertical-align: middle;
	cursor: default;
}

.logo-md {
	display: block;
	padding: 0 10px;
}
.logo-md img {
	max-width: 60px;
	margin-right: 10px;
	display: inline-block;
}
.logo-md span {
    vertical-align: middle;
    line-height: 50px;
    font-size: 30px;
}
@media (max-width: 768px) {
	.logo-md img {
		max-width: 40px;
	}
	.logo-md span {
		font-size: 25px;
	}
}

.logo-img {
  max-width: 250px;
  display: block;
  margin: 10px;
}

/* Navbar */
.navbar-toggle {
  margin-top: 15px;
}
@media (min-width: 768px) {
  .landing-page .navbar-nav > li, .landing-page .navbar-nav > li > a {
    height: 70px;
  }
  .landing-page .navbar-nav > li > a {
    display: flex;
    align-items: center;
  }
}

/* Utils */
::selection { background: #acbcdc; }
::-moz-selection { background: #acbcdc; }

a, .btn {
	transition: all 0.2s;
}
a.dashed {
  border-bottom: 1px dashed #ccc;
}
a.dashed:hover {
  border-color: #23527c;
}
.img-responsive-v {
	max-height: 100%;
	width: auto;
}
.text-success {
	color: #7DC242;
}
.text-danger {
	color: #CD1E3B;
}
.text-muted {
  color: #AAA;
}
.label-success {
	background-color: #7DC242;
}
.label-danger {
    background-color: #cd1e3b;
}

.btn-default:hover,
.btn-default.active:hover {
	color: #333;
	background-color: #f1f4f6;
  border-color: #e4e5e7;
}
.btn-acv {
  background-color: #7dc242;
  border-color: #6ca73a;
  color: #FFFFFF;
}
.btn-acv:focus,
.btn-acv:hover {
  background-color: #89d845;
  border-color: #7dc242;
  color: white;
}

.font-monospace {
  font-family: Consolas, "Courier New", monospace;
}
.list-inline {
	margin-left: 0;
}

.dl-horizontal.dt-left dt { text-align: left; }
.dl-horizontal.dd-right dd { text-align: right; }

.legend-sm {
	font-size: 16px;
	padding-bottom: 10px;
}
.legend-sm .btn-sm {
  margin-top: -8px;
}
.va-middle {
	vertical-align: middle !important;
}

/* Linea superior */
.color-line {
  background: #f7f9fa;
  height: 6px;
  background-image: -webkit-linear-gradient(left, #39B54A, #39B54A 25%, #7DC242 25%, #7DC242 40%, #ABD037 40%, #ABD037 55%, #D9E021 55%, #D9E021 75%, #FFF200 75%, #FFF200 100%);
  background-image: -moz-linear-gradient(left, #39B54A, #39B54A 25%, #7DC242 25%, #7DC242 40%, #ABD037 40%, #ABD037 55%, #D9E021 55%, #D9E021 75%, #FFF200 75%, #FFF200 100%);
  background-image: -ms-linear-gradient(left, #39B54A, #39B54A 25%, #7DC242 25%, #7DC242 40%, #ABD037 40%, #ABD037 55%, #D9E021 55%, #D9E021 75%, #FFF200 75%, #FFF200 100%);
  background-image: linear-gradient(to right, #39B54A, #39B54A 25%, #7DC242 25%, #7DC242 40%, #ABD037 40%, #ABD037 55%, #D9E021 55%, #D9E021 75%, #FFF200 75%, #FFF200 100%);
  background-size: 100% 6px;
  background-position: 50% 100%;
  background-repeat: no-repeat;
}

/* Splash */
.splash { background: #F7F9FA; }
.spinner.gradient .rect1 { background-color: #39B54A; }
.spinner.gradient .rect2 { background-color: #7DC242; }
.spinner.gradient .rect3 { background-color: #ABD037; }
.spinner.gradient .rect4 { background-color: #D9E021; }
.spinner.gradient .rect5 { background-color: #FFF200; }

/* Registro */
.register-container {
	max-width: 680px;
}

/* estilo para tablas "responsive" con scroll + sombras (aplicar al contenedor) */
.widetable {
  overflow: auto;
  background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #c3c3c5), color-stop(100%, rgba(195, 195, 197, 0))), -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #c3c3c5), color-stop(100%, rgba(195, 195, 197, 0)));
  background-image: -webkit-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -webkit-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -webkit-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -webkit-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: -moz-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -moz-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -moz-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -moz-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: -o-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -o-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -o-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -o-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-color: white;
  background-size: 4em 100%, 4em 100%, 1em 100%, 1em 100%;
  background-attachment: local, local, scroll, scroll;
}

.form-errors ul {
  list-style: none;
  padding-left: 0;
  color: #CD1E3B;
  font-size: 12px;
  margin: 5px 0;
}

/* flash messages */
.notifications {
  /* position: fixed;
  top: 80px;
  right: 40px;
  width: auto; */
  z-index: 2;
}
.notifications .alert {
  box-shadow: 1px 1px 15px rgba(0,0,0,0.1);
}
.notifications .alert .close {
  margin-left: 15px;
  color: inherit;
  opacity: 0.6;
}
@media (max-width: 767px) {
  .notifications {
    right: 0;
    width: 100%;
    padding: 0 15px;
  }
  .notifications .alert {
    opacity: 1;
  }
}


/* cookie consent */
.cc-banner.cc-bottom {
  border-top: 2px solid #ccc;
}

/* Tooltip */
.p-tool .tooltip {
  position: relative;
  display: inline-block;  
  opacity:1; 
}
.p-tool i {
  margin-left: 5px;
}
/* Tooltip text */
.p-tool {
  display: inline-flex;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.datos-subtabla label {
  display: block;
  padding-right: 20px;
}
.reciclado-group {
  display: flex;
}
#spinner-recycled {
  display: inline-block;
  width:0px;
  height:0px;
}
.td-materiales .materiales-tabla {
  padding-bottom: 5px;  
  margin-bottom: 5px;
}
.td-materiales .materiales-tabla:last-child {
  padding-bottom: 0px;
  border-bottom: none;
  margin-bottom: 0px;
}
.materiales-tabla .material-tabla label {
  font-weight: bold;
}
.materiales-tabla .material-tabla .impacts {
  display: none;
}
.materiales-tabla .material-tabla .boton-impacto {
  display: inline-block;
  text-decoration: none;
  color: #000;
}
#treeTable .dt-control {
  vertical-align: top;
}
#treeTable_wrapper #treeTable thead {
  display: table-header-group;
}
#treeTable_wrapper #treeTable .tablahija.firstlevel {
  margin-left: 20px;
  max-width: calc(100% - 20px);
 /* max-width: fit-content; */
}
table.level2 {
  max-width: calc(100% - 30px);
}
table.level3 {
  max-width: calc(100% - 30px);
}
table.level4 {
  max-width: calc(100% - 30px);
}
table.level5 {
  max-width: calc(100% - 30px);
}
table.dataTable.tablahija {
  margin-left: 30px;  
}
#treeTable_wrapper #treeTable td[colspan="2"] {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 0px;
}
#treeTable_wrapper #treeTable td[colspan="3"] {
  padding-top: 0px;
  padding-bottom: 0px;
}
#treeTable_wrapper #treeTable .tablahija thead {
  display: none;
}
#treeTable_wrapper #treeTable #treeBody .dt-start {
  padding-top: 0px;
  padding-bottom: 0px;
}
#treeTable_wrapper #treeTable #treeBody .dt-end {
  padding-top: 0px;
  padding-bottom: 0px;
}
.impactosmateriales td {
  padding: 0 5px;
}
.elemento {
  display: block;
  padding-bottom: 10px;
}
.materiales-tabla {
  display: flex;
  padding-bottom: 5px;
}
.materiales-tabla .impacts {
  display: none;
}
.materiales-tabla .material-tabla {
  /*width: 200px;*/
  width: 100%;
  padding-right: 10px;
}

.valores-impactos td, .label-impactos td {
  border-bottom: 0px !important;
  width: 76px !important;
  display: inline-block;
}

#treeTable tr {
 box-shadow: none !important;
}
#treeTable td {
  box-shadow: none !important;
  border-bottom: none !important;
} 
div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border-bottom: none !important;
}
.dt-hija.sorting_1 {
  width: 80px;
}
.dt-vacia  {
  width: 80px;
}
span.elemento.material {
  width: 100%;
  text-align: right;
}
span.codigo {
  display: inline-block;
  width: 135px;
  text-align: right;
}
.mat-key {
  display: inline-block;  
  float: left;
  padding-left: 103px;
}
.mat-codigo {
  display: inline-block;
  padding-right: 10px;
  text-align: right;
}
.mat-cantidad {
  display: inline-block;
  width: 80px;
  padding-right: 10px;
  text-align: right;
}
.mat-unidad {
  display: inline-block;
  width: 80px;
  padding-right: 10px;
  text-align: right;
}
.mat-masa {
  display: inline-block;
  width: 80px;  
  text-align: right;
}
.cabecera-materiales {
  display: block;
  width: 100%;
  text-align: right;
  position: relative;
  top: 74px;
}
.introjs-tooltipReferenceLayer * {
    font-family: 'Inter', sans-serif;
}

.introjs-tooltip {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.introjs-tooltip-title {
    color: #555;
}

.introjs-tooltiptext {
    color: #555;
}

.introjs-button {
    text-shadow: none;
    background-image: none !important;
    background-color: #f4f4f4 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
    padding: 8px 16px;
    margin: 4px;
    transition: all 0.3s ease;
}

.introjs-button:hover {
    background-color: #e8e8e8 !important;
    border-color: #ccc !important;
}

/* Barra de progreso con degradado verde */
.introjs-progressbar {
    background: linear-gradient(to right, #00aa00, #bfdb00) !important;
}