/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
.arctic-portfolio1 .portfolio-entry-header {
	position: relative;
	background: #192930;
}

.arctic-portfolio1 .portfolio-entry-header .portfolio-featured-image {
	opacity: .7;
}

.arctic-portfolio1 .portfolio-entry-header:hover .portfolio-featured-image {
	opacity: .2;
}

.arctic-portfolio1 .portfolio-entry-header .portfolio-entry-title {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	margin: 0;
	padding: 0 1.6em;
	border-width: 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1.43px;
	transform: translate(-50%,-50%);
	z-index: 2;
}


.arctic-portfolio2 .portfolio-entry-header .portfolio-entry-title {
	top: 92% !important;
}


.arctic-portfolio1 .portfolio-entry-header .portfolio-entry-title a {
	color: #fff;
}

.arctic-portfolio1 .portfolio-entry-header .portfolio-entry-title a:hover {
	color: #d7b221;
}

.arctic-testimonial1 .testimonial-featured-image {
	width: 8em;
}

.arctic-testimonial1 .testimonial-featured-image img {
	margin-bottom: -3.5em;
}

.arctic-testimonial1 .testimonial-entry.has-testimonial-thumbnail {
	margin-bottom: 4.5em;
}

blockquote.arctic-testimonial1 {
	border: none;
}

blockquote.arctic-testimonial1::before {
	color: #c73401;
	font-size: 90px;
	line-height: .5em;
	margin-right: .2em;
	content: "\201C";
	float: left;
}

/*--------------*/

/*Custom Button class colours*/
#post-79 .nbiptopbutton.button:focus, #post-79 .nbiptopbutton.button:hover {
	background: #d2b274;
	color: #fff;
}
#post-79 .nbiptopbutton.button {
	background: #fff;
	color: #d2b274;
}
/*Custom Button class colours-Inverted*/
.nbipbuttoninverted.button:focus, .nbipbuttoninverted.button:hover {
background: #fff;
	color: #d2b274;
  border-style: solid;
  border-width: 2px;
}
.nbipbuttoninverted.button {
	
		background: #d2b274;
	color: #fff;
}


@media screen and (min-width: 768px) {
	.nbiptopbutton,.nbipbuttoninverted{
		font-size:1.2em;
		margin-bottom:3px;	
	}
}
@media screen and (max-width: 598px) {
	.nbiptopbutton,.nbipbuttoninverted{
		margin-bottom:3px;	
		//font-size:1em;
	}
}

/*Bottom widget area button*/
.widget-footer-top-area .nbiptopbutton {
	background: #fff;
	color: #d2b274;
}
.widget-footer-top-area .nbiptopbutton:focus, .widget-footer-top-area .nbiptopbutton:hover {
	background: #d2b274;
	color: #fff;
}

/* Portfolio */
article.jetpack-portfolio .entry-author {
	display: none;
}

.navigation.post-navigation {
	display: none;
}

/*
.postid-720 .entry-hero,
.postid-143 .entry-hero,
.postid-157 .entry-hero,
.postid-159 .entry-hero,
.postid-163 .entry-hero,
.postid-165 .entry-hero,
.postid-167 .entry-hero,
.postid-169 .entry-hero,
.postid-171 .entry-hero,
.postid-173 .entry-hero,
.postid-468 .entry-hero,
.postid-1455 .entry-hero,
.postid-2026 .entry-hero {
	display: none;
}
*/

.project-author {
	display: none;
}

@media screen and (min-width: 768px) {
	/* @media Jetpack port. treatment-type */
	.home .jetpack-portfolio-shortcode .type-treatments h2:not(.author-title) a {
		font-size: .6em;
	}
	
	.home .jetpack-portfolio-shortcode .type-treatments h2:not(.author-title) {
		text-align: center;
		margin-top: 0;
	}
	
	/* @media Jetpack port. practitioners-type */
	.home .jetpack-portfolio-shortcode .type-practitioners h2:not(.author-title) {
		text-align: center;
		margin-top: 0;
	}
	
	.home .jetpack-portfolio-shortcode .type-practitioners img {
	/*border-radius: 50%;*/
	}
}

/*end @media  */
@media screen and (min-width: 896px) {
	.page .entry-hero {
		min-height: 50vh;
	}
	
	.page .entry-hero-wrapper {
		padding-bottom: 2em;
		padding-top: 2em;
	}
	
	.single-jetpack-portfolio  .entry-hero {
		min-height: 50vh;
	}
	
	.single-jetpack-portfolio .entry-hero-wrapper {
		padding-bottom: 2em;
		padding-top: 2em;
	}
}

