* {
    margin: 0;
    padding: 0;
}

body {
  overflow: hidden;
}

.main_wrapper {
    width: 100%;
    height: 54.5625rem;
    display: flex;
}


.legend {
    font-family: Roboto;
    color: #003865;
    font-size: 14px;
}

.legend_link {
    margin-top: 6px;
}

.legend_link:hover {
    color: green;
}

.legend_line {
    display: flex;
}

.mark_circle_number {
    display: flex;
    width: 24px;
    height: 24px;
    margin-left: 28px;
    
    background-color: #003865;
    border-radius: 24px;
    color: white;

    justify-content: center;
    text-align: center;
    align-items: center;
}

.legend_object_name {
    line-height: 24px;
    margin-left: 10px;
}

.sub_point_legend_line {
    padding-left: 62px;
    list-style: none;
    line-height: 24px;

}

.legend  ul  {
    margin-left: 20px;
}

.legend_dashed_separator {
    width:100%;
    height: 1px;
    border-top: 1px dashed #D0D0CE;

    margin-top: 34px;
}

.legend_group_headline {
    margin-top: 37px;
    margin-left: 28px;
    margin-bottom: 16px;
    font-size: 22px;
    letter-spacing: 1px;

    list-style: none;
    font-family: Century Old Style Std;
    text-transform: uppercase;
}

#map_container {
  position: relative;
  width: 80%;
  float: right;
}

#svg-map {
    width: auto;
    height: auto;
}

#legend_container {
    width: 20%;
    height: 100%;
    overflow-y: scroll;
}

.img_title {
    display: table;
    background: #888888;
    position: absolute;
}

#hover-text {
    font-size: 18px;
    font-family: Roboto;
    color: white;
    display: block;
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: rgb(61, 73, 96);
    z-index: 999;
}

.burger {
	padding: 10px 15px;
	display: none;
  cursor: pointer;
  z-index: 999;
}

@media screen and (max-width: 1024px) {
    #legend_container {
        display: none;
        position: absolute;
        z-index: 99;
        width: 30%;
    }
    #map_container {
        position: absolute;
        right: 0;
        width: 100%;
    }

    .legend {
      background: #FFFFFF;
      position: absolute; 
    }

    .burger {
      display: inline-block;
    }
}

@media screen and (max-width: 530px) {
  #legend_container {
      display: none;
      width: 100%;
  }
  .legend {
    width: 100%;
    background: #FFFFFF;
    position: absolute;
  }

  .burger {
    display: inline-block;
  }
}

.sk-chase {
  width: 40px;
  height: 40px;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0; 
  animation: sk-chase-dot 2.0s infinite ease-in-out both; 
}

.sk-chase-dot:before {
  content: '';
  display: block;
  width: 25%;
  height: 25%;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
}

.sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }

@keyframes sk-chase {
  100% { transform: rotate(360deg); } 
}

@keyframes sk-chase-dot {
  80%, 100% { transform: rotate(360deg); } 
}

@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4); 
  } 100%, 0% {
    transform: scale(1.0); 
  } 
}

.spinner {
  position: absolute;
  top: 48%;
  left: 48%;
}

.spinner-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #003865;
  z-index: 999999;
}