.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* Space out content a bit */
body {
  /* font-family: 'Work Sans' !important; */
  width: 100%;
}

body * {
  /* font-family: 'Work Sans' !important; */
}

.map_container_div {
  display: flex;
  min-height: 100%;
}

#map {
  height: auto;
  display: inline-block;
  background: #f5f6f7 !important;
  flex-grow: 1;
}

.sidepanel_content,
.main_statistics_content,
.map_layer_toggle_content {
  display: none;
}

.hidden_content {
  display: none;
}

.sidepanel,
.sidepanel_content {
  display: inline-block;
  z-index: 1200;
  box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0), 0px 4px 24px rgba(15, 23, 27, 0.2);
}

h1,
h2,
h3 {
  color: #1b0757 !important;
}

h1 {
  line-height: 3.4rem !important;
  font-size: 2.6rem !important;
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600 !important;
  margin-top: 0px !important;
}

h2 {
  font-size: 1.8rem !important;
  line-height: 2.4rem !important;
}

h3 {
  font-size: 1.15rem !important;
  line-height: 1.7rem !important;
}

p {
  line-height: 1.2rem !important;
  font-size: 0.9rem !important;
  font-style: normal;
}

.default.text {
  color: #7a8b93 !important;
}

.infographic_text {
  font-size: 1.8rem !important;
  line-height: 2.7rem !important;
  color: #1b0757 !important;
  font-weight: 900;
  margin-bottom: 0rem !important;
  margin-top: 1.2rem !important;
}

.quick_map_link_title,
.comparison_card p {
  font-size: 0.85rem !important;
  line-height: 1.2rem !important;
}

.quick_map_link_title {
  color: #1b0757 !important;
}

h2 {
  font-weight: 600 !important;
}

.personas,
.asset_classes {
  display: none;
}

.comparison_02_statistics_container .personas {
  display: flex;
}

.comparison_02_statistics_container .sidebar_statistic_container {
  flex-direction: row-reverse;
}

.comparison_02_statistics_container .sidepanel_subheading {
  display: none;
}

.main_statistics_container .personas {
  display: block;
}

.comparison_container {
  display: none;
}

.main_statistics_container {
  padding-bottom: 20px;
  padding-top: 0px;
  border-bottom: solid 1px #ebedee;
}

.personas_selection_container,
.asset_classes_selection_container {
  padding-bottom: 20px;
  padding-top: 20px;
  border-bottom: solid 1px #ebedee;
}

.asset_classes_selection_container {
  display: none;
}

.sidebar_statistic_container {
  align-items: center;
  display: none;
  justify-content: space-between;
}

.sidebar_statistic_container h3 {
  margin-top: 0px !important;
  font-weight: 400;
  font-size: 0.85rem !important;
}

.main_statistics_container {
  flex-direction: column;
}

.comparison_container {
  flex-direction: column;
}

.comparison_container > .country_name {
  display: none !important;
}

.no_interaction {
  cursor: auto;
  pointer-events: none !important;
}

.no_interaction:hover {
  fill: #c4dfec !important;
}

.no_events {
  pointer-events: none !important;
  fill: transparent !important;
}

.comparison_card .infographic_text {
  margin-top: 0px !important;
}

.comparison_card .country_name {
  margin-bottom: 0px;
}

.inline {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.btn,
.toggle {
  border-radius: 0px;
}

.toggle {
  padding: 0.5rem 0;
  display: inline-block;
  border-bottom: 1px solid #ebedee;
  margin-left: -4px;
  width: 50%;
  color: #1b0757 !important;
}

.toggle.active {
  background-color: white !important;
  border-bottom: 3px solid #d10077 !important;
}

.toggle.active > h3 {
  color: #0084c0;
}

.toggle > h3 {
  font-weight: 600;
  text-align: center;
}

.btn {
  display: block;
  width: 100%;
  text-align: left;
}

.ui.radio.checkbox.checked label:before {
  border: #1b0757 solid 5px !important;
  opacity: 1;
}

.ui.radio.checkbox.checked label:after,
.ui.radio.checkbox.checked label:before,
.ui.radio.checkbox label:after {
  background-color: transparent !important;
}

.interactive {
  cursor: pointer;
}

.checkbox {
  padding: 0px;
}

.ui.checkbox label {
  margin-bottom: 20px;
  color: #1b0757 !important;
}

.ui.btn.checkbox label:before,
.ui.btn.checkbox label:after {
  top: 0 !important;
}

.selection_buttons_container > .btn {
  height: 25px !important;
}

.ui.btn.checkbox input:checked ~ label:after {
  background-color: #0084c0;
  color: white !important;
}

.radio.checkbox {
  width: 100%;
}

.sidepanel {
  width: 22.5%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  transition: all 1s ease;
  min-height: 100%;
  height: auto;
  background: white;
  padding: 40px;
  margin-right: 0px !important;
  margin-top: 0px !important;
  transition: width 1s ease;
}

.sidebar_content {
  height: 100%;
}

.comparison_section {
  flex-grow: 1;
}

.comparison_section_container {
  width: 100%;
  margin-right: 10px;
  display: inline-block;
  vertical-align: top;
}

.comparison_card {
  background: white;
  box-shadow: 0px 1px 8px rgba(15, 23, 27, 0.2);
  border-radius: 4px;
  padding: 1rem;
  margin-top: 10px;
  position: relative;
}

.comparison_card h1 {
  font-size: 1.15rem !important;
  margin-top: 0px;
}

.comparison_card .country_name {
  margin-bottom: 0.2rem;
  line-height: 1.6rem !important;
  width: 90%;
}

.bin_icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 16px;
  height: 16px;
}

