body {
	position: relative;
	margin: 0;
	-webkit-text-size-adjust: none;
	min-height: 416px;
	font-family: helvetica, sans-serif;
	-webkit-background-size: 0.438em 100%;
	background: -webkit-gradient(linear, left top, right top, from(#f5ceff), color-stop(71%, #f5ceff), color-stop(72%, #f5ceff), to(#f5ceff));
	-webkit-touch-callout:none
}

.center {
	margin: auto;
	display: block;
	text-align:center !important
}

img {
	border:0
}

a:hover .arrow {
	background-position:0 -13px !important
}

@media screen and (max-width: 320px) {
	#topbar {
		height:44px
	}

	#title {
		line-height: 44px;
		height: 44px;
		font-size:16pt
	}

	#tributton a:first-child, #duobutton a:first-child {
		width:101px
	}

	#tributton a:last-child, #duobutton a:last-child {
		width:101px
	}

	#tributton a {
		width:106px
	}

	#duobutton .links {
		width:195px
	}

	#tributton .links {
		width:302px
	}

	#doublead {
		width:300px !important
	}

	#duoselectionbuttons {
		width: 191px;
		height: 30px;
		top:7px
	}

	#triselectionbuttons {
		width: 290px;
		height: 30px;
		top:7px
	}

	#triselectionbuttons a:first-child, #duoselectionbuttons a:first-child {
		width: 99px;
		height: 28px;
		line-height:28px
	}

	#triselectionbuttons a {
		width: 98px;
		height: 28px;
		line-height:28px
	}

	#triselectionbuttons a:last-child, #duoselectionbuttons a:last-child {
		width: 99px;
		height: 28px;
		line-height:28px
	}

	.searchbox form {
		width: 272px
	}

	.searchbox input[type="text"] {
		width:275px
	}

	.menu .name {
		max-width:77%
	}

	.checkbox .name {
		max-width:190px
	}

	.radiobutton .name {
		max-width:190px
	}

	#leftnav a, #rightnav a, #leftbutton a, #rightbutton a, #blueleftbutton a, #bluerightbutton a {
		line-height: 30px;
		height:30px
	}

	#leftnav img, #rightnav img {
		margin-top:4px
	}

	#leftnav, #leftbutton, #blueleftbutton {
		top:7px
	}

	#rightnav, #rightbutton, #bluerightbutton {
		top:7px
	}

	.musiclist .name {
		max-width:55%
	}

	.textbox textarea {
		width:280px
	}

	.bigfield input {
		width:295px
	}
}

@media screen and (min-width: 321px) {
	#topbar {
		height:32px
	}

	#title {
		line-height: 32px;
		height: 32px;
		font-size:13pt
	}

	.menu .name {
		max-width:85%
	}

	.checkbox .name {
		max-width:75%
	}

	.radiobutton .name {
		max-width:75%
	}

	#leftnav a, #rightnav a, #leftbutton a, #rightbutton a, #blueleftbutton a, #bluerightbutton a {
		line-height: 24px;
		height:24px
	}

	#leftnav img, #rightnav img {
		margin-top: 4px;
		height:70%
	}

	#leftnav, #leftbutton, #blueleftbutton {
		top:4px
	}

	#rightnav, #rightbutton, #bluerightbutton {
		top:4px
	}

	.musiclist .name {
		max-width:70%
	}

	.textbox textarea {
		width:440px
	}

	#tributton a:first-child, #duobutton a:first-child {
		width:152px
	}

	#tributton a:last-child, #duobutton a:last-child {
		width:152px
	}

	#tributton a {
		width:154px
	}

	#tributton .links {
		width:452px
	}

	#duobutton .links {
		width:298px
	}

	#doublead {
		width:350px !important
	}

	#duoselectionbuttons {
		width: 293px;
		height: 24px;
		top:4px
	}

	#triselectionbuttons {
		width: 450px;
		height: 24px;
		top:4px
	}

	#triselectionbuttons a:first-child, #duoselectionbuttons a:first-child {
		width: 150px;
		height: 22px;
		line-height:22px
	}

	#triselectionbuttons a {
		width: 156px;
		height: 22px;
		line-height:22px
	}

	#triselectionbuttons a:last-child, #duoselectionbuttons a:last-child {
		width: 150px;
		height: 22px;
		line-height:22px
	}

	.searchbox form {
		width: 432px
	}

	.searchbox input[type="text"] {
		width:435px
	}

	.bigfield input {
		width:455px
	}
}

#topbar.black {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#121212), color-stop(3%, #121212), color-stop(50%, #121212), color-stop(51%, rgb(18, 18, 18)), color-stop(97%, #121212), to(#121212))
}

#topbar.transparent {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(133, 133, 133, 0.7)), color-stop(3%, rgba(99, 99, 99, 0.7)), color-stop(50%, rgba(32, 32, 32, 0.7)), color-stop(51%, rgba(0, 0, 0, 0.7)), color-stop(97%, rgba(0, 0, 0, 0.7)), to(rgba(38, 38, 38, 0.7)))
}

