/* баннер карты */
.breadcumb-area-banner {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    object-fit: cover;
}

.breadcumb-wrap-banner {
    background-color: rgba(0, 0, 0, 0.5); /* Черный фон с прозрачностью */
    color: #fff; /* Цвет текста */
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.breadcumb-wrap-banner h2 {
    color: #fff;
    position: relative;
    /*text-transform: capitalize;*/
    padding-bottom: 15px;
    margin-bottom: 57px;
    font-size: 40px;
}

.breadcumb-wrap-banner h2::before, .breadcumb-wrap-banner h2::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: #fff;
    content: "";
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
}

.breadcumb-wrap-banner h2::after {
    left: 51%;
    bottom: -2px;
}

.breadcumb-menu-banner {
    background: rgba(0, 0, 0, .8);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 15px 0px;
}

.breadcumb-menu-banner ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Выравниваем элементы по центру по горизонтали */
    align-items: center;
    margin: 0px 5px;
    color: #C62828;
    padding: 15px 0px;
}

.breadcumb-menu-banner li {
    margin: 0 10px; /* Добавляем отступы между элементами меню */
}

.breadcumb-menu-banner ul li a {
    color: #fff;
}

.breadcumb-menu-banner ul li a:hover {
    color: #C62828;
}

/* баннер карты */

.tenders_block {
    padding: 1em 0;
}

.sharedWallpaper {
    background-color: #ffffff;
    min-height: 600px;
    padding: 20px 0px;
}

/* end */

@media (min-width: 1200px) {
    .container-all-tender {
        max-width: 1140px;
    }
}

@media (min-width: 992px) {
    .container-all-tender {
        max-width: 960px;
    }
}

@media (min-width: 768px) {
    .container-all-tender {
        max-width: 720px;
    }
}

@media (min-width: 576px) {
    .container-all-tender {
        max-width: 540px;
    }
}

.container-all-tender {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px; /* Set the maximum width of the container */
}

.tenders-blocks {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.row-all-tender {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

@media (min-width: 768px) {
    .tenders-blocks {
        top: 30px;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 576px) {
    .tenders-blocks {
        top: 30px;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 33.333333%;
    }
}


.bordered {
    border-radius: 25px;
}

.tender_item {
    display: flex;
    width: 100%; /* Set the width of each item */
    height: 300px; /* Set the height of each item */
    padding: 30px;
    min-height: 420px;
    margin-bottom: 30px;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25) !important;
}

.tender_item h4 {
    margin-top: 0;
    /*color: #0e3ea2;*/
    margin-bottom: 30px;
    line-height: 1.4;

    font-size: 1.87rem;
}

/* манипуляция над датой 1-ый вариант */
.tender_item h5 {
    font-size: 1.65rem; /* Adjust the font size as needed */
    position: absolute; /* Keep the date's position relative */
    bottom: 0.9rem; /* Adjust the vertical position as needed */
    color: #333333;
}


.h4, h4 {
    font-size: 1.5rem;
}

.tender_item {
    transition: transform 0.3s ease;
}

/* Add a hover effect to the tender_item class */
.tender_item:hover {
    background: #c62829;
}

/* CSS-код для рисунка при наведении курсора */
a.tender_item {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

a.tender_item::before {
    content: ""; /* Обязательно указывайте content для псевдоэлементов */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Или background-size: contain; в зависимости от предпочтений */
    opacity: 0; /* Задаем изначально нулевую прозрачность */
    transition: opacity 0.3s ease; /* Добавляем плавное появление */
}

a.tender_item:hover::before {
    opacity: 1; /* При наведении курсора устанавливаем полную прозрачность */
}

/* Change the text color within tender_item on hover */
.tender_item:hover h4,
.tender_item:hover h5 {
    color: white;
}

@media (min-width: 1200px) {
    .h4, h4 .h5, h5 {
        font-size: 1.5rem;
    }
}

/* //////////////////////////////////////////////////////////////////////////*/

/* Стили для обертки пагинации */
.forPagination {
    padding-top: 10px;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
}

/* Стили для элемента страницы */
.page-item {
    margin: 5px;
    display: inline-block;
}

/* Стили для ссылки */
.page-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    background-color: #f7f7f7;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background-color: #c62828;
    color: #fff; /* Цвет текста при наведении курсора */
}

/* Стили для активной страницы */
.page-item.active .page-link {
    background-color: #c62828; /* Цвет активной страницы */
    color: #fff; /* Цвет текста на активной странице */
    pointer-events: none;
}


/* //////////////////////////////////////////////////////////////////////////*/

