/*
Theme Name: Chelmsford Cab
Theme URI: https://www.citizensadvice.org.uk
Author: 
Author URI: https://www.citizensadvice.org.uk
Description: Based on a starter WordPress theme created by Citizens Advice Peter Hunt, for local Citizens Advice Bureaux. This theme has a responsive layout, a custom home page template, custom menu and a custom 404 along with other minor branding throughout the login and admin pages.
Version: 1.0
Text Domain:
*/

@import url("css/main.css");
@import url("css/wp-main.css");
@import url("css/cl-main.css");

/**
 * Some bits missing from the supplied css
 */

.alignleft {
	float: left;
	margin-right: 18px;
}

/*** test category post listing ***/

.featured-image-thumbnail {
	width: 200px;
	margin: 0 14px 14px 0;
	float: left;
}
.featured-image-thumbnail img {
	width: 200px;
	height: auto;
	object-fit: contain;
}



@media screen and ( max-width: 480px ){
    .featured-image-thumbnail {
        width: 100%;
    }
}

/***
.wp-post-image {
    margin: 0
}

.archive-separator {
    border-bottom: 1px solid #aca;
    margin-bottom: 14px;
    clear: both;
}
************/

.hentry {
	border-top: 8px solid #b79e45;
	padding: 2em;
}
.featured-image-single {
	margin-bottom: 20px;
}
.featured-image-single img {
	object-fit: cover;
	max-height: 300px;
	float: left;
	/* width: 100%; */
}

.archive-the-title h3 {
	margin: 0 0 0.625em;
	float: left;
}
.archive-right {
	width: 68%;
	float: right;
}
@media screen and ( max-width: 480px ){
	.archive-right {
		width: 98%;
		float: none;
	}
}
.nav-previous a, .nav-next a {
	padding: 8px 18px;
	color: #000;
	background: #b79e45;
	text-decoration: none;
	border: 1px solid #5e4b21;
}

/* used with categories-images plugin and custom categories.php file */
.category-img {
	width: 25%;
}

.cab-cat-post-sidebar {
	margin-top: 0;
	width: 25%;
}
.cab-cat-post-sidebar .category-img {
	width: 100%;
}
.cab-cat-post-sidebar .category-img img {
	width: 100%;
}
@media screen and ( max-width: 480px ) {
	.cab-cat-post-sidebar {
		display: none;
	}
}

.cab-search-sidebar {
	margin-top: 0;
	width: 25%;
}
.cab-search-sidebar .category-img {
	width: 100%;
}
.cab-search-sidebar .category-img img {
	width: 100%;
}
@media screen and ( max-width: 480px ) {
	.cab-search-sidebar {
		display: none;
	}
}

.read-more-link {
	/* float: left; */
	font-size: 14px;
	background: linear-gradient(224deg, #b58922, transparent);
	Xwidth: 126px;
	float: right;
	text-align: right;
	color: #fff;
	margin-top: 12px;
	padding: 0 14px 0 0;
	clear: both;
	border-top: 2px solid #000;
}
.read-more-link a {
	padding: 0 0 0 76px;
}
.cab-cat-post h2 {
	border-top: 6px solid #e8c691;
	border-bottom: 6px solid #e8c691;
}

.nav-previous {
	float: left;
}
.nav-next {
	float: right;
}
.nav-previous a, .nav-next a {
	font-size: 14px;
	padding: 3px 18px;
	color: #000;
	background: linear-gradient(224deg, #b58922, transparent);
	text-decoration: none;
	border: unset;
	border-top: 3px solid #000;
}
.back-to-cat-wrapper {
	border-top: 3px solid #000;
	float: right;
	background: linear-gradient(224deg, #b58922, transparent);
	padding: 1px 14px;
	font-size: 14px;
}
.back-to-cat a {

}

.main-content-cab-post {
    max-width: 1366px;
    margin: auto;
    clear: left;
    padding: 0 1em;
    margin-top: 4em;
    margin-bottom: 1.5em;
}
