/*
Theme Name: kpot theme
Author: kpot
Author URI: https://kpot.be/
Version: klant-v1;
*/

/* IE FIX (omdat die nieuwe tags niet kent) */
main,
section,
article {
    display: block;
}

/* EDIT ICON */
.editpost{
  position: fixed;
  top: 1vw;
  right: 1vw;
  margin: 0;
  z-index: 999999;
}
.editpost a{
  background-image: url(assets/img/edit.png);
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  display: block;
  cursor: pointer;
}
.editpost a span{
  display: none;
}

/* GENERAL */
html{
  scroll-behavior: smooth;
}
body {
  -webkit-text-size-adjust: 100%;
  -webkit-animation: fadein 1s;
          animation: fadein 1s;
	overflow-x:hidden;
  background-color:#FFFEF7;
}
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.grecaptcha-badge{
	display: none;
}
body, label, input, textarea, select, button {
  font-family: 'HALMatex', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
h1, h2, h3, h4, h5, h6{
  font-family: 'HALMatex', Arial, sans-serif;
}
img{
  width: 100%;
  height: auto;
}
.hidden_title{
  display: none;
}
input, select, textarea, button, .button{
  background-color:#FFFEF7;
}


/* LINK ONDERLIJN ANIMATIE */
a {
  text-decoration: none;
  display: inline-block;
  position: relative;
  color: #000;
}
a::after,
a .hover_arrow_tekst::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  /* background-color: #3D6C5C; */
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
a:hover::after,
a .hover_arrow_tekst:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.site_logo a::after{
  display: none;
}


/* LOADINGANIMATION */
.animateOnLoad,
.wp-block-column {
  -webkit-transform: translateY(60px);
  -ms-transform: translateY(60px);
  transform: translateY(60px);
  opacity: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.animateOnLoad.load,
.wp-block-column.load {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}


/* HEADER */
.site_logo a{
  background-image: url(assets/img/logo.gif);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 400px;
    height: 120px;
}
.site_logo a>span{
  display: none;
}

.site_header{
  padding:20px;
  display: flex;
  justify-content: space-between;
  width: calc(100vw - 40px);
  position: fixed;
  z-index: 9;
}
.site_header nav a{
  margin-left:20px;
}













h1, h2{
  font-size:29px;
}

h3{
  font-size:21px;
}

h4, h5, p, a, span, div, input, select, textarea{
  font-size:14px;
}



main{
  /* width:90%;
  max-width:1920px;
  margin:0 auto; */
  padding-top: 130px;
}

footer{
  display: flex;
  justify-content: space-between;
  margin-right: 20px;
  margin-bottom:20px;
  position: absolute;
  width: calc(73vw - 40px);
  padding-bottom: 8px;
}

.privacy-policy footer{
  width: calc(100vw - 40px);
    margin: 0 auto;
    max-width: 800px;
    position:unset;
}

.baseline{
  width: 300px;
  position: absolute;
  /* left: calc(50vw - 300px); */
  left: calc(28vw + 6px);
  top: 150px;
}
.baseline p{
  font-size: 29px;
}


/* Projecten */
.rightProjects, .leftProjects{
  width:46vw;
}
.rightProjects{
  padding-right:20px;
  margin-top: 25vh;
}
.leftProjects{
  padding-left:20px;
}
.rightProjects .one_project{
  /* background-color:lightblue; */
  flex-direction:column;
  margin-bottom:40px;
  /* margin-left: 54%; */
  display: flex;
  flex-flow: wrap;
  flex-direction: row-reverse;
  
}
.leftProjects .one_project{
  /* background-color:lightpink; */
  flex-direction:column-reverse;
  margin-bottom:40px;
  display: flex;
  flex-flow: wrap;
  flex-direction: row;
  
}


.one_project{
  height:50vh;
  display:flex;
}

.all_projects{
  width: 100vw;
  position: relative;
  /* left: -20vw; */
  display: flex;
  margin-left: 3vw;
  height: 100%;
}
.project_info{
  width:calc(100% / 6);
  height: 100%;
  display: flex;
  flex-direction: column;
  height: 50vh;
  justify-content: space-between;
}
.rightProjects .project_info{
  text-align:right;
  margin-right: 20px;
}
.leftProjects .project_info{
  margin-left: 20px;
}
.category_icon{
  width:18px;
}
.rightProjects .category_icon{
  float:right;
}
.leftProjects .category_icon{
  float:left;
}

.swiper-slide{
  width: 46vw !important;
  display: flex !important;
  flex-direction: row-reverse;
 }

 .leftProjects .swiper-slide{
  flex-direction: row;
 }

 .swiper-button-next::after{
   display:none;
 }
 .swiper-button-next{
  right: unset;
  top: 49vh;
  width: 100%;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
 }
 .rightProjects .swiper-button-next{
  margin-left: calc(46vw / 6 - 74px);
 }




/* Projecten: Slider */
.vertical_image{
  height: 50vh;
  width: 45% !important;
  object-fit: cover; 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.horizontal_image{
  height: 50vh;
  width: 81% !important;
  object-fit: cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper {
  margin-left: unset;
  margin-right: unset;
  overflow:auto !important;
}

.slick-arrow:hover{
	cursor:pointer;
}




/* About */
#about{
  position: absolute;
  left: calc(28vw + 6px);
}
#about h2{
  margin-top:40px;
  margin-bottom:20px;
}

#about p a{
  display:block;
}

#about img{
  max-width:40px;
}
.personal_info{
  display:flex;
  margin-bottom: 40px;
}
.personal_info img{
  height: 50vh;
  width: calc(46vw / 100 * 45 ) !important;
  max-width:unset !important;
  object-fit: cover;
}
.extra_info{
  margin-left:40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.extra_info h2{
  margin-top:0px !important;
}

.rightColumnIsLast{
  margin-left: calc(22.5vw) !important;
  margin-left: calc(52% + 6px) !important;
}

.rightColumnIsLast .extra_info{
  margin-left:20px;
}


/* Contactform */
.wpcf7{
  margin-top:100px;
}
.wpcf7 input{
  border:none;
  border-bottom:1px solid black;
  margin-bottom:10px;
}
.wpcf7 textarea{
  border:none;
  margin-bottom:10px;
  margin-top: 10px;
}

.wpcf7 input[type="submit"]{
  border:1px solid black;
  padding:8px;
  background-color:#FFFEF7;
  margin-bottom:10px;
  color:black !important;
}
.wpcf7 input[type="submit"]:hover{
  cursor:pointer;
  color:#FFFEF7 !important;
}


.wpcf7-select{
  border: none;
  border-bottom: 1px solid black;
  width: 315px;
}

.wpcf7 form .wpcf7-response-output{
  margin:0px !important;
  border-width: 1px;
}

#contact{
  max-width: calc((46vw / 100 * 45) * 2 + 40px ) !important;
	margin: 0 auto;
}
#contact figure img{
  object-fit:contain !important;
}
#contact figure .wp-block-image{
  max-width:40px;
  margin-top:10px !important;
  margin-right:10px !important;
}


