/*   
Theme Name: Commerce Undergraduate Society at UBC
Theme URI: http://www.cusonline.ca
Description: A heavily modified version of the p2theme for Wordpress.
Author: Johnny Lee
Author URI: http://www.johnnylee.ca
*/

/* The Reset --------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,
h6,pre,form,fieldset,input,p,blockquote,table,
th,td { margin: 0; padding: 0; }
fieldset,img,abbr { border: 0; }
address,caption,cite,code,dfn,em,h1,h2,h3,
h4,h5,h6,strong,th,var { font-style: normal; font-weight: normal; }
caption,th { text-align: left; }
q:before,q:after { content: ''; }
a { text-decoration: none; }
/* Font Stacks -------------------------------- */
body, form *, #respond #cancel-comment-reply-link { 
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', "Helvetica Neue", Helvetica, Arial, sans-serif; 
}
h1, h2, h3, #postbox label, #help dd {
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 200;
}
code, pre { font-family: Monaco, Consolas, "Courier New", monospace; }
/* -------------------------------------------- */

html {
	
}
body {
	font-size: 10px;
text-align: center;
}
a, a:visited, h1 a:visited {
	color: #0085d1;
}
a:hover, h1 a:hover, #main .postcontent a:hover {
	color: #777;
}

#main .selected .actions a:hover {
color: #EEE;
}

h1 a:hover {
	border: none;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}
code, pre {
	font-size: 1.1em;
}
code {
	background: #f1f1f1;
}
acronym {
	border-bottom: 1px dotted rgb(85, 85, 85);
	cursor: help;
}
dt {
	font-weight: bold;
}
dd {
	margin-left: 2em;
}
blockquote {
	padding-left: 8px;
	font-style: italic;
	color: #888;
	background: #f1f1f1;
	padding: 2px 12px;
}

h4, h5, h6 {
	font-weight: 500;
}

#main {
	font-size: 1.3em;
	width: 580px;
}

#main .wp-smiley {
	border: none;
}
#postbox {
	display: none;
}

img.avatar-default {
border: 1px solid #ccc;
}

.disabled, .disabled:hover {
	color: #eee !important;
	background: #ddd !important;
	border: 1px solid #ccc;
}

#respond #submit, input#comment-submit {
	width: auto;
}
input#comment-submit {
	clear: both;
}

#main ul#postlist {
	list-style: none;
	margin: 16px 0 0 0;
}

h2 {
	font-size: 2em;
	font-weight: normal;
	color: #555;
}

h3 {
font-size: 1.5em;
font-weight: normal;
color: #555;
}

#main img.avatar {
	float: left;
	margin: 0 15px 0 2px;
	border: 1px solid #ccc;
}

#main ul#postlist li {
	overflow: hidden;
	
	padding: 14px 10px 10px 10px;
}
#main ul#postlist ul li {
	border-top: 1px solid #ddd;
}
#main h4 {
position: relative;
}

#main .controls {
font-size: 12px;
text-align: left;
margin-left: 130px;
line-height: 3em;
}

#main .actions {
	float: right;
	margin: 0 0 0 0;
	right: 5px;
	top: 0;
}

*:first-child+html #main .actions {
margin: -15px 0 0 0;
} 

* html #main .actions {
margin: -15px 10px 0 -10px;
}

* html #main h4 {
float: right;
}

#main .actions, #main .actions a, #main .actions a:link, #main .actions a:visited, #main .actions a:hover, #main .actions a:active, 
#main .keyselected .actions, #main .keyselected .actions a, #main .keyselected .actions a:link, #main .keyselected .actions a:visited, #main .keyselected .actions a:hover, #main .keyselected .actions a:active,
#main .selected ul li .actions, #main .selected ul li .actions a, #main .selected ul li .actions a:link, #main .selected ul li .actions a:visited, #main .selected ul li .actions a:hover, #main .selected ul li .actions a:active {
	color: #444;
}
.postcontent {
	overflow: auto;
	color: #555;
	min-height: 32px;
}
.bottom_of_entry {
	margin-bottom: 1px;
	height: 9px;
}
h2 img {
	vertical-align: middle;
	margin-right: 12px;
}
#main p img {
	vertical-align: top;
	padding: 2px;
	border: 1px solid #eee;
	margin-right: 8px;
}
#main h4 {
	font-size: 1em;
	line-height: 1.1em;
}
#main h4 a {
	font-weight: bold;
}
#main h4 span a {
	font-weight: normal;
}
#main p {
	margin: .7em 0;
}
#main p, #main ul, #main ol, #main span {
	font-size: 1em;
	line-height: 1.5em;
	color: #555;
}

#main ul#postlist .postcontent ul, #main ul#postlist .postcontent li {
	border: none;
	padding-top: 0;
}
.postcontent ul, .postcontent ol {
	clear: both;
}
#main ul, #main ol {
	margin-left: 18px;
}
#main ul.commentlist {
	list-style: none;
	margin-left: 64px;
}
#main ul.commentlist li {
	list-style: none;
}
#main ul.commentlist .commentcontent li {
	list-style: disc;
}
#main ul.commentlist {
	border-top: 0;
	margin-top: 0;
}
#main ul.commentlist img.avatar {
	margin-right: 12px;
}
#main form {
	margin-top: 10px;
}
#main input {
	margin: 4px 0;
}
#postpage #respond {
	width: 70%;
	margin-bottom: 20px;
	margin-left: 72px;
}
#main #respond, .textedit {
	background: #f1f1f1;
	padding: 14px 16px 12px;
	margin-bottom: 10px;
	margin-left: 64px;
}
.textedit {
margin-left: 0;
}

