@font-face { font-family: 'gilroy-semibold'; src: url('../css/fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff'); } #sites-map-container { background-color: transparent; text-align: center; position: relative; width: 155%; max-width: 800px; margin: 0 auto; height: auto; } @media (max-width: 810px) { #sites-map-container { width: 80%; } } @media (max-width: 530px) { #sites-map-container { width: 100%; height: 485px; } } @media (max-width: 400px) { #sites-map-container { width: 100%; height: 430px; } } #sites-map-container .site-link:hover { cursor: pointer; } #sites-map-container #popup { font-family: 'gilroy-light'; display: none; position: absolute; z-index: 1000; text-align: left; padding-left: 1rem; /* pointer-events: none; */ } @media (max-width: 1090px) { #sites-map-container #popup { bottom: 20px; } } @media (min-width: 1090px) { #sites-map-container #popup { top: 50%; left: 80%; transform: translateY(-50%); width: 300px; } } #sites-map-container strong { color: #f7002b; font-family: 'gilroy-bold'; } #sites-map-container a { /* display: none; */ align-items: center; color: white; background: black; text-transform: uppercase; font-size: 0.8rem; padding-left: 0.5rem; text-decoration: none; margin-top: 0.7rem; height: 1.3rem; } #sites-map-container a:after { display: inline-flex; content: url("../img/noun-arrow-to-right.svg"); padding-right: 0.2rem; padding-left: 0.2rem; padding-top: 0.5rem; } #popup-content { width: 300px; padding-right: 30px; } #popup-content p { font-size: 0.7rem; } @media (max-width: 810px) { #popup-content { width: 300px; background-color: white; border-radius: 5px; padding: 0.5rem; padding-left: 1rem; } }