/*
Theme Name: NewsCard Pro Childcc
Theme URI: https://ThemeHorse.com
Description: Child theme for NewsCard Pro.
Author: sjoerd at boxer.gs
Author URI: http://k1600gt.nl/
Template: newscard-pro
Version: 5.3.2
Text Domain: newscard-pro-child
*/

/*
 * border around media
 */
.wpgpxmaps,
.rl-gallery-link img,
.wp-caption img {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 2px;
}

/*
 * vertical dash before category title
 * eg "Blog" will show as "|Blog" to follow newscard 
 */
h1.page-title {
	border-left: 4px solid;
	font-size: 20px;
	padding-left: 10px;
	/* border-left-color: #2e5f97;
	 *
	 * uncomment to set a fixed color; otherwise the color will be
	 * controlled by the newscard-pro customizer and picked up by
	 * -child/inc/custom-style.php
	 */
}



/* *************************************************************************************
 * shadows
 */ 

/* drop shadow on title */

.site-title,
.site-description {
	text-shadow: 0 0 2px #222;
}


/* menu */
.info-bar,
.navbar-main,
.navbar-head {
    border-bottom: 1px solid #000;
}
@media (min-width: 992px) {
	.main-navigation a {
		/* text-shadow: 0 0 2px #222; */
	}
	
	#site-navigation.main-navigation  li,
	#site-navigation.main-navigation > ul > .nav-menu {
    	/* background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.15) 100%); */
    	border-right: 1px solid #023266;
    	border-left: 1px solid #4878AC;
	}
	#site-navigation.main-navigation {
    	border-left: 1px solid #023266;
    	border-right: 1px solid #4878AC;
	}
}

/* inset (mainly form elements) */

form#commentform p input[type=text],
textarea#comment {
	border: 1px solid #ddd;
	/* box-shadow: 0 0 3px #888 inset; */
}

/* outset shadows (mainly blocks) */

nav.navigation.post-navigation div.nav-links,
.comments-area,
.post,
.post-boxed,
.post-boxed.inlined,
.post-item.post-block, /* also for slider bs */
.sticky-sidebar .widget.rl-gallery-widget,
.sticky-sidebar .widget.widget_tag_cloud {
	border: 1px solid #ddd;
	/* box-shadow: 0 0 2px #333; */
}

/* *************************************************************************************
 * remove border around widget images
 * - how: by removing 15px margin which is fixed on every media resolution appearently
 *        - 2x 15px makes image 30px width and height larger
 * - issue: creates annoying bottom whitespace when title is to long
 *          when two items are next to eachother (long title pushed box down)
 * 
 */

.post-boxed.inlined {
    padding: 0;
}
.post-boxed.inlined .post-content {
	padding: 10px 0 0 5px;
}

.post-boxed.inlined .post-img-wrap {
	margin: 0 5px 0 0;	/* was 10px */
	height: 100px;		/* was 80px */
	width: 100px;
}

.post-boxed.inlined .entry-title {
	font-size: 16px;	/* was 19px */
	margin-right: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.post-boxed .entry-title { /* , .post-boxed.main-post.inlined .entry-title  */
    margin-bottom: 0;
	/* line-height: 1.0; */
}

/* *************************************************************************************
 * widgets squared thumbnails
 */


@media (min-width: 1400px) {
	/* big screen - was 90 */
	.post-boxed.inlined .post-img-wrap {
		height: 120px;
		width: 120px;
	}
	.post-boxed.inlined .entry-title {
		font-size: 16px;	/* was 19px */
	}

}
@media (min-width: 1600px) {
	/* big screen - was 100 */
	.post-boxed.inlined .post-img-wrap {
		height: 130px;
		width: 130px;
	}
	.post-boxed.inlined .entry-title {
		font-size: 19px;	/* was 19px */
	}
}

@media (min-width: 1800px) {
	/* big screen - was 105 */
	.post-boxed.inlined .post-img-wrap {
    	height: 135px;
    	width: 135px;
	}
	.post-boxed.inlined .entry-title {
		font-size: 19px;	/* was 19px */
	}
}

/*
 * Tables https://www.themehorse.com/support-forum/topic/tables-not-themed/
 */

.wp-block-table { width: 100%;}
.wp-block-table tr th {
	padding: 5px 10px;
	border-style: solid;
	border-width: 0 1px 1px 0;
	color: white;
	text-align: center;
	
	border-color: rgba(0, 0, 0, 0.3);
	/* in custom-style.php
	background-color: yellow; */
}


/*
 * blockquotes
 */

blockquote {
	font-size: 19px;
	position: relative;
	padding-left: 35px;
	margin-bottom: 15px;
	color: #333333;
	font-weight: 700;
}
blockquote.quote-right {
	font-style: italic;
	line-height: 1.3;
	width: max-content;
	max-width: 50%;
	float: right;
	margin-bottom: 0px;
	margin-top: 30px;
	font-size: 20px;
	padding-right: 35px;
}
blockquote,
blockquote.quote-left {
	font-style: italic;
	line-height: 1.3;
	width: max-content;
	max-width: 50%;
	float: left;
	margin-bottom: 0px;
	margin-top: 30px;
	font-size: 20px;
	padding-right: 35px;
		
}
blockquote::before,
blockquote.quote-left::before,
blockquote.quote-right::before {
	top: -38px !important;
	left: 35px !important;
	font-size: 36px;
}