/*
Paul Stanton
http://coffeepowered.co.uk
*/

/* RESET AND DEBUG STYLES --------------------------------------------------- */

@import url(reset.css);
@import url(debug.css);

/* BODY --------------------------------------------------------------------- */

html {
	background-color:#f2f2f2;
	background-image:url(../img/header_texture.png);
	background-position:top;
	background-repeat:repeat-x; }

body {
	color:#333;
	font:12px/1.5 HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin:0 auto;
	width:960px; }

/* HEADINGS ----------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-weight:normal; }

h1 {
	border-bottom:3px double #ccc;
	font-size:2em;
	line-height:1.5em;
	margin:0 0 18px 0;
	text-transform:uppercase; }

h2 {
	font-size:1.333em;
	line-height:1.125em;
	margin:1.125em 0 1.125em 0; }

h3, h4 {
	font-size:1.1667em;
	line-height:1.2857em;
	margin:1.2857em 0; }

/* TYPOGRAPHY --------------------------------------------------------------- */

p {
	font-size:1em;
	margin:0 0 1.5em 0; }
	
ul, ol {
	margin-top:1.5em;
	margin-right:0pt;
	margin-bottom:1.5em;
	margin-left:0pt; }
	
ul {
	list-style-type:none; }
	
li {
	margin-bottom:0.2em; }
	
ol {
	list-style-type:decimal; }

address {
	font-style:normal;
	margin-top:1.5em; }
	
sup, sub {
	line-height:0; }	
	
blockquote {
	margin:1.5em 0; }
	
strong {
	font-weight:bold; }
	
em, dfn {
	font-style:italic; }
	
dfn {
	font-weight:bold; }
	
cite {
	font-style: normal; }
	
pre, code {
	margin:1.5em 0;
	white-space:pre; }
	
pre, code, tt {
	font:1em 'andale mono', 'monotype.com', 'lucida console', monospace;
	line-height:1.5; }
	
tt {
	display:block;
	line-height:1.5;
	margin:1.5em 0; }
	
table {
	margin-bottom:1.4em; }
	
th {
	font-weight:bold; }
		
tfoot {
	font-style:italic; }

/* LINKS -------------------------------------------------------------------- */

a {
	border-bottom:1px dashed #ccc;
	color:#c00000;
	text-decoration:none; }

a:hover {
	border-bottom:1px solid #333;
	color:#333;
	text-decoration:none; }
	
/* LAYOUT ------------------------------------------------------------------- */

/* HEADER */

header {
	display:block;
	height:70px;
	position:relative; }

header h2 {
	font-size:54px;
	left:-3px;
	letter-spacing: -2px;
	line-height:1em;
	margin:0;
	position:absolute;
	top: 26px;
	text-transform:uppercase; }

header h2 a,
header h2 a:hover {
	border:0;
	display: block;
	color:#f2f2f2; }

#content-main {
	float:left;
	margin-top:20px;
	width:700px; }

#content-main h2 {
	font-size:24px;
	text-shadow:-1px -1px 1px #ccc;
	text-transform:uppercase; }
	
#content-main > p {
	width: 95%; }

#content-secondary {
	float:left;
	margin:2px 0 0 20px;
	width:240px; }
	
#moblogs_view #content-main {
	margin-top: 2px; }

#moblogs_view #content-secondary {
	margin-top: 11px; }

/* IS LOGGED IN */

#isLoggedIn {
	position:absolute;
	right:0;
	text-transform:uppercase;
	top:40px; }

#isLoggedIn a {
	border:0;
	color:#999;
	padding:5px; }

#isLoggedIn a:hover {
	background-color:#fff;
	color:#333; }

/* MOBLOGS */

.moblogs {
	float:left;
	margin:0;
	padding-bottom:1px;
	position:relative;
	width:700px; }

.moblogs a {
	border: 0; }