#topbar {
	position: relative;
	left: 0;
	top: 0;
	width: auto;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f5ceff), color-stop(3%, #f5ceff), color-stop(50%, #f5ceff), color-stop(51%, #f5ceff), color-stop(97%, #f5ceff), to(#f5ceff));
	margin-bottom:13px
}

#title {
	position: absolute;
	font-weight: bold;
	top: 0;
	left: 0;
	right: 0;
	padding: 0 10px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	color: #e3f;
	text-shadow:rgba(255, 255, 255, 0.6) 0 -1px 0
}

#content {
	width: 100%;
	position: relative;
	min-height: 250px;
	margin-top: 10px;
	height: auto;
	z-index: 0;
	overflow:hidden
}

#footer {
	text-align: center;
	position: relative;
	margin: 20px 10px 0;
	height: auto;
	width: auto;
	bottom:10px
}

.ipodlist #footer, .ipodlist #footer a {
	text-shadow:#e3f 0 -1px 0
}

#footer a, #footer {
	text-decoration: none;
	font-size: 9pt;
	color: #e03bff;
	text-shadow:#fff 0 1px 0
}

.pageitem {
	-webkit-border-radius: 20px;
	background-color: #fff;
	border: #f09fff solid 1px;
	font-size: 12pt;
	overflow: hidden;
	padding: 0;
	position: relative;
	display: block;
	height: auto;
	width: auto;
	margin: 3px 9px 17px;
	list-style:none
}

.textbox {
	padding: 5px 9px;
	position: relative;
	overflow: hidden;
	border-top:1px solid #f09fff
}

#tributton, #duobutton {
	height: 44px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffbb87), to(#5d2b00));
	margin: -13px 0 13px 0;
	text-align:center
}

#tributton .links, #duobutton .links {
	height: 30px;
	-webkit-border-image: url("../images/tributton.png") 0 4 0 4;
	border-width: 0 4px 0 4px;
	margin: 0 auto 0px auto;
	position: relative;
	top:7px
}

#tributton a:first-child, #duobutton a:first-child {
	border-right: 1px solid #f09fff;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	margin-left:-4px
}

#tributton a, #duobutton a {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	height: 27px;
	display: inline-block;
	line-height: 27px;
	margin-top: 1px;
	font: bold 13px;
	text-decoration: none;
	color: #f09fff;
	text-shadow:#FFF 0 1px 0
}

#duobutton a:last-child {
	border:0
}

#tributton a:last-child {
	border-left:1px solid #f09fff
}

#tributton a:last-child, #duobutton a:last-child {
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	margin-right:-4px
}

#tributton a:hover, #tributton a#pressed, #duobutton a:hover, #duobutton a#pressed {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4bc3f8), color-stop(3%, #3eb6ee), to(#04caff));
	color: white;
	text-shadow:black 0 -1px 0
}

#triselectionbuttons, #duoselectionbuttons {
	-webkit-border-image: url('../images/navbutton.png') 0 5 0 5;
	border-width: 0 5px 0 5px;
	position: relative;
	margin:auto
}

#duoselectionbuttons a:first-child {
	border:0
}

#triselectionbuttons a:first-child {
	border-right:solid 1px #000000
}

#triselectionbuttons a:first-child, #duoselectionbuttons a:first-child {
	margin-left: -4px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius:6px
}

#triselectionbuttons a, #duoselectionbuttons a {
	display: inline-block;
	text-align: center;
	color: white;
	text-decoration: none;
	margin-top: 1px;
	text-shadow: black 0 -1px 0;
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffa86e), color-stop(3%, #c58024), color-stop(50%, #823809), color-stop(51%, #6f4303), color-stop(97%, #823b04), to(#311d00))
}

#triselectionbuttons a:last-child, #duoselectionbuttons a:last-child {
	border-left: solid 1px #9f7725;
	margin-right: -4px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius:6px
}

#triselectionbuttons a:hover, #triselectionbuttons a#pressed, #duoselectionbuttons a:hover, #duoselectionbuttons a#pressed {
	background:none
}

#doublead {
	height: 83px !important;
	position: relative;
	margin:0 auto 13px auto
}

#doublead a:first-child {
	left:0 !important
}

#doublead a:last-child {
	right:0 !important
}

#doublead a {
	width: 147px !important;
	height: 83px !important;
	position: absolute;
	-webkit-border-radius: 8px;
	display: block;
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#7c7c7c), color-stop(3%, #858585), color-stop(97%, #a4a4a4), to(#c2c2c2))
}

li#doublead {
	margin-top: 25px;
	margin-bottom: 10px !important;
	background:none
}

li#doublead:hover {
	background:none
}

.searchbox {
	height: 44px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f1f3f4), color-stop(3%, #e0e4e7), color-stop(50%, #c7cfd4), color-stop(51%, #bec7cd), color-stop(97%, #b4bec6), to(#8999a5));
	margin: -13px 0 13px 0;
	width:100%
}

