#content {
	padding: 1.5rem;
}

.frame {
	width: 100%;
	float: left;
	height: auto;
	padding-top: 1rem;
}

.frame:first-child {
	padding-top: 0rem;
}

.frame span {
	background-color: white;
	width: 100%;
	display: inline-block;
	padding: 0.5em;
	box-sizing: border-box;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
}

.frame span:hover, .frame span:focus {
	cursor: pointer;
}

.frame span img {
	width: 40%;
	float: left;
}

.frame span section {
	width: 60%;
	float: left;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	box-sizing: border-box;
}

.frame h2 {
	margin: 0rem;
	margin-bottom: 0.2em;
	text-align: center;
}

.frame p {
	margin: 0em;
	text-align: center;
}

.modal {
	padding: 3rem 2rem 2rem 2rem;
	background-color: rgba(0, 0, 0, .8);
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.modal .modal-content {
	position: relative;
	margin: 0 auto;
	padding: 0rem 1rem 1rem 1rem;
	background-color: white;
	width: 100%;
	max-width: 800px;
}

.modal .slides {
	width: 100%;
	background-color: black;
	margin: 0rem;
}

.modal img {
	max-height: 400px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

.modal .close {
	color: black;
	float: right;
	font-size: 2rem;
	line-height: 1.8rem;
	height: 2rem;
	display: inline-block;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.modal .navigator {
	width: 100%;
	display: inline-block;
	background-color: #7E4301;
}

.modal .navigator span {
	height: 2rem;
	width: 10%;
	float: right;
	text-align: center;
	line-height: 2rem;
	font-size: 1.5rem;
	background-color: #7E4301;
	color: white;
	display: block;
	margin: 0rem;
}

.modal .navigator .numbertext {
	width: 80%;
	display: inline-block;
	text-align: center;
	margin: 0rem;
	line-height: 2rem;
	color: white;
}

.modal .navigator span:hover, .modal .navigator span:focus {
	background-color: #A06018;
	cursor: pointer;
}

.modal .navigator span:first-child {
	float: left;
}

@media (min-width: 60em) {

	#content {
		padding: 1rem;
	}

	.frame {
		width: 33.33%;
		padding: 0.5rem;
	}

	.frame:first-child {
		padding-top: 0.5rem;
	}

	.frame span img {
		width: 100%;
	}

	.frame span section {
		width: 100%;
	}

	.frame h2 {
		margin: 0.5em 0em 0.5em 0em;
	}
}