/*
 Theme Name:   KERA Think
 Theme URI:    http://think.kera.org
 Description:  Child Theme to Gridbox
 Author:       Alan Melson
 Template:     gridbox
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  think-child-theme
*/


/* --== GLOBAL ==-- */
.home-longbanner{display:block;}
.home-shortbanner{display:none;}

/* Hide comments are closed message */
.no-comments { display:none; }

/* Fix font in related posts header */
.related-posts-header h2 { font-family: "Montserrat"; }

/* Normalize h3 font in widget titles */
.widget-title { font-weight:normal; }

/* Remove header image from internal pages */
.header-image { display: none; }
.home .header-image { display: block; }

/* Fix title header */
.entry-header h2.entry-title { font-size:1em; line-height:0.9em }
.entry-header h1.entry-title { line-height:1.1em }

/* Change excerpt text size and spacing */
.entry-excerpt { font-size:0.7em; line-height:1.2em }

/* Twitter widget tweaks */
#twitter-2  { max-width:300px; }
#twitter-2  li { font-size:1em; line-height:1.2em; padding-bottom:10px; }
#twitter-2  li .entry-meta { clear:both; font-size:0.8em; }
#twitter-3  li { font-size:1em; line-height:1.4em; padding-bottom:15px; }
#twitter-3  li .entry-meta { clear:both; font-size:0.8em; }

