/*
Theme Name: Low Carbon Oxford North
Template: misty-lake
Author: Kitson Consulting
Author URI: https://kitson-consulting.co.uk/
*/

/*
LCON pallete
dark green #74916a
light green #a2ce94
grey #3d3d3d
dark blue #758bb7
light blue #91a5d3
*/

/**
 * These fonts are used on the CZC template
 */

@font-face {
    font-family: 'Sansation regular';
    src: url('fonts/sansation/sansation_regular_macroman/Sansation-Regular-webfont.woff') format('woff'),
         url('fonts/sansation/sansation_regular_macroman/Sansation-Regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sansation bold';
    src: url('fonts/sansation/sansation_bold_macroman/Sansation-Bold-webfont.woff') format('woff'),
         url('fonts/sansation/sansation_bold_macroman/Sansation-Bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	border-top-color: #74916a;
}

h1, h2, h3, h4, h5, h6,
.site-title, .entry-title, .page-title, .widget-title, #reply-title, .comments-title, .comment-meta, .comment-author, .comment-reply-link, .format-link .entry-content a, .format-quote .entry-content p, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .entry-content blockquote, .comment-content blockquote
{
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #3d3d3d;
}

.entry-content,
.entry-summary
 {
	font-size: 1.6rem;
}

.entry-title {
	font-size: 2.8rem;
}



a, a:hover, a:visited, a:active, a:focus, .single .entry-content a, .single .entry-content a:hover, .single .entry-content a:visited, .single .entry-content a:active, .single .entry-content a:focus, .page .entry-content a, .page .entry-content a:hover, .page .entry-content a:visited, .page .entry-content a:active, .page .entry-content a:focus {
	color: #74916a;
	font-weight:bold
}


/**
 * Logo
 */

.site-title a {
	color: transparent;
	background-image: url( "img/lcon-logo.png" );
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	width: 240px;
	height: 90px;
}


/**
 * Nav bar
 */
.navbar {
	min-height: 120px;
}

.main-navigation ul li a {
	font-size: 1.4rem;
}

#page .main-navigation ul li.current_page_item a,
#page .main-navigation ul li.current-menu-item a,
#page .main-navigation ul li.current_page_parent a,
#page .main-navigation ul li.current_page_ancestor a
{
	background: #fff;
}

.main-navigation ul ul
{
	top: 3.2em;
}

/**
 * Sidebar
 */
.widget-area, .entry-meta, .format-quote .entry-title, .format-quote .entry-title a, .format-aside .entry-title, .format-aside .entry-title a
{
	opacity: unset;
}

.ctf-context, .ctf-tweet-content, .ctf-tweet-actions, .ctf-header-bio
{
    padding: 5% !important;
    margin: 5% !important;
}

/**
 * Custom page template for 'Communities for Zero Carbon' pages
 */


.page-template-page-communities-for-zero-carbon {
    background-color: #f9f9f9;
	border-top: 5px solid #137D78;
}

.page-template-page-communities-for-zero-carbon .site-title a {
	background-image: none;
	/* background-color: #fff; */
	width: 100%;
	height: 100%;
	font-size: 80%;
	text-align: center;
	padding: 0;
	margin-bottom: 2%;
	/* border: 0.05em solid #137D78; */
	font-family: 'Sansation bold', sans-serif;
	font-weight: bold;
}

.page-template-page-communities-for-zero-carbon .site-title a span {
	font-weight: normal;
	font-family: 'Sansation regular', sans-serif;
}

/*
.page-template-page-communities-for-zero-carbon .site-main {
    border: 0.05em solid #137D78;
}

#menu-czc-menu .menu-item a {
    border: 0.05em solid #137D78;
}
*/



.page-template-page-communities-for-zero-carbon .main-navigation ul li a {
    background-color: #efefef;
}


.page-template-page-communities-for-zero-carbon a,
.page-template-page-communities-for-zero-carbon .entry-content a,
.page-template-page-communities-for-zero-carbon .page .entry-content a {
    color: #137D78;
}

/* h1, h2, h3, h4, h5, h6, .site-title, .entry-title, .page-title, .widget-title, #reply-title, .comments-title,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 */
.page-template-page-communities-for-zero-carbon h1,
.page-template-page-communities-for-zero-carbon h2,
.page-template-page-communities-for-zero-carbon h3,
.page-template-page-communities-for-zero-carbon h4,
.page-template-page-communities-for-zero-carbon h5,
.page-template-page-communities-for-zero-carbon h6
{
	/* font-weight: normal; */
	font-family: 'Sansation bold', sans-serif;
}


/**
 * Survey results
 */


.page-template-page-communities-for-zero-carbon .Conservative
{
	background-color: #add8e6;
}

.page-template-page-communities-for-zero-carbon .Green
{
	background-color: #98fb98;
}

.page-template-page-communities-for-zero-carbon .Labour
{
	background-color: #f08080;
}

.page-template-page-communities-for-zero-carbon .LiberalDemocrat
{
	background-color: #ffffe0;
}

.page-template-page-communities-for-zero-carbon .Independent,
.page-template-page-communities-for-zero-carbon .Other
{
	background-color: #d3d3d3;
}


.page-template-page-communities-for-zero-carbon .wp-block-pb-accordion-item
{
	margin-top: 6rem;
	/* margin-bottom: 3rem; */
}

.page-template-page-communities-for-zero-carbon .wp-block-pb-accordion-item h4
{
	margin-top: 5rem;
	padding: 0 0 0 0.8rem;
}

/* Fix URLs breaking out of page */
.page-template-page-communities-for-zero-carbon .c-accordion__content
{
	/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;

	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}



/**
 * Breadcrumbs
 */
nav.page-title {
	padding: 5px 0;
}

.breadcrumbs {
	padding-top: 0;
}

nav.page-title .column:first-of-type {
	display:none;
}

.breadcrumbs {
	text-align: left;
}

/* Remove whitespace above page headers */
.padding-top-2x {
	padding-top: 0 !important;
}

/**
 * Post grid
 */
.rt-tpg-container .rt-equal-height,
.rt-tpg-container .layout1 .rt-holder {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Twitter feed widget */
#custom_html-7.widget {
	padding: 0;
	border: 1px solid #f3f3eb;
}

/* Social Media Icons */
.wp-block-social-links li
{
	color: #a2ce94;
}

/**
 * Read More buttons and buttons generated by MaxButtons plugin
 */


 #secondary .mb-container {
	 margin-bottom: 15px;
 }

.maxbutton,
.maxbutton .mb-text,
.rt-tpg-container .layout1 .rt-holder .rt-detail .read-more a {
	color: #3d3d3d !important;
	font-weight: normal;
}

.maxbutton,
.rt-tpg-container .layout1 .rt-holder .rt-detail .read-more a {
	border-color:  !important;
	border: 1px  #74916a solid !important;
	border-radius: 4px !important;
	box-shadow: none !important;

	background: #a2ce94 !important;
}

.maxbutton:hover,
.rt-tpg-container .layout1 .rt-holder .rt-detail .read-more a:hover {
	background: #74916a !important;
	color: #ffffff !important;

}

.maxbutton:hover .mb-text {
	color: #ffffff !important;
}


.maxbutton .mb-text {
	padding-top: 1.6rem !important;
}