.moblogs .thumbnail {
	background-color:#ccc;
	float: left;
	height: 96px;
	margin: 0 4px 4px 0;
	position: relative;
	-o-transform:		scale(1);
	-moz-transform:		scale(1);
	-webkit-transform: 	scale(1);
	-o-transition:		-o-transform .1s ease-in, -o-box-shadow .2s ease-in; 
	-moz-transition:	-moz-transform .1s ease-in, -moz-box-shadow .2s ease-in; 
	-webkit-transition: -webkit-transform .1s ease-in, -webkit-box-shadow .2s ease-in;
	width: 96px; }

.moblogs .thumbnail:hover {
	position: relative;
	-o-box-shadow:		0 0 10px rgba(0,0,0,.5);
	-moz-box-shadow:	0 0 10px rgba(0,0,0,.5);
	-webkit-box-shadow:	0 0 10px rgba(0,0,0,.5);
	-o-transform:		scale(1.2);
	-moz-transform:		scale(1.2);
	-webkit-transform: 	scale(1.2);
	z-index: 1; }
	
.moblogs .thumbnail:first-of-type { 
	-o-transform-origin:		0 0;
	-moz-transform-origin:		0 0;
	-webkit-transform-origin:	0 0; }
	
.moblogs .thumbnail:nth-of-type(2),
.moblogs .thumbnail:nth-of-type(3),
.moblogs .thumbnail:nth-of-type(4),
.moblogs .thumbnail:nth-of-type(5),
.moblogs .thumbnail:nth-of-type(6) {
	-o-transform-origin:		50% 0;
	-moz-transform-origin:		50% 0;
	-webkit-transform-origin:	50% 0; }
	
.moblogs .thumbnail:nth-of-type(7) {
	-o-transform-origin:		100% 0;
	-moz-transform-origin:		100% 0;
	-webkit-transform-origin:	100% 0; }
	
.moblogs .thumbnail:nth-of-type(7n+8) {
	-o-transform-origin:		0 50%;
	-moz-transform-origin:		0 50%;
	-webkit-transform-origin:	0 50%; }
	
.moblogs .thumbnail:nth-of-type(7n+14) {
	-o-transform-origin:		100% 50%;
	-moz-transform-origin:		100% 50%;
	-webkit-transform-origin:	100% 50%; }
	
.moblogs .thumbnail:nth-last-of-type(7)	{
	-o-transform-origin:		0 100%;
	-moz-transform-origin:		0 100%;
	-webkit-transform-origin:	0 100%; }
	
.moblogs .thumbnail:nth-last-of-type(6),
.moblogs .thumbnail:nth-last-of-type(5),
.moblogs .thumbnail:nth-last-of-type(4),
.moblogs .thumbnail:nth-last-of-type(3),
.moblogs .thumbnail:nth-last-of-type(2) { 
	-o-transform-origin:		50% 100%;
	-moz-transform-origin:		50% 100%;
	-webkit-transform-origin:	50% 100%; }
	
.moblogs .thumbnail:last-of-type {
	-o-transform-origin:		100% 100%;
	-moz-transform-origin:		100% 100%;
	-webkit-transform-origin:	100% 100%; }

.moblogs .thumbnail img {
	height: 96px;
	width: 96px; }
	
.moblogs .thumbnail dd {
	background-color: #333;
	bottom: 0;
	color: #fff;
	font-size: 14px;
	padding: 5px 10px;
	position: absolute;
	right: 0; }
	
.moblogs .thumbnail dd a {
	color: #fff; }
	
.sort li,
.meta li,
.functions li {
	margin-bottom:4px;
	position: relative; }
	
.sort a,
.meta a,
.meta span,
.comment-author a,
.functions a,
#functions button {
	background-color:#333;
	border:0;
	color:#fff;
	display:inline;
	font-size:18px;
	letter-spacing: 1px;
	line-height:30px;
	padding:5px 10px;
	text-transform:uppercase;
	-o-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-webkit-transition: all .1s ease-in; }