#main .commentlist #respond.replying {
	margin-left: 44px;
}
#main .commentlist li #respond.replying {
	margin-left: 93px;
}
#respond #cancel-comment-reply-link {
	font-weight: normal;
}
#respond h3 small {
	font-weight: normal;
	font-size: .7em;
}
#respond textarea, .textedit textarea {
	width: 94%;
	padding: 6px;
	font-size: 12px;
	border: 1px solid #ccc;
}
#postpage #respond p {
	margin-right: 0;
}
#respond p, li ul #respond p {
	float: right;
	margin-right: 10%;
	padding-right: 5px;
	margin-top: 5px;
}
#postpage li ul #respond p {
	margin-right: 5%;
}
#postpage #respond textarea {
	width: 96%;
}
#postpage li ul #respond textarea {
	width: 94% !important;
}
.commentcontent {
	overflow: auto;
}
.commentlist {
	margin-bottom: 5px;
}
.commentlist .children {
	margin: 0 !important;
}
.commentlist .children li {
	list-style: none;
	padding: 0 0 5px;
	position: relative;
	height: 1%;
	margin-left: 47px;
}
.commentlist .children li li {
	height: 1%;
}
#main span.meta {
	font-size: 0.85em;
	margin: 0 0 1.5em;
	color: #666;
}
#main .meta em {
	font-style: normal;
}
#main p.meta {
	font-size: 1em;
}
.rss {
	float: right;
	background: url(i/feed.png) bottom left no-repeat;
	padding-left: 14px;
	padding-top: 4px;
}
.allrss {
	background: url(i/feed.png) center left no-repeat;
	padding-left: 14px;
}
h2 .rss {
	float: none;
	background: url(i/feed12x12.png) bottom left no-repeat;
	padding-top: 0;
	padding-left: 16px;
	text-indent: -1000em;
	display: inline-block;
	height: 1em;
}
h2 a.rss:hover {
	border: none;
}

#recent-comments .avatar {
	height: 32px;
	width: 32px;
}
#recent-comments tr {
	height: 32px;
	overflow: hidden;
}
#recent-comments table td.recentcommentsavatartop {
	height: 32px !important;
	width: 32px !important;
}
#recent-comments table td.recentcommentstexttop {
	vertical-align: top;
}

#wpstats {
	position: relative;
	margin-top: 30px;
}
#main ul#postlist, #main .post ul {
	list-style: none;
	margin-top: 0px;
}
#main ul#postlist ul, #main .post ul {
	list-style: disc;
}
#main ul#postlist ul ul, #main ul#postlist ol ul, #main .post ul ul, #main .post ol ul {
	margin-top: 0;
}
#main ol, #main .post ol {
	margin-top: 16px;
	margin-left: 18px;
	list-style: decimal;
}
#main ol ol, #main .post ol ol {
	margin-top: 0;
}
img.centered, img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.liveupdates {
	min-height: 30px;
	line-height: 30px;
	margin: 0 0 10px;
	padding: 0 5px;
	color: #464646;
	display: none;
	background: #E4F2FD;
}
a.hidemessage {
	display: block;
	float: left;
}

.post-error {
	color: red !important;
	width: 608px;
	padding-bottom: 10px;
}
.progress {
	bottom: 23px;
	padding-left: 20px;
	position: absolute;
	left: 37px;
	width: 20px;
	display: none;
}
#tooltip {
	position: absolute;
	border: 1px solid #666;
	background: #eee;
	padding: 2px 5px;
	color: #333;
	display: none;
}
.hilite {
	color: #fff;
	background: #f93;
}
#newCommentsIndicator {
	position: absolute;
	left: 0;
	top: 300px;
	border: 2px solid red;
}
li.newupdates, li.newcomment {
	display: none;
	background: #F6F3D1;
}
.repyling .post .comment {
	background: transparent;
}
form.textedit textarea {
	font-size: 12px;
	line-height: 12px;
}


#userpage  ul {
	padding-top: 10px;
	clear: left;
}
#postpage h2.title {
	text-indent: -1000em;
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	margin: 0;
	padding: 0;
}
#postpage h4 {

}
#postpage li li h4 {
	margin-top: 0;
}
#postpage .postcontent {
	margin-left: 62px;
}
#postpage #main ul#postlist, #postpage #main ul#postlist li {
	border-width: 0;
	margin-top: 0;
	padding-top: 0;
}

#postpage #main ul#postlist li ul li {
	border-width: 1px 0 0;
	margin-top: 0;
	padding-top: 14px;
}

.keyselected {
	background: #eee !important;
}

.postcontent h2, .commentcontent h2,
.postcontent h3, .commentcontent h3,
.postcontent h4, .commentcontent h4 {
	margin-bottom: 10px;
}
.no-posts {
	padding: 2em !important;
	
}

div.entry {
	height: auto;
}

.gallery br {
display: none;
clear: none;
}

.attachment .navigation {
width: 691px;
height: 85px;
margin-bottom: 20px;
border-top: 0;

}

.single-title {
	margin-top: 10px;
	line-height: normal;
}

.homelist:hover {
	background: #EEE;
}

.homelist {
	margin: 10px 0 0 0;
	border-top: 0px;
	border-bottom: 0px solid #bbb;
	background: #EEE;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.thepermalink {
display: block;
padding: 10px;
margin: 0 0 5px 5px;
background: #CCC;
}

*html .thepermalink {
padding: 0 10px 0 10px;
margin: 0;
background: #CCC;
}

.thepermalink:hover {
background: #444;
}

.homelist .postcontent p:hover {
background: #DDD;
cursor: pointer;
}

.postcontent .entryexcerpt p {
width: 400px;
}

* html .postcontent .entryexcerpt p {

}

.avatar {
float: left;
}

* html .postcontent h4 {
height: 30px;
float: right;
}

ol li {
list-style-type: decimal;
}

ol {
list-style-type: decimal;
}