Jump to content

How to add Codepen code my website?

Recommended Posts

On 10/13/2021 at 11:49 AM, KDT said:

@tuanphan  could you help implementing this code from codepen too?

https://codepen.io/elykdedelatorre/pen/zYdGoJz please TIA 🙏

Add this code to Code Block (You should find another code. I see the above Codepen code will conflict with some icons in toolbar in Editor Mode)



<section class="timeline">
  <div class="container">
    <div class="timeline-item">
      <div class="timeline-img"></div>

      <div class="timeline-content js--fadeInLeft">
        <h2>Title</h2>
        <div class="date">1 MAY 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div> 

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content timeline-card js--fadeInRight">
        <div class="timeline-img-header">
          <h2>Card Title</h2>
        </div>
        <div class="date">25 MAY 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>

    </div>   

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content js--fadeInLeft">
        <div class="date">3 JUN 2016</div>
        <h2>Quote</h2>
        <blockquote>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta explicabo debitis omnis dolor iste fugit totam quasi inventore!</blockquote>
      </div>
    </div>   

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content js--fadeInRight">
        <h2>Title</h2>
        <div class="date">22 JUN 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div>   

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content timeline-card js--fadeInLeft">
        <div class="timeline-img-header">
          <h2>Card Title</h2>
        </div>
        <div class="date">10 JULY 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div>   

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content timeline-card js--fadeInRight">
        <div class="timeline-img-header">
          <h2>Card Title</h2>
        </div>
        <div class="date">30 JULY 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div>  

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content js--fadeInLeft">
        <div class="date">5 AUG 2016</div>
        <h2>Quote</h2>
        <blockquote>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta explicabo debitis omnis dolor iste fugit totam quasi inventore!</blockquote>
      </div>
    </div>   

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content timeline-card js--fadeInRight">
        <div class="timeline-img-header">
          <h2>Card Title</h2>
        </div>
        <div class="date">19 AUG 2016</div>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div>  

    <div class="timeline-item">

      <div class="timeline-img"></div>

      <div class="timeline-content js--fadeInLeft">
        <div class="date">1 SEP 2016</div>
        <h2>Title</h2>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime ipsa ratione omnis alias cupiditate saepe atque totam aperiam sed nulla voluptatem recusandae dolor, nostrum excepturi amet in dolores. Alias, ullam.</p>
        <a class="bnt-more" href="javascript:void(0)">More</a>
      </div>
    </div>   



  </div>
</section>

<style>
  .timeline {
  position: relative;
}
.timeline::before {
  content: "";
  background: #C5CAE9;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #3F51B5;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

a {
  background: #3F51B5;
  color: #FFFFFF;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
}
a:hover, a:active, a:focus {
  background: #32408f;
  color: #FFFFFF;
  text-decoration: none;
}

.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-item .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)), url("https://picsum.photos/1000/800/?random") center center no-repeat;
  background-size: cover;
}

.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #FFFFFF;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

blockquote {
  margin-top: 30px;
  color: #757575;
  border-left-color: #3F51B5;
  padding: 0 20px;
}

