/*  
Theme Name: Socialsquare 5
Theme URI: http://socialsquare.dk/
Description: -
Version: A
Author: Socialsquare
Author URI: http://socialsquare.dk/
*/

@import url('reset.css');

/* Structure */

body {
  background-color: #fff;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 16px;
  color: #555555;
}

#wrapper {
  width: 950px;
  margin: 0 auto;
  border-left: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
}

#content {
  float: left;
  width: 600px;
  padding: 0 20px;
  margin: 20px 0;
}

#content .pagenav .nav-next {
  float: right;
}

#content .pagenav .nav-previous {
  float: left;
}

#sidebar {
  float: right;
  width: 270px;
  padding: 0 20px;
  margin: 20px 0;
}

#footer {
  clear: both;
  padding: 0 0 0 20px;
}

/* General */

img {
  border: none;
}

small {
  font-size: 80%;
}

a:link, a:visited {
  color: #035773;
  text-decoration: none;
}

a:hover {
  border-bottom: 1px dotted #035773;
}

/* Headers */

h2 {
  line-height: 15px;
  font-size: 20px;
  color: #035773;
  padding: 10px 0 20px;
  clear: left;
  font-family: Arial, serif;
}

h2 a img {
  position: relative;
  left: -10px;
}

h3 {
  color: #035773;
  width: 80%;
  line-height: 20px;
  margin: 5px 0;
  font-size: 20px;
  font-family: Arial, serif;
}

h3 a:link, h3 a:visited {
  color: #e94f3f;
}

/* Logo & Menu */

#menu {
  background-color: #e94f3f;
  height: 86px;
}

#logo {
  float: left;
  width: 366px;
  height: 86px;
}

#logo a:link, #logo a:visited, #logo a:hover {
  border-bottom: none;
}

#menu ul {
  margin: 0 29px;
  padding: 0 0 0 1px;
  list-style: none;
  float: right;
}

#menu ul li {
  padding: 26px 0 1px 0;
  line-height: 15px;
}

#menu ul li a:link, #menu ul li a:hover, #menu ul li a:active, #menu ul li a:visited {
  color: #fff;
}

/* Social Map */

#socialmap {
  height: 30px;
  overflow: hidden;
  color: #555555;
}

#socialmap .iframe {
  height: 400px;
  width: 950px;
}

#socialmap .expander, #socialmap .navigation {
  background: #eee;
  padding: 7px;
  height: 16px;
}

#socialmap .expander span {
  font-weight: bold;
}

#socialmap .navigation img {
  display: block;
  margin: 4px 0 0 5px;
}

/* Features */

li.feature {
  display: block;
  float: left;
  width: 170px;
  height: 120px;
  margin: 0 15px 15px 0;
  overflow: hidden;
  background: #eee;
}

li.feature a:hover { border-bottom: none; }

li.feature .date { display: none; }

li.feature .box { width: 170px; height: 120px; position: relative; }
li.feature .box .photo { position: absolute; top: 0; left: 0; width: 170px; height: 120px; overflow: hidden; }
li.feature .box .title { display: block; }
li.feature .box .title a {color:white; display:block; font-size:14px; height:110px; left:0; line-height:14px; overflow:hidden; position:absolute; top:0; width:190px;}
li.feature .box .title a span { width: 170px; padding: 3px 3px; background: #e94f3f; bottom: 0; display: block; position: absolute; cursor: pointer; }

li.feature .box .corner-bl { position: absolute; bottom: -16px; left: 0; width: 2px; height: 2px; background: url(images/fragment-bottom-left.png) no-repeat 0 0; z-index: 2; }
li.feature .box .corner-br { position: absolute; bottom: -16px; right: -1px; width: 2px; height: 2px; background: url(images/fragment-bottom-right.png) no-repeat 0 0; z-index: 2; }
li.feature .box .corner-tl { position: absolute; top: 0; left: 0; width: 2px; height: 2px; background: url(images/fragment-top-left.png) no-repeat 0 0; z-index: 2; }
li.feature .box .corner-tr { position: absolute; top: 0; right: -1px; width: 2px; height: 2px; background: url(images/fragment-top-right.png) no-repeat 0 0; z-index: 2; }
li.feature .box > .corner-tl { top: 0; left: 0; }
li.feature .box > .corner-tr { top: 0; right: 0; }
li.feature .box > .corner-bl { bottom: 0; left: 0; }
li.feature .box > .corner-br { bottom: 0; right: 0; }

#top #features {
  margin-left: 20px;
}

#top #features h3 {
  margin-top: 15px;
}

#sidebar #features h3 {
  float: right;
  width: 170px;
}

#sidebar #features ul {
  float: right;
  width: 170px;
}

#sidebar #features .after {
  display: block;
  clear: both;
}

/* Post & Page */

.post {
  margin-bottom: 30px;
  font-size: 13px;
  line-height: 18px;
}

