/***************************           Cards            *******************************/

/*.card-layout_style-1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  grid-gap: .4rem;
}*/

.width-3-cols, .width-4-cols {
	max-width: 400px!important;
	margin-top: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
}

.width-3-cols p, .width-4-cols p {
	padding-left: 15px;
	padding-right: 15px;
}

.card-layout_style-1 {
	display: flex;
	flex-wrap: wrap;	/*background-color: aqua;*/
	/* [disabled]padding-top: 20px; */
	/* [disabled]padding-bottom: 40px; */
	margin-top: -60px;
}

.card-layout_style-1 a, .card-layout_style-1:hover a {
	color: rgba(255,255,255,0.70);
}


.card-layout_style-1 .card_style-1 {
	border: 1px solid #FFFFFF;
	/* [disabled]-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15); */
	/* [disabled]box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15); */
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	position: relative;
	color: #727272;
	/* [disabled]background-color: #F0EFEA; */
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 20px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	transition: background-color 0.5s ease;
}

.card-content_style-1 {
	transition: .5s;
	padding-bottom: 20px;
}

.card-content_style-1:hover {
	/* [disabled]background-color: #00334D; */
	/* [disabled]color: #fff; */
}

/*.card-layout_style-1 .card_style-1:hover {
	background-color: #00334D;
	color: #fff;
}*/

.card-layout_style-1 .card_style-1.thumbnail {
	transition: background-color 0.5s ease;
}

.card-layout_style-1 .thumbnail img {
	fill: #c7c4c4;
	opacity: 0.4;
	transition: 0.3s;
	padding: 1.5rem;
	width: auto;
}

.thumbnail {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}

.thumbnail i {
	color: #ABA690!important;
	font-size: 6rem;
	transition: color .6s ease-in-out;
}

.card-layout_style-1 .card_style-1:hover .thumbnail i {
	color: #FFF!important;
}


.card-layout_style-1 .thumbnail:hover img, .card-layout_style-1 .thumbnail:hover a {
	opacity: 1;
}

.card-layout_style-1 .card-content_style-1 {
	font-size: .75rem;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	flex: 1;
}

.card-content_style-1 p:nth-child(2) { /* adds space above content text */
	/* [disabled]margin-top: 20px!important; */
}


.card-layout_style-1 footer {
	/* [disabled]border-top: 2px solid #e7e7e7; */
	margin-top: 1rem;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
	/* [disabled]min-height: 30px; */
	/* [disabled]font-size: .5rem; */
}

.card-layout_style-1 .card-category {
	/* [disabled]position: absolute; */
	/* [disabled]top: -8px; */
	/* [disabled]left: -4px; */
	color: #fff;
	padding-top: 2px;
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 2px;
	/* [disabled]font-family: 'PT Sans', sans-serif; */
	font-size: 1.2rem;
	font-weight: bolder;
	width: 100%;
	text-align: center;
	letter-spacing: 1px;
}

.card-layout_style-1 .category__01 {
	background-image: url(../images/backgrounds/boxes/1.jpg);
	background-position: center;
}

.card-layout_style-1 .category__02 {
	background-image: url(../images/backgrounds/boxes/2.jpg);
	background-position: center;}

.card-layout_style-1 .category__03 {
	background-image: url(../images/backgrounds/boxes/3.jpg);
	background-position: center;}

.card-layout_style-1 .category__04 {
	background-image: url(../images/backgrounds/boxes/4.jpg);
	background-position: center;}

.card-layout_style-1 .category__05 {
	background-image: url(../images/backgrounds/boxes/5.jpg);
	background-position: center;}

.card-layout_style-1 .category__06 {
	background-image: url(../images/backgrounds/boxes/6.jpg);
	background-position: center;
}

.card-bg__01 {
	background-color: #006283;
}
.card-bg__02 {
	background-color: #007EA8;
}
.card-bg__03 {
	background-color: #7E7E7E;
}
.card-bg__04 {
	background-color: #A35200;
}
.card-bg__05 {
	background-color: #9F8500;
}
.card-bg__06 {
	background-color: #8C0E10;
}

.img-header {
	height: 220px;
}

.card-layout_style-1 .card_style-1 p.card-category {
	transition: .3s ease-in-out;
	font-size: 1.3rem;
	font-weight: bolder;
	border-bottom: 1px solid rgba(255,255,255,0.00);
	background-color: rgba(0,0,0,0.15);
}
.card-layout_style-1 .card_style-1:hover p.card-category {
	background-color: #58595B!important;
	color: #fff!important;
	border-bottom: 1px solid rgba(255,255,255,1.00);
}

@media (min-width: 660px) {
	.width-3-cols {
	max-width: 800px!important;
	/* [disabled]padding-right: 25px; */
	/* [disabled]padding-left: 15px; */
	}
	.width-4-cols {
	max-width: 900px!important;
	padding-right: 25px;
	}
	.card-layout_style-1 {
		justify-content: center;
	}
	.width-4-cols .card_style-1 {
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	/* [disabled]margin-bottom: 4px; */
	flex-basis: 40%;
	}
	.width-3-cols .card_style-1 {
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	/* [disabled]margin-bottom: 4px; */
	flex-basis: 30%;
	}	
	
	.img-header {
		height: 220px;
	}	
}

@media (min-width: 900px) {
	.width-3-cols {
	max-width: 1200px!important;
	}
	.width-3-cols .card_style-1 {
		/* stays at 3 cols */
	}
	
	.width-4-cols {
	max-width: 1100px!important;
	}
	.width-4-cols .card_style-1 {
		flex-basis: 24%;
	}
	
	.img-header {
		height: 220px;
	}		
}
