
html {
	position: relative;
	min-height: 100%;
}

body {

	margin: 0;
/* Margin bottom by footer height */
	/*margin-bottom: 40px;
	padding-bottom: 10px;*/
}



/*****************************************************************************/
/************************* NAVBAR ********************************************/
/*****************************************************************************/

.navbar {
    /*background-color: #000000 !important;*/
    background-color: #000 !important;
    color: #ffffff !important;  
    font-size: 14px;
}

.navbar-brand {
    color: #E8E8E8 !important;  
    font-size: 14px;
}

.container-fluid header nav ul li a{
    text-decoration:none !important;
    color: #E8E8E8 !important;   
}




/*****************************************************************************/
/************************* HEADER ********************************************/
/*****************************************************************************/

.header {
	background-color: #157ea3;
	/*background-color: #0555fa;*/
	padding: 0px 0;
	margin-bottom: 0px;
	height: 110px;
	overflow: hidden;
}

.header .nom {
	font-family: Verdana;
	height: 140px;
  
}

.header .nom a {
	color: #fff;
	font-size: 3.4em;
	line-height: 1.2em;
	display: block;
	padding: 0px 0;
    /*vertical-align: middle;*/
}

.header .nom a:hover {
	color: #fff;
	text-decoration: none;
}

.header .nom a span {
	font-size: 1.2em;
	line-height: 1.3em;
	display: block;
	font-weight: bold;
}

.header .icona {
	color: #fff;
	font-size: 2em;
	padding-top: 12px; 
	opacity: 0.8;
}

.header .diamante {
	padding-top: 12px;
}

.header .icona.cabecera {
	background-image: url(../imatges/enel_logotipo.png);
	background-repeat: no-repeat;
	height: 80px;
	padding-top: 12px;
	opacity: 0.8;
}


.header .titol {
	font-family: Verdana;
	height: 140px;
  
}

.header .titol a {
	color: #E7E7E7;
	font-size: 1.4em;
	line-height: 1.2em;
	display: block;
	padding: 0px 0px 0px 8px;
    
    /*vertical-align: middle;*/
}

.header .titol a:hover {
	color: #fff;
	text-decoration: none;
}

.header .titol a span {
    color: #fff;
	font-size: 2.9em;
	line-height: 1.3em;
	display: block;
	font-weight: bold;
    padding: 0px 0px 0px 0px;
}

/*****************************************************************************/
/************************* FOOTER ********************************************/
/*****************************************************************************/


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #464646;
    text-align: center;
	color: #fff;
}

.footer a {
    color: #cfcfcf;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}


/*****************************************************************************/
/************************* FOOTER ********************************************/
/*****************************************************************************/
.butons-propostes .btn {
	width: 100%;
	margin: 5px 0;
	text-align: left;
	line-height: 2em;
	font-size: 1.2em;
}

.butons-propostes .btn-group {
	width: 100%;
	margin: 5px 0;
}

button.btn.dropdown-toggle {
	margin: 0;
	padding: 6px;
}

.butons-propostes ul.dropdown-menu {
	padding: 0;
}

.butons-propostes ul.dropdown-menu li a {
	padding: 10px;
}

.butons-propostes ul.dropdown-menu .divider{
	margin: 0px !important;
}


/*****************************************************************************/
/************************* TABLAS *************************************/
/*****************************************************************************/

#fondoTaula {
    background-color: #EAF1F4;
}

#fondoTaulaInformes {
    background-color: #5b9bd5;
}

.image-fons-permis {
    background-image: url("../imatges/fons_td.png"); /* The image used */
    background-repeat: repeat; /* Do not repeat the image */    
}


/*****************************************************************************/
/************************* BOTONES EXCEL *************************************/
/*****************************************************************************/

.btn_excel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #2BC458;
/*  padding: 10px 20px;*/
  border: none;
  border-radius: 5px;
  cursor: pointer;
}




/*****************************************************************************/
/************************* BOTONES FILTROS ***********************************/
/*****************************************************************************/


 .botones_estadisticas{
    text-decoration: none;
	margin-top: 10px;
	margin-bottom: 10px;
    padding: 6px;
    font-weight: 300;
    font-size: 15px;
    color: #000000;
    background-color: #FFFFFF;
    border-radius: 3px;
    border: 1px solid #838282;  /* 008c5a - 55be5a */
  }
  
  
