.thumbnail-wrap {
    max-width: 300px;
    margin: 0 auto;
}

.thumbnail-block {
    min-height: 440px;
}

.thumb-subtitle {
    max-height: 60px;
    display: block;
    padding: 0 5px;
}
/*
.thumbnail-block {
    border: 1px solid #bebebe;
}
*/
.thumbnail-block-img {
    min-height: 250px;
    max-width: 250px;
    margin: 0 auto;
}

.thumbnail-block-body {
    text-align: center;
}

.thumb-link {
    border: 1px solid #666666;
    max-width: 85%;
    margin: 0 auto;
    border-radius: 5px;
}

/*DCEM staff*/
.dcem .paragraph--type--flexbox .grid-container {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(auto-fill, 250px);
}

.dcem .field--name-field-flexbox {
    justify-content: left;
}

.dcem .thumb-subtitle {
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #732e2efc;
    color: #732e2efc;
    border-radius: 5px;
    margin: 10px auto;
    max-width: 90%;
    font-size: 18px;
}

.dcem .thumb-link {
    border: none;
}

.dcem .thumb-link a {
    font-size:20px;
}

.dcem .thumb-link a:after {
    content: " \1F862";
}

/*Elected Officials*/
.elected-officials .thumb-link {
    background-color: #2b4f6b;
    border: none;
    padding: 8px 15px;
}
.elected-officials .thumb-link:hover {
    border: #15354E 1px solid;
    background-color: white;
}
.elected-officials .thumb-link a {
    color: white;
}
.elected-officials .thumb-link:hover a {
    color: #15354E;
}
.elected-officials .thumbnail-grid .grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}
@media screen and (max-width: 1350px) {
    .elected-officials .thumbnail-grid .grid-container {
      display: flex;
    }
}
@media screen and (max-width: 1200px) and (min-width: 1130px) {
    .elected-officials .thumbnail-wrap {
        max-width: 210px;
    }
}
@media screen and (max-width: 992px) {
  .thumbnail-wrap img {
    max-width: 100%;
    height: auto;
  }
  .dcem .paragraph--type--flexbox .grid-container {
    margin-top: 25px;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
    .thumbnail-block {
        display: flex;
        flex-direction: column;
    }
    .thumb-title {
        padding-top: 20px;
    }
}
