/*	
	Author Name : 59ideas
	Author Site : http://59ideas.com/
	Style Name : AdAdvantage
	Style URI : http://59ideas.com/blog/adadvantage
	Version : R4
	Comments : Originally based on 3 column K2 theme by obharath but has evolved since.
*/

/* Changes from the basic k2 style.css */

body {
    border-top: 2px solid #ccc;
    background-color: #ccc;
}

#page {
	/* The entire template's width is set in this class. */
	width: 970px !important;
	border: none !important;
    padding: 2px 0 0 0;
}

#header {
	height: 150px !important;
    background-color: #ccc;
    background-image: url(sa1.gif);
}

.content {
    background-image: url(content-bg.gif);
    background-repeat: repeat-y;
    margin: 0;
    padding: 0;
}

#primary {
    width: 473px !important;
    padding: 10px 0;
    margin: 0 10px 0 15px !important;
}

.secondary {
    margin: 0 0 0px 502px !important;
    padding: 0;
    width: 461px !important;
}

.secondary div {
	margin: 0;
}
	
.secondary ul, .secondary ol, .secondary div div {
	margin: 15px 0;
}

/* blog title */
h1 {
    font-size: 215%;
    padding-top: 18px;
    padding-left: 30px;    
}

#header .description {
    margin-left: 30px;        
}

ul.menu {
	left: 0;
}

ul.menu li a {
    font-weight: bold;
    color: black;
}

#primary .entry-content img {
    border: 0;
}

.feedlink img {
    right: 0;
}

/* Brian's Latest Comments */
.sb-comments sb-comments-blc ul li > a[title="Go to the comments of this entry"] {
    right: 0;
}

/*======== Fix rolling page archive width ========*/

#rollprevious, #rollnext, #rollpages,
#nested_rollprevious, #nested_rollnext, #nested_rollpages {
    width: 90px;
        padding: 7px 2px;
}

#rollprevious, #rollnext, 
#nested_rollprevious, #nested_rollnext {
    width: 60px;
}

#rollload, 
#nested_rollload {
    right: 45px;
    width: 45px;
    padding-left: 20px;
}

#rollpages, #nested_rollpages {
        left: 45px;
}

#pagetrack,
#nested_pagetrack {
        width: 200px;
}

/*======== 3 column sidebar ========*/
#tsidebar {
    background-color: #f0f0f0;
    padding: 0px;
    text-align: center;
}

#lsidebar {
	margin: 0;
	padding: 0 6px 0 9px !important;
	width: 250px !important;
	float: left !important;
    height: 100%
    /* border-left: 1px solid #ddd;
    border-right: 1px solid #ddd; */
}
	
#rsidebar {
	margin: 0;
	padding: 0 7px 0 9px !important;
	width: 160px !important;
	float: right !important;
}

.secondary div div div {
    margin: 5px 0 0;
    padding-left: 0;
}

/*======== Additional CSS ========*/

#header-title {
    width: 21%;
    float: left;
}
        
#header-block {
    width: 730px;
    float: right;
    margin-top: 0px;
    margin-bottom:0px;
    margin-right: 0;
    border: 0;
    background-color: #FFFFFF;
}

#header-links {
    padding: 2px 30px 3px 15px;
    background-color: #fafafa; 
    border-bottom: 1px solid #eee;   
}

.sb-feed a {
	margin: 0px 10px 0px 0px;
	display: block;
	background: url('../../images/feed.png') no-repeat -1px 1px;
	padding-left: 18px;
	height: 18px;
	text-decoration: none;
	}
	
.sb-feed p {
	text-align: justify;
}

/*======== 3 columns footer ========*/

#footer3 {
    background: #ccc;
    width: 100%;
    color: #000;
    margin: 5px auto;
    padding: 0 auto;
}

#lfooter3, #cfooter3,#rfooter3 {
    background: transparent;
    margin: 0;
    padding: 0;
/*    border: 1px solid #aaa; */
    width: 33%;
    float: left;
    display: inline;
    text-align: left;
}

#cfooter3, #rfooter3 {
    border-left: 1px solid #bbb;
}

.footer3-content {
    margin: 5px 15px;
}

#lfooter3 .footer3-content {
    margin-left: 30px;
}

#footer3 h2 {
    color: #fff;
	text-align: left;
	font-size: 2.0em;
	font-weight: normal;
}

/*======== Blocks ========*/

#block-sitebar {
        padding: 0 20px 2px 20px;
        text-align: left;
}
#block-sitebar a {
        color: #cccc;
}

.block-sidebar250 {
        margin: 8px 0;
}

.sb-google-refer {
        margin: 0 0 10px 0;
}

.block-sidebar160 {
        margin: 8px 0;
}

#block-comments {
        text-align: center;
}

#block-footer-search {
        margin: auto;
        padding: 8px;
}

#block-footer {
        margin: auto;
}