﻿/**
 * CSS for SimpleCMS News pages
 * 
 * Created 19 February 2010 
 * Updated 25 February 2011
 *
 * @author Allan A Beattie
 * @version 1.0.7
 */


/*--------------------------------------------------------{   latest news items on site homepage   }-----------------*/

#no_latest_news {
	float:left;
	width:206px;
	clear:both;
	padding:5px 0 5px 3px;
	font-size:87%;
	color:#777;
}

ul#latest_news {
	float:left;
	width:209px;
	margin:0;
	padding:0;
	list-style:none;
}

ul#latest_news li {
	float:left;
	width:209px;
	background:url(../imgaj/sub-link-bg.gif) no-repeat 10px bottom;
}

ul#latest_news li a {
	display:block;
	float:left;
	width:209px;
	padding:10px 0;
}

ul#latest_news li a span.news_date {
	display:block;
	float:left;
	width:184px;
	padding:5px 0 5px 21px;
	background:url(../imgaj/calendar.png) no-repeat left center;
	font-size:x-small;
	color:#777;
	cursor:pointer;
}

ul#latest_news li a span.news_headline {
	display:block;
	float:left;
	width:209px;
	padding:5px 0;
	font-size:87%;
	color:navy;
	cursor:pointer;
}

ul#latest_news li a:hover span.news_date,
ul#latest_news li a:hover span.news_headline,
ul#latest_news li a:focus span.news_date,
ul#latest_news li a:focus span.news_headline {
	color:#333;
}


/*------------------------------------------------{   news homepage list styles   }------------*/

.news_item_container {
	float:left;
	width:663px;
}

#main_content .news_item_container h2 {
	margin:0;
	padding:0;
	font-size:1px;
	line-height:1px;
	color:#fff;
}

#main_content .news_item_container a {
	display:block;
	float:left;
	width:663px;
	padding:0 0 10px;
	border-bottom:1px solid #ddd;
	cursor:pointer;
}

#main_content .news_item_container a:hover,
#main_content .news_item_container a:focus {
	text-decoration:none;
	background:url(../imgaj/hr_fade_over.gif) no-repeat left -3px;
}

.news_item_left {
	display:block;
	float:left;
	width:492px;
}

.fullwidth {
	width:663px;
}

.calendar_container {
	display:block;
	float:left;
	clear:both;
	width:450px;
	padding:5px 0 5px 21px;
	background:url(../imgaj/calendar.png) no-repeat left center;
	font-size:x-small;
	color:#777;
}

.news_item_title {
	display:block;
	float:left;
	width:100%;
	padding:3px 0 7px;
	line-height:normal;
	font-size:130%;
}

.news_item_description {
	display:block;
	float:left;
	width:100%;
	color:#333;
}

.news_item_right {
	display:block;
	float:left;
	width:155px;
	padding:25px 8px 5px;
	text-align:center;
}

.news_item_image {
	float:left;
	width:155px;
}

.news_item_right img {
	padding:1px;
	border:1px solid #ccc;
}

#main_content .news_item_container a:hover .news_item_right img,
#main_content .news_item_container a:focus .news_item_right img {
	border:1px solid #888;
}

/*------------------------------------------------{   details page   }------------*/

#news_details_container,
#news_content {
	float:left;
	width:100%;
}

#news_details_container {
	padding:1px 0 0;
}

#news_content h1 {
	line-height:normal;
	font-size:130%;
}

#news_details_image {
	float:right;
	margin-left:10px;
	padding:0 0 10px 0;
}

#news_details_image img {
	padding:1px;
	border:1px solid #ccc;
}

#news_details_container .calendar_container {
	width:641px;
	margin-bottom:3px;
}


/*------------------------------------------------{   searchbox   }------------*/

#news_search_form_container {
	float:left;
	width:187px;
	margin:8px 0 0;
	padding:10px 10px 12px;
	border:1px solid #ccc;
	background:url(../imgaj/content-footer-bg.jpg) repeat-x left bottom #fff;
}

#news_search_heading,
#news_archives_heading {
	float:left;
	width:100%;
	margin:0 0 10px;
	padding:0 0 8px;
	border-bottom:1px dotted #898989;
	font-size:110%;
}

#news_search_form_container form {
	float:left;
	width:100%;
}

#news_search_form label {
	display:block;
	float:left;
	width:100%;
	line-height:normal;
	font-weight:bold;
	color:#932f4c;
}

#news_search_form fieldset {
	display:block;
	float:left;
	width:100%;
	padding:0;
	border:none;
}

#news_search_submit_container {
	float:left;
	clear:both;
	width:100%;
	text-align:right;
}

#ng {
	display:block;
	float:right;
	padding:3px 5px;
	border:1px solid #989898;
	background:#932f4c;
	font-family:Verdana, Geneva, sans-serif;
	font-size:x-small;
	letter-spacing:1px;
	text-transform:uppercase;
	cursor:pointer;
	color:#fff;
}

#ng:hover,
#ng:focus {
}

#news_search_value_container {
	float:left;
	width:100%;
	margin:0 0 10px;
}

#searchfor {
	float:left;
	width:181px;
	margin:2px 0 0;
	padding:2px;
	border:1px solid #989898;
	color:#ccc;
}


/*------------------------------------------------{   news search result list   }------------*/

#news_search_result_info p {
	padding:5px 0;
	line-height:normal;
	text-align:right;
	border-bottom:1px solid #c09aaa;
	font-size:87%;
}

