body {
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-color: rgba(0, 71, 171, 1);
    /*background-image: url('../images/background_top.jpg');
    background-repeat: no-repeat;
    background-size: 100% 7%;*/
	margin: 0;
	padding: 0;
	color: white;
}

#wrapperHeader {
	/*background:url(../images/background_top.jpg) repeat-x 0 0;*/
	background-color: rgba(0, 71, 171, 1);
	width: 100%;
	height: 158px;
	min-width: 500px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-width: 3px;
	border-style: solid;
	border-color: black;
	/*border-radius: 0px 0px 7px 7px;*/
}

#header {
	width: 100%;
	height: 100px;
	/*background-color: rgba(255, 255, 255, 1);*/
	margin-left: 20px;
	padding-top: 7px;
	max-width: 1500px;
	/*color: rgb(0, 0, 139);*/
	font-size: 45px;
	display: flex;
	/*justify-content: center;*/
	align-items: center;
	text-shadow: -2px 0 black, 0 5px black, 5px 0 black, 0 -2px black;
}

#header .headerLogo {
	width: 90px;
	height: 90px;
	margin-right: 30px;
}

/*Top Menu*/
#topNav {
	width: 100%; 
	height: 45px;
	background-color: rgba(220, 0, 22, 1);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	border-width: 0px;
	border-top-width: 3px;
	border-style: solid;
	border-color: black;
}

.btnTop {
	width: 118px;
	height: 30px;
  background-color: rgba(0, 71, 171, 1);
  background-image: url('../images/graybutton.png');
  background-position: center;
  margin-top: 5px;
	margin-left: 5px;
	border-radius: 5px;
	border-color: rgba(255, 255, 255, 1);
  color: rgb(255, 255, 255);
}

.btnTop:hover {
	background-color: rgb(0, 0, 139);
	background-image: url('../images/graybuttonhover.png');
  background-position: center;
	border-width: 2px;
	border-style: solid;
	border-color: rgba(255, 255, 255, 1);
	color: rgba(255, 255, 255, 1);
}

#page-container {
	position: relative;
	min-height: 50vh;
}

#wrapper {
	width: 90%;
  min-width: 700px;
  /*max-width: 1500px;*/
  
  padding-top: 1.5%;
  padding-left: 1%;
  padding-bottom: 1%;
  background-color: rgba(210, 180, 140, 1);
	border-width: 3px;
	border-style: solid;
	border-color: black;
	border-radius: 15px;
	overflow: hidden;
}

/*Left Menu*/
#leftBar {
	height: 99%;
	width: 7%;
	min-width: 110px;
	max-width: 200px;
	float: left;
  padding-right: 2%;
}

#leftNav {
  border: solid;
  width: 6%;
  min-width: 95px;
  max-width: 200px;
  position: fixed;
  border-radius: 10px;
  border-width: 3px;
  border-color: maroon;
  padding: 5px;
}

.btnLeft {
	height: 50px;
	width: 100%;
	min-width: 90px;
	background-color: rgba(128, 0, 0, .75);
  margin: auto;
  color: white;
}

.btnLeft:hover {
	background-color: rgba(100, 0, 0, .75);
	border-style: solid;
	border-color: white;
}

#content {
	width: 99%;
	/*color: rgb(101, 67, 33);*/
	font-size: 24px;
	margin: auto;
	padding-top: 7%;
}

#custH4 {
	font-weight: bold;
	font-size: 125%;
}

#custH3 {
	font-weight: bold;
	font-size: 145%;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
	font-weight: bold;
}

#rightalign {
	float: right;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

#footer {
	width: 100%;
	height: 75px;
	position: absolute;
	bottom: 0;
	background-color: rgba(220, 0, 22, 1);
	margin: 50px auto 0 auto;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
}

/**********************

    MEDIA QUERY

***********************/

@media screen and (max-width : 3840px){
		
	#leftNav {
		width: 2%;
	}
	
	#leftBar {
		width: 3%;
	}
	
/*	#wrapper {
		margin: 30px 0px 0px 30px;
	}*/
}

@media screen and (max-width : 2560px){
	
	#leftNav {
		width: 4%;
	}
	
	#leftBar {
		width: 5%;
	}
	
/*	#wrapper {
		margin: 30px 0px 0px 30px;
	}*/
}

@media screen and (max-width : 1920px){
	
   /* #content {
        width: 87%;
    }*/
	
	#leftNav {
		width: 5%;
	}
	
	#leftBar {
		width: 6%;
	}
}

@media screen and (max-width : 1400px){
	
 /*   #content {
        width: 86%;
    }*/
	
	#header {
		/*font-size: 40px;*/
	}
}

@media screen and (max-width : 1300px){
	
  /*  #content {
        width: 85%;
    }*/
	
	#header {
	/*	font-size: 35px;*/
	}
}

@media screen and (max-width : 1150px){
	
  /*  #content {
        width: 83%;
    }*/
	
	#header {
	/*	font-size: 30px;*/
	}
}

@media screen and (max-width : 950px){
	
	/*#content {
        width: 80%;
		border-left: none;
    }*/
	
    #leftBar {
        float: right;
		padding-right: 1%;
		padding-left: 1%;
    }
	
	#leftNav {
		position: relative;
	}
	
	#header {
		font-size: 35px;
	}
}