.towns-paid__title {
    clear: both;
    height: 40px;
    overflow: hidden;
}
.towns-paid__title h2 {
    float: left;
}
.towns-paid__title a {
    display: block;
    float: left;
    margin: 15px 0 0 20px;
    text-decoration: underline;
}
.towns-paid__box-item {
    position: relative;
    width: 200px;
    height: 250px;
    border: solid 1px #ccc;
    float: left;
    margin: 0 20px 20px 0;
}
.towns-paid__box-item:nth-child(4n) {
    margin-right: 0;
}
.towns-paid__box-item span {
    display: block;
    height: 75px;
    padding: 15px 10px 0 10px;
    text-align: center;
}
.towns-paid__box-item span a {
    text-transform: uppercase;
    text-decoration: underline;
}
.towns-paid__box-item:hover span {
    background: rgb(76, 169, 219);
    color: #fff;
}
.towns-paid__box-item:hover span a {
    color: #fff;
}
.towns-paid__box-card {
    display: none;
    width: 200px;
    height: 160px;
    position: absolute;
    top: 90px;
    left: 0;
    background: rgba(0, 132, 204, 0.7);
    text-align: center;
}
.towns-paid__box-item:hover .towns-paid__box-card {
    display: block;
}
/**/
.towns-paid__icon-ipoteka,
.towns-paid__icon-maternal,
.towns-paid__icon-military {
    width: 29px;
    height: 29px;
    display: inline-block;
    margin: 100px 0 0 0;
}
.towns-paid__icon-ipoteka {
    background: url("i/ipoteka.png");
}
.towns-paid__icon-maternal {
    background: url("i/maternal.png");
}
.towns-paid__icon-military {
    background: url("i/military.png");
}
/**/
.towns-paid__table {
    width: 100%;
    border-collapse: collapse;
}
.towns-paid__table th {
    background: #ececec;
    padding: 10px;
    font-weight: normal;
    color: #0A4B74;
}
.towns-paid__table td {
    border-bottom: solid 1px #ececec;
    padding: 5px;
    cursor: pointer;
}
.towns-paid__table span,
.towns-paid__table a {
    white-space: nowrap;
}
/**/
.towns-paid__special td {
    background: #cfc;
    font-weight: bold;
}
.towns-paid__special td[title] {
    font-weight: normal;
}