/* CTA Instagram */
.cta_instagram{
  max-width: 300px;
  position: absolute;
  left: calc(50vw + 20px) !important;
  margin-top: -25vh;
}
.onevenposts .cta_instagram{
  left:calc(28vw + 6px) !important;
}
.onevenposts .cta_instagram h2{
  text-align:right;
}
.onevenposts .cta_instagram a{
  float:right;
}

.cta_instagram .button{
  border:1px solid black;
  padding:10px;
  margin-top:20px;
}


.button:hover, input[type="submit"]:hover{
  color:#FFFEF7;
  background-color:black;
}

/* Privacy policy */
.privacy-policy .page_header{
  margin-bottom:40px;
}

.privacy-policy h3{
  margin-top:20px;
}

.privacy-policy main .container{
  width: calc(100vw - 40px);
  margin: 0 auto;
  max-width: 800px;
  padding-bottom:100px;
}


.wrap60{
  width:60vw;
  min-width:800px;
  margin:0 auto;
}




@media only screen and (max-width: 1100px) {
  .baseline {
    left: calc(16vw + 6px);
  }
}
@media only screen and (max-width: 850px) {
  .baseline{
    top:unset;
  }
  .all_projects{
    flex-flow:wrap;
    
  }
  .rightProjects, .leftProjects {
    width: 98vw;
  }
  .rightProjects {
    margin-top: 60px;
  }
  .swiper-slide {
    width: 92vw !important;
  }
  .site_header {
    flex-direction: column;
    width: 100vw;
  }
  .site_nav{
    display: flex;
  }
  .site_logo a {
    margin: 0 auto;
  }
  .cta_instagram {
    position: relative;
    left: 0px;
    text-align: center;
    width: unset;
    margin-left: 0px;
    margin-top: 0px;
    left: unset !important;
    max-width:unset;
    margin-top: 100px;
    margin-bottom: 160px;
  }
  .personal_info {
    margin: 0 auto;
    margin-left: 0px;
    margin-top:40px;
    margin-bottom:40px;
  }
  .personal_info img {
    width: 100%;
  }
  #about{
    position:unset;
  }
  #about img {
    width: 300px !important;
  }
  #contact{
    max-width: unset !important;
  }
  footer{
    padding-left: 0px;
    margin-top: 100px;
    width:calc(100% - 20px);
  }
  .wrap60{
    min-width:unset;
    width: calc(100vw - 80px);
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;
  }
  .site_logo a {
    width: 300px;
    height: 120px;
  }
  .leftProjects{
    padding-left:0px;
  }

  .one_project:nth-of-type(even) .project_info {
    text-align: left;
    margin-right: 0px;
    margin-left: 20px;
  }
  .one_project:nth-of-type(even) .category_icon {
    float: left;
  }
  .baseline{
    position: relative;
    width: 100%;
    left: unset;
    text-align: right;
    right: 20px;
    margin-top: -50px;
  }
  .swiper-slide{
    flex-direction:row;
  }
  .rightProjects .project_info {
    text-align: left;
    margin-left: 20px;
  }
  .rightProjects .category_icon{
    float:left;
  }
  .extra_info{
    margin-left:20px;
  }
  .site_header{
    position:unset;
  }
  main{
    padding-top:0px;
  }
}

@media only screen and (max-width: 430px) {
  #about img {
    width: 100% !important;
  }
  .personal_info {
    flex-direction: column-reverse;
  }
  .vertical_image {
    width: 60% !important;
  }
  .baseline {
    margin-top: 20px;
  }
  .extra_info{
    margin-left:0px;
  }
}

@media only screen and (max-width: 380px) {
  .site_logo a {
    width: 260px;
    height: 100px;
  }
}