@import '../fonts/style.css';
/* Nav */
.map-nav {
  padding: 4rem 2rem;
  width: 100%;
  z-index: 5;
  position: relative;
}
#menu-mapping-projects  {
  text-transform: uppercase;
  list-style-type: none;
  font-weight: 900;
  padding: 0;
  font-size: 1.4rem;
  max-width: 1500px;
  margin: 0 auto;
}
#menu-mapping-projects li { 
  display: inline-block;
  margin-right: 20px;
}
#menu-mapping-projects li.active a {
  color: #6a6866;
}
#menu-mapping-projects li a {
  color: #000;
  text-decoration: none;

}
/*Map*/
#map {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
}

.page-template-template-mapbox #main,
.page-template-template-map #main {
  background: #efe8d7 url(../images/bg-mapping.jpg);
  font-family: GothamSSm;
  font-size: 13px;
}

.page-template-template-mapbox #main:after,
.page-template-template-map #main:after {
  display: none;
}


.text-xxl {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}
.align-items-end {
  align-items: flex-end;
}
.justify-content-end {
  justify-content: flex-end;
}
.bg-white {
  background: #fff;
  padding: 10px;
}
.bg-white-t {
  padding: 32px;
  background: rgba(255,255,255,0.5);
  margin-top: 1rem;
  margin-bottom: 1rem;
  z-index: 5;
  position: relative;
}
@media (max-width: 781px){
  .bg-white-t {
    padding: 20px;
  }
}


.wp-block-group:first-child {
  margin-top: 0;
}





.projects-map {
  min-height: calc(100vh - 60px);
  color: #000;
  display: flex;
  flex-direction: column;
   padding: 0 2rem;
}


.admin-bar .projects-map {
  min-height: calc(100vh - 92px);
  
}
.projects-map  .has-small-font-size {
  font-size: 11px;
}

.projects-map h2 { 
  margin-top: 1em;
  margin-bottom: 0.5em;
}
.projects-map h3 { 
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 1.2em;
}

.projects-map h4 { 
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 1.25em;
  font-size: 1.2rem;
  line-height: 1.2;
}
.projects-map h4 + h4 {
  margin-bottom: 1.5em;
}

.page-template-template-mapbox .container,
.page-template-template-map .container {
  max-width: 1255px;
  width: 100%;
  position: relative;
  background: none;
}
.projects-map .content{
  width: 100%;
  max-width: 1255px;
  margin: 0 auto;
  float: none;
  overflow: hidden;
}
.projects-map .content p{
  margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar {
  margin-right: -32px;
}
.sidebar .text-xxl {
  border-top: 3px solid #000;
  padding-top: 1rem;
  font-size: 3rem;
}


@media (min-width: 992px){
  .sidebar {
    padding-left: 10%;
  }
}




@media (max-width: 781px){
  .content-holder {
    flex-basis: 100% !important;
  }
  .sidebar {
    margin-left: 0 !important;
    flex-basis: 100% !important;
    margin-right: 0;
  }
}












/*Slider*/
.projects-map .period { 
  font-size: 2.4rem; 
  font-weight: 900;
 
}

.slider.slider-horizontal { 
  margin: 0 15px;
  width: calc(100% - 30px);
  margin-bottom: 30px
}
.slider.slider-horizontal .slider-handle {
  background: #fff;
  border: 3px solid #000;
  z-index: 3;

}
.slider-selection {
  background: #000;
}
.slider-track {
  background: none;
  border: 2px solid #fff;
  border-radius: 0;;
}

.slider-tick-label-container {
  display: flex;
  justify-content: space-between;
  width: auto;
  margin-left: -11px;
  margin-right: -11px;
  font-weight: 900;
  margin-top: 10px !important;
}


.slider-tick-label-container .slider-tick-label {
  text-align: center;
  position: relative;
  padding-top: 20px;
  flex-grow: 1;
  max-width: 100%;
  flex-basis: 0;
  font-size: 0;
}
.slider-tick-label-container .slider-tick-label:nth-child(3n+1){
  font-size: 10px;
}
.slider-tick-label-container .slider-tick-label:before{
  width: 2px;
  height: 15px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1px;
  content: '';

}

.slider-track  {position: relative; z-index: 2;}

.slider.slider-horizontal .slider-tick-container { 
  z-index: 1;
  top: 10px;
}
.slider.slider-horizontal .slider-tick-container .slider-tick {
  width: 2px;
  height: 15px;
  background: #000;
  border: none;
  border-radius: 0;
  margin: 0 !important;
}

.slider-selection.tick-slider-selection {
  background: #000;
}


.projects {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.projects .item  {
  flex-grow: 1;
  max-width: 100%;
  flex-basis: 0;
}
.posters {
  display: flex;
}
.posters .img {
  flex-grow: 1;
  max-width: 100%;
  flex-basis: 0;
}
.posters .img .image-holder {
  position: relative;
  padding-top: 130%;
  overflow: hidden;
}
.posters .img .image-holder img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  max-width: none;
}

.projects .date {
  font-size: 12px;
  text-align: center;
  font-weight: 900;
  padding-top: 5px;
  margin-top: 5px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}

.projects .item:first-child .date {
  border-left: 1px solid #000;
}


#project-data {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  bottom: 0;
  background: rgba(255,255,255,0.7);
  
 
  color: #000;
  font-size: 14px;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.5s ease;
 
}
.project-data-holder {
  overflow-y: auto;
  height: 100%;
  padding: 20px;
}

