/* 
 * FRONT END DEFAULT STYLES
 * LINK-POSTS AGGREGATOR
 * Author: CK MacLeod
 * Version: 0.995
 * Date: September 2016
 */
.cks_lpa-table
{
	margin: 1em 0;
	overflow: auto;
}

.cks_lpa-table-title {
        margin: 1em 0;    
}

/******************
*** POST STYLES ***
******************/
.cks_lp
{
	clear: both;
        overflow: auto;
        padding: .5em 0;
        margin: .5em 0;
}

.cks_lp-open 
{   
        display: none;   
}

.cks_lp-closed
{
        display: block;
}

/* GENERAL: LINKS */
.cks_lp a:hover, 
.cks_lp-plus-minus-link:hover
{
	opacity: .6;
}

/* GENERAL: PLUS-MINUS LINKS */
.cks_lp-plus-minus, .cks_lp-plus-minus-no-quote
{
	float: left;
        min-height: 1px;
	width: 8%;
}

.cks_lp-closed .cks_lp-plus-minus-link, 
.cks_lp-open .cks_lp-plus-minus-link, 
.cks_lp-minus-bottom
{
	background-image: url(../images/plus-minus_72x72_gray.png);
	border-bottom: none;
	float: left;
	height: 24px;
	width: 24px;
}

.cks_lp-closed.alt-plus .cks_lp-plus-minus-link,
.cks_lp-open.alt-minus .cks_lp-plus-minus-link,
.cks_lp-open.alt-minus .cks_lp-minus-bottom
{
	background-color: #fff;
	background-image: none;
	border: 1px dotted;
	color: #3a3a3a;
	height: auto;
	margin-top: 0;
	text-align: center;
	width: 1.5em;
}

.cks_lp-closed .cks_lp-plus-minus-link:hover
{
	background-position: 0 -48px;
}

.cks_lp-open .cks_lp-plus-minus-link, .cks_lp-minus-bottom
{
	background-position: -48px 0;
}

.cks_lp-open .cks_lp-plus-minus-link:hover, .cks_lp-minus-bottom:hover
{
	background-position: -48px -48px;
}

.cks_lp-closed.has-add-lt-sc .cks_lp-plus-minus-link 
{    
        background: none ;    
}

/* POST TITLES */

.cks_lp-title
{
	float: left;
	width: 70%;
}

.cks_lp-no-comments .cks_lp-title
{
	width: 92%;
}

/* CATEGORIES AND TAGS */
.cks_lp-terms
{
	clear: right;
	float: right;
	font-size: .8em;
	line-height: 1.2em;
	margin-right: 8%;
	text-align: right;
	text-transform: uppercase;
}

.cks_lp-no-comments .cks_lp-terms 
{
        margin-right: 0;
}

.cks_lp-open .cks_lp-terms {
    
        margin-bottom: 1em;
        
}

.cks_lp-tags a
{
	padding-left: 2px;
}

.cks_lp-tags a::before
{
	content: "#";
}

/* COMMENTS LINKS */
.cks_lp-comments
{
	float: right;
	text-align: right;
	width: 8%;
	word-wrap: normal;
}

/* POST-DATES */
.cks_lp-post-date
{
	clear: left;
	float: left;
	font-size: .8em;
	line-height: 1.2em;
	margin-left: 8%;
	text-align: left;
}

/* OPENED QUOTES-ONLY (incl plus-minus, terms) */
.cks_lp-quote-open
{
	clear: both;
	height: auto;
	overflow: auto;
}

.cks_lp-quote-open img
{
	margin: 0 auto;
        
}

.cks_lp-quote-open iframe
{
	margin: 0 auto;
        min-width: 0;
}

.cks_lp-quote-open .twitter-tweet-rendered 
{   
        min-width: 0 !important;
}

a.cks_lp-minus-bottom
{
	float: left;
}

.cks_lp-no-comments a.cks_lp-minus-bottom
{
	float: right;
}

a.cks_lp-comment-link-bottom
{
	float: right;
}

/* LINKBACK */
.cks_linkback
{
	    padding: 1em 0;
            overflow: hidden;
}

