/*
Theme Name: Table for Social Profit Machine
Description: Table theme customized for Social Profit Machine
Author: Social Profit Machine
Template: table
*/

@import url("../table/style.css");

.post-thumb {
text-align: center;
}

.post-thumb img {
max-width: 400px;
height: auto;
padding: 5px;
border: 1px solid #e2e2e2;
background: #fff;
}

.top-ad {
clear: both;
width: 100%;
height: 100%;
margin-bottom: 20px;
text-align: center;
}
.top-ad .widget, .inpost-ad .widget {
margin: 0;
padding: 0;
}
.inpost-ad {
float: left;
padding-right: 15px;
padding-bottom: 15px;
padding-top: 5px;
}
.inpost-ad img {
border: none;
padding: 0;
}

/* SBE 03-16-2015:  dont know what this does */
/*.entry-box .entry-date {
top: 5px;
left: 5px;
}*/

/* //SBE 03-16-2015:  text shadow was white on a light font - made no sense and looked like crap */
.entry-date {
	text-shadow: 1px 1px 0 #000;
	padding-bottom: 5px;
}

.entry-box img {
width: 100%;
height: auto;
}

.entry-image {
height: 165px;
overflow: hidden;
margin-bottom: 15px;
}

#featured-slider {
height: 400px;
overflow: hidden;
}

#featured-slider .entry-thumb {
height: auto;
min-height: 350px;
}

.flex-caption {
top: 350px;
left: -6px;
position: absolute;
width: 622px;
}

.flex-caption {
background: #FBFBFB;
background: -webkit-gradient(linear, left top, left bottom, from(#FBFBFB), to(#EEEEEE));
background: -webkit-linear-gradient(#FBFBFB, #EEEEEE);
background: -moz-linear-gradient(center top, #FBFBFB 0%, #EEEEEE 100%);
background: -moz-gradient(center top, #FBFBFB 0%, #EEEEEE 100%);
background: -o-linear-gradient(top, #FBFBFB, #EEEEEE);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FBFBFB,endColorstr=#EEEEEE);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FBFBFB, endColorstr=#EEEEEE)";
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
-moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
text-shadow: 0 1px 0 #fff;
border: 1px solid #d9d9d9;
border-top: none;
}

.related-posts ul li a.title {
border-bottom: 1px solid transparent;
display: block;
}
.related-posts ul li {
text-align: center;
}

#primary-nav {
overflow: hidden;
}

.entry-content blockquote {
clear: both;
}



/*############ RESPONSIVE SECTION ############*/


/* Tablets & Smartphones ----------- */
@media only screen
and (max-width : 768px) {

body {
font: 16px/20px Arial, Helvetica, Sans-serif;
}

img, object, iframe {
max-width: 100%;
height: auto;
}

#sidebar {
display: none;
}

#wrapper, .inner-wrap, .pagination, #featured-slider, #featured-slider .entry-thumb, .flex-caption, #news-ticker, a.entry-box {
width: 100%;
}

#content {
width: 96%;
padding-left: 2%;
}

.post-thumb img {
max-width: 96%;
}

.entry-image {
height: auto;
}

a.entry-box, #news-ticker {
padding-left: 0;
padding-right: 0;
}

#news-ticker span.text {
padding-left: 10px;
}
	
}
/* /Tablets & Smartphones ----------- */


/* Smartphones ----------- */
@media only screen
and (max-width : 640px) {

#featured-slider {
height: 260px;
}

#featured-slider .entry-thumb {
min-height: 250px;
}

#featured-slider  .flex-caption {
top: 190px;
min-height: 40px;
}

#news-ticker {
height: 44px;
}

.related-posts {
display: none;
}

}
/* /Smartphones ----------- */