/*
Theme Name: Spacious Child (JWIBC)
Template: spacious
Description: Child theme for Spacious holding the JWIBC site customisations (case studies, header, sidebar, footer and styling) so the parent theme can be updated safely.
Version: 1.0.0
Author: New Leaf
Text Domain: spacious-child
*/

/*
 * The parent stylesheet is loaded first (see functions.php), so the rules
 * below override it. Each block notes the parent rule it replaces.
 */

/* parent: th, td { border: 1px solid #EAEAEA; } */
th, td {
	border: 0;
}

/* parent: h1 { font-size: 30px; line-height: 36px; } */
h1 { font-size: 24px; line-height: 30px; }

/* =HEADER
----------------------------------------------- */
#header-left-section {
	width: 100%;
}
#header-logo-image {
	float: right;
	text-align: right;
}
/* The description is now wrapped in a div with a <p> inside (see header.php) */
#site-description {
	display: inline-block;
}
#site-description p {
	line-height: 24px;
	font-size: 22px;
	padding-bottom: 0;
	color: #666666;
	padding-top: 1em;
}
#site-description img {
	margin-bottom: 0;
}

/* =SLIDER - caption only shows on hover
----------------------------------------------- */
#featured-slider .entry-container {
	display: none;
}
#featured-slider:hover .entry-container {
	display: block;
}

/* =CASE STUDY ARCHIVE COLUMNS (see content.php)
----------------------------------------------- */
.primary {
	float: left;
	width: 61.5763547%;
}
.secondary {
	float: right;
	width: 34.4827586%;
}

/* parent: .entry-content ul, .entry-content ol { margin-bottom: 30px; } */
.entry-content ul,
.entry-content ol {
	margin-bottom: 0;
}

/* =SITE ADDITIONS
----------------------------------------------- */
.case-study {
	padding-bottom: 18px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 1em;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-content ul li {
	padding-bottom: 1em;
}

.table {
	width: 100%;
}
.table-responsive {
	overflow: visible;
}

@media only screen and (max-width: 768px) {
	.table-responsive {
		overflow: scroll;
	}

	.table {
		width: 768px;
	}
}

.wp-caption figcaption.wp-caption-text {
	margin: 0 0 0.8075rem 0;
}

h2.entry-title a {
	color: #3c7721;
	font-size: 25px;
}

.gallery-link {
	padding-bottom: 2em;
	display: block;
}
