/* Shared styles for BeNigma International inner pages (About, Contact, Terms, Blog) */
html {
	background: #1d3350 url('../wp-content/uploads/2019/08/benigma-2.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
	background-size: cover;
}
.seed-csp4 body {
	background: transparent;
	font-family: Helvetica, Arial, sans-serif;
	color: #555555;
	text-align: left;
}
.seed-csp4 h1, .seed-csp4 h2, .seed-csp4 h3, .seed-csp4 h4, .seed-csp4 h5, .seed-csp4 h6 {
	font-family: Helvetica, Arial, sans-serif;
	color: #1d3350;
}
.seed-csp4 a, .seed-csp4 a:visited { color: #1e8f4e; }
.seed-csp4 a:hover, .seed-csp4 a:focus { color: #003366; }

#seed-csp4-page {
	background-color: rgba(0, 0, 0, 0.5);
	padding: 40px 16px 60px;
	min-height: 100%;
}
#seed-csp4-content {
	max-width: 860px;
	margin: 0 auto;
	padding: 28px 32px;
	background-color: #f7f7f7;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
}

/* Tagline inside the content card */
.site-tagline {
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #1d3350;
	border-bottom: 1px solid #ddd;
	padding-bottom: 12px;
	margin: 0 0 24px;
}

/* Content */
.page-content h1.page-title { margin-top: 0; font-size: 30px; line-height: 1.2; }
.lead-text { font-size: 17px; line-height: 1.6; color: #333; }
.page-content p, .page-content li { line-height: 1.7; font-size: 15px; }
.page-content h2 { font-size: 22px; margin-top: 30px; }
.page-content h3 { font-size: 18px; margin-top: 22px; }

.grid {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-ms-flex-wrap: wrap; flex-wrap: wrap;
	margin: 0 -8px;
}
.grid > .card {
	-webkit-box-flex: 1; -ms-flex: 1 1 240px; flex: 1 1 240px;
	margin: 8px;
}
.card {
	background: #fff;
	border: 1px solid #e3e3e3;
	border-left: 4px solid #1e8f4e;
	border-radius: 4px;
	padding: 16px 18px;
}
.card h3 { margin-top: 0; font-size: 17px; }
.card p { margin-bottom: 0; }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 10px; }
.contact-list strong { display: inline-block; min-width: 90px; color: #1d3350; }
.map-wrap {
	position: relative;
	padding-bottom: 50%;
	height: 0;
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-top: 10px;
}
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.btn-mail {
	display: inline-block;
	background: #1e8f4e;
	padding: 10px 18px;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
}
.seed-csp4 .btn-mail, .seed-csp4 .btn-mail:visited, .seed-csp4 .btn-mail:hover { color: #fff; }
.seed-csp4 .btn-mail:hover { background: #1d3350; }

/* Blog */
.post-index { list-style: none; padding: 0; }
.post-index li { margin-bottom: 6px; }
.post {
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	padding: 22px 24px;
	margin-bottom: 22px;
}
.post h2 { margin-top: 0; font-size: 21px; }
.post-meta { font-size: 13px; color: #888; margin-bottom: 14px; }
.post-meta .tag {
	display: inline-block;
	background: #e8f5ee;
	color: #1e8f4e;
	padding: 1px 8px;
	border-radius: 10px;
	margin-left: 6px;
	font-weight: bold;
}
.back-top { font-size: 13px; }

.updated { font-size: 13px; color: #888; }

/* Footer */
.site-footer {
	border-top: 1px solid #ddd;
	margin-top: 30px;
	padding-top: 16px;
	text-align: center;
	font-size: 13px;
	color: #777;
}
.site-footer a { margin: 0 6px; }

@media (max-width: 600px) {
	#seed-csp4-content { padding: 20px 16px; }
	.page-content h1.page-title { font-size: 24px; }
	.page-content h1, .page-content h2 { overflow-wrap: break-word; word-wrap: break-word; }
	.map-wrap { padding-bottom: 75%; }
}
