@mapHeight: 70vh;

#csepopup {
  width: 300px;
  padding: 10px 0;
  border-bottom: 6px solid #005c96;
  background-color: white;

  .close {
    position: relative;
    top: -8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: right;
  }

  a.dbitem {
    font-size: 14px;
    text-decoration: none;
  }

  p {
    padding: 0 10px;
    font-size: 13px;

    a {
      text-decoration: underline;
    }
  }

  span.blue {
    color: #069;
  }

  span.img {
    display: block;
    margin-bottom: 10px;
    background-color: #ddd;

    img {
      max-height: 130px;
    }
  }
}

.section-case-study-explorer #popup-overlay {
  width: 300px;
  padding: 0;
  background-color: #fff;
}

.casestudy-explorer-map {
  min-height: @mapHeight;

  .ol-map {
    min-height: @mapHeight;
  }

  .casestudy-filters {
    display: flex;
    min-height: @mapHeight;
    flex-direction: column;
  }

  #cse-filter {
    h4 {
      font-size: 16px;
    }

    .ui.accordion {
      .content {
        overflow: auto;
        max-height: 400px;

        .subcategory {
          margin-bottom: 20px;
        }
      }
    }

    button.reset {
      margin-top: 20px;
    }

    .ui.checkbox {
      width: 100%;
    }

    .case-study-legend {
      padding-top: 20px;
      margin-top: auto;

      .case-study-dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-top: 3px;
        margin-right: 5px;
        background-color: #005c96 !important;
        background-color: #bbb;
      }
    }
  }
}