/*end @media  */
/* @media Jetpack port. treatment-type */
.home .jetpack-portfolio-shortcode .type-treatments h2:not(.author-title) a {
	font-size: 1em;
}

.home .jetpack-portfolio-shortcode .type-treatments h2:not(.author-title) {
	text-align: center;
	margin-top: 0;
}

/* @media Jetpack port. practitioners-type */
.home .jetpack-portfolio-shortcode .type-practitioners h2:not(.author-title) {
	text-align: center;
	margin-top: 0;
}

#post-76 .jetpack-portfolio-shortcode .type-practitioners h2:not(.author-title) {
	text-align: center;
	margin-top: 0;
}

.home .jetpack-portfolio-shortcode .type-practitioners img {
/*border-radius: 50%;*/
}

/* Menu */
.main-navigation ul, .main-navigation.toggled-on ul {
	font-size: 1.25rem;
}

.pricing-row {
	border: 1px solid #DDDDDD;
	cursor: pointer;
	overflow: hidden;
	background-position: left center;
	position: relative;
}

.pricing-row-title {
	width: 70%;
	float: left;
	background-color: #FFF;
	margin-left: 5%;
}

.pricing-row-title h5 {
	color: #3e69dc;
}

.pricing-row-pricing {
	width: 25%;
	background: none repeat scroll 0 0 #F1EFF0;
	text-align: right;
	float: right;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
}

.pricing-row-title, .pricing-row-pricing {
	display: inline-block;
	padding: 5px;
	color: #949599;
	font-size: 17px;
	font-weight: bold;
	vertical-align: middle;
	padding: 9px 10px;
}

#menu-pricing {
	font-size: 1.5rem;
}

#menu-pricing .menu-item:hover {
/*background-color: #EE4035;*/
}

#menu-pricing .menu-item a:hover {
/*color: #EE4035; - was red*/
	color: #3e69dc;
	font-size: 1.2em;
}

#menu-pricing .menu-item a:before {
	content: "\003c";
	padding-right: 10px;
	padding-left: 10px;
}

aside#secondary.widget-area #nav_menu-3 h2.widget-title {
	font-weight: 700;
}

.display-posts-listing .listing-item a.title {
	font-size: 2em;
	font-weight: 800;
}

/*Events page  */
.page-template-eventbrite-index article.eventbrite-event .entry-thumbnail img {
	width: 100%;
}

.page-template-eventbrite-index article.eventbrite-event .entry-header {
	display: block;
	min-height: 0;
}

.page-template-eventbrite-index article.eventbrite-event .entry-header .entry-title {
	font-size: 1.5em;
}

.page-template-eventbrite-index article.eventbrite-event .entry-header .entry-meta {
	text-shadow: none;
	color: #666A73;
}

/*END-Events page  */



&.alignwide,
&.alignfull {
	margin: calc( 2 * #{$block-margin} ) calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

@include media(">=medium") {
	&.alignwide {
		margin: calc( 2 * #{$block-margin} ) calc( ( #{$content-width} - #{map-get( $breakpoints, 'medium' ) } ) / 2 );
		max-width: map-get( $breakpoints, 'medium' );
		width: map-get( $breakpoints, 'medium' );
	}
}



/* --- Justify Text Option --- */
.justify-text {
	text-align: justify;
}



article.tag-justify div.entry-content p{
		text-align: justify;

	
}


/* --- Fix portfolio hero image position --- */

.single-jetpack-portfolio .entry-hero {
    background-position: 50% 0%;
    min-height: 50vh;
}


/* --- 

Change front page portfolio display from 2 per row on mobile to one per row, whilst keeping the same way of ordering the images ie multiple shortcodes
 
*/

@media screen and (max-width: 768px) {

.arctic-portfolio1 .portfolio-entry-mobile-first-item-row {

    width: 100%;
    margin-right: 0;
    clear: both;
}

.arctic-portfolio1 .portfolio-entry-mobile-first-item-row {
    width: 100%;
    margin-right: 0;
    clear: both;
}


.arctic-portfolio1 .portfolio-entry-mobile-last-item-row {
    width: 100%;
    margin-right: 0;
    clear: both;
}

} 

/*Fix H1 sizes on mobile */
 
@media screen and (max-width: 598px) {
	#post-81 h1
	{
	
		font-size:1.4rem;
		
	}
	

	
}


/*Hide Title on front page */

#post-7645 .entry-header {
  display: none;
}


/*Blog image size on home page */

.home .wp-block-latest-posts__featured-image img {
  height: 300px;
  width: 300px;
}

