.primary-container {
	background-color: #fafafa;
}

.web-window {
	background-image: url(../images/stock/Web-AmericanRetail.jpg);
	background-position: center 40px;
}

.main-container {
	width: 800px;
	margin: 0 auto;
	padding: 0 0 100px 0;
	background-color: #fff;
}

.main-heading-container {
	border-bottom: 2px solid #f0f0f0;
	margin: 0 0 25px 0;
}

.main-heading {
	margin: 0;
	padding: 50px 0 25px 0;
	font-weight: normal;
	font-size: 3em;
	color: #e0e0e0;
	text-shadow: -1px -1px 0 #c8c8c8;
	text-align: center;
}

/***** Sidebar Styles *****/

.sidebar {
	background-color: #333;
	padding: 10px 35px 45px 35px;
	width: 100px;
	display: inline-block;
	vertical-align: top;
}

.sidebar-header {
	text-align: center;
	font-weight: normal;
	color: #fff;
	border-bottom: 2px solid #fff;
}

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

.sidebar-item {
	width: 100%;
}

.sidebar-link {
	text-decoration: none;
	color: #ccc;
	width: 100%;
	display: block;
	padding: 3px 0;
	transition: color .125s;
}

.sidebar-link:hover {
	color: #fff;
	transition: color .125s;
}

/***** web Container Styles *****/

.web-catalog {
	/*width: 610px;
	margin-left: 10px;*/
	width: 710px;
	margin: 0 auto;
	display: block;/*inline-block;*/
}

.web-container {
	vertical-align: top;
	width: 240px;
	padding: 15px;
	margin: 15px 40px;
	box-shadow: 0 3px 5px #e0e0e0;
	display: inline-block;
	opacity: .75;
	transition: opacity .25s, padding .25s, margin .25s, box-shadow .25s;
}

.web-backdrop {
	background-image: url(../images/stock/Web-AmericanRetail.jpg);
	background-size: 100%;
	width: 220px;
	height: 100px;
	margin: 10px;
	position: relative;
	transition: width .25s, height .25s, margin .25s;
}

.math-match-backdrop {
    background-image: url(../images/stock/header-image.jpg);
}

.scatter-brains-backdrop {
    background-image: url(../images/games/scatter_brains.png);
}

.web-icon-container {
	position: relative;
	bottom: 35px;
	height: 100px;
	text-align: center;
	margin-bottom: -30px;/*Difference between margin and 25px = space between icon and title*/
}

.web-icon {
	width: 80px;
	padding: 10px;
	transition: padding .25s, width .25s;
}

.web-title {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #777;
	font-weight: normal;
	/*border-bottom: 2px dotted #e0e0e0;*/
	letter-spacing: 0;
	transition: letter-spacing .25s;
}

.web-highlights {
	text-align: center;/*justify;*/
	color: #aaa;
	padding: 0 5px;
}

.web-block {
	text-align: center;
	margin: 30px 0 15px 0;
}

.web-link {
	text-decoration: none;
	color: #fff;
	padding: 5px 25px;
	font-size: 1.25em;
	background-color: #e0e0e0;
	transition: background-color .25s;
}

/***** Hover Styles *****/
.web-container:hover {
	opacity: 1;
	transition: opacity .25s;
	padding: 30px;
	margin: 0px  25px;
	box-shadow: 0 10px 10px #e0e0e0;
	transition: opacity .25s, padding .25s, margin .25s, box-shadow .25s;
}
/*
.web-container:hover .web-title {
	letter-spacing: 2px;
	transition: letter-spacing .25s;
}*/

.web-container:hover .web-backdrop {
	width: 240px;
	margin: 10px 0;
	height: 100px;
	transition: width .25s, height .25s, margin .25s;
}

.web-container:hover .web-icon {
	width: 100px;
	padding: 0;
	transition: padding .25s, width .25s;
}

.web-container:hover .web-link {
	background-color: #09093a;
	transition: background-color .25s;
}

.web-container:hover .web-link:hover {
	background-color: #27279a;
	transition: background-color .25s;
}

@media only screen and (max-width: 800px){
	.main-container {
		width: 100%;
	}
	
	.web-catalog {
		width: 95%;
		text-align: center;
	}
	
	.web-container {
		margin: 15px 15px;
		font-size: 14px;
	}
	
	.web-container:hover {
		margin: 0 0;
	}
}