.searchbox form {
	height: 24px;
	-webkit-border-image: url('../images/searchfield.png') 4 14 1 24;
	border-width: 4px 14px 1px 24px;
	display: block;
	position: relative;
	top: 8px;
	margin:auto
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0
}

.searchbox input[type="text"] {
	border: 0;
	-webkit-appearance: none;
	height: 18px;
	float: left;
	font-size: 13px;
	padding: 0;
	position: relative;
	top: 2px;
	left:2px
}

.textbox img {
	max-width:100%
}

.textbox p {
	margin-top:2px
}

.textbox p {
	margin-top: 2px;
	color: #000;
	margin-bottom: 2px;
	text-align:justify
}

.textbox img {
	max-width:100%
}

.textbox ul {
	margin: 3px 0 3px 0;
	list-style:circle !important
}

.textbox li {
	margin:0 !important
}

.pageitem li:first-child, .pageitem li.form:first-child {
	border-top:0
}

.menu, .checkbox, .radiobutton, .select, li.button, li.bigfield, li.smallfield {
	position: relative;
	list-style-type: none;
	display: block;
	height: 43px;
	overflow: hidden;
	border-top: 1px solid #f09fff;
	width:auto
}

.pageitem li:first-child:hover, .pageitem li:first-child a, .radiobutton:first-child input, .select:first-child select, li.button:first-child input, .bigfield:first-child input {
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius:8px
}

.pageitem li:last-child:hover, .pageitem li:last-child a, .radiobutton:last-child input, .select:last-child select, li.button:last-child input, .bigfield:last-child input {
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius:8px
}

.menu:hover, .store:hover, .list #content li a:hover, .list .withimage:hover, .applist li:hover:nth-child(n), .ipodlist li:hover:nth-child(n) {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#f09fff), to(#e03bff))
}

.ipodlist li:hover:nth-child(n) .name, .ipodlist li:hover:nth-child(n) .time {
	border:0
}

.menu a:hover .name, .store:hover .starcomment, .store:hover .name, .store:hover .comment, .list .withimage a:hover .comment {
	color:#fff
}

.menu a:hover .comment {
	color:#fff
}

.menu a {
	display: block;
	height: 43px;
	width: auto;
	text-decoration:none
}

.menu a img {
	width: auto;
	height: 32px;
	margin: 5px 0 0 5px;
	float:left
}

.menu .name, .checkbox .name, .radiobutton .name {
	margin: 11px 0 0 7px;
	width: auto;
	color: #000000;
	font-weight: bold;
	font-size: 17px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	float:left
}

.menu .comment {
	margin: 11px 30px 0 0;
	width: auto;
	font-size: 17px;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 75%;
	white-space: nowrap;
	float: right;
	color:#000000
}

.menu .arrow, .store .arrow, .musiclist .arrow, .list .arrow {
	position: absolute;
	width: 8px !important;
	height: 13px !important;
	right: 10px;
	top: 15px;
	margin: 0 !important;
	background: url("../images/arrow.png") 0 0 no-repeat
}

.applist .arrow {
	position: absolute;
	width: 8px !important;
	height: 13px !important;
	right: 10px;
	top: 29px;
	margin: 0 !important;
	background: url("../images/arrow.png") 0 0 no-repeat
}

.store {
	height: 90px;
	border-top: #692d00 solid 1px;
	overflow: hidden;
	position:relative
}

.store a {
	width: 100%;
	height: 90px;
	display: block;
	text-decoration: none;
	position:absolute
}

.store .image {
	position: absolute;
	left: 0;
	top: 0;
	height: 90px;
	width: 90px;
	display: block;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eff1f5), to(#d6dce6));
	-webkit-background-size:90px
}

.applist .image {
	width: 57px;
	height: 57px;
	display: block;
	position: absolute;
	top: 7px;
	left: 11px;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0 2px 3px rgb(0, 0, 0);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#7c7c7c), color-stop(3%, #858585), color-stop(97%, #a4a4a4), to(#c2c2c2));
	-webkit-background-size:57px
}

li:first-child.store .image, .store:first-child a {
	-webkit-border-top-left-radius:8px 8px
}

li:last-child.store .image, .store:last-child a {
	-webkit-border-bottom-left-radius:8px 8px
}

.store .name, .applist .name {
	font-size: 15px;
	white-space: nowrap;
	display: block;
	overflow: hidden;
	color: #000000;
	max-width: 60%;
	text-overflow: ellipsis;
	font-weight:bold
}

.store .name {
	position: absolute;
	left: 95px;
	top:35px
}

.applist .name {
	position: absolute;
	top: 27px;
	left: 80px;
	text-shadow:#eee 0 1px 0
}

.store .comment, .list .withimage .comment, .applist .comment, .applist .price {
	font-size: 12px;
	color: #000000;
	display: block;
	width: 60%;
	font-weight: bold;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow:hidden
}

.store .comment, .list .withimage .comment {
	margin:16px 0 0 95px
}

