/*
Theme Name: codecandies
Theme URI: http://www.codecandies.com
Description: nice blog theme
Author: Christoph Mayer
Author URI: http://www.codecandies.com
Version: 1.0.0
Tags: code, candies, comments

*/


/****************************
 **   Contents
 ****************************

	* General
	* Layout		(Top-level page element styles)
		- Menu
		- Header
		- Content
		- Sidebar
		- Footer
	* Content	(Formatting of items in main content area)
		- General
		- Standard wordpress
		- Comments
		- Comment form
		- Frame
	* Sidebar	(Formatting of items in sidebar)
		- General
		- Search
		- Tag cloud
		- Wordpress calendar
		- Photoblog widget
	* Footer		(Formatting of items in footer)






/****************************
 **   General
 ****************************/

body {
	margin: 0;
	padding: 0;
	background: #EFEFEF;
	font-family: "Palatino", "Georgia", "Baskerville", serif;
	color: #333333;
}

a:link,
a:hover,
a:visited,
a:active {
	color: #333333;
	text-decoration: none;
}

a:hover {
	color: #FF397A;
	text-decoration: underline!important;
}

img {
	border: 0;
}

blockquote{
	padding: 0px 5px 0px 5px;
	margin: 0 0 20px 0;
	font-family: "Courier New", "Courier", "monospace";
	border: 1px dashed #CCCCCC;
	background-color: #F4F5F7;
}



/****************************
 **   Layout
 ****************************/


/* Menu */

#menu {
	background-color: #21252e;
	background: url(images/menu_bg.jpg) repeat-x top left;
	height: 45px;
	border-bottom: 1px solid #f4f4f4;
}

#menu ul {
	width: 950px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

#menu ul li {
	float: left;
}

#menu .page_item a {
	display: block;
	padding-right: 40px;
	line-height: 2.0em;
	color: #999;
	text-decoration: none;
}

#menu .current_page_item a, #menu .page_item a:hover {
	color: #222;
}

/* Header */

#header {
	position: relative;
	margin: 0 auto;
	height: 125px;
	background-color: #131419;
	z-index: 1;
}

#header-content{
	margin: 0 auto;
	width: 955px;
	background: url(images/logo.jpg) no-repeat left 20px;
}

#header a:link,
#header a:hover,
#header a:visited,
#header a:active{
	display: block;
	height: 100px;
	text-decoration: none !important;
}

#header div.register{
	position: absolute;
	top: 0px;
	left: 478px;
}

#header-bottom{
	margin: 0 auto;
	width: 955px;
	margin-top: 20px;
	height: 29px;
	background: url(images/header_new.gif) no-repeat top left;
}

/* Content */

#content-container {
	margin: auto;
	width: 955px;
	background-color: white;
	background: url(images/content.gif) repeat-y top left #EFEFEF;
}

#content {
	width: 950px;
	margin: 0 auto;
	padding-top: 10px;
}

#body {
	float: left;
	width: 505px;
	padding-left: 15px;
	padding-right: 10px;
	margin-left: 5px;
}

/* Sidebar */

.sidebar{
	position: relative;
	float: left;
	width: 385px;
	margin: -24px 0px 10px 20px;
	/*background-color: #21252e;*/
	z-index: 10;
}

#sidebar-top{
	width: 385px;
	margin-bottom: 20px;
}

#sidebar-left,
#sidebar-right {
	float: left;
	font-size: 0.9em;
	width: 185px;
	color:#E8E8E8;
}
#sidebar-right {
	margin-left: 15px;
}


/****************************
 **   Content
 ****************************/

/* General */

h2 {
	font-size: 1.2em;
	font-weight: bolder;
	color: #3b3b3b;
	line-height: 1.6em;
	padding: 0;
	margin: 0;
}

h2 a:link,
h2 a:active,
h2 a:visited{
	color: #3A4452;
}

.post h2{
	width: 340px;
}


.post {
	position: relative;
}

.post .author {
	color: #949494;
	font-size: 0.8em;
}

.post .author img{
	vertical-align: middle;
	margin: 0 5px 0 0 !important;
}

.post .entry {
	font-size: 14px;
	line-height: 1.5em;
	padding: 20px 0 40px 0;
	clear: both;
}

.post .entry a:link,
.post .entry a:active,
.post .entry a:visited{
	text-decoration: underline;
}
.post .entry a:hover{
	text-decoration: none!important;
}


.post .info {
	color: #bcbcbc;
	font-size: 0.8em;
}

.post .date {
	position: absolute;
	right: 0px;
	background: transparent url(images/date.gif) no-repeat scroll left center;
	width: 125px;
	height: 25px;
	text-align: center;
	float: right;
	text-transform: uppercase;
	padding-left: 25px;
	color:#ffffff;
}

.post .date .month {
	display: block;
	float:left;
	font-size: 12px;
	padding: 7px 5px 0px 5px;
	font-weight: bold;
}

