/*
Theme Name: TSC Theme
Theme URI: 
Description: Trimpley Sailing club theme, based on MacSoc theme
Version: 0.1
Author: Tom
Author URI: 
Tags:
*/

/* GENERAL SHORTCUTS */

.alignright {
float: right;
}
.alignleft {
float: left;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.indent {
  margin-left: 2.6%;
}

/* TYPESETTING AND GENERAL LAYOUT */
body {
  color: #534949;
  font-size: 14px;
  font-family: Georgia, Trebuchet MS,Helvetica,Arial,sans-serif;
  line-height: 130%;
  background-color: #637998;
}
p, img { /* sets default spacing between paragraphs */
  margin-top: 0em;
  margin-bottom: 0.5em;
}
h2, .post-title { /* default heading size */
font-size: 1.3em;
margin-top: 0em;
margin-bottom: 0.3em;
color: black;
}
h3 { /* default sub-heading */
color: black;
margin-top: 0em;
margin-bottom: 0.3em;
}
table {
border: 1px solid #B3B3B3;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
}
th,td {
padding: 0px 5px;
}
#page { /* applys shadow to page with rounded corners, corners also need to be applyed to header and footer */
  min-width: 750px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  background-color: #D3D4EE;
}
#page_content {
padding: 16px 14px 14px 14px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#F0EAF6), to(#C0CBEF));
  background-image: -moz-linear-gradient(#F0EAF6,#C0CBEF);
  filter:progid:DXImageTransform.Microsoft.Gradient(startcolorstr=#F0EAF6, endcolorstr=#C0CBEF);
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
#footer-1 { /* adds black line */
text-align: center;
padding-top: 30px;
clear: both;
}
#footer-2 {
padding-top: 8px;
border-top: solid 1px black;
}
#footer-2 img {
margin: 0px;
}
#headerbox {
background-color: #E7E7E7;
background-image: url('/images/sail_header.jpg');
background-position: center top;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
#header { /* title font formatting */
  font-family: Georgia, Trebuchet MS, Helvetica, Arial, sans-serif;
  color: #484848;
  font-weight: bold;
  font-size: 3.5em;
  line-height: normal;
  text-align: center;
  margin: 0px;
  padding: 50px 138px;
  padding-bottom: 30px;
}
img#logo {
	float: left;
	height: 120px;
	margin-top: 20px;
	margin-left: 14px;
	}

#navbar { /* navigation bar */
  background: white;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.2)), color-stop(0.8, white), to(white));
  background: -moz-linear-gradient(rgba(255,255,255,0.2), white);
  text-align: center;
  font-size: 1.17em;
  font-weight: bold;
  padding: 5px 0px;
  border-top: solid #B3B3B3 1px;
  border-bottom: solid #B3B3B3 1px;
  margin-bottom: 0px;
}
#navbar li { 
  display: inline;
  padding: 14px 7px;
}
#navbar form {
  display: inline;
  white-space: nowrap;
}
#sub-search {
display: none;
}
#s { /* search box */
width: 130px;
border: 1px solid #B3B3B3;
padding: 2px;
}
#content { /* layout - positions posts for most templates */
margin-left: 15%;
padding-left: 2.5%;
min-height: 400px;
}
#side-1 { /* layout - positions sidebar for most templates */
width: 15%;
float: left;
}
small, .postmetadata1, .postmetadata2, .comment-nav, .entry-meta, .aktt_tweet_time { /* post date and metadata */
font-size: 12px;
}
.postmetadata2, .entry-meta, .aktt_tweet_time {
color: black;
text-align: center;
}

#w3counter-wrap { /* Hides W3Counter badge */
  text-align: center;
  display: none;
  }
#wpstats { /* Hides Wordpress.com Stats plugin smiley */
  display:none;
  }
  
  
/* LINKS */

/* default link styles */
a:link, a:visited {
	color: #534949;
}
a:hover {
	color: black;
}

/* navbar links */
#navbar a:hover {
	text-decoration: none;
}
#navbar label {
	color: #534949;
	text-decoration: underline;
}
#navbar label:hover {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

/* sidebar links */
a.sidedivlink {
text-decoration: none;
color: #534949;
}

