@font-face {
	font-family: wedding;
	src: url(wedding.woff);
}

a {
	color: #000;
}

body {
	margin: 0;
	color: #333;
	font-family: "Trebuchet MS", sans-serif;
}

h1 {
	font-size: 48px;
	clear: both;
	text-align: center;
	font-family: wedding;
	margin-bottom: 10px;
}

header {
	position: fixed;
	top: 0;
	height: 64px;
	width: 100%;
	background: #fff;
	box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.5);
	font-weight: 700;
	font-size: 15px;
	z-index: 10;
}

header img {
	float: left;
	margin: 0 10px;
	width: 300px;
	height: 174px;
}

p {
	line-height: 1.7em;
	font-size: 15px;
}

p a {
	color: #000;
}

div {
	font-weight: 700;
}

input {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	cursor: pointer;
	font-size: 100%;
	margin: 3px;
}

#canvas {
	visibility: hidden;
	margin: auto;
	background: lightgray;
	opacity: 1;
	z-index: 10;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -90px;
	margin-left: -90px;
	display: block;
	border: 20px lightgray;
	box-sizing: border-box;
	border-radius: 15px;
	border-style: solid;
	box-shadow: 0 0 38px 0 rgba(0, 0, 0, 0.5);
}

#canvasImg {
	transition: opacity 0.5s;
}

#tabs a {
	position: relative;
	z-index: 2;
	top: 2px;
	font-family: sans-serif;
	text-decoration: none;
	margin: 2px;
	padding-top: 4px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 2px;
	background: lightgray;
	border: 1px solid gray;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	display: inline-block;
}

#days, #months, #years {
	margin: 15px;
}

#error {
	display: none;
	padding: 10px;
	color: red;
}

.inactive {
	color: gray;
	cursor: default;
}

.bottom {
	margin-top: 25px;
	margin-bottom: 10px;
	height: 1px;
	width: 365px;
	background: linear-gradient(to right, rgba(149, 0, 0, 0) 0%, #8B0000 8%, #8B0000 30%, rgba(149, 0, 0, 0) 38%, rgba(149, 0, 0, 0) 62%, #8B0000 70%, #8B0000 92%, rgba(149, 0, 0, 0) 100%);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.bottom img {
	position: relative;
	top: -15px;
	height: 30px;
	width: 56px;
}

.shadow {
	margin-left: auto;
	margin-right: auto;
	border: 1px;
	padding: 20px;
	box-shadow: 0 0 38px 0 rgba(0, 0, 0, 0.5);
	text-align: center;
	border-radius: 15px;
}

.content {
	margin-left: auto;
	margin-right: auto;
	padding: 0 5px;
	width: 950px;
}

.thumbnail {
	width: 180px;
	height: 180px;
	margin: 10px;
	cursor: pointer;
}

.controls {
	position: relative;
	margin-top: -20px;
	text-align: center;
	width: 100%;
}

.controls a {
	margin-left: 5px;
	margin-right: 5px;
	text-decoration: none;
}

#tabs a.background {
	background-color: lightgray;
}

#tabs a.selected {
	background-color: white;
}

@media (max-width: 999px) {
	.controls a {
		font-size: 300%;
		padding-left: 20px;
		padding-right: 20px;
	}

	p {
		font-size: 200%;
	}

	input {
		font-size: 300%;
		margin: 10px;
	}

	#tabs a {
		font-size: 200%;
		max-width: 130px;
		min-width: 80px;
		min-height: 44px;
		padding-top: 8px;
		padding-left: 1px;
		padding-right: 1px;
	}

	#tabs a:before {
		content: "'";
	}


	#days,
	#months,
	#years {
		margin: 50px 30px;
	}
}

@media (min-width: 1000px) {
	#tabs a::before {
		content: "20";
	}
}