.botones_seleccionado{
    text-decoration: none;
	margin-top: 10px;
	margin-bottom: 10px;
    padding: 6px;
    font-weight: 300;
    font-size: 15px;
    color: #FFFFFF;
    background-color: #000000;
    border-radius: 3px;
    border: 1px solid #000000;  /* 008c5a - 55be5a */
  }




/*****************************************************************************/
/************************* CIRCULO *******************************************/
/*****************************************************************************/


#circuloVerde {
    width: 18px;
    height: 18px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #02b126;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    margin-left:2px auto;
}

#circuloNaranja {
    width: 18px;
    height: 18px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fc4b08;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    margin-left:2px auto;
}


#circuloGris {
    width: 18px;
    height: 18px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #a7a8a7;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    margin-left:2px auto;
}

.circuloGrande {
    width: 118px;
    height: 118px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 28px;
    font-weight: bold; 
    color: #157ea3;
    margin-left: 40px;
    margin-bottom:24px;
    
}

.circuloGrande.verde {
    border: 3px solid green; 
    outline: 3px solid green;
    outline-offset: -10px;          
}

.circuloGrande.naranja {
    border: 3px solid orange; 
    outline: 3px solid orange;
    outline-offset: -10px;        
}

.circuloGrande.gris {
    border: 3px solid #a7a8a7; 
    outline: 3px solid #a7a8a7;
    outline-offset: -10px;        
}

/*
#circuloVerdeGrande {
    width: 118px;
    height: 118px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 28px;
    font-weight: bold; 
    color: #171717;
    margin-left: 40px;
    margin-bottom:24px;
    
    border: 3px solid green; 
    outline: 3px solid green;
    outline-offset: -10px;      
    
}

#circuloNaranjaGrande {
    width: 118px;
    height: 118px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 28px;
    font-weight: bold; 
    color: #171717;
    margin-left: 40px;
    margin-bottom:24px;
    
    border: 3px solid orange; 
    outline: 3px solid orange;
    outline-offset: -10px;    
    
}*/


/*****************************************************************************/
/************************* SWEET ALERT ***************************************/
/*****************************************************************************/

.swal-title-grande {
    font-size: 28px !important;
    font-weight: bold !important;
}

.swal-html-grande {
    font-size: 18px !important;
}

.swal-text-grande {
    width: 600px !important;
}

/* Opcional: aumentar tamaño de los botones */
.swal2-confirm, .swal2-cancel {
    font-size: 16px !important;
    padding: 12px 24px !important;
}


/*****************************************************************************/
/************************* BOTONS ********************************************/
/*****************************************************************************/

    
.btn-gesq {
    display: inline-block;
    
    color: #fff;
    background-color: #000;
    border-color: #000;
    min-width: 100px;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
        touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    
}

.btn-gesq:hover  {
    color: #fff;
    background-color: #ec971f;
    border-color: #d58512;
}

.btn-gesq:active, .btn-gesq.active, .btn-gesq:focus, .btn-gesq.focus {
    color: #fff;
    background-color: #000;
    border-color: #000;
}



.btn-notificaciones {
    color: #000;
    background-color: #EAF1F4;
    border-color: #000;
    padding: 2px 6px;
}.btn-notificaciones:hover, .btn-notificaciones:focus, .btn-notificaciones.focus, .btn-notificaciones:active, .btn-notificaciones.active, .open > .dropdown-toggle.btn-warning {
    color: #fff;
    background-color: #ec971f;
    border-color: #d58512;
}.btn-notificaciones:active, .btn-notificaciones.active, .open > .dropdown-toggle.btn-warning {
    background-image: none;
}

 .botones_volver{
   margin-top: 10px;
	margin-bottom: 10px;
    padding: 8px;
    font-weight: 300;
    font-size: 16px;
    color: #ffffff;
    background-color: #d64200;
    border-radius: 5px;
    border: 1px solid #d64200;  /* 008c5a - 55be5a */
  }

 .botones_volver:hover{
    text-decoration: none !important;
    background-color: #C44207;
    border-color: #C44207;
  }