/* home page links */
#home h2 a:link, #home h2 a:visited {
	color: black;
	text-decoration: none;
}
#home h2 a:hover {
	text-decoration: underline;
}
.postmetadata2 a:link, .postmetadata2 a:visited, .entry-meta a, a.aktt_tweet_time {
color: black;
}
.postmetadata2 a:hover, .entry-meta a:hover, a.aktt_tweet_time:hover {
color: #534949;
}

/* START OF DYNAMIC CONTENT (THE LOOP) */
#description { /* for archive/blog page description */
width: 75%;
margin-left: 5%;
margin-bottom: 20px;
font-weight: bold;
}
.description-header {
font-size: 1.2em;
}
.entry { /* spacing between text and title */
margin-top: 0.3em;
}
.separator { /* re-formats <hr /> */
border: none;
border-bottom: solid black 1px;
margin-bottom: 15px;
}
#posts-nav {
text-align: center;
margin-left: 10%;
margin-right: 20%;
margin-bottom: 25px;
height: 1.3em;
}
.post small { /* separates time and title. stops date splitting across lines */
margin-left: 25px;
white-space: nowrap;
}
.more-link { /* styles "Read more..." */
margin-left: 15px;
white-space: nowrap;
font-style: italic;
font-weight: bold;
}

/* home page */
#home h3 { /* "news feed" titles */
	display: inline;
	font-style: italic;
	margin-right: 15px;
}
#home .post { /* adds separating gray line in correct place */
  margin-top: 0em;
  margin-bottom: 0.5em;
}
#home .post small { /* separates time and title */
margin-left: 0px;
}
#home .entry { /* removes gray line separating entry and title on home page */
  border: none;
  margin-left: 2.6%;
  margin-top: 0px;
}
#home #col3 .post p { /* shrinks paragraph margins on recent posts */
  margin: 2px 0px;
}
#home .separator { /* shrinks spacing between posts */
margin-top: 5px;
margin-bottom: 10px;
}
.sec_title {
  font-style: normal !important;
  color: black;
}
.sec_title a {
  color: black;
  text-decoration: none;
}
.sec_title a:hover {
  text-decoration: underline;
}
#twitter {
margin-bottom: 0.5em;
}
#twitter ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
#twitter li {
  padding-left: 2.6%;
  padding-bottom: 5px;
  border-bottom: 1px solid black;
  margin-bottom: 10px;
}
.aktt_more_updates {
display: none;
}
.follow {
text-align: center;
}

/* news index page */
#news #description { /* reformat description text */
margin-left: 2.5%;
padding-top: 20px;
margin-bottom: 40px;
}
#news .post { /* reduces width of news summary */
margin-right: 10%;
}
#news .post-title {
display: inline;
}
#news #archive-links { /* for categories and tags/keywords links */
	margin-right: 10%;
	font-size: 1.2em;
	text-align: center;
}
#news #archive-links h4 { /* formats titles */
	font-size: 1em;
	color: black;
}
#news #wp-list-categories { /* sets spacing */
	margin-bottom: 10px;
}
#news #wp-list-categories ul { /* removes block styling */
	list-style-type: none;
	-webkit-padding-start: 0px;
	margin: 0px;
}
#news .cat-item { /* delimited list */
	display: inline;
	margin: 0px 1.5%;
}
#news #wp-tag-cloud { /* tag cloud size */
	text-align: justify;
	width: 85%;
}
#news #wp-tag-cloud h4 { /* reset title alignment */
	text-align: center;
}

#archive .post-title {
display: inline;
}

/* for posts and pages */
#single h1 {
margin: 0px;
margin-bottom: 0.3em;
font-size: 1.5em;
line-height: 120%;
}
#single .post small {
margin-left: 0px;
}
#single .separator {
margin: 0.4em auto;
}
#single .entry { /* post content formatting and layout */
margin-top: 0.5em;
}
#wp-page .entry { /* removes layout for pages */
margin: 0px;
}
#single .alignright { /* sets spacing for floating images */
margin-left: 5%;
}
#single .alignleft {
margin-right: 5%;
}
#wp-page .alignright {
margin-left: 2.5%;
}
#wp-page .alignleft {
margin-right: 2.5%;
}
#single .postmetadata2 { /* postinfo links - fix for images IN post */
margin-top: 0.5em;
text-align: left;
}
#single .author-link { /* metadata spacing */
margin-right: 30px;
}
#single .tags { /* keywords/tags on one line */
white-space: nowrap;
margin-right: 30px;
}
.tweetmeme_button {
display: inline;
}
.tweetmeme_button iframe {
margin-bottom: -8px;
}
.wp-caption { /* formats display for pictures */
text-align: center;
}
p.wp-caption-text { /* formats text for picture captions */
font-size: 0.9em;
font-style: italic;
margin: 0px;
}
.pages { /* formats paged navigation */
text-align: center;
font-size: 14px;
}
.wp-post-image { /* single only; for picture attched to post (post thumbnail) - pushes down picture */
margin-top: 10px;
}