.applist .comment {
	position: absolute;
	top: 9px;
	left: 80px;
	text-shadow: #eee 0 1px 0;
	color:#000000
}

.applist .price {
	position: absolute;
	top: 29px;
	right: 26px;
	text-shadow: #eee 0 1px 0;
	text-align: right;
	color:#000000
}

.store .arrow, .list .withimage .arrow {
	top:39px !important
}

.store .stars0, .store .stars1, .store .stars2, .store .stars3, .store .stars4, .store .stars5 {
	position: absolute;
	top: 56px;
	left: 95px;
	width: 65px;
	height: 18px;
	display:block !important
}

.store .stars0 {
	background: url('../images/0starsborder.png')
}

.store .stars1 {
	background: url('../images/1starsborder.png')
}

.store .stars2 {
	background: url('../images/2starsborder.png')
}

.store .stars3 {
	background: url('../images/3starsborder.png')
}

.store .stars4 {
	background: url('../images/4starsborder.png')
}

.store .stars5, .applist .stars5 {
	background: url('../images/5stars.png')
}

.applist .stars0, .applist .stars1, .applist .stars2, .applist .stars3, .applist .stars4, .applist .stars5 {
	position: absolute;
	top: 46px;
	left: 79px;
	width: 65px;
	height: 18px;
	display:block !important
}

.applist .stars0 {
	background: url('../images/0stars.png')
}

.applist .stars1 {
	background: url('../images/1stars.png')
}

.applist .stars2 {
	background: url('../images/2stars.png')
}

.applist .stars3 {
	background: url('../images/3stars.png')
}

.applist .stars4 {
	background: url('../images/4stars.png')
}

.applist .starcomment {
	left: 147px;
	top: 46px;
	color:#3b3b3b
}

.starcomment {
	position: absolute;
	left: 165px;
	top: 56px;
	font-size: 12px;
	color: #000000;
	font-weight:lighter
}

.applist a:hover .name, .applist a:hover .starcomment, .applist a:hover .comment, .applist a:hover .price {
	color: white;
	text-shadow:none
}

.graytitle {
	position: relative;
	font-weight: bold;
	font-size: 17px;
	right: 20px;
	left: 9px;
	color: #700000;
	text-shadow: #fff 0 2px 0;
	padding:1px 0 3px 8px
}

.header {
	display: block;
	font-weight: bold;
	color: rgba(170, 151, 95, 1);
	font-size: 12pt;
	margin-bottom: 6px;
	line-height:14pt
}

.musiclist ul, .ipodlist ul, .applist ul {
	padding:0
}

.ipodlist ul {
	margin:0
}

.musiclist li:nth-child(odd) {
	background:#dddee0
}

.applist li:nth-child(even) {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#adadb0), color-stop(98%, #adadb0), to(#898a8d))
}

.applist li:nth-child(odd) {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#98989c), color-stop(98%, #98989c), to(#898a8d))
}

.ipodlist li:nth-child(even) {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#414041), color-stop(3%, rgba(45, 45, 45, 0.2)), to(rgba(45, 45, 45, 0.2)))
}

.ipodlist li:nth-child(odd) {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#414041), color-stop(3%, rgba(50, 50, 50, 0.4)), to(rgba(50, 50, 50, 0.4)))
}

.musiclist #content li, .ipodlist #content li, .applist #content li {
	list-style: none;
	width: auto;
	position:relative
}

.musiclist #content li {
	height: 44px;
	border-bottom:1px solid #e6e6e6
}

.applist #content li {
	height: 70px;
	margin-bottom:1px
}

.ipodlist #content li {
	height:42px
}

.ipodlist #content {
	background: -webkit-gradient(radial, 50% -70, 0, 50% 0, 200, from(#444), to(rgb(13, 13, 13)));
	top:16px
}

.musiclist #content li a, .ipodlist #content li a {
	text-decoration: none;
	color: #000;
	width: 100% !important;
	height: 100%;
	display:block
}

.applist #content li a {
	text-decoration: none;
	color: #000;
	width: 100%;
	height: 100%;
	display:block
}

.musiclist .number, .musiclist .name, .musiclist .time {
	display: inline-block;
	height: 44px;
	font-weight: bold;
	font-size: large;
	width: 44px;
	text-align: center;
	line-height:46px
}

.musiclist .name {
	margin-left: 0;
	width: auto !important;
	font-size: medium;
	padding-left: 5px;
	border-left:solid 1px #e6e6e6
}

.musiclist .time {
	color: #848484;
	font-size: medium;
	margin-left: 4px;
	width: auto !important;
	font-weight:normal
}

.musiclist {
	background-image: none !important;
	background-color:#cbcccf
}

.ipodlist {
	background-image: none !important;
	background-color:black
}

.applist {
	background-image: none !important;
	background-color:#98989c
}

.ipodlist span {
	color: white;
	font-weight: bold;
	font-size:14px
}

.musiclist .name {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space:nowrap
}

.musiclist a:hover .name {
	color:#0380f2
}

