body {
	background-color: #faf8f7;
}

.mexicogp_white_logo {
  display: none;
}

.mexicogp_black_logo {
  display: block;
}


#init_menu_mxgp #open_menu_mxgp {
  filter: invert(1);
}

#footer-container {
  display: none;
}




canvas:focus,
canvas:focus-visible,
.openseadragon-canvas:focus,
.openseadragon-canvas:focus-visible {
  outline: none !important;
}

.openseadragon-canvas {
  cursor: move;
  /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.openseadragon-canvas:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}


#map_container{
	position: relative;
	width: 70vw;
	margin-left: auto;
	max-width: 100%;
	height: 100vh;
	z-index: 2;	
}

#map{
  height: 100vh;
  width: 100%;
}

#mc-zoom-controls {
    position: absolute !important;
    display: flex;
    right: 5%;
    bottom: 5%;
    width: 10rem;
    z-index: 12;
    display: flex;
    gap:10px;
}

#mc-zoom-controls .option{
	background-color: #000;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 55px;
	aspect-ratio:1;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	cursor: pointer;
}
#mc-zoom-controls .option img{
	width: 100%;
	height: auto;
	filter: invert(1);
}


#map_info{
	/*position: absolute;
	left: 20px;
	top: 100px;*/
	width: 33%;
	max-width: 568px;
    min-width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap:2vh;
	padding: min(2vw, 35px);
  padding-top: 100px;
	/* border-radius: min(1vw, 50px); */
	overflow: hidden;
	color: #000;
	z-index: 3;
  max-height: 100dvh;
}

#map_info .title {
	position: relative;
	z-index: 1;
	font-size: 3.5rem;
	line-height: 120%;
}

#map_info .content {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 120%;
}

.mapa_2026_container {
    display: flex;
  }

@media(max-width:1300px){
  #map_info .title {
    font-size: 3rem;
  }

}

@media(max-width:768px) {
  .mapa_2026_container {
    flex-direction: column-reverse;
  }
  #map_container {
    overflow: hidden;
    max-height: 40dvh;
    height: 40dvh;
    width: 100vw;
  }
  #map_info {
    padding-top: 1.5rem;
    max-height: 65dvh;
    height: 65dvh;
    width: 100%;
    max-width: initial;
    min-width: initial;
    gap:10px;
    border-top: 1px solid #ddd;
  }

  #map_info .title {
    font-size: 1.8rem;
    line-height: 1;
  }
  #map_info .content {
    font-size: 0.8rem;
  }
  #map_info .content p{
    margin: 0;
  }
  #map {
    height: 50dvh;
    width: 100vw;
  }

  #mc-zoom-controls .option {
    height: 30px;
    padding: 0;
    width: 30px;
  }

   #mc-zoom-controls .option img {
    margin: 20%;
    height: 60%;
    width: 60%;
   }

   #mc-zoom-controls {
    width: 7.1rem;
    justify-content: flex-end;
   }
}	

.menu-selector-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.menu-selector-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23333333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: 16px;

  background-position: right 12px center; 

  width: 100%;
  padding-right: 40px;
  cursor: pointer;
  outline: none;
  
  position: relative;
  z-index: 1;
}


@media(min-width:769px) {
  .mapa_2026_container {
    flex-direction: row;
  }
}	


.map-overlay-pin {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: peru;
}

.pin-icon-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.5s ease, transform 0.5s ease;
}

.hover-rounded-active,
.hover-active {
  background-color: #ff0000;
  filter: drop-shadow(2px 0px 0px #ff0000) 
          drop-shadow(-2px 0px 0px #ff0000) 
          drop-shadow(0px 2px 0px #ff0000) 
          drop-shadow(0px -2px 0px #ff0000);
}

.hover-active .pin-icon-media,
.hover-rounded-active {
  transform: scale(1.15);
}

.menu-item {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  padding: 0;
  margin-bottom: 8px;
  border-radius: 6px;
  cursor: pointer;
  background-color: #FFF; /* O tu color de fondo */
  transition: background 0.2s ease;
  overflow: hidden;
}

.menu-item:hover {
  background-color: #CDCDCD;
}

.menu-item-icon-box {
  width: 5rem;
  min-height: 5rem;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.menu-icon-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.menu-item .menu-icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.menu-item-text-box {
  display: flex;
  flex-direction: column;
	color: #000;
	flex-grow: 1;
}

.menu-item-title {
  font-size: 1.1rem;
	font-family: 'Formula1_bold';
	font-weight: 400;
	margin: 0;
}

.menu-item-label {
	font-size: 1rem;
	font-family: 'Inter';
	font-weight: 600;
	margin: 0;
}

.menu-item-wrapper-container {
	align-items: flex-start;
	display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  width: 100%;
}

.menu-item-type-box {
  font-size: 0.8rem;
  font-family: 'Inter';
	padding: 0.2rem 0.5rem;
	border-radius: 0.5rem;
}

.menu-item-type {
	font-size: 0.8rem;
	font-family: 'Formula1_regular';
	font-weight: 700;
}

.highlight-zone {
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1;
}

.highlight-zone svg,
.highlight-zone img {
  display: block;
}

.rounded-pin {
  align-items: center;
  display: flex !important;
  border-radius: 50% !important;
  justify-content: center;
}

.rounded-pin .pin-icon-media {
  height: 80%;
  width: 80%;
}

.map-overlay-pin.is-filter-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.map-overlay-pin.is-filter-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.menu-item.is-filter-hidden {
  display: none !important;
}

.menu-selector-select {
  border: 2px solid #D2D2D2 !important;
  border-radius: 10px !important;
  color: #000;
  font-family: Inter;
  font-size: 13px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 120% !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
}

.menu-selector-wrapper {
  flex-grow: 1;
}

.menu-items-selectors {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.menu-items-selectors label {
  display: none;
}

.menu-items-container {
  overflow-y: auto;
  scrollbar-width: thin;                         /* Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
}

.menu-items-container::-webkit-scrollbar {
  width: 4px;                                    /* Chrome/Safari/Edge */
  height: 4px;
}

.menu-items-container::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.menu-items-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.menu-items-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

@media(max-width:1300px){
  .menu-item-title {
    font-size: 1rem;
  }
  
  .menu-item-label {
    font-size: 0.9rem;
  }
}

@media(max-width:768px){
  .menu-item-title {
    font-size: 0.9rem;
  }
  
  .menu-item-label {
    font-size: 0.75rem;
  }
  .menu-item-icon-box {
    width: 4rem;
    min-height: 4rem;
  }
  .menu-item-type-box{
    border-width: 1px;
    padding: 2px 5px;
    border-radius: 5px;
  }
  .menu-item-type {
  font-size: 0.65rem;
  }
}
@media(max-width:508px){
  .menu-item-icon-box {
    width: 3.5rem;
    min-height: 3rem;
  }
  #zoom-in, #zoom-out{
    display: none !important;
  }
  
}