.post .date .day {
	display: block;
	float:left;
	font-weight: bold;
	font-size: 20px;
	padding: 0px 5px 0px 0px;
	color: #FF397A;
	margin-top: -2px;
}

.post .date .year {
	display: block;
	float:left;
	font-size: 0.7em;
	padding-top: 5px;
}

.post-ratings{
	font-size: 11px;
}

.metadata {
	margin-top: 20px;
	text-align: left;
	font-size: 11px;
	line-height: 1.5em;
	color: #797979;
}
.metadata a:link,
.metadata a:active,
.metadata a:visited{
	text-decoration: underline;
}
.metadata a:hover{
	text-decoration: none !important;
}

.metadata.left{
	float: left;
	width: 200px;
	text-align: left;
}
.metadata.right{
	float: left;
	width: 300px;
	text-align: left;
}

.metadata span{
	color: #333333;
}

.metadata a {
	text-decoration: none;
}

.metadata a.comments{
	background:transparent url(images/comment.gif) no-repeat scroll left center;
	padding:1px 0 0 20px;
}

.more-link {
	margin-top: 20px;
	font-size: 0.9em;
}

.hr {
	clear: both;
	border: 0;
	background: transparent url(images/divider-ornament-wide.gif) no-repeat scroll center bottom;
	margin-bottom: 4em;
	padding-bottom: 4em;
	position: relative;
}

.hr hr {
	display: none;
}

.navigation {
	width: 100%;
}

.navigation a {
	text-decoration: none;
	font-size: 0.7em;
}

.navigation .previous {
	float: right;
}

.navigation .next {
	float: left;
}

.search_result {
	margin-left: 20px;
}

.search_result h4 {
	margin-left: -20px;
}

.search_result .metadata {
	color: #BFC4C1;
	margin-top: 10px;
	text-align: left;
}

.search_result .metadata a {
	color: #BFC4C1;
}


/* Standard wordpress */

.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
  	float: left;
}

.alignright {
   float: right;
}

.clear {
	clear:both;

}


.wp-caption {
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	background-color:#F3F3F3;
	border:1px solid #DDDDDD;
	margin:10px;
	padding-top:4px;
	text-align:center;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* Comments */


.commentlist {
	padding: 0;
	margin: 0 0 0 15px;
	list-style-position:inside;
}

.commentlist li {
	margin-top: 16px;
	margin-left: 0px;
}

.before-comment {

}

.commentlist .comment {
	margin: 0;
	font-size: 0.8em;
	width: 470px;
	background:#F8F8F8 none repeat scroll 0 0;
	border:1px solid #DEDEDE;
	padding: 10px 0 10px 0;
}


.comment-left{
	float: left;
	margin-left: 20px;
	width: 300px;
}
.comment-right{
	float: right;
	width: 150px;
	text-align: center;
}
.comment-right cite{
	font-size: 0.7em;
}
.comment-right cite a:link,
.comment-right cite a:active,
.comment-right cite a:visited{
	text-decoration: underline;
}
.comment-right cite a:hover{
	text-decoration: none !important;
}

.comment-text {
	font-size: 0.9em;
	line-height: 1.5em;
}

.comment-text * {
	margin-bottom: 0;
	padding-bottom: 0;
}

.after-comment {
}

.avatar {
	margin:0 0 10px 0!important;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	border:1px solid #CCCCCC;
	padding:3px;

}

/* Comment Form */


input.text {
	width: 200px;
	background:#FFFFFF url(images/textfield.gif) repeat-x scroll center top;
	border:1px solid #A6A6A6;
	padding:2px 1px;
}

textarea {
	width: 410px;
	height: 100px;
	margin: 0;
	background:#FFFFFF url(images/textfield.gif) repeat-x scroll center top;
	border:1px solid #A6A6A6;
	padding:2px 1px;
}
#commentform {
	margin-left: 20px;
}
#commentform #submit {
	background-color: #F8F8F8;
	border:1px solid #DEDEDE;
	color:#FF397A;
	cursor:pointer;
	font-size:11px;
	font-weight: bold;
	padding:3px 6px;
}


/****************************
 **   Sidebar
 ****************************/

/* General */

#sidebar-left h2,
#sidebar-right h2 {
	font-size: 1.0em;
	color: #FF397A;
	margin-bottom: 5px;
}

#sidebar-left a:link,
#sidebar-left a:visited,
#sidebar-left a:active,
#sidebar-right a:link,
#sidebar-right a:visited,
#sidebar-right a:active {
	color: #E8E8E8;
}

#sidebar-left a:hover,
#sidebar-right a:hover {
	color: #FF397A;
}

#sidebar-left ul,
#sidebar-left ul ol,
#sidebar-right ul,
#sidebar-right ul ol {
	margin: 0;
	padding: 0;
}

#sidebar-left ul li,
#sidebar-right ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 35px;
}