.ipodlist .number {
	width: 23px;
	display: block;
	float: left;
	height: 42px;
	margin-right: 3px;
	text-align: right;
	line-height:43px
}

.ipodlist .stop, .ipodlist .auto, .ipodlist .play {
	width: 18px;
	display: block;
	float: left;
	height: 10px;
	text-align: right;
	line-height: 43px;
	margin-top:16px
}

.ipodlist .play {
	background: url('../images/play.gif') no-repeat
}

.ipodlist a:hover .auto, .ipodlist a:hover .play {
	background: url('../images/play.gif') no-repeat;
	background-position:0 -10px
}

.ipodlist .time {
	width: 48px;
	float: right;
	border-left: solid #414041 1px;
	display: block;
	height: 42px;
	text-align: center;
	line-height:43px
}

.ipodlist .name {
	display: block;
	float: left;
	width: inherit;
	height: 42px;
	text-overflow: ellipsis;
	line-height: 42px;
	padding-left: 5px;
	overflow: hidden;
	white-space: nowrap;
	max-width: 62%;
	border-left:solid #414041 1px
}

.list .title {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a5b1ba), color-stop(3%, #909faa), color-stop(97%, #b5bfc6), to(#989ea4));
	height: 22px !important;
	width: 100%;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	text-shadow: gray 0 1px 0;
	line-height: 22px;
	padding-left: 20px;
	border-bottom:none !important
}

.list ul {
	background-color: #fff;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin:0
}

.list #content li {
	height: 40px;
	border-bottom: 1px solid #e1e1e1;
	list-style:none
}

.list {
	background-color: #fff;
	background-image:none !important
}

.list #footer {
	margin-top:24px !important
}

.ipodlist #footer {
	margin-top:48px !important
}

.list #content li a {
	padding: 9px 0 0 20px;
	font-size: large;
	font-weight: bold;
	position: relative;
	display: block;
	color: #fff;
	text-decoration: none;
	height:32px
}

.list #content li a .name {
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 93%;
	white-space: nowrap;
	display:block
}

.list #content li a:hover {
	color:#fff
}

.list #content {
	margin-top:-13px !important
}

.ipodlist #content, .musiclist #content, .applist #content {
	margin-top:-29px !important
}

.list ul img {
	width: 90px;
	height: 90px;
	position: absolute;
	left: 0;
	top:0
}

.list .withimage {
	height:90px !important
}

.list .withimage .name {
	margin: 13px 0 0 90px;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 63% !important;
	white-space:nowrap
}

.list .withimage .comment {
	margin: 10px auto auto 90px !important;
	max-width:63% !important
}

.list .withimage a, .list .withimage:hover a {
	height:81px !important
}

#leftnav, #leftbutton, #blueleftbutton {
	position: absolute;
	font-size: 12px;
	left: 9px;
	font-weight:bold
}

#leftnav, #leftbutton, #rightnav, #rightbutton, #blueleftbutton, #bluerightbutton {
	z-index:5000
}

#leftnav a, #rightnav a, #leftbutton a, #rightbutton a, #blueleftbutton a, #bluerightbutton a {
	display: block;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
	text-decoration:none
}

.black #leftnav a:first-child, .transparent #leftnav a:first-child {
	-webkit-border-image: url("../images/navleftblack.png") 0 5 0 13
}

.black #leftnav a, .transparent #leftnav a {
	-webkit-border-image: url("../images/navlinkleftblack.png") 0 5 0 13
}

.black #rightnav a:first-child, .transparent #rightnav a:first-child {
	-webkit-border-image: url("../images/navrightblack.png") 0 13 0 5
}

.black #rightnav a, .transparent #rightnav a {
	-webkit-border-image: url("../images/navlinkrightblack.png") 0 13 0 5
}

.black #leftbutton a, .black #rightbutton a, .transparent #leftbutton a, .transparent #rightbutton a {
	-webkit-border-image: url("../images/navbuttonblack.png") 0 5 0 5
}

#leftnav a:first-child {
	z-index: 2;
	-webkit-border-image: url("../images/navleft.png") 0 5 0 13;
	border-width: 0 5px 0 13px;
	-webkit-border-top-left-radius: 16px;
	-webkit-border-bottom-left-radius: 16px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	width:auto
}

#leftnav a {
	-webkit-border-image: url("../images/navlinkleft.png") 0 5 0 13;
	z-index: 3;
	margin-left: -4px;
	border-width: 0 5px 0 13px;
	padding-right: 4px;
	-webkit-border-top-left-radius: 16px;
	-webkit-border-bottom-left-radius: 16px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	float:left
}

#rightnav, #rightbutton, #bluerightbutton {
	position: absolute;
	font-size: 12px;
	right: 9px;
	font-weight:bold
}

#rightnav a {
	-webkit-border-image: url("../images/navlinkright.png") 0 13 0 5;
	z-index: 3;
	margin-right: -4px;
	border-width: 0 13px 0 5px;
	padding-left: 4px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	float: right;
	-webkit-border-top-right-radius: 16px;
	-webkit-border-bottom-right-radius:16px
}

