/* Project teaser
-------------------------------------------------- */
.projectlist {
    list-style: none;
    font-size: .9em;
    margin-left: -1em;
    padding-right: 1em;
  }
  .projectlist li hr {
      width: 100vw; 
      margin-left: -50vw;
      left: 8%; 
      border: 1px solid #ddd; 
      margin: 20px 0;
  }
  .projectlist li {
    clear: both;
  }
  .projectlist li.head .picture {
      visibility: hidden;
  }
  .projectlist li.head * {
    border-bottom: 1px solid #786e64;
  }
  
  .projectlist div {
      float: left;
      margin-bottom: 1em;
      margin-right: 1%;
  }
  .projectlist .picture {
       width: 9%;
  }
  .projectlist .name {
      width: 59%; 
  }
  .projectlist .contact {
      display: none; 
  }
  .projectlist .location {
      display: none;
  }
  @media screen and (min-width: 40em) {
      .projectlist .picture {
          width: 9%;
      }
      .projectlist .name {
          width: 59%; 
      }
      .projectlist .contact {
          display: block;
          width: 29%; 
      }
  }
  @media screen and (min-width: 60em) {
      .projectlist .picture {
           width: 9%;
      }
      .projectlist .name {
          width: 59%; 
      }
      .projectlist .contact {
          width: 19%; 
      }
      .projectlist .location {
          display: block;
          width: 8%; 
      }
  }
  
  .location p{
      margin-left: 0em;
  }
  
  .image-container {
      width: 9%;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: white;
      overflow: hidden;
      position: relative;
      padding-top: 5%;
      height: 0;
      }
    
    .image-container img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
        
    }
  
    .image-container a {
      border-bottom: 0px;
    }
  
  
  
  /* Next/Prev nav
  -------------------------------------------------- */
  .nextprev {
    padding: 1em 0;
  }
  .nextprev a {
    border: 0;
  }
  .nextprev .prev {
    float: left;
  }
  .nextprev .next {
    float: right;
  }