/*
 Theme Name:   Redwood Child for thepouringtales
 Theme URI:    http://thepouringtales.com/
 Description:  Redwood Child Theme for thepouringtales
 Author:       Pascal Schmitt
 Author URI:   http://example.com
 Template:     redwood
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  thepouringtales
*/



/* START taken from "custom css" config of the previous used theme "redwood 2016", 12.04.2020 */
p {line-height: 26px;}

#sidebar {margin-top: 145px;}

#header {border: none;}

.post-header h1 {font-size: 32px;}

.grid-item {margin-bottom: 85px;}

.home .post-box-title, .category  .post-box-title {text-align: center; font-size: 14px; margin: 10px 0 35px 0;}

.single .post-header {text-align: left;}

.single .title-divider {margin: 0; border:none;}

#footer-widgets {overflow: hidden; color: #eee;}

#footer-widgets .footer-item {float: left;
width: 30%;
    margin-right: 35px;
    overflow: hidden; }

.footer-item h3 {margin: 35px 0px 20px 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;}

.footer-item .menu-item a, #sidebar .cat-item a {
font-family: "Montserrat", sans-serif;
text-transform: uppercase;
    letter-spacing: 2px;
font-size: 12px;
line-height:25px;}

.footer-item .menu, .footer-item .about-widget {
text-align: left;}

.footer-item img {
max-width: 100%;}

.footer-item .instagram-pics li {
    float: left;
    width: 31%;
    margin-right: 5px;}
/* END taken from "custom css" config of the previous used theme "redwood 2016", 12.04.2020 */



/* START Changes made for this child theme, Pascal, 12.04.2020 */
/* grey "letterbox" on all pages */
body {
	background-color:#F1F1F1;
}
body > div.container, #logo
{
	background-color:white;
}
#main.fullwidth {
    width: 100%;
    padding: 0 20px;
	background-color: white;
}
#content 
{
	margin-bottom:0px;
	border-top:50px solid white;
}
#header
{
	margin-bottom: 0px;
}
#instagram-footer .null-instagram-feed
{
	background-color: #161616;
}
#instagram-footer .null-instagram-feed .widget-title {
    color: white;
    margin-top: 20px;
}
/* Startpage letterbox */
.featured-area {
    margin:0 20px 30px 20px;
}
.promo-item {
    width: 330px;
    margin-right: 25px;
}
.promo-area {
    overflow: hidden;
    padding-bottom: 60px;
    margin: 0 20px;
}
/* Post page */
.single-post #main:not(.fullwidth),.page #main:not(.fullwidth), .single-nooz_release #main:not(.fullwidth)
{
	margin:0 20px;
}
.single-post #sidebar,.page #sidebar, .single-nooz_release #sidebar {
    margin: 0 20px 0 0;
    width: 280px;
}
#sidebar .instagram-pics li {
    margin: 0 0 10px 9px;
}
/* do not show article teaser on summary pages */
article .post-entry p:first-child
{
	display:none;
}
article .list-meta
{
	text-align: center;
}
/* Do not show a-z on the bar-projects page */
.category-bar-projects .azindex-wrapper
{
	display:none;
}
/* Title on category pages should look like page titles */
.archive-box h1 {
	display: inline-block;
	font-size: 32px; 
	letter-spacing: 3px;
    text-transform: uppercase;
    color: #000;
    font-weight: 500;
    line-height: 1.4em;
	margin-bottom:10px;
}
.archive-box > .title-divider {
    border-top: 2px solid;
    display: block !important;
    max-width: 48px;
    margin: 0 auto 15px;
    color: #161616 !important;
	margin-right: auto;
}
.archive-box { border:none; padding:0; margin-bottom:25px;}

/* Switch to 3 item grid */
#main.fullwidth .sp-grid > li, #main.fullwidth .alm-reveal > li {
    width: 330px;
    margin-right: 21px;
}

#main.fullwidth .sp-grid li:nth-of-type(2n+2), #main.fullwidth .alm-reveal li:nth-of-type(2n+2) {
    margin-right: 21px;
}

#main.fullwidth .sp-grid li:nth-of-type(3n+3), #main.fullwidth .alm-reveal li:nth-of-type(3n+3) {
    margin-right: 0px;
}

/* a lot of a-z customization */
/* Don't show A-Z Links on category pages */
.az-letters
{
	display:none;
}
#inner-slider
{
	display: flex;
    flex-wrap: wrap;
}
.az-slider li
{
	font-family: "Montserrat", sans-serif;
}
#inner-slider .letter-section {
    float: left;
    flex-basis: 23%;
    margin-top: 15px;
    margin-right: 10px;
}
/* do not show "back to top" link in a-z  */
#inner-slider .back-to-top
{
	display:none;
}
/* clear letter-section float */
.category .post-box-title
{
	clear:both;
	padding-top:50px;
}
/*no shadows on press page */
.nooz-post
{
	box-shadow:none !important;
	border: 1px solid #a3a3a3;
}
/* Responsive elements */
@media only screen and (min-width: 942px) and (max-width: 1170px) 
{
	#main.fullwidth .sp-grid > li, #main.fullwidth .alm-reveal > li {
    	width: 281px !important;
    	margin-right: 26px;
	}
	.single-post #sidebar {
    	width: 270px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 960px)
{
	.sp-grid > li, #main.fullwidth .sp-grid > li, .alm-reveal > li, #main.fullwidth .alm-reveal > li {
		width: 335px;
	}
	#main.fullwidth .sp-grid li:nth-of-type(2n+2), #main.fullwidth .alm-reveal li:nth-of-type(2n+2) {
    	margin-right: 0px;
	}

	#main.fullwidth .sp-grid li:nth-of-type(3n+3), #main.fullwidth .alm-reveal li:nth-of-type(3n+3) {
		margin-right: 26px;
	}
	body
	{
		background-color:white;
	}
	#main.fullwidth
	{
		padding:0px;
	}
	.featured-area {
		margin:0 0 30px 0;
	}

	.promo-area, .single-post #main {
		margin: 0;
	}
	.single-post #sidebar {
		margin: 0;
	}

}

@media only screen and (max-width: 767px) {
	body
	{
		background-color:white;
	}	
	#main.fullwidth
	{
		padding:0px;
	}
	.featured-area {
		margin:0 0 30px 0;
	}

	.promo-area, .single-post #main {
		margin: 0;
	}
	.single-post #sidebar {
		margin: 0;
	}
	div.azindex-wrapper
	{
		display:none;
	}
}

@media only screen and (min-width: 480px) and (max-width: 768px) {
		#main.fullwidth .sp-grid li:nth-of-type(3n+3), #main.fullwidth .alm-reveal li:nth-of-type(3n+3) {
    	margin-right: 26px;
	}
	#main.fullwidth .sp-grid li:nth-of-type(2n+2), #main.fullwidth .alm-reveal li:nth-of-type(2n+2) {
    	margin-right: 0px;
	}
}
/* END Changes made for this child theme, Pascal, 12.04.2020 */