.post h3 {
  font-size: 18px;
  height: 46px;
  display: table-cell;
  vertical-align: bottom;
}

.post .post_author {
  float: right;
  width: 19%;
  text-align: right;
}

.post .post_author img {
  display: block;
  float: right;
  height: 40px;
}

.post .post_author span {
  display: block;
  clear: right;
}

.post .post_meta {
  border-top: 1px dotted #666;
  clear: both;
  font-size: 90%;
}

.post .readmore {
  display: block;
  padding-top: 6px;
}

.post .post_content p {
  margin: 13px 0;
}

.post .post_content blockquote {
  margin: 0 0 18px 12px;
	border-left: 2px solid #e94f3f;
	padding: 0 12px;
}

/* Post comments */

.comments h3 {
  text-transform: uppercase;
  margin-top: 20px;
  font-size: 14px;
}

.comments ol.commentlist li {
  display: block;
  border-bottom: 1px dotted #666;
  margin-top: 10px;
  padding: 0 10px;
}

.comments p {
  margin: 13px 0;
}

.comments textarea {
  width: 100%;
}

/* Author profile page */

#author-profile .photo {
  width: 100px;
  float: left;
}

#author-profile .description {
  margin: 0 0 10px 120px;
}

/* User List */

#users .user {
  margin-bottom: 50px;
}

#users .user .entry_author_image {
  width: 100px;
  float: left;
}  

#users .user .name, #users .user .title {
  margin: 0 0 5px 120px;
  display: block;
  width: 40%;
  text-align: center;
}

#users .user .name {
  font-weight: bold;
  padding-top: 30px;
}

#users .user .title {
  font-style: italic;
}

#users .user .description {
  padding-top: 10px;
  clear: left;
}

li.sq_widget_authors .user {
  width: 135px;
  margin-top: 5px;
  float: left;
}

li.sq_widget_authors .entry_author_image {
  float: left;
  margin-right: 5px;
}

li.sq_widget_authors .name {
  line-height: 38px;
}

li.sq_widget_authors .entry_author_image img {
  height: 40px;
}

li.sq_widget_authors .after {
  display: block;
  clear: left;
  height: 0px;
}

li.widget ul.items .item-title {
  display: block;
  font-weight: bold;
}

li.widget ul.items .item-title .attribution {
  display: block;
}

li.widget ul.items .item-wrapper {
  margin-bottom: 10px;
}

li.widget ul.items .user {
  float: right;
  text-align: center;
  margin: 11px 5px 5px;
}

li.widget ul.items .user img {
  height: 40px;
}

li.widget ul.items .item-date {
  display: block; 
  float: left;
  font-family: Arial, serif;
  font-size: 75%;
  margin-bottom: 7px;
}

li.widget ul.items .item-content {
  clear: left;
}

/* Widgets */

ul.xoxo li.widget {
  margin-bottom: 5px;
}

li.widget_rss li a {
  display: block;
  font-weight: bold;
}

li.widget_rss li a:link, li.widget_rss li a:visited {
  border-bottom: 1px solid white;
}

li.widget_rss li a:hover {
  border-bottom: 1px dotted #035773;
}

li.widget_rss li span.rss-date, li.widget_rss li cite {
  display: block;
  font-family: Arial, serif;
  font-size: 75%;
  margin-bottom: 7px;
}

li.widget_rss ul li {
  margin-bottom: 10px;
}

/* Sidebar */

#sidebar ul.xoxo li.widget {
  margin-bottom: 20px;
}

/* Footer */

.dots {
  height: 1px;
  border-bottom: 1px dotted #ccc;
  clear: left;
  margin: 15px 20px 15px 0;
}

#visual .visual-badge {
  border: none !important;
}

#visual .visual-badge-photos {
  text-align: left !important;
  padding: 0 !important;
}

#visual .visual-badge-photo-item img {
  padding: 0 15px 0 0 !important;
}

#visual .visual-badge-photo-item a:hover {
  border-bottom: none;
}

#footer ul.xoxo > li {
  display: block;
  float: left;
  margin: 0 15px 15px 0;
  overflow: hidden;
}

#footer-sidebar-1 ul.xoxo > li {
  width: 293px;
}

#footer-sidebar-2 ul.xoxo > li {
  width: 170px;
}

#footer-sidebar-2 ul.xoxo > li h3 {
  position: absolute;
  width: 170px;
}

#footer-sidebar-2 ul.xoxo > li ul {
  margin-top: 35px;
}

#footer-sidebar-2 .widget_search input {
  float: right;
  margin-top: 20px;
}

#footer-sidebar-2 .widget_search #s {
  width: 95px;
  float: left;
  margin-top: 37px;
}

#footer_bottom {
  padding-bottom: 15px;
  font-size: 80%;
  text-align: center;
  margin-right: 20px;
}

/* Misc... */

body.author .post .post_author { display: none }
