/*******************************
 * Success Stories
 ******************************/
section.success_stories {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #ccc;
}

aside.story_links nav {
	padding: 10px;
}

aside.story_links h3 {
	color: #666;
	text-align: center;
}

aside.story_links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

aside.story_links ul a:hover li {
    background: #fff;
}

aside.story_links ul li {
	margin: 0 0 1em 0;
    padding: 10px;
    background: rgba(255,255,255,0.75);
    border: 1px solid #ddd;
}

aside.story_links .profile_thumbnail {
	float: left;
	width: 25%;
	margin-right: 5%;
}

aside.story_links p {
	float: left;
	width: 70%;
}

.success_stories ul li {
    padding: 20px;
	background: #eee;
    background: rgba(0,0,0,0.05);
    margin: 20px 2.5%;
    border-bottom: 3px solid #ccc;
	width: 95%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	max-height: 188px;
	overflow: hidden;
}

.success_stories ul {
    margin: 0;
    padding:  0;
    list-style: none;
}

.success_stories ul .profile_thumbnail {
    float: left;
	width: 25%;
	margin-right: 20px;
	max-width: none;
}

.success_stories h3 {
	font-size: 16px;
	background: #efaa23;
	padding: 5px;
	color: #fff;
	display: inline-block;
	margin: 0 0 5px 0;
}

.success_stories a:hover h3 {
	background: #333;
}

.success_stories p {
	font-size: 12px;
	color: #333;
}

.figures {
    max-width: 580px;
}

.figures figure {
    margin: 2em 0;
    border-top: 4px solid #ccc;
    padding: 1em 0;
}

.figures figcaption {
    font-size: 0.75em;
    font-style: italic;
    text-align: center;
    background: rgba(255,255,255,0.5);
    color: #333;
    padding: 10px;
}

.figures figure img {
    max-width: 580px;
}

/************************************
 * Default styling for navigation
 ************************************/

 @media screen and (min-width: 500px) {

	.success_stories ul .profile_thumbnail {
		float: left;
		margin: 0 20px 20px 0;
		width: 125px;
	}


	.success_stories ul .profile_thumbnail img {
		width: 125px;
	}
}


@media screen and (min-width: 881px) {

	/************************
	 * Moved from 40em
	 ***********************/
	 section.thestory {
		width: 66.1016949152542%; /* 780 / 1180 */
		margin-right: 0.8474576271186%; /* 10 / 1180 */
		float: left;
	}

	section.thestory article {
		padding-right: 10px;
		box-sizing: border-box;
	}

	aside.story_links {
		float: left;
		background: #eee;
		margin-top: 86px;
	}

}

/*******************************
 * Media Breakpoint 905px
 ******************************/
@media screen and (min-width: 905px) {

	.success_stories ul li {
		width: 45%;
        margin: 2em 2.5% 2em 2.5%;
		float: left;
        box-sizing: border-box;
	}
}