html, body {
	height: 100%;
	background-color: black;
	padding-top: 40px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 80px;
}

/* Nav Menu */
.menu-section {
    border-bottom: 1px solid;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.menu ul {
    /* background: hsl(0, 0%, 15%) none repeat scroll 0 0; */
    background: #262626;
    list-style-type: none;
    margin: 0;
    padding: 0;

}
.menu li a {
    color: white;
    display: block;
    /* padding: 0.6em 1em; */
    padding: 30px 10px;
    text-decoration: none;
}
/* Measy Edit Overide span reset*/
.menu span {
	bottom: 0px;
	top: 0px;
}
/* DropIn END */
.menu li a:hover {
    background: hsl(0, 0%, 25%) none repeat scroll 0 0;
}

 /* Styles for Advanced Menu */

.advanced-nav li a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.icon {
    flex: 0 0 1.5em;
    font-size: 1.8em;
}

.button-text {
    font-size: 1.8em;
}

.button-text span {
    display: block;
    font-size: 40%;
    font-weight: lighter;
    font-style: italic;
}

@media screen and (min-width: 30em) {
    
    .advanced-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .advanced-nav li {
        display: flex;
        flex: 1 0 12em;
    }
    
}
		
/* End Nav Menu */

/* New Social Menu */

.social-menu li a:before {
    font-family: 'Fontawesome';
    -webkit-font-smoothing: antialiased;
    content: '\f08e';
}

.social-menu li a[href*="twitter.com"]::before {
	content: '\f17d';
}

.social-menu li a[href*="facebook.com"]::before {
	content: '\f09a';
}
.social-menu li a[href*="linkedin.com"]::before {
	content: '\f0e1';
}
.social-menu li a[href*="youtube.com"]::before {
	content: '\f167';
}
.social-menu li a[href*="instagram.com"]::before {
	content: '\f16d';
}
.social-menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* New Social Menue End */

/* Main Page Images */
#flex-container {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

ul li {
	flex-grow: 1;
	width: 250px;
	padding-top: 45px;
	font-weight: bold;
	font-size: 2em;
	text-align: center;
	margin: 0;
	padding: 0;
	position: relative;
}

ul li img {
	width: 100%;	
}

ul li a span { 
	position: absolute;
	color: white;
	bottom: 7px;
	left: 15px;
	z-index: 3;
}
/* gradient */
ul li:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: inline-block;
	cursor: pointer;
	/* http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
.magnify {
	background: url(../images/play.png) no-repeat;
	/* background-image: url(../images/magnify.png) no-repeat; */
	position: absolute;
	z-index: 5;
	width: 53px;
	height: 54px;
	opacity: 0;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

ul li:hover .magnify {
	opacity: 100 !important;
}

ul li:hover {
	opacity: .8;
}

/* End Main Page Images */