#project-data  .close{
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
  padding: 0;
  border: 1px solid #000;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
}
@media (max-width: 598px){
  #project-data {
    width: 100%;
    max-height: 71vh;
  }
  .content > .wp-block-columns:last-child{ margin-bottom: 0 !important;}
}

#project-data.open {
  transform: translateX(0);
}

.admin-bar  #project-data { 
  top: 32px;
}

#project-data h3 {
  text-transform: uppercase;
  font-weight: 900;
  font-family: serif;
  font-family: GothamSSm;
  margin-top: 0;
  font-size: 1.8rem;
}

#project-data .project-data {
  padding-top: 2rem;
}
#project-data .project-data:first-child {
  margin-top: -2rem;
}
#project-data img {
  max-width: 25vw;
  margin: 2rem 0;
}




#project-data dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  margin: 0;
}

#project-data dl dt {
  flex: 0 0 150px;
  max-width: 150px;
}
#project-data dl dd {
  flex: 0 0 80%;
  max-width: 80%;
}
#project-data dl a { color: #f20500;}


.custom-clustericon {
  background: var(--cluster-color);
  color: #fff;
  border-radius: 100%;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.custom-clustericon div:focus{
  border: none !important ;
  outline: none !important;
}
.custom-clustericon::before {
  padding: 7px;
}

.custom-clustericon::after {
  padding: 14px;
}

.custom-clustericon-1 {
  --cluster-color: #f20500;
  font-size: 10px;
}

.custom-clustericon-2 {
  --cluster-color: #f20500;
}

.custom-clustericon-3 {
  --cluster-color: #f20500;
}

.custom-clustericon-active {
  --cluster-color: #ffff00;
}


.gm-bundled-control .gmnoprint > div {
  display: flex;
  background: none !important;
  box-shadow: none !important;
  height: auto !important;
  width: auto !important;
}
.gm-bundled-control .gmnoprint > div button {
  background: transparent !important;
  border: 1px solid #000 !important;
  width: 20px !important;
  height: 20px !important;
  line-height: 17px !important;
  font-size: 16px;
  margin-left: -1px !important;
}

.gm-bundled-control { right: 115px !important;}
.gm-bundled-control .gmnoprint > div button + div {display: none !important;}

.gm-bundled-control .gmnoprint > div button.gm-control-active:first-child:before  {
  display: block;
  content: '+';
}
.gm-bundled-control .gmnoprint > div button.gm-control-active:last-child:before  {
  display: block;
  content: '-';
}
.gm-bundled-control .gmnoprint > div button img {
  display: none !important;
}


.gm-style .gm-style-iw-c {
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0 20px 20px !important;
}
.infoWindow,
.gm-style .gm-style-iw-c .infoWindow {
  border-top: 1px solid #000;
}
.gm-style .gm-style-iw-c .infoWindow ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-weight: 900;
  
}
.infoWindow ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-weight: 900;
}
.infoWindow ul li {
  border-bottom: 1px solid #000;
  padding: 5px 30px 5px 0;
  cursor: pointer;
} 
.infoWindow ul li.active {
  color: #f20500;
}
.mapboxgl-popup-content .infoWindow {
  max-width: 320px;
  max-height: 320px;
  overflow-y: auto;
}

.mapboxgl-popup-close-button,
.gm-style .gm-style-iw-c button { 
  top: 10px !important;
  right: 6px !important;
  background: #fff !important;
  border: 1px solid #000 !important;
  width: 20px !important;
  height: 20px !important;
  padding:  0!important;
  line-height: 15px !important;
  box-shadow: 0 0 0 6px #fff;
  opacity: 1;
  border-radius: 0 !important;
  font-size: 20px;
}
.gm-style .gm-style-iw-c button.gm-ui-hover-effect img { margin: 0 auto !important;}
.gm-style .gm-style-iw-t:after {display: none;}

.gmnoprint .gm-style-cc {display: none;}
.gmnoprint.gm-style-cc {display: none;}

.gm-style-cc {
  top: 15px !important;
  bottom: auto !important;
  right: 15px !important;
}
.gm-style-cc > div div {
  background: none !important;
}
.gm-style-cc > div span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 2px 5px;
  border: 1px solid #000;
  border-top: none;
}
.gm-style-cc > div span + div {
  width: 50px !important;
}

.activeMarker {
	width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
	text-align: center;
	font-size: 30px;
  font-family: 'GothamSSm';
  color: #f20500;
  cursor: pointer;
}

.mapboxgl-popup {margin-top: -50px;}