/*
Theme Name: ASSU
Theme URI: http://www.assu.ca/
Description: Custom theme for ASSU.
Version: 0.1
Author: Josh Freeman
Author URI: http://www.joshfreeman.ca/
*/

/* first, reset */
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none outside;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
img {
  position: relative;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
em {
  font-style: normal;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

h6 {
  font-size: 110%;
  line-height: 1em;
}
h5 {
  font-size: 130%;
  line-height: 1em;
}
h4 {
  font-size: 150%;
  line-height: 1em;
}
h3 {
  font-size: 170%;
  line-height: 1em;
}
h2 {
  font-size: 185%;
  line-height: 1em;
}
h1{
  font-size: 200%;
  line-height: 1em;
}

/*************************************/

/****************************** GLOBALS */

.alignleft { float: left; }
.alignright { float: right; }

p { margin: 1em 0em; }

blockquote { margin: 2em; }

.hidden { display: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: Georgia, serif;
}

body {
  background: #AAA url('images/bg-pattern.gif') repeat;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.2em;
}

a:link, a:visited {
  color: #3B3B3B;
  text-decoration: underline;
}
a:hover, a:active {
  color: #F174AD;
  text-decoration: none;
}

ul {
  list-style-type: disc;
  padding-left: 2em;
}

ol {
  list-style-type: decimal;
  padding-left: 2em;
}

#logo {
  position: absolute;
  top: -50px;
  left: -35px;
  width: 299px;
  height: 178px;
}

html>body #logo { background: url('images/assu-logo.png'); }
* html #logo { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://assu.ca/wp/wp-content/themes/assu/images/assu-logo.png',sizingMethod='scale'); }

#homelink {
  display: block;
  width: 200px;
  height: 170px;
  background: url('images/homelink.gif') 0px -170px no-repeat;
}

#homelink:hover {
  background-position: 0px 0px;
}

#homelink span { display: none; }

#fblink {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 75px;
  height: 75px;
  background-image: url('images/fblink.gif');
  background-repeat: no-repeat;
}
#fblink:hover {
  background-position: 0 -75px;
}
#fblink span { display: none; }

#page {
  position: relative;
  background: #EEE url('images/page-bg.gif') center bottom repeat-x;
  width: 800px;
  margin-top: 50px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid #3B3B3B;
}

#header {
  position: relative;
  background-repeat: no-repeat;
  height: 250px;
}

#menu {
  position: absolute;
  bottom: 0px;
}

.menu {
  list-style-type: none;
  padding: 0px 27px;
  width: 750px;
  height: 30px;
  border-bottom: 2px solid #3B3B3B;
}

.menu li {
  float: left;
  margin: 0px 5px;
  border: 2px solid #3B3B3B;
  border-bottom-width: 0px;
}

.menu li a, .menu li a:visited {
  display: block;
  width: 136px;
  height: 28px;
  text-align: center;
  background-color: #3B3B3B;
  color: #FFF;
  line-height: 28px;
  text-decoration: none;
}

.menu li a:hover {
  background-color: #F174AD;
  color: #3B3B3B;
}

.menu li.current_page_item a, .menu li.current_page_item a:hover {
  cursor: default;
  color: #F174AD;
  font-weight: bold;
}

#menu1 li.current_page_item a {
  background-color: #3B3B3B;
}

#menu2 {
  background: #3B3B3B url('images/menu2.gif') 18px 15px no-repeat;
  padding: 0px 8px 0px 42px;
  border-bottom-color: #000;
  height: 40px;
}

#menu2 li {
  margin-top: 10px;
  border-color: #000;
}

#menu2 li a {
  background-color: #000;
  color: #FFF;
}

#menu2 li a:hover {
  background-color: #F174AD;
  color: #3B3B3B;
}

#menu2 li.current_page_item a, #menu2 li.current_page_item a:hover {
  color: #F174AD;
  background-color: #000;
}

.navigation p { clear: both; }
.navigation div a {
  display: block;
  width: 30px;
  height: 30px;
  margin: 5px 10px;
}
.navigation div a:hover { background-position: 0px -30px; }
.navigation .prev a { background-image: url('images/arrow-left.gif'); }
.navigation .next a { background-image: url('images/arrow-right.gif'); }
.navigation div a span { display: none; }
.navigation .prev { float: left; }
.navigation .next { float: right; }

#content {
  clear: both;
  width: 550px;
  float: left;
  margin-left: 10px;
  border-right: 1px solid #FFF;
  padding-right: 10px;
}

#sidebar {
  float: right;
  width: 205px;
  margin-right: 10px;
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
}

#sidebar .widgettitle {
  text-align: center;
  color: #3B3B3B;
  padding: 10px 0px 5px 0px;
}

#sidebar #search {
  padding: 15px 0px 5px 0px;
  text-align: right;
}

#sidebar #search #s {
  width: 98%;
  font-size: 150%;
  margin-bottom: 2px;
}

#sidebar #search #searchsubmit {
  font-size: 150%;
}

#event-calendar {
  border-bottom: 1px solid #3B3B3B;
}

a#ec3_prev, a#ec3_next {
  display: block;
  width: 15px;
  height: 0px;
  overflow: hidden;
  padding-top: 15px;
  margin: 0px 10px;
}

a#ec3_prev { background-image: url('images/arrow-left-small.gif'); float: left; }
a#ec3_next { background-image: url('images/arrow-right-small.gif'); float: right; }

a#ec3_prev:hover, a#ec3_next:hover { background-position: 0px -15px; }

