.main_office_wrap,
.led_factories_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 3rem;
}
.main_office,
.led_factory {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 50%;
}
.main_office p {
    font-size: 14px;
}
.led_factory h4 {
    color: #183B67;
}
.location_title {
    font-weight: 400;
    font-size: 14px;
}
.led_factory p {
    margin: 0 0 16px;
    font-size: 14px;
}
.map .map-wrapper .legend {
    position: absolute;
    bottom: .75rem;
    left: 1rem;
}
#details_wrap {
    width: 20%;
    height: 100%;
    padding: 1rem;
    background: #f1f1f1;
    position: absolute;
    top: 0;right: 0;
}
#details_wrap h3 {
    font-weight: 600;
    font-size: 1rem;
    color: #0a0a0a;
}
#details_wrap  h3.details_title {
    color: #005e9d
}
#details_wrap h4 {
    font-weight: 400;
    color: #333;
    font-size: 14px;
    margin-bottom: 0;
}
#details_wrap,
#details_wrap p {
    font-size: 14px;
    margin-top: 0;
}
#details_wrap a.close_details{
    float:right;
    margin-top: -10px;
    margin-right: -10px;
    cursor:pointer;
    color: #fff;
    border-radius: 50%;
    background: #005e9d;
    font-size: 20px;
    display: inline-block;
    line-height: 0px;
    padding: 11px 5px;       
}
#details_wrap a.close_detail:hover {
    background: #071945;
}
#details_wrap a.close_details:before {
    content: "×";
}
#details_content {
    height: inherit;
    max-height: 90%;
    overflow-y: auto;
}
#mapdiv {
    width: 80%; 
    /*height: 450px;*/
    aspect-ratio: 2/1;
}
.contact-bodywrap h3 {
    font-size: 1rem
}
/* Customize the label (the container) */
.map-wrapper label.container {
  display: block;
  position: relative;
  padding-left: 18px;
  /*margin-bottom: 5px;*/
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.map-wrapper label.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.map-wrapper label.container .checkmark {
    position: absolute;
    bottom: 6px;
    left: 0px;
    height: 14px;
    width: 14px;
    background-color: #eee;
    border: 1px solid #0398FC;
    border-radius: 50%;
}

.map-wrapper label.container:hover input ~ .checkmark {
  background-color: #ccc;
}

.map-wrapper label.container input:checked ~ .checkmark {
  background-color: #0398FC;
}

/* Create the checkmark/indicator (hidden when not checked) */
.map-wrapper label.container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.map-wrapper label.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.map-wrapper label.container .checkmark:after {
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*@media (max-width: 1080px) {
    .map-wrapper label.container {
        font-size: 14px;
        padding-left: 20px;
        margin-bottom: 0px;
        display: inline-block;
        margin-right: 10px;
    }
    .map-wrapper label.container .checkmark {
        width: 14px; height: 14px;
    }
    .map-wrapper label.container .checkmark::after {
        left: 5px;
        top: 1px;
    }
}*/
@media (max-width: 786px) {
    #mapdiv {
        width: 100%
    }
    #details_wrap {
        position: relative;
        width: 100%;
    }
    .map .map-wrapper .legend {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
    }
    .map-wrapper label.container {
        margin-right: 10px;
        margin-bottom: 0px;
        display: inline-block;
    }
    .main_office,
    .led_factory {
        flex: 100%;
    }
}