@font-face {
  font-family: 'Peralta';
  font-style: normal;
  font-weight: 400;
  src: local('Peralta'), local('Peralta-Regular'), url(u9VnQ6kM-5PI2V8JsmWmHw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
	display: block;
}

html {
	background-image: url(images/back.png);
	font-size: 16px;
	font-family: Verdana, Arial, "Times New Roman", Serif;
}

body {
	max-width: 460px;
	margin: 0 auto;
}

a {
	color: blue;
	text-decoration: none
}

img {
	max-width: 100%;
	height: auto;
}

header h1 {
	font-family: 'Peralta', serif;
	font-size: 55px;
	font-weight: normal;
	text-align: center;
}

header h1:hover {
	-webkit-transform: rotate(+2deg);
	-moz-transform: rotate(+2deg);
	-o-transform: rotate(+2deg);
	transform: rotate(+2deg);
}

header h1 span {
	color: #f7931a;
}

header input {
	width: 390px;
	font-size: 18px;
	border: 1px solid #CCC;
	border-radius: 5px 0 0 5px;
	margin: 0;
	padding: 6px 0 6px 5px;
	outline-width: 0;
}

header button {
	width: 63px;
	color: #444;
	background-image: linear-gradient(#EEE,#DDD);
	font-size: 18px;
	border: 1px solid #CCC;
	border-left: 0;
	border-radius: 0 5px 5px 0;
	margin: 0;
	padding: 6px 0 6px 0px;
}

header button::-moz-focus-inner {
	border: 0; 
	padding: 0; 
}

header button:hover {
	background-image: linear-gradient(#DDD,#BBB);
}

article {
	margin: 40px 0;
}

article h1 {
	font-size: 18px;
}

article .qr {
	float: right;
}

article .qr img {
	border-radius: 5px;
}

article .main {
	width: 260px;
}

article span {
	float: right;
	background-color: #FFF;
	padding: 2px 5px;
	border-radius: 3px;
	margin-top: -2px;
}

table {
	width: 100%;
	border-top: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-spacing: 0;
	background-color: #FFF;
}

th, td {
	padding: 3px 5px;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	text-align: left;
}

tr:hover td {
	background-color: #EEE;
	cursor: help;
}

th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) {
	text-align: right;
}

footer {
	text-align: center;
	color: #555;
	border-top: 1px solid #CCC;
	margin-bottom: 20px;
	padding-top: 3px;
}

footer a {
	color: inherit;
	text-decoration: underline;
}

/* other */
#course {
	position: absolute;
	top: 0;
	right: 0;
}

#course:before {
	content: "1 BTC = ";
}

@media screen and (max-width: 460px) {
	header input {
		width: 95%;
	}
}

.peername {
    position: absolute;
    top: 10px;
    left: 10px;
}

.b2 {
    position: absolute;
    top: 10px;
    right: 10px;
}

@media screen and (max-width: 1100px) {
    .peername, .b2 {
        position: static;
    }
}
