@charset "utf-8";

/*
	Yovanni Alcantar
	CIS233DA – 37526
	Final Project: Step 8
	08 December 2017
	
	Filename:	base.css
	Version:	8
				1 of 1 CSS files
*/




/* Colors Used Reference */
/*-------------------------------------------------*|
ADDED 06 NOVERMBER 2017								|
	rgb(0, 0, 50)			dark prussian blue		|
	rgb(41, 62, 26)			dark greenkind			|
	rgb(81, 21, 21)			dark brown				|
	rgb(132, 60, 12)		brown					|
	rgb(169, 209, 142)		light greenkind			|
	rgb(185, 227, 255)		pale blue				|
	rgb(214, 156, 108)		eggshell brown			|
	rgb(252, 250, 202)		eggshell white			|
---------------------------------------------------*/




/* Scroll to Top & Scrollbar & Selection */
/* Added 06 November 2017 */

/* REMOVED 27 NOVEMBER 2017 DUE TO SHOWING UP ON MOBILE
#scrollToTop:link,
#scrollToTop:visited{
	display: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 2;
}*/

::-webkit-scrollbar-thumb:vertical {
    background-color: rgb(214, 156, 108); /* eggshell brown */
	border-radius: 10px;
    height: 30px;
}
 
::-webkit-scrollbar-thumb:horizontal {
    background-color: rgb(214, 156, 108); /* eggshell brown */
    border-radius: 10px;
	width: 30px;
}
   
::-webkit-scrollbar { /* scrollbar background */
    background-color: rgb(252, 250, 202); /* eggshell white */
    height: 20px;
    width: 20px;
}
/*	===============================================
	Font Selection is Merely for Aesthetic Purposes			Added 27 November 2017
	===============================================
*/

		/*** Common Browsers ***/
::selection {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(185, 227, 255); /* pale blue */
}
		/*** For Webkit ***/
::-webkit-selection {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(185, 227, 255); /* pale blue */
}
		/*** Mozilla Based Browsers ***/
::-moz-selection {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(185, 227, 255); /* pale blue */
}
		/***For Other Browsers ***/
::-o-selection {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(185, 227, 255); /* pale blue */
}

::-ms-selection {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(185, 227, 255); /* pale blue */
}




/* HTML and Body Styles */
/* Added 06 November 2017 and since updated through 08 December 2017*/

html, body, input, select, button, a, a:hover {
	cursor: url('pawcursor.png'), auto;
}

body {
	margin: 0 auto;
	background: url(bg_plaid.jpg) fixed;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11pt;
	padding: 10px;
	min-height: 100%;	/* makes site at least as tall as viewport */
	min-width: 320px;
	max-width: 1024px;
	z-index: -4; 		/* to be behind the header */
	overflow-y: scroll; /* for scrollbar and mobile purposes */
}

body > div#wrapper {
	margin-top: 40px;
	min-width: 300px;
	max-width: 1000px;
	height: 100%;
}

a.source {
	padding: 0 2px 0 2px;
	color: rgb(252, 250, 202); /* eggshell white */
	background: rgb(214, 156, 108); /* eggshell brown */
	border-radius: 5px;
	text-decoration: none;
	font-style: italic;
}


a.source:hover {
	color: rgb(214, 156, 108); /* eggshell brown */
	background: transparent; /* eggshell white */
}

hr {

	border: 1px solid rgb(214, 156, 108); /* eggshell brown */
}


/* Header Styles */
/* Added 06 November 2017 and since updated through 08 December 2017*/

header {
	position: fixed;
    margin-top: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 50px;
	background: rgb(185, 227, 255); /* pale blue */
	z-index: 99;	/* to be infront of body and its contents */
}

header > h1 {
	color: rgb(255, 255, 255); /* white */
	font-family: "Courier New";
	font-size: 40pt;
	text-align: right;
	text-shadow: 2px 5px 0 rgb(169, 209, 142); /* light greenkind */
	margin-top: 0;
	z-index: 2;
}

header > img {
    position: fixed;
	margin: 0;
	height: 100%;
    left: 0px;
    right: 0px;
	height: 154px;
	width: 254px;
	z-index: -1;
}




/* Navigation Styles */
/* Added 06 November 2017 and since updated through 08 December 2017*/

div#wrapper > div#navContainer {
    position: fixed;
	margin-top: 104px;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
    left: 0;
    right: 0;
	width: 254px;
	height: 100%;
	color: rgb(41, 62, 26); /* dark greenkind */
	background: rgb(169, 209, 142); /* light greenkind */
	z-index: -2;
}

