/*
Theme Name: PJP Homes
Description: Custom Theme for PJP Homes
Author: Blue Ginger
Author URI: http://www.bluginger.co.uk
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100..900&display=swap');

/*font-family: "Inter Tight", serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
Regular 400, SemiBold 600*/

body{
	font-family: "Inter Tight", serif;
	font-weight: 400;
	font-size:20px;
	color:#959699;
	line-height:30px;
}
strong, b{
	font-weight: 600;
}
h1, h2, h3, h4{
	font-weight: 600;
}
h1, h2, h3, h4{
	font-size:24px;
	margin-bottom:30px;
}
a{
	color:#959699;
	font-weight:600;
	text-decoration: none;
}
input, textarea{
	width:100%;
	padding:10px;
	border-radius:5px;
	border:1px solid #bbb;
}
input[type=submit]{
	width:auto;
	background:#f4edcd;
	color:#fff;
	font-weight:600;
	border:none;
	padding-left:30px;
	padding-right:30px;
}
.pjp-btn{
	background:#f4edcd;
	color:#959699;
	font-weight:600;
	border:none;
	padding:10px 36px;
}
.pjp-btn:hover{
	background:#f4edcd;
	color:#fff;
}
.btn-right {
	float:right;
}

/* header and container */
@media only screen and (min-width:1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1270px;
    }
    .navbar-expand-xl {
        flex-wrap: wrap;
    }
}

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm{
	padding-right:15px;
	padding-left:15px;
}

/* Header */
#header{
	border-top:7px solid #f4edcd;
	padding:40px 0 7px;
}
.logo{
	display: inline;
}
.header-contact{
	text-align:right;
	width:100%;
	font-size:16px;
	position:absolute;
	top:0;
}

/* Menu */
.menu-bar{
	position:relative;
	padding-bottom:33px;
}
.navbar{
	padding:0;
	position: absolute;
    right: 0;
    bottom: 0;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-link{
	font-weight:600;
	font-size:18px;
	padding:5px 18px;
	color:#959699;
	text-transform: uppercase;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item:last-child a{
	padding-right:0;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item{
	position:relative;
	margin:0;
	padding:36px 0 29px;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-link:hover, .main-menu .navbar-expand-xl .navbar-nav .nav-link:active, .main-menu .navbar-expand-xl .navbar-nav .nav-link:focus, .main-menu .navbar-expand-xl .navbar-nav .nav-item.current-menu-item .nav-link{
	color:#000;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul{
	display:none;
	list-style:none;
	margin:0;
	padding:20px 15px 10px;
	position:absolute;
	top:95px;
	right:5px;
	background-color:rgba(244, 237, 205, 1);
	background-image:url(images/menu-arrow.png);
	background-repeat:no-repeat;
	background-position:top right;
	z-index:10;
	border-bottom-left-radius:15px;
	border-bottom-right-radius:15px;
	min-width:250px;
	text-align:right;
}
.main-menu .navbar-expand-xl .navbar-nav li:hover > ul{
	display:block;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul > li{
	padding:0;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul > li > a{
	padding:0 !important;
	color:#b6b7b7;
	font-weight:400;
	font-size:16px;
}

/* Main */
.page-wrap{
	box-shadow:inset 0 20px 40px rgba(0,0,0,0.2);
	padding-bottom:80px;
	padding-top:80px;
}
.page-wrap img{
	border-radius:10px;
}

/* Projects */
.project-featured-img img{
	width:100%;
	height:620px;
	object-fit:cover;
}
.project-desc{
	margin-top:40px;
}
.project-details{
	width:100%;
	float:left;
	margin-bottom:30px;
}
.project-details > div{
	float:left;
	margin-right:45px;
}
.project-details > div img{
	margin-right:10px;
}
.project-links a{
	float:left;
	width:100%;
	text-align:right;
	padding-right:20px;
	background-image:url(images/icon-download.png);
	background-repeat:no-repeat;
	background-position:right center;
	cursor: pointer !important;
}
.project-links a:hover{
	text-decoration: underline;
}
.project-map iframe{
	border-radius:10px;
	width:100%;
	height:400px;
}
.projects-grid{
	width:100%;
	display:inline-block;
}
.project-block{
	width:33%;
	padding:2px;
	display:inline-block;
	position:relative;
}
.project-block img{
	width:100%;
	height:308px;
	object-fit:cover;
}
.block-overlay{
	position:absolute;
	width:100%;
	height:308px;
	top:0;
	left:0;
	background:#2d2d2d;
	border-radius:10px;
	color:#fff;
	text-align: center;
	vertical-align: middle;
	line-height: 308px;
	opacity:0.85;
	transition: 0.3s;
}
.block-overlay:hover {
    opacity: 0;
    transition: 0.3s;
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 0.25em;
}
figure {
    margin: 0 0 0.25rem;
}

/* Footer */
#contact-footer{
	padding:75px 0;
	box-shadow:inset 0 20px 40px rgba(0,0,0,0.2);
}
span.footer-contact-section{
	margin-top:30px;
	color:#959699;
	font-weight:600;
	margin-right:35px;
}
span.footer-contact-section img{
	margin-right:15px;
}
#footer{
	background:#f4edcd;
	padding:55px 0;
	font-size:16px;
	line-height:22px;
}
#footer a{
	color:#959699;
	font-weight:400;
}
#footer p, #footer ul{
	margin:0;
}
#footer ul{
	list-style:none;
	padding:0;
}
#footer .container{
	position:relative;
}
.credits{
	position:absolute;
	right:0;
	bottom:0;
	text-align:right;
	font-size:12px;
}

