/* ---------- global page settings --------------*/
.blue_font {
    color: #004278;
}

.font_14 {
    font-size: 14px;
}

/* .breadcrumps .breadcrump {
    position: relative;
    padding-left: .6rem;
    padding-right: .6rem;
}

body.page-template-news2 .breadcrumps  {
    padding-top: 10px; 
} */

body.page-template-news2 .gradient_bg {
    position: absolute;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body.page-template-news2 .gradient_bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
    background-color: rgba(214, 223, 231, 1);
    background-image: linear-gradient(180deg,
            rgba(214, 223, 231, 1) 0%,
            rgba(255, 255, 255, 1) 100%);
}

section.hero.hero_news_page {
    padding-top: 75px;
    padding-bottom: 10px;
}

/* ---------- SEARCH BAR + FILTERS --------------*/
.news_all_post_cards {
    padding-bottom: 70px;
}

.news_all_post_cards .filters_container {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 65px;
}


.news_all_post_cards .news_search_bar {
    align-items: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    column-gap: 20px;
}

.news_all_post_cards #filter-form {
    width: 100%;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
}

.news_all_post_cards #filter-form input[type="search"] {
    background-color: #e4e9ef;
    border: none;
    display: flex;
    font-size: 14px;
    width: calc(100% - 215px);
    height: 60px;
    margin-right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
}

.news_all_post_cards #filter-form input[type="search"]::placeholder {
    color: #b8c3d1;
    font-size: 14px;
    font-family: "gotham-medium", sans-serif;
    font-weight: 500;
}

.news_all_post_cards .submit_filter {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.news_all_post_cards .search_button .news_submit {
    padding: 10px 25px;
    width: max-content;
    column-gap: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vh;
    color: #fff;
    border: none;
    background-color: #0e963c;
    font-size: 14px;
    min-width: 195px;
    cursor: pointer;
    font-family: "gotham-medium", sans-serif;
    font-weight: 500;
}

.news_all_post_cards .search_button img {
    display: inline-block;
    object-fit: contain;
    width: 18px;
    height: 18px;
}

.news_all_post_cards .inputs_grid {
    display: grid;
    grid-template-columns: 435px calc(100% - 435px);
    margin-top: 20px;
    width: 100%;
    border-top: 1px solid #ebf0f3;

}

.news_all_post_cards .inputs_grid_2col {
    display: grid;
    column-gap: 20px;
    grid-template-columns: repeat(2, calc(50% - 10px));
}

.news_all_post_cards .single_input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    padding-top: 20px;
}

.news_all_post_cards .single_input label {
    font-family: "gotham-medium", sans-serif;
    font-weight: 500;
}

.news_all_post_cards .single_input1 {
    border-right: 1px solid #ebf0f3;
    padding-left: 20px;
    padding-right: 20px;
}

.news_all_post_cards .single_input2 {
    margin-left: 20px;
}

/* ---------- ALL CARDS POST --------------*/
.news_all_post_cards .news_grid_content .grid3_col {
    /* column-gap: 20px; */
    row-gap: 70px;
}

/* ---------- CUSTOM SELECT --------------*/
.custom-select {
    position: relative;
    background-color: #ecf0f3;
    border: none;
    padding: 10px 40px 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    display: flex;
    flex-grow: 1;
    min-height: 44px;
    max-width: 290px;
    width: 100%;
}

.custom-select .arrow_icon {
    position: absolute;
    right: 20px;
    width: 11px;
    height: 6px;
    top: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../assets/images/strzalka-lista@2.png);
    transition: all .3s;
}

.custom-select.open {
    border-radius: 10px 10px 0 0;
}

.custom-select.open .arrow_icon {
    transform: rotate(180deg);
}

.custom-select-value {
    display: flex;
    align-self: center;
    font-size: 14px;
    font-family: "gotham-medium", sans-serif;
    font-weight: 500;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ecf0f3;
    border: none;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.custom-select.open .custom-select-options {
    display: block;
    margin: 0;
    padding-left: 0;
    padding-bottom: 10px;
    border-radius: 0 0 10px 10px;
}

.custom-select-options li {
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    transition: all .3s;
}

.custom-select-options li::before {
    display: none;
}

.custom-select-options li:hover {
    color: #fff;
    background-color: #033768;
}

/* Ukryty prawdziwy <select> */
.custom-select-original {
    display: none !important;
}

/* ---------- PAGINATION --------------*/
.custom_pagination .blog_pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    margin: 0;
    margin-top: 68px;
    border-radius: 15px;
    position: relative;
    background-color: #eef1f4;
}

.custom_pagination .blog_pagination>* {
    color: #004278 !important;
}

.custom_pagination .blog_pagination li {
    padding-left: 0;
}

.custom_pagination .blog_pagination li::before {
    display: none;
}

.custom_pagination .blog_pagination .number-content {
    display: flex;
}