div#wrapper > div#navContainer > nav.vertical {
	display: block;
	width: 254px;
	padding: 0;
}

div#wrapper > div#navContainer > nav.vertical ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

div#wrapper > div#navContainer > nav.vertical a {
	display: block;
	padding: 5px 0 5px 0;
	width: 254px;
		-webkit-transition: all .5s ease;
		-moz-transition: all .5s ease;
		-o-transition: all .5s ease;
	color: rgb(252, 250, 202); /* eggshell white */
	background-color: rgb(214, 156, 108); /* eggshell brown */
	text-align: center;
	text-decoration: none;
}

div#wrapper > div#navContainer > nav.vertical a:hover {
	color: rgb(132, 60, 12); /* brown */
	background-color: rgb(252, 250, 202); /* eggshell white */
	border-right-color: rgb(132, 60, 12); /* brown */
	border-radius: 0 30px 30px 0;
	border-width: 0 2px 0 0;
	border-style: solid;
	width: 274px;
}

div#wrapper > div#navContainer > div#navIntro {
	border-color: rgb(252, 250, 202); /* eggshell white */
	border-width: 5px 0 5px 5px;
    border-style: dotted solid;
}

div#wrapper > div#navContainer > div#navIntro p {
	text-align: justify;
	letter-spacing: 1px;
	margin: 5px;
	padding: 5px;
}

div#wrapper > div#navContainer > div#navIntro h2#introHeader {
	margin: auto;
	padding-top: 10px;
	font-family: "Courier New";
	font-size: 15pt;
	color: rgb(41, 62, 26); /* dark greenkind */
	text-shadow: 2px 2px 0 rgb(255, 255, 255); /* white */
	text-align: center;
}


/* Main and Section Styles */
/* Added 06 November 2017, upadated, and since commented out through 08 December 2017*/

/* 	MOVED TO MEDIA QUERY
div#wrapper > main {
	display: block;
}

	MOVED TO MEDIA QUERY
div#wrapper > main > section {
	display: block;
	float: left;
	margin: 0 0 50px 150px;
}

	NEVER USED
div#wrapper > main > section#topics {
	width: 100%;
}*/




/* Article Styles */
/* Added 06 November 2017 and since updated through 08 December 2017*/

article.norm,
article.col {
	margin-bottom: 10px;
	background: rgb(252, 250, 202); /* eggshell white */
	border-color: rgb(214, 156, 108); /* eggshell brown */
	border-radius: 25px;
    border-style: dotted solid;
	border-width: 0 0 3px 3px;
	/*	27 NOVEMBER 2017
		.col To be looked at later.
		
		08 DECEMBER 2017
		.col finally used to establish
		connected columns.
	*/
}

article.mob { /* replaces navIntro */
	padding-top: 7px;
	display: none;
	background: rgb(169, 209, 142); /* light greenkind */
	border-color: rgb(41, 62, 26); /* dark greenkind */
	border-radius: 25px;
    border-style: dotted solid;
	border-width: 0 0 3px 3px;
}

article.mob p {
	text-align: center;
	color: rgb(41, 62, 26); /* dark greenkind */
}

article h2 {
	margin-top: 0;
	margin-bottom: 10px;
	padding: 5px 0 0 10px;
	border-radius: 20px 20px 0 0;
	color: rgb(255, 255, 255);
	background: rgb(214, 156, 108); /* eggshell brown */
	text-shadow: 2px 2px 0 rgb(132, 60, 12); /* brown */
	font-family: "Courier New";
	font-size: 30pt;
	text-align: left;
}

article h3 {
	margin-top: 0;
	margin-bottom: 0;
	padding: 5px 0 0 10px;
	color: rgb(132, 60, 12); /* brown */
	font-family: "Courier New";
	font-size: 20pt;
	text-align: left;
}

article p {
	color: rgb(81, 21, 21); /* dark brown */
	text-align: justify;
	word-wrap: break-word;
	margin-top: 10px;
	padding: 0 10px 0 10px;
	/* top right bottom left*/
}

article blockquote { 
	margin-left: 30px;
	padding-left: 5px;
	border-left: 5px solid rgb(81, 21, 21); /* dark brown */
	color: rgb(81, 21, 21); /* dark brown */
	font-size: 10pt;
}

article q {
	text-shadow: 2px 2px 0 rgb(185, 227, 255); /* pale blue */
	color: rgb(0, 0, 50); /* dark prussian blue */
	font-style: italic;
	padding: 1px;
	display: block; /* 08 December 2017: helps center text */
	text-align: center;
}

article video {
	display: block;
	margin: 10px auto;
	border-radius: 10px;
	border: 5px solid rgb(0, 0, 50); /* dark prussian blue */
}


