  @import url('https://fonts.googleapis.com/css2?family=Freeman&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&display=swap');

.bg-white { background: white; }

html, body { margin: 0; text-align: left;  }
body { background: white; margin: 0; padding: 0; text-align: left; font-family: 'Merriweather Sans', Sans-serif; font-weight: 300; }
.container { text-align: left; }


a { color: #975b00; font-weight: 500; }
a:hover { color: black; text-decoration: none;  }
.txt a, .bus a, .llista a { color: #975b00; border-bottom: 1px dotted #975b00; padding-bottom: 1px; }
.txt a:hover, .bus a:hover, .llista a:hover { border-color: black; color: black; }

h1, h2, h3, h4, h5, h6 { font-family: Freeman, Sans-serif; text-align: left; }
h1 { margin-top: 0.7em; color: rgb(102,109,112); letter-spacing: -0.75px; font-size: 2.5em; }
h2 { font-size: 1.5em; line-height: 1.2em; font-family: Oswald, Sans-serif; font-weight: 600; margin-top: 0.7em; margin-bottom: 15px; color: rgba(193,56,40,1); text-transform: uppercase; letter-spacing: 0px; }
h3 { font-size: 1.5rem; margin-top: 0.7em; margin-bottom: 20px; font-weight: 500; }
h3 a { color: black; }
h4 { margin-top: 0.7em; }
h1 span, h2 span, h3 span, h4 span, h5 span { font-weight: 400; }
/*h1 span { display: block; text-transform: uppercase; font-size: 60%; color: rgba(70,75,65,0.7); margin-bottom: 20px; }*/
h1 span { color: rgba(70,75,65,0.8); display: inline-block; margin-left: 15px; font-weight: 300; }
h1 span::before { content: " | "; color: rgb(166,157,141); opacity: 0.5;}
.minuscules { text-transform: none; }

h3.boxed { background: rgba(193,56,40,0.15); color: rgba(193,56,40,1); margin: 0; margin-bottom: 20px; border-radius: 0; border: none; padding: 5px 10px; font-weight: 400; text-transform: uppercase; }

.patronat h3 { color: rgba(193,56,40,1); }

p { margin-bottom: 10px; text-align: justify; color: black; }
p i.fas { margin-right: 5px; }
.txt { font-family: 'Merriweather', serif; font-weight: 300; font-size: 17px; line-height: 28px; letter-spacing: -0.3px; color: rgba(0,0,0,0.9); }
.txt b { font-weight: 600; }
.primer-paragraf { margin-top: 15px; }
.primer-paragraf:first-letter { font-family: Foldit, Sans-serif; font-weight: 600; initial-letter: 3; padding-top: 4px; color: rgb(166,157,141); margin-right: 5px; }
.dada { font-family: 'Merriweather Sans', sans-serif; margin-left: 30px; text-indent: -10px; text-align: left; }
.dada i { display: inline-block; margin-right: 5px; color: rgba(70,75,65,0.7); }
.timing { display: inline-block; font-weight: 400; color: rgba(0,0,0,0.6); margin: 0 10px 8px 0; padding: 3px 8px; text-align: left; font-size: 0.9em; line-height: 1.4em; background: rgba(255,255,255,0.5); }

.subH4 { font: 1em 'Merriweather Sans', sans-serif; font-weight: 400; text-transform: uppercase; text-align: center; margin-bottom: 20px; opacity: 0.7; }



.idioma-toggled { white-space: nowrap; margin-left: -20px; }

.introFitxa { font: 20px/32px 'Libre Franklin', Sans-serif; font-weight: 600; letter-spacing: -0.5px; margin-top: 12px; }
.dataFitxa { font: 14px 'Libre Franklin', Sans-serif; text-transform: uppercase; color: rgba(0,0,0,0.5); border-top: 1px solid rgba(193,56,40,0.15);  border-bottom: 1px solid rgba(193,56,40,0.15); padding: 4px 0; margin-top: 20px; }

.reset { clear: both; height: 0; }

.p0 { padding: 0; }
.p5 { padding: 0 5px; }

.no-resultats { font-family: 'Libre Franklin', Sans-serif; font-weight: 600; font-size: 18px; line-height: 28px; letter-spacing: -0.2px; margin-top: 30px; }

.mini-info p { margin-bottom: 3px; margin-left: 20px; }
.mini-info p:first-child { margin-left: 0; font-weight: bold; }

.premenu { position: absolute; top: 14px; right: 18px; font: 12px/12px Oswald, sans-serif; text-transform: uppercase; z-index: 1100; text-align: right; }
.premenu a { border-radius: 0px; padding: 4px 8px 4px 8px; display: inline-block; font-weight: 200; letter-spacing: 1px; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.6); margin-left: 10px; }
.premenu a.active { color: rgb(231,176,76); border: 1px solid rgba(231,176,76,1); }




.preheader { width: 100%; height: 130px; padding: 0; background: rgba(193,56,40,1); background: linear-gradient(180deg, rgba(128,59,38,0.85) 0%, rgba(193,56,40,0.85) 40%, rgba(193,56,40,0.85) 100%); }
.title-bar { position: relative; }
.preheader .brand { font-family: Freeman, Sans-serif; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); font-size: 2.5em; letter-spacing: 0.5px; text-align: left; color: white; margin: 0; margin-left: -5px; padding: 20px 0 5px 0; }
.preheader .brand img { width: 89px; height: auto; margin-top: -15px; margin-right: 15px; opacity: 0.8; }
.preheader .logoaj { position: absolute; top: 19px; right: 0; width: 180px; }
.preheader .logoaj img { width: 100%; }
.bg-menu { background: rgba(0,0,0,0.4); position: absolute; bottom: 0; width: 100%; }

.navbar-dark .navbar-nav { text-align: left; /*position: absolute; bottom: 15px; right: 15px; */}
.navbar { -webkit-backface-visibility: hidden; padding: 0; max-width: 1200px; margin: 0 auto; }
.navbar-dark .navbar-nav .nav-link {  font-family: Oswald, Sans-serif; font-size: 16px; font-weight: 400; text-transform: uppercase; color: white; letter-spacing: 0.5px; margin: 0; padding: 0.25rem 0.75rem !important; }
.navbar-dark .navbar-nav .nav-link:hover { background: rgb(102,109,112); }
.dropdown-toggle:after { font-size: 16.5px; margin-left: 0.155em; }

.navbar-dark .navbar-toggler {  border-color: rgba(255,255,255,0.8); /*font-size: 200%;*/ }
.navbar-dark .navbar-toggler i { font-size: 150%; color: rgba(255,255,255,0.8); }

/* Versió petite preheader, quan es fa scroll */
.preheader.petit .navbar-dark .navbar-nav .nav-link { font-size: 14px; }
.preheader.petit { height: 80px; }
.preheader.petit .brand { font-size: 1.5em; padding-top: 8px; }
.preheader.petit .brand img { width: 44px; margin-top: -6px; padding-top: 2px; margin-right: 8px; margin-left: 0px; }
.preheader.petit .logoaj { top: 10px; width: 120px; right: 12px; }

.tira { height: 310px; margin-top: 0px; overflow: hidden; margin-bottom: 15px; background: url(img/tires/generica.jpg) center center; background-size: cover; position: relative; }
.tira img { width: 100%; height: 100%;}
.tira div { background: rgba(255,255,255,0.8); position: absolute; bottom: 0; width: 100%;}
.tira div h1 { width: 1200px; margin: 0 auto; text-align: left; padding-bottom: 10px; }
.tira div .ariadna2 { width: 1200px; margin: 0 auto; text-align: left; padding: 10px 15px; font-size: 80%; }
.tira div .ariadna2 i { font-size: 90%; color: rgba(0,0,0,0.5); display: inline-block; padding: 0 5px; }
.tira .ariadna_titol { width: 1200px; margin: 0 auto; text-align: left; font-weight: 600; font-size: 1.5em; color: rgba(193,56,40,1); }
.tira div .ariadna2 a { color: rgba(0,0,0,0.9); }

.idioma-toggled { display: none; }


.nav-item.dropdown.selected, .nav-item.selected { background: black; border-left: 1px solid rgba(255,255,255,1); border-right: 1px solid rgba(255,255,255,1); }

