@import url(../../root.css);
.cards__section {
    display: flex;
    justify-content: center;
}

.cards__section .card {
    width: 25%;
    height: auto;
    box-shadow: 0 10px 8px 0 rgb(129 154 180 / 16%);
    border: solid 1px #e4e8f0;
    background-color: var(--card-bg-color);
    display: flex;
    justify-content: space-between;
    border-top: 4px solid var(--white-color);
    transition: all 0.5s;
    cursor: pointer;
    position: relative;
    margin: 25px;
}

/*=== CRAD TOP LINE ===*/

.cards__section .card:hover {
    border-top: 4px solid var(--josi-red-color);
    background-color: var(--white-color);
}

.cards__section .card:hover .card__buttons {
    display: block;
}

.cards__section .card:hover .card__buttons_one {
    display: block;
}

.cards__section .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px 15px 15px 15px;
}

.cards__section .card .card-logo {
    height: 60px;
    flex-grow: 1;
    justify-content: space-around;
    align-items: center;
    display: flex;
}

.cards__section .card .card-logo h2 {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0px;
}

/*=== SZARVASMARHA CARD ===*/

.cards__section .card .card-body .card-logo .szarvasmarha {
    background-image: url(../img/icons/szarvasmarha.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
    transition: .4s;
}

.cards__section .card:hover .card-body .card-logo .szarvasmarha {
    background-image: url(../img/icons/szarvasmarha_red.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
}

/*= Lenyíló div =*/

.card__buttons {
    width: 100%;
    position: absolute;
    bottom: -231px;
    padding-top: 2px;
    display: none;
    z-index: 9;
}

.card__button1, .card__button2 {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 10px 8px 0 rgb(129 154 180 / 16%);
    transition: .4s;
}

.card__button1 a, .card__button2 a {
    width: 100%;
    color: var(--black-color);
    font-size: 1.125rem;
    font-weight: 700;
    padding-left: 10px;
    padding-right: 10px;
    transition: .4s;
}

/*=== BORJÚ CARD ===*/

/* .cards__section .card .card-body .card-logo .borju {
    background-image: url(../img/borju.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
}

.cards__section .card:hover .card-body .card-logo .borju {
    background-image: url(../img/borju_red.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
} */

.card__button1:hover, .card__button2:hover, .card__button3:hover {
    background-color: var(--josi-red-color);
}

.card__button1:hover i, .card__button2:hover i, .card__button3:hover i {
    border: solid 1px var(--white-color);
    color: var(--white-color);
}

.card__button1:hover a, .card__button2:hover a, .card__button3:hover a {
    color: var(--white-color);
}

.card__button1 i, .card__button2 i, .card__button3 i {
    width: 20px;
    height: 20px;
    border: solid 1px var(--josi-red-color);
    border-radius: 50%;
    font-size: 1rem;
    padding: 1px 0px 0px 0px;
    margin-right: 10px;
    color: var(--josi-red-color);
    text-align: center;
}

/*=== SERTÉS CARD ===*/

.cards__section .card .card-body .card-logo .sertes {
    background-image: url(../img/icons/sertes.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
    transition: .4s;
}

.cards__section .card:hover .card-body .card-logo .sertes {
    background-image: url(../img/icons/sertes_red.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
}

.cards__section .card .card-body p {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    flex-grow: 1;
}

/*= Lenyíló div =*/

.sertes .card__buttons {
    width: 100%;
    position: absolute;
    bottom: -231px;
    padding-top: 2px;
    display: none;
    z-index: 9;
}

.sertes .card__button1, .card__button2, .card__button3 {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 10px 8px 0 rgb(129 154 180 / 16%);
}

.sertes .card__button1 a, .card__button2 a, .card__button3 a {
    width: 100%;
    color: var(--black-color);
    font-size: 1.125rem;
    font-weight: 700;
    padding-left: 10px;
    padding-right: 10px;
}

.card__button1:hover a, .card__button2:hover a, .card__button3:hover a {
    color: var(--white-color);
}

/*=== SZILÁZS CARD ===*/

.cards__section .card .card-body .card-logo .szilazs {
    background-image: url(../img/icons/nyaloso.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
    transition: .4s;
}

.cards__section .card:hover .card-body .card-logo .szilazs {
    background-image: url(../img/icons/nyaloso_red.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
}

/*=== Nyalósó CARD ===*/

.cards__section .card .card-body .card-logo .nyaloso {
    background-image: url(../img/icons/szilazs.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
    transition: .4s;
}

.cards__section .card:hover .card-body .card-logo .nyaloso {
    background-image: url(../img/icons/szilazs_red.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 83px;
    height: 40px;
}
/* általános, zindex javítás */
.cards__section.card{
	z-index:2;
}
.cards__section>.card>.card__buttons{
	background-color:white;
}