@charset "utf-8";

/* TB_Layout2.css */

/* Figure Box Styles */

Figure {
	border-style: solid;
	border-width: 15px;
	border-image: url(TB_Border.jpg) 400 stretch;
	margin: 20px auto 0px;
	display: block;
	background-color: black;
	float: left;
	margin: 1% 1%;
	text-align: center;
	vertical-align: center;
}

Figure figcaption {
	display: block;
	Float: left;
	background-color: black;
	color: white;
	font-family: serif;
	padding: 10px 0;
	font-size: 1.5em;
	margin: auto;
	width: 100%;
}

img.left {width: 45%; float: left;}
img.right {width: 45%;} 

div#wedding {
	-webkit-flex: 1 1 50px;
	flex: 1 1 50px;
	text-align: center;
}
div#Family {
	-webkit-flex: 1 1 100px;
	flex: 1 1 100px;
}


/* ============================================= */
    /* Basically Layout 1 with a few changes */
/* ============================================= */

html {
	height: 100%;
	font-size: 14px;
}
img {max-width: 100%;}
body {
	display: table;
	width: 88.2%;
	max-width: 900px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: 0px auto auto auto;
	clear: none;
	float: none;
	background-color: hsl(48, 100%, 92%);
	-moz-box-shadow: rgba(0, 0, 0, 0.9) 20px 0px 25px,  rgba(0, 0, 0, 0.9) -20px 0px 25px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.9) 20px 0px 25px,  rgba(0, 0, 0, 0.9) -20px 0px 25px;
	box-shadow: rgba(0, 0, 0, 0.9) 20px 0px 25px,  rgba(0, 0, 0, 0.9) -20px 0px 25px;
	min-height: 100%;
}
article {
	width: 73%;
	float: left;
	font-size: 0.8em;
	text-align: justify;
}

/* Navigation Styles */

nav ul li {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 0.8em;
	display: block;
	text-align: center;
}
nav ul li a {
	text-decoration: none;
	display: block;
	padding: 2px;
}
nav ul li a {
	background-color: hsl(210, 100%, 35%);
	color: white;
}
nav ul li a:visited {
	background-color: hsl(210, 100%, 35%);
	color: white;
}
nav ul li a:hover {
	background-color: rgb(0, 0, 0);
	color: white;
}

/* Body Styles */
body h1 {
	margin: 1%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 1.5em;
}
body article h1 {
	font-size: 1.15em;
}
header img {
	float: none;
	width: 100%;
	margin: 2% 2% 0% 0%;
}
body div.OF_img {
	position: relative;
	top: 30px;
	padding-bottom: 5px;
}
body p, body address {
	margin: 3.5% 1%;
	font-size: 1em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-style: normal;
	height: 100%;
}
body address a:visited, body address a:active, body address a:focus {
	color: blue;
	text-decoration: underline;
}
body address a:hover {
	color: hsl(207, 44%, 49%);
	text-decoration: underline;
}

/* Lower Half Styles */
footer {
	text-align: center;
	font-size: 0.6em;
	margin-top: 4%;
	border-top: 3px solid rgba(128,98,26,1.00);
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	clear: both;
	padding-bottom: 20px;
	padding-left: 20px;
	Padding-right: 20px;
	background-color: hsl(210, 100%, 35%);
	color: white;
}

article p, article address {font-family: "Times New Roman", Times, serif;}

div.OF_img {
	-webkit-order: 99;
	order: 99;
}

/* Desktop Styles */


@media only screen and (min-width: 861px) {
html, body {
	font-size: 20px;
}
html {
	background: linear-gradient(red, white, blue) fixed;
	margin: 0px auto;
}
header h1 {
   font-size: 2.2em;
   text-align: center;
}
nav {
	text-align: center;
	background-color: hsl(210, 100%, 35%);
	margin: auto;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	background: hsl(210, 100%, 35%);
	width: 100%;
	height: 28px;
}
nav ul li {
	width: 10%;
	border: thin solid rgba(127,96,17,1.00);
	float: left;
}
nav ul li:first-of-type {
	border-left: none;
}
nav ul li:nth-of-type(2) {
	width: 12%;
}
nav ul li:last-of-type {
	width: 15%;
	border-right: none;
}
body article h1 {
   font-size: 1.75em;
}
figure {
	width: 43%;
}
img.wedding {
	width: 80%;
	vertical-align: middle;
	text-align: center;
	margin-left: 35px;
}
article {
	width: 94%;
	float: none;
	margin: 0px auto;
}
article img {
	float: Left;
	width: 40%;
	margin: 0% 2% 2% 2%;
}
footer {
	font-size: 0.9em;
	-webkit-order: 100;
	order: 100;
	margin-top: 100px;
}
a#navicon {display: none;}
}

/* Tablet Devices Styles */


@media only screen and (max-width: 860px) and (min-width: 501px){

a#navicon {
	display: block;
	position: relative;
	top: -15px;
}
nav ul {display: none; width: 100%;}
a#navicon:hover+ul, ul:hover {display: block;}


html {
	background: linear-gradient(red, white, blue) fixed;
	margin: 0px auto;
}
header h1 {
   font-size: 2.2em;
   text-align: center;
}
nav ul li {
	width: 25%;
}
nav ul {
	position: absolute;
	z-index: 999;
}
nav ul li:first-of-type {
	margin-top: -15px;
}
body article h1 {
   font-size: 1.75em;
}
figure {
	width: 40%;
}
img.wedding {
	width: 80%;
	vertical-align: middle;
	text-align: center;
	margin-left: 35px;
}
article {
	width: 94%;
	float: none;
	margin: 0px auto;
}
article img {
	float: Left;
	width: 40%;
	margin: 0% 2% 2% 2%;
}
footer {
	font-size: 0.9em;
	-webkit-order: 100;
	order: 100;
}
}


/* Mobile Devices Styles */


@media only screen and (max-width: 500px) {

a#navicon {
	display: block;
	position: relative;
	top: -12px;
}
nav ul {display: none; width: 100%;}
a#navicon:hover+ul, ul:hover {display: block;}

html {
	background: linear-gradient(red, white, blue) fixed;
	margin: 0px auto;
}
header h1 {
   font-size: 2.2em;
   text-align: center;
}
nav ul {
	position: absolute;
	top: 120px;
	z-index: 999;
	width: 80%;
}

body article h1 {
   font-size: 1.75em;
}
article {
	width: 94%;
	float: none;
	margin: 0px auto;
	font-size: 1em;
}

footer {
	font-size: 0.9em;
	-webkit-order: 100;
	order: 100;
}
}
