div.modcards {
	padding: 15px;
	font-size: 16px;
	color: #005074;
	font-weight: bold;
	margin-bottom: 100px;
}
div.modcards h1 {
	text-align: center;
	max-width: unset;
}

div.modcards h2 {
	margin: 20px 0 !important;
	font-weight: 400;
/*	text-align: center;*/ 
	text-transform: unset;
}
ul.modcards{
	list-style: none;
	margin: 0 auto;
	padding: 0;
	clear: both;
/*	max-width: 700px;*/
}

ul.modcards li{
	margin: 0;
	display: inline-block;
	float: left;
/*	max-width: 300px;*/ 
}
ul.modcards input[type="radio"] {
	display: none;
}
ul.modcards label {
	margin: 4px;
	border: 2px solid white;
	padding: 3px;
}
ul.modcards input[type="radio"]:checked+label {
	border: 2px solid #005074;
}

div.modcards input[type=text] {
	border: 1px solid #005074 !important;
}

ul.modcards li a{
	color: #333;
	padding: 5px;
	font-weight: bold;
	font-size: 10px;
	display: inline-block;
}

div.modcards .fb {
	color: white;
	background-color: #3b5998;
	border: 0;
	text-transform: uppercase;
	padding: 5px 15px 5px 5px;
	font-size: 18.6px;
	font-weight: bold;
	margin-top: 40px;
}
div.modcards .em {
	color: white;
	background-color: #333;
	border: 0;
	text-transform: uppercase;
	padding: 5px 15px 5px 15px;
	font-size: 18.6px;
	font-weight: bold;
	margin-top: 40px;
	height: 52px;
}
div.modcards #cardmsg {
	width: 70%;
	max-width: 400px;
	height: 100px;
	border: 1px solid #005074 !important;
}

ul.modcards li a:hover,
ul.modcards li a:focus {
	opacity: .75;
	text-decoration: none;
	transform: translateY(-4px);
}

div.modcards .cardimg {
	margin: 0 auto;
	width: 80%;
/*	max-width: 800px;*/ 
	padding-top: 41.7%;
	position: relative;
	height: 0;
	overflow: hidden;
}
div.modcards .cardimg div {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	background-size: cover;
}
div.modcards .cardimg span {
	position: absolute;
	bottom: 0;
	color: white;
	font-weight: bold;
	font-size: 18px;
	line-height: 24px;
	padding: 20px;
	background: rgba(0,0,0,0.2);
	left: 0;
	right: 0; /*15%; */
	font-style: italic;
}

div.modcards .cardimg img {
	position: absolute;	
	right: 15px;
	width: 15%;
	bottom: 15px;
}
.cardn {
	text-align: right;
}
@media (max-width: 480px) {
	div.modcards .cardimg {
		width: 100%;
		padding-top: 52.2%;
	}
	div.modcards .fb,
	div.modcards .em {
		width: 100%;
	}
	.cardn {
		text-align: unset;
		}
}