#rightnav a:first-child {
	z-index: 2;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-image: url("../images/navright.png") 0 13 0 5;
	border-width: 0 13px 0 5px;
	-webkit-border-top-right-radius: 16px;
	-webkit-border-bottom-right-radius:16px
}

#leftbutton a, #rightbutton a {
	-webkit-border-image: url("../images/navbutton.png") 0 5 0 5;
	border-width: 0 5px;
	-webkit-border-radius:6px
}

#blueleftbutton a, #bluerightbutton a {
	-webkit-border-image: url("../images/navbuttonblue.png") 0 5 0 5;
	border-width: 0 5px;
	-webkit-border-radius: 6px
}

input[type="checkbox"] {
	width: 94px;
	height: 27px;
	background: url('../images/checkbox.png');
	-webkit-appearance: none;
	border: 0;
	float: right;
	margin: 8px 4px 0 0
}

input[type="checkbox"]:checked {
	background-position: 0 27px
}

input[type="radio"] {
	-webkit-appearance: none;
	border: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	position: absolute;
	left: 0;
	margin: 0;
	-webkit-border-radius: 0
}

input[type="radio"]:checked {
	background: url('../images/radiobutton.png') no-repeat;
	background-position:right center
}

.radiobutton .name {
	z-index:1
}

select {
	-webkit-appearance: none;
	height: 100%;
	width: 100%;
	border:0
}

.select select {
	-webkit-border-radius: 0;
	color: #000;
	font-weight: bold;
	font-size:17px
}

.select option {
	max-width:90%
}

.select .arrow {
	background: url('../images/arrow.png');
	width: 8px;
	height: 13px;
	display: block;
	-webkit-transform: rotate(90deg);
	position: absolute;
	right: 10px;
	top:18px
}

.button input {
	width: 100%;
	height: 100%;
	-webkit-appearance: none;
	border: 0;
	-webkit-border-radius: 0;
	font-weight: bold;
	font-size: 17px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	background:none
}

.textbox textarea {
	padding: 0;
	margin-top: 5px;
	font-size:medium
}

.bigfield input {
	-webkit-appearance: none;
	border: 0;
	height: 100%;
	padding: 0;
	-webkit-border-radius: 0;
	background: transparent;
	font-weight: bold;
	font-size: 17px;
	padding-left:5px
}

.smallfield .name {
	width: 48%;
	position: absolute;
	left: 0;
	font-size: 17px;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: bold;
	line-height: 44px;
	font-size: 17px;
	padding-left: 5px;
	overflow:hidden
}

.smallfield input {
	width: 50%;
	position: absolute;
	right: 0;
	height: 44px;
	-webkit-appearance: none;
	border: none;
	padding: 0;
	background: transparent;
	-webkit-border-radius: 0;
	font-weight: bold;
	font-size:17px
}

.smallfield:first-child input {
	-webkit-border-top-right-radius:8px
}

.smallfield:last-child input {
	-webkit-border-bottom-right-radius: 8px
}

.container {
	background-color: #fff;
	width: min(100%, 370px);
	height: auto;
	margin:8em auto;
	padding: 2em;
	box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.5);
	border-radius: 20px;
}

.container img{
  max-width: 110px;
}

h1 {
	text-align: center;
	font-size: 8vmin;
	margin-bottom: 0.5em;
}

input {
	padding: 0.3em;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin: 0.5em 0;
	width: 100%;
	font-size:17px

}

button {
	border: 1px solid #ccc;
	border-radius: 5px;
	cursor: pointer;
	background-color: #b51900;
	font-size: 1.1rem;
	text-transform: uppercase;
	color: #fff;
	width: 103.5%;
	padding: 0.5em 0;
	margin: 0.5em 0;
}

button:hover {
	background-color: #ffded7;
}

label[for='total'] {
	font-size: 1.1rem;
	font-weight: bold;
}

#total {
	font-size: 1.2rem;
	font-weight: bold;
}

