﻿.wrong-content-message {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wrong-content-message p {
    color: #333;
    text-transform: uppercase;
    font-size: 17px;
}

.wrong-content-message a {
    display: block;
    padding: 20px;
    color: #FFF;
    background-color: #ab9b79;
    border-color: #ab9b79;
}

.wrong-content-message a:hover {
    color: #333;
    background-color: #CCAC69;
    border-color: #CCAC69;
    text-decoration: none;
}


.content-news-imgpreview {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.news-item {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
}

.news-item > .col-lg-6,
.news-item > .col-md-6,
.news-item > .col-sm-12,
.news-item > .col-xs-12 {
    flex: 0 1 50%;
    order: 1;
}

.news-item > .col-lg-6.first,
.news-item > .col-md-6.first,
.news-item > .col-sm-12.first,
.news-item > .col-xs-12.first {
    order: 0;
}

@media (max-width: 992px) {
    .news-item {
        display: block;
        flex-direction: initial;
    }

    .news-item > .col-lg-6,
    .news-item > .col-md-6,
    .news-item > .col-sm-12,
    .news-item > .col-xs-12 {
        flex: initial;
        order: initial;
    }
}


.news-title {
    font-size: 21px;
    text-align: center;
}

.news-date {
    text-align: center;
}

.news-commands {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.other-news-title {
    text-align: center;
    margin: 20px auto;
    font-size: 28px;
    font-weight: bold;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 10px;
    margin-left: 5px;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #AB9B79;
    min-width: 37px;
    text-align: center;
    vertical-align: middle;
    border-radius: 20px;
    font-size: 14px;
    line-height: 15px;
    color: #544F43;
    font-family: verdana;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 20px;
}

.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #AB9B79;
    border-color: #AB9B79;
    color: #2b2925;
}

.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    background-color: #AB9B79;
    outline: 0;
}

.work-items {
    margin-bottom: 30px;
}


.row.cost-block {
    margin-top: -10px;
    margin-bottom: 50px;
}

.cost-info-block {
    background-image: url('Images/text2.jpg');
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 21px;
}

.cost-info-block-description {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
}

.cost-info-block-description-text {
    flex: 1;
    background-color: #fff;
    order: 0;
    padding: 10px;
    overflow: hidden;
}

.cost-info-block-description-text .btn {
    /*width: auto !important;
    float: left;*/
}

.cost-info-block-description-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /*height: 250px;*/
    flex: 0 1 250px;
    order: 1;
}

@media (max-width: 767px) {
    .cost-info-block-description {
        display: block;
    }

    .cost-info-block-description-image {
        height: 180px;
    }
}