.meta a,
.meta span,
.comment-author a,
#functions button {
	font-size: 14px;
	line-height: 26px; }

form#functions {
	margin-top: 1.125em;
}

#functions button {
	margin-bottom:4px;
	cursor:pointer; }

#functions button:hover {
	padding-right:20px; }

.back {
	background-color:#ccc;
	border:0;
	color:#fff;
	display:inline;
	font-size:10px;
	line-height:24px;
	padding:3px 10px;
	position: relative;
	text-transform:uppercase;
	-o-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-webkit-transition: all .1s ease-in; }

.back:hover {
	background-color: #333;
	border: 0;
	color: #fff; }
	
.meta .avatar {
	margin-bottom: 0; }
	
.sort .selected a,
.functions .selected a  {
	-webkit-border-radius:2px 0 0 0; }
	
.sort .selected:after,
.functions .selected:after {
	content:"\00a0";
	display:block;
	position:absolute;
	z-index:-1;
	top: 0;
	left:-30px;
	width:0;
	height:0;
	border-width:15px 15px;
	border-style:solid;
	border-color:transparent #333 transparent transparent; }

.sort a:hover,
.meta a:hover,
.functions a:hover,
.comment-author a:hover {
	-o-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-webkit-transition: all .1s ease-in;
	padding-right:20px; }

/* PAGINATION */

.pagination {
	clear:left; }

.pagination span,
.pagination a {
	background-color: #ccc;
	border: 0;
	color: #efefef;
	float: left;
	display: block;
	font-size: 18px;
	margin-right: 4px;
	text-align: center;
	text-transform: uppercase;
	-o-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-webkit-transition: all .1s ease-in;
	width: 46px; }

.pagination .next {
	float: right;
	width: 96px; }

.pagination a:hover {
	-o-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-webkit-transition: all .1s ease-in;
	padding-bottom: 10px; }

.pagination a:active {
	position:relative;
	top:1px; }
		
.pagination a:hover,
.pagination span.current {
	background-color: #333; }

#moblogImage {
	background-image: url(../img/moblog_shadow.png);
	background-repeat: no-repeat;
	margin: -6px 0 0 -9px;
	width: 714px; }
	
#moblogImage img,
#moblogImage #flash_player {
	background-color: #ccc;
	margin: 9px 0 0 9px;
	width:696px; }

#NSFW {
	background-color:#9a3334;
	color:#fff;
	font-size: 1.5em;
	margin:9px 0 4px 9px;
	min-height:200px;
	padding:20px;
	width:656px; }

#NSFW a {
	color:#fff; }

.comments {
	clear: left;
	list-style-type: none; }
	
.comment {
	border-top: 1px solid rgba(0,0,0,.1);
	margin-bottom: 20px;
	min-height: 90px;
	overflow:hidden;
	padding-top: 20px;
	position:relative; }
	
.comment .functions {
	margin:0;
	position:absolute;
	font-size:9px;
	right:0;
	text-transform:uppercase;
	top:20px; }

.comment .functions li {
	display:inline; }

.comment .functions li a {
	border:0;
	color:#333;
	padding:3px 5px; }
	
.comment .functions li a:hover {
	background-color:#333;
	color:#fff; }

.comment .avatar,
.commentForm .avatar {
	background-image: url(../img/avatar_shadow.png);
	background-repeat: no-repeat;
	float: left;
	height: 101px;
	width: 106px; }

.comment .avatar img,
.commentForm .avatar img {
	height: 80px;
	left: 8px;
	position: relative;
	top: 6px;
	width: 79px; }

.comment blockquote {
	float:left;
	font-family:georgia;
	font-size:14px;
	font-style:italic;
	text-shadow:-1px -1px 1px rgba(0,0,0,.1);
	word-wrap:break-word;
	width:590px; }

.comment .comment-meta {
	color:#ccc;
	font-family:georgia;
	font-style:italic;
	text-align:right;
	text-shadow:1px 1px 1px #fff; }

/*.commentForm .message {
	font-family:georgia;
	font-size:24px;
	margin-bottom: 15px;
	text-shadow:-1px -1px 1px #ccc; }*/

#content-main .commentForm {
	border-top: 1px solid #ccc;
	padding-top: 20px; }
	
#content-main .commentForm form {
	background-color: transparent;
	border: 0;
	padding: 0; }
	