/*** BOTO ENVIAR MAIL ***/

.botoEnvioMail {
/*  font-family: Arial;*/
  font: normal 22px/1 "Open Sans", sans-serif;
  color: #ffffff;
  
  padding: 25px 15px 25px 15px;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  border: solid #000000 1px;
  background: #000000;
  display: inline-block;
  vertical-align: middle;
  
}
.botoEnvioMail:hover {
  font: normal 22px/1 "Open Sans", sans-serif;
  color: #ffffff;
  background: #313131;
   text-decoration: none;

}


/*****************************************************************************/
/************************* SELECT ********************************************/
/*****************************************************************************/


.select-texte {
	display: block;
	font-size: 14px;
	font-family: 'Verdana', sans-serif;
   /* font-weight: 400;*/
	color: #444;
	line-height: 1.3;
	padding: .2em 2.4em .3em .8em;
	
    /*width:auto;*/
    width: 200px;
	max-width: 300px; 
	box-sizing: border-box;
	/*margin: 20px auto;*/
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
	border-radius: .2em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
  
	background-image: url("../imatges/fletxaSelect.png");	
	   
	background-repeat: no-repeat;
	background-position: right center;
   
  }
  .select-texte::-ms-expand {
	display: none;
  }
  .select-texte:hover {
	border-color: #888;
  }
  .select-texte:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222; 
	outline: none;
  }
  .select-texte option {
	font-weight:normal;
  }




.select-texte-ample {
	display: block;
	font-size: 14px;
	font-family: 'Verdana', sans-serif;
   /* font-weight: 400;*/
	color: #444;
	line-height: 1.3;
	padding: .2em 2.4em .3em .8em;
	
    /*width:auto;*/
    width: 300px;
	max-width: 400px; 
	box-sizing: border-box;
	/*margin: 20px auto;*/
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
	border-radius: .2em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
  
	background-image: url("../imatges/fletxaSelect.png");	
	   
	background-repeat: no-repeat;
	background-position: right center;
   
  }
  .select-texte-ample::-ms-expand {
	display: none;
  }
  .select-texte-ample:hover {
	border-color: #888;
  }
  .select-texte-ample:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222; 
	outline: none;
  }
  .select-texte-ample option {
	font-weight:normal;
  }



.select-texte-sql {
	display: block;
	font-size: 14px;
	font-family: 'Verdana', sans-serif;
   /* font-weight: 400;*/
	color: #444;
	line-height: 1.3;
	padding: .2em 2.4em .3em .8em;
	
    width: 200px;
	max-width: 300px; 
	box-sizing: border-box;
	/*margin: 20px auto;*/
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
	border-radius: .2em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
  
	background-image: url("../imatges/fletxaSelect.png");	
	   
	background-repeat: no-repeat;
	background-position: right center;
   
  }
  .select-texte-sql::-ms-expand {
	display: none;
  }
  .select-texte-sql:hover {
	border-color: #888;
  }
  .select-texte-sql:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222; 
	outline: none;
  }
  .select-texte-sql option {
	font-weight:normal;
  }



/*****************************************************************************/
/************************* CUSTOM INPUT FILE *********************************/
/*****************************************************************************/


.custom-input-file {
  background-color: #323435; /*#157ea3;*/
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin: 0 auto 0;
  /*min-height: 15px;*/
  overflow: hidden;
  padding: 8px;
  position: relative;
  text-align: center;
  width: auto;
}

/* AQUEST AMAGA EL BOTO PER DEFECTE DEL INPUT-FILE */    
.custom-input-file .input-file {
 border: 10000px solid transparent;
 cursor: pointer;
 font-size: 10000px;
 margin: 0;
 opacity: 0;
 outline: 0 none;
 padding: 0;
 position: absolute;
 right: -1000px;
 top: -1000px;
}
    
#nombreArchivo{
    color:grey;
    
}    

/****** STICKY DIV ******/
/* https://www.lambdatest.com/blog/css-position-sticky-tutorial/ */

#sticky-div {
   position : sticky;
   top :0;
   font-size: 14px;
   color: 000;
   
   background: rgba(255, 255, 255, 1) !important;
    z-index: 1;
}



/***********************************/
  