/***************************************
 Author: Joshua Works
 Site: University Life Cafe
 Updated: 15 Nov 2009
***************************************/

* { margin: 0; padding: 0; }
*:focus { outline: 0; }
img { border: 0; }
article,section,aside,nav,header,footer { display: block; }

body { background: #dfe5e5; color: #333; font-size: 12px; line-height: 20px; font-family: "Lucida Grande", "Lucida Sans", Helvetica, Arial, sans-serif; }

a { color: #344eae; }
a:visited { color: #333; }
a:hover { color: #4f3161; }

/* @Layout
----------------------------------------------- */
.wrap { width: 980px; margin: 0 auto; position: relative; }
header { background: url(../images/header_bg.gif) repeat-x top center; }
#content { background: #dfe5e5; overflow: hidden; }
#page_title { line-height: 30px; margin-left: 260px; font-size: 24px; padding: 10px 0; }
#page_title span { font-size: 20px; color: #444; position: relative; top: -1px; }
#main_content { width: 710px; float: right; padding: 10px; margin-bottom: 20px; overflow: hidden; background: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
#sidebar { width: 200px; margin: 0 250px 20px 10px; padding: 10px; background-color: #f6f6f6; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }


/* @Patterns
----------------------------------------------- */
#messages,
#no_items,
.instructions,
.error, .errorlist,
input.submit { font-weight: bold; background-color: #e3581a; color: #FFF; margin-bottom: 10px; padding: 10px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
#messages li, .instructions li, .errorlist li, .error li { list-style: none; }

.instructions { background-color: #344eae; font-size: 14px; font-weight: normal; }
.instructions a { color: #FFF; }
.error, .errorlist { padding: 5px 10px 5px 35px; background: #C00 url(../images/flag.png) 10px center no-repeat; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
#no_items { margin: 20px; font-weight: normal; background: #f2f2f2; color: #e3581a; font-size: 16px; text-align: center; }

input.submit { font-size: 13px; border: 0; margin: 10px 0; background-color: #4f3161; padding: 5px 15px; cursor: pointer; }
input.submit:hover { background-color: #344eae; }


/* @Header
----------------------------------------------- */
h1#logo { display: inline; }
h1#logo a { display: block; position: relative; top: 46px; width: 240px; height: 121px; margin-bottom: -121px; background: url(../images/logo.png) no-repeat; text-indent: -9999px; }

/* @User navigation
----------------------------------------------- */
#user_nav { height: 50px; }
#user_nav li { display: inline; list-style: none; zoom: 1; }
#user_nav li a { display: block; float: left; line-height: 50px; background-repeat: no-repeat; background-position: bottom center; text-indent: -9999px; }
#user_nav li a:hover { background-position: top center; }
#user_nav li#my_profile a { background-image: url(../images/user_nav_my_profile.gif); width: 90px; }
#user_nav li#sign_in a { background-image: url(../images/user_nav_sign_in.gif); width: 68px; }
#user_nav li#sign_out a { background-image: url(../images/user_nav_sign_out.gif); width: 78px; }
#user_nav li#create_account a { background-image: url(../images/user_nav_create_account.gif); width: 134px; }
#user_nav li#about_us a { background-image: url(../images/user_nav_about_us.gif); width: 81px; }

#user_nav li#search { display: block; position: absolute; right: 0; top: 0; }
#user_nav li#search form { overflow: hidden; width: 234px; height: 28px; margin-top: 11px; background: url(../images/search_form_background.png) no-repeat; }
#user_nav li#search form input { border: 0; float: left; height: 18px; width: 168px; margin: 5px 4px 5px 12px; background: transparent; }
#user_nav li#search form input.submit { width: 38px; height: 40px; margin: 0; float: left; text-indent: -9999px; cursor: pointer; }

/* @Site navigation
----------------------------------------------- */
#site_header { height: 90px; overflow: hidden; }
#site_nav { width: 725px; display: block; overflow: hidden; float: right; clear: right; }
#site_nav li { list-style: none; display: inline; }
#site_nav li a { display: block; float: left; width: 137px; height: 70px; margin: 10px 10px 10px 0; background: #dde7e7 center center no-repeat; text-indent: -9999px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
#site_nav li a:hover,
body.brew #site_nav li#brew a,
body.bookshelf #site_nav li#bookshelf a,
body.discussions #site_nav li#discussions a,
body.events #site_nav li#events a { background-color: #fff; }
#site_nav li#contribute a:hover,
body.contribute #site_nav li#contribute a { background-color: #e3581a; }
#site_nav li#bookshelf a { background-image: url(../images/nav_bookshelf.png); }
#site_nav li#brew a { background-image: url(../images/nav_brew.png); }
#site_nav li#discussions a { background-image: url(../images/nav_discussions.png); }
#site_nav li#events a { background-image: url(../images/nav_events.png); }
#site_nav li#contribute a { margin-right: 0; background-color: #4f3161; background-image: url(../images/nav_contribute.png); }

/* @Sidebar content
----------------------------------------------- */
#sidebar div { margin-top: 30px; line-height: 16px; }
#sidebar h2 { font-size: 14px; line-height: 24px; }
#sidebar h2 a { display: block; background: center top no-repeat; text-indent: -9999px; }

div#emergency { background-color: #4f3161; font-size: 11px; margin-top: 0; padding: 10px; color: #eee; text-align: center; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }

#discover_yourself h2 a { background-image: url(../images/discover_yourself.png); height: 90px; }
#contest h2 a { background-image: url(../images/art-contest-closed.png); height: 88px; }
#contest.open h2 a { background-image: url(../images/art-contest.png); }
#ask_willie h2 a { background-image: url(../images/askwillie.png); height: 50px; }

#partners li,
#social_media li { list-style: none; zoom: 1; }
#partners li a { display: block; background-color: #ddd; color: #222; font-size: 11px; margin-top: 5px; padding: 3px 6px; text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#partners li a:hover { background-color: #d3dedf; }

#social_media li a { display: block; padding-left: 44px; background: 10px center no-repeat; text-decoration: none; line-height: 28px; margin-top: 5px; font-weight: bold; color: #344eae; font-size: 13px; }
#social_media li a:hover { text-decoration: underline; }
#social_media li.facebook a { background-image: url(../images/facebook.png); color: #3b5998; }
#social_media li.twitter a { background-image: url(../images/twitter.png); color: #27b5e4; }
#social_media li.vimeo a { background-image: url(../images/vimeo.png); color: #0389ac; }
#social_media li.youtube a { background-image: url(../images/youtube.png); color: #c42828; }

/* @Sorting & @Filtering
----------------------------------------------- */
#filters { overflow: hidden; }
#filters fieldset { padding: 0 10px; margin-bottom: 20px; border: 0; }
#filters legend { font-size: 12px; text-transform: uppercase; line-height: 24px; font-weight: bold; }
#filters label { display: block; line-height: 20px; padding: 0 10px; color: #444; }
#filters label.all { font-weight: bold; color: #222; }
#filters input { margin-right: 10px; }
#filters input.submit { margin: 0 0 0 20px; }


/* @User content styles
----------------------------------------------- */
.body p,
.body ol,
.body ul { margin-bottom: 1em; }
.body li { margin-left: 30px; }


/* @Snippets
----------------------------------------------- */
.snippet { display: block; float: left; width: 230px; height: 175px; overflow: hidden; margin: 0 0 10px 10px; background: #d3dedf; position: relative; }
.snippet .item_type { display: block; position: absolute; z-index: 999; width: 230px; height: 150px; background-position: 130px 20px; background-repeat: no-repeat; }
.snippet .item_type.artwork { background-image: url(../images/tag_artwork.png); }
.snippet .item_type.audio { background-image: url(../images/tag_audio.png); }
.snippet .item_type.photography { background-image: url(../images/tag_photography.png); }
.snippet .item_type.poetry { background-image: url(../images/tag_poetry.png); }
.snippet .item_type.video { background-image: url(../images/tag_video.png); }
.snippet .item_type.writing { background-image: url(../images/tag_writing.png); }
.snippet .item_type.module { background-image: url(../images/tag_module.png); }
.snippet .item_type.article { background-image: url(../images/tag_article.png); }
.snippet .item_type.presentation { background-image: url(../images/tag_presentation.png); }
.snippet .item_type.gallery { background-image: url(../images/tag_gallery.png); }
.snippet .item_type.poll { background-image: url(../images/tag_poll.png); }

.snippet .embed object,
.snippet .embed embed { position: absolute; width: 230px !important; height: 150px !important; z-index: 5; }
.snippet .items li { list-style: circle; margin-left: 30px; }
.poll label { display: block; line-height: 26px; }
.poll label input { margin-right: 5px; }

.snippet .caption h3 a { display: block; font-size: 15px; line-height: 20px; padding: 5px 10px; margin-bottom: 5px; text-decoration: none; }
.snippet .caption p { font-size: 11px; line-height: 15px; padding: 0 10px; }
.snippet .meta { position: absolute; overflow: hidden; bottom: 0px; width: 220px; padding: 0 5px; font-size: 10px; line-height: 25px; background: #fff; }
.snippet .meta span,
.snippet .meta a.comments { display: block; float: left; margin-right: 12px; }
.snippet .meta .publisher { display: block; float: right; font-size: 9px; text-decoration: none; }
.snippet .meta .comments { background: url(../images/comment.gif) left center no-repeat; padding-left: 15px; }
.snippet .meta .likes { background: url(../images/heart.gif) left center no-repeat; padding-left: 15px; }

.abstract { overflow: hidden; margin-bottom: 20px; }
.abstract h1 a { display: block; font-size: 18px; line-height: 28px; text-decoration: none; }
.abstract .body { width: 500px; float: left; border: 0; padding: 0; }
.abstract .meta { float: right; width: 160px; background: #eee; padding: 5px 10px; font-size: 11px; line-height: 18px; }
.abstract .meta span { display: block; }
.abstract .meta span.important { font-weight: bold; }


/* @Detail
----------------------------------------------- */
.detail { margin-bottom: 40px; overflow: hidden; zoom: 1; }
.detail .item_content { width: 500px; float: left; }
.detail .meta { float: right; width: 160px; padding: 0 20px; margin: 0 0 10px 10px; background: #eee; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }

.detail .embed object,
.detail .embed embed { width: 500px; height: 340px; }
.detail .body { padding: 10px; font-size: 13px; }
.detail .link,
.detail .file { font-weight: bold; padding: 5px 10px 5px 35px; background: #eee url(../images/pin.png) 10px center no-repeat; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.detail .link { background-image: url(../image/bookmark.png); }

.detail .meta dl { padding: 20px 0 10px; }
.detail .meta dt { font-weight: bold; line-height: 20px; }
.detail .meta dd { margin: 0 0 10px 10px; font-size: 11px; line-height: 16px; }

.detail p.official { padding: 5px; font-size: 10px; line-height: 16px; margin: 0 -20px; text-align: center; font-weight: bold; background: #e3581a; color: #FFF; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.detail .meta strong a { font-weight: normal; }


/* @Contribute
----------------------------------------------- */
#contribute_selector { overflow: hidden; border-bottom: 2px solid #4f3161; margin: 0 0 10px !important; }
#contribute_selector li { display: inline; }
#contribute_selector a { display: block; float: left; padding: 3px 10px; background: #ddd; font-weight: bold; margin-right: 3px; text-decoration: none; }
#contribute_selector li.selected a { background: #4f3161; color: #FFF; }


/* @Contests
----------------------------------------------- */
.open_for_entries { color: #C00; font-size: 15px; }
.open_for_entries a { color: #344eae; font-size: 15px; padding-left: 10px; }


/* @Profiles
----------------------------------------------- */
#profile_pic { float: left; margin-right: 20px; }
#edit_link { display: block; float: right; padding: 3px 10px; margin: 10px; background: #ddd; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; text-decoration: none; font-weight: bold; }


/* @Comments
----------------------------------------------- */
#comments { overflow: hidden; clear: both; margin: 10px; padding-top: 30px; border-top: 1px solid #ddd; }
#comments h2 { margin-bottom: 1em; }
#comments h3 { margin: 2em 0 0; }

#comments .comment { overflow: hidden; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #ddd; width: 540px; }
#comments .comment .pic { float: left; margin-right: 20px; }
#comments .comment_content { margin-left: 80px; }
#comments .comment-author { font-weight: bold; }
#comments .comment-body { padding: 5px 0; }
#comments .comment-date { font-size: 9px; line-height: 14px; color: #999; }

.comment_message { font-weight: bold; color: #e3581a; margin: 1em 0; }
#comments form label { display: none; }
#comments textarea { width: 400px; height: 120px; margin: 10px 0; font-size: 12px; padding: 5px; border: 1px solid #ddd; }

/* @Search
----------------------------------------------- */
.search h2 { font-size: 14px; line-height: 40px; }


/* @Pagination
----------------------------------------------- */
.pagination { clear: both; overflow: hidden; background: #dfe5e5; margin: 0 -10px -10px; padding: 20px 0; zoom: 1; }
.pagination a, 
.pagination span { display: block; float: left; margin-right: 6px; width: 32px; padding: 2px 0; background: #fff; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; text-decoration: none; text-align: center; color: #344eae; }
.pagination .next, 
.pagination .prev { width: 90px; }
.pagination .ellipsis { background: none; width: 20px; }
.pagination .current,
.pagination a:hover { background: #344eae; color: #fff; }
.pagination .disabled { color: #888; background-color: #AAA; }

/* @Forms
----------------------------------------------- */
.form_table { border-collapse: collapse; border: 0; }
.form_table tr { border-top: 10px solid #fff; }
.form_table th { padding: 5px 20px 3px; text-align: right; vertical-align: top; }
.form_table td { padding: 0; }
.form_table tbody input { padding: 3px 5px; border: 1px solid #ccc; font-size: 20px; }
.form_table textarea { width: 400px; height: 120px; font-size: 12px; padding: 5px; border: 1px solid #ccc; }

/* @Footer
----------------------------------------------- */
footer { clear: both; background: #b5c9c9; text-align: center; line-height: 40px; padding: 5px 0; }
footer li { display: inline; margin-right: 20px; list-style: none; }