
/*** Cards (Default) ***/
.row.cards-default {
padding-bottom: 68px;
}

.cards-default h2 {
text-align: center;
}

.cards-default .f-text {
margin-bottom: 64px;
}

.cards-default .cards-items {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.cards-default .cards-items .item {
width: calc(25% - 32px);
margin-right: 32px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0px 12px 20px -6px rgb(0 0 0 / 20%);
margin-bottom: 32px;
transition: all 0.2s ease-in-out;
background: #fff;
}

.cards-default .cards-items .item:hover {
box-shadow: 0px 22px 30px -6px rgb(0 0 0 / 30%);
}

.cards-default .cards-items .img {
height: 200px;
position: relative;
background-size: cover !important;
background-position: center !important;
}

.cards-default .cards-items .text {
padding: 30px;
}

.cards-default a {
text-decoration: none;
color: var(--primary);
}

.cards-default a:hover {
color: var(--primaryalt);
}

.cards-default h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 0;
color: #ac0009;
padding-bottom: 10px;
transition: all 300ms;
}

.cards-default a:hover h3 {
color: var(--primaryalt);
}

.cards-default p.secondary {
font-size: 0.75em;
color: rgba(0, 0, 0, 0.6);
margin-bottom: 16px;
}

.cards-default .desc p {
color: var(--darkdefault);
margin-bottom: 16px;
}

.cards-default .btn-cta {
border-radius: 25px;
padding: 10px 40px;
background: #ac0009;
color: #fff;
font-weight: 700;
font-size: 0.875em;
display: inline-block;
transition: all 300ms;
}

.cards-default a:hover .btn-cta {
background: var(--primaryalt);
}

.cards-default .cards-items .img:before {
content: '';
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background: var(--primary);
transition: all 400ms;
opacity: 0;
}

.cards-default .cards-items a:hover img:before {
opacity: 0.7 !important;
}

.cards-default .cards-items a:hover .img:before {
opacity: 0.7;
}

.cards-default.card-style-side .cards-items .item {
width: calc(50% - 32px);
box-shadow: 2px 3px 20px 0px rgb(0 0 0 / 20%);
}

.cards-default.card-style-side .cards-items .item a {
display: flex;
height: 100%;
}

.cards-default.card-style-side .cards-items .item .img {
width: 45%;
min-width: 45%;
display: flex;
height: auto;
}

.cards-default.card-style-side .cards-items .item .text {
width: 55%;
min-width: 55%;
}

@media only screen and (max-width:1400px) {
.cards-default .cards-items .item {
width: calc(33.33% - 32px);
}
}

@media only screen and (max-width:1100px) {
.cards-default.card-style-side .cards-items .item {
width: 100%;
margin-right: 0;
}
}

@media only screen and (max-width:1000px) {
.cards-default .cards-items .item {
width: calc(50% - 32px);
}
}

@media only screen and (max-width:950px) {
.cards-default.card-style-side .cards-items .item {
width: 100%;
margin-right: 0;
}
}

@media only screen and (max-width:700px) {
.cards-default .cards-items .item {
width: 100%;
margin-right: 0 !important;
}
}

@media only screen and (max-width:500px) {
.cards-default.card-style-side .cards-items .item a {
flex-direction: column;
}

.cards-default.card-style-side .cards-items .item .img {
width: 100%;
height: 200px;
}

.cards-default.card-style-side .cards-items .item .text {
width: 100%;
}
}

/*** Cards (Full Image) ***/
.card-style-full-image h2 {
text-align: center;
}

.card-style-full-image .f-text {
margin-bottom: 64px;
}

