input[type="text"] {
    border: 0;
}

.news .news-item-date {
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #7e7e7e;
    background: none;
    font-size: 16px;
    display: inline-block;
    font-family: "PT Sans", Arial, serif;
    padding: 0;
    width: 49%;
    margin-bottom: 6px;
}

.news .news-item-time {
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: right;
    color: #7e7e7e;
    display: inline-block;
    width: 49%;
    font-family: "PT Sans", Arial, serif;
    padding-right: 3px;
}

.news .news-item-time img {
    margin-right: 5px;
    display: inline;
    position: relative;
    bottom: 2px;
}

.news .news-item.groups {
    display: inline-block;
    margin: 0 10px;
}

.news .news-item.group {
    width: 255px;
    height: 395px;
    border-radius: 3px;
    background-color: #ffffff;
    border: solid 2px #f1f1f1;
    margin-bottom: 50px;
}

.news .news-item.group .button {
    margin: auto;
    width: 210px;
    height: 40px;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
}

.news .news-item.group .news-item-title {
    margin: 10px 20px 0;
    min-height: 60px;
}

.news .news-item.group .news-item-title a {
    font-size: 15px;
    font-weight: bold;
    color: #171726;
    border: none;

    font-family: "PT Sans", Arial, serif;
}

.news .news-item.group .news-item-image {
    width: 100%;
    border: 0;
    margin: 0;
    border-bottom: 2px solid #e5e5e5;
}

.news .news-item.group .news-item-image img {
    width: 255px;
    height: 200px;
}

.news .news-item.group .news-item-descr {
    font-size: 13px;
    line-height: 1.38;
    text-align: left;
    color: #2a2a38;
    width: 210px;
    margin: 0px 20px 10px;
    font-family: "PT Sans", Arial, serif;
}

.news .news-subscribe {
    background: url("/local/templates/samovarov-grad/images/blog/background-subscribe.png");
    width: 815px;
    height: 88px;
    border-radius: 5px;
    display: flex;
    padding: 0 16px;
    margin-bottom: 50px;
}

.news .news-subscribe .news-subscribe-text {
    width: 240px;
    font-family: Philosopher;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-align: left;
    color: #fefeff;
    display: inline-block;
    margin: auto;
}

.news .news-subscribe .news-subscribe-email {
    width: 280px;
    height: 42px;
    background-color: #fbfbfb;
    border: solid 1px #e6e6e6;
    border-radius: 0;
    margin: auto;
}

.news .news-subscribe .button {
    width: 180px;
    height: 42px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: auto;
}

.search-form input[type="text"].search-input {
    width: 92%;
    height: 53px;
    display: inline-block;
    background-color: #f6f6f6;
    vertical-align: baseline;
    border: 2px solid #dedede !important;
    border-right: none !important;
}

.search-form .search-input::-webkit-input-placeholder {
    font-size: 19px;
}

.search-form .search-input::-moz-placeholder {
    font-size: 19px;
}

/* Firefox 19+ */
.search-form .search-input:-moz-placeholder {
    font-size: 19px;
}

/* Firefox 18- */
.search-form .search-input:-ms-input-placeholder {
    font-size: 19px;
}

.search-form .search-button {
    position: absolute;
    /*top: 10px;*/
    right: 3px;
    display: inline-block;
    background: url("/local/templates/samovarov-grad/images/blog/search-icon.svg") center no-repeat;
    background-color: #f6f6f6;
    color: #F44336;
    height: 53px;
    border: 2px solid #dedede;
    border-left: none;
    vertical-align: baseline;
    width: 8%;
}
@-moz-document url-prefix() {
    .search-form .search-button {
        top: -1px;
    }
}
.search-form .search-button:hover, .search-form .search-button:focus {
    outline: none;
    background-color: #f6f6f6;
    border: 2px solid #dedede;
    border-left: none;
}

.search-form .search-input:hover, .search-form .search-input:focus {
    outline: none;
    background-color: #f6f6f6;
    border: 2px solid #dedede;
    border-right: none;
}

.news-nav {
    list-style: none;
    width: 90%;
    margin: 0 auto 30px;
    display: block;
    text-align: center;
    padding: 0;
}

.news-nav li {
    width: auto;
    height: 37px;
    border-radius: 15px;
    background-color: #f4f4f4;
    text-align: center;
    display: inline-block;
    margin: 6px 3px;
    padding: 5px 13px;
    cursor: pointer;
}

.news-nav li:hover, .news-nav li:focus {
    background-color: #eac342;
}

.news-nav a:hover, .news-nav a:focus, .news-nav a {
    text-decoration: none;
    border: none;
}

.news-nav span {
    font-size: 14px;
    line-height: 1.29;
    text-align: center;
    color: #171726;
}

.news-nav .news-count {
    color: #d72027;
}

@media (max-width: 719px) {

    .search-form input[type="text"].search-input {
        width: 200px;
    }

    .search-form .search-button {
        position: relative;
        top: 22px;
        right: 3px;
        width: 75px;
    }

    .news-nav li {
        width: 250px;
    }

    .news .news-item.groups {
        width: 255px;
        margin: auto;
        display: block;
    }

    .news .news-item.group {
        width: 100%;
    }

    .search-form {
        width: 280px;
        margin: 0 auto 20px;
        padding-left: 5px;
    }

    .news .news-subscribe {
        background: url(/local/templates/samovarov-grad/images/blog/background-subscribe-big.png);
        width: 100%;
        height: 200px;
        flex-direction: column;
        background-position: center;
        background-size: cover;
    }

    .news .news-subscribe .news-subscribe-email {
        width: auto;
    }

    .news .news-item.group .button {
        font-size: 18px;
    }

    .news-nav {
        display: none;
    }

    .margin-buttons-mobile.news-mobile-category {
        width: 100%;
        margin-bottom: 30px;
    }

    .margin-buttons-mobile.news-mobile-category .filter-toggle-category {
        width: 250px;
        margin: auto;
    }

    .search-form .search-input::-webkit-input-placeholder {
        font-size: 15px;
    }

    .search-form .search-input::-moz-placeholder {
        font-size: 15px;
    }

    /* Firefox 19+ */
    .search-form .search-input:-moz-placeholder {
        font-size: 15px;
    }

    /* Firefox 18- */
    .search-form .search-input:-ms-input-placeholder {
        font-size: 15px;
    }
}

@media (min-width: 720px) and (max-width: 991px) {
    .news-nav {
        width: 700px;
    }

    .news .news-item.groups {
        margin: 0 40px;
    }

    .news .news-subscribe {
        width: 700px;
    }

    .news .news-subscribe .news-subscribe-text {
        font-size: 25px;
        width: 220px;
    }

    .news .news-subscribe .button {
        width: 150px;
    }

    .news .news-subscribe .news-subscribe-email {
        width: 220px;
    }

    .news {
        width: 700px;
        margin: auto;
    }

    .search-form {
        width: 700px;
        margin: 0 auto 20px;
    }
}

@media (min-width: 992px) {
    .news .news-item.groups:first-child, .news .news-item.groups:nth-child(3n + 1) {
        margin: 0 10px 0 0;
    }

    .news .news-item.groups:nth-child(3n) {
        margin: 0 0 0 10px;
    }

    .news-detail {
        margin-top: 41px;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .news {
        width: 815px;
        margin: auto;
    }

    .search-form {
        width: 815px;
        margin: 0 auto 20px;
    }
}