.cards {
    position: relative;
    z-index: 1;
    
}

.cards--padding {
    padding: 50px 0 100px;
}

.cards-heading img {
    margin-bottom: 10px;
}

.cards-heading svg {
    margin-bottom: 20px;
}

.cards-heading h2 {
    padding-bottom: 30px;
    padding-top: 0 !important;
}

.cards-category.wastewater{
    background-color: var(--cat-royal-blue);
    color: white;
}

.cards-category.water-networks{
    background-color: var(--cat-dark-blue);
    color: white;
}

.cards-top-section {
    padding-bottom: 40px;
}

.cards__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex: 1;
    text-decoration: none;
    border: none;
    border-radius: 20px;
    box-shadow: 0 0 18px rgba(0,57,125,0.2);
    background-color: #fff;
    transition: all ease-in-out 0.3s;
}

.cards__top {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cards-image {  
    width: 100%;
    height: 250px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.cards-image img {  
    border-radius: 20px 20px 0 0;
}

.cards-category-holder{
    position: absolute;
    bottom: 10px;
    left: 0;
    padding: 10px;
}

.cards-category {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    line-height: 1.315em;
    font-weight: 600;
    text-decoration: none;
    color: #FFFFFF;
    padding: 11px 23px;
    border-radius: 100px;
    border: none;
    position: relative;
    transition: all ease-in-out 0.3s;
    z-index: 1;
    background: var(--primary-color);
    width: 165px;
}
.categories{
    position: absolute;
    left: 0;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

}

.categories .cards-category{
    position: relative;
     min-width: 165px ;
    width: auto;

}

.cards-category:hover{
    font-size: 14px;
    font-weight: 600;
}

.cards__link .cards_date{
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
}

.cards__link:hover .cards_date{
    font-weight: 500;
}

.cards-category {
    position: absolute;
    left: 16px;
    bottom: 16px;
}

.cards__description {
    padding: 30px 20px 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.cards-innerpage_description{
    padding: 0 30px 30px;
    text-align: center;
}

.cards__description h4 {
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 0 15px;
}

.cards__description p {
    font-size: 14px;
    line-height: 1.4em;
    color: #666666;
    padding: 0 0 35px;
    flex: 1 1 auto;
    margin: 0;
}

.cards__bottom {
    font-size: 16px;
    line-height: 1.4em;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0 20px 25px;
    text-align: left;
    margin-top: auto;
    flex-shrink: 0;
}

.cards__bottom i {
    font-size: 9px;
    vertical-align: middle;
    padding: 0 0 3px 2px;
}

.js-cards-slider {
    padding-bottom: 60px;
    margin: -15px;
}

.js-cards-slider .fx-slide{
    display: block;
}

.cards .slick-track {
    display: flex;
    align-items: stretch;
}

.cards .slick-initialized .slick-slide {
    height: auto !important;
    display: flex;
    align-items: stretch;
}

.cards .slick-initialized .slick-slide > div {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

.js-cards-slider.slick-initialized .fx-slide,
.js-cards-slider.slick-initialized .cards-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.js-cards-slider .slick-arrow {
    color: #FFFFFF;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0px 99px rgba(0,57,125,0.30);
}

.js-cards-slider .slick-arrow::before {
    font-size: 20px;
}

.js-cards-slider .slick-arrow:hover {
    color: var(--secondary-color);
    background-color: #FFFFFF;
    border: 1px solid  var(--secondary-color);
    box-shadow: 0 0px 50px rgba(0,147,178,0.50);
}


.bg-blue .js-cards-slider .slick-arrow:hover {
    color: var(--secondary-color);
    background-color: #FFFFFF;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0px 50px rgba(0,0,0,0.50);
}

.cards-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
    align-self: stretch;
}

.cards-item > .cards__link {
    flex: 1 1 auto;
    min-height: 100%;
}

.wave-bottom {
    position: absolute;
    left: 0;
    bottom: -1px;
}

.table-block__top-content{
    margin-bottom: 0;
    text-align: center;
}
.inner-page .table-block__top-content{
    text-align: left;
}

.table-block__top-content .btn{
    margin: 0 auto;
}

.table-block__top-content h2{
    padding-top: 0;
}

.cards-category--light {
    background-color: var(--primary-color);
}

.bg-blue {
    background-color: var(--primary-color);
    color: #fff;
}

.bg-blue .table-block__top-content h2{
    padding-top: 0;
    color: white;
}

.bg-blue .table-block__top-content svg{
    top: 0;
}

.cards .slick-arrow{
    width: 56px;
    height: 56px;
}

.inner-page .table-block__top-content{
    margin-top: 60px;
    margin-bottom: 30px;
    position: relative;
}


.inner-page .table-block__top-content h2:before {
    content: '' !important;    
}

.cards .table-block__top-content svg{
    margin-bottom: 20px;
    position: relative;
    display: block;
}

.table-block .table-block__top-content{
    display: block;
    text-align: left !important;
}

.table-block .table-block__top-content svg{
    margin-bottom: 20px !important;
}

@media (min-width: 768px) {

    .inner-page .table-block__top-content h2:before {
        top: -50px;
    }

    .table-block__top-content .btn{
        margin: 0;
    }

    .js-cards-slider {
        padding-bottom: 80px;
    }

    .js-cards-slider .slick-arrow {
        top: auto;
        bottom: 0;
        margin-top: 0;
    }

    .js-cards-slider .slick-prev {
        left: auto;
        right: 65px;
        margin-left: 0;
    }

    .js-cards-slider .slick-prev::before{
        padding-right: 0;
    }

    .js-cards-slider .slick-next {
        right: 0;
        margin-right: 0;
    }

    .js-cards-slider .slick-next::before {
        padding-left: 0;
    }

    .inner-page .table-block__top-content{
        margin-bottom: 0;
    }


    .cards--padding {
        padding: 38px 0 170px 0;
    }

    .cards-top-section {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
    }

    .cards-heading h2 {
        padding-bottom: 0;
        padding-top: 0;
        line-height: 0.9em;
    }

    .cards__link {
        justify-content: space-between;
    }

    .cards .slick-initialized .slick-slide div a.cards__link .cards-image {
        height: 175px;
    } 

    .table-block__top-content {
        padding-bottom: 60px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
    }


    .inner-page .table-block__top-content{
        text-align: center;
        margin-top: 0;
    }
.cards-top-section {
    padding-bottom: 60px;
}


}
@media (min-width: 1200px) {

    .cards-heading h2 {
        font-size: 45px;
        padding-top: 0;
    }

    .inner-page .table-block__top-content h2:before {
        top: -50px;
        content: '' !important;
    }
    
    .cards--padding {
        padding: 80px 0 330px 0;
    }

    .cards__description h4 {
        font-size: 20px;
        padding: 0 0 20px;
    }
    
    .cards__description p {
        font-size: 16px;
        padding: 0 0 35px;
    }
    
    .cards__bottom {
        font-size: 16px;
        line-height: 1.4em;
        font-weight: 600;
        padding: 0 20px 25px; 
        text-align: left;
    }

    .cards__description {
        padding: 37px 28px 0;
    }

    .cards__bottom {
        font-size: 16px;
        padding: 0 25px 40px;
    }

    .cards-image {
        /*height: 100%;*/
        height: 375px;
        display: block;
        position: relative;
    }

    .cards-image img{
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .cards__link:hover {
        box-shadow: 0 0 18px rgba(0, 57, 125, 0.5);
    
    }
    .cards__link:hover {
        background: linear-gradient(129deg, #0063D8 20.84%,  #194886 91.72%);
box-shadow: 0 0px 18px 0 rgba(0, 99, 216, 0.40);    
    }
    .cards__link:hover .cards__description > * {
        color: #fff;
    }
       .cards__link:hover .cards-link-btn {
            color: #fff;
    }

    .bg-blue .cards__link:hover {
        box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
    
    }

    .js-cards-slider--desktop {
        padding-bottom: 0;
    }
    .inner-page .js-cards-slider--desktop {
        padding-bottom: 80px;
    }    

    .cards-item {
        padding: 16px;
    } 

}


.card-flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.card-flex > .cards-item,
.row.card-flex > [class*="col-"].cards-item {
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: stretch;
}

.card-flex .cards__link {
    flex: 1;
}

.cards--inner .cards-image {
    height: 249px;
}

.cards--inner .cards__description h4 {
    font-size: 20px;
    padding: 0 0 25px;
}

.cards--inner .cards__description p {
    font-size: 16px;
    padding: 0 0 45px;
}

.cards--inner .cards__bottom {
    padding-bottom: 28px;
}

.card-flex .cards__link {
    /*box-shadow: 0 0 60px rgba(0, 57, 125, 0.2);*/
    transition: all 0.2s ease-in-out;
}

.card-flex .cards__link:hover {
    box-shadow: 0 0 50px rgba(0, 57, 125, 0.5);
}

.cards .container {
    position: relative;
    z-index: 2;
}

.card-pattern {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
}



@media(min-width:1366px) {
	.cards-link-btn {
		font-size: 20px;
	}
}




