/* dropdowns */
.dropdown-menu { left: -1px; background: rgb(108,43,39); border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.25); margin-top: 0px; border-radius: 0px; transition: all .3s; border: 1px solid rgba(255,255,255,1); border-top: none; padding: 0; }
.dropdown-menu.dret { left: auto; right: -1px; border-left: none; border-right: 1px solid rgba(255,255,255,0.7);  }
.dropdown-item { font: 16px Oswald, Sans-Serif; /*background: rgba(0,0,0,0.4);*/ letter-spacing: 1px; font-weight: 300; padding: .25rem 15px .30rem 15px; color: #FFF !important; border-top: 1px solid rgba(255,255,255,1) !important; }
.dropdown-item:hover { background: rgb(102,109,112); }
.dropdown-item:first-child { margin-top: 0; }
.selected .dropdown-item { border-color: rgba(231,176,76,1); color: white !important; border: none;  }
.dropdown-item:hover { color:  color: white !important; }
.dropdown-item.selected { background: black; color: rgb(231,176,76) !important; }

.menutop.petit { box-shadow: 0 5px 20px rgba(0,0,0,0.5) inset, 0 5px 15px rgba(0,0,0,0.5); }
.menutop.petit .navbar-brand img { height: 55px; }
.menutop.petit .navbar-brand div { font-size: 95.238%; padding-top: 8px; }
.menutop.petit .navbar-brand span { display: inline; }
.menutop.petit .nav-link { font-size: 13px; }


.submenu3 { list-style: none; margin: 0; padding: 0; }
.submenu3 li { margin: 0; padding: 0; float: left; }
.submenu3 a { display: block; background: rgba(193,56,40,0.15); border: 1px solid rgb(193,56,40); color: rgb(193,56,40); border-radius: 4px; padding: 5px 10px; margin-left: 15px; margin-bottom: 10px; }
.submenu3 a:hover { text-decoration: none; background: rgba(193,56,40,0.5) }
.submenu3 li:first-child a { margin-left: 0; }
.submenu3 a.selected { background: rgb(193,56,40); color: white; }
.submenu3 a.selected:hover { background: rgba(193,56,40,0.50); }


.idioma { padding-top: 5px; position: absolute; right: 14px; }
.idioma a { margin: 0; border: 1px solid rgba(255,255,255,0.6); border-radius: 10px; font-family: Oswald, Sans-serif; font-size: 14px; font-weight: 300; text-transform: uppercase; color: white; letter-spacing: 0.5px; padding: 1px 0.5rem 2px 0.5rem; }
.idioma a.active { background: white; color: black; }
.idioma a:hover { text-decoration: none; background: black; }
.idioma a.active:hover { color: white; }
.preheader.petit .idioma  { padding-top: 2px; right: 0; }
.preheader.petit .idioma a { font-size: 12px; }

/*
.submenu4 { border-top: 1px solid #004D5C; border-bottom: 1px solid #004D5C; overflow-x: scroll; }
.submenu4 ul { list-style: none; margin: 0; padding: 0; font-family: Oswald, Sans-serif; font-size: 18px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; }
.submenu4 ul li { margin: 0; padding: 0; display: inline-block; }
.submenu4 ul li a { display: block; border-left: 1px solid #004D5C; padding: 5px 15px; font-weight: normal; }
.submenu4 ul li:first-child a { padding-left: 0; border-left: 0; }
*/

#scroller { overflow-x:auto; margin-bottom: 25px; scrollbar-x-position: top; scrollbar-color: rgba(193, 56, 40, 1) rgba(193, 56, 40, 0.3); }
.menu_scroll { border-top: 1px solid rgb(193,56,40); border-bottom: 1px solid rgb(193,56,40); margin: 0 0 10px 0; padding: 0; font-family: Oswald, Sans-serif; font-size: 17px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.2px; }
.menu_scroll td { margin: 0; padding: 0; border-left: 1px solid rgb(193,56,40); }
.menu_scroll a { white-space: nowrap; display: block; padding: 7px 15px; text-transform: uppercase; color: rgb(193,56,40); font-weight: normal; }
.menu_scroll a:hover { text-decoration: none; background: rgba(193,56,40,0.5) }
.menu_scroll td:first-child { border: none; }
.menu_scroll td:first-child a { margin-left: 0; }
.menu_scroll td:last-child a { margin-right: 0; }
.menu_scroll a.selected { background: rgb(193,56,40); color: white; }

.btn-group.filtres { padding-top: 10px; padding-bottom: 20px; }

.btn { padding: 5px 15px 7px 15px; font-family: 'Oswald', Sans-serif; font-size: 1.3em; line-height: 1.2em !important; margin-right: 10px; margin-bottom: 10px; border-radius: 10px; border-color: rgb(193,56,40); color: rgb(193,56,40); text-align: left; background: rgba(255,255,255,0.5); }
.btn.icn { padding-left: 30px; text-indent: -10px; }
.btn:hover { background: rgb(231,176,76); border-color: rgb(193,56,40) }
.btn-block { border-color: rgb(193,56,40); background-color: white;color: rgb(193,56,40); text-decoration: none !important; color: black; margin-bottom: 10px; }
.btn-block.seleccionat { background: rgb(193,56,40); color: white; }
.btn-block.seleccionat:hover { color: rgb(231,176,76); border-color: rgb(193,56,40) }

.btn-noblock { border-color: rgb(193,56,40); background-color: white;color: rgb(193,56,40); text-decoration: none !important; color: black; margin-bottom: 10px; }
.btn-noblock.seleccionat { background: rgb(193,56,40); color: white; }
.btn-noblock.seleccionat:hover { color: rgb(231,176,76); border-color: rgb(193,56,40) }
.btn-noblock.disabled { color: #444; background: rgba(255,255,255,0.4); opacity: 1; }



.bg-grisclar { background: rgba(102,109,112,0.2); }
.bg-grisfosc { background: rgba(102,109,112,0.8); }
.bg-grisfosc .txt { color: white; }
.bg-grisfosc a { font-weight: 500; border-bottom: 1px dotted white; padding-bottom: 1px; color: white; }
.bg-grisfosc a:hover { color: black; }


.bg-fosc { background: rgba(193,56,40,0.35); }
.bg-fosc .txt, .bg-fosc2 .txt { font-weight: 400; }
.bg-fosc h2, .bg-fosc2 h2, .bg-fosc4 h2 { color: white; text-shadow: 2px 2px 10px rgba(0,0,0,0.2); }

.bg-fosc2 { background: rgba(193,56,40,0.25); }
.bg-fosc3 { background: rgba(193,56,40,0.125); }
.bg-fosc4 { background: rgba(193,56,40,0.40); }
/*.bg-fosc3 h2 { color: rgba(109, 104, 93, 1); }*/
.bg-daurat { background: rgba(231,176,76,0.40); }
.bg-fosc3grad { background-image: linear-gradient(to top, rgba(193,56,40,0.275), rgba(193,56,40,0.125)); }


.expofoto { margin-bottom: 0; position: relative; }
.expofoto p { position: absolute; bottom: 0; right: 0; background: rgba(0,0,0,0.3); color: white; margin: 0; font-size: 90%; padding: 2px 10px; font-weight: normal; }
.expofoto:hover { background: rgba(70,75,65,0.5);}
.expofoto:hover a { opacity: 0.7; }

.icona_disc { width: 100%; opacity: 0.4; margin: 20px 0; }

.mapaweb { border: 1px solid rgba(0,0,0,0.4); padding: 15px; margin-bottom: 15px; column-count: 2; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 50px; margin-left: 6px; margin-right: 6px; }
.mapaweb.altres { float: left; width: 24%; margin: 0 0.5%; column-count: 1; font-family: Freeman, Sans-serif; text-align: center;  }
.mapaweb a:hover { color: black; background: rgba(193,56,40, 0.2); text-decoration: none; }
.mapaweb h2 { text-transform: none; font: 22px Freeman, Sans-serif; font-weight: 400; margin-top: 0; margin-bottom: 0; border-bottom: 1px solid rgba(102,109,112,1); display: inline-block; }
.mapaweb h2 a { color: rgb(102,109,112); font-weight: normal; }
.mapa_ul2 { list-style-type: square; margin-top: 10px; padding-left: 30px; }
.mapa_ul2 li::marker { color: rgb(193,56,40); }
.mapa_ul2 a { color: rgb(193,56,40); font-weight: 600; margin-bottom: 5px; }
.mapa_ul3 { list-style-type: disc; padding-left: 20px; margin-bottom: 5px; }
.mapa_ul3 li::marker { color: rgba(0,0,0,0.45); }
.mapa_ul3 a { color: black; font-weight: 400; font-size: 95%; }
.mapa_ul4 { list-style-type: circle; padding-left: 20px; }
.mapa_ul4 a { color: rgba(0,0,0,1); font-size: 90%; font-weight: 300; }
.mapaweb.altres a { font-weight: normal; font-size: 18px; color: rgb(102,109,112); display: inline-block; }


.noticies { break-inside: avoid-column; }
.noticies a { color: black; }
.noticies .titol { font: 1.4em/1.2em Freeman, sans-serif; margin-top: 25px; margin-bottom: 5px; text-align: left; }
.noticies .intro { font: 1.2em/1.4em Merriweather, Sans-serif; font-weight: 300; text-align: left; color: rgba(0,0,0,0.8); }
.noticies .intro span { border-radius: 5px; display: inline-block; background: rgba(0,0,0,0.07); border: 1px solid rgba(0,0,0,0.2); color: rgba(0,0,0,0.6); padding: 2px 5px; margin-right: 5px; font: 80% 'Libre Franklin', Sans-serif; }

.proces { border-top: 1px solid gray; padding: 10px 0; margin-top: 15px; }
.nom_proces { font-weight: bold; margin-bottom: 5px; text-align: left; font-size: 110%; line-height: 1.3em; }
.noticies .intro { font: 1em/1.4em 'Libre Franklin', Sans-serif; font-weight: 300; text-align: left; }

.glossari .titol { font: 1.4em/1.2em Freeman, sans-serif; margin-top: 25px; margin-bottom: 5px; text-align: left; break-after: avoid; }
.glossari .txt { line-height: 1.4em; }


.sabiesLlista { list-style: none; margin: 0 -1%; padding: 0; }
.sabiesLlista li { float: left; width: 23%; margin: 0 1% 30px 1%; }
.sabiesLlista a { display: flex; align-items: center; justify-content: center; height: 100px; padding: 5px 10px; border: 1px solid black; text-align: center; background: rgba(193,56,40, 0.1); color: black; line-height: 1.2em; border-radius: 20px; border: 1px solid rgba(193,56,40, 0.5); }
.sabiesLlista a:hover { background: rgba(193,56,40, 1); color: white; }
.sabies .titol-grup { position: relative; height: 200px; margin-bottom: 15px; }
.sabies .titol { position: absolute; left: 0; bottom: 0; width: 50%; font: 2.2em/1.2em Freeman, sans-serif; text-align: left; margin-bottom: 0; padding-right: 20px; }
.sabies .titol span { font-size: 0.7em; color: rgba(193,56,40, 1); padding: 3px 5px; font-family: 'Merriweather Sans', sans-serif; display: block; font-weight: 500; text-transform: uppercase; margin-bottom: 5px; }
.sabies .foto { position: absolute; left: 50%; width: 50%; height: 200px; overflow: hidden; }
.sabies .foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; }

/*** SELECCIÓ OBJECTES *********************************************/
.menuObjectes { list-style: none; margin: 0; padding: 0; margin-top: 25px; }
.menuObjectes li { float: left; margin: 0; padding: 0; width: 22%; margin: 0 1.5% 24px 1.5%; }
.menuObjectes a { display: block; box-shadow: 2px 2px 12px rgba(0,0,0,0.4); overflow: hidden; height: 300px; border-radius: 15px; text-align: center; color: black; line-height: 1.2em; background: rgba(193,56,40, 0.15); }
.menuObjectes .foto { background: white; display: block; height: 175px; width: 100%; padding: 0; border-radius: 15px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 10px; }
.menuObjectes img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.menuObjectes .nom { font-size: 110%; line-height: 1.3em; font-weight: 700; margin: 15px; margin-bottom: 7px; text-align: center; }
.menuObjectes .intro { font-size: 85%; line-height: 1.2em; font-weight: 400; margin: 0 10px; text-align: center; letter-spacing: -0.3px; }
.menuObjectes .tipus { font-size: 85%; line-height: 1.2em; font-weight: 400; margin: 0 10px; text-align: center; letter-spacing: -0.3px; text-transform: uppercase; opacity: 0.8; }
.menuObjectes a:hover { background: rgba(193,56,40, 0.5); text-decoration: none; }
.menuObjectes a:hover img { opacity: 0.6; }
.menuObjectes a:hover .nom { border-color: rgba(255,255,255,0.5); }

.menuObjectes li.w100 { width: 97%; margin: 0 1.5% 24px 1.5%; }

.menuObjectes.mediateca li { width: 30.33%; margin-bottom: 35px; }
.menuObjectes.mediateca .foto { height: 200px; }
.video-wrapper { position: relative; background: black; display: block; height: 0; width: 100%; padding-bottom: 56.25%; overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }


/*** MODIFICACIÓ AGENDA EMBED ********************************************/
.age-prog li { float: left; display: block; width: 22%; box-shadow: 1px 3px 15px rgba(0,0,0,0.25); border-radius: 8px; margin: 1.5%; overflow: hidden; position: relative; }
.age-prog.expos li { width: 30%; }
.age-prog.cols-inici li { width: 30%; }
.age-prog a { background: white; display: block; height: 355px; }
.age-prog .foto { height: 163px; box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.2); overflow: hidden; }
.age-prog .foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.age-prog h3 { margin: 10px; margin-bottom: 7px; color: black; font-family: HelveticaNeueB, Sans-serif; font-size: 1.2em; }
.age-prog p.tagged { font: 0.85em/1.2em 'Merriweather Sans', Sans-serif !important; font-weight: 300 !important; margin: 5px 10px 5px 10px; text-align: left; }
.age-prog p.tagged span { margin-right: 0; text-align: left; }
.age-prog p.tagged.lloc { font-size: 0.9em; font-weight: bold; margin-bottom: 8px; }
.age-prog p.tagged.data { font-weight: bold; }
.age-prog p.tagged.ambit { font-size: 0.9em; margin-top: -4px; margin-right: 20px; color: rgba(0,0,0,0.5); }
.age-prog p.tipus { font: 0.90em 'Noto Serif', Serif; margin: 5px 10px 5px 10px; text-align: left; text-transform: uppercase; color: black; }
.age-prog p.desc { font: 0.9em HelveticaNeueRegular, Arial, Sans-serif; margin: 12px 10px 0 10px; text-align: left; }
.age-prog div.peu_ambit { position: absolute; bottom: 2px; }
.age-prog a:hover div.foto { background-color: rgb(); background-blend-mode: luminosity; transition: all .3s; -webkit-transition: all .3s; }
.age-prog a .tagged, .age-prog a .desc { color: #373432; }
.age-prog a:hover { background: rgba(,0.4); color: white; text-decoration: none !important; }
.age-prog a:hover h3, .age-prog a:hover h3 span, .age-prog a:hover p.tagged, .age-prog a:hover p.tipus, .age-prog a:hover p.ambit span { color: rgb() !important; }
.age-prog i.fa-solid, .age-prog i.fa-regular { opacity: 0.5; margin-right: 5px; }
.age-prog.columnes-3 li { width: 30.33%; }
.age-prog.columnes-3 .foto { height: 180px; }
#resultats h3 { display: none; }


.audioguies { list-style: none; margin: 30px 0; padding: 0; }
.audioguies li { float: left; margin: 0 1% 15px 1%; padding: 0; width: 18%; }
.audioguies li a { display: block; padding: 30px 20px; text-align: center; border: 1px solid rgba(193,56,40, 0.5); border-radius: 14px; color: rgb(193,56,40); background: rgba(193,56,40, 0.1); text-transform: uppercase; }
.audioguies li a:hover { background: black; color: white; }

.publicacions { list-style: none; margin: 80px 0 0 0; padding: 0; }
.publicacions li { float: left; width: 31.333%; margin: 0 1% 30px 1%; text-align: center; height: 370px; }
.publicacions .portada { height: 250px; position: relative; }
.publicacions img { box-shadow: 7px 7px 20px rgba(0,0,0,0.30); width: 50%; margin-bottom: 25px; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 0); }
.publicacions .portada.sagaro img { width: 63%; }
.publicacions .titol { font: 1.1em 'Merriweather Sans', Sans-serif; font-weight: 600; text-align: center; margin-bottom: 10px; }
.publicacions .titol span { white-space: nowrap; }
.publicacions .data { font: 0.95em 'Merriweather Sans', Sans-serif; font-weight: 300; text-align: center; border-top: 1px solid rgba(0,0,0,0.2); padding-top: 10px; margin: 0 35%; }
.publicacions a { color: black; }
.publicacions a:hover { text-decoration: none; color: #975b00; }
.publicacions a:hover img { opacity: 0.5; }
.portada-llibre img { width: 90%; box-shadow: 7px 7px 20px rgba(0,0,0,0.30); }
.altres-pub p { border-top: 1px dotted rgba(0,0,0,0.5); padding: 15px 0; margin: 0; font: 0.95em 'Merriweather Sans', sans-serif; font-weight: 300; }
.altres-pub p a { font-weight: 600; }
.txt.info-edicio { font-family: 'Merriweather Sans', sans-serif; line-height: 1.3em; font-size: 95%; border-top: 1px solid rgba(0,0,0,0.5); padding-top: 15px; border-bottom: 1px solid rgba(0,0,0,0.5); padding-bottom: 15px;margin-top: 20px; color: rgba(0,0,0,0.85); }
.pub-titol { font-family: Freeman, sans-serif; text-transform: none; font-weight: normal; font-size: 1.9em; }
.pub-data { font-weight: 600; font-size: 120%; }


.conferencies { list-style: none; margin: 20px 0 0 0; padding: 0; }
.conferencies li { float: left; width: 23%; margin: 0 1% 30px 1%; text-align: center; height: 350px; }
.conferencies .cartell { height: 250px; position: relative; }
.conferencies img { box-shadow: 7px 7px 20px rgba(0,0,0,0.30); height: 200px; margin-bottom: 25px; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 0); }
.conferencies .titol { font: 1.1em 'Merriweather Sans', Sans-serif; font-weight: 600; text-align: center; margin-bottom: 10px; }
.conferencies .titol span { white-space: nowrap; }
.conferencies .data { font: 0.95em 'Merriweather Sans', Sans-serif; font-weight: 300; text-align: center; border-top: 1px solid rgba(0,0,0,0.2); padding-top: 10px; margin: 0 35%; }
.conferencies a { color: black; }
.conferencies a:hover { text-decoration: none; color: #975b00; }
.conferencies a:hover img { opacity: 0.5; }

#ajadmin_baners { background: none !important; font: 16px 'Libre Franklin', Sans-serif !important; font-weight: 600; }
.slick-slider { font: 16px 'Libre Franklin', Sans-serif !important; font-weight: 600; }


.galeria { margin-top: 5px; }
.galeria ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.galeria li { width: 16.667%; aspect-ratio: 1/1; overflow: hidden; float: left; margin: 24px 1% 0 1%; padding: 0; position: relative; }
.galeria li img { width: 100%; height: 100%; object-fit: cover; }

.proces { border-top: 1px solid gray; padding: 10px 0; margin-top: 15px; }
.nom_proces { font-family: 'Merriweather Sans', sans-serif; font-weight: 600; margin-bottom: 5px; text-align: left; font-size: 120%; line-height: 1.3em; letter-spacing: -0.3px; }

.tarifes { margin-bottom: 25px; margin-top: 20px; }
.tarifes h2 { margin-top: 0; margin-left: 0; background: rgba(193,56,40,0.5); color: white; margin: -5px -15px auto -15px; text-align: center; padding: 4px 15px 2px 15px; }
.tarifes div { background: #E7E4E2; padding: 5px 15px 5px 15px; }
.tarifes .preu { font: 2em Merriweather, Serif; font-weight: 900; color: #666; margin: 10px 0 0 0; text-align: center; }
.tarifes .preu span { font-size: 85%; font-weight: 300; }
.tarifes p.titol { font: 0.9em 'Libre Franklin', Sans-serif; font-weight: 600; color: #333; margin: 5px 0 10px 0; text-align: center; }
.tarifes p { font-size: 90%; color: #333; margin: 0 0 5px 0; text-align: center; line-height: 1.5em; }

.avisos { background: rgb(254,246,159); box-shadow: inset 0 0 12px rgba(0,0,0,0.2); }

.llista { list-style: none; }
.llista li { margin-bottom: 10px; }
.llista li:before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f138"; font-size: 80%; vertical-align: 1px; color: rgb(166,157,141); margin-left: -23px; margin-right: 8px; }
.llista.txt { line-spacing: 24px; }
.links p { line-height: 1.4em; font-size: 90%; }
.llista b { font-weight: 600; }
.llista ul { margin-top: 15px; list-style: none; }

#baner1 { border: 1px solid rgba(0,0,0,0.2); background: url(img/baner_audioguia.jpg) no-repeat rgba(217,73,43,1); background-size: auto 100%; background-position: -10px, 0; line-height: 1.8em; }
#baner1:hover { text-decoration: none !important; }
#baner1:hover p { text-decoration: none !important; color: black; }
#baner1 p { margin-left: 180px; margin-right: 30px; margin-top: 7px; color: white; font-size: 1.5em; font-weight: normal; }

#baner2 { border: 1px solid rgba(0,0,0,0.2); background: rgba(255,218,38,1); }
#baner2 img { float: left; width: 30%; margin-right: 20px; margin-top: -5px; margin-left: 20px; }
#baner2 h2 { font-size: 1.4em; padding-top: 5px; margin-bottom: 5px; margin-top: 10px; }
#baner2 p { line-height: 1.2em; margin-right: 20px; }


.data-hora { font-family: Arial, Sans-serif; font-weight: 300; font-size: 100%; opacity: 0.7; letter-spacing: -0.3px; }

.intro-inici { font-family: 'Libre Franklin', Sans-serif; font-weight: 600; font-style: italic; text-align: left; font-size: 20px; line-height: 36px; letter-spacing: -0.2px; margin: 0; color: rgb(193,56,40) }

.box-taula { border: 1px solid rgba(0,0,0,.3); border-top: 5px solid rgba(193,56,40,0.5); padding: 0; background: white; margin-bottom: 15px; }
.box-taula ul { list-style: none; margin: 0 0 0 15px; padding: 0; }
.box-taula li { margin: 0; padding: 0 0 0 10px; border-top: 1px solid rgba(0,0,0,.3); }
.box-taula li:before { content: "\25C6"; color: rgba(193,56,40, 0.5); float: left; padding-top: 6px; margin-left: -5px; }
.box-taula li a { padding: 10px 15px; display: block; font-weight: 600; color: black; line-height: 1.2em; }
.box-taula li::marker { color: rgb(193,56,40); }
.box-taula .etiqueta { font-weight: 600; font-size: 1.3em; margin: 14px 10px 10px 15px; color: rgb(193,56,40); }
.box-taula span.data-hora { display: inline-block; font-family: Arial, Sans-serif; font-weight: 300; font-size: 90%; opacity: 0.7; }


/* CONFERENCIES */
.conf { border: 1px solid rgba(193,56,40,0.5); }
.conf tr:nth-child(odd) { background: rgba(255,255,255,1); }
.conf tr:nth-child(even) { background: rgba(255,255,255,0.1); }
.conf th { padding: 12px 20px; font-size: 1em; font-family: 'Merriweather Sans', sans-serif; font-weight: 600; background: rgba(193,56,40,0.6); color: white; }
.conf td { padding: 12px 20px; font-size: 1em; font-family: Merriweather, serif; }
.conf a { font-weight: 600; }
.conf td:first-child { border-right: 1px dashed rgba(193,56,40,0.5); }


/* EDUCACIO */
.edu { width: 48%; margin: 0 1% 25px 1%; float: left; height: 165px; overflow: hidden; border-radius: 12px; /*border: 1px solid rgba(0,0,0,0.25);*/ background: rgba(102,109,112,0.15); }
.edu img { width: 100%; height: 100%; }
.edu .foto { width: 200px; height: 165px; float: left; background-image: url(//www.girona.cat/adminwebs/docs/m/h/mhg.comptant_el_temps_el_teu_rellotge_de__la_catedral_d.jpg); background-position: center center; background-size: cover; }
.edu p { font-family: 'Merriweather Sans', sans-serif; margin: 0 15px 5px 215px; font-size: 0.9rem; line-height: 1.2em; color: rgb(33, 37, 41); font-weight: 300; text-align: left; }
.edu p.titol { font-family: Freeman, sans-serif; font-size: 1.2em; line-height: 1.1em; font-weight: 500; margin-top: 15px; margin-bottom: 10px; color: #900; }
.edu a:hover { text-decoration: none !important; }
.edu:hover { background: #B7B4B2; border-color: #B7B4B2; cursor: pointer; transition: all .3s; -webkit-transition: all .3s; }
.edu:hover a { color: white !important; }
.edu:hover a p { color: white !important; }
.edu:hover .foto { opacity: 0.5; transition: all .3s; -webkit-transition: all .3s; }



.edufoto { width: 100%; height: 320px; overflow: hidden; background-image: url(//www.girona.cat/adminwebs/docs/m/h/mhg.comptant_el_temps_el_teu_rellotge_de__la_catedral_d.jpg); background-position: center center; background-size: cover; margin-bottom: 0; position: relative; }
.edufoto p { position: absolute; bottom: 0; right: 0; background: rgba(0,0,0,0.3); color: white; margin: 0; font-size: 90%; padding: 2px 10px; font-weight: normal; }
.edudocs { background: rgba(102,109,112,0.15); margin-top: 0; padding-bottom: 1px; margin-bottom: 25px; }
.edudocs h3 { background: rgb(193,56,40); color: white; font-size: 18px; margin-top: 0; padding: 7px 15px; margin-bottom: 20px; }
.edudocs p { margin: 0 15px 15px 15px; text-align: left; line-height: 1.2em; text-indent: -11px; padding-left: 22px; }
.edudocs p i { margin-right: 5px; vertical-align: -1px; }
.edudocs a { font-weight: bold; }


.taula_responsive { overflow-x: auto; }
.taula_div { overflow-x: auto; }
.taula_div table { border-bottom: 3px solid rgba(70,75,65,0.3); margin-bottom: 1rem;/* background: rgba(255,255,255,0.45);*/ }
.taula_div table th { background: rgba(70,75,65,0.3); padding: 6px 10px; text-transform: uppercase; color: white; }
.taula_div table td { border-top: 2px solid rgba(193,56,40,0.3); padding: 6px 10px; }
.taula_div table td:first-child { padding-right: 3rem; }
.taula_div table td:last-child { text-align: right; }
.taula_div table tr.linia-punts td { border-top: 2px dashed rgba(52,58,64,0.2); }

.taula_div.dreta table td { text-align: right; }
.taula_div.dreta table td:first-child { text-align: left; }

/**** LOGO  ***********************************************/
table.logos { margin-left: 0; margin-top: 15px; width: 100%; margin-bottom: 20px; }
table.logos img { border: none; width: 33px; height: 42px; margin-bottom: 5px; }
table.logos div { padding: 10px 0 10px 0 }
table.logos th { background: #A19F9E; font: bold 0.95em Freeman, Sans-serif; font-weight: 500; text-align: center; width: 25%; text-transform: uppercase; color: #FFF; padding: 10px 0 10px 0; border-left: 1px solid white; }
table.logos td { background: #E7E4E2; font: bold 0.85em 'Merriweather Sans', Sans-serif; text-align: center; border-left: 1px solid #FFF; width: 25% }
table.logos th:first-child { border-top-left-radius: 12px; }
table.logos th:last-child { border-top-right-radius: 12px; }




/* PEU */
section { padding: 30px 0 15px 0; }
section .section-title { text-align: center; color: #007b5e; margin-bottom: 50px; text-transform: uppercase; }
/*#footer { box-shadow: 0 5px 150px rgba(0,0,0,0.75) inset; }*/
#footer { padding-bottom: 0; }
#footer .address {  }
#footer .zona1 { width: 1200px; margin: 0 auto; border-top: 1px dashed rgba(0,0,0,0.3); color: rgba(0,0,0,0.6); text-align: center; padding: 8px 0; font-size: 85%; }
#footer .zona1 b { font-weight: 600; }
#footer .zona2 { margin-top: -30px; }
#footer .zona3 { background: rgb(52,58,64); padding: 15px 10px 5px 10px; box-shadow: 0 5px 200px rgba(0,0,0,0.85) inset; }
.peufinal { text-align: center; font-weight: 300;}
#footer h5 { padding-left: 10px; border-left: 3px solid #eeeeee; padding-bottom: 6px; margin-bottom: 20px; color: rgba(0,0,0,0.55); }
#footer a { color: white; text-decoration: none !important; background-color: transparent; -webkit-text-decoration-skip: objects; }
#footer .zona3 a, #footer p { color: white; }
#footer ul.social li{ padding: 3px 15px; }
#footer ul.social li a i { margin-right: 5px; font-size:25px; -webkit-transition: .5s all ease; -moz-transition: .5s all ease; transition: .5s all ease; }
#footer ul.social li:hover a i { font-size:30px; margin-top:-10px; }
#footer ul.social li a,#footer ul.quick-links li a{ color:rgba(0,0,0,0.55); }
#footer ul.social li a:hover{ color:#000; }
#footer ul.quick-links li { padding: 3px 0; -webkit-transition: .5s all ease; -moz-transition: .5s all ease; transition: .5s all ease; }
#footer ul.quick-links li:hover { padding: 3px 0; margin-left:5px; font-weight:700;color: black; }
#footer ul.quick-links li a:hover { color: black; }
#footer ul.quick-links li a i { margin-right: 5px; }
#footer ul.quick-links li:hover a i { font-weight: 700;color: black; }
#footer span { display: inline-block; margin: 0 10px; }
a.logo_ajgi { margin-top: 5px; }
a.logo_ajgi img { width: 180px; margin-bottom: 0px; }
a.logo_call { margin-top: 10px; }
a.logo_call img { width: 200px; margin-top: 10px; margin-right: 50px; margin-bottom: 0px; }
a.logogc img { width: 110px; margin-left: 50px; }

.logo_indika, .logo_argonautes { width: 200px; }
.logo_acciosocial { width: 180px; }
.logo_ajgi:hover, .logo_call:hover, .logogc:hover { opacity: 0.3; }

.peu-botons { padding-top: 10px; margin-bottom: 20px; }
.peu-botons .btn { border-radius: 14px; margin: 0 5px; padding-bottom: 8px; border-color: rgba(248,249,250,1); }
.peu-botons .btn:hover { background: white !important; color: black !important; }
.peu-botons .selected { background: white !important; color: black !important; }


.requadre { background: rgba(231,176,76,0.1); border: 1px solid rgba(166,157,141,1); padding: 15px; border-radius: 20px; margin-top: 15px; }

.color2 { color: rgb(70,75,65); }
.box { background: rgba(193,56,40,0.1); border: 1px solid rgba(193,56,40,0.35); border-radius: 10px; padding: 1rem 1rem 0.25rem 1rem; margin-bottom: 20px; }
/*.box-visita { background: white; border: 1px solid rgba(70,75,65,1); border-radius: 10px; padding: 1rem 1rem 0.25rem 1rem; margin-bottom: 20px; }*/
.box.v2 { background: white; border-color: rgba(70,75,65,1); border-style: dashed; }
.box.arribar { height: 470px; position: relative; }

h4.icona-fa { text-align: center; margin-bottom: 20px; }
h4.icona-fa i { margin-bottom: 5px; }

#menu_interior { margin-bottom: 25px; text-align: center;  }
#menu_interior ul { list-style: none; margin: 30px 0 -20px 0; padding: 0; border-top: 3px dashed rgb(102,109,112);border-bottom: 6px solid rgb(102,109,112);  }
#menu_interior li { margin: 0; padding: 0; display: inline-block; }
#menu_interior a { display: block; border-bottom: 6px solid rgb(102,109,112); padding: 7px 15px; text-transform: uppercase; margin-bottom:-6px; color: rgba(193,56,40,0.8); }
#menu_interior .selected a { border-bottom: 6px solid rgb(231,176,76); color: black; }

/* CERCADOR GOOGLE */
.gsc-search-button-v2 { background-color: rgba(193,56,40,1) !important; border-color: rgba(193,56,40,1) !important; }
.gsc-search-button-v2:hover { background-color: black !important; border-color: black !important; }
.gsc-input { font-family: 'Libre Franklin', Sans-serif; font-weight: 400; font-size: 20px; }



.btn-primary { background-color: rgba(70,75,65,1); border-color: rgba(70,75,65,1); padding-bottom: 8px; }
.btn-primary:hover { background-color: rgba(193,56,40,1); border-color: rgba(70,75,65,1); }
.btn { margin-top: 15px; }
.btn .fas { margin-right: 5px; }
.btn-tornar { display: block; background-color: white; border-color: rgba(70,75,65,1); padding-bottom: 8px; color: rgba(70,75,65,1) }
.btn-tornar:hover { background-color: rgba(193,56,40,1); color: white; }


.infotable { border-top: 1px solid rgba(0,0,0,0.2); border-bottom: 1px solid rgba(0,0,0,0.2); margin: 22px 0;}
.infotable td { padding: 4px 10px; }
.infotable td:first-child { font-weight: 600; }

.icon-large { font-size: 7rem;  opacity: 0.2; }

/*
.fotos-grup { background: rgba(102,109,112,0.15); padding: 10px 10px 10px 10px; margin-top: 10px; font-family: 'Libre Franklin', Sans-serif; font-weight: 300; font-size: 20px; }
.fotos-article { list-style: none; margin: 0; padding: 0; width: 100%; }
.fotos-article li { width: 30.33333%; aspect-ratio: 1; overflow: hidden; float: left; margin: 17px 4.5% 0 0; padding: 0; position: relative; }
.fotos-article li:nth-child(3n+1) { margin-right: 0; }
.fotos-article li:first-child { margin-top: 0; width: 100%; float: none; aspect-ratio: auto; }
.fotos-article li img { width: 100%; height: 100%; object-fit: cover; }
.fotos-peu { margin-top: 20px; margin-bottom 20px; font-size: 13px; line-height: 16px; color: rgb(70,75,65); }
.fotos-peu b { font-weight: 600; color: rgb(70,75,65); }
.fotos-peu span { opacity: 0.8; }
img.top { object-position: top; }
*/
.fotos-grup { background: rgba(193,56,40,0.15); padding: 10px 10px 10px 10px; margin-top: 0px; font-family: 'Merriweather Sans', Sans-serif; font-weight: 300; font-size: 20px; }
.fotos-article { list-style: none; margin: 0; padding: 0; width: 100%; }
.fotos-article li { width: 30.33333%; aspect-ratio: 1; overflow: hidden; float: left; margin: 17px 4.5% 0 0; padding: 0; position: relative; }
.fotos-article li:nth-child(3n+1) { margin-right: 0; }
.fotos-article li:first-child { margin-top: 0; width: 100%; float: none; aspect-ratio: auto; }
.fotos-article li img { width: 100%; height: 100%; object-fit: cover; }

.fotos-article.quadrat li:first-child { aspect-ratio: 1/1; }

.fotos-grup.grid-2x { background: none; padding: 0; }
.fotos-grup.grid-2x .fotos-article li { aspect-ratio: 1/1; box-sizing: border-box; width: calc(50% - 15px); padding:0; margin: 0; margin-bottom: 29px; border: 10px solid rgba(193,56,40,0.15); }
.fotos-grup.grid-2x .fotos-article li:first-child { width: calc(50% - 15px); float: left; margin: 0; }
.fotos-grup.grid-2x .fotos-article li:nth-child(odd) { margin-right: 15px; }
.fotos-grup.grid-2x .fotos-article li:nth-child(even) { margin-left: 15px; }

.fotos-grup.mini { background: rgba(102,109,112,0.15); margin-top: -10px; }
.fotos-grup.mini .fotos-article li { width: auto; height: 150px; aspect-ratio: 1; overflow: hidden; float: left; margin: 0 10px 0 0; padding: 0; position: relative; }
.fotos-grup.mini .fotos-article li:first-child { margin-top: auto; width: auto; float: left; aspect-ratio: 1; }

.article-icona { color: white; font-size: 10rem; }


.horaris, .horaris p { font-family: 'Merriweather Sans', sans-serif; text-align: center; font-weight: 400; }
.disc_horari { width: 120px; height: 120px; margin-bottom: 10px; }
.boxed { background: rgba(102,109,112,0.2); border-radius: 12px; border: 5px solid white; margin-bottom: 20px; padding-top: 10px }
ul.preus { list-style: none; margin: 20px 0 0 0; padding: 0 }
ul.preus li { background: white; float: left; width: 32.5%; border: 1px solid rgba(0,0,0,0.4); margin: 0 0.75% 15px 0.75%; height: 340px; overflow: auto; text-align: center; }
ul.preus li:first-child { width: 18.5%; }
ul.preus li:last-child { width: 44.5%; }
ul.preus li:hover { /*cursor: pointer; opacity: 0.7;*/ }
ul.preus p { font-family: 'Merriweather Sans', sans-serif; font-size: 0.95em; line-height: 1.40em; color: #333; margin: 0; padding: 0 15px 10px 15px; text-align: justify; text-align-last: center; }
ul.preus p b { font-weight: 600; }
ul.preus p.titol { font: 20px/22px Freeman, Sans-serif; color: #000; padding-top: 15px; text-align: center; color: rgb(193,56,40); }
ul.preus p.preu { font: 30px/26px Freeman, Sans-serif; color: #000; font-weight: 700; background: rgba(193,56,40,0.3); padding: 20px 0; text-align: center; }
ul.preus p.preu span { font-weight: 400; opacity: 0.7; font-size: 22px; }
ul.preus .btn { font-size: 90%; }

ul.preus ul { margin-top: 10px; margin-left: -20px; }
ul.preus ul li { clear: both; width: auto !important; border: none; margin: 0; height: auto; text-align: left; }
ul.preus ul li:before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f138"; font-size: 80%; vertical-align: 1px; color: rgb(166,157,141); margin-left: 0px; margin-right: 8px; }
ul.preus.grup li { height: 150px; width: 31.833% !important; }

.bus { font-family: 'Merriweather Sans', sans-serif; text-align: left; }
.bus span { display: inline-block; background: gray; color: white; font-family: Oswald, Sans-serif; font-weight: 700; padding: 5px 0 6px 0; width: 35px; margin: 0 2px;text-align: center; }
.bus span.L1 { background-color: #FE003B; }
.bus span.L2 { background-color: #FFBE3D; }
.bus span.L3 { background-color: #008043; }
.bus span.L4 { background-color: #02A3CF; }
.bus span.L5{ background-color: #0071B4; }
.bus span.L6 { background-color: #916FB1; }
.bus span.L7 { background-color: #F6009A; }
.bus span.L8 { background-color: #A1908D; }
.bus span.L9 { background-color: #000; }
.bus span.L10 { background-color: #FF793D; }
.bus span.L11 { background-color: #42B649; }
.bus span.L12 { background-color: #921A1D; }
h4.icona-fa { color: rgb(193,56,40); }
.gros { font-size: 2em; color: rgba(102,109,112,0.7) }

.faq { margin-top: 20px; list-style: none; }
.faq li:before { content: "\25C6"; color: rgba(193,56,40, 0.5); float: left; margin-left: -25px; margin-top: -1px; font-size: 1.2em; }
.faq .pregunta { font-family: 'Merriweather Sans', sans-serif; font-size: 105%; font-weight: 500; margin-bottom: 2px; margin-top: 0; }
.faq .resposta { font-family: 'Merriweather', serif; margin-bottom: 15px; margin-top: 0; }




/* FORMS */
.avis_recaptcha { border: 2px dashed red; border-radius: 10px; padding: 15px; font-weight: bold; background: white; margin-top: 20px; margin-bottom: 20px; color: #F00; text-align: center; }

.formphp { margin: 0 0 20px 0; padding: 10px 15px; background: rgba(166,157,141, 0.2); border: 1px solid rgba(166,157,141, 0.5); border-left: none; border-right: none; }
.formphp h2 { font: 1.8em 'Oswald', Sans-serif; color: rgba(166,157,141,1); margin: 0 0 10px 0; }
.formphp legend { color: rgba(166,157,141,0.6); font-size: 1.3em; font-weight: bold; border-bottom: 2px dotted rgba(166,157,141,0.3); padding-top: 15px; margin-bottom: 10px; }
.form-group label { font-size: 1.05em; font-family: 'Libre Franklin', Sans-serif; font-weight: 700; }
.form-group label.radio-inline, form .form-group label.checkbox { font-size: 16px; font-weight: 400; }
.form-group label.checkbox:hover { cursor: pointer; }
.form-group select { padding: 5px 10px; border-radius: 5px; border-color: rgba(0,0,0,0.3); color: rgba(0,0,0,0.9); font-weight: 300; }
.form-group input { color: rgba(0,0,0,0.9); font-weight: 300; }
.g-recaptcha { margin: 10px 0; }
.rc-anchor-light { background-color: rgba(255,255,255,0.5) !important; } /* Recaptcha */
.form_botons { background: rgba(0,0,0,0.15); margin: 0 -15px -10px -15px; padding: 0 15px 10px 15px; border-top: 1px solid rgba(166,157,141, 0.5); text-align: center; }

.radio-inline { margin-right: 15px; }
.radio-label { font-size: 0.95em; }

.infografia { text-align: center; background: rgba(166,157,141,0.6); color: white; border-radius: 12px; padding: 15px 0 5px 0; margin-top: 10px; width: 100%; }
.infografia img { height: 50px; }
.infografia p { text-align: center; font: 1.05em 'Libre Franklin', Sans-serif; font-weight: 600; }
.infografia p span { display: block; font: 1.5em Oswald, Sans-serif; padding: 5px 0; color: rgba(0,0,0,0.6); }
.infografia i { font-size: 3em; }

.bib { width: 31.333%; margin: 0 1% 25px 1%; float: left; height: 200px; overflow: hidden; background: white; border-radius: 10px; color: black; position: relative; }
.bib:hover { text-decoration: none; }
.bib .titol { margin: 15px 10px 8px 10px; text-align: left; font: 18px/1.2em Freeman, Sans-serif; font-weight: 300; letter-spacing: -0.2px; }
.bib .txt { margin: 0 10px 15px 10px; text-align: left; font: 0.9em/1.2em 'Merriweather Sans', sans-serif; color: rgba(0,0,0,0.7); }
.bib .tipus { font: 0.7em 'Libre Franklin', Sans-serif; font-weight: 400; color: rgba(0,0,0,0.8); background: rgba(166,157,141,0.2); padding: 3px 10px; text-transform: uppercase; display: inline-block; margin-left: 10px; }
.bib .corner { background-color: #D1D0CD; height: 100px; right: -50px; position: absolute; top: -50px; width: 60px; -webkit-transform: rotate(-45deg); }
.bib:hover { background: #F5DFB7; }
.bib.seminari { height: 150px; }

table.biblioFitxa { border: 1px solid rgba(0,0,0,0.3); width: 100%; background: rgba(231,176,76,0.1); }
table.biblioFitxa td { border-top: 1px dashed rgba(0,0,0,0.3); vertical-align: top; padding: 5px }
table.biblioFitxa p { font: 1em 'Merriweather Sans', Sans-serif; margin: 0 10px 5px 10px; text-align: left; color: rgba(0,0,0,0.85); }
table.biblioFitxa p.titol { font: 1.25em/1.3em 'Libre Franklin', Sans-serif; font-weight: 700; margin: 0 10px 5px 10px; color: black }
table.biblioFitxa p.label { margin: 3px 0 5px 10px; font: 0.7em 'Merriweather Sans', Sans-serif; font-weight: 600; text-transform: uppercase; color: rgba(0,0,0,0.55); }

span.inactiu { color: #999 }

.quatre-col { column-count: 4; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 50px; }
.tres-col { column-count: 3; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 50px; }
.dues-col { column-count: 2; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 50px; }
.col-no-break { break-inside: avoid-column; }
.ref { margin-bottom: 25px; }

.taula_responsive { overflow-x: auto; }
.taula_div { overflow-x: auto; }
.taula_div table { border-bottom: 3px solid rgba(70,75,65,0.3); margin-bottom: 1rem;/* background: rgba(255,255,255,0.45);*/ }
.taula_div table th { background: rgba(70,75,65,0.3); padding: 6px 10px; text-transform: uppercase; color: white; }
.taula_div table td { border-top: 2px solid rgba(193,56,40,0.3); padding: 6px 10px; }
.taula_div table td:first-child { padding-right: 3rem; }
.taula_div table td:last-child { text-align: right; }
.taula_div table tr.linia-punts td { border-top: 2px dashed rgba(52,58,64,0.2); }

.taula_div.dreta table td { text-align: right; }
.taula_div.dreta table td:first-child { text-align: left; }



.fons_postit { background: rgba(245,208,58,0.3); padding: 0.5rem !important; color: rgba(0,0,0,0.7); }
.fons_postit h1 { margin-top: 25px;font-size: 2rem;}
.fons_postit img { height: 120px; opacity: 0.8; }
.fons_postit .col-md-5 { text-align: right; }
.fons_postit p { font-weight: bold; }

.xarxes-inici { background: rgb(102,109,112); }
.snapwidget-widget {height: 460px; }
.fb-page { background: white; position: absolute !important; right: 10px !important; }






.formcerca { display: block; margin: 0px 20px 20px 20px; padding: 10px 15px; background: rgba(166,157,141, 0.2); border: 1px solid rgba(166,157,141, 0.75); border-left: none; border-right: none; }
.formcerca h2 { font: 1.8em 'Oswald', Sans-serif; color: rgba(166,157,141,1); margin: 0 0 10px 0; }
form.formcerca legend { color: rgba(166,157,141,0.6); font-size: 1.3em; font-weight: bold; border-bottom: 2px dotted rgba(166,157,141,0.3); padding-top: 15px; }
form .form-group label { font-size: 0.95em; }

.btn-group.filtres { width: 100%; }
.btn-group.filtres .input-group { display: inline-table; float: left; margin-right: 20px; }
.btn-group.filtres .btn { margin-right: 20px; border-color: rgb(227,55,45); border-radius: 5px !important; background: white; padding-left: 8px; }
.btn-group.filtres .glyphicon { margin-right: 5px; }
.btn-group.filtres .glyphicon-unchecked { color: rgba(166,157,141, 0.5); }
.btn-group.filtres .btn.selected { background: rgb(227,55,45); color: white; }
.btn-group.filtres .cercador-boto { background: rgb(227,55,45); border-color: rgb(227,55,45); color: white; border-radius: 10px; border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 3px auto; }
.btn-group.filtres .cercador-boto:hover { background: black; border-color: black; }
.btn-group.filtres .dropdown-toggle { color: #000; }
.btn-group.filtres .camp-text { position: relative; border: 1px solid rgb(166,157,141); height: 34px; border-radius: 5px !important; background: white; padding-left: 8px; width: 190px; }
.btn-group.filtres .camp-text .glyphicon { margin-right: 0; position: absolute; left: 8px; top: 8px; }
.btn-group.filtres .camp-text .form-control { box-shadow: none; position: absolute; top: 4px; left: 28px; width: 125px; border: none; padding-top: 2px; padding-left: 3px; padding-right: 3px; padding-bottom: 2px; height: 24px; border-bottom: 1px dashed gray; }
.btn-group.filtres .camp-text.pelat { width: 315px; }
.btn-group.filtres .camp-text.pelat .form-control { left: 12px; width: 250px; }
.btn-group.filtres .camp-text .btn { position: absolute; width: 32px; right: 0; top: -15px; margin-right: 0; border: none; background: rgba(166,157,141, 1); color: white; border-radius: 5px; height: 32px; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.btn-group.filtres .camp-text .btn .glyphicon { display: inline-block; margin-right: 0; }
.btn-group.filtres .btn:hover { background: rgba(166,157,141, 1); color: white; }
.btn-group.filtres .btn:hover .glyphicon { color: white; }
.btn-group.filtres .camp-text:hover { background: rgba(166,157,141,1); color: white; }
.btn-group.filtres .camp-text:hover .glyphicon { color: white; }
.btn-group.filtres .camp-text:hover .form-control { background: rgba(166,157,141,1); color: white; border: 1px dashed white; }
.btn-group.filtres .camp-text:hover .btn { background: white; color: rgba(166,157,141,1);}
.btn-group.filtres .camp-text:hover .btn .glyphicon { color: rgba(166,157,141,1); }
.btn-group.filtres .camp-text:hover .btn:hover { background: black; }
.btn-group.filtres .camp-text:hover .btn:hover .glyphicon { color: white; }

.btn-group.filtres .camp-text.selected { background: rgba(166,157,141,1); }
.btn-group.filtres .camp-text.selected .glyphicon { color: white; }
.btn-group.filtres .camp-text.selected .form-control { background: rgba(166,157,141,1); color: white; border: 1px dashed rgba(255,255,255,0.7); }

/* CAROUSEL */
.carousel-item { margin-top: 122px; height: 27vw; overflow: hidden; }
.carousel-mask { /* background: linear-gradient(90deg, rgba(193,56,40,1) 0%, rgba(193,56,40,1) 10%, rgba(193,56,40,0) 30%, rgba(193,56,40,0) 70%, rgba(193,56,40,1) 90%, rgba(193,56,40,1) 100%);*/
    position: absolute; height: 100%; right: 0; bottom:0; left: 0; z-index: 1; padding-top: 20px; padding-bottom: 20px; color: #fff; text-align: center; }
.carousel-item img { width: 100%; position: absolute; top: 0; bottom: 0; margin: auto; }
.carousel-control-prev-icon, .carousel-control-next-icon { transform: translateY(50px) scale(2); }
.carousel-control-prev { justify-content: left; left: 30px; opacity: 0.9; }
.carousel-control-next { justify-content: right; right: 30px; opacity: 0.9; }
.carousel-indicators { margin-bottom: 10px; }
.carousel-indicators li { height: 10px; }
.carousel-textos { display: inline-block; max-width: 400px; background: rgba(0,0,0,0.6); border: 1px solid white; padding: 20px 15px 15px 15px; position: absolute; bottom: 60px; z-index: 10; font-family: 'Libre Franklin', Sans-serif; }
.carousel-textos .titol { font-weight: 700; font-size: 180%; line-height: 120%; margin-bottom: 10px; text-align: left; color: white; text-shadow: 2px 2px 8px rgba(0,0,0,1); }
.carousel-textos .subtitol { font-size: 120%; line-height: 120%; text-align: left; color: white; font-weight: normal; text-shadow: 2px 2px 6px rgba(0,0,0,1); }
.carousel-textos .btn-info { color: rgba(255,255,255,1); background: rgba(0,0,0,0); border: 1px solid rgba(255,255,255,0.5); font-weight: 300; }
.carousel-textos p { margin-bottom: 0.5rem; }
.carousel-item a { text-decoration: none !important; }
.carousel-item a:hover img { opacity: 0.7; }
.carousel-item a:hover .btn-info { background: black; border-color: black; }
.carousel-item a:hover .titol { color: white; }


.ageexpo-prog { list-style: none; margin: 0; padding: 0; margin-top: 25px !important; }
.ageexpo-prog li { display: block; float: left; margin: 0; padding: 0; width: 30.333% !important; background: none !important; margin: 0 1.5% 30px 1.5% !important; position: relative; overflow: visible !important; }
.ageexpo-prog a { display: block; box-shadow: 2px 2px 12px rgba(0,0,0,0.4) !important; overflow: hidden; height: 340px !important; background: white !important; border-radius: 12px !important; text-align: center; color: black; line-height: 1.2em; }
.ageexpo-prog .foto { background: white; display: block; height: 175px !important; width: 100%; padding: 0; margin-bottom: 10px; }
.ageexpo-prog img { width: 100%; height: 135px; object-fit: cover; }
.ageexpo-prog .age-titol { font-family: 'Libre Franklin', sans-serif; font-size: 130% !important; font-weight: 700; line-height: 1.2em; margin: 15px !important; margin-bottom: 10px !important; text-align: left; }
.ageexpo-prog .age-subtitol { font-size: 100% !important; line-height: 1.2em; font-weight: 700 !important; margin: 0 15px !important; text-align: left; letter-spacing: -0.3px; }
.ageexpo-prog.expos .foto { height: 160px !important; }
.ageexpo-prog.expos img { height: 160px !important; }
.ageexpo-prog.expos .intro { font-weight: bold !important; color: rgba(0,0,0,0.7) !important; }
.ageexpo-prog .desc { font: 0.85em/1.2em 'Libre Franklin', sans-serif; font-weight: 300; margin: 10px 15px 0 15px !important; text-align: left; letter-spacing: -0.3px; color: rgba(0,0,0,0.7) !important; text-transform: uppercase; }
.ageexpo-prog a:hover { background: black !important; color: white !important; text-decoration: none !important; }
.ageexpo-prog a:hover .foto, .ageexpo-prog a:hover img { opacity: 1 !important; }
.ageexpo-prog a:hover .age-titol, .ageexpo-prog a:hover .age-subtitol, .ageexpo-prog a:hover .desc { border-color: rgba(255,255,255,0.5); color: white !important; }

.ageexpo-prog.col4 li { width: 22%; }
.ageexpo-prog.col4 a { height: 220px; }
.ageexpo-prog.col4.h340 .nom { font-size: 110%; }
.ageexpo-prog.col4.h340 a { height: 340px; }

.ageexpo-prog2 { list-style: none; margin: 0; padding: 0; margin-top: 25px !important; }
.ageexpo-prog2 li { display: block; float: left; margin: 0; padding: 0; margin: 0 1.5% 30px 1.5% !important; width: 97% !important; background: none !important; position: relative; overflow: visible !important; }
.ageexpo-prog2 a { display: block; box-shadow: 2px 2px 12px rgba(0,0,0,0.4) !important; overflow: hidden; height: 300px !important; background: white !important; border-radius: 12px !important; text-align: center; color: black; line-height: 1.2em; }
.ageexpo-prog2 .expofoto { box-shadow: 0px 0px 10px rgba(0,0,0,0.15) inset !important; }
.ageexpo-prog2 a:hover, .ageexpo-prog2 a:hover .desc { background: black !important; color: white !important; text-decoration: none !important; }
.ageexpo-prog2 a:hover .expofoto { opacity: 1 !important; }


 .yt-video { width: 770px; height: 433px; }
 .yt-video-550 { width: 550px; height: 309px; }
 .yt-video-col9 { width: 870px; height: 489px; }
 .yt-video-col6 { width: 550px; height: 309px; }

.justificat-centre { text-align: justify; text-align-last: center; }
.no-wrap { white-space: nowrap; }


/* ESTILS DE ZONA */
.centrat { text-align: center; }
.pt-5 { padding-top: 5px; } .pt-10 { padding-top: 10px; } .pt-15 { padding-top: 15px; } .pt-20 { padding-top: 20px; } .pt-30 { padding-top: 30px; } .pt-40 { padding-top: 40px; } .pt-50 { padding-top: 50px; }
.pb-5 { padding-bottom: 5px; } .pb-10 { padding-bottom: 10px; } .pb-15 { padding-bottom: 15px; } .pb-20 { padding-bottom: 20px; } .pb-30 { padding-bottom: 30px; } .pb-40 { padding-bottom: 40px; } .pb-50 { padding-bottom: 50px; }
.pl-5 { padding-left: 5px; } .pl-10 { padding-left: 10px; } .pl-15 { padding-left: 15px; } .pl-20 { padding-left: 20px; } .pl-30 { padding-left: 30px; } .pl-40 { padding-left: 40px; } .pl-50 { padding-left: 50px; }
.pr-5 { padding-right: 5px; } .pr-10 { padding-right: 10px; } .pr-15 { padding-right: 15px; } .pr-20 { padding-right: 20px; } .pr-30 { padding-right: 30px; } .pr-40 { padding-right: 40px; } .pr-50 { padding-right: 50px; }
.mt-5 { margin-top: 5px; } .mt-10 { margin-top: 10px; } .mt-15 { margin-top: 15px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; } .mt-50 { margin-top: 50px; }
.mb-5 { margin-bottom: 5px; } .mb-10 { margin-bottom: 10px; } .mb-15 { margin-bottom: 15px; } .mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; } .mb-50 { margin-bottom: 50px; }

.bg-blanc { background: white !important; }

.bg-gris { background:  rgba(102,109,112,1); }
.bg-gris-90 { background:  rgba(102,109,112,0.9); }
.bg-gris-80 { background:  rgba(102,109,112,0.8); }
.bg-gris-70 { background:  rgba(102,109,112,0.7); }
.bg-gris-60 { background:  rgba(102,109,112,0.6); }
.bg-gris-50 { background:  rgba(102,109,112,0.5); }
.bg-gris-40 { background:  rgba(102,109,112,0.4); }
.bg-gris-30 { background:  rgba(102,109,112,0.3); }
.bg-gris-20 { background:  rgba(102,109,112,0.2); }
.bg-gris-10 { background:  rgba(102,109,112,0.1); }

.bg-col { background:  rgba(193,56,40,1); }
.bg-col-90 { background:  rgba(193,56,40,0.9); }
.bg-col-80 { background:  rgba(193,56,40,0.8); }
.bg-col-70 { background:  rgba(193,56,40,0.7); }
.bg-col-60 { background:  rgba(193,56,40,0.6); }
.bg-col-50 { background:  rgba(193,56,40,0.5); }
.bg-col-40 { background:  rgba(193,56,40,0.4); }
.bg-col-30 { background:  rgba(193,56,40,0.3); }
.bg-col-20 { background:  rgba(193,56,40,0.2); }
.bg-col-10 { background:  rgba(193,56,40,0.1); }




@media (min-width: 1200px)
{
  .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1200px; }
}

/*
.navbar-dark .navbar-nav { text-align: left; }
.navbar { -webkit-backface-visibility: hidden; padding: 0; max-width: 1200px; margin: 0 auto; }
.navbar-dark .navbar-nav .nav-link {  font-family: Oswald, Sans-serif; font-size: 16px; font-weight: 400; text-transform: uppercase; color: white; letter-spacing: 0.5px; margin: 0 0.75rem; padding: 0.25rem 0 !important; }
*/

@media only screen and (max-width: 1199px)
{
	.container { width: 100%; max-width: 100%; }
	.title-bar { padding-left: 30px; }
	.preheader { height: 80px; }
	.preheader .brand { font-size: 2.3em; padding-top: 18px; }
	.preheader .logoaj { width: 170px; top: 14px; right: 110px; }
	.bg-menu { top: 20px; right: 15px; width: auto; background: none; }
	.navbar-toggler { margin-left: auto; background: rgba(0,0,0,0.3); }
	.tira { height: 110px; margin-top: 80px; }

	.preheader.petit .navbar-dark .navbar-nav .nav-link { font-size: 14px; }
	.preheader.petit { height: 52px; }
	.preheader.petit .brand { font-size: 1.5em; padding-top: 12px; }
	.preheader.petit .logoaj { top: 8px; width: 120px; }
	.preheader.petit .bg-menu { top: 10px; }
	.preheader.petit .navbar-toggler { font-size: 1rem; }

	.idioma { position: relative; right: 0; margin: 10px auto; }

	.idioma-toggled { list-style: none; margin: 0; padding: 0 0 0 20px; font-family: Aboreto, sans-serif; text-transform: uppercase; font-size: 12px; margin-bottom: 20px; text-align: center;  }
	.idioma-toggled li { margin: 0 auto; padding: 0; display: inline; }
	.idioma-toggled a { padding: 2px 8px 1px 8px; display: inline; font-weight: 400; color: rgba(255,255,255,0.7); }
	.idioma-toggled a.active { color: black; font-weight: 700; color: rgba(0,0,0,1); background: rgba(255,255,255,0.6); }
	.idioma-toggled a:hover { text-decoration: none;  }
	.idioma-toggled .disabled { opacity: 0.5; }

	.navbar-dark .navbar-nav { background: rgba(0,0,0,0.75); position: absolute; top: 19px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.6); margin-bottom: 10px; text-align: left; }
	.navbar-dark .navbar-nav .nav-link { border: none; }
	.dropdown-menu { background: none; border: none; box-shadow: none; text-align: center; margin-bottom: 20px; }
	.dropdown-item { border: none !important; padding: 0; }

	.navbar-dark .navbar-nav { position: relative; text-align: center; width: 100%; }
	#footer .zona1 { width: 100%; }
}


@media only screen and (max-width: 880px)
{
	.preheader { height: 72px; }
	.preheader .brand { font-size: 2.1em; }
	.preheader .logoaj { width: 160px; top: 13px; right: 110px; }
	.bg-menu { top: 17px; }
	.tira { height: 102px; margin-top: 72px; }
	.tira div .ariadna2 { padding: 8px 15px; }
	.mapaweb { column-count: 1; }
}


@media (max-width: 767px)
{
	.row { margin-right: 0; margin-left: 0; }
	.preheader { height: 60px; }
	.preheader .brand { font-size: 1.8em; padding-top: 13px; }
	.preheader .logoaj { width: 140px; top: 9px; }
	.bg-menu { top: 11px; }
	.tira { height: 90px; margin-top: 60px; }

	.preheader.petit .navbar-dark .navbar-nav .nav-link { font-size: 14px; }
	.preheader.petit { height: 40px; }
	.preheader.petit .brand { font-size: 1.3em; padding-top: 6px; }
	.preheader.petit .logoaj { top: 4px; width: 105px; }
	.preheader.petit .bg-menu { top: 3px; }
	.preheader.petit .navbar-toggler { font-size: 1rem; }
	.audioguies li { width: 48%; }

	 .yt-video-col6, .yt-video-col9, .yt-video-550 { aspect-ratio: 16/9; width: 100%; height: auto; }

	.carousel-item { height: 400px; margin-top: 56px; }
	.carousel-item img { height: 200px; width: auto; bottom: auto; margin-left: -25%; }
	.carousel-item .container { padding-left: 0; padding-right: 0; }
	.carousel-textos { display: block; bottom: auto; top: 200px; width: 100%; max-width: 100%; height: 250px; bottom: auto; z-index: 0; padding: 10px 45px 0 50px; }
	.carousel-mask { z-index: 0;}
	.carousel-textos .titol { font-size: 170%; }
	.carousel-textos .subtitol { font-size: 90%; margin-bottom: 0; }
	.carousel-textos .btn { padding: 3px 10px; margin-top: 10px; }

	.quatre-col { column-count: 2; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 30px; }
	.tres-col { column-count: 2; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 30px; }
	.dues-col { column-count: 1; column-rule: 1px dotted rgba(70,75,65,0.5); column-gap: 30px; }
	.menu_escolar2.col4 li { width: 47%; }

	ul.menuEtiquetes li { width: 98%; font-size: 1.1em; }
	ul.menuEtiquetes a { height: 100px; border-top-left-radius: 62px; border-bottom-left-radius: 62px; background-size: auto 100px; background-repeat: no-repeat; background-color: #E7B04C; }
	ul.menuEtiquetes div { height: 100px; padding: 8px 0 8px 110px; }
	.menuObjectes li { width: 47%; }
	.menuObjectes .foto { height: 125px; padding: 0; }
	.menuObjectes img { height: 125px; }
	.menuAltresCol li { width: 48%; }
	.menuAltresCol .foto { height: 100px; }
	.menuAltresCol img { height: 90px; }
	.fotosAltresCol img { width: 47%; height: 180px; }
	.bib { width: 98%; }
	.bib .titol { font-size: 1em; margin-bottom: 3px; }

	form.cercador { overflow: hidden; }
	ul.menuPublicacions li {width: 98%; }
	ul.menuPublicacions img { width: 80px; }
	ul.menuPublicacions p.titol, ul.menuPublicacions p.resum, ul.menuPublicacions p.detalls { margin-left: 95px; }
	ul.premis li { width: 98%; height: auto; line-height: 1.2em; }
	.galeria li { width: 31.333%; }

	.age-prog li { width: 48%; }
	.age-prog a { height: 280px !important; }
	.ageexpo-prog li { width: 47% !important; }
	.ageexpo-prog .foto { height: 120px !important; }
	.ageexpo-prog a { height: 290px; }


	.edu { width: 98%; height: auto; overflow: normal; }
	.edu .foto { width: 150px; }
	.edu p { margin: 0 15px 5px 165px; }

	h1 { font-size: 2rem; line-height: 2rem; }
	.fons_postit img { height: 80px; }
	.fons_postit .col-md-5, .fons_postit h1, .fons_postit p  { text-align: center; }
	.fons_postit h1 { font-size: 1.6rem; margin-top: 5px; }
	.fons_postit p { line-height: 1.1em; font-size: 0.85em; font-weight: normal; }
	.snapwidget-widget {height: 100px; }
	p.txt { line-height: 1.3em; }

	.expocards li { width: 48.5%; }
	.expocards a { height: 230px; }
	.expocards .nom { font-size: 1.1em; line-height: 1em; }
	.expocards .autor { font-size: 0.85em; margin-top: 0; line-height: 1em; }
	/*.fotos-article.quadrat.icones { width: 20%; height: auto; } */
	.fotos-article.quadrat.icones { width: 20%; height: auto; }

	.conferencies li { width: 48%; }

	.menuObjectes.mediateca li { width: 97.5%; margin-bottom: 25px; }
	.menuObjectes.mediateca .foto { height: 150px; }
	.menuObjectes.mediateca .foto img { height: 150px; }
	.menuObjectes.mediateca a { height: 260px; }

	.sabiesLlista li { width: 98%; margin: 0 1% 30px 1%; }

	#footer ul.social li{ padding: 10px 7px 0 7px; }
	#footer h5 { padding-left: 0; border-left: transparent; padding-bottom: 0px; margin-bottom: 10px; }
	.logoaj img { width: 110px; margin-right: 25px; }
	.logogc img { width: 85px; margin-right: 25px; }
	.logota img { width: 125px; margin-right: 0; }
	.logoud img { width: 70px; }
	.peu2 { padding-left: 0; padding-right: 0; font-size: 90%; }
	.peu2 span { display: block !important; opacity: 0; height: 10px; }

	#menu_interior li { display: block; }
	#menu_interior li a { padding: 10px 10px 0 10px; margin-top: 5px; }

	#baner1 p { font-size: 1em; }

}

@media (max-width: 664px)
{
	.preheader { height: 52px; }
	.preheader .brand { font-size: 1.4em; padding-top: 15px; }
	.preheader .logoaj { width: 130px; top: 5px; right: 100px; }
	.bg-menu { top: 6px; }
	.tira { height: 80px; margin-top: 52px }
	.navbar-toggler { font-size: 1.15rem; }
	.tira div .ariadna2 { padding: 6px 15px; }
}

@media (max-width: 558px)
{
	.preheader { height: 64px; }
	.preheader .brand { font-size: 1.2em; padding-top: 0; }
	.preheader .brand img { width: 64px; margin-left: 10px; height: auto; margin-top: 2px; margin-right: 7px; }
	.preheader .logoaj { display: none; }
	.bg-menu { top: 6px; right: 0px; }
	.tira { height: 70px; margin-top: 64px }
	.navbar-toggler { font-size: 1.05rem; margin-top: 10px; }
	.tira div .ariadna2 { padding: 5px 15px; }
	.title-bar { padding-left: 15px; }

	.preheader.petit { height: 44px; }
	.preheader.petit .brand { font-size: 1.2em; padding-top: 2px; }
	.preheader.petit .brand img { width: 40px; margin-left: 10px; height: auto; margin-top: -1px; margin-right: 7px; }

	.preheader.petit .navbar-toggler { font-size: 1.05rem; margin-top: 0px; }
	.menuObjectes a { height: 240px;  }
/*
	.menuObjectes { list-style: none; margin: 0; padding: 0; margin-top: 25px; }
	.menuObjectes li { float: left; margin: 0; padding: 0; width: 22%; margin: 0 1.5% 24px 1.5%; }
	.menuObjectes a { display: block; box-shadow: 2px 2px 12px rgba(0,0,0,0.4); overflow: hidden; height: 300px; border-radius: 15px; text-align: center; color: black; line-height: 1.2em; background: rgba(193,56,40, 0.15); }
	*/
}

/*

.preheader { width: 100%; height: 130px; padding: 0; background: rgba(193,56,40,1); background: linear-gradient(180deg, rgba(128,59,38,0.85) 0%, rgba(193,56,40,0.85) 40%, rgba(193,56,40,0.85) 100%); }
.title-bar { position: relative; }
.preheader .brand { font-family: Freeman, Sans-serif; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); font-size: 2.5em; letter-spacing: 0.5px; text-align: left; color: white; margin: 0; margin-left: -5px; padding: 20px 0 5px 0; }
.preheader .brand img { width: 89px; height: auto; margin-top: -15px; margin-right: 15px; opacity: 0.8; }
.preheader .logoaj { position: absolute; top: 19px; right: 0; width: 180px; }
.preheader .logoaj img { width: 100%; }
.bg-menu { background: rgba(0,0,0,0.4); position: absolute; bottom: 0; width: 100%; }
*/


@media (max-width: 480px)
{
	.peu-botons a { text-align: center; }
	.peu-botons .btn { display: block; text-align: center; margin: 0 auto; margin-bottom: 10px; width: 40%; }
	.container.contingut { padding: 0; }

	h1 { font-size: 1.4rem; line-height: 1.6rem; }
	h1 span { display: block; margin-left: 0; margin-top: 5px; }
	h1 span::before { display: none; }
	h2 { font-size: 1.2rem; line-height: 1.5rem; }
	h3 { font-size: 1.05rem; line-height: 1.2rem; }
	.dataFitxa { margin-top: 5px; }
	.introFitxa { font-size: 18px; line-height: 22px; }
	.primer-paragraf:first-letter { initial-letter: 2; }
	.txt { font-size: 15px; line-height: 22px; letter-spacing: -0.5px; }
	.btn-group.filtres { padding-bottom: 5px; }


	.carousel-textos .titol { font-size: 120%; }

	.audioguies li { width: 98%; }

	ul.preus li, ul.preus.grup li { width: 100%; margin: 0 0.75% 15px 0.75%; height: auto; }
	ul.preus li:first-child { width: 100%; }
	ul.preus li:last-child { width: 100%; }
	ul.preus ul li:last-child { margin-bottom: 20px; }
	.box.arribar { height: auto; }
	.icona_disc { width: 30%; margin: 10px 0; }

	.hidden-sm { display: none; }

	.menu_escolar2 li { width: 47%; margin: 0 1.5% 30px 1.5%; }
	.menu_escolar2 .foto { height: 110px; }
	.menu_escolar2 img {height: 110px; }
	.menu_escolar2.expos .foto { height: 110px; }
	.menu_escolar2.expos img { height: 110px; }
	.menu_escolar2 .nom { font-size: 110%; line-height: 1em; }
	.menu_escolar2.expos .intro { font-size: 90%; }
	.menu_escolar2 .data { font-size: 0.75em; }


	.carousel-item { height: 330px; }
	.carousel-control-prev { left: 10px; top: 40px; }
	.carousel-control-next { right: 10px; top: 40px; }
	.carousel-indicators { bottom: -10px; }
	.carousel-textos { border: none; background: rgba(70,75,65,0.7); }
	.fb_iframe_widget { margin-top: 20px; }
	.age-prog .foto { height: 100px !important; }

	.publicacions { margin-top: 20px; }
	.publicacions li { width: 100%; margin: 0 0 20px 0; height: auto; float: none; clear: both; }
	.publicacions .portada { height: auto; text-align: center; }
	.publicacions img { position: relative; bottom: auto; left: auto; transform: none; }
	.publicacions .titol { margin-top: -5px; margin-bottom: 5px; }
	.publicacions .data { padding-top: 5px; }
	.portada-llibre img { width: 60%; margin-bottom: 20px; }
	.menu-video { padding-top: 0; }
	.yt-video { aspect-ratio: 16/9; width: 100%; height: 210px; }
	.obra { width: 48%; height: 280px; }
	.obra .imatge { height: 120px; }
	.obra-fitxa { float: none; width: 100%; }
	#map.mapa-fitxa { float: none; width: 100%; height: 200px; }

	.fotos-visor, .fotos-visor li { height: 200px; }
	.objectes li, .educacio li { width: 98%; }
}