@charset "utf-8";
/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
	max-width: 800px;
	background-color: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */
	font-family: Palatino, Verdana, Geneva, sans-serif;
	font-size: 1em;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #CCC;
	width: 800px;
	display: flex;
    justify-content: center;
    align-items: center;
    Use Flex
}
body {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
header {
	position: relative;
	top: 0;
	max-width: 700px;
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
}

#mainMenu {
	width: 800px;
	float: left;
	padding: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#mainMenu li {
	display: block;
	width: 100px;
	float: left;
	margin-left: 20px;
	border: thin none #CCC;
	text-align: center;
	list-style-type: none;
	background-color: #FFF;
}

#mainMenu a {
	display: block;
	text-decoration: none;
	background-color: #fff;
	color: #999;
	font-size: 0.9em;
	margin-right: auto;
	margin-left: auto;
	border: thin solid #CCC;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1.5em;
	list-style-position: outside;
	list-style-type: circle;
}

#mainMenu a:hover {
	background-color: #F63;
	color: #fff;
}
img {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	display: block;
}

address {
	font-size: 0.9em;
	font-style: italic;
	line-height: 1.6em;
	padding-bottom: 1em;
	padding-left: 3em;
	margin-top: 3em;
	margin-bottom: 3em;
	padding-top: 3em;
}
/* Style the top navigation bar */
.topnav {
	width: 760px;
	background-color: #FFFFFF;
	overflow: auto;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 3em;
	text-align: right;
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
}

.topnav a {
	float: left;
	color: #666;
	text-decoration: none;
	font-size: 0.75em;
	width: 10%; /* Five links of equal widths */
	text-align: center;
	background-color: #FFFFFF;
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 1.5em;
	padding-right: 15px;
}

.topnav a:hover {
	background-color: #F63;
}

.topnav a.active {
	background-color: #F63;
}


@media screen and (max-width: 500px) {
  . a {
	float: none;
	display: block;
	width: 100%;
	text-align: left;
	background-color: #3399ff;
  }


/* Ends Style Navlist */


/* ~~ Element/tag selectors ~~ */

ol {
	list-style-type: decimal;
	display: block;
	width: 80%;
	text-align: left;
	color: #999;
	padding-top: 1em;
	padding-right: 0;
	padding-bottom: 0.25em;
	padding-left: 4.5em;
}
ol li {
	list-style-type: decimal;
	list-style-position: outside;
	padding-bottom: 0.5em;
	color: #999999;
	padding-right: 2em;
	padding-left: 1em;
	font-size: 0.85em;
	line-height: 1.9em;
}
ol li a:visited, a hover; a active; {
	color: #C30;
	text-align: left;
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 0.5em;
}

ul {
	list-style-type: circle;
	display: block;
	width: 740px;
	text-align: left;
	color: #999;
	padding-left: 4em;
	margin-left: auto;
	margin-right: auto;
}
ul li {
	list-style-type: circle;
	list-style-position: outside;
	padding-bottom: 1em;
	color: #999;
	padding-top: 1em;
	font-size: 0.9em;
}


a:active  {
	background-color: #CCC;
	color: #666;
	list-style-type: none;
}
===========

p {
	font-size: 1em;
	line-height: 1.8em;
	color: #666;
	padding-left: 1.5em;
	text-align: left;
}

/* Style the top navigation bar */

 a:link, a:visited, a:hover,  a:active
{text-decoration: none 
}

address {
	font-size: 0.9em;
	font-style: italic;
	padding-left: 3em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	font-weight: normal;
	width: 700px;
	margin-left: 3em;
}

article {
	font-size: 1em;
	text-align: left;
	color: #666;
	line-height: 1.6em;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 1em;
	padding-right: 1.5em;
	padding-bottom: 1em;
	padding-left: 1.5em;
}

blockquote {
	font-size: 0.9em;
	line-height: 1.6em;
	padding-top: 1.6em;
	padding-right: 5em;
	padding-bottom: 1.6em;
	padding-left: 3em;
	color: #666;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-style: italic;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	color: #999999;
	text-align: left;
	font-weight: normal;
	text-indent: 1.5em;
}

h1{
	font-style : normal;
	font-size: 1.5em;
	padding-height : 3em;
	font-family : "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #CCCCCC;
	text-align: left;
	font-weight: normal;
	padding-bottom: 0.5em;
	line-height: 2.2em;
	padding-top: 1.5em;
}
hr {
	width: 75%;
}


h2 {
	font-style : normal;
	font-size: 1.2em;
	text-align: left;
	font-weight: normal;
	color: #999999;
	line-height: 1.8em;
	padding-left: 1.5em;
}

h3 {
	font-size: 1.2em;
	color: #B0B0B0;
	font-style: normal;
	text-align: left;
	font-weight: normal;
	line-height: 1.5em;
	padding-top: 1em;
	padding-left: 1.5em;
}

h4 {
	font-size: 112em;
	color: #B0B0B0;
	font-weight: normal;
	padding-right: 1.5em;
	padding-bottom: 1.5em;
	text-align: left;
	padding-top: 1.5px;
}

h5 {
	font-size: 14px;
	font-style: italic;
}

h6 {
	font-size: 0.6em;
	font-style: italic;
	text-align: left;
	border-left-style: none;
	color: #B0B0B0;
}

figcaption {
	font-size: small;
	font-style: italic;
	text-align: center;
	line-height: 110%;
}


a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: thin solid #CCC;
	margin-right: auto;
	margin-left: auto;
	width: 800px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: block;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */

a:link {
	color: #999999;
	text-decoration: none;
	font-size: 1em;
	font-weight: normal;
	list-style-type: none;
}

a:visited {
	color: #0099FF;
	text-decoration: none;
}

a:hover, a: active, a: focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
	color: #F63;
}

/* ~~ The footer ~~ */

.footer {
	position: fixed;
	display: inline-block;
	bottom: 0;
	left: 0px;
	max-width: 790px;
	height: 130px;
	padding: 10px;
	border: 1px solid #999999;
	line-height: -20%;
	width: 780px;
	text-align: center;
	margin-top: 0px;
	margin-right: auto;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	font-size: 0.9em;
}

.p1{
	font-size: 1.5em;
	text-align: center;
	color: #0C0;
	padding-bottom: 1px;
	line-height: 1em;
}
.p2{
	font-size: 0.95em;
	text-align: center;
	line-height: 0.95em;
}
.p3 {
	font-size: 0.85em;
	line-height: 0.7em;
	text-align: center;
}
