/**
* This is the foundation css file for aaronsnotebook.com
*
* This document is organized into the following sections:
* * Structure: the major features of the website (such as the body, or the header)
* * Navigation: standard styling for all links, for internal navigation and linking out
*
* Most recent major style revision: January 14, 2017
*
* Gradient code from http://www.colorzilla.com/gradient-editor/
* Navigation (including responsive design code) from http://css-snippets.com/simple-horizontal-navigation/ (lisa_catalano)
*/


/* Structure */

/* Clear any default formatting from the browser*/
* {
	margin: 0px;
	padding: 0px;
}

html {
	min-height: 100%;
}

body {
	width: calc(100% - 20px);
	min-height: 100%;
	margin-left: 20px;
	font-size: 20px;
	overflow-y: scroll;

	/* Gradients by browser */
	background: #fcfff4; /* Old browsers */
	background: -moz-linear-gradient(left,  #fcfff4 10%, #e9e9ce 72%); /* FF3.6+ */
	background: -webkit-gradient(linear, left, color-stop(10%,#fcfff4), color-stop(72%,#e9e9ce)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #fcfff4 10%,#e9e9ce 72%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #fcfff4 10%,#e9e9ce 72%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #fcfff4 10%,#e9e9ce 72%); /* IE10+ */
	background: linear-gradient(to right,  #fcfff4 10%,#e9e9ce 72%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#e9e9ce',GradientType=0 ); /* IE6-9 */

}


article, header, section, footer, aside, nav {
	display: block;
}

/* div contains the contents of the page */
#wrapper {
	max-width: 960px;
	padding: 5px;
	margin: auto;
}

/* contains the div page_header and the nav div */
#header {
	border: 3px solid black;
	margin: 20px 0px 0px 0px;
	border-radius: 30px;
	overflow: auto;
	display: block;
}

#page_header {
	background: #b2e1ff; /* Old browsers */
	background: -moz-linear-gradient(top,  #b2e1ff 0%, #b2e1ff 0%, #b2e1ff 0%, #b2e1ff 0%, #b2e1ff 20%, #51bcff 50%, #b2e1ff 75%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2e1ff), color-stop(0%,#b2e1ff), color-stop(0%,#b2e1ff), color-stop(0%,#b2e1ff), color-stop(20%,#b2e1ff), color-stop(50%,#51bcff), color-stop(75%,#b2e1ff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 20%,#51bcff 50%,#b2e1ff 75%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 20%,#51bcff 50%,#b2e1ff 75%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 20%,#51bcff 50%,#b2e1ff 75%); /* IE10+ */
	background: linear-gradient(to bottom,  #b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 0%,#b2e1ff 20%,#51bcff 50%,#b2e1ff 75%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2e1ff', endColorstr='#b2e1ff',GradientType=0 ); /* IE6-9 */
	/*border: 3px solid #000;*/
	padding: 10px;
	display: flex;
	border-bottom: 3px solid #000;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#sitename {
	float:left;
	font-size: 24px; 
	font-weight: bold; 
	font-family: "Times New Roman";
	white-space: nowrap;
}

#nav {
	/* no styles */
}

#nav ul {
	text-align: center;
	list-style: none;
	background-color: #444;
	padding: 0px;
	margin: 0px;
}

#nav ul li {
	font-family: sans-serif;
	font-size: 1.2em;
	line-height: 40px;
	height: 40px;
	border-bottom: 1px solid #888;
	display: inline-block;
	float: center;
}

#nav ul li a {
	text-decoration: none;
	color: #fff;
	display: block;
	transition: .15s background-color;
}

#nav ul li a:hover {
	background-color: #005f5f;
}

@media screen and (min-width: 600px) {
	#nav li {
		width: 170px;
		border-bottom: none;
		height: 50px;
		line-height: 50px;
		font-size: 1.4em;
	}
	#nav li {
		float: left;
	}
	#nav ul {
		overflow: auto;
		width: 860px;
		margin: 0 auto;
	}
	#nav {
		background-color: #444;
	}
}


