/*
Theme Name:     Nick Matthews
Theme URI:      
Description:    Canape child theme.
Author:         Andy Macaulay-Brook
Author URI:     
Template:       canape
Version:        0.1.0
*/

.site-logo {
	height: 95px;
width: 300px;
}

.site-header {
background-color: #4F4F4F;
}

.main-navigation a,
.main-navigation ul ul a {
font-family: 'Montserrat', Arial, sans-serif;
}

h1, h2, h3 {

font-family: 'Montserrat', Arial, sans-serif;

font-size: 1.8rem;
letter-spacing: 1px;
line-height: 1.5556;
margin: 3.1113em 0 1.556em;
text-transform: uppercase;

}

.entry-content, .entry-summary, .page-content, .comment-content, .textwidget, .hentry {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
word-wrap: normal;
}

/* -webkit-hyphens: none; */
/* -moz-hyphens: auto; */
/* -ms-hyphens: auto; */
/* word-wrap: break-word; */



@media screen and (min-width: 768px) {
	/*
	.front-featured-menu-items .grid-row .item:nth-child(1):nth-last-child(3),
	.front-featured-menu-items .grid-row .item:nth-child(2):nth-last-child(2),
	.front-featured-menu-items .grid-row .item:nth-child(3):nth-last-child(1),
	.front-featured-menu-items .grid-row .item:nth-child(1):nth-last-child(3),
	.front-featured-menu-items .grid-row .item:nth-child(2):nth-last-child(2),
	.front-featured-menu-items .grid-row .item:nth-child(3):nth-last-child(1) {
		margin-right: 2%;
		width: 32%;
	}
	*/
	/*
	.front-widget-area .widget-area:nth-child(1):nth-last-child(3),
	.front-widget-area .widget-area:nth-child(2):nth-last-child(2),
	.front-widget-area .widget-area:nth-child(3):nth-last-child(1),
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(3),
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(2),
	.footer-widget-area .widget-area:nth-child(3):nth-last-child(1) {
		margin-right: 2%;
		width: 32%;
	}
	*/
	body:not(.home) .front-featured-menu-items .grid-row .item {
		margin-right: 2%;
		width: 32%;
	}
	/*
	.front-featured-menu-items .grid-row .item:nth-child(1):nth-last-child(3):last-of-type,
	.front-featured-menu-items .grid-row .item:nth-child(2):nth-last-child(2):last-of-type,
	.front-featured-menu-items .grid-row .item:nth-child(3):nth-last-child(1):last-of-type,
	.front-featured-menu-items .grid-row .item:nth-child(1):nth-last-child(3):last-of-type,
	.front-featured-menu-items .grid-row .item:nth-child(2):nth-last-child(2):last-of-type {
		margin-right: 0;
	}
	*/
	body:not(.home) .front-featured-menu-items .grid-row .item:nth-child(3) {
		margin-right: 0;
	}
}

@media screen and (min-width: 1136px) {
	
	body:not(.home) .front-featured-menu-items .grid-row .item {
		max-width: 345px;
	}
	
	body:not(.home) .front-featured-menu-items .grid-row {
		width: 1140px;
		margin-left: 50%;
		position: relative;
		left: -570px;
	}
}





@media screen and (min-width:1024px) {
	.archive.post-type-archive-jetpack-portfolio .site-content {
		margin: 0 auto;
		padding: 5.25em 0 0;
		width: 1180px;
	}
}

@media screen and (min-width: 768px) {
	.archive.post-type-archive-jetpack-portfolio .hentry {
		margin: 0 3% 3.5em 0;
		max-width: 47%;
		text-align: left;
		width: 765px;
		display: inline-block;
		vertical-align: top;
	}
	.archive.post-type-archive-jetpack-portfolio .hentry .entry-title {
		margin-top: 0.5em;
	}
	.archive.post-type-archive-jetpack-portfolio .hentry .post-thumbnail + .entry-header {
		margin-top: 0.5em;
	}
}

.front-featured-menu-items .item .overlay-inner .description {
	display: block;
} /* visible at all widths */