@import url(reset.css);

@font-face {
	font-family: 'DroidSansRegular';
	src: url('../fonts/DroidSans.eot');
	src: local('Droid Sans Regular'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype');
}

@font-face {
	font-family: 'DroidSansBold';
	src: url('../fonts/DroidSans-Bold.eot');
	src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype');
}

body {
	font: 14px/24px Helvetica, Arial, sans-serif;
	color: #454545;
	background: #fff;
}

.hide, label[for=FrontpageSearch] {
	float: left;
	margin-left: -5000em;
}

.message {
	background: #ffffb3;
	padding: 7px;
	margin: 10px 0;
}

a.hide:focus {
	margin-left: 0;
	float: none;
}

.clear {
	clear: both;
	height: 1px;
}

a {
	text-decoration: none;
	color: #222;
	border-bottom: 1px solid #ddd;
}

a:visited {
	color: #454545;
}

a:hover, a:active {
	border-bottom: 1px solid #ff4545;
	color: #171717 !important;
}

a:focus {
	border: 1px dotted #ff4545 !important;
}

a img {
	border: none !important;
}

/* header */
h1 a {
	margin-top: 100px;
	border: 0 !important;
	display: block;
	background: url(../img/h1-a-bg.jpg) no-repeat top left;
	width: 80px;
	height: 44px;
	text-indent: -5000em;
}

p#tag {
	margin: 15px 0 100px 0;
	font-size: 21px;
	color: rgb(102, 102, 102);
}

p#tag strong {
	color: rgb(51, 51, 51);
}

p {
	font-size: 14px;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

hr {
	height: 1px;
	border: 0;
	border-bottom: 1px dotted #ccc;
	margin: 17px 0;
}

#wrapper {
	width: 575px;
	max-width: 90%;
	padding: 60px;
	margin: 0 auto;
}

h2, h3 {
	font: 32px 'DroidSansRegular', Arial, sans-serif;
	color: #222;
	padding: 8px 0;
	margin-bottom: 15px;
	font-weight: bold;
}

h3 {
	font-weight: normal;
	font-size: 18px;
	margin-bottom: 0px;
}

h2 a:link, h3 a:link, h2 a:visited, h3 a:visited {
	color: #222;
}

p.post-meta {
	color: #999;
	text-transform: lowercase;
	font: italic normal normal 11px/18px Georgia, Times, serif;
}

p.post-meta span {
	margin-right: 14px;
}

p.post-meta a {
	color: #999;
}

p.post-meta img {
	margin-right: 4px;
}

blockquote {
	margin-left: 8px;
	margin-top: 2px;
	border-left: 3px solid #ccc;
	padding-left: 8px;
	color: #777;
}

/* footer */
footer {
	display: block;
	padding-top: 96px;
	font-size: 11px;
	color: #777;
}

address {
	font-style: normal;
}

#FrontpageAddForm label {
	text-indent: -5000em;
	float: left;
}

#FrontpageAddForm input[type=text] {
	/*padding-left: 2.2em;
		background: #fff url(../img/search.gif) no-repeat 5% 50%;
		margin: .6em 0 2.5em 0;
		border-size: 1px;*/
}

input[type=text], input[type=url], textarea {
	background-color: #fff;
	border: 1px solid rgb(204, 204, 204);
	border-top: 1px solid rgb(102, 102, 102);
	color: #000;
	display: inline-block;
	font: Helvetica, Arial, sans-serif;
	font-size: 13px;
	height: 15px;
	letter-spacing: normal;
	line-height: normal;
	margin: 1px;
	padding: 3px;
}

input[type=text]:focus, input[type=url]:focus, textarea:focus {
	border: 2px solid #ff5c69;
	margin: 0;
}

input[type=submit] {
	background: #555 url(../img/submit-button-bg.png) repeat-x; 
	display: inline-block; 
	padding: 4px 9px 5px; 
	color: #fff; 
	text-decoration: none;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border: 0;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
}

input[type=submit]:active {
	top: 1px;
}

/*debug*/
table.cake-sql-log {
	width: 55em;
	margin: 0 auto;
	color: #bbb;
	font-size: 1.2em;
}

table.cake-sql-log td {
	padding: .5em 0;
	border-top: 1px solid #ddd;
}

table.cake-sql-log th {
	vertical-align: bottom;
}