/****** Estils genèrics ******/
body {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px; 
	font-weight: 400;
    line-height: 1.42857143; 
    color: #4D5C67; 
}

a {
    /*color: #174A7C;*/
	color: #3F7CBD;
}

.btn-primary {
    color: #fff;
    background-color: #3F7CBD;
    border-color: #3F7CBD;
}

.navbar {
    padding: 0rem 0rem 0rem 0rem;
}
/****** ************* ******/

/****** Estils edictes i concursos ******/
.row-detall {
	margin-right: 0px;
}

.col-form-label {
	margin-bottom: 8px;
}

.row-descarrega {
    margin-top: 20px;
	margin-bottom: 40px;
}

.row-titol {
    margin-top: 16px;
	margin-bottom: 16px;
}

.row-info {
    border-bottom:1px solid #CCC;
	padding-top:8px;
}

.row-info2 {
	padding-top:8px;
}

/****** ************* ******/

.card-header-percodi {
    padding: .25rem 1.00rem;
    margin-bottom: 10px;
}

.card-percodi {
	border-top: 1px solid rgba(0,0,0,.125);
	border-bottom: 1px solid rgba(0,0,0,.125);
	border-left: 0px solid rgba(0,0,0,.125);
	border-right: 0px solid rgba(0,0,0,.125);
}
	
.card-body-percodi {
    padding: 0.80rem;
}

a:hover {
    color: #174A7C;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.h5, h5 {
    font-size: 16px;
}


b, strong {
    font-weight: 500;
}

.row {
    margin-left: 0px;
}

.titol_web {
    font-size: 30px;
    font-weight: 300;    
	padding-top:10px;
	padding-bottom: 15px;
}

.btn-link {
    color: #174A7C;
}

.titol_pagina {
    font-size: 20px;
    font-weight: 300;
    padding-top: 8px;
	color: #000;
}

.titol_pagina_header {
    font-weight: 300;
    line-height: 1.1;
}

.taula {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.taula td, .taula th {
    padding: .75rem .75rem .75rem .0rem;
    vertical-align: top;
    border-bottom: 1px solid #dee2e6; 
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #000;
}

/**************************************** FOOTER ****************************************/
.footer {
    border-top:1px solid #C0C4C8;
    border-bottom:1px solid #C0C4C8;
    background-color:#F8F9FA;
	/*padding: 10px 10px 10px 10px;*/
	padding: 5px 4px 10px 10px;
}

/**************************************** MENU ****************************************/
.sidebar .sidebar-menu > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 5px;
	
}

/* Color opció activa del menú */
.menu_actiu {
/*color: #3F7CBD;*/
color: #4D5C67;
padding-top: 1px;
padding-bottom: 1px;
}
.menu_actiu:focus {
    color:#000;
	font-weight:500;
}
.menu_actiu:active {
    color:#000;
	font-weight:500;
}

/****** FI MENU ******/


/* OPACITAT BÀNER */
.banner
{
display:inline-block !important;
position:relative !important; 
overflow: hidden;

}
.banner-overlay {
  visibility:hidden;
  opacity:0;
  transition:visibility 0s linear 0.2s,opacity 0.2s linear;
}

.banner a{
    color:transparent;
}
.banner a:hover .banner-overlay {
    visibility:visible;
    opacity:1;
    transition-delay:0s;
    text-align:center;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.50);
    color: #174A7C;
    width:100%;
    height:100%;
}

.banner-overlay span {
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0
}
/* FI OPACITAT BÀNER */


.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F8F9FA;
}

.col-centered {
  float: none;
  margin-right: auto;
  margin-left: auto;
}

/* Caixa avís */
.vertical-align {
    display: flex;
 }
.alert-info {
color: #343A40;
background-color: #E8F7FF;
border:0px;
}

.alert-tramitero {
color: #343A40;
background-color: #D4EDDA;
border:3px solid #4CD46E;
}

.card-header-portada {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 400;
	color: #174A7C;
	padding: .55rem;
	border-bottom: 2px solid #174A7C;
}

.card-header-portada2 {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 400;
	color: #174A7C;
	padding: .55rem;
}

.form-control {
    font-size: 14px;
}


/* BARRA LATERAL ESQUERRA */
.sidebar-container {
    background-color: #F8F9FA;
    /*width: 240px;*/
    padding-bottom: 1px;
	z-index: 20;
    top: 0;
    left: 0;
    bottom: 0;
}

  .sidebar-container .label {
    font-size: .75em;
    display: inline-block;
    border-radius: .2em;
    padding: 2px 5px;
    background-color: #ccc;
    color: #000;
    margin: 0 3px; }

  .sidebar-container  .label-screenful {
    color: #fff;
    background-color: #6769d4; }
  .sidebar-container  .sidebar-menu {
    font-size: 13px;
    list-style: none;
    margin: 0;
    padding-left: 0px;
	line-height: 26px;
	}


/* Menú responsive */
	.sidenav2 {
	  height: 100%;
	  width: 0;
	  position: fixed;
	  z-index: 1;
	  top: 0;
	  left: 0;
	  background-color: #F8F9FA;
	  overflow-x: hidden;
	  transition: 0.4s;
	  padding-top: 60px;
	}

	.sidenav2 a {
	  padding: 0px 8px 0px 20px;
	  text-decoration: none;
	  color: #4D5C67;
	  display: block;
	  transition: 0.3s;
	}

	.sidenav2 a:hover {
	  color: #000;
	  text-decoration: underline;
	}

	.sidenav2 .closebtn {
	  position: absolute;
	  top: 0;
	  right: 25px;
	  font-size: 50px;
	  margin-left: 50px;
	  margin-top: 10px;
	}
	
	@media screen and (min-width:992px) {
		.boto_menu {display:none}
	}
	
	
	@media screen and (min-width:992px) {
		.menu_lateral {display:none}
	}
	
	
	@media screen and (max-width:992px) {
		body {font-size: 15px;}
		.sidebar-container .sidebar-menu {font-size: 15px;}
		.menu_lateral2 {display:none}
	}
	
	
	@media screen and (min-width:16px) {
		.navbar .navbar-collapse {display:block}
	}