/*
 Theme Name:   Silvertheme Child
 Theme URI:    https://www.silverfish.nl/
 Description:  SilverTheme Child Theme
 Author:       Silverfish
 Author URI:   https://www.silverfish.nl
 Template:     silvertheme
 Version:      7.0
*/

:root {	
  --main: #fdbc5a;
  --secondary: #30343e;
  --grey: #464547;
  --lightgrey: #5e6465;
  --font: "eroika-slab", sans-serif;
  --subfont: "jali-latin-variable", sans-serif;
}

html {scroll-behavior:smooth;}



* { font-family:var(--font); } /* Zelfde font overal */

.site-header hgroup, #main, .form-inner, .services-inner, .logos-inner, .driekolommen-inner, .titel-3, .vierkolommen-inner, .titel-4, .titel-foto-links, .foto-links-inner, .titel-foto-rechts, .foto-rechts-inner, .alg-tekstblok-inner, .geelblok-inner, .footercols, .feed-inner { max-width: 1440px; margin: 0 auto; }
body.mceContentBody { 
   background: #e3e3e3; 
   color:#000;
}

.wp-block-group.alignfull, 
  .wp-block-cover.alignfull {
    padding-left: 0;
    padding-right: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

.volledige-breedte {
    width: 100vw;
    max-width: 100%; background:var(--main);
}

/* Algemeen */
h1, .entry-title { font-family:var(--font); font-size:34px; color:var(--main); line-height:1.2; text-align:center; text-transform:uppercase;}
h2 { font-family:var(--subfont); font-size:30px; color:var(--main); line-height:1.2; text-transform:uppercase;}
h3 { font-family:var(--subfont); font-size:26px; color:white; line-height:1.2;}
h4 { }

.home .entry-title {width: 50%; margin-left: auto; margin-right: auto;}

a {color:var(--main); text-decoration:underline;}
a:hover {color:var(--zwart);}

.button {
  background:var(--main);
  padding:10px 20px;
  box-sizing: border-box;
  font-family:var(--font);
  font-size:17px;
  color:black;
  display:inline-block;
  margin-top:15px;
  text-decoration:none;
	border:1px solid black;
}
.button:hover {
  color:var(--secondary); border:1px solid white;
}
/* Buttons Gutenberg */
.wp-block-button__link {
  color: black!important;
  background-color: transparent!important;
  border-radius: 0px;
  box-shadow: none;
  text-decoration: none;
  padding:10px 20px;
  font-size:17px;
  margin-top:15px;
	font-family:var(--font); border:1px solid black;
}

.wp-block-button__link:hover {
  background-color: var(--main)!important; border:1px solid black;
}

/* Header */
.cta-top { position:absolute; right:2em; top:1em; z-index:9; display:flex;}
.cta-top a {
  font-family:var(--font);
  font-size:19px;
  color:black;
  margin-right:1em;
  text-decoration:none;
}
.cta-top a:last-child { }
.cta-top a i { color:black; border: 1px solid black; padding: 10px;}

.cta-top-button{}
.cta-top .button{margin-top: 0px; padding-bottom: 4px; padding-top: 6px;}

.header-taal{
	display:flex;
	align-items:center;
}

.header-taal img{
	width:28px; margin-top: -15px;
	object-fit:cover;
	display:block;
}

/* 4 lofts homepage */
.wp-block-columns.are-vertically-aligned-center {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.site-header { position:fixed; top:0; left:0; right:0; z-index:99; padding-top:4em; width:100%; transition:all .3s ease; }
.site-header.fixed { margin-top:0; padding-top:0em; background:var(--main); }
.site-header.fixed .site-logo img { width: 250px; margin-top: 0px; }
.site-header hgroup { position:relative; margin:0 auto; padding:0; background:0; display:flex; justify-content:space-between; align-items:center; }
.site-header hgroup.logo-left .site-logo { order:1; }
.site-header hgroup.logo-left .main-navigation { order:2; }
.site-header hgroup.logo-left .mobile-button { order:2; }
.site-header hgroup.logo-middle { display:block; }
.site-header hgroup.logo-middle .main-navigation { text-align:center; }
.site-header hgroup.logo-middle .mobile-button { position:absolute; left:0; top:0; }
.site-header hgroup.logo-middle .site-logo { text-align:center; }
.site-header hgroup.logo-right .site-logo { order:2; }
.site-header hgroup.logo-right .main-navigation { order:1; }
.site-header hgroup.logo-right .mobile-button { order:1; }

.site-logo img { width:500px; transition:all .3s ease; margin-top: -65px;}

/* Menu */
.main-navigation { background:0; padding:0; }
.main-navigation li { background:0; padding:0; }
.main-navigation li a {
  background:none;
  color:var(--secondary);
  font-size:18px;
  padding:3px 15px 4px 15px;
  box-sizing:border-box;
  margin-right:0.5em;
  display:flex;
  align-items:center;
}
.main-navigation li a:hover {color:var(--main);}
.main-navigation a { font-size: 18px !important; padding: 0 15px !important; }
.main-navigation ul { width: 100%; line-height:2.5; }
.main-navigation li { background:#fff; padding: 0; margin:0; text-align: right; }
.main-navigation li.current_page_parent a,
.main-navigation li.current-menu-item a,
.main-navigation li.current-menu-parent a {  color:var(--main); }
.main-navigation ul ul { top: 36px; margin-top:9px; width:auto; min-width:210px; background:white; border: none; color:var(--secondary);}
.main-navigation ul ul li { width:100%; background:none; }
.main-navigation ul ul a { width:auto; text-align: left; padding:.5em 1em; color:var(--secondary);}
.main-navigation ul ul a:hover { text-decoration: underline; color:var(--main);}
.main-navigation ul ul li.current-menu-item a { text-decoration: underline; color:var(--main);}

.mobile-button { display:none; font-size:50px; cursor:pointer; }
.mobile-menu { display:none; }

/* Content */
#banner { width:100%; }

.banner-inner { position:relative; }
#banner .banner-slide img { height:450px; object-fit:cover; object-position:center; width: 100%; margin-top: 80px;}

.home #banner .banner-slide img { height:850px; }

.banner-slide video {width: 100%; height: auto; object-fit: cover; }

/* Geel blok */
.home #geelblok{background: white;}
#geelblok {padding-top: 50px; background: #fff8ed;}
.geelblok-inner{display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 2fr)); grid-gap:2em; background: var(--main); width: 78%;
  padding: 30px;}
.geelblok-foto{display: flex; justify-content: center; align-items: center;}
.home .geelblok-foto{display: block; justify-content: center; align-items: center;}
.geelblok-foto img{width: 80%;}
.geelblok-tekst{font-family:var(--subfont); font-size:17px; color:var(--secondary); padding-top:0px;}
.home .geelblok-tekst{padding-top:50px;}
.geelblok-tekst h1{text-align:left; color:white;}
.geelblok-tekst h2{text-align:left; color:white;}

/* Geen bannerfoto */
.page-template-paginazonderbanner #mainContainer {padding-top: 270px;}
.page-template-paginazonderbanner #banner { display:none; }

/* Fotoslider */
.fotoslider{}
.wp-block-gutsliders-photo-carousel.nav_outside.nav_cc {width: 70%; margin-top: -50px; margin-left: auto; margin-right: auto;}
.wp-block-gutsliders-photo-carousel .swiper-container-outer img {border: 10px solid white;}
.wp-block-gutsliders-photo-carousel .swiper-button-next, .wp-block-gutsliders-photo-carousel .swiper-button-prev {background: var(--main);}

/* Extra volgpagina */
#extra{margin-top: -50px;}
.extra-inner{}

.titel-4{font-family:var(--font); font-size:36px; color:var(--main); padding-top: 50px;}
.vierkolommen-inner{display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 2fr)); grid-gap:2em; font-family:var(--font); font-size:19px; color:var(--main);}