/* for comments - comments.php */
#replies { /* layout - narrows width */
width: 90%;
margin-top: 15px;
}
.navigation {
width: 90%;
}
.navigation a {
display: block;
}
.commentlist { /* removes standard list formatting */
width: 90%;
font-size: 12px;
list-style-type: none;
-webkit-padding-start: 0px;
-moz-padding-start: 0px;
margin: 0px auto;
padding: 1em 0em;
clear: both;
}
.comment { /* layout - provides 'bubble' environment */
display: block;
border-bottom: 1px solid #B3B3B3;
margin-bottom: 6px;
min-height: 58px;
}
.avatar {
margin-right: 0.5em;
float: left;
}
.comment-author, .comment-meta, .comment-meta a { /* sets author and time colour */
color: #666666;
text-decoration: none;
display: inline;
}
.comment-author {
font-weight: bold;
}
.comment-meta { /* layout and size of time */
margin-left: 25px;
font-size: 10px;
}
.commentlist p {
margin-left: 58px;
line-height: normal;
}
.fn { /* removes standard cite formatting */
font-style: normal
}

/* for comment form  - comments.php */
#respond { /* layout - narrows form width */
width: 500px;
padding-top: 15px;
clear: both;
}
#respond #author, #respond #email, #respond #url, #respond textarea { /* sets input fonts */
font-family: Trebuchet MS,Helvetica,Arial,sans-serif;
font-size: 12px;
color: #404040;
}
#respond textarea { /* sets size of text input box */
width: 100%;
height: 85px;
}
#form-submit { /* centers submit button */
text-align: center;
}
#respond #submit { /* grays submit button */
color: #404040;
}

/* END OF DYNAMIC CONTENT (THE LOOP) */

/* SIDEBAR */

.sidebar, #sidebar-single { /* positioning and grey border */
line-height: normal;
border: 1px solid #B3B3B3;
padding: 4px 8px;
text-align: center;
}
.widget_rss { /* spacing of sections */
margin-bottom: 8px;
}
.rsswidget {
font-size: 10px;
}
.widgettitle a { /* title without using h tags */
font-size: 12px;
font-weight: bold;
color: #404040;
}
.widgettitle a:hover { /* modifies default link colour for title */
color: black;
}
.rsswidget img { /* removes rss icon */
display: none;
}
.widget_rss ul { /* removes defaults list formatting */
margin: 4px 0px;
-webkit-padding-start: 0px;
-moz-padding-start: 0px;
padding-start: 0px;
list-style-type: none;
}

/* SPECIFIC PAGES */

/* home page column layouts */
#col2 {
	width: 62%;
	margin-right: 2.5%;
	float: left;
}
#col3 {
	margin-left: 64.5%;
}
	

/* for search results page */
#cse-search-results {
	background-color: white;
	border: 1px solid #B3B3B3;
}
#cse-search-results iframe { /* formats width of google results */
	width: 100%;
	height: 920px;
}

/* for 404 page */
#error404 #content {
text-align: center;
}

#error404 .status { /* form result */
color: red;
margin-top: 0.5em;
}
#error404 li.page_item {
margin: 0.3em 0em;
}

/* for archives index */
#archives td {
padding-bottom: 30px;
vertical-align: top;
text-align: center;
width: 165px;
}

#archives h2 {
display: block;
margin: 0px 0px 6px 0px;
}

#archives li {
display: block;
}

.wp-tag-cloud {
padding: 0px;
-webkit-padding-start: 0px;
-moz-padding-start: 0px;
list-style-type: none;
margin: 0px;
}

/* for archives page */
.pagetitle {
margin-bottom: 20px;
}


h4 {
margin: 0px;
font-size: 12px;
text-transform: uppercase;
}


