/***************************           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-4-cols {
	max-width: 400px!important;
	margin-top: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
}

.width-4-cols p {
	padding-left: 15px;
	padding-right: 15px;
}

.card-layout_style-1 {
	display: flex;
	flex-wrap: wrap;	/*background-color: aqua;*/
	padding-top: 20px;
	padding-bottom: 40px;
}

.card-layout_style-1 .card_style-1 {
	/*height: 200px;*/
  /*background: red;*/
	/* [disabled]border: 1px solid rgba(255,255,255,0.20); */
	/* [disabled]border-bottom-left-radius: 4px; */
	/* [disabled]border-bottom-right-radius: 4px; */
	/* [disabled]border-top-right-radius: 4px; */
	/* [disabled]border-top-left-radius: 4px; */
	/* [disabled]padding: .5rem; */
	/* [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;
	background-color: #F0EFEA;
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 20px;
	transition: background-color 0.5s ease;
}

.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: 200px;
}

.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;
    flex: 1;
}

.card-content_style-1 p:nth-child(2) { /* adds space above content text */
	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: 4px;
	padding-right: 20px;
	padding-left: 15px;
	padding-bottom: 4px;
	/* [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-color: #11718A;
}

.card-layout_style-1 .category__02 {
	background-color: #B8B67F;
}

.card-layout_style-1 .category__03 {
	background-color: #6B8CA2;
}

.card-layout_style-1 .category__04 {
	background-color: #A2726B;
}

.card-layout_style-1 .category__05 {
  background-color: #8350a0;
}

.card-layout_style-1 .card_style-1 p.card-category {
	transition: .3s ease-in-out;
}
.card-layout_style-1 .card_style-1:hover p.card-category {
	background-color: #00334D!important;
	color: #fff!important;
}

@media (min-width: 660px) {
	.width-4-cols {
	max-width: 900px!important;
	padding-right: 25px;
	}
	.card-layout_style-1 {
		justify-content: center;
	}
	.card-layout_style-1 .card_style-1 {
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	/* [disabled]margin-bottom: 4px; */
	flex-basis: 40%;
	}
}

@media (min-width: 900px) {
	.width-4-cols {
	max-width: 1100px!important;
	}
	.card-layout_style-1 .card_style-1 {
		flex-basis: 24%;
	}
}