/* Gallery */
.ngg-galleryoverview{
	margin-top:3px !important;
}
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box{
	width:33%;
}
/*.ngg-gallery-thumbnail-box:nth-child(3n){
	clear:rigth;
}*/

/* SLIDER */
.flexslider{
	box-shadow:none;
	border:none;
	border-radius:0;
	background:none;
}
.slider-content{
	position:absolute;
	bottom:40px;
	right:40px;
}
.slider-content a{
	font-size:16px;
	font-weight:400;
	background-image:url(images/arrowlink.png);
	background-repeat:no-repeat;
	background-position:center right;
	padding-right:50px;
}

/* Shortcodes */
a.arrow-link{
	background-image:url(images/arrowlink.png);
	background-repeat:no-repeat;
	background-position:center right;
	padding-right:50px;
}

/* VC */
.home-quick-link .wpb_wrapper{
	position:relative;
}
.home-quick-link .wpb_text_column{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:#2d2d2d;
	border-radius:10px;
	color:#fff;
	text-align: center;
	vertical-align: middle;
	line-height: 308px;
	opacity:0.85;
	transition: 0.3s;
	z-index:10;
}
.home-quick-link .wpb_text_column:hover {
    opacity: 0;
    transition: 0.3s;
}
.home-quick-link .wpb_text_column a{
	color:#fff;
	width:100%;
	display:inline-block;
}
.quicklink-wrap{
	width:32.7%;
	margin:2px;
	display:inline-block;
	position:relative;
}
.quicklink-block img{
	width:100%;
	height:308px;
	object-fit:cover;
}
.block-overlay span{
	border-bottom:2px solid #f4edcd;
	padding-bottom:5px;
}

/* Images */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right:7px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #ebebeb;
	line-height: 18px;
	margin-bottom: 3px;
	max-width: 630px !important;
	padding: 3px 13px 4px 3px;
	text-align: center;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.wp-caption img {
	margin: 5px;
}
.wp-caption p.wp-caption-text {
	color: #555;
	font-size: .875em;
	margin: 0;
	
}
.wp-smiley {
	margin: 0;
}

.bypostauthor{
}
.feedback{
	text-align:right;
	padding:0 20px 10px 0;
	clear:both;
}

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}
.top-footer .gallery-item{
	float: none;
	display: inline-block;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail,
.gallery-columns-4.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item {
	text-align: center;
}



.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery img {
	border: 10px solid transparent;
	max-width: 100%;
height: auto;
}

#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Comments */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
}
.reply a:hover,
a.comment-edit-link:hover {
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	font-weight: bold;
}
#respond label {
	font-size: 12px;
	width:7%;
}
#respond input {
	margin: 20px 5px;
}
#respond textarea {
	width: 99%;
}
#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
#advert{
	width:640px;
	margin-left:-40px;
}
#advert ul{
	list-style:none;
}
/* =Widget Areas
-------------------------------------------------------------- */

.textwidget{
width:100%;
}
.widget-area ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
.widget-area ul ul {
	margin: 0;
	padding-left:10px;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 100%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0;
	padding:0;
	list-style:none;
}
.widget-container ul{
margin:0;
padding:0;
}
.widget-container ul li{
list-style:none;
}
.widget-container a,
.widget-container a:link,
.widget-container a:visited {
	text-decoration: none;
}
.widget-container a:active,
.widget-container a:hover {
	text-decoration: none;
}
.widget-area a,
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #999;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
	text-shadow:none;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
}
#wp-calendar tbody td {
	border: 1px solid #333;
	padding: 3px 0 2px;
	text-align: center;
	font-size:12px;
}

#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #CC0000;
}
.widget_rss a.rsswidget:hover {
	color: #FF0000;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* RESPONSIVE */
img{
	max-width:100%;
	height:auto;
}
.navbar-toggler{
	margin-bottom:10px;
	border:1px solid #ddd;
	margin:0 0 30px 0;
}
.hamburger{
	width:100%;
	text-align:right;
}

.navbar-toggler:focus{
	box-shadow:none;
}

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

}

@media only screen and (max-width:1200px) {
	.navbar{
		position:absolute;
		right:0;
		z-index: 1;
    width: 100%;
	}
	.navbar-collapse{
		background:#fff;
		padding:0 15px 15px;
		position: absolute;
        width: 100%;
        top: 50px;
	}
	.navbar-nav .join-btn{
		margin-bottom:20px;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item{
		padding:2px 0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-link{
		text-align:right;
		padding-left:0;
		padding-right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item.header-btn .nav-link{
		background:none;
		padding-left:0;
		padding-right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul{
		display:block;
		padding: 10px 20px;
    position: relative;
    top: 0;
    left: 0;
    background: none;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item.header-btn > ul{
		right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul > li > a{
		font-size:18px;
	}
}

@media only screen and (max-width:992px) {
	.project-block{
		width:49%;
	}
}

@media only screen and (max-width:768px) {
	.header-contact{
		top:-40px;
	}
	span.footer-contact-section{
		margin-right:0;
		display:inline-block;
		width:100%;
	}
	#footer .col-md-2{
		margin-bottom:20px;
	}
	.credits{
		position: relative;
	    text-align: left;
	    margin-top: 20px;
	}
	.quicklink-wrap{
		width:100%;
	}
}

@media only screen and (max-width:576px) {
	.project-block{
		width:100%;
	}
}

@media only screen and (max-width:365px) {
	span.footer-contact-section{
		font-size:18px;
	}
}