.tx-card
{
	margin: 0 .8rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: row;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
	cursor: pointer;
}

.card-icon {
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    display: flex;
}

.card-icon img {
    /* not used anymore - previously used for pictures */
    height: 64px;
    width: auto;
}

.card-body {
    flex: 1;
    min-height: 1px;
    padding: 1rem;
}

.card-title {
	margin: 0 0 0.25rem 0 !important;
	padding: 0;
	color: var(--md-default-fg-color)!important;
	text-transform: none!important;
}

.card-text {
	margin: 0;
	padding: 0;
	font-size: 0.75rem;
	color: var(--md-default-fg-color--light);
}

.card-deck .card {
    margin-bottom: 30px;
	width: 100%;
}

 .card-deck {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	/* tu si regulujes velikost medzier od kraja po kraj obrazovky */
}

@media screen and (max-width: 29.9375em) {
	.card-deck .card {
        width: 100%;
    }
}

@media screen and (min-width: 60em) {
	.card-deck .card {
        width: calc( ( 100% - 5%) / 2);
    }
}

@media screen and (min-width: 76.25em) {
	.card-deck .card {
        width: calc( ( 100% - 5%) / 3);
    }
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: transparent;
}