/* Header */

#header	{
    min-width: 950px;
	font-size: 145%;
	word-spacing: .8em;
	text-align: center;
	font-family: Algerian;}
img.logo {
	min-width: 185px;
	max-width: 370px;
	
	min-height: 75px;
	max-height: 158px;
	
	vertical-align: middle;}

/* Body and Page */

body	{
	background-image: url("../images/background.jpg");
	background-size:100% 100%;
	text-align: center;
	font-family: Trajan Pro;
	letter-spacing: 0.15em;}
#page	{
	width: 950px;
	height: 700px;
	margin: 10px auto 10px auto;
    margin-bottom: 0px;
    padding-top: 10px;
	padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
	background-color: purple;
}

/* Navigation */

#navigation {
	width: 600px;
	text-align: center;
	display: inline;
    margin-top: 10px;
}
li	{
	font-family: Algerian;
	display: inline;
	margin: auto 8px auto 8px;
}
a.on, a:hover	{
	color:silver;}
a	{
	color: black;
	text-transformation: uppercase;
	text-decoration: none;
	padding: 6px 2px 6px 2px;}

/* Home Page */

img.large {
	position: relative;
	top: 20px;
	width: 934px;
	height: 623px;
	vertical-align: middle;
}

/* Our Story */

img.vertical {
	width: 415px;
	height: 623px;
	float: left;
	margin-right: 10px;}
#ourstory{
	padding: 20px;
	font-size: 90%;
	color:black;
}

/*fieldset {
	width: 350px;
	border: 1px solid black;
	border-radius: 10px;
	padding: 20px;
	text-align: left;}
legend	{
	border: 1px solid black;
	border-radius: 10px;
	padding: 10px 20px;
	text-align: left;}*/

/* Gallery */

#gallery {
    width: 900px;
    height: 630px;
	padding:20px;}

 #gallery img:nth-of-type(1) {
    display: table;
	margin-top: 0px;
	margin-left: -10px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(5deg);
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	transform: rotate(5deg);}
    
#gallery img:nth-of-type(2) {
	display: table;
	margin-top: -300px;
	margin-left: 120px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	transform: rotate(-10deg);}
#gallery img:nth-of-type(3) {
	display: table;
	margin-top: -270px;
	margin-left: 250px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(7deg);
	-moz-transform: rotate(7deg);
	-o-transform: rotate(7deg);
	transform: rotate(7deg);}
#gallery img:nth-of-type(4) {
	display: table;
	margin-top: -300px;
	margin-left: 370px;
	width:300px;
	height:199px;	
	-webkit-transform:rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);}
#gallery img:nth-of-type(5) {
	display: table;
	margin-top:-260px;
	margin-left:520px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(5deg);
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	transform: rotate(5deg);}
#gallery img:nth-of-type(6) {
	display: table;
	margin-top:-280px;
	margin-left: 680px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(7deg);
	-moz-transform: rotate(7deg);
	-o-transform: rotate(7deg);
	transform: rotate(7deg);}

/* Second Line of Gallery*/
#gallery img:nth-of-type(7) {
	display: table;
	margin-top: -160px;
	margin-left: 0px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	transform: rotate(-10deg);}
#gallery img:nth-of-type(8) {
	display: table;
	margin-top: -310px;
	margin-left: 110px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	transform: rotate(-10deg);}
#gallery img:nth-of-type(9) {
	display: table;
	margin-top: -260px;
	margin-left: 240px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(10deg);
	-moz-transform: rotate(10deg);
	-o-transform: rotate(10deg);
	transform: rotate(10deg);}
#gallery img:nth-of-type(10) {
	display: table;
	margin-top: -310px;
	margin-left:440px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	transform: rotate(-5deg);}
#gallery img:nth-of-type(11) {
	display: table;
	margin-top: -300px;
	margin-left: 600px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	transform: rotate(-10deg);}

/* Third Line of the Gallery*/ 
#gallery img:nth-of-type(12) {
	display: table;
	margin-top: -210px;
	margin-left: -10px;
	width:199px;
	height:300px;
	-webkit-transform:rotate(10deg);
	-moz-transform: rotate(10deg);
	-o-transform: rotate(10deg);
	transform: rotate(10deg);}
#gallery img:nth-of-type(13) {
	display: table;
	margin-top: -240px;
	margin-left: 120px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(7deg);
	-moz-transform: rotate(7deg);
	-o-transform: rotate(7deg);
	transform: rotate(7deg);}
#gallery img:nth-of-type(14) {
	display: table;
    margin-top: -260px;
	margin-left: 280px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	transform: rotate(-10deg);}
#gallery img:nth-of-type(15) {
	display: table;
	margin-top: -240px;
	margin-left: 420px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);} 
#gallery img:nth-of-type(16) {
	display: table;
	margin-top: -230px;
	margin-left: 560px;
	width:300px;
	height:199px;
	-webkit-transform:rotate(10deg);
	-moz-transform: rotate(10deg);
	-o-transform: rotate(10deg);
	transform: rotate(10deg);}
    
/* Gallery Animation */
#gallery img:hover {
	-webkit-transform: scale(1.4);
	-moz-transform: scale(1.4);
	-o-transform: scale(1.4);
	transform: scale(1.4);
	z-index: 10;}
#gallery img:hover {
	-webkit-transform: rotate(380deg) scale(1.4);
	-moz-transform: rotate(380deg) scale(1.4);
	-o-transform: rotate(380deg) scale(1.4);
	transform: rotate(380deg) scale(1.4);
	z-index:10;}
#gallery img {
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	padding:10px 10px 30px 10px;
	background: white;
	border: solid 1px black;}
#gallery img:active{
	-webkit-transform: scale(1.4);
	-moz-transform: scale(1.4);
	-o-transform: scale(1.4);
	transform: scale(1.4);
	z-index: 10;}
#gallery img:active {
	-webkit-transform: rotate(380deg) scale(1.4);
	-moz-transform: rotate(380deg) scale(1.4);
	-o-transform: rotate(380deg) scale(1.4);
	transform: rotate(380deg) scale(1.4);
	z-index:10;}

/* Accomodations */

#accom	{
	position: relative;
	margin-top: 50px;
	margin-bottom: 10px;
	text-align: center;
	color: black;
    border: 1px solid red;
}

#button	{
	float: center;
	padding: 10px;
	font-size: 21px;
	background-color: grey;
	font-weight: bold;
	text-shadow: 1px 1px black;
	color: #ffffff;
	border-radius: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	border: 1px solid black;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;}
img.map {
	position: relative;
	top: 50px;}

/* Registry */

img.macys {
	position: relative;
	top:90px;
	left:200px;}
img.target {
	position:relative;
	top:320px;
	left:-216px;}

/* Contact Us */

#bridesinfo {
    position: relative;
	top: 100px;
	left: -200px;
	color: black;}
#groomsinfo {
    position: relative;
	top: -146px;
	left: 200px;
	color:black}	
footer	{
	display: inline-block;
	background-color: purple;
	width:950px;	
    height: 20px;
	margin: 0px auto;
    margin-top: 20px;
	text-align: center;
	font-size: 80%;
	color:black;
}

#footer_text {
    width: 950px;
    margin-top: 4px;
}