.date {
  background: #FF4081;
  display: inline-block;
  color: #FFFFFF;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}
</style>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/scrollreveal.js/3.3.1/scrollreveal.min.js"></script>
<script>
  $(function(){

  window.sr = ScrollReveal();

  if ($(window).width() < 768) {

  	if ($('.timeline-content').hasClass('js--fadeInLeft')) {
  		$('.timeline-content').removeClass('js--fadeInLeft').addClass('js--fadeInRight');
  	}

  	sr.reveal('.js--fadeInRight', {
	    origin: 'right',
	    distance: '300px',
	    easing: 'ease-in-out',
	    duration: 800,
	  });

  } else {
  	
  	sr.reveal('.js--fadeInLeft', {
	    origin: 'left',
	    distance: '300px',
		  easing: 'ease-in-out',
	    duration: 800,
	  });

	  sr.reveal('.js--fadeInRight', {
	    origin: 'right',
	    distance: '300px',
	    easing: 'ease-in-out',
	    duration: 800,
	  });

  }
  
  sr.reveal('.js--fadeInLeft', {
	    origin: 'left',
	    distance: '300px',
		  easing: 'ease-in-out',
	    duration: 800,
	  });

	  sr.reveal('.js--fadeInRight', {
	    origin: 'right',
	    distance: '300px',
	    easing: 'ease-in-out',
	    duration: 800,
	  });


});

</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 10/22/2021 at 11:53 PM, gretchenf said:

@tuanphan, would you help me to implement this code from codepen too? Its the moving text on scroll 🙂

https://codepen.io/chriscoyier/pen/qeZwRb

 

Thank you!

Add a Code Block

<div class="ss">
<p>LANSING, Mich. — Sure, you could wear a campaign button. But a photo with the candidate is so much more versatile: suitable for avatars, posting with a clever hashtag, even printing out and framing if you want to go analog.</p>

<p>Posing for the camera with a presidential candidate used to be a perk generally reserved for wealthy donors. At Senator Elizabeth Warren’s events, all it costs is passing some time in a well-organized selfie* line.</p>

<svg width="100%" height="160px" viewBox="0 0 1098.72 89.55">
  <path id="curve" fill="transparent" d="M0.17,0.23c0,0,105.85,77.7,276.46,73.2s243.8-61.37,408.77-54.05c172.09,7.64,213.4,92.34,413.28,64.19"></path>
  <text width="100%" style="transform:translate3d(0,0,0);">
      <textPath style="transform:translate3d(0,0,0);" alignment-baseline="top" xlink:href="#curve" startOffset="1200px" id="text-path">*The pictures are not technically selfies.</textPath>
  </text>
</svg>

<p>At a recent event in Lansing, a small army of campaign staff members — working like a factory assembly line that hums along — helped usher voters through their encounter with Ms. Warren in eight key steps.</p>

<p>Since entering the presidential race, Ms. Warren has taken pictures with more than 38,000 people, her campaign estimates. Ms. Warren says the photos are part of her effort to build what she likes to call a “grass-roots movement.”</p>

<p>“It’s how I make this real, person to person,” she said in an interview. “I know I won’t be able to shake the hand of every single person; I know I won’t be able to take a selfie with every single human being in this country. But I’m going to try.”</p></div>
<style>
  .ss p {
  max-width: 500px;
  margin: 0 auto 1rem;
}

text {
  fill: red;
  font-size: 30px;
}
</style>
<script>
  const textPath = document.querySelector("#text-path");

const h = document.documentElement, 
      b = document.body,
      st = 'scrollTop',
      sh = 'scrollHeight';

document.addEventListener("scroll", e => {
  let percent = (h[st]||b[st]) / ((h[sh]||b[sh]) - h.clientHeight) * 100;
  textPath.setAttribute("startOffset", (-percent * 40) + 1200)
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 10/26/2021 at 1:38 AM, tan-flatworm said:

Hello @tuanphan can you please help me add the following codepens as well?


1)https://codepen.io/electerious/pen/MQrRxX
I tried it on a drop-down-button on my page but failed totally...

 

2)https://codepen.io/amit_sheen/pen/af022e80f75789c6b80a8d0eb718f890

 

Thank you!

#1. Add a Code Block

<button class="button ss">
	<span>Hover me I'm awesome</span>
</button>
<style>
  .ss.button {
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #f72359;
  padding: 1em 2em;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  border-radius: 100px;
}
.ss.button span {
  position: relative;
  pointer-events: none;
}
.ss.button::before {
  --size: 0;
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle closest-side, #4405f7, transparent);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}
.ss.button:hover::before {
  --size: 400px;
}
</style>
<script>
  document.querySelector('.button').onmousemove = e => {

  const x = e.pageX - e.target.offsetLeft;
  const y = e.pageY - e.target.offsetTop;

  e.target.style.setProperty('--x', `${x}px`);
  e.target.style.setProperty('--y', `${y}px`);

};
</script>

#2. Add a Code Block

<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>

<div class="content">
  <div class="text"></div>
</div>
<style>
  .cell {
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cell:nth-child(1):hover ~ .content {
  --partialString: "L";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(2):hover ~ .content {
  --partialString: "Lo";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(3):hover ~ .content {
  --partialString: "Lor";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(4):hover ~ .content {
  --partialString: "Lore";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(5):hover ~ .content {
  --partialString: "Lorem";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(6):hover ~ .content {
  --partialString: "Lorem ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(7):hover ~ .content {
  --partialString: "Lorem i";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(8):hover ~ .content {
  --partialString: "Lorem ip";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(9):hover ~ .content {
  --partialString: "Lorem ips";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(10):hover ~ .content {
  --partialString: "Lorem ipsu";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(11):hover ~ .content {
  --partialString: "Lorem ipsum";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(12):hover ~ .content {
  --partialString: "Lorem ipsum ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(13):hover ~ .content {
  --partialString: "Lorem ipsum d";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(14):hover ~ .content {
  --partialString: "Lorem ipsum do";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(15):hover ~ .content {
  --partialString: "Lorem ipsum dol";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(16):hover ~ .content {
  --partialString: "Lorem ipsum dolo";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(17):hover ~ .content {
  --partialString: "Lorem ipsum dolor";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(18):hover ~ .content {
  --partialString: "Lorem ipsum dolor ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(19):hover ~ .content {
  --partialString: "Lorem ipsum dolor s";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(20):hover ~ .content {
  --partialString: "Lorem ipsum dolor si";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(21):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(22):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(23):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit a";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(24):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit am";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(25):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit ame";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(26):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(27):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(28):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet c";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(29):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet co";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(30):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet con";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(31):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet cons";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(32):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet conse";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(33):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consec";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(34):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consect";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(35):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consecte";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(36):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectet";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(37):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetu";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(38):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(39):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(40):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur a";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(41):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur ad";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(42):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(43):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adip";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(44):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(45):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipis";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(46):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(47):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisic";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(48):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisici";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(49):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicin";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(50):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(51):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(52):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing e";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(53):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing el";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(54):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing eli";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(55):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing elit";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(56):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing elit.";
  --size: 32px;
  --color: #fff;
}

.content {
  --partialString: "Hover over the screen to reveal the text...";
  --color: #333;
  --size: 16px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 1em;
}

.text:after {
  content: var(--partialString);
  font-family: "Fredoka One", cursive;
  font-size: var(--size);
  color: var(--color);
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 10/27/2021 at 3:33 PM, tuanphan said:

#1. Add a Code Block

<button class="button ss">
	<span>Hover me I'm awesome</span>
</button>
<style>
  .ss.button {
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #f72359;
  padding: 1em 2em;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  border-radius: 100px;
}
.ss.button span {
  position: relative;
  pointer-events: none;
}
.ss.button::before {
  --size: 0;
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle closest-side, #4405f7, transparent);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}
.ss.button:hover::before {
  --size: 400px;
}
</style>
<script>
  document.querySelector('.button').onmousemove = e => {

  const x = e.pageX - e.target.offsetLeft;
  const y = e.pageY - e.target.offsetTop;

  e.target.style.setProperty('--x', `${x}px`);
  e.target.style.setProperty('--y', `${y}px`);

};
</script>

#2. Add a Code Block

<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>

<div class="content">
  <div class="text"></div>
</div>
<style>
  .cell {
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cell:nth-child(1):hover ~ .content {
  --partialString: "L";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(2):hover ~ .content {
  --partialString: "Lo";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(3):hover ~ .content {
  --partialString: "Lor";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(4):hover ~ .content {
  --partialString: "Lore";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(5):hover ~ .content {
  --partialString: "Lorem";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(6):hover ~ .content {
  --partialString: "Lorem ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(7):hover ~ .content {
  --partialString: "Lorem i";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(8):hover ~ .content {
  --partialString: "Lorem ip";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(9):hover ~ .content {
  --partialString: "Lorem ips";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(10):hover ~ .content {
  --partialString: "Lorem ipsu";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(11):hover ~ .content {
  --partialString: "Lorem ipsum";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(12):hover ~ .content {
  --partialString: "Lorem ipsum ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(13):hover ~ .content {
  --partialString: "Lorem ipsum d";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(14):hover ~ .content {
  --partialString: "Lorem ipsum do";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(15):hover ~ .content {
  --partialString: "Lorem ipsum dol";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(16):hover ~ .content {
  --partialString: "Lorem ipsum dolo";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(17):hover ~ .content {
  --partialString: "Lorem ipsum dolor";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(18):hover ~ .content {
  --partialString: "Lorem ipsum dolor ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(19):hover ~ .content {
  --partialString: "Lorem ipsum dolor s";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(20):hover ~ .content {
  --partialString: "Lorem ipsum dolor si";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(21):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(22):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(23):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit a";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(24):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit am";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(25):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit ame";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(26):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(27):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(28):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet c";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(29):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet co";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(30):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet con";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(31):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet cons";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(32):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet conse";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(33):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consec";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(34):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consect";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(35):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consecte";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(36):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectet";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(37):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetu";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(38):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(39):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(40):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur a";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(41):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur ad";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(42):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(43):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adip";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(44):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(45):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipis";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(46):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisi";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(47):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisic";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(48):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisici";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(49):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicin";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(50):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(51):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing ";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(52):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing e";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(53):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing el";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(54):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing eli";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(55):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing elit";
  --size: 32px;
  --color: #fff;
}

.cell:nth-child(56):hover ~ .content {
  --partialString: "Lorem ipsum dolor sit amet consectetur adipisicing elit.";
  --size: 32px;
  --color: #fff;
}

.content {
  --partialString: "Hover over the screen to reveal the text...";
  --color: #333;
  --size: 16px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 1em;
}

.text:after {
  content: var(--partialString);
  font-family: "Fredoka One", cursive;
  font-size: var(--size);
  color: var(--color);
}
</style>

 

Thank you very much! Unfortunately the first one is not responsive and the second one totally messes up the page.

Is there a way around it?

 

Edited by tan-flatworm
Link to comment
On 10/24/2021 at 11:28 PM, tuanphan said:

Add a Code Block

<div class="ss">
<p>LANSING, Mich. — Sure, you could wear a campaign button. But a photo with the candidate is so much more versatile: suitable for avatars, posting with a clever hashtag, even printing out and framing if you want to go analog.</p>

<p>Posing for the camera with a presidential candidate used to be a perk generally reserved for wealthy donors. At Senator Elizabeth Warren’s events, all it costs is passing some time in a well-organized selfie* line.</p>

<svg width="100%" height="160px" viewBox="0 0 1098.72 89.55">
  <path id="curve" fill="transparent" d="M0.17,0.23c0,0,105.85,77.7,276.46,73.2s243.8-61.37,408.77-54.05c172.09,7.64,213.4,92.34,413.28,64.19"></path>
  <text width="100%" style="transform:translate3d(0,0,0);">
      <textPath style="transform:translate3d(0,0,0);" alignment-baseline="top" xlink:href="#curve" startOffset="1200px" id="text-path">*The pictures are not technically selfies.</textPath>
  </text>
</svg>

<p>At a recent event in Lansing, a small army of campaign staff members — working like a factory assembly line that hums along — helped usher voters through their encounter with Ms. Warren in eight key steps.</p>

<p>Since entering the presidential race, Ms. Warren has taken pictures with more than 38,000 people, her campaign estimates. Ms. Warren says the photos are part of her effort to build what she likes to call a “grass-roots movement.”</p>

<p>“It’s how I make this real, person to person,” she said in an interview. “I know I won’t be able to shake the hand of every single person; I know I won’t be able to take a selfie with every single human being in this country. But I’m going to try.”</p></div>
<style>
  .ss p {
  max-width: 500px;
  margin: 0 auto 1rem;
}

text {
  fill: red;
  font-size: 30px;
}
</style>
<script>
  const textPath = document.querySelector("#text-path");

const h = document.documentElement, 
      b = document.body,
      st = 'scrollTop',
      sh = 'scrollHeight';

document.addEventListener("scroll", e => {
  let percent = (h[st]||b[st]) / ((h[sh]||b[sh]) - h.clientHeight) * 100;
  textPath.setAttribute("startOffset", (-percent * 40) + 1200)
});
</script>

 

Thank you! This worked great! 

Is there a way to make the font larger when viewing on mobile?

Link to comment
On 10/28/2021 at 3:45 PM, tan-flatworm said:

Thank you very much! Unfortunately the first one is not responsive and the second one totally messes up the page.

Is there a way around it?

 

(https://flatworm-tan-tn5d.squarespace.com/about-1-1  pw:2b1DA5)

 

#1. Try edit script code to this

<script>
  document.querySelector('.ss.button').onmousemove = e => {

  const x = e.pageX - e.target.offsetLeft;
  const y = e.pageY - e.target.offsetTop;

  e.target.style.setProperty('--x', `${x}px`);
  e.target.style.setProperty('--y', `${y}px`);

};
</script>

 

On 10/29/2021 at 1:04 AM, gretchenf said:

Thank you! This worked great! 

Is there a way to make the font larger when viewing on mobile?

Can you share link to page where you added the code? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 10/30/2021 at 10:02 PM, tuanphan said:

#1. Try edit script code to this

<script>
  document.querySelector('.ss.button').onmousemove = e => {

  const x = e.pageX - e.target.offsetLeft;
  const y = e.pageY - e.target.offsetTop;

  e.target.style.setProperty('--x', `${x}px`);
  e.target.style.setProperty('--y', `${y}px`);

};
</script>

 

Can you share link to page where you added the code? We can check easier

https://www.manealley.com/ pw; manealley2021

Link to comment

Hi i was wondering if someone could help me with this code..

If tried to copy it in a Code block ... but it didn't work..

https://codepen.io/knyttneve/pen/bgvmma/

 

#timeline-1.timeline-container

  .timeline-header

    h2.timeline-header__title Mustafa Kemal Atatürk

    h3.timeline-header__subtitle FATHER OF THE TURKS

  .timeline

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://i.cdn.ensonhaber.com/resimler/diger/ataturk_3473.jpg')

        h2.timeline__content-title

          | 1881

        p.timeline__content-desc

          | He was born in 1881 (probably in the spring) in Salonica, then an Ottoman city, now inGreece. His father Ali Riza, a customs official turned lumber merchant, died when Mustafawas still a boy. His mother Zubeyde, adevout and strong-willed woman, raised him and his sister.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://gazetemanifesto.com/wp-content/uploads/2015/11/mustafa-kemal.jpg')

        h2.timeline__content-title 1893

        p.timeline__content-desc

          | First enrolled in a traditionalreligious school, he soon switched to a modern school. In 1893, he entered a military highschool where his mathematics teacher gave him the second name Kemal (meaning perfection)in recognition of young Mustafa's superior achievement.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://www.volpeypir.com/upload/3732.jpg')

        h2.timeline__content-title 1905

        p.timeline__content-desc

          | In 1905, Mustafa Kemal graduated from the War Academy in Istanbul with the rank of Staff Captain. Posted in Damascus, he started with several colleagues, a clandestinesociety called "Homeland and Freedom" to fight against the Sultan'sdespotism.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://cdn.yemek.com/uploads/2014/11/ataturk-10-kasim.jpg')

        h2.timeline__content-title 1908

        p.timeline__content-desc

          | In 1908 he helped the group of officers who toppled the Sultan. Mustafa Kemal'scareer flourished as he won his heroism in the far corners of the Ottoman Empire,including Albania and Tripoli. He also briefly served as a staff officer in Salonica andIstanbul and as a military attache in Sofia.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://ataturk.istanbul.gov.tr/GalleryLibrary/12.jpg')

        h2.timeline__content-title 1915

        p.timeline__content-desc

          | In 1915, when Dardanelles campaign was launched, Colonel Mustafa Kemal became anational hero by winning successive victories and finally repelling the invaders.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://blog.istanbul1881.com/wp-content/uploads/2016/08/atat%C3%BCrk-%C3%BCn-inan%C4%B1lmaz-karizmatik-fotograf%C4%B1_861050.jpg')

        h2.timeline__content-title 1916

        p.timeline__content-desc

          | Promotedto general in 1916, at age 35, he liberated two major provinces in eastern Turkey thatyear. In the next two years, he served as commander of several Ottoman armies inPalestine, Aleppo, and elsewhere, achieving another major victory by stopping the enemyadvance at Aleppo.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://manisanokta.com/wp-content/uploads/2014/07/ataturk-20.jpg')

        h2.timeline__content-title 1919

        p.timeline__content-desc

          | On May 19, 1919, Mustafa Kemal Pasha landed in the Black Sea port of Samsun to startthe War of Independence. In defiance of the Sultan's government, he rallied a liberationarmy in Anatolia and convened the Congress of Erzurum and Sivas which established thebasis for the new national effort under his leadership.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://www.volpeypir.com/upload/3732.jpg')

        h2.timeline__content-title 1920

        p.timeline__content-desc

          | On April 23, 1920, the GrandNational Assembly was inaugurated. Mustafa Kemal Pasha was elected to its Presidency.

          | Fighting on many fronts, he led his forces to victory against rebels and invadingarmies. Following the Turkish triumph at the two major battles at Inonu in Western Turkey,the Grand National Assembly conferred on Mustafa Kemal Pasha the title ofCommander-in-Chief with the rank of Marshal.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://sanatkaravani.com/wp-content/uploads/2015/11/ataturk-4.jpg')

        h2.timeline__content-title 1922

        p.timeline__content-desc

          | At the end of August 1922, the Turkish armieswon their ultimate victory. Within a few weeks, the Turkish mainland was completelyliberated, the armistice signed, and the rule of the Ottoman dynasty abolished

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='https://turkcetarih.com/wp-content/uploads/2015/05/Atat%C3%BCrkveCumhuriyet.jpg')

        h2.timeline__content-title 1923

        p.timeline__content-desc

          | In July 1923, the national government signed the Lausanne Treaty with Great Britain,France, Greece, Italy, and others. In mid-October, Ankara became the capital of the new Turkish State. On October 29, the Republic was proclaimed and Mustafa Kemal Pasha wasunanimously elected President of the Republic.

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='https://pbs.twimg.com/media/Cw69H8pXUAEaSqa.jpg')

        h2.timeline__content-title 1934

        p.timeline__content-desc

          | The account of Atatürk's fifteen year Presidency is a saga of dramatic modernization.With indefatigable determination, he created a new political and legal system, abolished the Caliphate and made both government and education secular, gave equal rights to women,changed the alphabet and the attire, and advanced the arts and the sciences, agricultureand industry.

          | In 1934, when the surname law was adopted, the national parliament gave him the name 

          i

            strong "Atatürk" (Father of the Turks)

    .timeline-item(data-text='FATHER OF THE TURKS')

      .timeline__content

        img.timeline__img(src='http://www.bik.gov.tr/wp-content/uploads/2016/11/20161110_2_20037273_15856882.jpg?fit=1024%2C863')

        h2.timeline__content-title 1938

        p.timeline__content-desc

          | On November 10, 1938, following an illness of a few months, the national liberator and the Father of modern Turkey died. But his legacy to his people and to the world endures.

.demo-footer

  a(href='http://www.turkishnews.com/Ataturk/life.htm', target='_blank') Source/Kaynak

 

<style>

@import url('https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One');

// Responsive

@mixin responsive() {

  @media only screen and (max-width: 767px) {

    @content;

  }

}

 

$content-font: Cardo;

$heading-font: 'Pathway Gothic One',

sans-serif;

$timeline-width:700px;

$timeline-container-width:100%;

.timeline {

  display: flex;

  margin: 0 auto;

  flex-wrap: wrap;

  flex-direction: column;

  max-width: $timeline-width;

  position: relative;

  &__content {

    &-title {

      font-weight: normal;

      font-size: 66px;

      margin: -10px 0 0 0;

      transition: .4s;

      padding: 0 10px;

      box-sizing: border-box;

      font-family: $heading-font;

      color: #fff;

    }

    &-desc {

      margin: 0;

      font-size: 15px;

      box-sizing: border-box;

      color: rgba(#fff, .7);

      font-family: $content-font;

      font-weight: normal;

      line-height: 25px;

    }

  }

  &:before {

    position: absolute;

    left: 50%;

    width: 2px;

    height: 100%;

    margin-left: -1px;

    content: "";

    background: rgba(255, 255, 255, .07);

    @include responsive() {

      left: 40px;

    }

  }

  &-item {

    padding: 40px 0;

    opacity: .3;

    filter: blur(2px);

    transition: .5s;

    box-sizing: border-box;

    width: calc(50% - 40px);

    display: flex;

    position: relative;

    transform: translateY(-80px);

    &:before {

      content: attr(data-text);

      letter-spacing: 3px;

      width: 100%;

      position: absolute;

      color: rgba(#fff, .5);

      font-size: 13px;

      font-family: $heading-font;

      border-left: 2px solid rgba(#fff, .5);

      top: 70%;

      margin-top: -5px;

      padding-left: 15px;

      opacity: 0;

      right: calc(-100% - 56px);

    }

    &:nth-child(even) {

      align-self: flex-end;

      &:before {

        right: auto;

        text-align: right;

        left: calc(-100% - 56px);

        padding-left: 0;

        border-left: none;

        border-right: 2px solid rgba(#fff, .5);

        padding-right: 15px;

      }

    }

    &--active {

      opacity: 1;

      transform: translateY(0);

      filter: blur(0px);

      &:before {

        top: 50%;

        transition: .3s all .2s;

        opacity: 1;

      }

      .timeline__content-title {

        margin: -50px 0 20px 0;

      }

    }

    @include responsive() {

      align-self: baseline !important;

      width: 100%;

      padding: 0 30px 150px 80px;

      &:before {

        left: 10px !important;

        padding: 0 !important;

        top: 50px;

        text-align: center !important;

        width: 60px;

        border: none !important;

      }

      &:last-child {

        padding-bottom: 40px;

      }

    }

  }

  &__img {

    max-width: 100%;

    box-shadow: 0 10px 15px rgba(0, 0, 0, .4);

  }

  &-container {

    width: $timeline-container-width;

    position: relative;

    padding: 80px 0;

    transition: .3s ease 0s;

    background-attachment: fixed;

    background-size: cover;

    &:before {

      position: absolute;

      left: 0;

      top: 0;

      width: 100%;

      height: 100%;

      background: rgba(99, 99, 99, 0.8);

      content: "";

    }

  }

  &-header {

    width: 100%;

    text-align: center;

    margin-bottom: 80px;

    position: relative;

    &__title {

      color: #fff;

      font-size: 46px;

      font-family: $content-font;

      font-weight: normal;

      margin: 0;

    }

    &__subtitle {

      color: rgba(255, 255, 255, .5);

      font-family: $heading-font;

      font-size: 16px;

      letter-spacing: 5px;

      margin: 10px 0 0 0;

      font-weight: normal;

    }

  }

}

 

// DEMO

.demo-footer {

  padding: 60px 0;

  text-align: center;

  a {

    color: #999;

    display: inline-block;

    font-family: $content-font;

  }

}

 

</style>

 

<script>

 

(function($) {

  $.fn.timeline = function() {

    var selectors = {

      id: $(this),

      item: $(this).find(".timeline-item"),

      activeClass: "timeline-item--active",

      img: ".timeline__img"

    };

    selectors.item.eq(0).addClass(selectors.activeClass);

    selectors.id.css(

      "background-image",

      "url(" +

        selectors.item

          .first()

          .find(selectors.img)

          .attr("src") +

        ")"

    );

    var itemLength = selectors.item.length;

    $(window).scroll(function() {

      var max, min;

      var pos = $(this).scrollTop();

      selectors.item.each(function(i) {

        min = $(this).offset().top;

        max = $(this).height() + $(this).offset().top;

        var that = $(this);

        if (i == itemLength - 2 && pos > min + $(this).height() / 2) {

          selectors.item.removeClass(selectors.activeClass);

          selectors.id.css(

            "background-image",

            "url(" +

              selectors.item

                .last()

                .find(selectors.img)

                .attr("src") +

              ")"

          );

          selectors.item.last().addClass(selectors.activeClass);

        } else if (pos <= max - 40 && pos >= min) {

          selectors.id.css(

            "background-image",

            "url(" +

              $(this)

                .find(selectors.img)

                .attr("src") +

              ")"

          );

          selectors.item.removeClass(selectors.activeClass);

          $(this).addClass(selectors.activeClass);

        }

      });

    });

  };

})(jQuery);

 

$("#timeline-1").timeline();

 

</script>

Link to comment
On 10/31/2021 at 3:02 AM, tuanphan said:

#1. Try edit script code to this

<script>
  document.querySelector('.ss.button').onmousemove = e => {

  const x = e.pageX - e.target.offsetLeft;
  const y = e.pageY - e.target.offsetTop;

  e.target.style.setProperty('--x', `${x}px`);
  e.target.style.setProperty('--y', `${y}px`);

};
</script>

Thank you @tuanphan. This code didn't work for me either but I figured out a way around (for anyone who is interested) :

I added an Id to my html code and changed the css code accordingly. I used the following code for js:

<script>
let btn = document.getElementById("btn");
btn.onmousemove = function (e) {
  let rect = e.target.getBoundingClientRect();
  let x = e.clientX - rect.left;
  let y = e.clientY - rect.top;
    btn.style.setProperty("--x", x + "px")
    btn.style.setProperty("--y", y + "px");
};
</script>

 

Link to comment
On 11/5/2021 at 6:33 AM, catalin said:

@tuanphan Same question here, how would I apply this in a code block? https://codepen.io/kenwestphal/pen/xqRZYZ

Also for future reference, how are you doing this?!

 

See this video

<section class="sp-intro">
    <h4 class="sp-headline slide">
        <span>Specializing in</span>
        <span class="sp-words-wrapper">
            <b class="is-visible">Squarespace websites</b>
            <b>Shopify stores</b>
            <b>Skyward forms</b>
            <b>much more!</b>
        </span>
    </h4>
</section>
<style>
  .sp-intro {
width: 100%;
max-width: 100%;
text-align: center;
margin: 0 auto;
}
.sp-intro h4, .sp-intro b, .sp-intro i, .sp-intro p, .sp-intro span {
line-height: 46px;
font-size: 38px;
font-weight: 400;
font-style: initial;
color: #111111;
}
.sp-words-wrapper {
display: inline-block;
position: relative;
text-align: left;
}
.sp-words-wrapper b {
display: inline-block;
position: absolute;
white-space: nowrap;
left: 0;
top: 0;
  width: auto !important;
}
.sp-words-wrapper b.is-visible {
position: relative;
}
.no-js .sp-words-wrapper b {
opacity: 0;
}
.no-js .sp-words-wrapper b.is-visible {
opacity: 1;
}

.sp-headline.slide span {
display: inline-block;
padding: 0;
}
.sp-headline.slide .sp-words-wrapper {
overflow: hidden;
vertical-align: bottom;
}
.sp-headline.slide b {
opacity: 0;
top: .2em;
}
.sp-headline.slide b.is-visible {
top: 0;
opacity: 1;
-webkit-animation: slide-in 0.6s;
-moz-animation: slide-in 0.6s;
animation: slide-in 0.6s;
}
.sp-headline.slide b.is-hidden {
-webkit-animation: slide-out 0.6s;
-moz-animation: slide-out 0.6s;
animation: slide-out 0.6s;
}

@-webkit-keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(-100%);
}
60% {
opacity: 1;
-webkit-transform: translateY(20%);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
}
}
@-moz-keyframes slide-in {
0% {
opacity: 0;
-moz-transform: translateY(-100%);
}
60% {
opacity: 1;
-moz-transform: translateY(20%);
}
100% {
opacity: 1;
-moz-transform: translateY(0);
}
}
@keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
60% {
opacity: 1;
-webkit-transform: translateY(20%);
-moz-transform: translateY(20%);
-ms-transform: translateY(20%);
-o-transform: translateY(20%);
transform: translateY(20%);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
}
@-webkit-keyframes slide-out {
0% {
opacity: 1;
-webkit-transform: translateY(0);
}
60% {
opacity: 0;
-webkit-transform: translateY(120%);
}
100% {
opacity: 0;
-webkit-transform: translateY(100%);
}
}
@-moz-keyframes slide-out {
0% {
opacity: 1;
-moz-transform: translateY(0);
}
60% {
opacity: 0;
-moz-transform: translateY(120%);
}
100% {
opacity: 0;
-moz-transform: translateY(100%);
}
}
@keyframes slide-out {
0% {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
60% {
opacity: 0;
-webkit-transform: translateY(120%);
-moz-transform: translateY(120%);
-ms-transform: translateY(120%);
-o-transform: translateY(120%);
transform: translateY(120%);
}
100% {
opacity: 0;
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
}
@media (min-width : 668px) and (max-width : 1024px) {
.sp-intro h4, .sp-intro b, .sp-intro i, .sp-intro p, .sp-intro span {
line-height: 46px !important;
font-size: 38px !important;
font-weight: 400 !important;
}
}
@media (max-width : 667px) {
.sp-intro h4, .sp-intro b, .sp-intro i, .sp-intro span, .sp-intro p {
line-height: 36px !important;
font-size: 28px !important;
font-weight: 400 !important;
}
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script>
  
jQuery(document).ready(function($){

var animationDelay = 2500,
barAnimationDelay = 3800,
barWaiting = barAnimationDelay - 3000, 
lettersDelay = 50,
typeLettersDelay = 150,
selectionDuration = 500,
typeAnimationDelay = selectionDuration + 800,
revealDuration = 600,
revealAnimationDelay = 1500;

initHeadline();


function initHeadline() {

singleLetters($('.sp-headline.letters').find('b'));
animateHeadline($('.sp-headline'));
}

function singleLetters($words) {
$words.each(function(){
var word = $(this),
letters = word.text().split(''),
selected = word.hasClass('is-visible');
for (i in letters) {
if(word.parents('.rotate-2').length > 0) letters[i] = '<em>' + letters[i] + '</em>';
letters[i] = (selected) ? '<i class="in">' + letters[i] + '</i>': '<i>' + letters[i] + '</i>';
}
var newLetters = letters.join('');
word.html(newLetters).css('opacity', 1);
});
}

function animateHeadline($headlines) {
var duration = animationDelay;
$headlines.each(function(){
var headline = $(this);

if(headline.hasClass('loading-bar')) {
duration = barAnimationDelay;
setTimeout(function(){ headline.find('.sp-words-wrapper').addClass('is-loading') }, barWaiting);
} else if (headline.hasClass('clip')){
var spanWrapper = headline.find('.sp-words-wrapper'),
newWidth = spanWrapper.width() + 10
spanWrapper.css('width', newWidth);
} else if (!headline.hasClass('type') ) {

var words = headline.find('.sp-words-wrapper b'),
width = 0;
words.each(function(){
var wordWidth = $(this).width();
if (wordWidth > width) width = wordWidth;
});
headline.find('.sp-words-wrapper').css('width', width);
};

setTimeout(function(){ hideWord( headline.find('.is-visible').eq(0) ) }, duration);
});
}

function hideWord($word) {
var nextWord = takeNext($word);

if($word.parents('.sp-headline').hasClass('type')) {
var parentSpan = $word.parent('.sp-words-wrapper');
parentSpan.addClass('selected').removeClass('waiting');
setTimeout(function(){ 
parentSpan.removeClass('selected'); 
$word.removeClass('is-visible').addClass('is-hidden').children('i').removeClass('in').addClass('out');
}, selectionDuration);
setTimeout(function(){ showWord(nextWord, typeLettersDelay) }, typeAnimationDelay);

} else if($word.parents('.sp-headline').hasClass('letters')) {
var bool = ($word.children('i').length >= nextWord.children('i').length) ? true : false;
hideLetter($word.find('i').eq(0), $word, bool, lettersDelay);
showLetter(nextWord.find('i').eq(0), nextWord, bool, lettersDelay);

}else if($word.parents('.sp-headline').hasClass('clip')) {
$word.parents('.sp-words-wrapper').animate({ width : '2px' }, revealDuration, function(){
switchWord($word, nextWord);
showWord(nextWord);
});

} else if ($word.parents('.sp-headline').hasClass('loading-bar')){
$word.parents('.sp-words-wrapper').removeClass('is-loading');
switchWord($word, nextWord);
setTimeout(function(){ hideWord(nextWord) }, barAnimationDelay);
setTimeout(function(){ $word.parents('.sp-words-wrapper').addClass('is-loading') }, barWaiting);

} else {
switchWord($word, nextWord);
setTimeout(function(){ hideWord(nextWord) }, animationDelay);
}
}

function hideLetter($letter, $word, $bool, $duration) {
$letter.removeClass('in').addClass('out');

if(!$letter.is(':last-child')) {
 setTimeout(function(){ hideLetter($letter.next(), $word, $bool, $duration); }, $duration);
} else if($bool) { 
 setTimeout(function(){ hideWord(takeNext($word)) }, animationDelay);
}

if($letter.is(':last-child') && $('html').hasClass('no-csstransitions')) {
var nextWord = takeNext($word);
switchWord($word, nextWord);
} 
}

function showLetter($letter, $word, $bool, $duration) {
$letter.addClass('in').removeClass('out');

if(!$letter.is(':last-child')) { 
setTimeout(function(){ showLetter($letter.next(), $word, $bool, $duration); }, $duration); 
} else { 
if($word.parents('.sp-headline').hasClass('type')) { setTimeout(function(){ $word.parents('.sp-words-wrapper').addClass('waiting'); }, 200);}
if(!$bool) { setTimeout(function(){ hideWord($word) }, animationDelay) }
}
}

function takeNext($word) {
return (!$word.is(':last-child')) ? $word.next() : $word.parent().children().eq(0);
}

function takePrev($word) {
return (!$word.is(':first-child')) ? $word.prev() : $word.parent().children().last();
}

function switchWord($oldWord, $newWord) {
$oldWord.removeClass('is-visible').addClass('is-hidden');
$newWord.removeClass('is-hidden').addClass('is-visible');
}
});

</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 11/5/2021 at 8:36 PM, MattCaspian said:

Hi @tuanphan - your work supporting our community with CodePen CSS is remarkable.

Not wanting to take advantage, but given your expertise could I please request your assistance with https://codepen.io/MarcoGuglielmelli/pen/lLCxy

I'd like to add a tweaked version of this as the background on one page of a SS 7.1 website i'm developing.

Thank you in advance, Matthew

Try this Code Block

<div id="large-header" class="large-header">
  <canvas id="demo-canvas"></canvas>
    <h1 class="main-title">Connect <span class="thin">Three</span></h1>
</div>
<link rel="stylesheet" href="https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/css/demo.css"/>
<style>
  /* Header */
.large-header {
  position: relative;
  width: 100%;
  background: #333;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}
#large-header {
  background-image: url("https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/img/demo-1-bg.jpg");
}
.main-title {
  position: absolute;
  margin: 0;
  padding: 0;
  color: #f9f1e9;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}
.demo-1 .main-title {
  text-transform: uppercase;
  font-size: 4.2em;
  letter-spacing: 0.1em;
}
.main-title .thin {
  font-weight: 200;
}
@media only screen and (max-width: 768px) {
  .demo-1 .main-title {
    font-size: 3em;
  }
}

</style>
<script src="https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/js/EasePack.min.js"></script>
<script src="https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/js/rAF.js"></script>
<script src="https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/js/TweenLite.min.js"></script>
<script>
  (function() {

    var width, height, largeHeader, canvas, ctx, points, target, animateHeader = true;

    // Main
    initHeader();
    initAnimation();
    addListeners();

    function initHeader() {
        width = window.innerWidth;
        height = window.innerHeight;
        target = {x: width/2, y: height/2};

        largeHeader = document.getElementById('large-header');
        largeHeader.style.height = height+'px';

        canvas = document.getElementById('demo-canvas');
        canvas.width = width;
        canvas.height = height;
        ctx = canvas.getContext('2d');

        // create points
        points = [];
        for(var x = 0; x < width; x = x + width/20) {
            for(var y = 0; y < height; y = y + height/20) {
                var px = x + Math.random()*width/20;
                var py = y + Math.random()*height/20;
                var p = {x: px, originX: px, y: py, originY: py };
                points.push(p);
            }
        }

        // for each point find the 5 closest points
        for(var i = 0; i < points.length; i++) {
            var closest = [];
            var p1 = points[i];
            for(var j = 0; j < points.length; j++) {
                var p2 = points[j]
                if(!(p1 == p2)) {
                    var placed = false;
                    for(var k = 0; k < 5; k++) {
                        if(!placed) {
                            if(closest[k] == undefined) {
                                closest[k] = p2;
                                placed = true;
                            }
                        }
                    }

                    for(var k = 0; k < 5; k++) {
                        if(!placed) {
                            if(getDistance(p1, p2) < getDistance(p1, closest[k])) {
                                closest[k] = p2;
                                placed = true;
                            }
                        }
                    }
                }
            }
            p1.closest = closest;
        }

        // assign a circle to each point
        for(var i in points) {
            var c = new Circle(points[i], 2+Math.random()*2, 'rgba(255,255,255,0.3)');
            points[i].circle = c;
        }
    }

    // Event handling
    function addListeners() {
        if(!('ontouchstart' in window)) {
            window.addEventListener('mousemove', mouseMove);
        }
        window.addEventListener('scroll', scrollCheck);
        window.addEventListener('resize', resize);
    }

    function mouseMove(e) {
        var posx = posy = 0;
        if (e.pageX || e.pageY) {
            posx = e.pageX;
            posy = e.pageY;
        }
        else if (e.clientX || e.clientY)    {
            posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
            posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
        }
        target.x = posx;
        target.y = posy;
    }

    function scrollCheck() {
        if(document.body.scrollTop > height) animateHeader = false;
        else animateHeader = true;
    }

    function resize() {
        width = window.innerWidth;
        height = window.innerHeight;
        largeHeader.style.height = height+'px';
        canvas.width = width;
        canvas.height = height;
    }

    // animation
    function initAnimation() {
        animate();
        for(var i in points) {
            shiftPoint(points[i]);
        }
    }

    function animate() {
        if(animateHeader) {
            ctx.clearRect(0,0,width,height);
            for(var i in points) {
                // detect points in range
                if(Math.abs(getDistance(target, points[i])) < 4000) {
                    points[i].active = 0.3;
                    points[i].circle.active = 0.6;
                } else if(Math.abs(getDistance(target, points[i])) < 20000) {
                    points[i].active = 0.1;
                    points[i].circle.active = 0.3;
                } else if(Math.abs(getDistance(target, points[i])) < 40000) {
                    points[i].active = 0.02;
                    points[i].circle.active = 0.1;
                } else {
                    points[i].active = 0;
                    points[i].circle.active = 0;
                }

                drawLines(points[i]);
                points[i].circle.draw();
            }
        }
        requestAnimationFrame(animate);
    }

    function shiftPoint(p) {
        TweenLite.to(p, 1+1*Math.random(), {x:p.originX-50+Math.random()*100,
            y: p.originY-50+Math.random()*100, ease:Circ.easeInOut,
            onComplete: function() {
                shiftPoint(p);
            }});
    }

    // Canvas manipulation
    function drawLines(p) {
        if(!p.active) return;
        for(var i in p.closest) {
            ctx.beginPath();
            ctx.moveTo(p.x, p.y);
            ctx.lineTo(p.closest[i].x, p.closest[i].y);
            ctx.strokeStyle = 'rgba(156,217,249,'+ p.active+')';
            ctx.stroke();
        }
    }

    function Circle(pos,rad,color) {
        var _this = this;

        // constructor
        (function() {
            _this.pos = pos || null;
            _this.radius = rad || null;
            _this.color = color || null;
        })();

        this.draw = function() {
            if(!_this.active) return;
            ctx.beginPath();
            ctx.arc(_this.pos.x, _this.pos.y, _this.radius, 0, 2 * Math.PI, false);
            ctx.fillStyle = 'rgba(156,217,249,'+ _this.active+')';
            ctx.fill();
        };
    }

    // Util
    function getDistance(p1, p2) {
        return Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2);
    }
    
})();
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 11/9/2021 at 9:53 AM, entirehome said:

@tuanphan If I could please ask for your help with this code that I would like to use on my shopify store: https://codepen.io/clarewhatever/pen/YqXNeB

Your time is very much appreciated! 

With Shopify, it has no Code Block, so this will be a bit complex. You can duplicate the site & add me as a contributor? I will test to see how to add Codepen code to Shopify.

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...
  • 1 month later...

@tuanphan
Hi, sorry to be that guy but i tried to merge the HTML CSS and JS myself however i couldn't get the infobox text to work. This is the codepen link is https://codepen.io/libertyyork/pen/rNaYarx and my merge attempt is below thanks 🙂 

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
  <div id="info-box"></div>
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" id="uk-map"
   viewBox="0 0 600 600" style="enable-background:new 0 0 600 600;" xml:space="preserve">
<style type="text/css">
  .st0{fill:#666666;}
  .st1{fill:#58B9FA;}
  .st2{fill:#0A7FC8;}
  .st3{fill:#1B659D;}
</style>
<g>
  <g>
  <path id="East Angila"  data-info="<div><h3>East Angila</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M426.32,370.36c-0.99-2.68-1.13-4.45-1.48-4.66c-0.35-0.21-2.4-2.33-2.4-2.33l-3.32-1.77l-5.93-3.04
      c0,0-4.94-1.98-5.37-1.98s-1.91,1.27-1.91,1.27l-5.09-0.85l-4.1,0.35c0,0-2.4,1.55-2.75,2.47c-0.35,0.92-0.85,1.7-0.92,2.33
      c-0.07,0.64-1.75,2.88-1.75,2.88s-1.25-1.31-1.12-1.53c0.1-0.17-0.91,0.12-1.31,0.24v0.96c0,0-0.77,1.18-1.41,2.18
      c-0.65,1-2.65,0-2.65,0l-1.36,1.24l-0.94,2.36h-1.65l-1,2.12l-3.48,1.36c0,0-0.18,1.24-2.06,1.77c-1.89,0.53-3-1.47-3-1.47
      s0.59,1.24,1.24,2c0.65,0.77-0.24,3.25-0.24,3.25l-2.83,2.11l0.29,1l0.29,1.65l-0.71,0.29l-1.06,1.89l-2.24-0.35l0.71,1.53
      l-1.77,1c0,0-3,1.59-3.77,2.69c-0.77,1.1-2.71,0.61-2.71,0.61l1.41,1.71l-0.74,2.27c0.37,0.24,0.76,0.61,0.88,1.14
      c0.24,1.07,4.92,3.96,5.95,4.96c1.03,0.99,0.12,2.26,0.04,2.5c-0.08,0.24-3.57-1.03-3.57-1.03l0.99,1.94l2.54,2.02l1.11,2.97
      l1.51,2.12l-0.02,0l4.81-0.55l3.28-1.48c0,0,3.56-0.51,3.88-0.42s1.2,1.8,1.29,2.03c0.09,0.23,2.59,0.28,2.96,0.37
      c0.37,0.09,2.64,0.32,2.64,0.32s3.05,1.06,3.47,2.22c0.21,0.58,1.03,1.06,1.81,1.4c0,0-0.01,0.01-0.01,0.02
      c0.08-0.14,0.15-0.24,0.15-0.24h1.55h2.54l1.77-0.48c0,0,2.19-0.23,3.18-0.01c0.99,0.21,3.39-1.98,3.96-2.26
      c0.57-0.28,0.35-4.94,0.42-5.37c0.07-0.42-0.78-0.85-1.34-0.28c-0.57,0.57-1.77,0.71-2.19,1.13s-1.77,0.14-2.26,0
      c-0.49-0.14-0.85-1.2-0.64-1.34c0.21-0.14,2.05,0.07,2.83,0c0.78-0.07,1.55-1.44,1.55-1.44l3.04-2.94c0,0,0.49,1.7,1.7,2.54
      c1.2,0.85,1.55,0.21,3.67-0.64c2.12-0.85,2.33-3.11,2.33-3.11s-1.84,0.21-2.4,0c-0.56-0.21,1.13-1.2,1.13-1.2l0.92-1.2h-2.97
      c0,0-2.68-1.06-2.4-1.19c0.28-0.13,0.92-0.08,2.54-0.01c1.62,0.07,2.97-0.44,2.97-0.44s-0.64-0.27-1.2-0.41
      c-0.57-0.14-1.91-1.2-2.19-1.27c-0.28-0.07-0.21-0.99,0.57-1.13c0.78-0.14,3.6,2.4,3.88,2.68c0.28,0.28,1.2,0,1.2,0l2.61-2.61
      l2.68-2.83l1.62-3.25l0.14-3.74l1.13-3.04c0,0,1.77-3.96,2.05-5.09C427.59,376.16,427.31,373.05,426.32,370.36z" />
  </g>
  <g>
      
<path id="South East"  data-info="<div><h3>South East</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M419.9,422.77c0.35-0.28-1.7-0.35-2.19-0.35c-0.49,0-2.19-0.14-3.46-0.14c-1.27,0-3.04,0.57-3.04,0.57
        s-2.19,0.35-2.75,0.64c-0.57,0.29-3.39,0-3.39,0s-1.84-0.07-2.9,0c-1.06,0.07-0.07-1.24-0.07-1.24h2.61c0,0,1.55-0.38,1.13-0.38
        s-2.68-1.84-3.53-2.33c-0.85-0.49-0.28,0.14-0.64,0.42c-0.35,0.28-0.49,0.85-0.49,1.13c0,0.28-0.14,1.06-1.2,1.14
        c-1.06,0.08-1.77-0.08-2.47-0.01c-0.71,0.07-0.85-0.57-0.85-0.85s0.14-0.99,0.21-1.2c0.07-0.21,1.84-0.42,3.32-0.49
        c1.48-0.07,0.14-0.28,0.07-0.64c-0.07-0.35-0.92-1.06-2.83-1.27c-1.91-0.21-1.48-0.07-1.77-0.07s-0.78,0.92-0.78,0.92
        s-1.2,0.07-1.41-0.57c-0.02-0.06-0.06-0.11-0.09-0.16l-0.89,0.89l-2.77,0.14c0,0-1.06,0.05-3.05,0.74s-0.88,2.77-1.43,4.12
        c-0.55,1.34-0.6,1.34-1.11,1.94c-0.51,0.6-1.39,0-1.48-0.74s-1.39-0.74-2.64-0.46c-1.25,0.28-1.71,1.53-2.17,0.79
        c-0.46-0.74-0.97-0.79-0.97-0.79s-1.2-1.29-1.71-1.53s-1.43,0.92-1.43,0.92s-0.18-0.92-0.18-1.43c0-0.51-0.92-0.92-2.54-2.36
        c-1.62-1.43-1.94-1.43-1.94-1.43l-0.42-6.15l0.02,0l-1.51-2.12l-1.11-2.97l-2.54-2.02l-0.99-1.94c0,0,3.49,1.27,3.57,1.03
        c0.08-0.24,0.99-1.51-0.04-2.5c-1.03-0.99-5.71-3.88-5.95-4.96c-0.24-1.07-1.63-1.51-1.63-1.51l-2.18-1.27l-3.33,1.9
        c0,0-0.79,1.15-1.74,1.23c-0.95,0.08-3.53-0.24-3.53-0.24l1.15-4.6c0,0-0.67-0.75-1.15-1.15c-0.48-0.4-1.78,0.55-1.78,0.55
        s-0.4,0.91-1.07,1.31c-0.67,0.4-2.02,3.29-2.38,3.88c-0.36,0.59-2.97,2.46-3.49,3.01c-0.52,0.55-1.23,5.87-1.23,7.29
        s0.95,0.95,0.75,2.14c-0.2,1.19-1.19,0-0.75,2.26c0.44,2.26,1.15,3.92,1.15,3.92l2.42,2.85l0.83,2.06l-0.75,1.9l1.27,0.4
        l-0.16,1.47l-1.31,2.5l-1.68,1.51l-2.36-0.2c0,0,0.99,2.5,1.19,4c0.2,1.51,1.55,5.15,1.55,5.15s-0.24,1.43-0.79,2.02
        c-0.56,0.59-0.67,0.95-1.59,0.63c-0.91-0.32-5.15-2.22-5.95-1.9c-0.79,0.32-1.23,1.39-1.23,1.39l2.5,1.55
        c0,0,1.55-0.95,1.23,0.32c-0.32,1.27,0.16,2.14,0.16,2.14l0.24,1.07c0,0-0.04,0.62,0.24,1.4s1.07,1.41,1.07,1.41l1.19,1.05
        c0.11-0.1,0.18-0.18,0.18-0.18l2.38,0.71l1.22-0.64c0,0,1.27-1.06,2.9-1.48s2.61-0.85,2.9-0.99c0.28-0.14-0.42-1.48-0.99-1.77
        c-0.57-0.28-2.54-2.61-2.54-2.9s3.74,1.55,4.8,2.33c1.06,0.78,3.46,3.25,3.46,3.25v-1.34v-1.7l2.26,0.28l-0.85,1.77v1.55
        c0,0,0.64-0.78,0.85-0.99c0.21-0.21,0.49-1.84,0.71-2.26c0.21-0.42,1.55-0.07,1.55-0.07l2.05,0.42l0.42,1.62
        c0,0-0.42,0.71-0.42,0.92c0,0.21,1.2,1.34,1.41,1.34c0.21,0,1.98-0.64,1.98-0.64l1.91-0.78l2.97-1.34l4.87-0.21l5.37-0.99
        l5.44,1.84l2.75,1.27l3.46,0.85l3.32-3.67c0,0,5.23-0.57,5.79-0.64c0.57-0.07,1.48-1.2,1.48-1.2l1.27-0.64l2.12-2.26
        c0,0,2.47,0.71,3.46,1.13c0.99,0.42,0.99,0.35,1.41-0.71c0.42-1.06-0.28-1.84,0.64-2.97c0.92-1.13,4.03-2.75,4.03-2.75
        s3.32-1.7,4.1-1.84c0.78-0.14,2.61-2.47,2.61-2.47s0.57-2.68,0.78-3.6c0.21-0.92-1.06-1.34-1.06-1.34s0.28-1.13,0.42-1.41
        C418.48,423.76,419.54,423.05,419.9,422.77z"/>
    </g>
  <g>
    <g>

    
      <path id="Scotland"  data-info="<div><h3>Scotland</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M325.51,255.16c-0.37-1.39-3.8-5.38-3.57-6.17c0.23-0.79,1.53-0.09,2.13-0.83c0.6-0.74,1.44-1.39,3.15-3.39
        c0.89-1.03,2.05-2.24,2.96-3.16l-3.1-4.3l-2.03-0.18c0,0-3.67-1.41-4.46-1.81c-0.8-0.4-2.34-0.8-3.14-1.1
        c-0.8-0.31-3.49-1.9-3.49-1.9s-2.08-0.66-3.58-0.18c-1.5,0.49-1.5,2.47-2.17,3.14c-0.66,0.66-3.8,1.37-3.8,1.37l-1.9-0.75
        l-3.71-0.75l-4.68-1.24l-5.08-0.35l-2.3-1.46c0,0-2.17-1.9-2.25-2.03c-0.09-0.13,0.53-1.02,0.53-1.02l3.4,2.25l2.74,0.4
        c0,0,5.57,0.44,6.23,0.4c0.66-0.04,4.15-0.49,4.15-0.49s0.22-1.46,0.31-1.72c0.09-0.27,4.77-4.24,5.44-4.51
        c0.66-0.27,1.46-0.31,2.47,0.49c1.02,0.8,1.24,0.44,2.03,0.13c0.8-0.31,3.98-2.61,3.98-2.61s-0.04-1.02-0.09-1.15
        c-0.04-0.13-1.5-0.88-1.5-0.88s-3.49-1.06-3.62-1.33c-0.13-0.27,0.18-1.59,0.18-1.59l0.22-1.5c0,0-2.43-1.06-3.36-0.57
        c-0.93,0.49-3.89,2.12-3.89,2.12l-3.45,1.15c0,0-1.81,0.84-1.86,0.4c-0.04-0.44,5.26-4.73,5.26-4.73l4.37-0.53l4.29-0.09
        l4.51-3.76c0,0,2.17-2.43,2.52-5.35c0.35-2.92,2.7-2.96,3.84-3.62c1.15-0.66,2.83-4.11,2.74-5.35c-0.09-1.24,0.53-3.14,1.06-3.84
        c0.53-0.71,3.09-2.52,2.61-4.33c-0.49-1.81,1.77-6.67,2.96-7.78c1.19-1.1,3.23-3.45,4.02-4.68c0.8-1.24,1.06-0.4,1.33-0.57
        c0.27-0.18-0.75-0.71-1.28-2.56c-0.53-1.86-2.96-5.74-2.96-5.74s-3.09-1.28-4.33-1.28s-1.5,0.49-1.5,0.49s-1.28,0.66-2.08,0.62
        c-0.8-0.04-1.02-0.97-1.24-0.66c-0.22,0.31,0.27,0.62-1.37,0.84c-1.64,0.22-2.34,0.09-4.15-0.35c-1.81-0.44-8.17-0.88-9.15-1.02
        c-0.97-0.13-2.25,1.33-3.93,1.77c-1.68,0.44-2.47-0.27-3.4-1.15c-0.93-0.88-6.1-1.33-7.11-1.24c-1.02,0.09-0.62,1.1-1.41,2.03
        c-0.8,0.93-1.68,0.49-1.68,0.49l-0.71,0.71c0,0-1.15-0.84-1.46-0.8c-0.31,0.04-1.72,1.24-2.83,2.47c-1.1,1.24-3,0.18-3,0.18
        s-3.14-0.22-3.84,0.66c-0.71,0.88-2.7,3.89-2.7,3.89s-2.12-1.37-1.81-2.08c0.31-0.71,2.78-2.47,3.89-3.27
        c1.1-0.8,1.37-2.25,1.37-2.25c-0.22,0.31-1.81,0.22-1.81,0.22s-2.17-0.18-3.4,0.22c-1.24,0.4-2.65,2.12-2.92,2.43
        c-0.27,0.31-1.37,0.93-1.33,0.04c0.04-0.88,2.52-3,3.09-3.8c0.57-0.8,2.52-0.22,2.52-0.22s1.86-1.28,3.31-1.99
        c1.46-0.71,0.75,1.81,1.15,1.9c0.4,0.09,4.51-4.15,4.51-4.15l0.88-2.39c0,0-1.24,1.15-1.99,1.72c-0.75,0.57-0.97,0.27-1.46,0.27
        c-0.49,0-0.75-0.84-1.02-0.84c-0.27,0-1.19,0.84-1.19,0.84s-2.7-0.62-5.08-0.8c-2.39-0.18-2.92-0.71-2.92-0.71l-0.8-2.03
        c0,0,1.94,0.44,2.61,0.93c0.66,0.49,2.17,0,4.07,0.13c1.9,0.13,2.34-0.57,2.34-0.57l0.22-1.5c0,0-1.77-0.62-1.37-1.33
        s1.55,0.18,1.99,0c0.44-0.18,3.18-1.81,4.68-3.27c1.5-1.46,9.9-7.64,11.27-8.93c1.37-1.28,2.3-1.1,3.23-1.59
        c0.93-0.49,3.45-4.77,3.45-4.77l0.13-1.41c0,0-1.19-1.63-1.19-2.47s2.65-4.07,2.65-4.07s-4.73-0.57-5.13-0.57
        s-2.08,0.13-2.08,0.13s-1.81-1.15-2.03-0.53c-0.22,0.62,1.28,1.19,1.28,1.19s0,1.1-0.53,1.24c-0.53,0.13-6.1-0.97-6.1-0.97
        s-2.39,0.4-2.52,0.53c-0.13,0.13-3,1.41-3,1.41s-3.23,0.09-3.62,0.09s-1.15-1.55-1.15-1.55s-0.13,1.06-0.27,1.33
        c-0.13,0.27-0.13,0.49-1.28,0.66c-1.15,0.18-2.3,1.24-2.43,1.33c-0.13,0.09-3.05-0.84-4.11,0.04c-1.06,0.88-3.23,2.87-3.23,2.87
        s0.57-1.94,1.15-3.05c0.57-1.1-1.5-1.86-1.63-2.03c-0.13-0.18-1.64-0.09-1.68,0.49c-0.04,0.57-3.8,5.13-3.8,5.13l-0.97-0.88
        c0,0,2.3-3.27,2.3-3.54c0-0.27-2.3-2.3-2.3-2.3s-0.09,1.59-0.27,2.03c-0.18,0.44-1.02,1.1-1.02,1.1s-0.71-2.83-1.02-3
        c-0.31-0.18-2.43-1.24-2.43-1.24l-1.81,3.76l-1.72,1.15l1.06,1.02l0.71,1.15l-1.55,0.88l1.77,0.82l-0.09,1.75
        c0,0-2.83-1.99-3.23-1.72c-0.4,0.27-0.4,2.83-0.4,2.83l2.65,2.7l2.3-0.49l0.18,1.94c0,0-2.78-0.66-2.96-0.62
        c-0.18,0.04-3.49-0.13-3.49-0.13s-1.19,0.35-2.25,0.66c-1.06,0.31-2.21-0.88-2.21-0.88s0,0,0.13,0.75
        c0.13,0.75,3.14,2.83,3.54,3.09c0.4,0.27-0.97,2.3-1.02,2.56c-0.04,0.27-0.09,1.28-1.41,1.28c-1.33,0-2.52-0.88-2.52-0.88
        s0.62,1.72,0.84,2.08c0.22,0.35,1.68,0.97,1.68,0.97l2.52,1.41c0,0,0.93,0.4,0.97,1.48c0.04,1.08,2.65,2.63,2.65,2.63l-1.02,1.41
        l-1.02-1.28l-1.55-1.28c0,0-2.08-0.57-2.21-0.62c-0.13-0.04-1.9-1.15-2.03-0.8c-0.13,0.35,4.11,2.65,4.11,2.65s0.18,1.24,0,1.24
        c-0.18,0-4.29-2.78-4.29-2.78s-1.28,1.9-1.9,2.3c-0.62,0.4-0.22-0.13-0.62-0.27c-0.4-0.13-0.93-1.1-0.93-1.1
        s-1.24-1.41-1.55-1.46c-0.31-0.04-0.71,0.18-1.02,1.28c-0.31,1.1,1.33,1.19,1.59,1.41c0.27,0.22,0.35,2.61,0.31,2.87
        c-0.04,0.27-1.94,0.4-1.94,0.4l-0.93-0.57c0,0-0.22-2.17-0.31-2.7c-0.09-0.53-1.28-0.66-1.28-0.66s-0.71,0-1.19,0.71
        c-0.49,0.71-0.22,3.62,0.13,3.93c0.35,0.31,2.61,1.33,2.61,1.33s-0.35,0.71-0.75,1.19c-0.4,0.49-1.15-0.31-1.37-0.35
        c-0.22-0.04-0.93,1.24-0.93,1.24s-0.09,0.75,0.22,1.1s2.74,3.21,2.74,3.21s2.65,0.06,2.83,0c0.18-0.06,1.06,0.46,1.15,0.94
        c0.09,0.49-2.12,0.53-2.52,0.53c-0.4,0-1.68,0.35-1.68,0.35l-1.1-0.75c0,0-2.7-1.68-2.74-0.84c-0.04,0.84-0.62,3.31-0.62,3.31
        l0.93,1.37l-0.09,2.43c0,0,1.15,0.75,1.72,0.75c0.57,0,1.37-1.46,1.37-1.46l0.97-0.57l1.02,0.31l-0.49,1.1
        c0,0,0.84,0.18,1.59,0.22c0.75,0.04,1.1-0.97,1.1-0.97l1.28-1.24l1.28,0.44c0,0-0.84,1.28-1.1,1.64c-0.27,0.35-1.9,1.1-2.52,1.28
        c-0.62,0.18-2.17-0.53-2.3-0.53c-0.13,0-1.94,2.12-1.94,2.12l2.03,0.35l1.99,0.35l2.61-1.99l1.15,0.31c0,0,0,0,0.09,0.62
        c0.09,0.62-1.86,0.8-1.9,1.37c-0.04,0.57,1.77,1.33,1.77,1.33l0.18,0.71c0,0-1.37,0-1.94-0.35c-0.57-0.35-1.59-0.75-2.25-0.71
        s-0.35,0.53-0.88,1.59c-0.53,1.06-1.63,1.1-1.63,1.1l1.28,1.5c0,0,1.55,0.66,2.25,0.93c0.71,0.27,3.18-0.35,3.18-0.35l-0.13,1.24
        l-0.35,0.13l-2.3-0.04l-2.7-0.53h-2.08l-1.55,1.28l-0.13,0.88l1.9,0.35c0,0,0.93,1.33,1.64,1.81c0.71,0.49,2.47,0,2.47,0
        s-0.04,0.49-0.84,0.97c-0.8,0.49-1.63,0.09-2.52,0.44c-0.88,0.35-2.43-2.56-3.14-1.94c-0.71,0.62-2.7,4.42-2.78,4.78
        c-0.09,0.37,1.19,0.25,1.63,0.3c0.44,0.04,1.06-0.04,1.72-0.27c0.66-0.22,0,0.75,0.22,0.8c0.22,0.04,2.34-0.31,2.34,0
        c0,0.31-0.88,0.49-1.24,0.84c-0.35,0.35-3,0.62-3.49,1.06c-0.49,0.44,0.88,0.84,1.06,0.93c0.18,0.09-0.35,0.75-0.66,1.9
        c-0.31,1.15-0.88,0-1.81-0.31c-0.93-0.31-1.86-0.57-2.87,0c-1.02,0.57-2.03-0.04-3.18,0.09c-1.15,0.13-2.25,1.55-2.25,1.55
        s0.04,1.06,0.22,1.41c0.18,0.35,1.37-0.44,1.86-0.53c0.49-0.09,6.27,0.62,6.27,0.62l1.94-0.22l1.24-0.93l2.7,0.84
        c0,0,1.55,1.06,0.75,1.28c-0.8,0.22-1.06-0.35-1.06-0.35l-1.59-0.04l-2.21,0.18l-1.41,1.02l-1.41-0.66l-2.08,1.06
        c0,0,4.9,3.45,5.04,3.31c0.13-0.13,1.02-0.97,1.02-0.97l0.04,1.28c0,0,2.7,1.33,3,1.28c0.31-0.04,8.93-8.31,9.63-8.84
        c0.71-0.53,3.31-3.14,3.31-2.25c0,0.88-2.12,2.65-1.77,3.18c0.35,0.53,5.3-0.71,4.6,0.22c-0.71,0.93-5.26,1.02-5.97,1.28
        c-0.71,0.27-3.53,4.27-3.53,4.27s-1.39,2.27-1.64,2.9c-0.25,0.63,1.29,0.4,2.32,0.55c1.03,0.15,3.1,0.45,3.6,0.2
        c0.5-0.25,3.6-3.12,3.6-3.12c-0.08,0.63-2.12,3.2-2.55,3.58c-0.43,0.38-1.26,0.91-1.26,0.91l-5.67-0.15l-1.36,1.03
        c0,0-1.49,0.43-1.44,1.08c0.05,0.65,1.67,0,1.67,0l-1.16,1.28l-1.12,2.04c0,0-1.16,1.4-1.92,2.56c-0.76,1.16-0.12,2.24,0.08,2
        c0.2-0.24,2.4-2.85,2.4-2.85l1.12-0.32l0.68,0.64c0,0-1.04,0.44-1.56,1c-0.52,0.56-1.6,3.45-1.6,3.45l2-1.64
        c0,0,0,0.96-0.12,1.13c-0.12,0.17-0.08,1.48-0.72,2.08c-0.64,0.6-2.32,2.56-2.93,3.73c-0.6,1.16-0.68,2.48-0.36,2
        s2.6-3.21,2.6-3.21s0.4,0.68,0.56,1.4c0.16,0.72-2.11,1.84-2.7,2.52c-0.59,0.68-0.59,2.11-0.59,2.11l2.03-1.94l0.68,1.01
        c0,0-1.86,1.01-2.7,2.2c-0.84,1.18,0.59,2.37,0.59,2.37s0.68,0.93,1.18,0.99c0.51,0.06,0.84-0.15,1.27-0.4
        c0.42-0.25,1.52-2.53,1.77-2.62c0.25-0.08,0.93,0.84,1.01,1.69c0.08,0.84-1.44,1.35-2.45,2.2c-1.01,0.84-1.52,1.35-2.7,2.7
        c-1.18,1.35-0.42,1.52-0.59,2.37c-0.17,0.84-1.1,1.77-1.1,1.77s-0.17,4.48-0.34,5.32c-0.17,0.84-0.93,1.35-1.1,1.77
        c-0.17,0.42-1.1,1.69-1.01,2.87c0.08,1.18,0.68,1.94,1.35,1.52c0.68-0.42,2.87-0.84,2.87-0.84s1.86-1.18,2.2-2.37
        c0.34-1.18-0.68-1.27-0.68-1.27s-0.42-1.18-0.08-1.86c0.34-0.68,1.44-3.46,1.44-3.46s0.76-3.63,1.18-5.41
        c0.42-1.77,4.14-3.97,4.14-4.56c0-0.59-3.46-5.66-3.46-5.66s-0.17-2.2,0.25-2.87c0.42-0.68,1.44-0.42,1.44-0.42l3.04-2.86
        c0,0,2.53-2.46,2.79-2.87c0.25-0.41,1.69-1.53,2.03-2.12c0.34-0.59,3.97-2.45,3.97-2.45l0.34,0.59c0,0-2.03,2.11-2.37,2.79
        c-0.34,0.68-4.31,3.72-4.31,3.72s-3.21,2.37-3.8,5.32c-0.59,2.96,0.42,3.63,0.42,3.63s1.69,0.76,1.69,0.51
        c0-0.25,0.59-1.94,0.59-1.94l0.93-1.86l0.76,1.18h1.35l-1.1-3.8l1.52,1.44l0.42,2.7l1.77,2.03c0,0,1.27-2.11,1.52-2.62
        c0.25-0.51-0.17-1.18-0.25-1.6c-0.08-0.42,1.1-0.76,1.1-0.76l-0.17-3.88l0.51-3.3l0.93,1.77c0,0,0.42-0.17,0.76-1.34
        c0.34-1.17,1.86-1.19,1.86-1.19l-1.77,3.46l-0.25,1.69c0,0,3.97,2.53,4.31,3.29c0.34,0.76,4.65,1.69,4.39,1.77
        c-0.25,0.08-5.32,0.25-5.32,0.25s-2.53-0.84-3.63-0.84c-1.1,0-0.84,2.62-0.84,2.62s0.25,4.22-0.08,5.58
        c-0.34,1.35-0.76,1.1-0.68,1.35c0.08,0.25,4.05,3.21,4.05,3.21s1.27,1.86,1.27,2.11s1.86,2.7,1.86,2.7s-1.27,2.53-1.77,2.96
        c-0.51,0.42-4.14,3.72-4.14,3.72l0.25,4.14c0,0-3.38,3.21-4.65,4.69c-1.27,1.48-0.76,4.98-0.76,4.98l1.06,3.67
        c0,0-1.06,0.35-1.62,0.07c-0.57-0.28-1.98-4.17-1.98-4.17s-1.13,1.13-1.2,3.25c-0.07,2.12,0,2.05,0,2.05l2.97,4.03l2.19,1.84
        c0,0,0.07,1.77,0.21,2.97c0.14,1.2,1.13,0.92,1.13,0.92s0.92,0,1.06-1.38c0.14-1.38-2.61-4.84-2.61-4.84l0.92-1.7
        c0,0,1.34-0.85,2.12-1.06c0.78-0.21,2.33,0.99,2.33,0.99s3.81,2.33,4.94,3.11c1.13,0.78,1.77,2.05,1.77,2.05s2.54,1.34,2.75,1.45
        c0.21,0.11,0.49-3.43,0.49-3.43s-0.42-1.84-0.78-1.91c-0.35-0.07-0.85-1.13-0.85-1.34c0-0.21,0.21-1.55,0.42-1.91
        c0.21-0.35,0.78-0.28,1.13-0.28c0.35,0,2.12,2.61,2.12,2.61l0.85-0.78c0,0,1.77-0.35,1.77,0.21c0,0.57,0.42,1.55,0.42,1.55
        l1.55,1.27l0.85-1.7l0.71,0.21l1.06,1.91c0,0,2.05-0.92,3.39-1.55c1.34-0.64,0.92-1.13,0.92-1.13l0.78-1.48
        c0,0,4.31-0.49,5.09-0.49c0.78,0,0.42-1.2,0.49-1.55c0.07-0.35,0.14-1.62,0.99-2.4c0.85-0.78,1.77-0.21,1.98,0
        c0.19,0.19,6.63,0.03,7.69,0l3.63-1.29l0.19-1.9l2.83,0.37c0,0,0.56-1.53,1.76-2.41c1.21-0.88,1.44-2.37,2.88-2.97
        c1.44-0.6,2.41-1.3,2.5-1.81c0.09-0.51-0.65-1.3,1.21-2.74c1.85-1.44,2.6-2.88,3.94-2.88c1.34,0,0.97,1.16,2.09,0
        c1.11-1.16,0.23-1.72,2.32-2.37S325.88,256.55,325.51,255.16z"/>
    </g>
  </g>
  <g>
    <path id="London"  data-info="<div><h3>London</h3></div><div>Whole Foods Market</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M392.49,418.77l0.89-0.89c-0.33-0.4-1.18-0.14-1.18-0.34c0-0.15,0.37-0.78,0.57-1.12
      c-0.78-0.34-1.6-0.82-1.81-1.4c-0.42-1.16-3.47-2.22-3.47-2.22s-2.27-0.23-2.64-0.32c-0.37-0.09-2.87-0.14-2.96-0.37
      c-0.09-0.23-0.97-1.94-1.29-2.03s-3.88,0.42-3.88,0.42l-3.28,1.48l-4.81,0.55l0.42,6.15c0,0,0.32,0,1.94,1.43
      c1.62,1.43,2.54,1.85,2.54,2.36c0,0.51,0.18,1.43,0.18,1.43s0.92-1.16,1.43-0.92s1.71,1.53,1.71,1.53s0.51,0.05,0.97,0.79
      c0.46,0.74,0.92-0.51,2.17-0.79c1.25-0.28,2.54-0.28,2.64,0.46s0.97,1.34,1.48,0.74c0.51-0.6,0.55-0.6,1.11-1.94
      c0.55-1.34-0.55-3.42,1.43-4.12s3.05-0.74,3.05-0.74L392.49,418.77z"/>
  </g>
  <g>
    <path id="South West"  data-info="<div><h3>South West</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M335.75,447.47c0,0-0.79-0.63-1.07-1.41s-0.24-1.4-0.24-1.4l-0.24-1.07c0,0-0.48-0.87-0.16-2.14
      c0.32-1.27-1.23-0.32-1.23-0.32l-2.5-1.55c0,0,0.44-1.07,1.23-1.39c0.79-0.32,5.03,1.59,5.95,1.9c0.91,0.32,1.03-0.04,1.59-0.63
      c0.55-0.59,0.79-2.02,0.79-2.02s-1.35-3.65-1.55-5.15c-0.2-1.51-1.19-4-1.19-4l2.36,0.2l1.68-1.51l1.31-2.5l0.16-1.47l-1.27-0.4
      l0.75-1.9l-0.83-2.06l-2.42-2.85c0,0-0.71-1.66-1.15-3.92c-0.44-2.26,0.55-1.07,0.75-2.26c0.2-1.19-0.75-0.71-0.75-2.14
      s0.71-6.74,1.23-7.29c0.14-0.15,0.42-0.39,0.77-0.67c-0.35-0.51-0.76-1.03-1.02-1.19c-0.53-0.32-0.21-1.01-0.21-1.01l1.24-1.51
      l-0.69-0.58l-1.61-1.48l-1.98-1.19l-2.04,0.98c0,0-0.64,0.79-0.74,1.03c-0.11,0.24,1.4,1.53,0.85,1.59
      c-0.56,0.05-1.24-0.87-1.96-0.87c-0.71,0-2.04,0-2.04,0s-1.53,1.46-2.88,1.8c-1.35,0.34-0.21-1.8-0.53-1.8
      c-0.32,0-0.71,0.5-0.71,0.5s-1.4,1.59-1.53,1.72s-1.16,0.58-1.16,0.58l-1.61-1.64l-2.33-0.19l-1.91,0.56l-0.03,2.04
      c0,0,1.03,2.06,1.01,2.2c-0.03,0.13-1.19,0.42-1.19,0.42l-3.2,1.93c0,0-1.3,2.3-1.93,3.39c-0.47,0.81,0.22,3.46,0.61,4.78
      c0.54-0.51,1.02-0.99,1.68-1.66c0.92-0.92,1.7-1.34,2.61-2.05c0.92-0.71,2.75-2.12,2.75-2.12s-0.42,1.48-0.71,1.84
      c-0.28,0.35-2.12,2.68-2.12,2.68s-3.6,4.1-4.45,5.58c-0.85,1.48-1.62,0.99-2.26,1.2c-0.64,0.21-1.91,2.4-1.91,2.4
      s-1.84,1.41-2.19,1.98c-0.35,0.57-1.7,1.55-1.98,2.05c-0.28,0.49-0.57,5.86-0.57,5.86s-0.92,0.64-2.12,0.57
      c-1.2-0.07-1.34-0.21-2.61,0c-1.27,0.21-3.18,0.85-4.03,0.92c-0.85,0.07-2.05-0.71-2.26-0.85c-0.21-0.14-1.41-0.92-3.46-1.06
      c0,0-4.45-0.49-4.94-0.42c-0.49,0.07-4.31,0-4.94,0.14c-0.64,0.14-6,0.64-6,0.64l-2.26,1.91l0.49,2.83c0,0,0.49,1.62-0.21,2.75
      s-2.47,1.34-2.97,1.7c-0.49,0.35-4.8-1.27-5.01-0.85c-0.21,0.42-0.85,8.69-0.92,9.11c-0.07,0.42-4.24,4.59-5.16,5.79
      c-0.92,1.2-0.85,1.77-1.41,2.47c-0.56,0.71-0.99,0.07-1.48,0.21c-0.49,0.14-1.06-0.07-1.77,0.21c-0.71,0.28,0.07,0.78,0.21,1.2
      c0.14,0.42,1.48,0.99,1.48,0.99s0,0-0.35,0.21c-0.35,0.21-0.71,0-1.7-0.07c-0.99-0.07-1.2-1.41-2.05-0.78
      c-0.85,0.64-0.49,4.87-0.49,4.87s-2.61,0.42-2.9,0.71c-0.28,0.28-0.28,1.2-0.42,1.62c-0.14,0.42-6.78,6.71-7.2,6.92
      c-0.42,0.21-1.2,0.07-1.34-0.14c-0.14-0.21-0.92-0.35-1.98-0.14c-1.06,0.21-2.12,1.27-2.12,1.27s-2.61,1.41-2.68,2.05
      c-0.07,0.64-0.21,2.4-0.28,2.61c-0.07,0.21,1.62,0.64,1.98,0.71c0.35,0.07,1.27,0,1.7-0.35c0.42-0.35,1.13-1.84,1.2-2.19
      c0.07-0.35,0.57-0.35,0.92-0.49c0.35-0.14,2.12,0.14,2.12,0.14s2.54,1.13,3.81,2.4c1.27,1.27,0.64,1.13,0.71,1.98
      c0.07,0.85,1.06,1.13,1.06,1.13s2.97-1.98,3.39-2.68s-0.42-0.99-0.78-1.41c-0.35-0.42-0.28-0.71,0-1.2
      c0.28-0.49,0.57-2.12,0.64-3.18c0.07-1.06,1.7-0.21,1.7-0.21s0.49,1.55,0.85,1.13c0.35-0.42,1.62-1.34,1.62-1.34l3.67-3.18
      c0,0,1.06-1.34,1.7-2.33c0.64-0.99,1.34-0.14,1.62-0.07c0.28,0.07,2.47-0.21,2.47-0.21l2.33,0.21c0,0,1.34-0.49,2.19-0.64
      c0.85-0.14,1.27-0.71,2.05-0.99c0.78-0.28,3.04,2.05,3.04,2.05l0.21-1.13l-1.91-1.2l1.34-0.57v-1.7l1.27-1.13c0,0,0,0.78,0,0.99
      c0,0.21,0.78,0.71,0.64,1.41s0.28,1.48,0.28,1.48l2.12,2.68c0,0,1.7-0.71,2.54-1.13c0.85-0.42,2.9,3.32,3.11,3.67
      c0.21,0.35,3.96,1.13,4.8,1.06c0.85-0.07,0.35-2.26,0.35-2.26l0.49-1.77l1.77-1.7l2.54-1.84l-1.34-0.35c0,0-0.92-1.7-0.85-1.91
      c0.07-0.21,1.26-0.99,1.26-0.99s0.15-1.77,0.01-2.19c-0.14-0.42,0.99-2.97,1.7-3.6c0.71-0.64-0.21-2.9,0-3.04
      c0.21-0.14,0.64,0.92,0.78,1.77c0.14,0.85,0.78,0.85,0.78,0.85l2.61-1.06c0,0,1.7-1.2,2.47-1.62c0.78-0.42,4.87-0.78,4.87-0.78
      l3.67-0.78c0,0,2.12,0.21,2.47,0.42c0.35,0.21,8.33,5.93,7.91,5.16c-0.42-0.78,0.64-0.78,1.41-1.55c0.78-0.78,1.77-0.71,1.77-0.71
      s2.26,0.21,4.24,0.49c1.98,0.28,2.9,1.77,4.24,1.77c1.34,0,1.7-0.85,1.84-1.34c0.14-0.49,0-1.48-0.07-1.91
      c-0.07-0.42-0.78-0.57-1.77-1.06c-0.99-0.49-1.13-1.55-0.57-1.4c0.57,0.16,5.58,0,5.58,0s1.77-0.16,2.75-0.02
      c0.7,0.1,1.25-0.29,1.52-0.53L335.75,447.47z"/>
  </g>
  <g>
    <g>
     <path id="Wales"  data-info="<div><h3>Wales</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M311.51,406.8c0.64-1.08,1.93-3.39,1.93-3.39l3.2-1.93l-1.92,1.16c-0.29-0.11-0.6-0.18-0.91-0.18
        c-1.21,0.01-1.59,1.19-1.87,1.15c-0.29-0.04-0.61-0.29-0.72-0.4c-0.11-0.11-3.42-2.74-3.82-3.14c-0.4-0.4-1.15-1.41-1.44-1.3
        c-0.29,0.11-0.72,1.23-1.3,1.55c-0.58,0.32-1.01-0.83-0.94-1.48c0.07-0.65-1.87-1.66-2.2-2.52c-0.32-0.86-0.25-1.19-0.47-1.98
        c-0.22-0.79-0.25-0.83-0.29-1.62c-0.04-0.79,0.36-1.95,0.32-2.2c-0.04-0.25,0.04-0.32,0.43-1.33c0.4-1.01,1.3-2.2,1.91-2.45
        c0.61-0.25,1.08-0.4,1.08-0.86s-0.58-0.36-0.68-1.3c-0.11-0.94,0.61-0.5,0.61-0.5s0.04-1.01-0.04-1.55
        c-0.07-0.54-1.08-0.61-2.02-0.4c-0.94,0.22-1.59-0.86-2.09-1.08c-0.5-0.22-1.8-1.51-1.66-1.91c0.14-0.4-0.18-0.43,0-1.33
        c0.18-0.9,1.95-0.97,2.7-1.01c0.76-0.04,1.05,0.04,1.62-0.76c0.58-0.79,1.3-1.23,1.37-2.2c0.07-0.97-0.54-0.97-1.77-0.86
        s-0.9,0.86-1.55,1.26c-0.65,0.4-0.18,0.32-0.43-0.47c-0.25-0.79,0.4-0.83,0.79-1.3c0.4-0.47,0.9-1.48,0.9-1.48
        s1.08-2.99,1.12-3.42c0.04-0.43,1.44-0.47,1.44-1.37c0-0.9-1.05-0.61-1.69-0.72c-0.65-0.11-1.77-0.86-2.88-1.73
        c-1.12-0.86,0-0.9,0-0.9s0.11-1.12,0.43-1.91c0.32-0.79,1.51-2.05,1.51-2.05s2.45-1.15,2.88-0.86s2.56,0.32,2.85,0.47
        c0.29,0.14,1.8,1.44,2.13,1.51c0.32,0.07,0.61-1.08,0.61-1.08l0.7-2.58c-0.65-0.01-2.63-0.44-2.78-1.2
        c-0.16-0.8-1.28-2.83-1.28-2.83l-1.16-1.68c0,0-0.96-0.36-1-0.68c-0.04-0.32,0.4-0.04,0.6-0.8c0.2-0.76-0.6-2.12-0.6-2.12
        l-0.44-0.8l-0.64-0.64l-1.64-0.48l-0.3-0.29l0,0c-0.11,0.42-0.5,0.52-0.5,0.52l-2.12-1.13c0,0-4.38-2.97-4.87-3.11
        c-0.49-0.14-2.97,1.84-2.97,1.84l-2.83,0.64c0,0-1.98,0.21-3.46,0.07c-1.48-0.14-3.6-2.26-3.74-1.91
        c-0.14,0.35,0.99,1.55,0.99,1.55s-1.62,0.49-1.98,0.78c-0.35,0.28-1.98,1.06-3.39,1.62c-1.41,0.57-2.83,1.06-3.32,1.91
        c-0.49,0.85-4.59,3.53-4.59,3.53s-0.21,2.26-0.42,3.25c-0.21,0.99-1.13,0.64-1.55,1.41c-0.42,0.78-6.22,3.88-7.77,5.65
        c-1.55,1.77-1.84,2.83-1.84,2.83s2.05-0.92,2.68-1.2c0.64-0.28,2.12,0.49,2.54,0.49s1.34-0.21,1.34-0.21s0.78-1.55,1.27-2.4
        c0.49-0.85,0.85-0.99,1.98-0.99s1.13-0.21,1.7-0.35c0.57-0.14,0.78-0.21,1.2-0.35s1.27-0.07,2.47-0.28
        c1.2-0.21,2.75-0.28,2.75-0.28l0.14,0.78l-1.34,2.4c0,0-0.28,0.49-0.28,1.34c0,0.85,1.7,3.18,1.7,3.18l1.77,0.49
        c0,0-0.99,0.42-1.27,0.99c-0.28,0.57-2.05,2.83-2.19,3.82c-0.14,1,1.2,1.54,1.48,2.18c0.28,0.64,0.99,0.07,1.41,0
        c0.42-0.07,1.77,0.07,1.77,0.07c0.07,0.64-2.4,1.34-2.54,1.62c-0.14,0.28-0.92,2.97-1.2,5.09c-0.28,2.12-6,7.27-7.2,7.56
        c-1.2,0.28-4.52,2.97-5.09,3.11c-0.57,0.14-1.98,0.14-2.26,0.07c-0.28-0.07-1.34,0.71-1.7,0.85c-0.35,0.14-3.11,2.33-3.11,2.33
        l-0.28,1.34c0,0,0,0-0.78,0.28c-0.78,0.28-1.27,0.07-2.26,0.21c-0.99,0.14-2.75-0.92-2.75-0.92l-0.85,1.7l-1.62,1.48
        c0,0-1.84,0.71-2.83,1.2c-0.99,0.49-0.99,1.13-0.99,1.91c0,0.78,1.98,0.07,1.98,0.07l1.98,0.35l0.71,2.47
        c0,0-0.57,1.06-0.85,1.27c-0.28,0.21-1.7,1.2-2.47,1.77c-0.78,0.57,0.71,0.99,0.99,0.85c0.28-0.14,2.05-0.21,2.05-0.21
        s3.6,0.07,4.24,0c0.64-0.07,0.78-0.57,0.92-1.06c0.14-0.49,0.42-1.34,0.85-1.77c0.42-0.42,0.64,1.27,0.78,2.47
        c0.14,1.2-0.99,0.42-1.2,0.57c-0.21,0.14-1.48,0.78-2.68,1.06c-1.2,0.28-2.54,0.07-3.11,0.35c-0.57,0.28,1.06,0.21,1.7,0.92
        c0.64,0.71,1.98,2.4,2.83,1.91c0.85-0.49,1.34-1.2,1.77-1.48c0.42-0.28,3.6-0.15,4.1-0.71c0.49-0.57,1.41-2.75,1.41-2.75
        s4.59-0.42,5.09-0.42c0.49,0,0.64-0.78,0.64-0.78s1.41-1.27,1.91-1.62c0.49-0.35,0.64,2.68,0.64,3.53c0,0.85,0.99,0.85,2.33,1.27
        c1.34,0.42,1.77-0.28,2.19-0.07c0.42,0.21,3.25,0.49,3.25,0.49s-0.99,1.2-1.48,1.48c-0.49,0.28-3.32,0.21-4.24,0.64
        c-0.92,0.42-0.99,0.78-0.99,1.7s1.77,0.85,3.04,1.06c1.27,0.21,0.71-0.35,0.99-0.56c0.28-0.21,2.12,0.21,2.54,0.07
        s1.06-2.19,1.34-2.33c0.28-0.14,4.45,0,4.45,0l3.04,5.01l4.59,3.6c0,0,2.75,0.49,7.49,0.78c4.73,0.28,1.84-1.06,1.84-1.34
        c0-0.28,0.21-0.78,0.99-2.05c0.78-1.27,2.26-1.7,2.54-2.05c0.28-0.35,0.99-1.13,2.05-1.27c1.06-0.14,1.41,0.14,2.19,0
        c0.78-0.14,2.9-0.49,3.11-0.64c0.21-0.14,1.7-1.41,2.54-2.19c0.23-0.21,0.44-0.41,0.65-0.6
        C311.73,410.26,311.04,407.6,311.51,406.8z"/>
    </g>
  </g>
  <g>
    <path id="West Midlands"  data-info="<div><h3>West Midlands</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M349.18,378.79c-0.4-0.48-2.68-1.88-2.68-1.88s-5.15-2.84-5.11-3.83c0.04-1-0.76-4.35-0.76-4.35
      s-2.91,0.12-3.07-1.36c-0.16-1.48,0.4-2,0.4-2s1.64-1.36,1.54-2.2c-0.1-0.84,0.9-0.8-0.62-1.08c-1.52-0.28-3.55-0.64-3.63-0.84
      c-0.08-0.2-1.96-0.72-1.96-0.72s-0.8-0.24,0.44-2.08c1.24-1.84,1.76-2.28,1.76-2.28s0.8-1.04,0.48-1.44
      c-0.32-0.4-0.92-1.88-0.88-3.15c0.04-1.28-0.2-1.24-0.64-2.04c-0.44-0.8-2.64-1-2.99-1.72c-0.13-0.26-0.83-0.66-1.68-1.06l0,0.1
      c0,0-2.36,2.16-2.95,2.44c-0.6,0.28-2.76,1.64-2.95,1.92c-0.2,0.28-0.6,1.24-1.16,1.48c-0.56,0.24-1.92-0.24-2.32,0.44
      s-0.24,2.56-0.32,2.76c-0.08,0.2-2.16,0.76-2.68,0.96c-0.52,0.2-2.52,0.08-3.07,0c-0.56-0.08-2.32-0.56-2.83-0.52
      c-0.03,0-0.06,0-0.1,0l-0.7,2.58c0,0-0.29,1.15-0.61,1.08c-0.32-0.07-1.84-1.37-2.13-1.51c-0.29-0.14-2.41-0.18-2.85-0.47
      s-2.88,0.86-2.88,0.86s-1.19,1.26-1.51,2.05c-0.32,0.79-0.43,1.91-0.43,1.91s-1.12,0.04,0,0.9c1.12,0.86,2.23,1.62,2.88,1.73
      c0.65,0.11,1.69-0.18,1.69,0.72c0,0.9-1.41,0.94-1.44,1.37c-0.04,0.43-1.12,3.42-1.12,3.42s-0.5,1.01-0.9,1.48
      c-0.4,0.47-1.05,0.5-0.79,1.3c0.25,0.79-0.22,0.86,0.43,0.47c0.65-0.4,0.32-1.15,1.55-1.26s1.84-0.11,1.77,0.86
      c-0.07,0.97-0.79,1.41-1.37,2.2c-0.58,0.79-0.86,0.72-1.62,0.76c-0.76,0.04-2.52,0.11-2.7,1.01c-0.18,0.9,0.14,0.94,0,1.33
      c-0.14,0.4,1.15,1.69,1.66,1.91c0.5,0.22,1.15,1.3,2.09,1.08c0.94-0.22,1.95-0.14,2.02,0.4c0.07,0.54,0.04,1.55,0.04,1.55
      s-0.72-0.43-0.61,0.5c0.11,0.94,0.68,0.83,0.68,1.3s-0.47,0.61-1.08,0.86c-0.61,0.25-1.51,1.44-1.91,2.45
      c-0.4,1.01-0.47,1.08-0.43,1.33c0.04,0.25-0.36,1.41-0.32,2.2c0.04,0.79,0.07,0.83,0.29,1.62c0.22,0.79,0.14,1.12,0.47,1.98
      c0.32,0.86,2.27,1.87,2.2,2.52c-0.07,0.65,0.36,1.8,0.94,1.48c0.58-0.32,1.01-1.44,1.3-1.55c0.29-0.11,1.05,0.9,1.44,1.3
      c0.4,0.4,3.71,3.03,3.82,3.14c0.11,0.11,0.43,0.36,0.72,0.4c0.29,0.04,0.66-1.15,1.87-1.15c0.3,0,0.61,0.07,0.91,0.18l1.92-1.16
      c0,0,1.16-0.29,1.19-0.42c0.03-0.13-1.01-2.2-1.01-2.2l0.03-2.04l1.91-0.56l2.33,0.19l1.61,1.64c0,0,1.03-0.45,1.16-0.58
      s1.53-1.72,1.53-1.72s0.4-0.5,0.71-0.5c0.32,0-0.82,2.14,0.53,1.8c1.35-0.34,2.88-1.8,2.88-1.8s1.32,0,2.04,0
      c0.71,0,1.4,0.93,1.96,0.87c0.56-0.05-0.95-1.35-0.85-1.59c0.11-0.24,0.74-1.03,0.74-1.03l2.04-0.98l1.98,1.19l1.61,1.48
      l0.69,0.58l-1.24,1.51c0,0-0.32,0.69,0.21,1.01c0.25,0.15,0.66,0.68,1.02,1.19c0,0,0,0,0,0c0.97-0.78,2.46-1.91,2.72-2.35
      c0.36-0.59,1.7-3.49,2.38-3.88c0.67-0.4,1.07-1.31,1.07-1.31s0.41-0.29,0.85-0.48c0.09-0.74,0.23-1.8,0.36-2.12
      c0.2-0.52,1.52-1.76,1.52-1.76l1-2.44c0,0-0.24-1.6,0-2.04c0.24-0.44,1-0.6,1-0.6S349.58,379.27,349.18,378.79z"/>
  </g>
  <g>
    <path id="North West"  data-info="<div><h3>North West</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M329.16,329.99l-0.38-1.71l-1.38,0.12l-0.8-0.5l-1.09-1.21l0.82-1.74l0.8-2.33l1.65-1.15l-0.27-0.88
      l-1.24-1.09l-2-3.42c0,0-1.91,0.03-2.21,0c-0.29-0.03-0.88-0.41-0.88-0.41l-0.94-2.12l-2.28-0.15c0,0,0.3-0.44,0.21-0.59
      c-0.09-0.15-1.89-1.03-3.03-2.92c-1.15-1.89,1.5-2.03,1.5-2.03s0.91-1.8,1.56-2.24c0.65-0.44,3.18-0.62,3.18-0.62l0.35-1.47
      c0,0-0.44-1.59-0.56-1.71c-0.12-0.12-0.71-0.77-0.71-0.77l0.94-1.09c0,0-0.21,0.12-0.38-0.91c-0.18-1.03,1.62-2.27,1.62-2.27
      l2.06-0.44l1.11-1.85l-1.32-1.58l-1.87-1.02l-1.29-1.75l0.2-1.11l-0.91-0.96l0.06-1.32l0.58-1.05l-0.56-3.16
      c0,0-1.7-1.49-1.99-1.49c-0.29,0-1.93,1.34-1.93,1.34s-1.55-0.47-1.96-0.67c-0.41-0.2-0.32-5.73-0.18-7.39
      c0.15-1.67,1.49-1.84,1.49-1.84s0.12-0.88-0.2-0.91c-0.32-0.03-1.52-1.61-1.52-1.61l-1.17-0.79l-2.4-2.16c0,0,0,0-0.01,0
      c-1.44,0.6-1.67,2.09-2.88,2.97c-1.21,0.88-1.76,2.41-1.76,2.41l-2.83-0.37l-0.19,1.9l-3.63,1.29c-0.05,0-0.13,0-0.21,0.01
      c0.23-0.01,0.37-0.01,0.37-0.01h2.68c0,0,0.99,0,0.21,1.22c-0.78,1.22-1.77,0.75-1.77,0.75s-1.77-0.42-2.4-0.71
      c-0.64-0.28-1.77,0.78-1.77,0.78s0.57,0.99,0.49,1.14c-0.07,0.15-0.64,0.63-1.55,0.06c-0.92-0.57-1.84,2.75-1.84,2.75
      s-0.42,1.98-0.71,2.9c-0.28,0.92-2.61,2.68-2.68,4.03c-0.07,1.34-2.83,5.79-2.83,5.79s3.46,4.87,3.96,5.44
      c0.49,0.57,2.05,2.33,1.91,4.38c-0.14,2.05,1.2,2.61,2.12,2.97c0.92,0.35,1.13,0.21,1.13,0.21s1.34-3.32,1.55-2.06
      c0.21,1.26-0.07,2.48-0.49,3.19s0.14,1.62,0.14,2.4c0,0.78,1.62,1.13,2.12,0.57c0.49-0.57,1.7-2.19,2.12-3.25
      c0.42-1.06,0.35-2.68,0.92-2.9c0.57-0.21,1.41,3.88,1.41,3.88s0.85-1.06,1.34-1.48c0.49-0.42,3.18-2.4,3.18-2.4
      s-0.57,1.62-1.13,2.19c-0.57,0.57,0.64,2.05,0.78,2.61c0.14,0.57-0.71,1.34-1.7,2.68c-0.99,1.34-1.2,1.77-1.2,1.77
      s1.84,0.28,1.91,0.49c0.07,0.21-0.49,1.77-1.48,2.54c-0.99,0.78-2.68,0.57-3.53,1.62c-0.85,1.06-0.21,3.74-0.42,5.79
      c-0.21,2.05,3.53,0.71,3.46,1.55c-0.07,0.85-5.16,5.86-5.23,6.71c-0.07,0.85,3.88,6.43,4.24,7.56c0.35,1.13,1.7,1.41,3.11,1.62
      c1.41,0.21,1.55-0.99,1.77-0.14c0.21,0.85-1.62,1.55-1.62,1.55s-1.84,0.14-2.26,0.07c-0.42-0.07-0.99-0.42-1.34-1.34
      c-0.35-0.92-2.12-4.1-2.12-4.1s-2.9,0.99-3.67,1.77c-0.78,0.78,1.91,2.75,2.47,4.03c0.19,0.44,0.21,0.74,0.15,0.96l0.3,0.29
      l1.64,0.48l0.64,0.64l0.44,0.8c0,0,0.8,1.36,0.6,2.12c-0.2,0.76-0.64,0.48-0.6,0.8c0.04,0.32,1,0.68,1,0.68l1.16,1.68
      c0,0,1.12,2.04,1.28,2.83c0.16,0.8,2.36,1.24,2.88,1.2c0.52-0.04,2.28,0.44,2.83,0.52c0.56,0.08,2.56,0.2,3.07,0
      c0.52-0.2,2.6-0.76,2.68-0.96c0.08-0.2-0.08-2.08,0.32-2.76s1.76-0.2,2.32-0.44c0.56-0.24,0.96-1.2,1.16-1.48
      c0.2-0.28,2.36-1.64,2.95-1.92c0.6-0.28,2.95-2.44,2.95-2.44l-0.2-5.47l0.91-5.74l1.94-0.59l0.35-1l-1.36-1.41L329.16,329.99z"/>
  </g>
  <g>
    <path id="North East"  data-info="<div><h3>North East</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M354.21,290.24c0,0-3,0.04-3.27-0.66c-0.27-0.71,0.49-1.19,0.53-1.77c0.04-0.57-1.28-1.28-2.83-3.4
      s-2.43-7.29-2.43-7.29s-0.31-1.94-0.75-2.83c-0.44-0.88-1.94-3.89-2.47-4.77c-0.53-0.88,0.09-3.18-0.27-4.55
      c-0.35-1.37-1.24-1.55-1.37-1.99c-0.13-0.44-0.49-9.37-0.49-10.16s-1.94-2.7-1.94-2.7l-2.47-1.24c0,0-2.3-2.21-3.58-3.8
      c-1.28-1.59-2.47-3.18-2.47-3.18l-0.21-0.29c-0.91,0.92-2.07,2.13-2.96,3.16c-1.72,1.99-2.55,2.64-3.15,3.39
      c-0.6,0.74-1.9,0.05-2.13,0.83c-0.23,0.79,3.2,4.78,3.57,6.17c0.37,1.39,0.51,1.44-1.58,2.09s-1.21,1.21-2.32,2.37
      c-1.11,1.16-0.74,0-2.09,0c-1.34,0-2.09,1.44-3.94,2.88c-1.85,1.44-1.11,2.23-1.21,2.74c-0.09,0.51-1.06,1.2-2.5,1.8l2.4,2.16
      l1.17,0.79c0,0,1.2,1.58,1.52,1.61c0.32,0.03,0.2,0.91,0.2,0.91s-1.34,0.18-1.49,1.84c-0.15,1.67-0.23,7.19,0.18,7.39
      c0.41,0.2,1.96,0.67,1.96,0.67s1.64-1.34,1.93-1.34c0.29,0,1.99,1.49,1.99,1.49l0.56,3.16l-0.58,1.05l-0.06,1.32l0.91,0.96
      l-0.2,1.11l1.29,1.75l1.87,1.02l1.32,1.58l-1.01,1.69l0.51,0.19l0.76-0.38l2.36-0.57c0,0,1.48,0.81,2.43,0.5
      c0.94-0.31,1.95-1.09,1.95-1.09l3.57-1.45l1.82,0.36c0,0,1.35,0.47,1.42,1.09c0.07,0.62,3.1,1.09,3.1,1.09l-0.27-1.09h3.23
      c0,0,0,0.39,0,0.73c0,0.34,1.48,0.4,1.75,0.34c0.27-0.07,1.62-1.48,1.62-1.48h4.85h4.78l1.45-2.2
      C359.3,291.35,354.21,290.24,354.21,290.24z"/>
  </g>
  <g>
    <path id="Northern Ireland"  data-info="<div><h3>Northern Ireland</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M233.74,285.71c0,0-4.07,2.47-3.89,3.24c0.18,0.77,0.59,1.71,0.59,1.71l2.42-2.47c0,0,2.47-0.47,3-0.53
      c0.53-0.06,1.71,0.47,2.36,0.53s1.65,1.12,1.65,1.12l0.59,3.48c0,0,1.12,2,1.18,2.65s-0.35,3.12-0.35,3.12l-1.3,2.42
      c0,0-0.41-3.06-0.29-3.59c0.12-0.53-0.41-2.95-0.41-2.95s-2-2.71-2.3-2.71s-1.47,0.71-1.47,0.71l1.41,2.42l-0.06,1.89l-1.47,3.3
      l-0.12,0.59c0,0,1.36-0.59,2.24-0.88c0.88-0.29,2,0.65,1.89,1.24c-0.12,0.59-1,2.65-1,2.65s-2,1.12-2.18,1.41
      c-0.18,0.29-3.77-0.35-3.77-0.35l-2.6,2.95l-0.47,3l-3.06,1.83l-3.3-1.59c0,0-4.18-1.3-4.42-1.18c-0.24,0.12-2.06,2.24-2.06,2.24
      l-3.48,0.53l-2.59-1.06c0,0,0.06-2.53,0-3.59c-0.06-1.06-2.53,0.47-3.12-0.94c-0.59-1.41-2.06-4.36-2.12-4.89
      c-0.06-0.53-1.71-3.24-3.06-3.18s-3,1.24-4.01,2.36c-1,1.12-0.41,1.6-0.65,2.8c-0.24,1.2-1.41,2.09-1.41,2.09
      s-0.41-0.12-0.77,1.59c-0.35,1.71-0.77,2.42-0.88,2.06c-0.12-0.35,0.18-3.12-0.77-1.65c-0.94,1.47-0.35,1.71-0.35,1.71
      s-2.77-0.94-3.48-0.88c-0.71,0.06-3.77,0-3.83-0.18c-0.06-0.18-1.83-2.47-2.18-2.42c-0.35,0.06-3.12,0-3.18-1.06
      c-0.06-1.06-0.59-2.18-0.59-2.18s-3.71-2.65-4.12-3.12c-0.41-0.47-3.83-2.77-3.3-3.59c0.53-0.82,2.83-0.53,3.95-2.36
      c1.12-1.83,2.18,0.82,3.77-0.53c1.59-1.36,3.89-2,4.07-2.95c0.18-0.94-4.71-1.49-4.71-3.07s0.82-1.7,1.41-1.7s0.47,0.94,2,0.59
      c1.53-0.35,3.54-1.71,4.65-1.41c1.12,0.29-0.06-1.12,1.94-2.89c2-1.77,2.83-5.48,2.83-5.48l0.65-3.36l5.72-0.65
      c0,0,2.47,0.53,3.06,0c0.59-0.53,2.89-4.3,2.65-5.18c-0.24-0.88,0.36,0.53,2.48,0.29c2.12-0.24,2.94-0.35,5.77-1.41
      c2.83-1.06,3.42-2.3,4.07-1.71c0.65,0.59,2.06,0.41,2.36,0.35c0.29-0.06,1.59,0.24,2.3,0.53c0.71,0.29,2.42,0.71,3.3,0.53
      c0.88-0.18,2.83,2.42,2.3,3.59c-0.53,1.18-1.24,1.41-0.18,2.12c1.06,0.71,2.3,1.24,2.18,1.65c-0.12,0.41-0.65,2,0.47,2.59
      c1.12,0.59,2.12,2.59,2.59,3.42c0.47,0.82,0.29,2.3,0.59,2.59c0.29,0.29,1.59,0.41,1.59,0.41s-0.65-2.12-0.47-2.3
      c0.18-0.18,1.18,0.88,1.41,1.36c0.24,0.47,0.65,1.18,0.12,2.36C234.98,284.88,233.74,285.71,233.74,285.71z"/>
  </g>
  <g>
  <path id="Yorkshire & Humberside"  data-info="<div><h3>Yorkshire & Humberside</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M385.28,329.35c-0.04-0.62-3.54-5.17-4.9-6.81c-1.37-1.63-3.8-5.61-4.42-8.71c-0.62-3.09,1.72-2.56,1.72-2.56
      s1.19-0.71,1.46-0.97c0.27-0.27-1.99-0.75-1.99-0.75l-2.3-1.68l-0.35-1.77c0,0-0.93-0.18-1.33-0.75c-0.4-0.57-2.25-2.52-3.98-6.54
      c-1.72-4.02-6.32-5.48-7.6-6.36c-0.18-0.13-0.44-0.24-0.44-0.24l-1.45,2.2h-4.78h-4.85c0,0-1.35,1.42-1.62,1.48
      c-0.27,0.07-1.75,0-1.75-0.34c0-0.34,0-0.73,0-0.73h-3.23l0.27,1.09c0,0-3.03-0.46-3.1-1.09c-0.07-0.62-1.42-1.09-1.42-1.09
      l-1.82-0.36l-3.57,1.45c0,0-1.01,0.77-1.95,1.09c-0.94,0.31-2.43-0.5-2.43-0.5l-2.36,0.57l-0.76,0.38l-0.51-0.19l-0.09,0.16
      l-2.06,0.44c0,0-1.8,1.24-1.62,2.27c0.18,1.03,0.38,0.91,0.38,0.91l-0.94,1.09c0,0,0.59,0.65,0.71,0.77
      c0.12,0.12,0.56,1.71,0.56,1.71l-0.35,1.47c0,0-2.53,0.18-3.18,0.62c-0.65,0.44-1.56,2.24-1.56,2.24s-2.65,0.15-1.5,2.03
      c1.15,1.89,2.95,2.77,3.03,2.92c0.09,0.15-0.21,0.59-0.21,0.59l2.28,0.15l0.94,2.12c0,0,0.59,0.38,0.88,0.41
      c0.29,0.03,2.21,0,2.21,0l2,3.42l1.24,1.09l0.27,0.88l-1.65,1.15l-0.8,2.33l-0.82,1.74l1.09,1.21l0.8,0.5l1.38-0.12l0.38,1.71
      l2.27,2.68l1.24,1.29l1.18,0.32l1.41,1.25l1.3,2.72l1.79,1.9l1.15,1.47l1.4,1.68c0,0,1.85,0.76,2.88,0s2.39-0.54,2.39-0.54
      l1.68,0.38c0,0,1.03,0.4,1.58,0.5c0.54,0.1,1.47,0,1.47,0l1.36-0.77c0,0-0.92-2.72,0.98-3.42c1.9-0.71,2.77-0.98,2.77-0.98
      s1.3-3.1,1.74-2.93c0.43,0.16,0.65,1.74,1.68,1.74s2.93-0.65,2.99-1.14c0.05-0.49-0.43-1.09,0.71-1.14
      c1.14-0.05,2.61,0.11,2.5,1.09c-0.11,0.98,0.81,1.41,2.23,0.81c1.41-0.6,2.34-1.74,2.82-2.01c0.49-0.27,1.03-0.43,1.03-0.43
      s-2.61-0.65-2.17-1.2c0.43-0.54,1.58-0.22,2.17-0.43c0.6-0.22,1.3,0.71,2.01,0c0.71-0.71,0.33-1.9,1.09-1.3s1.2,0.98,1.52,1.63
      c0.33,0.65-0.38,2.06,0,2.72c0.38,0.65,0.6,1.31,1.09,1.66c0.49,0.35,0.92,0.52,1.25,0.46c0.33-0.05,1.25-0.46,1.25-0.46
      s-0.81-1.55,0.22-2.42c0.77-0.65,1.59-0.48,2.01-1.25c-1.78-1.65-6.27-5.06-6.67-5.46c-0.49-0.49-1.86-1.46-1.86-1.46l-2.08,0.18
      l-2.74,0.35l-1.37-0.53l-4.37,0.35c0,0,0.75-1.15,0.93-1.28c0.18-0.13,2.7-0.4,2.7-0.4l1.02,0.57c0,0,2.87-0.31,2.96-0.49
      c0.09-0.18,2.17-0.31,4.6-0.27c2.43,0.04,1.86,2.03,2.17,3.09c0.31,1.06,2.83,1.24,3.05,1.41c0.22,0.18,1.24-0.57,1.24-0.57
      s0.66,0.35,0.8,0.35c0.13,0,2.17,0.4,2.17,0.4s0.18,1.68,0.35,1.46C385.19,331.34,385.32,329.97,385.28,329.35z"/>
  </g>
  <g>
    <path id="East Midlands"  data-info="<div><h3>East Midlands</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M380.12,335.09c-1.03,0.87-0.22,2.42-0.22,2.42s-0.92,0.41-1.25,0.46c-0.33,0.05-0.76-0.11-1.25-0.46
      c-0.49-0.35-0.71-1.01-1.09-1.66c-0.38-0.65,0.33-2.06,0-2.72c-0.33-0.65-0.76-1.03-1.52-1.63s-0.38,0.6-1.09,1.3
      c-0.71,0.71-1.41-0.22-2.01,0c-0.6,0.22-1.74-0.11-2.17,0.43c-0.43,0.54,2.17,1.2,2.17,1.2s-0.54,0.16-1.03,0.43
      c-0.49,0.27-1.41,1.41-2.82,2.01c-1.41,0.6-2.34,0.16-2.23-0.81c0.11-0.98-1.36-1.14-2.5-1.09c-1.14,0.05-0.65,0.65-0.71,1.14
      c-0.05,0.49-1.96,1.14-2.99,1.14s-1.25-1.58-1.68-1.74c-0.43-0.16-1.74,2.93-1.74,2.93s-0.87,0.27-2.77,0.98
      c-1.9,0.71-0.98,3.42-0.98,3.42l-1.36,0.77c0,0-0.92,0.1-1.47,0c-0.54-0.1-1.58-0.5-1.58-0.5l-1.68-0.38c0,0-1.36-0.22-2.39,0.54
      s-2.88,0-2.88,0l-1.4-1.68l-1.15-1.47l-1.79-1.9l-1.3-2.72l-1.41-1.25l-1.18-0.32l0.12,0.13l-0.35,1l-1.94,0.59l-0.91,5.74
      l0.2,5.37c0.85,0.4,1.55,0.8,1.68,1.06c0.36,0.72,2.56,0.92,2.99,1.72c0.44,0.8,0.68,0.76,0.64,2.04
      c-0.04,1.28,0.56,2.76,0.88,3.15c0.32,0.4-0.48,1.44-0.48,1.44s-0.52,0.44-1.76,2.28c-1.24,1.84-0.44,2.08-0.44,2.08
      s1.88,0.52,1.96,0.72c0.08,0.2,2.12,0.56,3.63,0.84c1.52,0.28,0.52,0.24,0.62,1.08c0.1,0.84-1.54,2.2-1.54,2.2s-0.56,0.52-0.4,2
      c0.16,1.48,3.07,1.36,3.07,1.36s0.8,3.35,0.76,4.35c-0.04,1,5.11,3.83,5.11,3.83s2.28,1.4,2.68,1.88c0.4,0.48,1.44,3.75,1.44,3.75
      s-0.76,0.16-1,0.6c-0.24,0.44,0,2.04,0,2.04l-1,2.44c0,0-1.32,1.24-1.52,1.76c-0.13,0.33-0.27,1.39-0.36,2.12l0,0
      c0.35-0.15,0.72-0.25,0.93-0.07c0.48,0.4,1.15,1.15,1.15,1.15l-1.15,4.6c0,0,2.58,0.32,3.53,0.24c0.95-0.08,1.74-1.23,1.74-1.23
      l3.33-1.9l2.18,1.27c0,0,0.36,0.11,0.74,0.37l0.74-2.27l-1.41-1.71c0,0,1.94,0.49,2.71-0.61c0.77-1.1,3.77-2.69,3.77-2.69l1.77-1
      l-0.71-1.53l2.24,0.35l1.06-1.89l0.71-0.29l-0.29-1.65l-0.29-1l2.83-2.11c0,0,0.88-2.49,0.24-3.25c-0.65-0.77-1.24-2-1.24-2
      s1.12,2,3,1.47c1.89-0.53,2.06-1.77,2.06-1.77l3.48-1.36l1-2.12h1.65l0.94-2.36l1.36-1.24c0,0,2,1,2.65,0
      c0.65-1,1.41-2.18,1.41-2.18v-0.96c-0.1,0.03-0.17,0.05-0.17,0.05s-0.78-0.61-1.39-1.72c-0.62-1.1-2.17-2.03-3.23-2.12
      c-1.06-0.09-1.86,1.28-2.3-0.35c-0.44-1.64,2.25-1.86,3.8-4.24s4.51-3.71,4.73-5.44c0.22-1.72-0.49-4.33-1.63-7.56
      c-1.15-3.23-1.99-2.47-2.83-4.46c-0.84-1.99-2.61-2.47-3-3.31c-0.07-0.15-0.33-0.42-0.71-0.77
      C381.72,334.6,380.89,334.44,380.12,335.09z"/>
  </g>
</g>
</svg>

<style>
.map-link .st0 {
  transition: 0.5s;
  z-index:9999;
}

.map-link:hover .st0 {
  fill: #000E2F;
  transition: 0.5s;
  z-index:9999;
}
.map-link:hover .st1 {
  fill: #000E2F;
  transition: 0.5s;
}
.map-link:hover .st2 {
  fill: #000E2F;
  transition: 0.5s;
}
.map-link:hover .st3 {
  fill: #000E2F;
  transition: 0.5s;
}

/* Text Labels */

.labels {
    fill: #fff;
    font-family: Arial;
    font-size: 6px;
    line-height: 12px;
    font-weight: normal;
    z-index: 1;
    display: block;
}

body {
  background: #fffff;
  font-family: 'helvetica', sans-serif;
  color: black;
}

svg {
  width: 100%;
}

circle {
  opacity: 0;
  fill: #404a54;

}
path:hover, circle:hover {
  stroke: #a9d0b5 !important;
  stroke-width:2px;
  stroke-linejoin: round;
  fill: #a9d0b5 !important;
  cursor: pointer;
}
.province {
  stroke-width: 2px;
  stroke: #fffff;
  background: #d3d3d3;
}

#info-box {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  background-color: #ffffff;
  border: 2px solid #D3D3D3;
  border-radius: 5px;
  padding: 5px;
  font-family: arial;

}
#uk-map {
  display: block;
  width: 1280px;
  height: auto;
}


</style>

<script>

HTML CSS JSResult Skip Results Iframe
$("path, circle").hover(function(e) {
  $('#info-box').css('display','block');
  $('#info-box').html($(this).data('info'));
});

$("path, circle").mouseleave(function(e) {
  $('#info-box').css('display','none');
});

$(document).mousemove(function(e) {
  $('#info-box').css('top',e.pageY-$('#info-box').height()-45);
  $('#info-box').css('left',e.pageX-($('#info-box').width())/2);
}).mouseover();

var ios = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if(ios) {
  $('a').on('click touchend', function() { 
    var link = $(this).attr('href');   
    window.open(link,'_blank');
    return false;
  });
}

</script>

 

Link to comment
On 1/5/2022 at 11:40 PM, ThomasHanley said:

@tuanphan
Hi, sorry to be that guy but i tried to merge the HTML CSS and JS myself however i couldn't get the infobox text to work. This is the codepen link is https://codepen.io/libertyyork/pen/rNaYarx and my merge attempt is below thanks 🙂 

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
  <div id="info-box"></div>
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" id="uk-map"
   viewBox="0 0 600 600" style="enable-background:new 0 0 600 600;" xml:space="preserve">
<style type="text/css">
  .st0{fill:#666666;}
  .st1{fill:#58B9FA;}
  .st2{fill:#0A7FC8;}
  .st3{fill:#1B659D;}
</style>
<g>
  <g>
  <path id="East Angila"  data-info="<div><h3>East Angila</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M426.32,370.36c-0.99-2.68-1.13-4.45-1.48-4.66c-0.35-0.21-2.4-2.33-2.4-2.33l-3.32-1.77l-5.93-3.04
      c0,0-4.94-1.98-5.37-1.98s-1.91,1.27-1.91,1.27l-5.09-0.85l-4.1,0.35c0,0-2.4,1.55-2.75,2.47c-0.35,0.92-0.85,1.7-0.92,2.33
      c-0.07,0.64-1.75,2.88-1.75,2.88s-1.25-1.31-1.12-1.53c0.1-0.17-0.91,0.12-1.31,0.24v0.96c0,0-0.77,1.18-1.41,2.18
      c-0.65,1-2.65,0-2.65,0l-1.36,1.24l-0.94,2.36h-1.65l-1,2.12l-3.48,1.36c0,0-0.18,1.24-2.06,1.77c-1.89,0.53-3-1.47-3-1.47
      s0.59,1.24,1.24,2c0.65,0.77-0.24,3.25-0.24,3.25l-2.83,2.11l0.29,1l0.29,1.65l-0.71,0.29l-1.06,1.89l-2.24-0.35l0.71,1.53
      l-1.77,1c0,0-3,1.59-3.77,2.69c-0.77,1.1-2.71,0.61-2.71,0.61l1.41,1.71l-0.74,2.27c0.37,0.24,0.76,0.61,0.88,1.14
      c0.24,1.07,4.92,3.96,5.95,4.96c1.03,0.99,0.12,2.26,0.04,2.5c-0.08,0.24-3.57-1.03-3.57-1.03l0.99,1.94l2.54,2.02l1.11,2.97
      l1.51,2.12l-0.02,0l4.81-0.55l3.28-1.48c0,0,3.56-0.51,3.88-0.42s1.2,1.8,1.29,2.03c0.09,0.23,2.59,0.28,2.96,0.37
      c0.37,0.09,2.64,0.32,2.64,0.32s3.05,1.06,3.47,2.22c0.21,0.58,1.03,1.06,1.81,1.4c0,0-0.01,0.01-0.01,0.02
      c0.08-0.14,0.15-0.24,0.15-0.24h1.55h2.54l1.77-0.48c0,0,2.19-0.23,3.18-0.01c0.99,0.21,3.39-1.98,3.96-2.26
      c0.57-0.28,0.35-4.94,0.42-5.37c0.07-0.42-0.78-0.85-1.34-0.28c-0.57,0.57-1.77,0.71-2.19,1.13s-1.77,0.14-2.26,0
      c-0.49-0.14-0.85-1.2-0.64-1.34c0.21-0.14,2.05,0.07,2.83,0c0.78-0.07,1.55-1.44,1.55-1.44l3.04-2.94c0,0,0.49,1.7,1.7,2.54
      c1.2,0.85,1.55,0.21,3.67-0.64c2.12-0.85,2.33-3.11,2.33-3.11s-1.84,0.21-2.4,0c-0.56-0.21,1.13-1.2,1.13-1.2l0.92-1.2h-2.97
      c0,0-2.68-1.06-2.4-1.19c0.28-0.13,0.92-0.08,2.54-0.01c1.62,0.07,2.97-0.44,2.97-0.44s-0.64-0.27-1.2-0.41
      c-0.57-0.14-1.91-1.2-2.19-1.27c-0.28-0.07-0.21-0.99,0.57-1.13c0.78-0.14,3.6,2.4,3.88,2.68c0.28,0.28,1.2,0,1.2,0l2.61-2.61
      l2.68-2.83l1.62-3.25l0.14-3.74l1.13-3.04c0,0,1.77-3.96,2.05-5.09C427.59,376.16,427.31,373.05,426.32,370.36z" />
  </g>
  <g>
      
<path id="South East"  data-info="<div><h3>South East</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M419.9,422.77c0.35-0.28-1.7-0.35-2.19-0.35c-0.49,0-2.19-0.14-3.46-0.14c-1.27,0-3.04,0.57-3.04,0.57
        s-2.19,0.35-2.75,0.64c-0.57,0.29-3.39,0-3.39,0s-1.84-0.07-2.9,0c-1.06,0.07-0.07-1.24-0.07-1.24h2.61c0,0,1.55-0.38,1.13-0.38
        s-2.68-1.84-3.53-2.33c-0.85-0.49-0.28,0.14-0.64,0.42c-0.35,0.28-0.49,0.85-0.49,1.13c0,0.28-0.14,1.06-1.2,1.14
        c-1.06,0.08-1.77-0.08-2.47-0.01c-0.71,0.07-0.85-0.57-0.85-0.85s0.14-0.99,0.21-1.2c0.07-0.21,1.84-0.42,3.32-0.49
        c1.48-0.07,0.14-0.28,0.07-0.64c-0.07-0.35-0.92-1.06-2.83-1.27c-1.91-0.21-1.48-0.07-1.77-0.07s-0.78,0.92-0.78,0.92
        s-1.2,0.07-1.41-0.57c-0.02-0.06-0.06-0.11-0.09-0.16l-0.89,0.89l-2.77,0.14c0,0-1.06,0.05-3.05,0.74s-0.88,2.77-1.43,4.12
        c-0.55,1.34-0.6,1.34-1.11,1.94c-0.51,0.6-1.39,0-1.48-0.74s-1.39-0.74-2.64-0.46c-1.25,0.28-1.71,1.53-2.17,0.79
        c-0.46-0.74-0.97-0.79-0.97-0.79s-1.2-1.29-1.71-1.53s-1.43,0.92-1.43,0.92s-0.18-0.92-0.18-1.43c0-0.51-0.92-0.92-2.54-2.36
        c-1.62-1.43-1.94-1.43-1.94-1.43l-0.42-6.15l0.02,0l-1.51-2.12l-1.11-2.97l-2.54-2.02l-0.99-1.94c0,0,3.49,1.27,3.57,1.03
        c0.08-0.24,0.99-1.51-0.04-2.5c-1.03-0.99-5.71-3.88-5.95-4.96c-0.24-1.07-1.63-1.51-1.63-1.51l-2.18-1.27l-3.33,1.9
        c0,0-0.79,1.15-1.74,1.23c-0.95,0.08-3.53-0.24-3.53-0.24l1.15-4.6c0,0-0.67-0.75-1.15-1.15c-0.48-0.4-1.78,0.55-1.78,0.55
        s-0.4,0.91-1.07,1.31c-0.67,0.4-2.02,3.29-2.38,3.88c-0.36,0.59-2.97,2.46-3.49,3.01c-0.52,0.55-1.23,5.87-1.23,7.29
        s0.95,0.95,0.75,2.14c-0.2,1.19-1.19,0-0.75,2.26c0.44,2.26,1.15,3.92,1.15,3.92l2.42,2.85l0.83,2.06l-0.75,1.9l1.27,0.4
        l-0.16,1.47l-1.31,2.5l-1.68,1.51l-2.36-0.2c0,0,0.99,2.5,1.19,4c0.2,1.51,1.55,5.15,1.55,5.15s-0.24,1.43-0.79,2.02
        c-0.56,0.59-0.67,0.95-1.59,0.63c-0.91-0.32-5.15-2.22-5.95-1.9c-0.79,0.32-1.23,1.39-1.23,1.39l2.5,1.55
        c0,0,1.55-0.95,1.23,0.32c-0.32,1.27,0.16,2.14,0.16,2.14l0.24,1.07c0,0-0.04,0.62,0.24,1.4s1.07,1.41,1.07,1.41l1.19,1.05
        c0.11-0.1,0.18-0.18,0.18-0.18l2.38,0.71l1.22-0.64c0,0,1.27-1.06,2.9-1.48s2.61-0.85,2.9-0.99c0.28-0.14-0.42-1.48-0.99-1.77
        c-0.57-0.28-2.54-2.61-2.54-2.9s3.74,1.55,4.8,2.33c1.06,0.78,3.46,3.25,3.46,3.25v-1.34v-1.7l2.26,0.28l-0.85,1.77v1.55
        c0,0,0.64-0.78,0.85-0.99c0.21-0.21,0.49-1.84,0.71-2.26c0.21-0.42,1.55-0.07,1.55-0.07l2.05,0.42l0.42,1.62
        c0,0-0.42,0.71-0.42,0.92c0,0.21,1.2,1.34,1.41,1.34c0.21,0,1.98-0.64,1.98-0.64l1.91-0.78l2.97-1.34l4.87-0.21l5.37-0.99
        l5.44,1.84l2.75,1.27l3.46,0.85l3.32-3.67c0,0,5.23-0.57,5.79-0.64c0.57-0.07,1.48-1.2,1.48-1.2l1.27-0.64l2.12-2.26
        c0,0,2.47,0.71,3.46,1.13c0.99,0.42,0.99,0.35,1.41-0.71c0.42-1.06-0.28-1.84,0.64-2.97c0.92-1.13,4.03-2.75,4.03-2.75
        s3.32-1.7,4.1-1.84c0.78-0.14,2.61-2.47,2.61-2.47s0.57-2.68,0.78-3.6c0.21-0.92-1.06-1.34-1.06-1.34s0.28-1.13,0.42-1.41
        C418.48,423.76,419.54,423.05,419.9,422.77z"/>
    </g>
  <g>
    <g>

    
      <path id="Scotland"  data-info="<div><h3>Scotland</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M325.51,255.16c-0.37-1.39-3.8-5.38-3.57-6.17c0.23-0.79,1.53-0.09,2.13-0.83c0.6-0.74,1.44-1.39,3.15-3.39
        c0.89-1.03,2.05-2.24,2.96-3.16l-3.1-4.3l-2.03-0.18c0,0-3.67-1.41-4.46-1.81c-0.8-0.4-2.34-0.8-3.14-1.1
        c-0.8-0.31-3.49-1.9-3.49-1.9s-2.08-0.66-3.58-0.18c-1.5,0.49-1.5,2.47-2.17,3.14c-0.66,0.66-3.8,1.37-3.8,1.37l-1.9-0.75
        l-3.71-0.75l-4.68-1.24l-5.08-0.35l-2.3-1.46c0,0-2.17-1.9-2.25-2.03c-0.09-0.13,0.53-1.02,0.53-1.02l3.4,2.25l2.74,0.4
        c0,0,5.57,0.44,6.23,0.4c0.66-0.04,4.15-0.49,4.15-0.49s0.22-1.46,0.31-1.72c0.09-0.27,4.77-4.24,5.44-4.51
        c0.66-0.27,1.46-0.31,2.47,0.49c1.02,0.8,1.24,0.44,2.03,0.13c0.8-0.31,3.98-2.61,3.98-2.61s-0.04-1.02-0.09-1.15
        c-0.04-0.13-1.5-0.88-1.5-0.88s-3.49-1.06-3.62-1.33c-0.13-0.27,0.18-1.59,0.18-1.59l0.22-1.5c0,0-2.43-1.06-3.36-0.57
        c-0.93,0.49-3.89,2.12-3.89,2.12l-3.45,1.15c0,0-1.81,0.84-1.86,0.4c-0.04-0.44,5.26-4.73,5.26-4.73l4.37-0.53l4.29-0.09
        l4.51-3.76c0,0,2.17-2.43,2.52-5.35c0.35-2.92,2.7-2.96,3.84-3.62c1.15-0.66,2.83-4.11,2.74-5.35c-0.09-1.24,0.53-3.14,1.06-3.84
        c0.53-0.71,3.09-2.52,2.61-4.33c-0.49-1.81,1.77-6.67,2.96-7.78c1.19-1.1,3.23-3.45,4.02-4.68c0.8-1.24,1.06-0.4,1.33-0.57
        c0.27-0.18-0.75-0.71-1.28-2.56c-0.53-1.86-2.96-5.74-2.96-5.74s-3.09-1.28-4.33-1.28s-1.5,0.49-1.5,0.49s-1.28,0.66-2.08,0.62
        c-0.8-0.04-1.02-0.97-1.24-0.66c-0.22,0.31,0.27,0.62-1.37,0.84c-1.64,0.22-2.34,0.09-4.15-0.35c-1.81-0.44-8.17-0.88-9.15-1.02
        c-0.97-0.13-2.25,1.33-3.93,1.77c-1.68,0.44-2.47-0.27-3.4-1.15c-0.93-0.88-6.1-1.33-7.11-1.24c-1.02,0.09-0.62,1.1-1.41,2.03
        c-0.8,0.93-1.68,0.49-1.68,0.49l-0.71,0.71c0,0-1.15-0.84-1.46-0.8c-0.31,0.04-1.72,1.24-2.83,2.47c-1.1,1.24-3,0.18-3,0.18
        s-3.14-0.22-3.84,0.66c-0.71,0.88-2.7,3.89-2.7,3.89s-2.12-1.37-1.81-2.08c0.31-0.71,2.78-2.47,3.89-3.27
        c1.1-0.8,1.37-2.25,1.37-2.25c-0.22,0.31-1.81,0.22-1.81,0.22s-2.17-0.18-3.4,0.22c-1.24,0.4-2.65,2.12-2.92,2.43
        c-0.27,0.31-1.37,0.93-1.33,0.04c0.04-0.88,2.52-3,3.09-3.8c0.57-0.8,2.52-0.22,2.52-0.22s1.86-1.28,3.31-1.99
        c1.46-0.71,0.75,1.81,1.15,1.9c0.4,0.09,4.51-4.15,4.51-4.15l0.88-2.39c0,0-1.24,1.15-1.99,1.72c-0.75,0.57-0.97,0.27-1.46,0.27
        c-0.49,0-0.75-0.84-1.02-0.84c-0.27,0-1.19,0.84-1.19,0.84s-2.7-0.62-5.08-0.8c-2.39-0.18-2.92-0.71-2.92-0.71l-0.8-2.03
        c0,0,1.94,0.44,2.61,0.93c0.66,0.49,2.17,0,4.07,0.13c1.9,0.13,2.34-0.57,2.34-0.57l0.22-1.5c0,0-1.77-0.62-1.37-1.33
        s1.55,0.18,1.99,0c0.44-0.18,3.18-1.81,4.68-3.27c1.5-1.46,9.9-7.64,11.27-8.93c1.37-1.28,2.3-1.1,3.23-1.59
        c0.93-0.49,3.45-4.77,3.45-4.77l0.13-1.41c0,0-1.19-1.63-1.19-2.47s2.65-4.07,2.65-4.07s-4.73-0.57-5.13-0.57
        s-2.08,0.13-2.08,0.13s-1.81-1.15-2.03-0.53c-0.22,0.62,1.28,1.19,1.28,1.19s0,1.1-0.53,1.24c-0.53,0.13-6.1-0.97-6.1-0.97
        s-2.39,0.4-2.52,0.53c-0.13,0.13-3,1.41-3,1.41s-3.23,0.09-3.62,0.09s-1.15-1.55-1.15-1.55s-0.13,1.06-0.27,1.33
        c-0.13,0.27-0.13,0.49-1.28,0.66c-1.15,0.18-2.3,1.24-2.43,1.33c-0.13,0.09-3.05-0.84-4.11,0.04c-1.06,0.88-3.23,2.87-3.23,2.87
        s0.57-1.94,1.15-3.05c0.57-1.1-1.5-1.86-1.63-2.03c-0.13-0.18-1.64-0.09-1.68,0.49c-0.04,0.57-3.8,5.13-3.8,5.13l-0.97-0.88
        c0,0,2.3-3.27,2.3-3.54c0-0.27-2.3-2.3-2.3-2.3s-0.09,1.59-0.27,2.03c-0.18,0.44-1.02,1.1-1.02,1.1s-0.71-2.83-1.02-3
        c-0.31-0.18-2.43-1.24-2.43-1.24l-1.81,3.76l-1.72,1.15l1.06,1.02l0.71,1.15l-1.55,0.88l1.77,0.82l-0.09,1.75
        c0,0-2.83-1.99-3.23-1.72c-0.4,0.27-0.4,2.83-0.4,2.83l2.65,2.7l2.3-0.49l0.18,1.94c0,0-2.78-0.66-2.96-0.62
        c-0.18,0.04-3.49-0.13-3.49-0.13s-1.19,0.35-2.25,0.66c-1.06,0.31-2.21-0.88-2.21-0.88s0,0,0.13,0.75
        c0.13,0.75,3.14,2.83,3.54,3.09c0.4,0.27-0.97,2.3-1.02,2.56c-0.04,0.27-0.09,1.28-1.41,1.28c-1.33,0-2.52-0.88-2.52-0.88
        s0.62,1.72,0.84,2.08c0.22,0.35,1.68,0.97,1.68,0.97l2.52,1.41c0,0,0.93,0.4,0.97,1.48c0.04,1.08,2.65,2.63,2.65,2.63l-1.02,1.41
        l-1.02-1.28l-1.55-1.28c0,0-2.08-0.57-2.21-0.62c-0.13-0.04-1.9-1.15-2.03-0.8c-0.13,0.35,4.11,2.65,4.11,2.65s0.18,1.24,0,1.24
        c-0.18,0-4.29-2.78-4.29-2.78s-1.28,1.9-1.9,2.3c-0.62,0.4-0.22-0.13-0.62-0.27c-0.4-0.13-0.93-1.1-0.93-1.1
        s-1.24-1.41-1.55-1.46c-0.31-0.04-0.71,0.18-1.02,1.28c-0.31,1.1,1.33,1.19,1.59,1.41c0.27,0.22,0.35,2.61,0.31,2.87
        c-0.04,0.27-1.94,0.4-1.94,0.4l-0.93-0.57c0,0-0.22-2.17-0.31-2.7c-0.09-0.53-1.28-0.66-1.28-0.66s-0.71,0-1.19,0.71
        c-0.49,0.71-0.22,3.62,0.13,3.93c0.35,0.31,2.61,1.33,2.61,1.33s-0.35,0.71-0.75,1.19c-0.4,0.49-1.15-0.31-1.37-0.35
        c-0.22-0.04-0.93,1.24-0.93,1.24s-0.09,0.75,0.22,1.1s2.74,3.21,2.74,3.21s2.65,0.06,2.83,0c0.18-0.06,1.06,0.46,1.15,0.94
        c0.09,0.49-2.12,0.53-2.52,0.53c-0.4,0-1.68,0.35-1.68,0.35l-1.1-0.75c0,0-2.7-1.68-2.74-0.84c-0.04,0.84-0.62,3.31-0.62,3.31
        l0.93,1.37l-0.09,2.43c0,0,1.15,0.75,1.72,0.75c0.57,0,1.37-1.46,1.37-1.46l0.97-0.57l1.02,0.31l-0.49,1.1
        c0,0,0.84,0.18,1.59,0.22c0.75,0.04,1.1-0.97,1.1-0.97l1.28-1.24l1.28,0.44c0,0-0.84,1.28-1.1,1.64c-0.27,0.35-1.9,1.1-2.52,1.28
        c-0.62,0.18-2.17-0.53-2.3-0.53c-0.13,0-1.94,2.12-1.94,2.12l2.03,0.35l1.99,0.35l2.61-1.99l1.15,0.31c0,0,0,0,0.09,0.62
        c0.09,0.62-1.86,0.8-1.9,1.37c-0.04,0.57,1.77,1.33,1.77,1.33l0.18,0.71c0,0-1.37,0-1.94-0.35c-0.57-0.35-1.59-0.75-2.25-0.71
        s-0.35,0.53-0.88,1.59c-0.53,1.06-1.63,1.1-1.63,1.1l1.28,1.5c0,0,1.55,0.66,2.25,0.93c0.71,0.27,3.18-0.35,3.18-0.35l-0.13,1.24
        l-0.35,0.13l-2.3-0.04l-2.7-0.53h-2.08l-1.55,1.28l-0.13,0.88l1.9,0.35c0,0,0.93,1.33,1.64,1.81c0.71,0.49,2.47,0,2.47,0
        s-0.04,0.49-0.84,0.97c-0.8,0.49-1.63,0.09-2.52,0.44c-0.88,0.35-2.43-2.56-3.14-1.94c-0.71,0.62-2.7,4.42-2.78,4.78
        c-0.09,0.37,1.19,0.25,1.63,0.3c0.44,0.04,1.06-0.04,1.72-0.27c0.66-0.22,0,0.75,0.22,0.8c0.22,0.04,2.34-0.31,2.34,0
        c0,0.31-0.88,0.49-1.24,0.84c-0.35,0.35-3,0.62-3.49,1.06c-0.49,0.44,0.88,0.84,1.06,0.93c0.18,0.09-0.35,0.75-0.66,1.9
        c-0.31,1.15-0.88,0-1.81-0.31c-0.93-0.31-1.86-0.57-2.87,0c-1.02,0.57-2.03-0.04-3.18,0.09c-1.15,0.13-2.25,1.55-2.25,1.55
        s0.04,1.06,0.22,1.41c0.18,0.35,1.37-0.44,1.86-0.53c0.49-0.09,6.27,0.62,6.27,0.62l1.94-0.22l1.24-0.93l2.7,0.84
        c0,0,1.55,1.06,0.75,1.28c-0.8,0.22-1.06-0.35-1.06-0.35l-1.59-0.04l-2.21,0.18l-1.41,1.02l-1.41-0.66l-2.08,1.06
        c0,0,4.9,3.45,5.04,3.31c0.13-0.13,1.02-0.97,1.02-0.97l0.04,1.28c0,0,2.7,1.33,3,1.28c0.31-0.04,8.93-8.31,9.63-8.84
        c0.71-0.53,3.31-3.14,3.31-2.25c0,0.88-2.12,2.65-1.77,3.18c0.35,0.53,5.3-0.71,4.6,0.22c-0.71,0.93-5.26,1.02-5.97,1.28
        c-0.71,0.27-3.53,4.27-3.53,4.27s-1.39,2.27-1.64,2.9c-0.25,0.63,1.29,0.4,2.32,0.55c1.03,0.15,3.1,0.45,3.6,0.2
        c0.5-0.25,3.6-3.12,3.6-3.12c-0.08,0.63-2.12,3.2-2.55,3.58c-0.43,0.38-1.26,0.91-1.26,0.91l-5.67-0.15l-1.36,1.03
        c0,0-1.49,0.43-1.44,1.08c0.05,0.65,1.67,0,1.67,0l-1.16,1.28l-1.12,2.04c0,0-1.16,1.4-1.92,2.56c-0.76,1.16-0.12,2.24,0.08,2
        c0.2-0.24,2.4-2.85,2.4-2.85l1.12-0.32l0.68,0.64c0,0-1.04,0.44-1.56,1c-0.52,0.56-1.6,3.45-1.6,3.45l2-1.64
        c0,0,0,0.96-0.12,1.13c-0.12,0.17-0.08,1.48-0.72,2.08c-0.64,0.6-2.32,2.56-2.93,3.73c-0.6,1.16-0.68,2.48-0.36,2
        s2.6-3.21,2.6-3.21s0.4,0.68,0.56,1.4c0.16,0.72-2.11,1.84-2.7,2.52c-0.59,0.68-0.59,2.11-0.59,2.11l2.03-1.94l0.68,1.01
        c0,0-1.86,1.01-2.7,2.2c-0.84,1.18,0.59,2.37,0.59,2.37s0.68,0.93,1.18,0.99c0.51,0.06,0.84-0.15,1.27-0.4
        c0.42-0.25,1.52-2.53,1.77-2.62c0.25-0.08,0.93,0.84,1.01,1.69c0.08,0.84-1.44,1.35-2.45,2.2c-1.01,0.84-1.52,1.35-2.7,2.7
        c-1.18,1.35-0.42,1.52-0.59,2.37c-0.17,0.84-1.1,1.77-1.1,1.77s-0.17,4.48-0.34,5.32c-0.17,0.84-0.93,1.35-1.1,1.77
        c-0.17,0.42-1.1,1.69-1.01,2.87c0.08,1.18,0.68,1.94,1.35,1.52c0.68-0.42,2.87-0.84,2.87-0.84s1.86-1.18,2.2-2.37
        c0.34-1.18-0.68-1.27-0.68-1.27s-0.42-1.18-0.08-1.86c0.34-0.68,1.44-3.46,1.44-3.46s0.76-3.63,1.18-5.41
        c0.42-1.77,4.14-3.97,4.14-4.56c0-0.59-3.46-5.66-3.46-5.66s-0.17-2.2,0.25-2.87c0.42-0.68,1.44-0.42,1.44-0.42l3.04-2.86
        c0,0,2.53-2.46,2.79-2.87c0.25-0.41,1.69-1.53,2.03-2.12c0.34-0.59,3.97-2.45,3.97-2.45l0.34,0.59c0,0-2.03,2.11-2.37,2.79
        c-0.34,0.68-4.31,3.72-4.31,3.72s-3.21,2.37-3.8,5.32c-0.59,2.96,0.42,3.63,0.42,3.63s1.69,0.76,1.69,0.51
        c0-0.25,0.59-1.94,0.59-1.94l0.93-1.86l0.76,1.18h1.35l-1.1-3.8l1.52,1.44l0.42,2.7l1.77,2.03c0,0,1.27-2.11,1.52-2.62
        c0.25-0.51-0.17-1.18-0.25-1.6c-0.08-0.42,1.1-0.76,1.1-0.76l-0.17-3.88l0.51-3.3l0.93,1.77c0,0,0.42-0.17,0.76-1.34
        c0.34-1.17,1.86-1.19,1.86-1.19l-1.77,3.46l-0.25,1.69c0,0,3.97,2.53,4.31,3.29c0.34,0.76,4.65,1.69,4.39,1.77
        c-0.25,0.08-5.32,0.25-5.32,0.25s-2.53-0.84-3.63-0.84c-1.1,0-0.84,2.62-0.84,2.62s0.25,4.22-0.08,5.58
        c-0.34,1.35-0.76,1.1-0.68,1.35c0.08,0.25,4.05,3.21,4.05,3.21s1.27,1.86,1.27,2.11s1.86,2.7,1.86,2.7s-1.27,2.53-1.77,2.96
        c-0.51,0.42-4.14,3.72-4.14,3.72l0.25,4.14c0,0-3.38,3.21-4.65,4.69c-1.27,1.48-0.76,4.98-0.76,4.98l1.06,3.67
        c0,0-1.06,0.35-1.62,0.07c-0.57-0.28-1.98-4.17-1.98-4.17s-1.13,1.13-1.2,3.25c-0.07,2.12,0,2.05,0,2.05l2.97,4.03l2.19,1.84
        c0,0,0.07,1.77,0.21,2.97c0.14,1.2,1.13,0.92,1.13,0.92s0.92,0,1.06-1.38c0.14-1.38-2.61-4.84-2.61-4.84l0.92-1.7
        c0,0,1.34-0.85,2.12-1.06c0.78-0.21,2.33,0.99,2.33,0.99s3.81,2.33,4.94,3.11c1.13,0.78,1.77,2.05,1.77,2.05s2.54,1.34,2.75,1.45
        c0.21,0.11,0.49-3.43,0.49-3.43s-0.42-1.84-0.78-1.91c-0.35-0.07-0.85-1.13-0.85-1.34c0-0.21,0.21-1.55,0.42-1.91
        c0.21-0.35,0.78-0.28,1.13-0.28c0.35,0,2.12,2.61,2.12,2.61l0.85-0.78c0,0,1.77-0.35,1.77,0.21c0,0.57,0.42,1.55,0.42,1.55
        l1.55,1.27l0.85-1.7l0.71,0.21l1.06,1.91c0,0,2.05-0.92,3.39-1.55c1.34-0.64,0.92-1.13,0.92-1.13l0.78-1.48
        c0,0,4.31-0.49,5.09-0.49c0.78,0,0.42-1.2,0.49-1.55c0.07-0.35,0.14-1.62,0.99-2.4c0.85-0.78,1.77-0.21,1.98,0
        c0.19,0.19,6.63,0.03,7.69,0l3.63-1.29l0.19-1.9l2.83,0.37c0,0,0.56-1.53,1.76-2.41c1.21-0.88,1.44-2.37,2.88-2.97
        c1.44-0.6,2.41-1.3,2.5-1.81c0.09-0.51-0.65-1.3,1.21-2.74c1.85-1.44,2.6-2.88,3.94-2.88c1.34,0,0.97,1.16,2.09,0
        c1.11-1.16,0.23-1.72,2.32-2.37S325.88,256.55,325.51,255.16z"/>
    </g>
  </g>
  <g>
    <path id="London"  data-info="<div><h3>London</h3></div><div>Whole Foods Market</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M392.49,418.77l0.89-0.89c-0.33-0.4-1.18-0.14-1.18-0.34c0-0.15,0.37-0.78,0.57-1.12
      c-0.78-0.34-1.6-0.82-1.81-1.4c-0.42-1.16-3.47-2.22-3.47-2.22s-2.27-0.23-2.64-0.32c-0.37-0.09-2.87-0.14-2.96-0.37
      c-0.09-0.23-0.97-1.94-1.29-2.03s-3.88,0.42-3.88,0.42l-3.28,1.48l-4.81,0.55l0.42,6.15c0,0,0.32,0,1.94,1.43
      c1.62,1.43,2.54,1.85,2.54,2.36c0,0.51,0.18,1.43,0.18,1.43s0.92-1.16,1.43-0.92s1.71,1.53,1.71,1.53s0.51,0.05,0.97,0.79
      c0.46,0.74,0.92-0.51,2.17-0.79c1.25-0.28,2.54-0.28,2.64,0.46s0.97,1.34,1.48,0.74c0.51-0.6,0.55-0.6,1.11-1.94
      c0.55-1.34-0.55-3.42,1.43-4.12s3.05-0.74,3.05-0.74L392.49,418.77z"/>
  </g>
  <g>
    <path id="South West"  data-info="<div><h3>South West</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M335.75,447.47c0,0-0.79-0.63-1.07-1.41s-0.24-1.4-0.24-1.4l-0.24-1.07c0,0-0.48-0.87-0.16-2.14
      c0.32-1.27-1.23-0.32-1.23-0.32l-2.5-1.55c0,0,0.44-1.07,1.23-1.39c0.79-0.32,5.03,1.59,5.95,1.9c0.91,0.32,1.03-0.04,1.59-0.63
      c0.55-0.59,0.79-2.02,0.79-2.02s-1.35-3.65-1.55-5.15c-0.2-1.51-1.19-4-1.19-4l2.36,0.2l1.68-1.51l1.31-2.5l0.16-1.47l-1.27-0.4
      l0.75-1.9l-0.83-2.06l-2.42-2.85c0,0-0.71-1.66-1.15-3.92c-0.44-2.26,0.55-1.07,0.75-2.26c0.2-1.19-0.75-0.71-0.75-2.14
      s0.71-6.74,1.23-7.29c0.14-0.15,0.42-0.39,0.77-0.67c-0.35-0.51-0.76-1.03-1.02-1.19c-0.53-0.32-0.21-1.01-0.21-1.01l1.24-1.51
      l-0.69-0.58l-1.61-1.48l-1.98-1.19l-2.04,0.98c0,0-0.64,0.79-0.74,1.03c-0.11,0.24,1.4,1.53,0.85,1.59
      c-0.56,0.05-1.24-0.87-1.96-0.87c-0.71,0-2.04,0-2.04,0s-1.53,1.46-2.88,1.8c-1.35,0.34-0.21-1.8-0.53-1.8
      c-0.32,0-0.71,0.5-0.71,0.5s-1.4,1.59-1.53,1.72s-1.16,0.58-1.16,0.58l-1.61-1.64l-2.33-0.19l-1.91,0.56l-0.03,2.04
      c0,0,1.03,2.06,1.01,2.2c-0.03,0.13-1.19,0.42-1.19,0.42l-3.2,1.93c0,0-1.3,2.3-1.93,3.39c-0.47,0.81,0.22,3.46,0.61,4.78
      c0.54-0.51,1.02-0.99,1.68-1.66c0.92-0.92,1.7-1.34,2.61-2.05c0.92-0.71,2.75-2.12,2.75-2.12s-0.42,1.48-0.71,1.84
      c-0.28,0.35-2.12,2.68-2.12,2.68s-3.6,4.1-4.45,5.58c-0.85,1.48-1.62,0.99-2.26,1.2c-0.64,0.21-1.91,2.4-1.91,2.4
      s-1.84,1.41-2.19,1.98c-0.35,0.57-1.7,1.55-1.98,2.05c-0.28,0.49-0.57,5.86-0.57,5.86s-0.92,0.64-2.12,0.57
      c-1.2-0.07-1.34-0.21-2.61,0c-1.27,0.21-3.18,0.85-4.03,0.92c-0.85,0.07-2.05-0.71-2.26-0.85c-0.21-0.14-1.41-0.92-3.46-1.06
      c0,0-4.45-0.49-4.94-0.42c-0.49,0.07-4.31,0-4.94,0.14c-0.64,0.14-6,0.64-6,0.64l-2.26,1.91l0.49,2.83c0,0,0.49,1.62-0.21,2.75
      s-2.47,1.34-2.97,1.7c-0.49,0.35-4.8-1.27-5.01-0.85c-0.21,0.42-0.85,8.69-0.92,9.11c-0.07,0.42-4.24,4.59-5.16,5.79
      c-0.92,1.2-0.85,1.77-1.41,2.47c-0.56,0.71-0.99,0.07-1.48,0.21c-0.49,0.14-1.06-0.07-1.77,0.21c-0.71,0.28,0.07,0.78,0.21,1.2
      c0.14,0.42,1.48,0.99,1.48,0.99s0,0-0.35,0.21c-0.35,0.21-0.71,0-1.7-0.07c-0.99-0.07-1.2-1.41-2.05-0.78
      c-0.85,0.64-0.49,4.87-0.49,4.87s-2.61,0.42-2.9,0.71c-0.28,0.28-0.28,1.2-0.42,1.62c-0.14,0.42-6.78,6.71-7.2,6.92
      c-0.42,0.21-1.2,0.07-1.34-0.14c-0.14-0.21-0.92-0.35-1.98-0.14c-1.06,0.21-2.12,1.27-2.12,1.27s-2.61,1.41-2.68,2.05
      c-0.07,0.64-0.21,2.4-0.28,2.61c-0.07,0.21,1.62,0.64,1.98,0.71c0.35,0.07,1.27,0,1.7-0.35c0.42-0.35,1.13-1.84,1.2-2.19
      c0.07-0.35,0.57-0.35,0.92-0.49c0.35-0.14,2.12,0.14,2.12,0.14s2.54,1.13,3.81,2.4c1.27,1.27,0.64,1.13,0.71,1.98
      c0.07,0.85,1.06,1.13,1.06,1.13s2.97-1.98,3.39-2.68s-0.42-0.99-0.78-1.41c-0.35-0.42-0.28-0.71,0-1.2
      c0.28-0.49,0.57-2.12,0.64-3.18c0.07-1.06,1.7-0.21,1.7-0.21s0.49,1.55,0.85,1.13c0.35-0.42,1.62-1.34,1.62-1.34l3.67-3.18
      c0,0,1.06-1.34,1.7-2.33c0.64-0.99,1.34-0.14,1.62-0.07c0.28,0.07,2.47-0.21,2.47-0.21l2.33,0.21c0,0,1.34-0.49,2.19-0.64
      c0.85-0.14,1.27-0.71,2.05-0.99c0.78-0.28,3.04,2.05,3.04,2.05l0.21-1.13l-1.91-1.2l1.34-0.57v-1.7l1.27-1.13c0,0,0,0.78,0,0.99
      c0,0.21,0.78,0.71,0.64,1.41s0.28,1.48,0.28,1.48l2.12,2.68c0,0,1.7-0.71,2.54-1.13c0.85-0.42,2.9,3.32,3.11,3.67
      c0.21,0.35,3.96,1.13,4.8,1.06c0.85-0.07,0.35-2.26,0.35-2.26l0.49-1.77l1.77-1.7l2.54-1.84l-1.34-0.35c0,0-0.92-1.7-0.85-1.91
      c0.07-0.21,1.26-0.99,1.26-0.99s0.15-1.77,0.01-2.19c-0.14-0.42,0.99-2.97,1.7-3.6c0.71-0.64-0.21-2.9,0-3.04
      c0.21-0.14,0.64,0.92,0.78,1.77c0.14,0.85,0.78,0.85,0.78,0.85l2.61-1.06c0,0,1.7-1.2,2.47-1.62c0.78-0.42,4.87-0.78,4.87-0.78
      l3.67-0.78c0,0,2.12,0.21,2.47,0.42c0.35,0.21,8.33,5.93,7.91,5.16c-0.42-0.78,0.64-0.78,1.41-1.55c0.78-0.78,1.77-0.71,1.77-0.71
      s2.26,0.21,4.24,0.49c1.98,0.28,2.9,1.77,4.24,1.77c1.34,0,1.7-0.85,1.84-1.34c0.14-0.49,0-1.48-0.07-1.91
      c-0.07-0.42-0.78-0.57-1.77-1.06c-0.99-0.49-1.13-1.55-0.57-1.4c0.57,0.16,5.58,0,5.58,0s1.77-0.16,2.75-0.02
      c0.7,0.1,1.25-0.29,1.52-0.53L335.75,447.47z"/>
  </g>
  <g>
    <g>
     <path id="Wales"  data-info="<div><h3>Wales</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M311.51,406.8c0.64-1.08,1.93-3.39,1.93-3.39l3.2-1.93l-1.92,1.16c-0.29-0.11-0.6-0.18-0.91-0.18
        c-1.21,0.01-1.59,1.19-1.87,1.15c-0.29-0.04-0.61-0.29-0.72-0.4c-0.11-0.11-3.42-2.74-3.82-3.14c-0.4-0.4-1.15-1.41-1.44-1.3
        c-0.29,0.11-0.72,1.23-1.3,1.55c-0.58,0.32-1.01-0.83-0.94-1.48c0.07-0.65-1.87-1.66-2.2-2.52c-0.32-0.86-0.25-1.19-0.47-1.98
        c-0.22-0.79-0.25-0.83-0.29-1.62c-0.04-0.79,0.36-1.95,0.32-2.2c-0.04-0.25,0.04-0.32,0.43-1.33c0.4-1.01,1.3-2.2,1.91-2.45
        c0.61-0.25,1.08-0.4,1.08-0.86s-0.58-0.36-0.68-1.3c-0.11-0.94,0.61-0.5,0.61-0.5s0.04-1.01-0.04-1.55
        c-0.07-0.54-1.08-0.61-2.02-0.4c-0.94,0.22-1.59-0.86-2.09-1.08c-0.5-0.22-1.8-1.51-1.66-1.91c0.14-0.4-0.18-0.43,0-1.33
        c0.18-0.9,1.95-0.97,2.7-1.01c0.76-0.04,1.05,0.04,1.62-0.76c0.58-0.79,1.3-1.23,1.37-2.2c0.07-0.97-0.54-0.97-1.77-0.86
        s-0.9,0.86-1.55,1.26c-0.65,0.4-0.18,0.32-0.43-0.47c-0.25-0.79,0.4-0.83,0.79-1.3c0.4-0.47,0.9-1.48,0.9-1.48
        s1.08-2.99,1.12-3.42c0.04-0.43,1.44-0.47,1.44-1.37c0-0.9-1.05-0.61-1.69-0.72c-0.65-0.11-1.77-0.86-2.88-1.73
        c-1.12-0.86,0-0.9,0-0.9s0.11-1.12,0.43-1.91c0.32-0.79,1.51-2.05,1.51-2.05s2.45-1.15,2.88-0.86s2.56,0.32,2.85,0.47
        c0.29,0.14,1.8,1.44,2.13,1.51c0.32,0.07,0.61-1.08,0.61-1.08l0.7-2.58c-0.65-0.01-2.63-0.44-2.78-1.2
        c-0.16-0.8-1.28-2.83-1.28-2.83l-1.16-1.68c0,0-0.96-0.36-1-0.68c-0.04-0.32,0.4-0.04,0.6-0.8c0.2-0.76-0.6-2.12-0.6-2.12
        l-0.44-0.8l-0.64-0.64l-1.64-0.48l-0.3-0.29l0,0c-0.11,0.42-0.5,0.52-0.5,0.52l-2.12-1.13c0,0-4.38-2.97-4.87-3.11
        c-0.49-0.14-2.97,1.84-2.97,1.84l-2.83,0.64c0,0-1.98,0.21-3.46,0.07c-1.48-0.14-3.6-2.26-3.74-1.91
        c-0.14,0.35,0.99,1.55,0.99,1.55s-1.62,0.49-1.98,0.78c-0.35,0.28-1.98,1.06-3.39,1.62c-1.41,0.57-2.83,1.06-3.32,1.91
        c-0.49,0.85-4.59,3.53-4.59,3.53s-0.21,2.26-0.42,3.25c-0.21,0.99-1.13,0.64-1.55,1.41c-0.42,0.78-6.22,3.88-7.77,5.65
        c-1.55,1.77-1.84,2.83-1.84,2.83s2.05-0.92,2.68-1.2c0.64-0.28,2.12,0.49,2.54,0.49s1.34-0.21,1.34-0.21s0.78-1.55,1.27-2.4
        c0.49-0.85,0.85-0.99,1.98-0.99s1.13-0.21,1.7-0.35c0.57-0.14,0.78-0.21,1.2-0.35s1.27-0.07,2.47-0.28
        c1.2-0.21,2.75-0.28,2.75-0.28l0.14,0.78l-1.34,2.4c0,0-0.28,0.49-0.28,1.34c0,0.85,1.7,3.18,1.7,3.18l1.77,0.49
        c0,0-0.99,0.42-1.27,0.99c-0.28,0.57-2.05,2.83-2.19,3.82c-0.14,1,1.2,1.54,1.48,2.18c0.28,0.64,0.99,0.07,1.41,0
        c0.42-0.07,1.77,0.07,1.77,0.07c0.07,0.64-2.4,1.34-2.54,1.62c-0.14,0.28-0.92,2.97-1.2,5.09c-0.28,2.12-6,7.27-7.2,7.56
        c-1.2,0.28-4.52,2.97-5.09,3.11c-0.57,0.14-1.98,0.14-2.26,0.07c-0.28-0.07-1.34,0.71-1.7,0.85c-0.35,0.14-3.11,2.33-3.11,2.33
        l-0.28,1.34c0,0,0,0-0.78,0.28c-0.78,0.28-1.27,0.07-2.26,0.21c-0.99,0.14-2.75-0.92-2.75-0.92l-0.85,1.7l-1.62,1.48
        c0,0-1.84,0.71-2.83,1.2c-0.99,0.49-0.99,1.13-0.99,1.91c0,0.78,1.98,0.07,1.98,0.07l1.98,0.35l0.71,2.47
        c0,0-0.57,1.06-0.85,1.27c-0.28,0.21-1.7,1.2-2.47,1.77c-0.78,0.57,0.71,0.99,0.99,0.85c0.28-0.14,2.05-0.21,2.05-0.21
        s3.6,0.07,4.24,0c0.64-0.07,0.78-0.57,0.92-1.06c0.14-0.49,0.42-1.34,0.85-1.77c0.42-0.42,0.64,1.27,0.78,2.47
        c0.14,1.2-0.99,0.42-1.2,0.57c-0.21,0.14-1.48,0.78-2.68,1.06c-1.2,0.28-2.54,0.07-3.11,0.35c-0.57,0.28,1.06,0.21,1.7,0.92
        c0.64,0.71,1.98,2.4,2.83,1.91c0.85-0.49,1.34-1.2,1.77-1.48c0.42-0.28,3.6-0.15,4.1-0.71c0.49-0.57,1.41-2.75,1.41-2.75
        s4.59-0.42,5.09-0.42c0.49,0,0.64-0.78,0.64-0.78s1.41-1.27,1.91-1.62c0.49-0.35,0.64,2.68,0.64,3.53c0,0.85,0.99,0.85,2.33,1.27
        c1.34,0.42,1.77-0.28,2.19-0.07c0.42,0.21,3.25,0.49,3.25,0.49s-0.99,1.2-1.48,1.48c-0.49,0.28-3.32,0.21-4.24,0.64
        c-0.92,0.42-0.99,0.78-0.99,1.7s1.77,0.85,3.04,1.06c1.27,0.21,0.71-0.35,0.99-0.56c0.28-0.21,2.12,0.21,2.54,0.07
        s1.06-2.19,1.34-2.33c0.28-0.14,4.45,0,4.45,0l3.04,5.01l4.59,3.6c0,0,2.75,0.49,7.49,0.78c4.73,0.28,1.84-1.06,1.84-1.34
        c0-0.28,0.21-0.78,0.99-2.05c0.78-1.27,2.26-1.7,2.54-2.05c0.28-0.35,0.99-1.13,2.05-1.27c1.06-0.14,1.41,0.14,2.19,0
        c0.78-0.14,2.9-0.49,3.11-0.64c0.21-0.14,1.7-1.41,2.54-2.19c0.23-0.21,0.44-0.41,0.65-0.6
        C311.73,410.26,311.04,407.6,311.51,406.8z"/>
    </g>
  </g>
  <g>
    <path id="West Midlands"  data-info="<div><h3>West Midlands</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M349.18,378.79c-0.4-0.48-2.68-1.88-2.68-1.88s-5.15-2.84-5.11-3.83c0.04-1-0.76-4.35-0.76-4.35
      s-2.91,0.12-3.07-1.36c-0.16-1.48,0.4-2,0.4-2s1.64-1.36,1.54-2.2c-0.1-0.84,0.9-0.8-0.62-1.08c-1.52-0.28-3.55-0.64-3.63-0.84
      c-0.08-0.2-1.96-0.72-1.96-0.72s-0.8-0.24,0.44-2.08c1.24-1.84,1.76-2.28,1.76-2.28s0.8-1.04,0.48-1.44
      c-0.32-0.4-0.92-1.88-0.88-3.15c0.04-1.28-0.2-1.24-0.64-2.04c-0.44-0.8-2.64-1-2.99-1.72c-0.13-0.26-0.83-0.66-1.68-1.06l0,0.1
      c0,0-2.36,2.16-2.95,2.44c-0.6,0.28-2.76,1.64-2.95,1.92c-0.2,0.28-0.6,1.24-1.16,1.48c-0.56,0.24-1.92-0.24-2.32,0.44
      s-0.24,2.56-0.32,2.76c-0.08,0.2-2.16,0.76-2.68,0.96c-0.52,0.2-2.52,0.08-3.07,0c-0.56-0.08-2.32-0.56-2.83-0.52
      c-0.03,0-0.06,0-0.1,0l-0.7,2.58c0,0-0.29,1.15-0.61,1.08c-0.32-0.07-1.84-1.37-2.13-1.51c-0.29-0.14-2.41-0.18-2.85-0.47
      s-2.88,0.86-2.88,0.86s-1.19,1.26-1.51,2.05c-0.32,0.79-0.43,1.91-0.43,1.91s-1.12,0.04,0,0.9c1.12,0.86,2.23,1.62,2.88,1.73
      c0.65,0.11,1.69-0.18,1.69,0.72c0,0.9-1.41,0.94-1.44,1.37c-0.04,0.43-1.12,3.42-1.12,3.42s-0.5,1.01-0.9,1.48
      c-0.4,0.47-1.05,0.5-0.79,1.3c0.25,0.79-0.22,0.86,0.43,0.47c0.65-0.4,0.32-1.15,1.55-1.26s1.84-0.11,1.77,0.86
      c-0.07,0.97-0.79,1.41-1.37,2.2c-0.58,0.79-0.86,0.72-1.62,0.76c-0.76,0.04-2.52,0.11-2.7,1.01c-0.18,0.9,0.14,0.94,0,1.33
      c-0.14,0.4,1.15,1.69,1.66,1.91c0.5,0.22,1.15,1.3,2.09,1.08c0.94-0.22,1.95-0.14,2.02,0.4c0.07,0.54,0.04,1.55,0.04,1.55
      s-0.72-0.43-0.61,0.5c0.11,0.94,0.68,0.83,0.68,1.3s-0.47,0.61-1.08,0.86c-0.61,0.25-1.51,1.44-1.91,2.45
      c-0.4,1.01-0.47,1.08-0.43,1.33c0.04,0.25-0.36,1.41-0.32,2.2c0.04,0.79,0.07,0.83,0.29,1.62c0.22,0.79,0.14,1.12,0.47,1.98
      c0.32,0.86,2.27,1.87,2.2,2.52c-0.07,0.65,0.36,1.8,0.94,1.48c0.58-0.32,1.01-1.44,1.3-1.55c0.29-0.11,1.05,0.9,1.44,1.3
      c0.4,0.4,3.71,3.03,3.82,3.14c0.11,0.11,0.43,0.36,0.72,0.4c0.29,0.04,0.66-1.15,1.87-1.15c0.3,0,0.61,0.07,0.91,0.18l1.92-1.16
      c0,0,1.16-0.29,1.19-0.42c0.03-0.13-1.01-2.2-1.01-2.2l0.03-2.04l1.91-0.56l2.33,0.19l1.61,1.64c0,0,1.03-0.45,1.16-0.58
      s1.53-1.72,1.53-1.72s0.4-0.5,0.71-0.5c0.32,0-0.82,2.14,0.53,1.8c1.35-0.34,2.88-1.8,2.88-1.8s1.32,0,2.04,0
      c0.71,0,1.4,0.93,1.96,0.87c0.56-0.05-0.95-1.35-0.85-1.59c0.11-0.24,0.74-1.03,0.74-1.03l2.04-0.98l1.98,1.19l1.61,1.48
      l0.69,0.58l-1.24,1.51c0,0-0.32,0.69,0.21,1.01c0.25,0.15,0.66,0.68,1.02,1.19c0,0,0,0,0,0c0.97-0.78,2.46-1.91,2.72-2.35
      c0.36-0.59,1.7-3.49,2.38-3.88c0.67-0.4,1.07-1.31,1.07-1.31s0.41-0.29,0.85-0.48c0.09-0.74,0.23-1.8,0.36-2.12
      c0.2-0.52,1.52-1.76,1.52-1.76l1-2.44c0,0-0.24-1.6,0-2.04c0.24-0.44,1-0.6,1-0.6S349.58,379.27,349.18,378.79z"/>
  </g>
  <g>
    <path id="North West"  data-info="<div><h3>North West</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M329.16,329.99l-0.38-1.71l-1.38,0.12l-0.8-0.5l-1.09-1.21l0.82-1.74l0.8-2.33l1.65-1.15l-0.27-0.88
      l-1.24-1.09l-2-3.42c0,0-1.91,0.03-2.21,0c-0.29-0.03-0.88-0.41-0.88-0.41l-0.94-2.12l-2.28-0.15c0,0,0.3-0.44,0.21-0.59
      c-0.09-0.15-1.89-1.03-3.03-2.92c-1.15-1.89,1.5-2.03,1.5-2.03s0.91-1.8,1.56-2.24c0.65-0.44,3.18-0.62,3.18-0.62l0.35-1.47
      c0,0-0.44-1.59-0.56-1.71c-0.12-0.12-0.71-0.77-0.71-0.77l0.94-1.09c0,0-0.21,0.12-0.38-0.91c-0.18-1.03,1.62-2.27,1.62-2.27
      l2.06-0.44l1.11-1.85l-1.32-1.58l-1.87-1.02l-1.29-1.75l0.2-1.11l-0.91-0.96l0.06-1.32l0.58-1.05l-0.56-3.16
      c0,0-1.7-1.49-1.99-1.49c-0.29,0-1.93,1.34-1.93,1.34s-1.55-0.47-1.96-0.67c-0.41-0.2-0.32-5.73-0.18-7.39
      c0.15-1.67,1.49-1.84,1.49-1.84s0.12-0.88-0.2-0.91c-0.32-0.03-1.52-1.61-1.52-1.61l-1.17-0.79l-2.4-2.16c0,0,0,0-0.01,0
      c-1.44,0.6-1.67,2.09-2.88,2.97c-1.21,0.88-1.76,2.41-1.76,2.41l-2.83-0.37l-0.19,1.9l-3.63,1.29c-0.05,0-0.13,0-0.21,0.01
      c0.23-0.01,0.37-0.01,0.37-0.01h2.68c0,0,0.99,0,0.21,1.22c-0.78,1.22-1.77,0.75-1.77,0.75s-1.77-0.42-2.4-0.71
      c-0.64-0.28-1.77,0.78-1.77,0.78s0.57,0.99,0.49,1.14c-0.07,0.15-0.64,0.63-1.55,0.06c-0.92-0.57-1.84,2.75-1.84,2.75
      s-0.42,1.98-0.71,2.9c-0.28,0.92-2.61,2.68-2.68,4.03c-0.07,1.34-2.83,5.79-2.83,5.79s3.46,4.87,3.96,5.44
      c0.49,0.57,2.05,2.33,1.91,4.38c-0.14,2.05,1.2,2.61,2.12,2.97c0.92,0.35,1.13,0.21,1.13,0.21s1.34-3.32,1.55-2.06
      c0.21,1.26-0.07,2.48-0.49,3.19s0.14,1.62,0.14,2.4c0,0.78,1.62,1.13,2.12,0.57c0.49-0.57,1.7-2.19,2.12-3.25
      c0.42-1.06,0.35-2.68,0.92-2.9c0.57-0.21,1.41,3.88,1.41,3.88s0.85-1.06,1.34-1.48c0.49-0.42,3.18-2.4,3.18-2.4
      s-0.57,1.62-1.13,2.19c-0.57,0.57,0.64,2.05,0.78,2.61c0.14,0.57-0.71,1.34-1.7,2.68c-0.99,1.34-1.2,1.77-1.2,1.77
      s1.84,0.28,1.91,0.49c0.07,0.21-0.49,1.77-1.48,2.54c-0.99,0.78-2.68,0.57-3.53,1.62c-0.85,1.06-0.21,3.74-0.42,5.79
      c-0.21,2.05,3.53,0.71,3.46,1.55c-0.07,0.85-5.16,5.86-5.23,6.71c-0.07,0.85,3.88,6.43,4.24,7.56c0.35,1.13,1.7,1.41,3.11,1.62
      c1.41,0.21,1.55-0.99,1.77-0.14c0.21,0.85-1.62,1.55-1.62,1.55s-1.84,0.14-2.26,0.07c-0.42-0.07-0.99-0.42-1.34-1.34
      c-0.35-0.92-2.12-4.1-2.12-4.1s-2.9,0.99-3.67,1.77c-0.78,0.78,1.91,2.75,2.47,4.03c0.19,0.44,0.21,0.74,0.15,0.96l0.3,0.29
      l1.64,0.48l0.64,0.64l0.44,0.8c0,0,0.8,1.36,0.6,2.12c-0.2,0.76-0.64,0.48-0.6,0.8c0.04,0.32,1,0.68,1,0.68l1.16,1.68
      c0,0,1.12,2.04,1.28,2.83c0.16,0.8,2.36,1.24,2.88,1.2c0.52-0.04,2.28,0.44,2.83,0.52c0.56,0.08,2.56,0.2,3.07,0
      c0.52-0.2,2.6-0.76,2.68-0.96c0.08-0.2-0.08-2.08,0.32-2.76s1.76-0.2,2.32-0.44c0.56-0.24,0.96-1.2,1.16-1.48
      c0.2-0.28,2.36-1.64,2.95-1.92c0.6-0.28,2.95-2.44,2.95-2.44l-0.2-5.47l0.91-5.74l1.94-0.59l0.35-1l-1.36-1.41L329.16,329.99z"/>
  </g>
  <g>
    <path id="North East"  data-info="<div><h3>North East</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5" d="M354.21,290.24c0,0-3,0.04-3.27-0.66c-0.27-0.71,0.49-1.19,0.53-1.77c0.04-0.57-1.28-1.28-2.83-3.4
      s-2.43-7.29-2.43-7.29s-0.31-1.94-0.75-2.83c-0.44-0.88-1.94-3.89-2.47-4.77c-0.53-0.88,0.09-3.18-0.27-4.55
      c-0.35-1.37-1.24-1.55-1.37-1.99c-0.13-0.44-0.49-9.37-0.49-10.16s-1.94-2.7-1.94-2.7l-2.47-1.24c0,0-2.3-2.21-3.58-3.8
      c-1.28-1.59-2.47-3.18-2.47-3.18l-0.21-0.29c-0.91,0.92-2.07,2.13-2.96,3.16c-1.72,1.99-2.55,2.64-3.15,3.39
      c-0.6,0.74-1.9,0.05-2.13,0.83c-0.23,0.79,3.2,4.78,3.57,6.17c0.37,1.39,0.51,1.44-1.58,2.09s-1.21,1.21-2.32,2.37
      c-1.11,1.16-0.74,0-2.09,0c-1.34,0-2.09,1.44-3.94,2.88c-1.85,1.44-1.11,2.23-1.21,2.74c-0.09,0.51-1.06,1.2-2.5,1.8l2.4,2.16
      l1.17,0.79c0,0,1.2,1.58,1.52,1.61c0.32,0.03,0.2,0.91,0.2,0.91s-1.34,0.18-1.49,1.84c-0.15,1.67-0.23,7.19,0.18,7.39
      c0.41,0.2,1.96,0.67,1.96,0.67s1.64-1.34,1.93-1.34c0.29,0,1.99,1.49,1.99,1.49l0.56,3.16l-0.58,1.05l-0.06,1.32l0.91,0.96
      l-0.2,1.11l1.29,1.75l1.87,1.02l1.32,1.58l-1.01,1.69l0.51,0.19l0.76-0.38l2.36-0.57c0,0,1.48,0.81,2.43,0.5
      c0.94-0.31,1.95-1.09,1.95-1.09l3.57-1.45l1.82,0.36c0,0,1.35,0.47,1.42,1.09c0.07,0.62,3.1,1.09,3.1,1.09l-0.27-1.09h3.23
      c0,0,0,0.39,0,0.73c0,0.34,1.48,0.4,1.75,0.34c0.27-0.07,1.62-1.48,1.62-1.48h4.85h4.78l1.45-2.2
      C359.3,291.35,354.21,290.24,354.21,290.24z"/>
  </g>
  <g>
    <path id="Northern Ireland"  data-info="<div><h3>Northern Ireland</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M233.74,285.71c0,0-4.07,2.47-3.89,3.24c0.18,0.77,0.59,1.71,0.59,1.71l2.42-2.47c0,0,2.47-0.47,3-0.53
      c0.53-0.06,1.71,0.47,2.36,0.53s1.65,1.12,1.65,1.12l0.59,3.48c0,0,1.12,2,1.18,2.65s-0.35,3.12-0.35,3.12l-1.3,2.42
      c0,0-0.41-3.06-0.29-3.59c0.12-0.53-0.41-2.95-0.41-2.95s-2-2.71-2.3-2.71s-1.47,0.71-1.47,0.71l1.41,2.42l-0.06,1.89l-1.47,3.3
      l-0.12,0.59c0,0,1.36-0.59,2.24-0.88c0.88-0.29,2,0.65,1.89,1.24c-0.12,0.59-1,2.65-1,2.65s-2,1.12-2.18,1.41
      c-0.18,0.29-3.77-0.35-3.77-0.35l-2.6,2.95l-0.47,3l-3.06,1.83l-3.3-1.59c0,0-4.18-1.3-4.42-1.18c-0.24,0.12-2.06,2.24-2.06,2.24
      l-3.48,0.53l-2.59-1.06c0,0,0.06-2.53,0-3.59c-0.06-1.06-2.53,0.47-3.12-0.94c-0.59-1.41-2.06-4.36-2.12-4.89
      c-0.06-0.53-1.71-3.24-3.06-3.18s-3,1.24-4.01,2.36c-1,1.12-0.41,1.6-0.65,2.8c-0.24,1.2-1.41,2.09-1.41,2.09
      s-0.41-0.12-0.77,1.59c-0.35,1.71-0.77,2.42-0.88,2.06c-0.12-0.35,0.18-3.12-0.77-1.65c-0.94,1.47-0.35,1.71-0.35,1.71
      s-2.77-0.94-3.48-0.88c-0.71,0.06-3.77,0-3.83-0.18c-0.06-0.18-1.83-2.47-2.18-2.42c-0.35,0.06-3.12,0-3.18-1.06
      c-0.06-1.06-0.59-2.18-0.59-2.18s-3.71-2.65-4.12-3.12c-0.41-0.47-3.83-2.77-3.3-3.59c0.53-0.82,2.83-0.53,3.95-2.36
      c1.12-1.83,2.18,0.82,3.77-0.53c1.59-1.36,3.89-2,4.07-2.95c0.18-0.94-4.71-1.49-4.71-3.07s0.82-1.7,1.41-1.7s0.47,0.94,2,0.59
      c1.53-0.35,3.54-1.71,4.65-1.41c1.12,0.29-0.06-1.12,1.94-2.89c2-1.77,2.83-5.48,2.83-5.48l0.65-3.36l5.72-0.65
      c0,0,2.47,0.53,3.06,0c0.59-0.53,2.89-4.3,2.65-5.18c-0.24-0.88,0.36,0.53,2.48,0.29c2.12-0.24,2.94-0.35,5.77-1.41
      c2.83-1.06,3.42-2.3,4.07-1.71c0.65,0.59,2.06,0.41,2.36,0.35c0.29-0.06,1.59,0.24,2.3,0.53c0.71,0.29,2.42,0.71,3.3,0.53
      c0.88-0.18,2.83,2.42,2.3,3.59c-0.53,1.18-1.24,1.41-0.18,2.12c1.06,0.71,2.3,1.24,2.18,1.65c-0.12,0.41-0.65,2,0.47,2.59
      c1.12,0.59,2.12,2.59,2.59,3.42c0.47,0.82,0.29,2.3,0.59,2.59c0.29,0.29,1.59,0.41,1.59,0.41s-0.65-2.12-0.47-2.3
      c0.18-0.18,1.18,0.88,1.41,1.36c0.24,0.47,0.65,1.18,0.12,2.36C234.98,284.88,233.74,285.71,233.74,285.71z"/>
  </g>
  <g>
  <path id="Yorkshire & Humberside"  data-info="<div><h3>Yorkshire & Humberside</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M385.28,329.35c-0.04-0.62-3.54-5.17-4.9-6.81c-1.37-1.63-3.8-5.61-4.42-8.71c-0.62-3.09,1.72-2.56,1.72-2.56
      s1.19-0.71,1.46-0.97c0.27-0.27-1.99-0.75-1.99-0.75l-2.3-1.68l-0.35-1.77c0,0-0.93-0.18-1.33-0.75c-0.4-0.57-2.25-2.52-3.98-6.54
      c-1.72-4.02-6.32-5.48-7.6-6.36c-0.18-0.13-0.44-0.24-0.44-0.24l-1.45,2.2h-4.78h-4.85c0,0-1.35,1.42-1.62,1.48
      c-0.27,0.07-1.75,0-1.75-0.34c0-0.34,0-0.73,0-0.73h-3.23l0.27,1.09c0,0-3.03-0.46-3.1-1.09c-0.07-0.62-1.42-1.09-1.42-1.09
      l-1.82-0.36l-3.57,1.45c0,0-1.01,0.77-1.95,1.09c-0.94,0.31-2.43-0.5-2.43-0.5l-2.36,0.57l-0.76,0.38l-0.51-0.19l-0.09,0.16
      l-2.06,0.44c0,0-1.8,1.24-1.62,2.27c0.18,1.03,0.38,0.91,0.38,0.91l-0.94,1.09c0,0,0.59,0.65,0.71,0.77
      c0.12,0.12,0.56,1.71,0.56,1.71l-0.35,1.47c0,0-2.53,0.18-3.18,0.62c-0.65,0.44-1.56,2.24-1.56,2.24s-2.65,0.15-1.5,2.03
      c1.15,1.89,2.95,2.77,3.03,2.92c0.09,0.15-0.21,0.59-0.21,0.59l2.28,0.15l0.94,2.12c0,0,0.59,0.38,0.88,0.41
      c0.29,0.03,2.21,0,2.21,0l2,3.42l1.24,1.09l0.27,0.88l-1.65,1.15l-0.8,2.33l-0.82,1.74l1.09,1.21l0.8,0.5l1.38-0.12l0.38,1.71
      l2.27,2.68l1.24,1.29l1.18,0.32l1.41,1.25l1.3,2.72l1.79,1.9l1.15,1.47l1.4,1.68c0,0,1.85,0.76,2.88,0s2.39-0.54,2.39-0.54
      l1.68,0.38c0,0,1.03,0.4,1.58,0.5c0.54,0.1,1.47,0,1.47,0l1.36-0.77c0,0-0.92-2.72,0.98-3.42c1.9-0.71,2.77-0.98,2.77-0.98
      s1.3-3.1,1.74-2.93c0.43,0.16,0.65,1.74,1.68,1.74s2.93-0.65,2.99-1.14c0.05-0.49-0.43-1.09,0.71-1.14
      c1.14-0.05,2.61,0.11,2.5,1.09c-0.11,0.98,0.81,1.41,2.23,0.81c1.41-0.6,2.34-1.74,2.82-2.01c0.49-0.27,1.03-0.43,1.03-0.43
      s-2.61-0.65-2.17-1.2c0.43-0.54,1.58-0.22,2.17-0.43c0.6-0.22,1.3,0.71,2.01,0c0.71-0.71,0.33-1.9,1.09-1.3s1.2,0.98,1.52,1.63
      c0.33,0.65-0.38,2.06,0,2.72c0.38,0.65,0.6,1.31,1.09,1.66c0.49,0.35,0.92,0.52,1.25,0.46c0.33-0.05,1.25-0.46,1.25-0.46
      s-0.81-1.55,0.22-2.42c0.77-0.65,1.59-0.48,2.01-1.25c-1.78-1.65-6.27-5.06-6.67-5.46c-0.49-0.49-1.86-1.46-1.86-1.46l-2.08,0.18
      l-2.74,0.35l-1.37-0.53l-4.37,0.35c0,0,0.75-1.15,0.93-1.28c0.18-0.13,2.7-0.4,2.7-0.4l1.02,0.57c0,0,2.87-0.31,2.96-0.49
      c0.09-0.18,2.17-0.31,4.6-0.27c2.43,0.04,1.86,2.03,2.17,3.09c0.31,1.06,2.83,1.24,3.05,1.41c0.22,0.18,1.24-0.57,1.24-0.57
      s0.66,0.35,0.8,0.35c0.13,0,2.17,0.4,2.17,0.4s0.18,1.68,0.35,1.46C385.19,331.34,385.32,329.97,385.28,329.35z"/>
  </g>
  <g>
    <path id="East Midlands"  data-info="<div><h3>East Midlands</h3></div><div>No locations. Please check back.</div>" fill="#d3d3d3" stroke="#ffffff" stroke-width="0.5"  d="M380.12,335.09c-1.03,0.87-0.22,2.42-0.22,2.42s-0.92,0.41-1.25,0.46c-0.33,0.05-0.76-0.11-1.25-0.46
      c-0.49-0.35-0.71-1.01-1.09-1.66c-0.38-0.65,0.33-2.06,0-2.72c-0.33-0.65-0.76-1.03-1.52-1.63s-0.38,0.6-1.09,1.3
      c-0.71,0.71-1.41-0.22-2.01,0c-0.6,0.22-1.74-0.11-2.17,0.43c-0.43,0.54,2.17,1.2,2.17,1.2s-0.54,0.16-1.03,0.43
      c-0.49,0.27-1.41,1.41-2.82,2.01c-1.41,0.6-2.34,0.16-2.23-0.81c0.11-0.98-1.36-1.14-2.5-1.09c-1.14,0.05-0.65,0.65-0.71,1.14
      c-0.05,0.49-1.96,1.14-2.99,1.14s-1.25-1.58-1.68-1.74c-0.43-0.16-1.74,2.93-1.74,2.93s-0.87,0.27-2.77,0.98
      c-1.9,0.71-0.98,3.42-0.98,3.42l-1.36,0.77c0,0-0.92,0.1-1.47,0c-0.54-0.1-1.58-0.5-1.58-0.5l-1.68-0.38c0,0-1.36-0.22-2.39,0.54
      s-2.88,0-2.88,0l-1.4-1.68l-1.15-1.47l-1.79-1.9l-1.3-2.72l-1.41-1.25l-1.18-0.32l0.12,0.13l-0.35,1l-1.94,0.59l-0.91,5.74
      l0.2,5.37c0.85,0.4,1.55,0.8,1.68,1.06c0.36,0.72,2.56,0.92,2.99,1.72c0.44,0.8,0.68,0.76,0.64,2.04
      c-0.04,1.28,0.56,2.76,0.88,3.15c0.32,0.4-0.48,1.44-0.48,1.44s-0.52,0.44-1.76,2.28c-1.24,1.84-0.44,2.08-0.44,2.08
      s1.88,0.52,1.96,0.72c0.08,0.2,2.12,0.56,3.63,0.84c1.52,0.28,0.52,0.24,0.62,1.08c0.1,0.84-1.54,2.2-1.54,2.2s-0.56,0.52-0.4,2
      c0.16,1.48,3.07,1.36,3.07,1.36s0.8,3.35,0.76,4.35c-0.04,1,5.11,3.83,5.11,3.83s2.28,1.4,2.68,1.88c0.4,0.48,1.44,3.75,1.44,3.75
      s-0.76,0.16-1,0.6c-0.24,0.44,0,2.04,0,2.04l-1,2.44c0,0-1.32,1.24-1.52,1.76c-0.13,0.33-0.27,1.39-0.36,2.12l0,0
      c0.35-0.15,0.72-0.25,0.93-0.07c0.48,0.4,1.15,1.15,1.15,1.15l-1.15,4.6c0,0,2.58,0.32,3.53,0.24c0.95-0.08,1.74-1.23,1.74-1.23
      l3.33-1.9l2.18,1.27c0,0,0.36,0.11,0.74,0.37l0.74-2.27l-1.41-1.71c0,0,1.94,0.49,2.71-0.61c0.77-1.1,3.77-2.69,3.77-2.69l1.77-1
      l-0.71-1.53l2.24,0.35l1.06-1.89l0.71-0.29l-0.29-1.65l-0.29-1l2.83-2.11c0,0,0.88-2.49,0.24-3.25c-0.65-0.77-1.24-2-1.24-2
      s1.12,2,3,1.47c1.89-0.53,2.06-1.77,2.06-1.77l3.48-1.36l1-2.12h1.65l0.94-2.36l1.36-1.24c0,0,2,1,2.65,0
      c0.65-1,1.41-2.18,1.41-2.18v-0.96c-0.1,0.03-0.17,0.05-0.17,0.05s-0.78-0.61-1.39-1.72c-0.62-1.1-2.17-2.03-3.23-2.12
      c-1.06-0.09-1.86,1.28-2.3-0.35c-0.44-1.64,2.25-1.86,3.8-4.24s4.51-3.71,4.73-5.44c0.22-1.72-0.49-4.33-1.63-7.56
      c-1.15-3.23-1.99-2.47-2.83-4.46c-0.84-1.99-2.61-2.47-3-3.31c-0.07-0.15-0.33-0.42-0.71-0.77
      C381.72,334.6,380.89,334.44,380.12,335.09z"/>
  </g>
</g>
</svg>

<style>
.map-link .st0 {
  transition: 0.5s;
  z-index:9999;
}

.map-link:hover .st0 {
  fill: #000E2F;
  transition: 0.5s;
  z-index:9999;
}
.map-link:hover .st1 {
  fill: #000E2F;
  transition: 0.5s;
}
.map-link:hover .st2 {
  fill: #000E2F;
  transition: 0.5s;
}
.map-link:hover .st3 {
  fill: #000E2F;
  transition: 0.5s;
}

/* Text Labels */

.labels {
    fill: #fff;
    font-family: Arial;
    font-size: 6px;
    line-height: 12px;
    font-weight: normal;
    z-index: 1;
    display: block;
}

body {
  background: #fffff;
  font-family: 'helvetica', sans-serif;
  color: black;
}

svg {
  width: 100%;
}

circle {
  opacity: 0;
  fill: #404a54;

}
path:hover, circle:hover {
  stroke: #a9d0b5 !important;
  stroke-width:2px;
  stroke-linejoin: round;
  fill: #a9d0b5 !important;
  cursor: pointer;
}
.province {
  stroke-width: 2px;
  stroke: #fffff;
  background: #d3d3d3;
}

#info-box {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  background-color: #ffffff;
  border: 2px solid #D3D3D3;
  border-radius: 5px;
  padding: 5px;
  font-family: arial;

}
#uk-map {
  display: block;
  width: 1280px;
  height: auto;
}


</style>

<script>

HTML CSS JSResult Skip Results Iframe
$("path, circle").hover(function(e) {
  $('#info-box').css('display','block');
  $('#info-box').html($(this).data('info'));
});

$("path, circle").mouseleave(function(e) {
  $('#info-box').css('display','none');
});

$(document).mousemove(function(e) {
  $('#info-box').css('top',e.pageY-$('#info-box').height()-45);
  $('#info-box').css('left',e.pageX-($('#info-box').width())/2);
}).mouseover();

var ios = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if(ios) {
  $('a').on('click touchend', function() { 
    var link = $(this).attr('href');   
    window.open(link,'_blank');
    return false;
  });
}

</script>

 

Try this new code

<script src="https://www.amcharts.com/lib/4/core.js"></script>
<script src="https://www.amcharts.com/lib/4/maps.js"></script>
<script src="https://www.amcharts.com/lib/4/geodata/ukLow.js"></script>
<div id="chartdiv"></div>

<style>
  #chartdiv {
  width: 100%;
  height: 300px;
}
</style>
<script>
  // Create map instance
let map = am4core.create("chartdiv", am4maps.MapChart);

// Pull in UK map
map.geodata = am4geodata_ukLow;

// Set projection
map.projection = new am4maps.projections.Mercator();

// Create shapes
let polygonSeries = map.series.push(new am4maps.MapPolygonSeries());
polygonSeries.useGeodata = true;

// Exclude Isle of Man, Guernsey, Jersey and Ireland
polygonSeries.exclude = ["GG", "JE", "IM", "IE"];

//Push color to template based on list of regions

// Configure series
let polygonTemplate = polygonSeries.mapPolygons.template;
polygonTemplate.tooltipText = "{name}";
polygonTemplate.fill = am4core.color("#404040");

// Create hover state and set alternative fill color
let hs = polygonTemplate.states.create("hover");
hs.properties.fill = am4core.color("#404040").lighten(0.3);
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...
On 1/19/2022 at 4:49 AM, hawksox said:

Hey @tuanphan, would love your help with this link. Much appreciated..

You can use these zips as a test 90210, 92697, 92679

https://codepen.io/prasanthmj/pen/mdVXbmz

Also, would love to know how you do this.

THANK YOU!

 

Add a Code Block >> paste this code

<input type="text" id="zipCode" placeholder="ZIP code" onKeyUp="validateZip()"/>
<div id="msg"></div>
<style>
  div#msg{
  font-size:0.8rem;
  margin-top:0.9rem;
}
</style>
<script>
  function checkIfAvailable(zip)
{
  let zones = ["46001","46002","46003","46102","46202"]
  return( zones.indexOf(zip) >= 0 )
}

function validateZip()
{
  let zip = document.getElementById("zipCode").value;
  let msg =""
  if(checkIfAvailable(zip))
    {
      msg="Our service is available in this area!";
    }
   else
     {
       msg="Sorry; our service is not available in this area";
     }
    document.getElementById("msg").innerHTML = msg;
}
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.