#sidebar-left ul p,
#sidebar-left ul select,
#sidebar-right ul p,
#sidebar-right ul select {
	margin: 5px 0 8px;
}

#sidebar-left ul ul,
#sidebar-left ul ol,
#sidebar-right ul ul,
#sidebar-right ul ol {
	margin: 5px 0 0 0px;
}

#sidebar-left ul ul ul,
#sidebar-left ul ol,
#sidebar-right ul ul ul,
#sidebar-right ul ol {
	margin: 0 0 0 10px;
}

ol li,
#sidebar-left ul ol li,
#sidebar-right ul ol li {
	list-style: decimal outside;
}

#sidebar-left ul ul li,
#sidebar-left ul ol li,
#sidebar-right ul ul li,
#sidebar-right ul ol li {
	margin: 3px 0 0;
	padding: 0;
}

li.widget_categories ul li,
li.widget_recent_entries ul li,
li.widget_archive ul li{
	padding: 2px 0 2px 15px !important;
	background:transparent url(images/arrow-bullet.gif) no-repeat scroll left center;
}

li.widget_views_most_viewed ul li,
li.widget_ratings_highest_rated ul li,
li.widget_ratings  ul li{
	font-style:italic;
}

li.widget_views_most_viewed a,
li.widget_ratings_highest_rated a,
li.widget_ratings a{
	display: block;
	font-style:normal;
}

#get_recent_comments_wrap ul{
	margin: 0 !important;
}

#get_recent_comments_wrap ul li{
	padding-bottom: 5px !important;
	margin-bottom: 5px !important;
}

#get_recent_comments_wrap ul li ul{
	margin: 10px 0 0 30px !important;
}

#get_recent_comments_wrap ul li ul li{
	border: none !important;
}

#get_recent_comments_wrap img{
	margin-left: -30px;
	margin-right: 5px;
	vertical-align: top;
}

#get_recent_comments_wrap a:link,
#get_recent_comments_wrap a:active,
#get_recent_comments_wrap a:visited,
#get_recent_comments_wrap a:hover{
	font-size: 0.8em !important;
}

#get_recent_comments_wrap span{
	font-weight: bold;
}



/* Search */

#sidebar-top #searchform div {
	width: 385px;
}
#sidebar-top #searchform div #s {
	width: 350px;
	height: 20px;
	font-size: 1.0em;
	font-weight: bold;
	background-color: #3a4452;
	border-style:none;
	color:#FF397A;
	overflow:hidden;
	padding-left: 5px;
}
#sidebar-top #searchform div #searchsubmit {
	background:transparent url(images/submit.jpg) repeat scroll 0 0;
	border-style:none;
	height:21px;
	margin-left:3px;
	width:20px;
}

.more-link {
	padding-left: 20px;
	font-size: 0.8em;
}


/* Tag cloud */

.widget_tag_cloud a {
}

/* Wordpress calendar */

#calendar_wrap {
	margin: 0px;
}

#wp-calendar {
	width: 100%;
}

#wp-calendar th {
	text-align: left;
}


/****************************
 **   Footer
 ****************************/
#footer {
	position: relative;
	width: 955px;
	padding: 0;
	background: url(images/footer.gif) no-repeat top left;
	margin: 0 auto;
	height: 120px;
	font-size: 0.8em;
	line-height: 1.1em;
}


#footer .widget-wrap {
	float: left;
	width: 264px;
	margin-bottom: 36px;
}


#footer .widget {
	margin-right: 21px;
	margin-left: 21px;
}

#footer a {
	color: #FF397A;
}

#footer h2 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: normal;
	font-style: normal;
}

#footer .footer-left{
	float: left;
	padding: 50px 0 0 20px;
}

#footer .footer-left a{
	padding-right: 5px;
}

#footer .legal {
	color: #E8E8E8;
	float: right;
	padding: 50px 30px 0 0;
}

.wp-pagenavi{
	position: absolute;
	width: 540px;
	float: left;
	text-align: center;
	padding: 0;
	margin-top: -20px;
}
.wp-pagenavi span,
.wp-pagenavi a:link,
.wp-pagenavi a:active,
.wp-pagenavi a:visited{
	padding: 2px 4px 2px 4px;
	margin: 2px;
	color: #333333!important;
	border: 1px solid #CCCCCC !important;
	font-weight: bold;
}
.wp-pagenavi a:hover{
	color: #FF397A!important;
	border: 1px solid #CCCCCC !important;
	text-decoration: none !important;
}

.wp-pagenavi .pages,
.wp-pagenavi .current{
	border: 1px solid #CCCCCC !important;
	color: #FF397A !important;
	font-weight: bold;
}


.google_plus_one{
    float: left;
    width: 70px;
    margin: 13px 0 0 0;
}

.fb-like{
    float: left;
    width: 100px;
}

.tw_button{
    float: left;
    width: 100px;
    margin: 13px 0 0 0;
}



