@font-face { font-family: FranklinGothicM; src: url("../fonts/framd.eot") /* EOT file for IE */ }
@font-face { font-family: FranklinGothicM; src: url("../fonts/framd.ttf") /* TTF file for CSS3 browsers */ }

a { color: #00829B; text-decoration: none }
a:hover, a:active { color: #000; text-decoration: underline }

html,
body {
    background: url(../img/bg_lines.png) repeat; 
    text-align: justify ;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    letter-spacing: 0em;
    font-family: FranklinGothicM, Arial, Sans-serif;
    line-height: 1.55rem;
    font-feature-settings: "liga" 1, "calt" 0;
    background-color: white;
}

#topnav {
	display: block;
}

.topnav ul {
	list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    float: left;
    font: 1em FranklinGothic, Sans-serif;
    height: 26px;
    overflow: hidden;
}

.topnav ul li {
    margin: 0;
    padding: 0;
    float: left;
}

.topnav ul li:first-child a {
    border: none;
    padding-left: 0;
}

.topnav ul li a {
    display: block;
    padding: 2px 15px;
    /* border-left: 1px solid rgb(0,130,155); */
	color: black;
}

.tab-content {
	padding: 10px;
	margin: auto;
}

.reset {
    clear: both;
    margin: 0;
    width: 0;
    height: 0;
}

div.observatori_font {
    font-weight: bold;
} 

div.observatori_calcul {
    font-weight: bold;
} 

div.observatori_subgrup {
    font-style: italic;
    color: #AB3C21;
} 

div.observatori_grup {
    font-style: italic;
    color: #AB3C21;
}

div.observatori_font {
    font-size: smaller;
}

div.observatori_calcul {
    font-size: smaller;
}

div.botons a.tornar {
    background: black;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.35);
    color: white;
    padding: 4px 13px 5px 8px;
    font: 1.1em; 
}

div.botons a {
    display: inline-block;
    margin-bottom: 15px;
}

#pagina {
	max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: white;
    box-shadow: 0 0 15px 0 rgba(0,0,0,.3);
}

#preheader {
	width: 100%;
    height: 49px;
    text-align: left;
    margin: 0;
}

#preheader a.logo {
    padding-left: 20px;
    float: left;
}

#preheader div.topnav {
    float: right;
    padding-top: 8px;
    padding-right: 20px;
}

#viewDiv {
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

#header {
	background: url(../img/bg-menu.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 154px;
    text-align: left;
    border-top: 1px solid white;
    margin-top: -1px;
}

#headerDeixalleria {
    background: url(../img/deixalleria.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 158px;
    text-align: left;
    border-top: 0px solid white;
    margin-top: 95px;
}

#header h1 {
    color: white;
    margin: 20px 0 0 20px;
	text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

#contingut {
	width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    margin-top: 15px;
    box-shadow: 0 0 15px;
}

#resultats {
    background: white;
    /* width: 100%; */
    padding-right: 15px;
    padding-left: 15px;
}

#menu {
	min-height: 46px;
}