.wrapper, .content{
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper{
  width: 320px;
  padding: 30px 30px 38px;
  background: #fff;
  border-radius: 10px;
  flex-direction: column;
}
.wrapper img{
  max-width: 103px;
}
.wrapper h1{
  font-size: 38px;
  font-weight: 500;
  margin: 5px 0;
}
.wrapper .content{
  width: 100%;
  justify-content: space-between;
}

.content.disable{
  cursor: no-drop;
}
.content .column{
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid #bfbfbf;
  width: calc(100% / 3 - 5px);
}
.content.disable .column{
  opacity: 0.6;
  pointer-events: none;
}
.column select{
  width: 100%;
  height: 53px;
  border: none;
  outline: none;
  background: none;
  font-size: 19px;
}
.wrapper button{
  width: 100%;
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 17px 0;
  margin-top: 20px;
  border-radius: 5px;
  background: #b51a00;
}

h5 {
  font-weight: 400;
  padding: 0 20px;
}

.tic-tac-toe {
  font-family: 'Open Sans', sans-serif;
  height: 300px;
  overflow: hidden;
  margin: 50px auto 30px auto;
  position: relative;
  width: 300px;
}

@media (min-width: 450px) {
  .tic-tac-toe {
	height: 450px;
	width: 450px;
  }
}

.tic-tac-toe input[type="radio"] {
  display: none;
}
.tic-tac-toe input[type="radio"]:checked + label {
  cursor: default;
  z-index: 10 !important;
}
.tic-tac-toe input[type="radio"].player-1 + label:after {
  content: "🦄";
}
.tic-tac-toe input[type="radio"].player-2 + label:after {
  content: "🐻";
}
.tic-tac-toe input[type="radio"].player-1:checked + label:after, .tic-tac-toe input[type="radio"].player-2:checked + label:after {
  opacity: 1;
}
.tic-tac-toe input[type="radio"].player-1:checked + label {
  background-color: #c47aff;
}
.tic-tac-toe input[type="radio"].player-2:checked + label {
  background-color: #ffd938;
}
.tic-tac-toe input[type="radio"].turn-1 + label {
  z-index: 1;
}
.tic-tac-toe input[type="radio"].turn-2 + label {
  z-index: 2;
}
.tic-tac-toe input[type="radio"].turn-3 + label {
  z-index: 3;
}
.tic-tac-toe input[type="radio"].turn-4 + label {
  z-index: 4;
}
.tic-tac-toe input[type="radio"].turn-5 + label {
  z-index: 5;
}
.tic-tac-toe input[type="radio"].turn-6 + label {
  z-index: 6;
}
.tic-tac-toe input[type="radio"].turn-7 + label {
  z-index: 7;
}
.tic-tac-toe input[type="radio"].turn-8 + label {
  z-index: 8;
}
.tic-tac-toe input[type="radio"].turn-9 + label {
  z-index: 9;
}
.tic-tac-toe input[type="radio"].turn-1 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-1:checked ~ .turn-2 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-2:checked ~ .turn-3 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-3:checked ~ .turn-4 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-4:checked ~ .turn-5 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-5:checked ~ .turn-6 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-6:checked ~ .turn-7 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-7:checked ~ .turn-8 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].turn-8:checked ~ .turn-9 + label {
  display: block;
}
.tic-tac-toe input[type="radio"].left + label {
  left: 0;
}
.tic-tac-toe input[type="radio"].top + label {
  top: 0;
}
.tic-tac-toe input[type="radio"].middle + label {
  left: 100px;
}
.tic-tac-toe input[type="radio"].right + label {
  left: 200px;
}
.tic-tac-toe input[type="radio"].center + label {
  top: 100px;
}
.tic-tac-toe input[type="radio"].bottom + label {
  top: 200px;
}
@media (min-width: 450px) {
  .tic-tac-toe input[type="radio"].middle + label {
	left: 150px;
  }
  .tic-tac-toe input[type="radio"].right + label {
	left: 300px;
  }
  .tic-tac-toe input[type="radio"].center + label {
	top: 150px;
  }
  .tic-tac-toe input[type="radio"].bottom + label {
	top: 300px;
  }
}
.tic-tac-toe input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~
input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~
input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~ .end {
  display: block;
}
.tic-tac-toe input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~
input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~
input[type="radio"]:checked ~ input[type="radio"]:checked ~ input[type="radio"]:checked ~ .end > h3:before {
  content: "It is a tie!";
}
.tic-tac-toe .player-1.first-column:checked ~ .player-1.first-column:checked ~ .player-1.first-column:checked ~ .end,
.tic-tac-toe .player-1.second-column:checked ~ .player-1.second-column:checked ~ .player-1.second-column:checked ~ .end,
.tic-tac-toe .player-1.third-column:checked ~ .player-1.third-column:checked ~ .player-1.third-column:checked ~ .end,
.tic-tac-toe .player-1.first-row:checked ~ .player-1.first-row:checked ~ .player-1.first-row:checked ~ .end,
.tic-tac-toe .player-1.second-row:checked ~ .player-1.second-row:checked ~ .player-1.second-row:checked ~ .end,
.tic-tac-toe .player-1.third-row:checked ~ .player-1.third-row:checked ~ .player-1.third-row:checked ~ .end,
.tic-tac-toe .player-1.first-diagonal:checked ~ .player-1.first-diagonal:checked ~ .player-1.first-diagonal:checked ~ .end,
.tic-tac-toe .player-1.second-diagonal:checked ~ .player-1.second-diagonal:checked ~ .player-1.second-diagonal:checked ~ .end {
  display: block;
}
.tic-tac-toe .player-1.first-column:checked ~ .player-1.first-column:checked ~ .player-1.first-column:checked ~ .end h3:before,
.tic-tac-toe .player-1.second-column:checked ~ .player-1.second-column:checked ~ .player-1.second-column:checked ~ .end h3:before,
.tic-tac-toe .player-1.third-column:checked ~ .player-1.third-column:checked ~ .player-1.third-column:checked ~ .end h3:before,
.tic-tac-toe .player-1.first-row:checked ~ .player-1.first-row:checked ~ .player-1.first-row:checked ~ .end h3:before,
.tic-tac-toe .player-1.second-row:checked ~ .player-1.second-row:checked ~ .player-1.second-row:checked ~ .end h3:before,
.tic-tac-toe .player-1.third-row:checked ~ .player-1.third-row:checked ~ .player-1.third-row:checked ~ .end h3:before,
.tic-tac-toe .player-1.first-diagonal:checked ~ .player-1.first-diagonal:checked ~ .player-1.first-diagonal:checked ~ .end h3:before,
.tic-tac-toe .player-1.second-diagonal:checked ~ .player-1.second-diagonal:checked ~ .player-1.second-diagonal:checked ~ .end h3:before {
  content: "Player 1 wins!" !important;
}
.tic-tac-toe .player-2.first-column:checked ~ .player-2.first-column:checked ~ .player-2.first-column:checked ~ .end,
.tic-tac-toe .player-2.second-column:checked ~ .player-2.second-column:checked ~ .player-2.second-column:checked ~ .end,
.tic-tac-toe .player-2.third-column:checked ~ .player-2.third-column:checked ~ .player-2.third-column:checked ~ .end,
.tic-tac-toe .player-2.first-row:checked ~ .player-2.first-row:checked ~ .player-2.first-row:checked ~ .end,
.tic-tac-toe .player-2.second-row:checked ~ .player-2.second-row:checked ~ .player-2.second-row:checked ~ .end,
.tic-tac-toe .player-2.third-row:checked ~ .player-2.third-row:checked ~ .player-2.third-row:checked ~ .end,
.tic-tac-toe .player-2.first-diagonal:checked ~ .player-2.first-diagonal:checked ~ .player-2.first-diagonal:checked ~ .end,
.tic-tac-toe .player-2.second-diagonal:checked ~ .player-2.second-diagonal:checked ~ .player-2.second-diagonal:checked ~ .end {
  display: block;
}
.tic-tac-toe .player-2.first-column:checked ~ .player-2.first-column:checked ~ .player-2.first-column:checked ~ .end h3:before,
.tic-tac-toe .player-2.second-column:checked ~ .player-2.second-column:checked ~ .player-2.second-column:checked ~ .end h3:before,
.tic-tac-toe .player-2.third-column:checked ~ .player-2.third-column:checked ~ .player-2.third-column:checked ~ .end h3:before,
.tic-tac-toe .player-2.first-row:checked ~ .player-2.first-row:checked ~ .player-2.first-row:checked ~ .end h3:before,
.tic-tac-toe .player-2.second-row:checked ~ .player-2.second-row:checked ~ .player-2.second-row:checked ~ .end h3:before,
.tic-tac-toe .player-2.third-row:checked ~ .player-2.third-row:checked ~ .player-2.third-row:checked ~ .end h3:before,
.tic-tac-toe .player-2.first-diagonal:checked ~ .player-2.first-diagonal:checked ~ .player-2.first-diagonal:checked ~ .end h3:before,
.tic-tac-toe .player-2.second-diagonal:checked ~ .player-2.second-diagonal:checked ~ .player-2.second-diagonal:checked ~ .end h3:before {
  content: "Player 2 wins!" !important;
}
.tic-tac-toe label {
  background-color: #ffffff;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  display: none;
  height: 90px;
  margin: 5px;
  position: absolute;
  width: 90px;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
@media (min-width: 450px) {
  .tic-tac-toe label {
	height: 140px;
	width: 140px;
  }
}
.tic-tac-toe label:hover {
  background-color: #3d4250;
}
.tic-tac-toe label:hover:after {
  opacity: .4;
}
.tic-tac-toe label:after {
  left: 0;
  font-family: "FontAwesome";
  font-size: 45px;
  margin-top: -22.5px;
  opacity: 0;
  position: absolute;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  top: 50%;
  width: 100%;
}
@media (min-width: 450px) {
  .tic-tac-toe label:after {
	font-size: 70px;
	margin-top: -35px;
  }
}
.tic-tac-toe .end {
  background: rgba(255, 221, 236, 0.622);
  bottom: 5px;
  color: #5a0085;
  display: none;
  left: 5px;
  padding-top: 55px;
  position: absolute;
  right: 5px;
  top: 5px;
  text-align: center;
  z-index: 11;
}
@media (min-width: 450px) {
  .tic-tac-toe .end {
	padding-top: 110px;
  }
}
.tic-tac-toe .end h3 {
  font-size: 30px;
  font-weight: 300;
}
@media (min-width: 450px) {
  .tic-tac-toe .end h3 {
	font-size: 40px;
  }
}
.tic-tac-toe .end a {
  background-color: #5a0085;
  border-radius: 4px;
  color: #fff;
  padding: 14px 45px;
  text-decoration: none;
  -moz-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.tic-tac-toe .end a:hover {
  background-color: #262934;
  cursor: pointer;
}