/* Underwriting */
.home-underwriting-leaderboard { clear:both; width:100%; padding:10px; text-align:center }
.home-underwriting-leaderboard .image { clear:both }
.home-underwriting-billboard { clear:both; width:100%; padding:10px; text-align:center }
.home-underwriting-billboard .image { clear:both }
.home-underwriting-mobile { clear:both; width:100%; text-align:center; margin-bottom:20px }
.home-underwriting-tag { font-size:10px; color:#555 }

/* Homepage underwriting desktop vs mobile fix */
@media screen and (max-width:600px) {
.home-underwriting-leaderboard { visibility:hidden }
.home-underwriting-leaderboard { margin-top:-100px }
.home-underwriting-billboard { visibility:hidden }
.home-underwriting-billboard { margin-top:-100px }  
}

@media screen and (min-width:601px) {
.home-underwriting-mobile { visibility:hidden; display:none; }
.home-underwriting-mobile { margin-top:-50px }
}

/* Remove borders from tables! */
.table { border-collapse:collapse; border:0 }
.table td { border-collapse:collapse; border:0; padding-bottom:10px }

/* Set styles for Connect footer area */
.connect-widget-container { display:flex; align-items: center; }
.socialitem { padding-right:20px }
.socialicon { padding-right:8px }

/* Shortcode - button */
.shortcode-button {background:#000066; text-shadow:1px 1px 1px #000;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);-moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);cursor: pointer;display: inline-block;overflow: hidden;padding: 1px;vertical-align: middle}
.shortcode-button span {border-top: 1px solid rgba(255, 255, 255, 0.25);-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #fff;display: block;font: bold 12px, sans-serif;padding: 6px 12px }
/*Hover*/ .shortcode-button:hover{background: #336699;text-decoration:none}
/*Active*/ .shortcode-button:active{background:#000066}

/* Fix footer widths for all screens */
.footer-widget-column { width: 33%; }

/* RSS Widget */

.rsswidget { font-size:1em; line-height:1em; padding-bottom:10px; }

/* --== HOME ==-- */

/* Fix sizes on homepage category headers */
.category-archive-link { font-size:20px; line-height:20px }
.magazine-two-columns-grid .type-post .entry-title { font-size: 26px; line-height:26px; }
.magazine-three-columns-grid .type-post .entry-title { line-height:1em }

.widget-magazine-posts .widget-header { margin-top:-40px; margin-bottom:0.5em; }

/* Homepage podcast promo desktop vs mobile fix */
@media screen and (max-width:800px) {
.home-promo-billboard { visibility:hidden }
.home-promo-billboard { padding:10px 0 20px }  
}

@media screen and (min-width:801px) {
.home-promo-mobile { visibility:hidden }
.home-promo-mobile { margin-top:-50px }
}

/* Fix photo credit */

.ccfic { margin:-5px 0 10px 0; text-align:right; font-size:0.8em; font-style:italic }

/* hide related posts caption on thumbnails */

.related-post-column .ccfic-text{ display:none; }

/* --== SHOW ARCHIVE ==-- */
#KTSAfilter select{
	margin:.5rem;
}

@media(max-width:600px){
	#KTSAfilter select, #KTSAfilter option{
		display:block;
		width:90%;
	}
	
	#KTSAfilter button{
		width:80%;
		margin:.5rem;
	}

	
}

.archive-table td{
	border:none;
}

.archive-mod {
  margin: 0 0 4em 0;
}


.archive-day .tz-h-lg {
  ont-size: 2.75em;
}

.archive-day .l-primary {
  margin-bottom: 6em;
}


.archive-items {
  width: 100%;
  margin: 0 auto;
  *zoom: 1;
}

.archive-items:after {
  content: "";
  display: table;
  clear: both;
}
@media (min-width: 600px) {
  .archive-items {
    max-width: 100%;
  }
}
.archive-items thead {
  display: none;
}

.archive-items table {
  width: 100%;
  margin-top: 2em;
  margin-bottom: 3em;
}

.archive-items tr {
  display: table-row;
  padding: 1.45em 0em;
  border-bottom: 1px solid #ebeced;
}

.archive-items tr:first-child {
  border-top: 1px solid #ebeced;
}
@media (min-width: 600px) {

  .archive-items tr {
    display: table-row;
    padding: 0;
  }

  .archive-items tr:nth-child(2n + 2) {
    background-color: #f6f6f7;
  }
}
@media (min-width: 56.25em) {

  .archive-items tr.archive-ad-row {
    display: block;
  }
}
@media (min-width: 600px) {

  .archive-items td {
    padding-top: 1.55em;
    padding-bottom: 1.55em;
    padding-left: 1%;
    padding-right: 1%;
  }
}


.archive-head-td {
  display: block;
}
@media (min-width: 600px) {

  .archive-head-td {
    display: table-cell;
    width: 43%;
    padding-left: 0.55em;
  }
}
@media (min-width: 37.5em) {

  .archive-head-td {
    width: 53%;
  }
}
@media (max-width: 600px) {

  .archive-head-td {
    padding-top: 1.55em;
  }
}

@media (min-width: 600px) {

  .archive-date-td,
  .archive-comment-td,
  .archive-controls-td {
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 1.55em;
  }
}


.archive-date-td {
  display: inline-block;
  width: 60%;
  font-size:.75rem;
}
@media (min-width: 600px) {

  .archive-date-td {
    display: table-cell;
    width: 23%;
    font-weight: 700;
  }
}
@media (min-width: 37.5em) {

  .archive-date-td {
    width: 16%;
  }
}

@media (max-width: 600px) {
	.archive-date-td{
		margin-top:-2rem;
	}	
}

.archive-comment-td {
  display: inline-block;
  width: 23%;
}
@media (min-width: 600px) {

  .archive-comment-td {
    display: table-cell;
    width: 10%;
  }
}
@media (max-width: 600px) {

  .archive-comment-td {
    padding-bottom: 1.55em;
  }
}

.archive-comment-td .discuss {
  margin-top: 0;
  text-align: left;
  padding-left: 1.65em;
}


.archive-controls-td {
  display: inline-block;
  width: 13%;
  position: relative;
  top: -3px;
  text-align: center;
}
@media (min-width: 600px) {

  .archive-controls-td {
    display: table-cell;
    width: 10%;
    padding-right: 1%;
    position: static;
  }
}
@media (max-width: 600px) {
	.archive-controls-td{
		display:none;
	}	
}

.archive-h a{
	font-family:'Montserrat';
	color:#000000;
}

.archive-h {
  display: table-cell;
  width: 70%;
  vertical-align: middle;
}
@media (min-width: 600px) {

  .archive-h {
    display: inline-block;
  }
}
@media (max-width: 600px) {

  .archive-h {
    font-size:.9rem;
  }
}


.archive-img {
  display: table-cell;
  width: 25%;
  padding-right: 5%;
  vertical-align: top;
}
@media (min-width: 600px) {

  .archive-img {
    display: inline-block;
    width: 12%;
    padding-right: 2%;
  }
}


@media(max-width:40em){
	.home-longbanner{display:none;}
	.home-shortbanner{display:block;}
}