#news_search_result_page_indicator {
	float:left;
	line-height:normal;
}

ul#news_search_results {
	margin:20px 0 0;
	padding:0;
	list-style:none;
	list-style-image:none;
}

ul#news_search_results li {
	padding:0 0 20px;
	background:none;
}

.search_result_title {
	display:block;
	clear:both;
	font-size:120%;
	color:#932f4c;
}

#main_content .search_result_title a,
#main_content .search_result_title a:hover,
#main_content .search_result_title a:focus {
	border-bottom:none;
	text-decoration:underline;
	color:#932f4c;
}

.search_result_content {
	display:block;
	clear:both;
	padding:5px 0 2px;
	line-height:110%;
	color:#464646;
}

.search_result_date {
	display:block;
	padding:0 0 3px;
	font-weight:bold;
	color:#888;
}

.search_result_url {
	display:block;
	color:#6e819f;
	font-size:87%;
}


/*------------------------------------------------{   news search result pagination   }------------*/

#news_search_result_pagination_container {
	float:left;
	width:100%;
	margin:30px 0 0;
	padding:10px 0;
	border-top:1px solid #c09aaa;
	text-align:center;
}

#news_search_result_pagination {
	display:inline;
	margin:0 auto;
	line-height:150%;
}

#news_search_result_pagination a,
#news_search_result_pagination b {
	margin:0 5px 0 0;
	padding:4px;
	border:1px solid #aaa;
	background:#fefefe;
	line-height:normal;
	text-align:center;
	font-size:87%;
	font-weight:bold;
	color:#932f4c;
}

#news_search_result_pagination a:hover,
#news_search_result_pagination a:focus {
	border:1px solid #444;
	background:#fff;
	color:#444;
}

#news_search_result_pagination b {
	border:1px solid #fff;
	background:#fff;
	color:#444;
}

#numbering {
	float:left;
	padding:7px 20px 5px 10px;
}


/*---------------------------------------------------------------------{   archive widget   }------------*/

#news_archives_container {
    float:left;
    width:187px;
	margin:13px 0 0;
	padding:10px 10px 12px;
	border:1px solid #ccc;
	background:url(../imgaj/content-footer-bg.jpg) repeat-x left bottom #fff;
}

#news_archives_wrapper {
	width:187px;
	margin:0 auto;
}

#news_archive_calendar_tab {
    float:left;
    width:187px;
    padding:5px 0 6px;
    background:url(../imgaj/widget_top.gif) no-repeat center bottom;
}

.news_archive_calendar_container {
	float:left;
	width:187px;
}

.news_archive_current_year {
    float:right;
    width:50px;
    background:url(../imgaj/widget_tab_left.gif) no-repeat left top;
    text-align:right;
}

.news_archive_current_year span {
    float:right;
    display:block;
    width:50px;
    padding:3px 0;
    background:url(../imgaj/widget_tab_right.gif) no-repeat right top;
    text-align:center;
    font-size:120%;
    font-family:'Times New Roman', Georgia, serif;
}

.news_archive_year {
    float:left;
    width:185px;
	padding:0 1px;
	border-top:1px solid #ccc;
    background:url(../imgaj/widget_bg.gif) repeat-y #fff;
    text-align:right;
}

.news_archive_year span {
    float:left;
    display:block;
    width:185px;
	background:url(../imgaj/calendar_year_bg.gif) repeat-x left top #fff;
    text-align:right;
    font-family:'Times New Roman', Georgia, serif;
    font-size:120%;
}

.news_archive_current_year a,
.news_archive_year a {
	color:#444;
}

.news_archive_year a {
    display:block;
    width:165px;
    padding:5px 10px;
}

.news_archive_current_year a:hover,
.news_archive_current_year a:focus,
.news_archive_year a:hover,
.news_archive_year a:focus {
	color:#932f4c;
}

.news_archive_calendar {
    float:left;
    clear:both;
    width:187px;
	padding:0 0 2px;
    background:url(../imgaj/widget_bg.gif) repeat-y #fff;
}

.news_archive_calendar table {
    margin:0 auto;
    padding:0;
	border-collapse:separate;
}

.news_archive_month {
    text-transform:uppercase;
    text-align:center;
}

.news_archive_month a {
    display:block;
    width:41px;
    padding:7px 5px;
    background:#fff;
    border:1px solid #932f4c;
    color:#932f4c;
}

.news_archive_month a:hover,
.news_archive_month a.active {
    background:#932f4c;
    color:#fff;
    text-decoration:none;
}

.news_archive_nostory {
    display:block;
    width:41px;
    padding:7px 5px;
    border:1px solid #dedede;
    background:#fdfdfd;
    text-transform:uppercase;
    text-align:center;
    color:#ababab;
}

.news_archives_footer {
    float:left;
    clear:both;
    width:187px;
    height:6px;
    background:url(../imgaj/widget_footer_bg.gif) no-repeat bottom center;
    line-height:1px;
    font-size:1px;
}

.news_archive_current_year a.current,
.news_archive_year a.current {
	font-weight:bold;
	color:#932f4c;
}

.news_archive_current_year a.default,
.news_archive_year a.default {
	font-weight:normal;
	color:#444;
}

.news_archive_month a.current,
.news_archive_month a.current:hover,
.news_archive_month a.current:focus {
	background:#debfc8;
	color:#932f4c;
}


