.cards-primary > div > div {
	display: flex;
	min-height: 400px;
}

.hover-card {
	content: '';
	position: absolute;

	left: 0;
	transition: opacity .3s linear, transform .3s linear;
	opacity: 0; 
}

.hover-card div {
	width: 100%;
	height: 100%;
	margin: auto;
	background-color: #4C8FFC;
}

.hover-card-active { opacity: 1; }

.cards-primary .card {
	width: 320px;
	margin: auto;
	padding: 16px;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
    
	transition: color .3s linear;

}

.cards-primary .card-active { color: white !important; }


.cards-primary .card .background {
	position: absolute;
	width: 100%;
	height: calc(100% - 160px);
	border: solid 3px #4C8FFC;
/* 	background-color: white; */
	left: 0;
	top: 0;
	z-index: -1;
}

.cards-primary .card .title { font-family: "OpenSans-Light", sans-serif; }

.cards-primary .card .border {
	border-bottom: solid 3px #4C8FFC;
	width: 120px;

	margin-top: 12px;
	margin-bottom: 12px; 

	transition: border-bottom .3s linear;
}

.cards-primary .card-active .border { border-bottom: solid 3px white; }


.cards-primary .card .body {
	margin-bottom: 16px; 
	line-height: 26px;
}

.cards-primary .card .image {
	width: 100%;
	height: 160px;
	margin-top: auto;
	z-index: 10;
	position: relative;
}

.cards-primary .card .image-background {
	position: absolute;
	width: 100%;
	height: 100%;
	box-shadow: 0px 3px 4px 1px rgba(0, 0, 0, 0.25);

	transition: background-color .2s linear;
} 

.cards-primary .card .image-background:hover { cursor: pointer; }

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

.cards-primary .card .button {
	margin-top: 12px;
	text-align: center;
}

@media screen and (max-width: 425px) 
{
	.cards-primary .card { 
		width: 95%;
		max-width: 320px;
	}

	.cards-primary .card .body { line-height: 22px; }

	.hover-card { display: none; }

	.cards-primary .card-active { color: black; }

	.cards-primary .card-active .border { border-bottom: solid 3px #4C8FFC; }
}












/* cards-2 */

.cards-secondary {
	display: flex;
	justify-content: center;
	width: 100%;
	/*margin-top: 120px;*/
}

.cards-secondary-background::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 220px;
	left: 0;
	/*background-color: #4C8FFC;*/
	background-image: linear-gradient(#2C346E, #4C8FFC);
	z-index: -1;
}

.cards-secondary-background .card { margin-top: 60px; }

.cards-secondary .card {
	width: 320px;
	margin-right: 20px;
	background-color: white;
}

.cards-secondary .card .card-image {
	width: 100%;
	height: 200px;
}

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

.cards-secondary .card .card-date {
	font-family: "OpenSans-Light", sans-serif;
	margin-top: 8px;
	margin-bottom: 8px;
}

.cards-secondary .card .card-body {
	line-height: 26px;
	margin-bottom: 16px;
}

@media screen and (max-width: 1200px) 
{ 
	.cards-secondary {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	
	.cards-secondary .card { margin-bottom: 32px; }
	.cards-secondary .card:last-child { margin-bottom: 0; }
}

@media screen and (max-width: 768px) 
{ 
	.cards-secondary {
		flex-direction: column;
		align-items: center;
	}

	.cards-secondary .card { margin-right: 0; }
}

@media screen and (max-width: 425px)
{
	.cards-secondary .card .card-body { line-height: 22px; }
}

@media screen and (max-width: 375px) { .cards-secondary .card { width: 280px; } }



















.cards-thirdly {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cards-thirdly .card {
	width: 360px;
	margin-right: 32px;
	background-color: white;
}

.cards-thirdly .card:last-child {
	margin-right: 0;
}

.cards-thirdly .card .card-image {
	width: 100%;
	height: 240px;
}

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

.cards-thirdly .card .card-date {
	font-family: "OpenSans-Light", sans-serif;
	text-align: center;
	padding-bottom: 32px;

	width: 340px;
	margin: auto;
	border: solid 2px #4C8FFC;
	border-top: 0;
}

.cards-thirdly .card .card-body {
	line-height: 26px;
	margin-top: 16px;
	margin-bottom: 16px;
	padding: 16px;
	text-align: center;
	
	width: 340px;
	margin: auto;
	border: solid 2px #4C8FFC;
	border-top: 0;
	border-bottom: 0;
}

.cards-thirdly .card .card-button  {
	text-align: center;
	position: relative;
	top: -16px;
}

@media screen and (max-width: 1200px) { 

	.cards-thirdly {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	
	.cards-thirdly .card { margin-bottom: 24px; }
	.cards-thirdly .card:last-child { margin-bottom: 0; }


}

@media screen and (max-width: 768px) { 

	.cards-thirdly {
		flex-direction: column;
		align-items: center;
	}

	.cards-thirdly .card { margin-right: 0; }

	.cards-thirdly .card .card-body { width: auto; }
	.cards-thirdly .card .card-date { width: auto; }

}

@media screen and (max-width: 425px)
{
	.cards-thirdly .card .card-body { line-height: 22px; }
}

@media screen and (max-width: 375px) { .cards-thirdly .card { width: 280px; } }











.cards-profile .card {
    width: 100%;
    min-width: 280px;
    max-width: 360px;
    min-height: 450px;
    box-shadow: 0 0 5px 1px rgba(52, 52, 52, 0.224);
    position: relative;
    border-radius: 5px;
    transition: 2s;
    margin: auto;
    margin-bottom: 64px;
	background-color: white;
}
    
.cards-profile .card:hover {
    box-shadow: 0 0 15px 1px rgba(52, 52, 52, 0.25);
    color:white;
}
    
.cards-profile .card::after {
    content: " ";
    background: linear-gradient(180deg, #2C346E 0%, #4C8FFC 100%);
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0% 100%);
    
    display: block;
    min-height: 500px;
    transition: 2s;
    border-radius: 5px;
}
    
.cards-profile .card:hover::after {
    content: " ";
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: 2s;
    display: block;
    min-height: 500px;
    transition: 1.5s;
    border-radius: 5px;
    
}
    
.cards-profile .card img {
	object-fit: cover;
    width: 100px !important;
    height: 100px !important;
    position: absolute;
    top: -40px;
    left: calc(50% - 50px);
    z-index: 99999999;
    transition: 2s;
    border-radius: 100%;
    border: 5px solid #FFFFFF;
    box-sizing: border-box;
    box-shadow: 3.9169px 3.9169px 8.81302px rgba(0, 0, 0, 0.2);
}
    
.cards-profile .card:hover img {
    transform: scale(1.3) translateY(20px);
    transition: 2s;
    
}
    
.cards-profile .card h1 {
    z-index: 999;
    position: absolute;
    justify-content: center;
    display: flex;
    width: 100%;
    color: rgba(30, 29, 29, 0.85);
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(37, 37, 37, 0.421);
}
    
.cards-profile .text {
    position: absolute;
    z-index: 999;
    display: flex;
    align-items: center;
    text-align: center;
    top: 25%;
    font-size: 16px;
    margin: 0 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}
    
.cards-profile .title {
    position: absolute;
    z-index: 999;
    align-items: center;
    text-align: center;
    top: 70%;
    width: 100%;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
   
}
    
.cards-profile .title span {
        
}

.cards-profile .title h3 {
    margin-bottom: 10px;
}

.cards-profile .button {
    position: absolute;
    bottom: 20px;
    z-index: 999;
    justify-content: center;
    display: flex;
    width: 100%;
}
