html{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
h2 {
	color: #fff;
	
}

#container{
	margin-left: 15px;
	width:95%;
	color: #FFFFFF;
	position:fixed;
	height: 7em;
	background: #34507c;
}
#container1{
	float: left;
	margin-top: 6em;
	margin-left: 3em;
	width: 43%;
		/*border: 1px double blue;*/
}
#container2{
	float: right; 
	margin-right: 5em;
	margin-top: 8em;
	width: 42%;
	padding: 0;
		/*border: 1px solid black;*/
}
h5{
	position: fixed;
	color: #fff;
	margin-left: 4.5em;
	margin-top: -4em;
}
video{
	width: 100%;
	height: 350px;
}
.Communitypic{
	width: 100%;
	height: 320px;
}

h1{
	text-align: center;
	margin-top: -45px;
}

#Adventist{
	float:left;
	margin-top: -.5em;
	margin-left: 12em;
	height: 2em;
	text-decoration: none;
	position: absolute;
	 border-bottom: 1px solid #fff;
}
#Adventist a{
	text-decoration: none;
}

#Adventist h2{
	margin-top: .1em;
	
}
#Community{
	float: right;
	margin-right: 10em;
	margin-top: -1.5em;
	height: 3em;
	position: relative;
	border-bottom: 1px solid #fff;
}
#Community a{
	text-decoration: none;
}
.nav {
	margin-left: 6em;
	margin-top: 1.5em;
	position: absolute;
	width: 40%;
	/*	border: 1px dashed #FFFFFF;*/
	
}
.nav2{
	float:right;
	margin-right: -22em;
	margin-top: 1.5em;
	position: relative;
	width: 35%;
	/*	border: 2px solid red;*/
}

.nav li {
	display: inline-block; /*prevents a dot appearing next to the menu items*/
	padding: 8px 5px;
	margin-left: 5px;
}

ul ul{
	display: none;
	position: absolute;
	top: 100%;
	width: 45px;
	z-index: 450;
}
.nav2 ul ul{
	display: none;
	position: absolute;
	top: 100%;
	width: 45px;
	z-index: 450;
}

ul ul li a{
	margin-left: -3em;
}

ul li {
	float: left;
}
ul li:hover ul{
	display: block;
	background-color: #34507c;
}
ul ul li{
	float: none;
}
.nav2 li {
	display: inline-block;
	padding: 8px 5px;
	margin-right: -10px;
}

.nav li a {
	text-decoration: none; /*prevents the menu items from being underlined*/
	text-align: center;
	color: #FFFFFF;
	padding: 4px 10px ; /* determines the size of the menu item block*/
	
}
.nav2 li a {
	text-decoration: none;
	text-align: center;
	color: #FFFFFF;
	padding: 4px 10px;
}

.nav li a:hover {
	border-bottom: 2px solid #FFFFFF;
}
.nav2 li a:hover {
	border-bottom: 2px solid #FFFFFF;
}


@media screen and (max-width:1036px){
	h1{
		top: 35%;
		left: 2%;
		margin-left: 1px;
		width: 60%;
		color:black;
		height: auto;
		font-size: 150%;
}
}
/*.nav{
		width: 100%;
		background-color: #FFFFFF;
		list-style-type: none;
		text-align: left;
		margin-top: -1px;
		height: 40px;
		float: right;
		
	}
.nav > li{
		text-decoration: none;
		width: 100%;
		padding:0;
		margin-top: 10px;
		display: block;
		color:#FFFF00;
		text-align: center;
		float: right;
	}
.nav > li > a {
	float:right;
	color:black;
	background-color:#E9E9E9;
	padding: 0 .5em;
	height: auto;
	text-decoration: none;
	text-align: left;
	width: 6em;
	word-wrap:break-word
	}
}
@media screen and (max-width:480px){

img{
	max-width: 100%;
	height: : 100%;
}
div#container{
margin-left: 15%
}
}*/