.commentForm textarea {
	border: 1px solid #ccc;
	height: 150px;
	margin-top: 20px;
	width: 588px; }

#MoblogCommentEditForm textarea {
	border: 1px solid #ccc;
	height: 150px;
	margin-top: 20px;
	width: 588px;
}

/*.commentForm input {
	float: right; }*/
	
.comment .actions {
	position: absolute;
	right: 0;
	text-align: right;
	top: 0; }

.actions a {
	color: #ccc;
}
	
#content-main form {
	background-color: #fff;
	border: 1px solid #ccc;
	margin-bottom: 20px;
	padding: 20px; }
	

form div {
	overflow: auto;
/*	width: 398px;*/ }
	
label {
	display: inline-block;
	font-size:18px;
	margin-bottom: 10px;
	width: 100px; }

input {
	background-color:#f2f2f2;
	border:1px solid #ccc;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	display: inline;
	float: none;
	font-size:18px;
	padding:3px;
	width: 550px; }
	
input[type="checkbox"] {
	width: 20px; }

input[type="checkbox"] + label {
	width: 500px;
}
	
#UserLoginForm #UserRememberMe {
	width:15px; }
	
.submit {
	overflow: visible; }

.submit input {
	background:#333 url(../img/header_texture.png);
	border:0;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	font-size:18px;
	line-height:1;
	margin-left: 100px;
	padding:10px;
	position:relative;
	text-decoration:none;
	text-shadow:0 -1px 1px #222;
	text-transform:uppercase;
	-o-transform:		scale(1);
	-moz-transform:		scale(1);
	-webkit-transform: 	scale(1);
	-o-transition:		-o-transform .1s ease-in, -o-box-shadow .2s ease-in; 
	-moz-transition:	-moz-transform .1s ease-in, -moz-box-shadow .2s ease-in; 
	-webkit-transition: -webkit-transform .1s ease-in, -webkit-box-shadow .2s ease-in;
	width:auto; }
	
#UserEditTwitterForm .submit input,
#UserEditForm .submit input {
	margin-left: 0; }

#UserLoginForm .submit input:hover {
	-o-transform:		scale(1.2);
	-moz-transform:		scale(1.2);
	-webkit-transform: 	scale(1.2); }

.form-error {
	background-color: #fcc;
	border-color: #999; }
	
#users_edit .avatar,
#users_edit #thumbnail {
	margin-bottom: 10px;
}

/* TWITTER */

a[href="/twitter/twitter"] {
	background-image: url(../img/twitter_signin.png);
	background-repeat: no-repeat;
	border: 0;
	display: block;
	overflow: hidden;
	text-indent: -9999px;
	height: 22px; }

a[href="/twitter/twitter"]:hover {
	background-position: 0 -24px; }
	
a[href="/twitter/twitter"]:active {
	background-position: 0 -48px; }

#UserEditTwitterForm dl {
	border-bottom: 1px solid #ccc;
	overflow: auto;
	margin-bottom: 20px;
	padding-bottom: 10px; }
		
#UserEditTwitterForm dt {
	float: left;
	width: 70px; }

#UserEditTwitterForm dd {
	font-size: 1.5em;
	float: left;
	margin-top: 10px;
	width: 400px;
}
	
/* STATE MESSAGES */

.warning,
.message,
.error-message {
	color:#c00000;
}

.message,
.error-message {
	font-size:18px; }
	
.message {
	margin-top: 20px;
}

/* FOOTER */

footer {
	clear: both;
	float:left;
	margin-top: 50px;
	padding: 5px;
	width:100%; }

/* DEBUG */


