/*----flip card-----*/
.flip-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.flip-card {
    background-color: transparent;
    width: 200px;
    height: 250px;
    perspective: 1000px;
    margin: 10px;
    overflow: hidden;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card-inner img {
    width: 100%;
    height: auto;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-back {
    background-color: #c1bcbc;
    color: white;
    transform: rotateY(180deg);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flip-card-back h2 {
    font-size: 20px;
    line-height: 40px;
    color: #fff;
}
.flip-card-back h2 {
    display: block;
}
.flip-card .name_tooltip {
    position: absolute;
    bottom: 0;
    background: #fff;
    width: 100%;
    font-size: 11px;
    padding: 5px;
}
.district-list-thumbs .flip-card-container {
    background: #ededed;
    padding: 2rem;
}

/*----end flip card-----*/
/*media*/
@media (max-width: 480px) {
    .flip-card {
        width: 150px;
        height: 150px;
    }
    .flip-card-container {
        justify-content: space-around;
    }
}