/* Custom styling for the Links page. */

.entry-content ul {
	width: 100%;
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.entry-content ul li {
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.entry-content ul li:last-child {
	border: none;
}

.entry-content ul ul {
	margin-top: 10px;
	height: 150px;
}

.entry-content ul li a {
	font-size: 1.5em;
	font-family: Oswald, Arial, sans-serif;
	font-weight: bold;
}

.entry-content ul ul li {
	display: inline;
	padding: 0;
	border: none;
	margin: 0;
}

.entry-content ul ul li:first-child {
	width: 25%;
	float: left;
	margin-right: 10px;
}

.entry-content ul ul li:first-child img {
	max-height: 150px;
}

.entry-content ul ul li:nth-child(2) {
	width: 74%;
	height: 150px;
	display: flex;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

/* Mobile Screen Styling*/
@media screen and (max-width: 600px) {
	.entry-content ul ul {
		height: auto;
	}

	.entry-content ul ul li {
		display: block;
	}
	
	.entry-content ul ul li:first-child {
		width: 100%;
		float: none;
		margin-right: 0;
		text-align: center;
	}
	
	.entry-content ul ul li:nth-child(2) {
		width: 100%;
		height: auto;
		display: auto;
	}
}

/* Tablet Screen Styling */
@media screen and (min-width: 600px) and (max-width: 1000px) {
	.entry-content ul ul li:first-child img {
		width: 100%;
		vertical-align: middle;
	}
	
	.entry-content ul ul li:first-child {
		height: 150px;
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	
	.entry-content ul ul li:nth-child(2) {
		width: auto;
	}
}