/*
File:			custom.css
Description:	Custom styles for Thesis




BASIC USAGE:




If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.




For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:




	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them




WHY THIS WORKS:




By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!




More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/
/*submit form text color*/
.custom #commentform .form_submit { color: #ff3300 ;}
.custom .comments_closed {display: none; }
.custom .menu {padding: 0 1.1em; font-weight: bold; }
.custom #header { padding-top: 0; background: #eed6af; }
.custom #header_area { background: #eed6af; }
.custom #footer { padding-bottom: 0; background: #eed6af; }
.custom #footer_area { background: #eed6af; }
.custom .title-avatar {float:left; width:5em; margin-right:1em;}
.custom a {outline: none;}
.custom #footer_area div.page { background: #eed6af; }
#footer_area.full_width div.page {text-align:right;}












/*---------------------------------*/
/* WIDGETIZED FOOTER               */
/* Mike Nichols - October 17, 2009 */
/*---------------------------------*/




/* footer widget area setup */
#footer_setup {
	/* widgetized footer background (not footer background) */
	background: transparent;
	/* widget padding */
	padding: 16px;
	/* margin at bottom of widgets */
	margin-bottom: 25px;
	/* do not change this! */
	overflow: hidden;
}




/* widget item setup */
#footer_setup .footer_items {
	/* contents alignment */
	text-align: left;
	/* widget width */
	width: 31%;
	/* space between widgets */
	padding-right: 10px;
	/* text color */
	color: #2361A1;
	/* do not change these! */
	display: inline-block;
	float: left;
	height: 100%;
}




/* widget item headers*/
#footer_setup .footer_items h3 {
	/* font size */
	font-size: 1em;
	/* bold or not */
	font-weight: bold;
	/* uppercase or not */
	text-transform: uppercase;
	/* space out the letters*/
	letter-spacing: 0px;
	/* font color*/
	color: #000000;
	/* padding under header text */
	padding-bottom: 3px;
	/* border under header text */
	border-bottom: 3px solid #ffe5bc;
	/* distance between border and widget text */
	margin-bottom: 5px;
}




/* do not change these! */
#footer_setup .footer_items ul li { list-style: none; }
#footer_setup .footer_items ul { margin: 0px; padding: 0px; }




/* CURRENTLY SELECTED TAB */
/* color of the currently selected tab background and font color */
.custom .full_width_nav .current a,
.custom .full_width_nav .current-cat a {
	background: #eed6af;
	color: red;
}
/*changes comments by author to a different color*/
.custom dl#comment_list dt.bypostauthor, .custom dl#comment_list dd.bypostauthor>div {background: #E7F8FB none repeat scroll 0 0; padding-top:20px;}