.card-style-full-image .cards-items {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.card-style-full-image .item {
width: calc(25% - 20px);
margin-right: 20px;
height: 400px;
border-radius: 20px;
overflow: hidden;
margin-bottom: 20px;
}

.card-style-full-image .item .img {
height: 100%;
width: 100%;
position: absolute;
left: 0;
top: 0;
background-position: center !important;
background-size: cover !important;
}

.card-style-full-image .item a {
padding: 20px;
display: block;
text-align: center;
color: #fff;
text-decoration: none;
position: relative;
height: 100%;
transition: all 600ms;
}

.card-style-full-image div.desc {
max-height: 0;
transition: all 600ms;
transition-timing-function: cubic-bezier(0.53, 0.94, 0.82, 0.63);
overflow: hidden;
display: block;
margin-bottom: 0;
}

.card-style-full-image p.secondary {
font-size: 0.75em;
margin: 0;
transition: margin 600ms;
color: #fff;
line-height: 1.25;
}

.card-style-full-image a:hover p.secondary {
margin-bottom: 16px;
}

.card-style-full-image .text {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding-bottom: 26px;
padding-left: 20px;
padding-right: 20px;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: center;
height: 400px;
max-height: 95px;
transition: max-height 600ms;
color: #fff;
}

.card-style-full-image .item a:after {
content: '';
background-image: linear-gradient(0deg, #000000a6, transparent);
display: block;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
transition: all 600ms;
}

.card-style-full-image h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 10px;
color: #fff;
}

.card-style-full-image .item a:hover div.desc,
.isMobile .card-style-full-image .item a div.desc {
max-height: 350px;
padding-top: 16px;
}

.card-style-full-image .item a:hover:after,
.isMobile .card-style-full-image .item a:after {
height: 140%;
background-image: linear-gradient(0deg, #000000a6, #00000000);
}

.card-style-full-image .item div.desc p {
font-size: 0.75em;
padding: 0 32px;
margin-bottom: 16px;
color: #fff;
}

.card-style-full-image a:hover .text,
.isMobile .card-style-full-image a .text {
max-height: 400px;
padding-bottom: 0;
}

.card-style-full-image .item span.btn-cta {
background: var(--primary);
display: inline-block;
left: 0;
right: 0;
margin: 0 auto;
padding: 6px 24px;
border-radius: 20px;
font-size: 0.875em;
font-weight: 700;
transition: all 0.2s ease-in-out;
}

.card-style-full-image .item span.btn-cta:hover {
background: var(--primaryalt);
}

@media only screen and (max-width:1400px) {
.card-style-full-image .item {
width: calc(33% - 20px);
}
}

@media only screen and (max-width:950px) {
.card-style-full-image .item {
width: calc(50% - 10px);
}

.card-style-full-image .item:nth-child(even) {
margin-right: 0;
}
}

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

.card-style-full-image h2,
.cards-style-full-image .f-text {
text-align: left;
}
}

@media only screen and (max-width:600px) {
.card-style-full-image .item {
width: 100%;
margin-right: 0
}
}

/*** Cards (Small with Hover Image) ***/
.card-style-minimal .f-text {
margin-bottom: 64px;
}

.card-style-minimal h2 {
text-align: center;
}

.card-style-minimal .cards-items {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.card-style-minimal .item {
width: calc(25% - 20px);
margin-right: 20px;
margin-bottom: 20px;
background-position: center !important;
background-size: cover !important;
}

.card-style-minimal .item .img {
height: 100%;
width: 100%;
position: absolute;
left: 0;
top: 0;
background-position: center !important;
background-size: cover !important;
}

.card-style-minimal .item a {
display: flex;
position: relative;
flex-direction: column;
text-decoration: none;
color: var(--darkdefault);
box-shadow: 0 0 13px -5px rgb(0 0 0 / 20%);
border: solid 1px var(--lightborder);
border-bottom: 0;
height: 100%;
}

.card-style-minimal .item svg {
width: 40px;
height: 40px;
color: var(--darkdefault);
fill: var(--darkdefault);
margin-bottom: 10px;
transition: all 600ms;
}

.card-style-minimal .item h3 {
font-size: 22px;
margin-bottom: 8px;
font-weight: 700;
color: var(--primary);
transition: all 300ms;
}

.card-style-minimal .item a:hover h3 {
color: #fff;
}

.card-style-minimal .item a:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
transition: all 600ms;
z-index: 1;
}

.card-style-minimal .item .text {
position: relative;
z-index: 1;
padding: 64px 20px;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
color: var(--darkdefault);
transition: color 300ms;
}

.card-style-minimal .desc p {
margin-bottom: 0;
font-size: 0.875em;
line-height: 1.5;
}

.card-style-minimal .item a:hover .text {
color: #fff;
}

.card-style-minimal .item p.secondary {
font-size: .75em;
margin-bottom: 10px;
line-height: 1.25;
color: #222;
transition: all 300ms;
}

.card-style-minimal .item a:hover p {
color: #fff;
}

.card-style-minimal span.icon-arrow {
display: block;
width: 100%;
background: var(--primary);
z-index: 1;
padding: 0 5px;
height: 22px;
max-height: 4px;
transition: all 600ms;
overflow: hidden;
position: absolute;
bottom: 0;
font-size: 14px;
padding-left: 20px;
line-height: 1;
color: #fff;
color: var(--primary);
}

.card-style-minimal .item .icon-arrow svg {
color: #fff;
height: 12px;
width: 12px;
float: right;
transition: all 600ms;
opacity: 0;
margin: 0;
}

.card-style-minimal a:hover span.icon-arrow {
height: 31px;
max-height: 31px;
padding: 8px 5px 8px 20px;
color: #fff;
}

.card-style-minimal a:hover span.icon-arrow svg {
opacity: 1;
}

.card-style-minimal .item a:hover:before {
background: rgba(0, 0, 0, 0.4);
}

.card-style-minimal .item a:hover {
color: #fff;
}

.card-style-minimal .item a:hover svg {
color: #fff;
fill: #fff;
}

.card-style-minimal.style-dark .item a {
border: 0;
}

.card-style-minimal.style-dark span.icon-arrow {
background: var(--cta);
color: var(--cta);
}

@media only screen and (max-width:1400px) {
.card-style-minimal .item {
width: calc(33.33% - 20px);
}
}

@media only screen and (max-width:950px) {
.card-style-minimal .item {
width: calc(50% - 10px);
}

.card-style-minimal .item:nth-child(even) {
margin-right: 0;
}
}

@media only screen and (max-width:600px) {
.card-style-minimal .item {
width: 100%;
margin-right: 0;
}
}

/*** Cards (Grid with Featured) ***/
.card-style-grid h2 {
text-align: center;
}

.card-style-grid .f-text {
margin-bottom: 64px;
}

.card-style-grid .cards-items {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.card-style-grid .grid-half {
width: 50%;
display: flex;
flex-wrap: wrap;
margin-bottom: 30px;
}

.card-style-grid .grid-half:nth-child(odd) {
padding-right: 15px;
}

.card-style-grid .grid-half:nth-child(even) {
padding-left: 15px;
}

.card-style-grid .grid-half .item.featured {
width: 100%;
height: 630px;
border: solid 1px var(--lightborder);
}

.card-style-grid .grid-half .item.normal {
height: calc(50% - 15px);
margin-bottom: 30px;
width: calc(50% - 15px);
margin-right: 30px;
height: 300px;
border: solid 1px var(--lightborder);
}

.card-style-grid .item .img {
height: 100%;
width: 100%;
position: absolute;
left: 0;
top: 0;
background-position: center !important;
background-size: cover !important;
}

.card-style-grid .grid-half .item a {
text-decoration: none;
color: #fff;
display: flex;
height: 100%;
position: relative;
overflow: hidden;
}

.card-style-grid .grid-half .item a:before {
content: '';
display: block;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
background: linear-gradient(0deg, #000000a6, transparent);
transition: all 600ms;
z-index: 1;
}

.card-style-grid .grid-half .item h3 {
margin-bottom: 8px;
font-size: 20px;
text-align: center;
font-weight: 700;
color: #fff;
}

.card-style-grid .grid-half .item p {
text-align: center;
font-size: 0.75em;
margin-bottom: 0;
color: #fff;
transition: all 500ms;
}

.card-style-grid .grid-half .item a:hover p.secondary {
margin-bottom: 10px;
}

.card-style-grid .grid-half .item a .text {
width: 100%;
position: absolute;
bottom: 10px;
padding: 20px;
transition: all 600ms;
z-index: 2;
}

.card-style-grid .grid-half .item.normal:nth-child(even) {
margin-right: 0;
}

.card-style-grid .grid-half .item.normal:nth-child(3),
.card-style-grid .grid-half .item.normal:nth-child(4) {
margin-bottom: 0;
}

.card-style-grid .grid-half .item {
background-size: cover !important;
background-position: center !important;
}

.card-style-grid .grid-half .item a:hover:before {
height: 140%;
background: linear-gradient(0deg, rgb(0 75 135 / 94%), transparent);
}

.card-style-grid.style-dark .grid-half .item {
border: solid 1px var(--primaryborder);
}

.card-style-grid .item .desc {
overflow: hidden;
max-height: 0;
width: 400px;
max-width: 100%;
text-align: center;
margin: 0 auto;
transition: all 800ms;
}

.card-style-grid .item .desc p {
margin-bottom: 16px;
}

.card-style-grid .item a:hover .desc {
max-height: 200px;
}

.card-style-grid span.btn-cta {
font-weight: 700;
background: #fff;
padding: 8px 24px;
display: inline-block;
border-radius: 25px;
color: var(--primary);
font-size: 14px;
transition: all 400ms;
}

.card-style-grid span.btn-cta:hover {
background: var(--primaryalt);
color: #fff;
}

@media only screen and (max-width:1200px) {
.card-style-grid .grid-half {
width: 100%;
padding: 0 !important;
}

.card-style-grid .grid-half .item.featured {
height: 300px;
}

.card-style-grid .grid-half .item.normal {
width: calc(50% - 15px);
}
}

@media only screen and (max-width:600px) {
.card-style-grid .grid-half .item.normal {
width: 100%;
margin-right: 0;
margin-bottom: 30px !important;
}

.card-style-grid .grid-half .item.normal:last-child {
margin-bottom: 0 !important;
}

.card-style-grid .grid-half .item a:before {
height: 140%;
background: linear-gradient(0deg, rgb(0 75 135 / 94%), transparent);
}

.card-style-grid .item a .desc {
max-height: 200px;
}
}