.category {
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

.category2 {
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

.category .search-form {
    width: 670px;
    margin: 0 auto 40px;
}

.category .search-form:after {
    content: "";
    display: table;
    clear: both;
}

.category .search-form .screen-reader-text {
    display: none;
}

.category .search-form input.search-field {
      border: 2px solid #017fb2;
    border-radius: 3px;
    width: 530px;
    padding: 10px 20px;
    line-height: 2;
    color: #017fb2;
    text-align: center;
    font-weight: 700 !important;
    font-size: 18px;
    font-family: FontAwesome;
    font-style: normal;
    text-decoration: inherit;
    -webkit-appearance: none;
}

.category .search-form input.search-submit {
    width: 130px;
    padding: 22px;
    background: #419ec4;
    color: #ffffff;
    border-radius: 3px;
    margin-left: 5px;
    cursor: pointer;
    font-weight: 700 !important;
    -webkit-appearance: none;
}

.category .search-form input.search-submit:hover {
    opacity: 0.7;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    color: #ffffff;
}

.category2 .search-form {
    width: 670px;
    margin: 0 auto 40px;
}

.category2 .search-form:after {
    content: "";
    display: table;
    clear: both;
}

.category2 .search-form .screen-reader-text {
    display: none;
}

.category2 .search-form input.search-field {
      border: 2px solid #017fb2;
    border-radius: 3px;
    width: 530px;
    padding: 10px 20px;
    line-height: 2;
    color: #017fb2;
    text-align: center;
    font-weight: 700 !important;
    font-size: 18px;
    font-family: FontAwesome;
    font-style: normal;
    text-decoration: inherit;
    -webkit-appearance: none;
}

.category2 .search-form input.search-submit {
    width: 130px;
    padding: 22px;
    background: #419ec4;
    color: #ffffff;
    border-radius: 3px;
    margin-left: 5px;
    cursor: pointer;
    font-weight: 700 !important;
    -webkit-appearance: none;
}

.category2 .search-form input.search-submit:hover {
    opacity: 0.7;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    color: #ffffff;
}


.posts-container {
    margin-top: -40px;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.posts-container:after {
    content: "";
    display: table;
    clear: both;
}


.posts {
    width: 290px;
    /*float: left;*/
    margin-left: 13px;
    margin-top: 50px;
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    -webkit-box-shadow: 2px 3px 2px #ebebeb;
    box-shadow: 2px 3px 2px #ebebeb;
    position: relative;
}

.posts .entry-thumbnails {
    position: relative;
}

.posts .entry-thumbnails > a,
.posts .posts__img {
    position: relative;
}

.posts .entry-thumbnails .title {
    margin: 0 auto;
    background: #017FB2;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

.posts .entry-thumbnails .title .first {
    border-right: 1px solid #56aacc;
    width: 52%;
}

.posts .entry-thumbnails .title .second {
    width: 48%;
}

.posts .entry-thumbnails a {
    display: block;
    width: 100%;
}


.posts:nth-of-type(4n+1) {
    margin-left: 0;
}

.posts .description {
    padding: 18px 18px 58px;
}

.posts .description a {
    width: 150px;
    color: #419EC4;
    display: block;
    border: 1px solid #419EC4;
    border-radius: 3px;
    padding: 5px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
}

.posts .description div {
    display: inline-block;
}

.posts .description div p:first-child {
    background: #419ec4;
    width: 20%;
    float: left;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    padding: 2px 8px;
}

.posts .description div p:last-child {
    width: 80%;
    font-size: 14px;
    padding: 3px 16px;
}

.posts .description .u-tabel.-distance p:last-child {
    padding: 13px 16px;
}



.category-footer {
    margin-top: 80px;
}

@media only screen and (max-width: 998px) {
    .category {
        width: 100%;
        display: inline-block;
        margin-top: 8%;
    }
    .category .search-form, .category .search-form input.search-field {
        width: 100%;
        font-size: 3vw;
    }
    .category .search-form input.search-field{
        padding: 1%;
        float: left;
        display: block;
        min-height: 50px;
    }

    .category .search-form input.search-field {
        width: 80%;
    }

    .category .search-form input.search-submit {
        width: 18%;
        margin-left: 2%;
        padding:16px 12px;
    }

    .posts {
        width: 49%;
        margin-left: 2%;
        margin-top: 7%;
    }
    .posts-container {
        margin-top: -4%;
    }
    .posts:nth-of-type(2n+1) {
        margin-left: 0;
    }
    .posts .entry-thumbnails a {
        height: auto;
    }
    .posts .entry-thumbnails .title {
        font-size: 3vw;
    }
    .posts .description {
        padding: 6% 6% 30%;
    }
    .posts .description div {
        width: 100%;
    }
    .posts .description div.last {
    }
    .posts .description div p:first-child {
        font-size: 2.6vw;
        padding: 0;
    }
    .posts .description div p:last-child {
        width: 100%;
        margin-left: 2%;
        font-size: 3.5vw;
        margin-top: 0;
        padding: 0 10px;
    }
    .posts .description .u-tabel.-distance p:last-child {
        padding: 8px 10px;
    }
    .posts .description div.last p:last-child {
        min-height: auto;
    }
    .posts .description a {
        display: block;
        width: 60%;
        width: 80%;
        font-size: 3vw;
        padding: 2% 0;
    }
    .posts .description .box {
    }
    .category-footer {
        margin-top: 9%;
    }
    .posts .entry-thumbnails .title .first {
    border-right: 1px solid #56aacc;
    width: 60%;
    }

    .posts .entry-thumbnails .title .second {
    width: 40%;
    }

}