.custom .twitter-item { margin-bottom: 0em; padding: .5em 0 .5em 0; border-bottom: 1px solid #eed6af; }
	.custom .twitter-item:hover { background: #eed6af; }
	.custom .twitter-item a { color: #7a6d48; }
	.custom .twitter-item a:hover { color: #cc0000; }
/*social media icons*/
	.social { border: dashed #ddd; border-width:1px 0 1px 0; margin: -15px auto 10px; display:block; padding: 3px 0 1px 0px;  overflow: hidden; }
	.social .social_button {float: left; display: inline; overflow: hidden; height:22px; }
 
	.social .social_button.dg { margin: 0px 0 0 20px ; padding-top: 4px;}
div.social_button iframe html body {background:#ff0000 !important;}
	.social .social_button.tm { margin: 0px 0 0 12px;  padding-top: 4px;}
	.social .social_button.fb { margin: 0 0 0 15px;  padding-bottom:0px;}
	.social .social_button.em { margin: 0 0 0 20px;  padding-top: 0px;}
        .social .social_button.em a{background:#ffe5bc url(images/emailthis.gif) 3px 50% no-repeat; padding:2px 3px 2px 20px;  font-size:10px; border:#ddd 1px solid; text-decoration:none; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
		.social .social_button.em a:hover {background:#eed6af url(images/emailthis.gif) 3px 50% no-repeat}
	.social .social_button a img { border: 0; padding: 0; }
	.social strong { font-size: 11px; float: left; margin:2px 0 0 0; color:#555;}
 
.clear{clear:both;}




.custom .to_comments {
  font-size: 10px;
  }

/* Four blocks category posts */
function my_four_bloks_teasers_posts(){
if (is_front_page()) {
?>
<div id="my-super-teasers-box">
<div id="my-posts-block-one" class="my-posts-block">
<?php
$custom_loop = new WP_Query('posts_per_page=1&category_name=activities&orderby=date'); 
if ( $custom_loop->have_posts() ) : 
while ( $custom_loop->have_posts() ) : $custom_loop->the_post();
$post_image = thesis_post_image_info('thumb');
echo '<div class="post type-post hentry post_box top">';
echo '<p class="cattitle">' . get_the_category_list(',') . '</p>';
echo $post_image['output'];
echo '<div class="headline_area"><h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>'; 
echo '<p class="headline_meta"><abbr title="" class="published">' . get_the_date() . '</abbr></p></div>';
echo '<div class="format_text entry-content"><p>' . get_the_excerpt() . '</p></div>'; 
echo '<a href="' . get_permalink() . '">' . '<span class="slider-more">Read More »</span></a>';
echo '</div>';
endwhile; 
wp_reset_query(); 
endif; 
?></div>
<div id="my-posts-block-two" class="my-posts-block">
<?php
$custom_loop = new WP_Query('posts_per_page=1&category_name=places&orderby=date'); 
if ( $custom_loop->have_posts() ) : 
while ( $custom_loop->have_posts() ) : $custom_loop->the_post();
$post_image = thesis_post_image_info('thumb');
echo '<div class="post type-post hentry post_box top">';
echo '<p class="cattitle">' . get_the_category_list(',') . '</p>';
echo $post_image['output'];
echo '<div class="headline_area"><h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>'; 
echo '<p class="headline_meta"><abbr title="" class="published">' . get_the_date() . '</abbr></p></div>';
echo '<div class="format_text entry-content"><p>' . get_the_excerpt() . '</p></div>'; 
echo '<a href="' . get_permalink() . '">' . '<span class="slider-more">Read More »</span></a>';
echo '</div>';
endwhile; 
wp_reset_query(); 
endif; 
?></div>
<div id="my-posts-block-three" class="my-posts-block">
<?php
$custom_loop = new WP_Query('posts_per_page=1&category_name=food&orderby=date'); 
if ( $custom_loop->have_posts() ) : 
while ( $custom_loop->have_posts() ) : $custom_loop->the_post();
$post_image = thesis_post_image_info('thumb');
echo '<div class="post type-post hentry post_box top">';
echo '<p class="cattitle">' . get_the_category_list(',') . '</p>';
echo $post_image['output'];
echo '<div class="headline_area"><h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>'; 
echo '<p class="headline_meta"><abbr title="" class="published">' . get_the_date() . '</abbr></p></div>';
echo '<div class="format_text entry-content"><p>' . get_the_excerpt() . '</p></div>'; 
echo '<a href="' . get_permalink() . '">' . '<span class="slider-more">Read More »</span></a>';
echo '</div>';
endwhile; 
wp_reset_query(); 
endif; 
?></div>
<div id="my-posts-block-four" class="my-posts-block">
<?php
$custom_loop = new WP_Query('posts_per_page=1&category_name=people&orderby=date'); 
if ( $custom_loop->have_posts() ) : 
while ( $custom_loop->have_posts() ) : $custom_loop->the_post();
$post_image = thesis_post_image_info('thumb');
echo '<div class="post type-post hentry post_box top">';
echo '<p class="cattitle">' . get_the_category_list(',') . '</p>';
echo $post_image['output'];
echo '<div class="headline_area"><h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>'; 
echo '<p class="headline_meta"><abbr title="" class="published">' . get_the_date() . '</abbr></p></div>';
echo '<div class="format_text entry-content"><p>' . get_the_excerpt() . '</p></div>'; 
echo '<a href="' . get_permalink() . '">' . '<span class="slider-more">Read More »</span></a>';
echo '</div>';
endwhile; 
wp_reset_query(); 
endif; 
?></div><?php
?></div><?php
 }
 }
add_action('thesis_hook_after_content','my_four_bloks_teasers_posts'); 