.custom_pagination .blog_pagination .number-content .number-page {
    padding: 4px 16px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom_pagination .blog_pagination .number-content .number-page a,
.custom_pagination .blog_pagination .number-content .number-page span {
    text-decoration: none;
    font-weight: 700;
    font-family: "gotham-medium", sans-serif;
    font-size: 14px;
    color: #004278;

}

.custom_pagination .blog_pagination .pagi-curr {
    background-color: #0e963c;
    border-radius: 50%;
}

.custom_pagination .blog_pagination .pagi-curr.number-page span {
    color: #fff !important;
}

.custom_pagination .blog_pagination .next-page,
.custom_pagination .blog_pagination .prev-page {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100px;
}

.custom_pagination .blog_pagination .next-page {
    justify-content: flex-end;
}

.custom_pagination .blog_pagination .next-page.disable,
.custom_pagination .blog_pagination .prev-page.disable {
    opacity: 0;
    visibility: hidden;
}

.custom_pagination .blog_pagination .next-page a,
.custom_pagination .blog_pagination .next-page span,
.custom_pagination .blog_pagination .prev-page a,
.custom_pagination .blog_pagination .prev-page span {
    font-size: 14px;
    font-weight: 700;
    color: #004278;
    text-decoration: none;
    font-family: "gotham-medium", sans-serif;
    font-weight: 500;
}

.custom_pagination .blog_pagination .iconbox {
    width: 6px;
    height: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_pagination .blog_pagination .iconbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom_pagination .blog_pagination .prev-page .iconbox {
    transform: rotate(180deg);
}

/* ----------------------------- RWD -----------------------------*/
@media (max-width: 1366px) {
    /* body.page-template-news2 .breadcrumps {
        padding-top: 30px;
    } */

    section.hero.hero_news_page {
        padding-top: 60px;
        padding-bottom: 10px;
    }
}

@media (max-width: 1250px) {
    .news_all_post_cards .filters_container {
        margin-bottom: 40px;
    }

    .news_all_post_cards .inputs_grid {
        grid-template-columns: 360px calc(100% - 360px);
    }

    .news_all_post_cards .single_input1 {
        padding-left: 0;
    }

    .font_14,
    .news_all_post_cards #filter-form input[type="search"],
    .news_all_post_cards #filter-form input[type="search"]::placeholder,
    .news_all_post_cards .search_button .news_submit,
    .custom-select-options li {
        font-size: 13px;
    }

    /* ---------- ALL CARDS POST --------------*/
    .news_all_post_cards .news_grid_content .grid3_col {
        /* column-gap: 20px; */
        row-gap: 50px;
    }

    .custom_pagination .blog_pagination {
        padding: 15px 20px;
        margin-top: 55px;
    }
}

@media (max-width: 1100px) {

    .news_all_post_cards #filter-form input[type="search"],
    .news_all_post_cards .search_button .news_submit {
        height: 50px;
    }

    .news_all_post_cards .inputs_grid {
        grid-template-columns: 300px calc(100% - 300px);
    }
}

@media (max-width: 992px) {
    /* body.page-template-news2 .breadcrumps {
        padding-top: 40px;
    } */

    section.hero.hero_news_page .container {
        max-width: 992px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .news_all_post_cards .filters_container {
        padding: 10px;
    }

    .news_all_post_cards .inputs_grid {
        grid-template-columns: 100%;
        margin-top: 10px;
    }

    .news_all_post_cards .single_input1 {
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid #ebf0f3;
    }

    .news_all_post_cards .single_input2,
    .news_all_post_cards .single_input3 {
        margin-left: 0;
        padding-top: 10px;
    }

    .news_all_post_cards .single_input {
        justify-content: flex-start;
    }

    .news_all_post_cards .custom-select {
        flex-grow: 1;
        max-width: unset;
    }

    /* ---------- ALL CARDS POST --------------*/
    .news_all_post_cards .news_grid_content .grid3_col {
        /* column-gap: 20px; */
        row-gap: 30px;
    }

    .news_all_post_cards {
        padding-bottom: 50px;
    }

    .custom_pagination .blog_pagination {
        padding: 12px 15px;
        margin-top: 40px;
    }

    .custom_pagination .blog_pagination .next-page a, .custom_pagination .blog_pagination .next-page span, .custom_pagination .blog_pagination .prev-page a, .custom_pagination .blog_pagination .prev-page span {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .news_all_post_cards .filters_container {
        margin-bottom: 30px;
    }

    .news_all_post_cards #filter-form input[type="search"] {
        width: calc(100% - 165px);
        margin-right: 15px;
    }

    .news_all_post_cards .search_button .news_submit {
        min-width: 150px;
    }

    .news_all_post_cards .inputs_grid_2col {
        grid-template-columns: 100%;
    }

    .news_all_post_cards .custom-select {
        width: 65%;
        flex-grow: 0;
    }

    .news_all_post_cards .single_input {
        justify-content: space-between;
    }

    /* ---------- ALL CARDS POST --------------*/
    .news_all_post_cards .news_grid_content .grid3_col {
        /* column-gap: 20px; */
        row-gap: 10px;
    }

    .custom_pagination .blog_pagination {
        flex-direction: column;
        align-items: center;
        row-gap: 5px
    }

    .custom_pagination .prev-page.disable,
    .custom_pagination .next-page.disable {
        display: none;
    }
}

@media (max-width: 450px) {
    .news_all_post_cards #filter-form input[type="search"] {
        width: 100%;
        margin-right: 0;
    }

    .news_all_post_cards .submit_filter {
        width: 100%;
    }

    .news_all_post_cards .search_button .news_submit {
        min-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .news_all_post_cards .single_input {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        row-gap: 5px;
    }

    .news_all_post_cards .custom-select {
        width: 100%;
    }
}