/* Form Styles */
/* Added 13 November 2017 and since updated through 08 December 2017*/

form#myForm {
	padding: 10px;
	height: 100%;
	max-width: 700px;
}

form p#bluenote {
	font-size: 9pt;
	color: rgb(185, 227, 255); /* pale blue */
	background-color: rgb(0, 0, 50); /* dark prussian blue */
	border-radius: 10px;
	width: 70px;
	margin: auto;
}

fieldset {
	margin: auto;
	padding: 10px;
	border-radius: 10px;
	border-width: 5px;
	border-style: solid dotted;
	border-color: rgb(81, 21, 21); /* dark brown */
}

legend {
	font-family: Courier New;
	color: rgb(255, 255, 255); /* white */
	background: rgb(81, 21, 21); /* dark brown */
	font-size: 16pt;
    display: block;
    border: none;
}

label {
	display: block;
	padding: 5px;
	width: auto;
	float: left;
	clear: left;
	text-align: right;
}

input, textarea {
	padding: 5px;
	outline: none;
	width: 99%;
	border: none;
	color: rgb(214, 156, 108); /* eggshell brown */
	background-color: rgb(81, 21, 21); /* dark brown */
	resize: vertical;
}

button#mySubmit, button#myReset {
	float: right;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
	padding: 5px;
	width: 70px;
	border: 0px;
	color: rgb(0, 0, 50); /* dark prussian blue */
	background-color: rgb(214, 156, 108); /* eggshell brown */
	text-align: center;
}

button#mySubmit:hover, button#myReset:hover {
	color: rgb(214, 156, 108); /* eggshell brown */
	background-color: rgb(0, 0, 50); /* dark prussian blue */
}

.placeholder {
	font-family: Verdana;
}




/* Validation Styles */
/* Added 27 November 2017 and since updated through 08 December 2017*/

input:focus, select:focus, textarea:focus {
	background-color: rgb(153, 204, 255); /* pale blue */
	color: rgb(0, 0, 50); /* dark prussian blue */
}

input#myName:focus:valid,
input#myEmail:focus:valid,
textarea#LetterQuest:focus:valid {
	color: rgb(0, 0, 50); /* dark prussian blue */
	background: rgb(153, 204, 255) url(greencheck.png) bottom right/contain no-repeat; /* pale blue */
}

input#myName:focus:invalid,
input#myEmail:focus:invalid,
textarea#LetterQuest:focus:invalid {
	color: rgb(153, 204, 255);  /* pale blue */
	background: rgb(0, 0, 50) url(redx.png) bottom right/contain no-repeat; /* dark prussian blue */
}




/* Table Styles */
/* Added 27 November 2017 and since updated through 08 December 2017*/

table.formTable {
	margin: auto;
	height: 100%;
	max-width: 700px;
	border-radius: 10px;
	border: 6px solid rgb(214, 156, 108); /* eggshell brown */
	background-color: rgb(252, 250, 202); /* eggshell white */
	text-align: left;
}

table.formTable td, table.formTable th {
	padding: 5px 0 0 10px;
}

table.formTable tbody td {
	vertical-align: top;
	font-size: 13pt;
	padding-bottom: 5px;
}

table.formTable thead {
	background: rgb(81, 21, 21); /* dark brown */
}

table.formTable thead th {
	font-family: "Courier New";
	font-size: 30pt;
	font-weight: bold;
	color: rgb(252, 250, 202); /* eggshell white */
	text-align: left;
}
table.formTable thead th:first-child {
	border-left: none;
}

table.formTable tfoot td {
	font-size: 16pt;
}




/* Image Styles*/
/* Added 13 November 2017 and since updated through 08 December 2017*/

div.picLinks {
	margin-top: 0;
	padding: 0 10px 0 10px ;
	float: left;
}

div.picLinks img { /* CSS styling used for rounded corners, background-color, transformation, etc. */
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
}

div.picLinks img:hover {
	z-index: -1;
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* CSS styling used for rounded corners, background-color, transformation, etc. */
figure#figOne { 
	width: 242px;
	margin-top: 0;
	border-radius: 20px;
	border-width: 10px;
	border-style: solid;
	border-color: rgb(214, 156, 108); /* eggshell brown */
	background-color: rgb(252, 250, 202); /* eggshell white */
}

figure#figOne img {
	width: 242px;
	height: 322px;
	border-radius: 10px 10px 0 0;
}

figure#figTwo {
	width: 256px;
	height: 156px;
	margin-top: 0;
	border-radius: 20px;
	border-width: 10px;
	border-style: solid;
	border-color: rgb(214, 156, 108); /* eggshell brown */
}

