/*
Theme Name: Gijs Jansen theme
Theme URI: https://www.gijsjansen.nl
Author: Goes & Roos
Author URI: https://www.goesenroos.nl
Description: Goes & Roos starter theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gijs-jansen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


/* Colors */
:root {
    --base: #161e2f; /* Blauw */
    --primary: #ca9a62; /* Goud */
    --secondary: #8d6944; /* Goud donker */
    --tertiary: #f49b40; /* Oranje */
    --quaternary: #fff; /* Wit */
    --quinary: #f4eeea; /* Beige */
}

body {
    background-color: var(--base);
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: var(--quaternary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6  {
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    color: var(--quaternary);
    font-weight: 200;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong  {
    color: var(--tertiary);
    text-transform: uppercase;
    font-weight: 300;
}

h2 {
    margin-bottom: 2rem;
    font-size: 2.75rem;
}

h2 strong {
    font-size: 2.2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 400;
}

a {
    color: var(--quaternary);
    text-decoration: none;
    text-decoration-thickness: 1px;
}

a:hover,
a:focus {
    color: var(--primary);
}

::-moz-selection {
    background: var(--primary);
    color: var(--quaternary);
}

::selection {
    background: var(--primary);
    color: var(--quaternary);
}

.container {
    max-width: 1520px;
}

p,
li {
    line-height: 1.8;
}

/* Default */
.wp-block-group {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.wp-block-group .wp-block-group__inner-container {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.wp-block-group .wp-block-columns {
    margin-bottom: 0;
}

.wp-block-image,
.wp-block-video {
    position: relative;
}

.wp-block-image img,
.wp-block-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-image-top img {
    object-position: top;
}

.wp-block-image-bottom img {
    object-position: bottom;
}

.wp-block-group-background {
    background-color: var(--quinary);
}

/* Buttons */
.page-slider .page-slider-text p:last-of-type a,
.wp-block-columns .wp-block-column p:last-of-type a,
.wp-block-group .wp-block-group__inner-container > p:last-of-type:not(:first-of-type) a,
.wp-block-post .wp-block-post-excerpt__more-text a,
.wp-block-group.wp-block-group-objects p:last-of-type a,
.blog .posts .post .post-item .post-more a,
.announcement a.btn,
.properties .object.object-banner .object-banner-info .object-banner-button a,
.facetwp-template .fwpl-layout .fwpl-result a.fwpl-btn {
    margin-top: 1rem;
    padding: .75rem 2rem;
    background: linear-gradient(to right, var(--secondary) 0%,var(--primary) 100%);
    border: 1px solid var(--primary);
    font-size: .9rem;
    color: var(--quaternary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none!important;
    display: inline-block;
}

.page-slider .page-slider-text p:last-of-type a:hover,
.wp-block-columns .wp-block-column p:last-of-type a:hover,
.wp-block-group .wp-block-group__inner-container > p:last-of-type:not(:first-of-type) a:hover,
.wp-block-post .wp-block-post-excerpt__more-text a:hover,
.wp-block-group.wp-block-group-objects p:last-of-type a:hover,
.blog .posts .post .post-item .post-more a:hover,
.announcement a.btn:hover,
.properties .object.object-banner .object-banner-info .object-banner-button a:hover,
.facetwp-template .fwpl-layout .fwpl-result a.fwpl-btn:hover {
    background: linear-gradient(to right, var(--primary) 0%,var(--primary) 100%);
}














/* Content / image */
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(1),
.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(2) {
    position: relative;
}

.wp-block-group.wp-block-group-image-content .wp-block-image,
.wp-block-group.wp-block-group-content-image .wp-block-image {
	width: 50%;
	height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 0;
}

.wp-block-group.wp-block-group-content-image .wp-block-image:after {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right,  rgba(22,30,47,1) 0%,rgba(22,30,47,0) 100%);
    content: '';
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) {
    padding-right: 15rem;
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) h2,
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(2) h2 {
    margin-bottom: 1rem;
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p:nth-of-type(1),
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(2) p:nth-of-type(1) {
    position: relative;
    text-align: center;
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p:nth-of-type(1):before,
.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p:nth-of-type(1):after {
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background-color: var(--quaternary);
    content: '';
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p:nth-of-type(1):after {
    background: linear-gradient(to right, rgba(22,30,47,1) 0%,rgba(22,30,47,0) 25%,rgba(22,30,47,0) 50%,rgba(22,30,47,0) 75%,rgba(22,30,47,1) 100%);
}


.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p:nth-of-type(1) strong,
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(2) p:nth-of-type(1) strong {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--base);
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) h2,
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(2) h2 {
    font-size: 2.5rem;
    letter-spacing: 1.2px;
}

.wp-block-group.wp-block-group-content-image .wp-block-columns .wp-block-column:nth-of-type(1) p a,
.wp-block-group.wp-block-group-image-content .wp-block-columns .wp-block-column:nth-of-type(2) p a {
    text-decoration: underline;
}

@media (max-width: 767.98px) {

}

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

}

/* Objects */
.wp-block-group.wp-block-group-objects {
    margin-top: 2.5rem;
}

.wp-block-group.wp-block-group-objects:before,
.wp-block-group.wp-block-group-objects:after {
    width: 100%;
    max-width: 1520px;
    height: 2px;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    background: linear-gradient(to right, rgba(202,154,98,0) 0%,rgba(202,154,98,1) 25%,rgba(202,154,98,1) 50%,rgba(202,154,98,1) 75%,rgba(202,154,98,0) 100%);
    content: '';
}

.wp-block-group.wp-block-group-objects:before {
    top: -5px;
}

.wp-block-group.wp-block-group-objects:after {
    bottom: -5px;
}

.wp-block-group.wp-block-group-objects .wp-block-group__inner-container h2 {
    color: var(--base);
    text-align: center;
    text-transform: uppercase;
}

.wp-block-group.wp-block-group-objects .wp-block-group__inner-container p {
    text-align: center;
}


.wp-block-group.wp-block-group-objects .wp-block-group__inner-container p:last-of-type {
    margin-top: 1rem;
}


/* Properties special */
.properties-special .object {
    background-color: var(--base);
}

.properties-special .object .object-image img {
    width: 100%;
    height: 220px;
}

.properties-special .object .object-info {
    padding: 0 2rem .75rem 2rem;
}




/* Announcement */
.announcement {
    max-width: 300px;
    bottom: 0;
    left: 1rem;
    z-index: 9999;
}

.announcement .collapse {
    max-width: 300px;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}

.announcement .well {
    background-color: #fff!important;
    box-shadow: none;
}

.announcement .announcement-image img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
}

.announcement h4 {
    line-height: 1.2;
    font-size: 1.3rem;
}

.announcement a.btn {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.announcement .btn-announcement-close {
    width: 30px;
    height: 30px;
    background-color: #3a404a;
    position: absolute;
    top: -15px;
    right: -15px;
}

.announcement .btn-announcement-close:before,
.announcement .btn-announcement-close:after {
    width: 13px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #fff;
    content: '';
}

.announcement .btn-announcement-close:before {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.announcement .btn-announcement-close:after {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 767.98px) {
    .announcement {
        max-width: 160px;
        bottom: 0;
        left: 0;
		font-size: 13px;
    }

    .announcement h4 {
        font-size: 1rem;
    }

    .announcement .announcement-image img {
        max-height: 70px;
    }
	
	.announcement a.btn {
		padding: .75rem 0.25rem;
		border-radius: .25rem;
		font-size: .7rem;
		color: #fff;
	}
	
	.announcement-info.p-3 {
		padding: 0.5rem !important;
	}
	
	.announcement-info p {
		line-height:1.2 !important;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .announcement {
        max-width: 310px;
        bottom: 0;
        left: 0;
    }

    .announcement .announcement-image img {
        max-height: 150px;
    }
}


/* TEMP */
.navbar,
.footer-copyright {
    display: none;
}