.titel-3{font-family:var(--font); font-size:36px; color:white; padding-top: 50px;}
.driekolommen-inner{display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 2fr)); grid-gap:2em; font-family:var(--font); font-size:19px; color:var(--main);}
.driekolommen{background:var(--main); margin-bottom: 50px; margin-top: 50px;}
.driekolommen-blok{background:white; padding: 30px; margin-bottom:50px;}

.quote{font-family:var(--subfont); font-size:19px; color:var(--grey); padding-top: 50px; padding-bottom: 50px; background:#feeed5; text-align:center;}

.titel-foto-links{font-family:var(--font); font-size:36px; color:var(--main); }
.foto-links-inner{display:grid; grid-template-columns:repeat(auto-fit, minmax(100px, 2fr)); grid-gap:2em; margin-top: 50px;}
.foto-links img{width: 100%; max-height: 500px; object-fit: cover;}
.foto-links-tekst{font-family:var(--subfont); font-size:19px; color:var(--grey); display: flex; flex-direction: column; justify-content: center; text-align: center; width: 80%; margin-left: auto; margin-right: auto;}
#foto-tekst{padding-top: 50px; background: #fff8ed; padding-bottom: 50px;}

.titel-foto-rechts{font-family:var(--font); font-size:36px; color:var(--main);}
.foto-rechts-inner{display:grid; grid-template-columns:repeat(auto-fit, minmax(100px, 2fr)); grid-gap:2em; margin-top: 50px;}
.foto-rechts img{width: 100%; max-height: 500px; object-fit: cover;}
.foto-rechts-tekst{font-family:var(--subfont); font-size:19px; color:var(--grey); display: flex; flex-direction: column; justify-content: center; text-align: center; width: 80%; margin-left: auto; margin-right: auto;}

#alg-tekstblok{padding-top: 50px; padding-bottom: 50px; background: #feeed5;}
.alg-tekstblok-inner{color: var(--grey); font-family: var(--subfont); font-size: 19px;}

#mainContainer { padding:0px 0 0 0 ; background:#fdbc5a1c;}
.home #mainContainer { padding:70px 0 0 0 ; background:white;}
#main { overflow:visible; }
#primary, #content { width:100%; margin:0; padding:0; }


.tekstvlak-inner{opacity: 0; transition: opacity 2s ease-in-out;}
.tekstvlak-inner.zichtbaar {opacity: 1;}

.home .tekstvlak-inner{position: absolute;
top: 50%;
z-index: 9;
width: 40%;
text-align: center;
color: white; 
font-family:var(--font);
font-size: 30px;
background:var(--main);
padding:20px 20px 5px 20px; margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

#tekstvlak h1{color:var(--secondary); font-size:40px;}

.arrow-down {display:none; position:absolute; top:50em; left:0; right:0; text-align:center; }
.arrow-down img { width:61px; height:61px; }
.home .arrow-down {display:block;}

/* Loft Palm Royal */
.page-template-loft-palm-royal #banner .banner-slide img {height: 650px;}
.page-template-loft-palm-royal .arrow-down {display: block; top: 40em;}
.page-template-loft-palm-royal .entry-title {color: #f5989a;}
.page-template-loft-palm-royal h2 {color: #f5989a;}
.page-template-loft-palm-royal .entry-content, .entry-summary {width: 70%; margin-left: auto; margin-right: auto;}
.page-template-loft-palm-royal .foto-links-tekst {text-align: left;}
.page-template-loft-palm-royal .foto-rechts-tekst {text-align: left;}
.page-template-loft-palm-royal .foto-links img {max-height: 400px;}
.page-template-loft-palm-royal .foto-rechts img {max-height: 400px;}
.page-template-loft-palm-royal #foto-tekst {padding-top: 3px; padding-bottom: 3px;}
.page-template-loft-palm-royal #alg-tekstblok {margin-top: -11px;}

/* Loft Lila Licious */
.page-template-loft-lila-licious #banner .banner-slide img {height: 650px;}
.page-template-loft-lila-licious .arrow-down {display: block; top: 40em;}
.page-template-loft-lila-licious .entry-title {color: #AD97C4;}
.page-template-loft-lila-licious h2 {color: #AD97C4;}
.page-template-loft-lila-licious .entry-content, .entry-summary {width: 70%; margin-left: auto; margin-right: auto;}
.page-template-loft-lila-licious .foto-links-tekst {text-align: left;}
.page-template-loft-lila-licious .foto-rechts-tekst {text-align: left;}
.page-template-loft-lila-licious .foto-links img {max-height: 400px;}
.page-template-loft-lila-licious .foto-rechts img {max-height: 400px;}
.page-template-loft-lila-licious #foto-tekst {padding-top: 3px; padding-bottom: 3px;}
.page-template-loft-lila-licious #alg-tekstblok {margin-top: -11px;}

/* Loft Gigi's */
.page-template-loft-gigis #banner .banner-slide img {height: 650px;}
.page-template-loft-gigis .arrow-down {display: block; top: 40em;}
.page-template-loft-gigis .entry-title {color: #A28C72;}
.page-template-loft-gigis h2 {color: #A28C72;}
.page-template-loft-gigis .entry-content, .entry-summary {width: 70%; margin-left: auto; margin-right: auto;}
.page-template-loft-gigis .foto-links-tekst {text-align: left;}
.page-template-loft-gigis .foto-rechts-tekst {text-align: left;}
.page-template-loft-gigis .foto-links img {max-height: 400px;}
.page-template-loft-gigiss .foto-rechts img {max-height: 400px;}
.page-template-loft-gigis #foto-tekst {padding-top: 3px; padding-bottom: 3px;}
.page-template-loft-gigis #alg-tekstblok {margin-top: -11px;}


/* Article */
.hentry { position:relative; border:0; padding:4em 0; }
.entry-title, .page-title { }

.entry-wrap { display:grid; grid-template-columns:repeat(auto-fit, minmax(400px, 2fr)); grid-gap:2em; }
.entry-content, .entry-summary {
  margin:0;
  font-family:var(--subfont);
  font-size:19px;
  color:var(--secondary);
}
.entry-content p:last-child { margin:0; }
.entry-content a{color:var(--main);}


/* Formulier*/
#form { position:relative; margin:4em 0; }
.form-inner { }

body .gform_wrapper ul li.gfield { margin-top:14px !important; }
.gform_wrapper li.hidden_label input { margin:0 !important; }
body .gform_wrapper .top_label div.ginput_container { margin:0 !important; }
::placeholder {
  font-family:var(--font);
  font-size:21px;
  opacity:1;
  color:var(--secondary);
  font-weight:normal;
}

.gform_footer input {
  width:30% !important;
  background:#3C5980;
  border:0;
  color:white !important;
  font-size:24px !important;
  padding:15px 15px !important;
}

.gform_wrapper.gravity-theme .gfield textarea.large {
  background: #D0D0D7;}
.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large {
  background: #D0D0D7;}
.gform_wrapper.gravity-theme input[type="text"]{font-size: 21px!important;}
.gform_wrapper.gravity-theme .gfield textarea.large {font-size: 21px;}

.gform_wrapper.gravity-theme .gfield_label {font-size: 21px!important; font-weight: 300!important;}


/* Services*/
#services { width:100%; height:auto; margin:0 0 4em 0; }
.services-inner { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 2fr)); grid-gap:2em; }
.services-inner a {
  font-family:var(--font);
  font-size:21px;
  color:var(--main);
  text-align:center;
}
.services-inner a span { display:inline-block; text-align:center; background:var(--secondary); padding:10px 20px; box-sizing: border-box; color:white; }


/* Feed */
#feed{margin-top: 100px;}
.feed-inner{text-align: center; padding-bottom: 100px; font-family: var(--subfont); font-size: 19px; color: var(--grey);}
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a {
  font-size: 19px;
  border-radius: 0px;
  border: 1px solid black;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

/* WordPress voegt deze toe na iedere rij */
.gallery > br {
  display: none !important;
}

.gallery .gallery-item {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.gallery .gallery-icon {
  width: 100%;
  height: auto;
}

.gallery .gallery-icon a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery .gallery-icon img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  width:100%;
  height:auto;
  background:var(--main);
}

.footercols { padding:2em 0 0em 0; display:flex; justify-content:space-between; }
.footercol {
  font-family:var(--subfont);
  font-size:19px;
  color:black;
}
.footercol .alignleft{margin-right: 0em;}
.footercol p{margin-bottom: 1.1em;}
.footercol:first-child {  }
.footercol:first-child p:first-child img { position:relative; left:-4em; }
.footercol a { color:var(--black); }
.footercol a:hover { text-decoration:underline; }

.site-info {
  font-family:var(--subfont);
  font-size:19px;
  padding:1em 0;
  margin-bottom: 70px;
}
.site-info a { color:black; }
.site-info a:hover { text-decoration:underline; }

/* 404 page */
.entry-title-404{text-align:center;}

#mobile-social { display:none; }

/* Responsive */
@media all and (max-width:1463px) {
  .site-header,
  #content,
  #form,
  #services,
	#logos,
	#vier-kolommen,
	#drie-kolommen,
  #foto-tekst,
	#alg-tekstblok,
	#geelblok,
	#feed,
  .site-info { padding-left:2em; padding-right:2em; box-sizing: border-box; }
  .footercols { padding-left:4em; padding-right:2em; box-sizing: border-box; flex-wrap:wrap; }
  .footercol { margin-right:2em; }
  .footercol:last-child { margin-right:0; }
}

@media all and (max-width:5000px) {
 .site-header hgroup { display:flex; align-items:flex-start; }
  .main-navigation { display:none; }
  .mobile-button { display:block; color:var(--main); margin-top: -60px;}
  .mobile-menu { position:absolute; width:100%; right:0; top:80px; }
  .site-header.fixed .mobile-menu { top:107px; }
  .site-header.fixed .mobile-button {color: white;}
  .mobile-menu ul { list-style:none; padding:0; margin:0; }
  .mobile-menu ul li { position:relative; }
  .mobile-menu ul li a {
    font-family:var(--font);
    color:white;
    font-size:22px;
    background:var(--main);
    padding:9px 30px;
    box-sizing: border-box;
    display:block;
	text-decoration: none;
  }
  .mobile-menu ul ul { display:none; }
  .mobile-menu li.menu-item-has-children span.subitem,
  .mobile-menu li.menu-item-has-children span.subsubitem { position: absolute; top:12px; right:0; color:white; font-family:var(--font); font-size:20px; font-weight:bold; cursor:pointer; padding:5px 10px; box-sizing: border-box; background: var(--secondary);}
  .mobile-menu li.menu-item-has-children span.active { background: var(--secondary); }
  .site-header.fixed .mobile-button {color: white; padding-top: 60px; }

}

@media all and (max-width:1344px) {
	.wp-block-gutsliders-photo-carousel.nav_outside.nav_cc {margin-top: 10px; width: 90%;}
}

@media all and (max-width:1125px) {
    .site-logo img {margin-top: 10px;}
	#banner .banner-slide img {margin-top: 120px;}
	.site-header.fixed .site-logo img {padding-top: 30px;}
	.site-header.fixed .mobile-menu {top: 137px;}
	.mobile-menu {top: 10px;}
	.wp-block-gutsliders-photo-carousel.nav_outside.nav_cc {width: 100%; margin-top: 50px;}
}

@media (max-width: 900px) {
	.home .tekstvlak-inner {top: 30%; width: 70%;}
	.geelblok-inner {display: block; text-align: center;}
	.geelblok-tekst h1 {text-align: center;}
	 #mobile-social {
    display:flex;
    justify-content:flex-start;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    z-index:9999;
    overflow:hidden;
  }
  #mobile-social a {
    background:var(--main);
    padding:5px;
    box-sizing: border-box;
    color:white;
    flex:1 auto;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
	  text-decoration:none;
  }
	.footer-button{background: var(--main);}
	.cta-top a i {display: none;}
	.cta-top-button {display: none;}
	.cta-top {top: 2em;}
	 .site-header.fixed .site-logo img {padding-top: 0px;}
}

@media (max-width: 768px) {
    .banner-slide video {max-height: 250px; }
	.foto-rechts-inner {display: block;}
	.foto-links-inner {display: block;}
}

@media all and (max-width:650px) {
	.vierkolommen-inner {display: block;}
	.driekolommen-inner {display: block;}
  #gform_fields_1 { display:block; }
  #gform_fields_1 .item-wrap,
  #gform_fields_1 li#field_1_5 { width:100%; }
  #gform_fields_2 li { width:100% !important; }
	.home .entry-title {width: 80%;}
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {text-align: center;}
	.gallery {grid-template-columns: repeat(3, minmax(0, 1fr));}
}

@media all and (max-width:550px) {
  h1, .entry-title { font-size:30px; }
  .site-header { margin-top:0; transition:none; }
  .site-header hgroup { display:block; text-align:center; }
  .site-header.fixed .site-logo {}
  .site-logo { padding-top:0em; }
  .main-navigation li a { margin-right:0; }
  .mobile-button { position:fixed !important; left:0; top:0; width:100%; height:60px; background:var(--main); color:white; font-size:36px; display:flex; justify-content:center; align-items:center; margin-top: 0px; padding-top: 0px!important;}
.cta-top a {display: none;}
.header-taal {padding-top: 15px;}
	#banner .banner-slide img {margin-top: 0px;}
	.home #banner .banner-slide img {height: 650px;}
	.home .tekstvlak-inner {top: 30%; width: 80%; font-size: 20px;}
	.arrow-down {top: 30em;}
	.mobile-menu ul.sub-menu li a {background-color: var(--secondary) !important;}
  .mobile-menu { top:0px; }
  .site-header.fixed .mobile-menu { top:44px; }
	.gform_footer input {width:100% !important;}
  .entry-wrap { display:block; }
	#mainContainer {text-align: center;}
  .footercol:first-child { padding-left:0; }
  .footercol:first-child p:first-child img { left:0; }
  .footercols { padding-left:2em; }
	.gallery {grid-template-columns: repeat(2, minmax(0, 1fr));}
	.page-template-loft-palm-royal .arrow-down {top: 35em;}
	.page-template-loft-palm-royal .entry-content, .entry-summary {width: 100%;}
	.page-template-loft-lila-licious .arrow-down {top: 35em;}
	.page-template-loft-lila-licious .entry-content, .entry-summary {width: 100%;}
	.page-template-loft-gigis .arrow-down {top: 35em;}
	.page-template-loft-gigis .entry-content, .entry-summary {width: 100%;}
}