.cks_linkback-left
{
	float: left;
        margin-bottom: .5em;
}

.cks_linkback-right
{
	float: right;
}

/* CREDIT LINK */
.cks-plugins-credit
{
	clear: left;
	float: left;
}

.cks-plugins-credit img
{
	background-color: #FFF;
	border: 1px solid lightgray;
	opacity: .7;
	padding: 0 6px;
	vertical-align: text-bottom;
}

/* NON-DEFAULT: DATE HEADINGS */
.cks_lp-year 
{
        display: block;
        font-size: 2em;
        letter-spacing: .2em;
        margin: 1em 0;
        text-align: center;
        width: 100%;
}

.cks_lp-month
{
	display: block;
	font-size: 1em;
	letter-spacing: .2em;
        margin: .5em 0;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

.cks_lp-week
{
	display: block;
	font-size: 1.1em;
	font-style: italic;
	letter-spacing: 1px;
        margin: .5em 0 .25em;
	width: 100%;
}

/* NON-DEFAULT: THUMBNAILS */
.cks_lp-thumbnail 
{ 
        min-height: 1px; 
        width: 10%;
        float: left;
        margin-right: 2%;
}

/*************************
 * SPECIFIC TABLE STYLES *
*************************/

/* ERROR MESSAGE STYLES */
.cks_lpa-error
{
	background-color: #FFF;
	border: 2px solid red;
	color: red;
	padding: 12px;
}

.cks_lpa-error a
{
	color: green;
}

/* NO QUOTE TABLE */
.cks_lpa-table-no-quote .cks_lp .cks_lp-plus-minus-no-quote 
{
        display: none;
}

.cks_lpa-table-no-quote .cks_lp-title 

{
        width: 78% ;
}
.cks_lpa-table-no-quote .cks_lp-no-comments.use-thumb .cks_lp-title 
{
        width: 88% ;
}

/* SHORTCODE TABLE STYLES */
.cks_lpa-table-sc h2.cks_lpa-table-title
{
	line-height: 1.4em;
	margin: 1em 0;
	min-height: 40px;
	padding: 0;
}

.cks_lpa-table h3.cks_lpa-table-date
{
	margin: -1em 0 1em;
	text-align: center;
}

/* TEMPLATE TABLE */
.cks_lpa-table-template
{
	margin: 5%;
	padding: 5%;
}

/* WIDGET TABLE */
.cks_lpa-table-widget .use-thumb.has-thumb .cks_lp-title 
{    
        margin-left: 15% ;   
}
.cks_lpa-table-widget .cks_lp-plus-minus,
.cks_lpa-table-widget .cks_lp-comments
{
	width: 15%;
}
.cks_lpa-table-widget .cks_lp-thumbnail 
{    
        width: 80%;
        margin-right: 0;   
}

.cks_lpa-table-widget .use-thumb.has-no-thumb .cks_lp-thumbnail {
    
        display: none;
    
}

.cks_lpa-table-widget .cks_lp-title
{
	width: 70%;
}

.cks_lpa-table-widget iframe
{
	height: auto;
	width: 100%;
}

.cks_lpa-table-widget .cks_lp-no-comments .cks_lp-title
{
	width: 85%;
}

.cks_lpa-table-widget .cks_lp-post-date
{
	margin-left: 15%;
}

/* SMALL SCREENS */
@media only screen and (max-width: 640px) {
	.cks_lp .cks_lp-plus-minus,
        .cks_lp .cks_lp-comments,
        .cks_lpa-table-widget .cks_lp-plus-minus,
        .cks_lpa-table-widget .cks_lp-comments,
        .cks_lp .cks_lp-plus-minus-no-quote
	{
		width: 17.5%;
                min-height: 1px;
	}
	
	.cks_lp .cks_lp-title,
        .cks_lpa-table-widget .cks_lp-title
	{
		width: 65%;
	}
        
        .cks_lpa-table-no-quote .cks_lp .cks_lp-plus-minus-no_quote 
        {
                display: none;
        }
}