.comentari {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: 1px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.columna_blanca { float: left; width: 920px; margin: 15px 0 0 0; padding: 5px; background: rgba(255, 255, 255, 0.7) }

.cercador {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: 0.2rem;
}

h1 { font: bold 1.8em Arial, Sans-serif; color: #AB3C21; margin: 15px 0 12px 0 }
h3 { font: bold 1.1em Arial, Sans-serif; color: #AB3C21; margin: 15px 0 12px 0 }

.reset { clear: both; margin: 0; height: 0 }

div#loading {
	background: url(../img/loading.gif) no-repeat center center;
	opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
}


div#login { clear: both; background: url(../img/bg_peu.png) repeat; width: 100%; margin-top: 0px; padding-top: 0px; margin-bottom: 0; padding-bottom: 0px; color: white; }
div#login a { color: white; }
div#login a:hover { color: #00b9dc; }

.footer { 
    height: 64px;
    padding-bottom: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(../img/bg_menu.png) repeat;
    color: white;
    font: 1.05em FranklinGothicM, Arial, Sans-serif;
    position: relative; 
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}
div.peu_pagina a { color: white; }
div.peu_pagina a:hover { color: #00b9dc; }

a.logo_ajgirona { float: left; background: url(../img/logo_ajgirona.png); margin: 12px 0 0 32px; display: block; width: 144px; height: 42px; margin-top: 10px }
a:hover.logo_ajgirona { background-position: -150px 0 }
a.logo_ajgirona img { width: 100%; height: 100%; border: none }

div.adreca { border-left: 1px solid #B7B7B7; float: left; margin: 12px 0 0 32px; padding-left: 27px; font: 0.7em Arial, Sans-serif; color: white }
div.telefon { border-left: 1px solid #B7B7B7; float: left; margin: 12px 0 0 32px; padding-left: 27px; font: 0.7em Arial, Sans-serif; color: white }



@media screen and (max-width: 960px)
{
	.row_content { width: 100%; margin: 0 }
	.columna_blanca { width: 98%; margin: 0; padding: 1% }
	.contingut { padding: 10px }
	div.header { height: 90px }
	h1 { font-size: 1.6em } 
}

@media screen and (max-width: 768px)
{
	div.adreca { display: none}
	th.nomobile { display: none}
	td.nomobile { display: none}
}

@media screen and (max-width: 480px)
{
	div.peu_pagina { display: none}
	th.nomobile { display: none}
	td.nomobile { display: none}
}

h1{
	display:block;
	clear:both;
}

.container.right{
	text-align:right;
}

td.llista_link{
	text-align:left;
}


#avis_cookies {
    position: absolute;
    bottom: 180px;
    right: -40px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    width: 160px;
}

#avis_cookies .cc-config {
    color: white;
    background:#00B9DC;
    /* position: fixed; */
}

#cc-config-parent {
    /* color: white; */
    color:  #00B9DC;;
}

.cc-config a:hover{
    text-decoration: none;
    font-weight: bold;
}

.unsupported-browser {
    display: none;
    width: 100%;
    /* height: 100%; */
    position: relative;
    background: rgb(0,130,155);
    text-align: center;
    padding: 12px;
    color: white;    
}

#loadDiv {
    /* background-color:white; */
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99;
    margin: auto;
    /* background-color: #00B9DC; */
} 

.loadContent {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    /* color:  #00B9DC; */
    color: black;
    /* color: white; */
    padding: 5px;
}

.loadContent div {
    padding: 12px 0 12px 0;
}

.header {
    height: 64px;
    padding-top: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(../img/bg_menu.png) repeat;
    color: white;
    font: 1.05em FranklinGothicM, Arial, Sans-serif;
}

.header .title {
    display: flex;
    vertical-align: middle;
    align-items: center;
    padding: 0 10px 0 10px;
}

.header .title .content {
    font: 1.5em FranklinGothicM, Sans-serif;
    padding: 2px 10px 2px 10px;
    color: white;
    /* color: #00B9DC */
}

.header a {
    text-decoration: none;
    color: white;
    /* color: #00B9DC */
}


.header a:hover{
    text-decoration: none;
    color: #00B9DC;
    font-weight: bold;
}

.header .topnav {
    display: block;
    padding: 10px 10px 0px 10px;
   }

.header .topnav ul {
	list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    float: left;
    font: 1em FranklinGothic, Sans-serif;
    height: 26px;
    overflow: hidden;
}

.header .topnav ul li:first-child a {
    border: none;
    padding-left: 0;
}


.header .topnav ul li {
    margin: 0;
    padding: 0;
    float: left;
}

.header .topnav ul li a:hover {
    text-decoration: none;
    color: #00B9DC;
}
.header .topnav ul li a {
    display: block;
    padding: 2px 15px;
    /* border-left: 1px solid #00B9DC; */
    color: white;
    font-weight: bold;
}


.header a.logo_giemociona {
    float: left;
    background: url(../img/logo_girona_emociona2.png);
    display: block;
    width: 150px;
    height: 50px;
    margin: 0 30px 0 0;
    padding-top: 0;
}

.header a:hover.logo_giemociona {
    background-position: -200px 0;
}

h1{
	display:block;
	clear:both;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    cursor: pointer;
}

.card-body {
    background: snow;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.card-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 15px 10px 10px 15px;
    margin-right: 0px;
    margin-left: 0px;

}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 15px 10px 10px 15px;
    margin-right: 0px;
    margin-left: 0px;
}

.col {
padding: 10px;
}

.btn {
margin-left: 5px;
margin-right: 5px;
}

.select2-selection {
    -webkit-box-shadow: 0;
    box-shadow: 0;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    color: #555555;
    font-size: 1.25rem;
    outline: 0;
    min-height: 48px;
    text-align: left;
  }
  
  .select2-selection__rendered {
    margin: 10px;
  }
  
  .select2-selection__arrow {
    margin: 10px;
  }

@media screen and (max-width: 960px)
{
	div.header { display: none }
}

@media screen and (max-width: 768px)
{
	div.header { display: none }
}

@media screen and (max-width: 480px)
{
    div.header { display: none }
    div.searchDiv {display: none}
}


  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion:hover {
    background-color: #ccc;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
  }

  /* Style the buttons that are used to open and close the accordion panel */
 

.accordion {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.25rem;
    cursor: pointer;

    padding: 18px;
    width: 100%;
    text-align: left;
    transition: 0.4s;
}

.accordion-body {
    padding: 1rem 0rem 1rem 2rem;
}

.accordion-item {
    background-color: #fff;
    border: 0px solid rgba(0,0,0,.125);
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #AB3C21;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

.accordion-button:not(.collapsed) {
    font-weight: bold;
    color: #AB3C21;
    background-color: white;
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    transform: rotate(-180deg);
}

.active, .accordion:hover {
    background-color: white;
}