* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@font-face{
	font-family:headerFont;
	src:url(../fonts/font1.ttf);
	}
header, article, nav, footer, section, figure, figcaption, aside {
	display: block;
}
body {
	width: 100%;
	margin: 0;
	padding: 0;
	height: auto;
	font-size: 100%;
	position: relative;
	background-color: #11113C;
}
#centeringDiv {
	max-width: 980px;
	width: 100%;
	height: auto;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	padding: 0;
	min-height: 700px;
	position: relative;
	background-color: #12123C;
}
header {
	width: 100%;
	height: 150px;
	position: relative;
	z-index: 1000;
	font-family: headerFont;
	background-image: url(../images/header.jpg);
}
nav {
	width: 100%;
	height: 27px;
	position: relative;
	background-color: #EC202F;
	margin-left: auto;
	margin-right: auto;
	z-index: 1001;
	-webkit-display: flex;
	display: flex;
	justify-content: center;
	flex-wrap: no-wrap;
}
.btn {/*adjust as needed for all buttons*/
	width: 150px;
	height: 50px;
	cursor: pointer;
	margin-left: 10px;
	text-align: center;
	font-family: headerFont;
	color: #FDFDFD;
}
#allArticles {
	height: 600px;
	width: 980px;
	/* overflow: hidden; /*Necessary to hide non-visible articles*/
	position: relative;
	clear: both;/*ensures articles start below anything above, not to the side*/
	color: #FFFFFF;
	font-family: alegreya-sc;
	font-style: normal;
	font-weight: 400;
	font-size: 1.3em;
}
#allArticlesWrapper {
	position: absolute;
	z-index: 100;
	height: 600px;/*should be total height of 1 article including padding and margin*/
	width: 5000px;/*total width of ALL individual articles including padding and margin*/
	left: 0px;
	top: 0px;
}
article {
	margin: 10px;
	height: 580px;
	width: 960px;
	position: relative;
	float: left;/*positions all articles side by side*/
	color: #FFFFFF;
	min-height: calc(100vh - 300px);
}
 	.floatRight {/*YOU MAY ALREADY HAVE THIS SO don't copy this in such a case*/
	float:right;
}
.floatLeft {/*YOU MAY ALREADY HAVE THIS so don't copy this in such a case*/
	float:left;
}


.wrap {
	-webkit-shape-margin:0.2rem;/*This determines how close you want the text to be to the image*/
	-moz-shape-margin:0.2rem;/*rem stands for root em - you are changing the size relative to the size of 1em of the body (root) css instead of relative to the font-size of the parent container*/
	-ms-shape-margin:0.2rem;
	-o-shape-margin:0.2rem;
	shape-margin:0.2rem;
}
#magThumb {/*Repeat this blcok for all image you want text to wrap around*/
	-webkit-shape-outside: url("../images/magazineThumbnail.png");/*IMPORTANT!!!! - the URL path is relative to the CSS file, NOT the html file*/
	-moz-shape-outside: url("../images/magazineThumbnail.png");
	-ms-shape-outside: url("../images/magazineThumbnail.png");
	-o-shape-outside: url("../images/magazineThumbnail.png");
    shape-outside: url("../images/magazineThumbnail.png");
	
}
#thumbnails {
    width:800px;
    height:800px;
    position:relative;
    top:0;
    margin:20px auto;
}
.btnBox {/*container for each thumbanil*/
	float: left;/*allows for reshuffling depending upon window size*/
	position: relative;
	overflow: hidden;
	background-image: url(../images/btnBoxBackground.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.btnBox, .btnBox figure img {
    width:200px;
    height:200px;
}
.btnBox figure  img{
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 40;
	cursor: pointer;
}
.btnHolder {
	width: 100%;
	height: auto;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 50;
}
.boxHeader {
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	margin-top: 15px;
	margin-bottom: 10px;
}
.boxText {
	width: 80%;
	height: 50%;
	margin:0 auto;
	font-size: 0.9em;
}
.btnView {
	width: 50%;
	margin: 10px auto;
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #000000;
	padding: 5px;
	color: #FFFF00;
}
.btnView a:link, .btnView a:visited {
	color: #FFFF00;/*text link color and when visited*/
	text-decoration: none;
}
.btnView a:hover, .btnView a:active {
	color: #FF6666;/*text hover color and when active or as mouse is pressed down*/
	text-decoration: none;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	max-width:853px;/*same width as video itself*/
	width:100%;
	margin:0 auto;/*centers the video*/
	margin-top: 100px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	max-width:853px;/*same width as video itself*/
	max-height:480px;/*same height as video itself*/
	width: 100%;
	height: 100%;
}
#pic1 {
	width:127px;
	height:200px;
	margin:10px;
	float:left;
}
.clearFloat {
	width:100%;
	height:0;
	clear:both;
}