#main_section {
	width: 100%;
	overflow: auto;
	margin: 0px 0px;
	padding: 10px 0px;
	-webkit-box-flex: 1;
	flex: 1 1 auto;
}

#page_footer {
	height: 15px;
	width: 100%;
	bottom: 0;
	left: 0;
	text-align: center;
	margin: 5px 0px;
	padding: 10px 0px;
	border-top: 2px solid green;
}


/* Login */

#username_box {
	width: 150px;
}

#username {
	color: #2242cf;
}

#login {
	position: relative;
	width: 700px;
	text-align: right;
	float: right;
	font-size: 24px; 
	font-weight: bold; 
	font-size: 18px;
}
#login a {
	text-decoration: none;
	font-size: 1.2em;
	float: right;
	width: 1.2em;
	line-height: 1.2em;
	border-radius: 100%;
	text-align: center;
	font-size: 24px;
	margin: 0px 3px;
	font-family: "Tahoma";
	font-family: "Lucida Console";
	color:#ffffff;
	background-color: #222;
}

#login a:visited {
	color:#ffffff;
}

#login a.user {
	color:#ffffff;
	background-color: green;
}

#login a.user:visited {
	color:#ffffff;
}

#login a.admin {
	color:#000;
	background-color: #fff;
}

#login a.admin:visited {
	color:#000;
}


/* General content styles */
p {
	margin: 10px 0px;
	text-align: justify;
	justify-content: auto;
}


/* Header styles */
h1, h2, h3 {
	font-family: "Trebuchet MS";
	font-weight: bold;
	margin: 15px 0px;
}

h1 {
	font-size: 30px;
	color: #403f40;
}

h2 {
	font-size: 24px;
	color: #670f02;
}

h3 {
	font-size: 22px;
	color: #CC0000;
}

/* Set the bullets and indentation here to offset * selector above (which cleared all defaults) */
ol, ul {
	margin: 0em 2em;
}


/* Navigation */

/* Default anchor style */
a:link {
	color: #0000ee;
}

/* The clear-visited class set the anchor visited color to same as the default (does not indicate that the link was previously visisted) */
a.clear-visited {
	color: #000;
	background-color: #c6af2f;
	text-decoration: none;
	display: inline-block;
	border-radius: 7px;
	padding: 0px 7px;
	margin: 5px 0px;
}

/* navigation to step forward and backward between pages */
.page_nav {
	text-align: center;
	font-size: 32px;
	font-family: Tahoma;
	margin: 5px 0px;
}
.page_nav a {
	text-decoration: none;
	display: inline-block;
	background-color: #94afcf;
	border-radius: 7px;
	padding: 0px 7px;
}

a.step, a.back, a.breadcrumbs {
	text-decoration: none;
	display: inline-block;
	border-radius: 8px;
	margin: 2px;
	padding: 5px;
	text-shadow: 0px 1px 1px #222;
}

/* mouse over link */
a:hover {
	color: #D30038;
	text-decoration: none;
}

/* selected link */
a:active {
	color: #0000FF;
	text-decoration: none;
}

/* links for direct editing */
#edit a {
	display:inline-block;
	list-style:none;
	padding: 2px;
	font: bold 14px Tahoma;
	text-decoration: none;
}

/* This is used for stepping through adjacent or nested pages (ex: view table => edit table record) */
a.step {
	color: white;
	text-decoration: none;
	background-color: green;
	display: inline-block;
	border-radius: 4px;
	margin: 1px;
}

a.step {
	color: white;
	text-decoration: none;
	background-color: #484884;
	/*display: inline-block;
	border-radius: 4px;
	margin: 1px;*/
}

a.step:hover {
	background-color: LawnGreen;
}

a.back {
	color: white;
	text-decoration: none;
	background-color: MidnightBlue;
	display: inline-block;
	border-radius: 4px;
	margin: 1px;
}

a.back:hover {
	background-color: CornflowerBlue;
}



/*For navigation menus inside pages*/
.page_menu ol, .page_menu ul {
	margin: 0em 1em;
}

.page_menu a {
	text-decoration: none;
}
.page_menu a:hover {
	text-decoration: underline;
}

