/**************************\
  Basic Modal Styles
\**************************/

.modal {
  font-family: 'Montserrat', sans-serif;
}

.modal__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  z-index: 1;
}

.modal__container {
  width: 100%;
  background: #d0e4f7 url(4fc2eaa69d3fb73def394ec678194677.png) center repeat-y;
  background-size: 150% auto;
  padding: 5px 10px;
  max-width: 500px;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  float: right;
  width: 35px;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before { 
  content: "\2715";
  font-size: 1.5rem;
  color: #002d56;
  cursor: pointer;
}

.modal__content {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: #002d56;
  letter-spacing: -0.5px;
}

.modal__content__image {
  display: none;
  margin: -45px auto 0;
}

.modal__content__name {
  margin-top: 0;
  margin-right: 40px;
  font-size: 1rem;
  font-weight: 700;
}

.modal__content__divider {
  display: none;
  text-align: center;
}

.modal__content__divider img {
  width: 40%;
}

.modal__content__info {
  padding: 0;
  font-size: 1rem;
}


/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none !important;
}

.micromodal-slide.is-open {
  display: block !important;
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container {
  will-change: transform;
}

@media (min-width: 479px) {
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
  }

  .modal__container {
    width: auto;
    padding: 20px 30px 30px;
    border-radius: 4px;
  }

  .modal__header {
    float: none;
    width: 100%;
  }

  .modal__header .modal__close:before { 
    font-size: 2rem;
  }

  .modal__content {
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .modal__content__image {
    display: block;
  }

  .modal__content__name {
    margin-right: 0;
    font-size: 1.9rem;
    text-align: center;
  }

  .modal__content__divider {
    display: block;
  }

  .modal__content__info {
    padding: 10px 50px 0;
    font-size: 1.25rem;
  }

  .micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }

  .micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }

  .micromodal-slide .modal__overlay {
    will-change: transform;
  }
}html {
	/* fix for IE */
	height: 100%;
	max-height: 1044px;
}

body {
	position: relative;
	margin: 0;
	/* fix for IE */
	height: 100%;
	max-height: 1044px;
}

svg {
	background: url(a1383b4f048bd734eb1d646e52aaca52.png) center repeat-y;
	background-size: 150% auto;
}

.legend {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

.legend__title {
	font-size: 1.75rem;
}

.node circle {
  stroke: #fc0;
  stroke-width: 4px;
  cursor: pointer;
  transition: all 200ms;
}

.node circle.active, .node circle:hover {
	transform: scale(1.1);
	-webkit-filter: url(#glowing);
	        filter: url(#glowing);
}

.node text .name, .node text .name--short {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

.node text .name {
	display: none;
	font-size: 13px;
}

.node text .name--short {
	font-size: 18px;
}

.node text .info {
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
}

.link {
  fill-opacity: 0;
  stroke: #fff;
  stroke-width: 2px;
}

.partner {
  fill-opacity: 0;
  stroke: #fff;
  stroke-width: 2px;
}

.copyright {
	display: block !important;
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8rem;
	color: #fff;
}

@media (min-width: 400px) {
	svg {
		background-size: 100% auto;
	}

	.legend__instruction {
		font-weight: 400;
	}

	.node text .name {
		display: block;
	}

	.node text .name--short {
		display: none;
	}

	.node text .info {
		font-size: 13px;
	}

	#link-15, #link-16, #link-17 {
		transform: translateX(15px);
	}

	#link-18, #link-19 {
		transform: translateX(-10px);
	}
}