style type="text/css"> /*html { position: relative; min-height: 100%; }*/ html, body { height: 100%; } /* El contenidor principal (el que te .centre) ha d'ocupar l'espai restant */ .main-content { min-height: calc(100vh - 200px); /* Ajustable segons alçada del footer */ } @font-face { font-family: 'PT Sans'; font-display: auto; } body { font-family: 'PT Sans', sans-serif; font-weight: 400; margin-bottom: 60px; background:#E0E3E5; } strong, .text-strong { font-weight: 700; } .text-light { font-weight: 300; } header { background: #d15450; } .navbar-collapse { background-color: #d15450; } .navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,1); } .btn { margin-right: 5px; } .nav-link a { color: #d15450; text-decoration:none; } .nav-link a:hover { color: #7b715e; text-decoration:none; } .dropdown-menu { background-color: #d15450; } .dropdown-item { color: #fff; background-color:#d15450!important; } h1, h2, h3, .h1, .h2, .h3{ font-weight: 700; color: #d15450; } h4, h5, h6, .h4, .h5, .h6{ font-weight: 400; } #map { width: 100% !important; height: 500px !important; } /*#map.leaflet-container { /* ========================================== LEAFLET MAP ========================================== */ #map { width: 100%; height: 500px; margin: 0; padding: 0; } #map.leaflet-container { position: relative; overflow: hidden; } #map .leaflet-map-pane { position: absolute; left: 0; top: 0; } #map .leaflet-pane { position: absolute; left: 0; top: 0; } #map .leaflet-tile-pane { z-index: 200; } #map .leaflet-tile-container { position: absolute; left: 0; top: 0; } #map .leaflet-tile { position: absolute; width: 256px; height: 256px; max-width: none; max-height: none; } #map img.leaflet-tile { width: 256px; height: 256px; max-width: none !important; max-height: none !important; } #map .leaflet-overlay-pane { z-index: 400; } #map .leaflet-marker-pane { z-index: 600; } /* IMPORTANT: POPUP PER SOBRE DE TOT */ #map .leaflet-popup-pane { z-index: 1000 !important; position: absolute !important; } #map .leaflet-popup { z-index: 1001 !important; position: absolute !important; } #map .leaflet-popup-content-wrapper { position: relative; z-index: 1002; } #map .leaflet-popup-tip { z-index: 1002; }#map { width: 100%; height: 500px; margin: 0; padding: 0; } #map.leaflet-container { position: relative; overflow: hidden; } /* Contenidor general del mapa */ #map .leaflet-map-pane { position: absolute; left: 0; top: 0; } /* Totes les capes */ #map .leaflet-pane { position: absolute; left: 0; top: 0; } /* Rajoles */ #map .leaflet-tile-pane { z-index: 200; } #map .leaflet-tile-container { position: absolute; left: 0; top: 0; } #map .leaflet-tile { position: absolute; width: 256px; height: 256px; max-width: none; max-height: none; } /* Capa dels marcadors */ #map .leaflet-marker-pane { z-index: 600; } /* Capa SVG */ #map .leaflet-overlay-pane { z-index: 400; } /* Controls */ #map .leaflet-control-container { position: absolute; } /* Evitar que els CSS generals de la web afectin les imatges de Leaflet */ #map img.leaflet-tile { width: 256px; height: 256px; max-width: none !important; max-height: none !important; } width: 100%; #map .leaflet-popup-pane { z-index: 1000 !important; } #map .leaflet-popup { z-index: 1001 !important; } #map .leaflet-popup-content-wrapper { position: relative; z-index: 1002; } #map .leaflet-popup-tip { z-index: 1002; } #map .popup-somsegarra a { cursor: pointer; }.leaflet-interactive { /* cursor: pointer; } height: 500px; }*/ #map img { #map.leaflet-container { position: relative !important; overflow: hidden !important; width: 100% !important; height: 500px !important; } #map .leaflet-pane { position: absolute !important; left: 0; top: 0; } #map .leaflet-map-pane { position: absolute !important; left: 0 !important; top: 0 !important; } #map .leaflet-marker-pane { z-index: 600 !important; } #map .leaflet-marker-icon { position: absolute !important; display: block !important; visibility: visible !important; max-width: none !important; max-height: none !important; } #map .leaflet-tile { position: absolute !important; display: block !important; max-width: none !important; max-height: none !important; } max-width: none; } #map .leaflet-tile { position: absolute !important; top: 0 !important; left: 0 !important; max-width: none !important; max-height: none !important; } #map .leaflet-tile-container { position: absolute !important; top: 0 !important; left: 0 !important; } #map .leaflet-map-pane { position: absolute !important; left: 0 !important; top: 0 !important; } #map.leaflet-container { overflow: hidden !important; position: relative !important; } /.marcador-prova { background: transparent !important; border: 0 !important; } .marcador-prova div { width: 24px; height: 24px; background: red; border: 3px solid white; border-radius: 50%; box-shadow: 0 1px 5px rgba(0,0,0,0.5); }*/*#map-canvas { /* ================================ FIX LEAFLET ================================ */ #map.leaflet-container { position: relative !important; overflow: hidden !important; width: 100% !important; height: 500px !important; } /* Capes de Leaflet */ #map .leaflet-pane { position: absolute !important; left: 0; top: 0; } #map .leaflet-map-pane { position: absolute !important; left: 0 !important; top: 0 !important; } #map .leaflet-marker-pane { z-index: 600 !important; } /* Marcadors */ #map .leaflet-marker-icon { position: absolute !important; display: block !important; visibility: visible !important; max-width: none !important; max-height: none !important; } /* Icones de les rajoles */ #map .leaflet-tile { position: absolute !important; display: block !important; max-width: none !important; max-height: none !important; } /* Marcador de prova */ #map .marcador-prova { background: transparent !important; border: 0 !important; } #map .marcador-prova div { width: 24px !important; height: 24px !important; background: red !important; border: 3px solid white !important; border-radius: 50% !important; box-shadow: 0 1px 5px rgba(0,0,0,0.5) !important; }width: 100%; min-height: 250px; margin: 0px; padding: 0px } #map0 { width: 100%; min-height: 500px; } #map { width: 100%; min-height: 350px; }*/ .circle { padding: 0 5px; color:#fff; font-size: 14px; font-size: 0.875rem; -webkit-border-radius: 75px; -moz-border-radius: 75px; -ms-border-radius: 75px; -o-border-radius: 75px; border-radius: 75px; background: #d15450; border: 1px solid #fff; } .carousel-inner { max-height: 600px; overflow: hidden; } @media (max-width: 768px) { .carousel-inner { max-height: 250px; } } .carousel-inner img { width: 100%; height: 100%; object-fit: cover; } .card { border-radius: .5rem; } .centre { margin-top: 4em; padding-bottom: 3rem; /* 2rem està bé, però 3 sol donar una mica més d'aire */ } @media (max-width: 768px) { .centre { margin-top: 2em; padding-bottom: 2rem; /* Igual que desktop o una mica menys */ } } /* Desktop: la imatge és 10vw d’alçada */ .card-img-top { width: 100%; height: 10vw; object-fit: cover; } /* Mobile: pots deixar-la auto o ajustar-la */ @media (max-width: 768px) { .card-img-top { height: 30vw; /* o auto, depèn del teu disseny */ } } .carousel-caption { top: 26em; bottom: auto; } @media (max-width: 768px) { .carousel-caption { top: 6em; } } /*.footer { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; background: #e0e3e5; background: -moz-linear-gradient(top, #e0e3e5 0%, #d15450 100%); background: -webkit-linear-gradient(top, #e0e3e5 0%,#d15450 100%); background: linear-gradient(to bottom, #e0e3e5 0%,#d15450 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e3e5', endColorstr='#d15450',GradientType=0 ); } @media (max-width: 768px) { .footer .container { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } } */ .footer { width: 100%; background: linear-gradient(to bottom, #e0e3e5 0%, #d15450 100%); padding: 2rem 0; } /* Al mòbil més compacte */ @media (max-width: 768px) { .footer { padding: 1rem 0; } .footer .container { padding-top: 0 !important; padding-bottom: 0 !important; } } .xarxes { margin-top: 2em; min-height:120px; } .gm-style .gm-style-iw { width: 140px; } .icones { margin-top:8px; } .boto { margin-bottom:8px; } .apeufoto { width: 230px; height: auto; /*font-size: 11px;*/ color: #666; background-color: rgba(255,255,255,0.8); padding: 2px; } .agendalist { min-height: 250px; float: left; margin-right: 20px; } .peuagenda { width: 230px; height: auto; /*font-size: 11px;*/ color: #666; padding: 2px; } .btn-primary { color: #fff; background-color: #d15450; border-color: #d15450; } .btn-primary a { color: #fff; background-color: #d15450; border-color: #d15450; } .btn-primary:hover { color: #fff; background-color: #999999; border-color: #999999; } .btn-primary:hover a { color: #fff; background-color: #999999; border-color: #999999; text-decoration: none; } .btn-primary:focus { color: #fff; background-color: #999999; border-color: #999999; } a { color: #d15450; } a:hover { color: #7b715e; } .btn-default { background: #d15450; border: 1px solid #f9bd53; } .btn-default:hover { background: #5bbd73; } .btn-default:active { background: #CCC; } .dataTables_paginate { margin-top: 10px; display: flex !important; justify-content: center; } .dataTables_paginate .paginate_button { padding: 5px 10px; margin: 2px; border: 1px solid #ddd; background-color: #f8f9fa; color: #007bff; cursor: pointer; } .dataTables_paginate .paginate_button:hover { background-color: #007bff; color: #fff; }