figure#figTwo img {
	width: 256px;
	height: 156px;
	border-radius: 10px;
}

figcaption { /* figcaption stylized */
	color: rgb(214, 156, 108); /* eggshell brown */
	padding: 5px;
	text-align: center;
	font-style: italic;
}




/* Footer Styles */
/* Added 06 November 2017*/

footer {
	position: fixed;
	color: rgb(41, 62, 26); /* dark greenkind */
	background: rgb(169, 209, 142); /* light greenkind */
	text-align: center;
    margin-bottom: 0px;
    height: 50px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}


div#wrapper > div#navContainer > nav.vertical > a#navicon {
	display: none;
	margin-top: 50px;
}




/* Use of Media Queries: Mobile, Tablet, Desktop */
/* Added 27 November 2017 and since updated through 08 December 2017*/


/*	===============================
	Mobile Styles: 0px to 480px
	===============================
*/
@media only screen and (max-width: 480px) {

	body, div#wrapper {
		display: block;
		margin: auto;
	}
	
	header h1 {
		font-size: 35px;
	}
	
	header > img,
	div#wrapper > div#navContainer > div#navIntro,
	div#wrapper > div#navContainer > nav.vertical ul {
		display: none;
	}

	div#wrapper > div#navContainer > nav.vertical > a#navicon {
		display: block;
	}
	
	div#wrapper > div#navContainer > nav.vertical ul:hover,
	div#wrapper > div#navContainer > nav.vertical > a#navicon:hover+ul {
		display: block;
	}
	
	div#wrapper > div#navContainer > nav.vertical a:hover {
		width: 254px;
		border-radius: 0;
		border: transparent;
	}
		
	div#wrapper > div#navContainer {
		background: transparent;
		margin: auto;
		top: 0;
		z-index: 4;
	}
	
	div#wrapper > main {
		margin: auto;
		margin-top: 90px;
		margin-bottom: 45px;
		float: none;
	}
	
	div#wrapper > main > section {
		display: block;
		float: none;
		margin: auto;
	}
	
	article.norm,
	article.col,
	article.mob {
		display: block;
		width: 300px;
		margin: auto;
		margin-bottom: 5px;
	}
	
	article.mob > h2#mobart {
		padding: 0;
		margin: auto;
		color: rgb(41, 62, 26); /* dark greenkind */
		text-shadow: 2px 2px 0 rgb(255, 255, 255); /* white */
		background: transparent;
		font-size: 15pt;
		text-align: center;
	}

	table.formTable {
		width: 300px;
	}
	
	table.formTable thead th {
		font-size: 20pt;
	}
	
	figure#figOne,
	figure#figTwo { /* CSS styling to cancel previous styles. */
		display: block;
		margin: auto;
		margin-bottom: 5px;
		position: static;
		float: none;
		transform: none;
	}

}
/*	================================
	Tablet Styles: 481px and greater
	================================
*/
@media only screen and (min-width: 481px) {
	
	div#wrapper > main {
		display: block;
	}

	div#wrapper > main > section {
		display: block;
		float: left;
		margin: 0 0 50px 260px;
	}
	
	article.norm,
	article.col {
		display: block;
		width: 450px;
		margin: auto;
		margin-bottom: 5px;
	}
	
	figure#figOne,
	figure#figTwo { /* CSS styling to cancel previous styles. */
		display: block;
		margin: auto;
		margin-bottom: 5px;
		position: static;
		float: none;
		transform: none;
	}
	
}

/*	=================================
	Desktop Styles: 769px and greater
	=================================
*/
@media only screen and (min-width: 769px) {
	
	article.norm {
		width: 675px;
	}
	
	article.col {
		width: 475px;
		display: inline-block; /* Added 08 December 2017 */
		/*width: 50%; || Adjusted 08 December 2017 || Unable to create columns.
		float: left;*/
	}
	
	div#wrapper > main {
		display: block;
	}

	div#wrapper > main > section {
		display: block;
		float: left;
		margin: 0 0 50px 150px;
	/* top right bottom left*/
	}
	
	div#wrapper > main > section.topics { /* Added 08 December 2017 */
		column-count: 2;
	}

	figure#figOne { /* CSS styling used for rounded corners, background-color, transformation, etc. */
		position: fixed;
		float: right;
		margin-left: 700px;
		transform: rotate(25deg) scale(0.8, 0.8) translate(20px, -25px);
	}

	figure#figTwo {
		position: fixed;
		float: right;
		margin-left: 700px;
		transform: rotate(-30deg) scale(0.8, 0.8) translate(-30px, 35px);
	}
	
}