i.icon.delete:before {
  content: '' !important;
}

.comparison_section_container > .dropdown_container {
  width: 100%;
  margin: 0px !important;
}

.map_icon {
  border-radius: 25px;
  width: 32px;
  height: 32px;
  font-size: 32px !important;
  text-align: center;
  padding-top: 2px;
  color: #19262c;
  cursor: pointer;
}

.quick_map_link {
  color: #1b0757 !important;
  font-weight: 600 !important;
  margin: 1rem 0 !important;
}

.float_bottom {
  margin-top: auto;
}

.quick_map_link:hover {
  text-decoration: underline;
}

.quick_map_link:last-child {
  margin-bottom: 3rem;
}

.leaflet-container {
  background: #ffffff !important;
}

.leaflet-top.leaflet-right,
.leaflet-top.leaflet-left {
  width: 100%;
  height: 100%;
}

.leaflet-bottom.leaflet-right {
  right: 0;
}

.leaflet-control-attribution {
  display: none;
}

.leaflet-bar {
  border: 0px !important;
}

.leaflet-bar a {
  background-color: #f7f7f7;
}

.leaflet-interactive {
  transition: fill 0.3s ease;
}

.leaflet-interactive:hover {
  fill: #5252cb;
}

.leaflet-popup {
  pointer-events: none;
}

.leaflet-popup-content-wrapper {
  opacity: 1;
  color: black;
}

.leaflet-popup-close-button {
  display: none;
}

.leaflet-top .leaflet-control {
  margin-top: 32px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 32px;
}

.leaflet-left .leaflet-control {
  margin-left: 32px;
}

.leaflet-right .leaflet-control {
  margin-right: 32px;
}

.map_breadcrumb {
  display: inline-block !important;
  width: auto;
  background-color: white;
  box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0), 0px 4px 24px rgba(15, 23, 27, 0.2);
  padding: 8px !important;
  border-radius: 4px !important;
  min-width: auto !important;
  height: auto !important;
}

.sidepanel {
  height: auto;
  background: white;
  padding: 40px;
  margin-right: 0px !important;
  margin-top: 0px !important;
  transition: width 1s ease;
}

.selection_area_content {
  background: white;
  margin-left: 0px !important;
  margin-top: 0px !important;
}

.sidePanelTitle {
  margin-bottom: 24px !important;
}

.layer_toggle {
  position: absolute;
  background: #f7f7f7;
  left: 35%;
  top: 0;
}

.layer_toggle * {
  display: inline-block;
}

.refresh_button {
  position: absolute;
  top: 0;
  right: 0;
}

.preqin_map_container {
  padding: 40px;
}

.dropdown_container {
  margin-bottom: 1.25rem;
}

.comparison_dropdown_container {
  background-color: #a9bfc9;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  flex: 1;
}

.country_dropdown_container {
  display: inline-block;
}

.ui.dropdown {
  margin-bottom: 1rem;
  width: 90%;
  background-color: #f9f8f7 !important;
  border: none !important;
}

.ui.dropdown > .dropdown.icon:before {
  content: '' !important;
}

.map_panel_header {
  margin-bottom: 1rem;
}

.map_panel_subheader {
  margin: 24px 0 !important;
}

.sidepanel .map_panel_header {
  margin-bottom: 0px !important;
}

.map_panel_header,
.map_panel_header_container {
  color: #000;
}

.close_sidepanel {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.map_panel_header_secondary {
  color: black;
  padding-bottom: 0px !important;
  margin-bottom: 0.25rem !important;
}

.map_subheading {
  margin-top: 1rem;
}

.sidepanel_subheading {
  margin: 12px 0 !important;
  line-height: 26px !important;
}

.ui.dropdown .menu > .item,
.ui.dropdown .menu .selected.item,
.ui.search.dropdown > .text {
  color: #1b0757 !important;
}

.ui.dropdown .menu {
  background: #f9f8f7 !important;
}

@media only screen and (max-width: 1200px) {
  .sidepanel {
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 1023px) {
  .map_container_div {
    flex-direction: column;
    height: auto;
  }
  #map,
  .selection_area_content {
    width: 100%;
  }
  #map {
    height: 80vh;
  }
  .mobile_hidden {
    display: none;
  }
  .sidepanel {
    min-height: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
  }
  .dropdown_container {
    margin-bottom: 0px;
  }
  .ui.fluid.dropdown {
    margin-bottom: 0px;
  }
  .preqin_logo {
    margin-top: 20px;
    top: 2rem !important;
    right: 2rem !important;
    left: auto !important;
    display: none !important;
  }
}
