/* type selectors */
* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	width: 96%;                         /* changed from 990 pixels */
	max-width: 1200px;                  /* maximum width of page */
	margin: 15px auto;
	padding: 15px 0;
	border: 1px solid black;
}

section, article, aside, h1, h2, h3, p {
	margin: 0;
	padding: 0;
}
section, article, aside {
	margin-bottom: 1em;
}
p {
	font-size: .875em;                  /* 14 / 16 */
	padding-bottom: .5em;
	line-height: 130%;
}
em {
	font-weight: bold;
}
a {
	font-weight: bold;
	text-decoration: none;
}
a:link, a:visited {
	color: #ffffff !important;
}
a:hover, a:focus {
	color: black !important;
}

/* the styles for the header */
header {
	font-family: 'Covered By Your Grace', cursive;
	width: 100%;                        /* full width of body */
	padding-bottom: 1em;
}
header img {
	float: left;
	width: 10%
}
.logo {
	transition: 2s;
}
.logo:hover {
	transform: rotate(25deg);
	-webkit-transform: rotate(25deg);
}
header h2 {
	font-size: 4em;                  /* 64 / 16 */
	color: black;
	margin-left: 13%;             /* 128 / 990 */
}
header h3 {
	font-size: 2em;                  /* 32 / 16 */
	font-style: bold;
	margin-left: 13%;             /* 128 / 990 */
}

/* the styles for the navigation menu - operation */
#nav_menu ul {
	font-family: 'Poiret One', cursive;
	width: 100%;                        /* full width of body */
	list-style-type: none;
	position: relative;
}
#nav_menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
}

#nav_menu ul ul li ul {
	position: absolute;
	left: 100%;
	top: 0;
}
#nav_menu ul li.lastitem ul li ul {
	position: absolute;
	left: -100%;
	top: 0;
}
#nav_menu ul li {
	float: left;
}
#nav_menu ul ul li { float: none;}
#nav_menu ul li:hover > ul {
	display: block;
}
#nav_menu > ul::after {
	content: "";
	clear: both;
	display: block;
}
/* the styles for the navigation menu - formatting */
#nav_menu ul {
	margin: 0;
	padding: 0;
}
#nav_menu ul li {
	width: 20%;                         /* 198 / 990 */
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	padding: .7em 0;
	background-color: #4d4d4d;
}
#nav_menu ul li a.current {
	color: #33ccff !important;
}
#nav_menu ul li:hover ul {
	width: 100%;
}
#nav_menu ul li:hover ul li:hover ul li {
	width: 100%;
}

/* the styles for the section */
section {
	width: 25%;                         /* 350 / 990 */
	float: left;
	margin-left: 2.0202%;                    /* 20 / 990 */
	padding: 1.5em 2.52525% 0 0;             /* 25 / 990 */

}
section h1 {
	font-size: 1.625em;                      /* 26 / 16 */
	margin-bottom: .35em;
}
section h2 {
	font-size: 1.25em;                       /* 20 / 16 */
	margin-bottom: .35em;
}
a.date_passed {
	color: gray;
}
/* the styles for the article */
article {
	width: 25%;                         /* 350 / 990 */
	float: left;
	margin-left: 2.0202%;                    /* 20 / 990 */
	padding: 1.5em 2.52525% 0 0;             /* 25 / 990 */

}
article h1 {
	font-size: 1.625em;                      /* 26 / 16 */
	margin-bottom: .35em;
}
article img {
	margin-bottom: 1em;
	max-width: 100%;                         /* full width of article */
}
article p {
	margin-bottom: .5em;
}
/* the styles for the sidebar */
aside {
	width: 64%;                        /* 535 / 990 */
	float: left;
	padding: 1.52%;                        /* 20 / 990 */
	background-color: #f2f2f2;
	margin: 0.5em 2.0202% 0 0;               /* 20 / 990 */
}
#caption {
	font-family: 'Poiret One', cursive;
}
aside li img {
	width: 10%;
}
aside li {
	display: inline;
}
/* the styles for the form*/
form {
	font-family: 'Poiret One', cursive;
}
form p {
	font-size: 100%;
}
label {
    float: left;
    width: 12em;
    text-align: right;
}
label, input {
	font-size: 100%;
}
input, textarea {
    width: 15em;
    margin-left: .5em;
    margin-bottom: .5em;
}
input:required, input[required] {
	border: 2px solid #800000;
}
input:valid {
	border: 1px solid black;
}
input:invalid {
	box-shadow: none;
}
/* the styles for the footer */
footer {
	clear: both;
	width: 100%;                             /* full width of body */
	border-top: 2px solid #4d4d4d;
	padding-top: .7em;
}
footer p {
	font-size: .75em;                        /* 12 / 16 */
	text-align: center;
	margin-right: 2.0202%;                   /* 20 / 990 */
}
/* hide the mobile menu initially */
#mobile_menu {
	display: none;
}
/* media queries */

/* tablet portrait to standard 960 */
@media only screen and (max-width: 959px) {
#nav_menu ul li a {
	font-size: .875em;                      /* 14 / 16 */
}
section h1, article h1 {
	font-size: 1.5em;                       /* 24 / 16 */
}
section h2, aside h2 {
	font-size: 1.125em;                     /* 18 / 16 */
}
}

/* mobile landscape to tablet portrait */
@media only screen and (max-width: 767px) {
#nav_menu {
	display: none;
}
#mobile_menu {
	display: block;
}
.slicknav_menu {
	background-color: #facd8a !important;	
}
body {
	width: 100%;                           /* full width of screen */
	margin: 0;                             /* no margins */
	border: none;                          /* no border */
}
header, footer p {
	text-align: center;
}
footer p { margin-right: 0; }
header h2 {
	font-size: 1.625em;                    /* 26 / 16 */
	margin: .4em 0 .25em 0;
}
header h3 {
	font-size: 1em;                        /* base font size */
	margin-left: 0;
}
header img {
	float: none;
}
section, article {
	width: 95.9596%;                       /* 100 - (2 * 2.0202) for padding */
	float: none;
	margin-right: 2.0202%;                 /* 20 / 990 */
	padding-right: 0;
}
article img {
	float: left;
	width: 50%;
	margin-right: 2%;
}
aside {
	width: 91.9192%;                       /* 100 - (4 * 2.0202) for padding and margins */
	float: none;
	margin: 0 2.0202% 2.0202% 2.0202%;     /* 20 / 990 */
}
}

/* mobile portrait to mobile landscape */
@media only screen and (max-width: 479px) {

header h2 {
	font-size: 1.375em;                    /* 22 / 16 */
}
header h3 {
	font-size: .8125em;                    /* 13 / 16 */
}
p {
	font-size: .875em;                     /* 14 / 16 */
}
section h1, article h1, section h2, aside h2 {
	font-size: 1em;                        /* base font size */
}
section li, aside li {
	font-size: .875em;                     /* 14 / 16 */
}
article img {
	float: none;
	width: 100%;
	margin-right: 0;
}
aside h3 {
	font-size: .9375em;                     /* 15 / 16 */
}
footer p {
	font-size: .6875em;                     /* 11 / 16 */
}

}