#ec3_spinner, #ec3_publish { display: none; }

#event-calendar caption {
  font-size: 130%;
  padding-bottom: 10px;
  font-weight: bold;
}

#event-calendar thead {
  border-bottom: 1px solid #3B3B3B;
}

#event-calendar td {
  padding: 1px;
}

#event-calendar .ec3_postday {
  background-color: #3B3B3B !important;
  border: 2px solid #3B3B3B !important;
}

#event-calendar .ec3_postday:hover, #event-calendar .ec3_eventday:hover {
  background-color: #F174AD !important;
  border: 2px solid #3B3B3B !important;
}

#event-calendar .ec3_postday a { color: #FFF !important; }
#event-calendar .ec3_eventday a { color: #F174AD !important; }

#event-calendar .ec3_postday a:hover, #event-calendar .ec3_eventday a:hover {
  color: #3B3B3B !important;
}

#upcoming-events .ec3_list_day {
  color: #000;
  font-size: 120%;
  padding-left: 10px;
}

#upcoming-events .ec3_list ul {
  list-style-type: disc;
  margin: 5px 25px;
  
}

#footer {
  clear: both;
  background-color: #000;
  color: #AAA;
  margin-top: 10px;
  padding: 20px;
  text-align: right;
}

#footer a {
  color: #AAA;
}

/******************************** ALL POSTS */

.post, .noposts, .page {
  position: relative;
  padding: 10px;
  margin-bottom: 10px;
}
.noposts {
  text-align: center;
  font-weight: bold;
  padding: 5px;
}

.post-title {
  margin-bottom: 4px;
}

.byline {
  text-align: right;
}

.post .content {
  padding: 10px 5px 5px 5px;
}

.post .meta {
  text-align: right;
}

.ec3_schedule {
  border-width: 2px !important;
  border-color: #3B3B3B !important;
  background-color: #F174AD !important;
  font-weight: bold !important;
}

.ec3_schedule td {
  color: #3B3B3B !important;
  padding: 5px !important;
  text-align: center !important;
}

/********************************* HOME PAGE */

.homepost {
  position: relative;
  width: 261px;
  float: left;
  margin: 5px 4px 5px 4px;
  border: solid 3px  #3B3B3B;
  padding: 0;
}

.homepost a.post-link, .homepost a.post-link:hover, .homepost a.post-link:active, .homepost a.post-link:visited {
  position: relative;
  display: block;
  width: 261px;
  height: 235px;
  text-align: justify;
  text-decoration: none;
  padding-bottom: 3em;
  color: #3B3B3B;
  overflow: hidden;
}

.homepost a.post-link:hover {
  background-color: #F174AD;
}

.homepost .post-header {
  padding: 5px;
  background-color: #3B3B3B;
}

.homepost .post-title {
  font-family: Georgia, serif;
  font-size: 150%;
  color: #F174AD;
  text-decoration: underline;
  padding-bottom: 2px;
  line-height: 1.2em;
  text-align: left;
}

.homepost a.post-link:hover .post-title {
  text-decoration: none;
}

.homepost .post-time {
  text-align: right;
  color: #FFF;
  text-decoration: none;
}

.homepost p {
  padding: 10px;
  padding-top: 5px;
  margin: 0em;
}

.homepost .byline {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#morelink a, #morelink a:hover, #morelink a:active, #morelink a:visited {
  background-color: #3B3B3B;
  color: #F174AD;
  line-height: 2em;
  padding: 20px;
  font-size: 150%;
  font-family: Georgia, serif;
  width: 221px;
}

#morelink a:hover {
  background-color: #F174AD;
  color: #3B3B3B;
}

/********************************* PAGES */

#page-title {
  padding: 10px 10px 0px 10px;
  text-align: center;
}

.page #pagination {
  text-align: center;
  position: relative;
  top: -10px
}

.page .course-union {
  border: 1px solid #FFF;
  padding: 10px;
  margin: 15px 0px;
}

.page .course-union ul {
  margin: 5px 0px;
}

.page .linkslist {
  padding: 0;
  margin: 0;
}

.page .linkcat {
  list-style-type: none;
  margin: 10px 0px;
}

#anti-calendar-list {
  float: left;
  width: 150px;
  border: 1px solid #000;
  padding: 0.5em;
}

.anti-calendar-page {
  width: 360px;
  float: right;
}

/****************************** COMMENTS */

li.comment {
  position: relative;
  padding: 10px;
  margin-bottom: 10px;
}

li.comment .comment-author {
  font-family: Georgia, serif;
  font-size: 150%;
  line-height: 1em;
  margin-bottom: 4px;
}

li.comment .comment-meta {
  text-align: right;
}

li.comment p {
  padding: 10px 5px 5px 5px;
}

#loggedin {
  text-align: center;
  padding: 10px;
  margin: 5px;
  border: 1px solid #FFF;
}

#comment-reply label {
  padding-left: 5px;
}

#comment-reply #author, #comment-reply #email, #comment-reply #url, #comment-reply #comment {
  font-family: Arial, sans-serif;
  font-size: 12px;
}

#comment-reply #author, #comment-reply #email, #comment-reply #url {
  margin-bottom: 3px;
  margin-left: 5px;
}

#comment-reply #author {
  font-size: 150%;
  font-family: Georgia, serif;
  margin-bottom: 5px;
  font-style: italic;
}

#comment-reply #comment {
  width: 96%;
  padding: 5px;
  margin: 5px;
}

#comment-reply #submit {
  margin-left: 10px;
}