/*
Theme Name: kpot theme
Author: kpot
Author URI: https://kpot.be/
Version: Poppe apotheek v1;
*/

main {
    /* main is not supported in IE -> fix */
    display: block;
}

body,
.editor-post-title__block .editor-post-title__input {
    font-family: 'proxima-nova', sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
}

h1, h2,
.editor-post-title__block .editor-post-title__input{
    font-size: 40px;
    max-width: 650px;
    margin: 0 auto 85px auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 6.5px;
    width: 95vw;
}

h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 4.5px;
}

p, a, li{
  font-size: 18px;
  line-height: 22px;
  color: #000;
  line-height: 1.4;
}

a{
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
.foto-tekst_tekst a{
  text-decoration: underline;
}

/* HEADER */

.site-logo {
    width: 94vw;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.logo-bg {
    content: "";
    display: block;
    width: 50%;
    height: 50vh;
    background-color: #FFEFAE;
    position: absolute;
    left: 0;
    top: 25vh;
    z-index: -1;
}

.site-logo a {
    background-image: url(assets/img/logo_full.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 300px;
    height: 150px;
    max-width: 70vw;
}

.site-logo span {
    display: none
}

.sticky-header{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  top: 0;
  left: 0;
  padding: 30px 70px;
  width: calc(100vw - 140px);
  background: #fff;
  -webkit-box-shadow: 0;
          box-shadow: 0;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  position: fixed;
  z-index: 99999;
}

.sticky-header.stickyShadow{
  -webkit-box-shadow: 0 3px 13px rgba(0, 0, 0, 0.0784313725490196);
          box-shadow: 0 3px 13px rgba(0, 0, 0, 0.0784313725490196);
}
.sticky-header .sticky-header_logo-small{
  opacity: 0;
  -webkit-transition: all 0.6s ease-in-out;
       -o-transition: all 0.6s ease-in-out;
          transition: all 0.6s ease-in-out;
}
.sticky-header.stickyPoppe .sticky-header_logo-small{
  opacity: 1;
}

.contactInfo{
  position: relative;
  opacity: 1;
  /* transform: translateY(0%); */
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s
}

.hideContactInfo{
  /* transform: translateY(200px); */
  opacity: 0;
}
.sticky-header_logo-small{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sticky-header_logo-small a{
  background-image: url(assets/img/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 200px;
  height: 30px;
}

.sticky-header_logo-small a>span{
  display: none;
}

.site-nav {
  text-transform: lowercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.site-nav>div{
  margin-left: 50px;
}

.openingsuren p {
    width: 80px;
    display: inline-block;
}

.openingsuren p:nth-child(2) {
    width: 130px;
}

#content{
  margin-top: -25vh;
  padding-top: 25vh;
}

.yellow_extra_info_header{
  border: 10px solid #FEEFAE;
  background-color: #FEEFAE;
  height: 48px;
  margin-top: -10px;
  padding: 0px 8px
}
.extra_info_openingsuren{
  /* text-align:right;
  margin-right:16px;
  transition: all .6s; */
  height: 38px;
  width: auto;
  max-width: 180px;
}

/* OPSOMMING */

.opsomming_container{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 1480px;
  margin: 0 auto 15vh auto;
  width: 95vw;
}

.acf-block-preview .opsomming_container{
  width: 100%;
}

.opsomming_item{
  width: calc(23% - 94px);
  position: relative;
  padding: 42px 47px;
  margin: 5% 1%;
  cursor: default;
  max-width: 250px;
  min-width: 200px;
}

.opsomming_item_titel,
.opsomming_item_tekst{
  z-index: 9;
  position: relative;
}

.opsomming_item_kleur{
  background-color: #FFEFAE;
  display: block;
  position: absolute;
  width: 25%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

.opsomming_container:hover .opsomming_item_kleur{
  width: 0%;
}

.opsomming_item:hover .opsomming_item_kleur{
  width: 100%;
}

/* TITEL TEKST */

.foto-tekst_container{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 540px;
  padding: 15vh;
}

.acf-block-preview .foto-tekst_container{
  height: auto;
  padding: 30px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-flow: column-reverse;
          flex-flow: column-reverse;
}

.foto-tekst_container,
.foto-tekst_tekst{
  position: relative;
  z-index: 9;
}

.foto-tekst_tekst{
  max-width: 500px;
  margin: 0 auto;
}
.acf-block-preview .foto-tekst_tekst{
  max-width: none;
  margin: 30px auto;
}

.foto-tekst_tekst h2{
  text-align: left;
  margin: 0 0 55px 0;
}

.foto-tekst_image{
  position: absolute;
  z-index: 0;
  min-height: 540px;
  min-width: 1000px;
  width: 52vw;
  height: 28vw;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #FFEFAE;
  left: 0;
  top: 0;
  max-width: 70vw;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.fallbackImage{
  background-size: cover;
  background-position: center;
}
.acf-block-preview .foto-tekst_image{
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.foto-rechts .foto-tekst_image{
  right: 0;
  left: auto;
}

.foto-tekst_image:hover img{
  opacity: 0;
}

.acf-block-preview .foto-tekst_image:hover img{
  opacity: 1;
}

.foto-tekst_image img{
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
  opacity: 1;
}


/* VRAGEN */

.vragen_opsomming_item{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 30%;
  margin: 15px 15px 15px 0;
}

.acf-block-preview .opsomming_item {
    width: 100%;
    max-width: 300px;
}

.vragen_opsomming_icon{
  width: 35px;
  margin: 20px;
}
.vragen_opsomming{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.vragen .foto-tekst_tekst {
    max-width: 1000px;
    margin: 0 auto;
    /* position: absolute; */
    /* left: calc(1000px - 9%); */
    position: relative;
    left: 13vw;
}
.vragen_footer_tekstje{
  max-width: 350px;
  margin-bottom: 40px;
}


.icon{
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  margin-right: 25px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.icon-adres{
  background-image: url(assets/img/icons-/icon_adres.png);
}
.icon-openingsuren{
  background-image: url(assets/img/icons-/icon_openingsuren.png);
}
.icon-gsm{
  background-image: url(assets/img/icons-/icon_gsm.png);
}
.icon-instagram{
  background-image: url(assets/img/icons-/icon_instagram.png);
}
.icon-facebook{
  background-image: url(assets/img/icons-/icon_facebook.png);
}
.icon-email{
  background-image: url(assets/img/icons-/icon_email.png);
}

.vragen_opsomming_item:hover .icon-adres{
  background-image: url(assets/img/icons-/icon_adres_hover.png);
}
.vragen_opsomming_item:hover .icon-openingsuren{
  background-image: url(assets/img/icons-/icon_openingsuren_hover.png);
}
.vragen_opsomming_item:hover .icon-gsm{
  background-image: url(assets/img/icons-/icon_gsm_hover.png);
}
.vragen_opsomming_item:hover .icon-instagram{
  background-image: url(assets/img/icons-/icon_instagram_hover.png);
}
.vragen_opsomming_item:hover .icon-facebook{
  background-image: url(assets/img/icons-/icon_facebook_hover.png);
}
.vragen_opsomming_item:hover .icon-email{
  background-image: url(assets/img/icons-/icon_email_hover.png);
}

/* CURL */
.curl-wrapper{
  height: 100px;
  width: 23px;
  overflow: hidden;
  margin: 0 auto 0 auto;
  display: none;
  z-index: 99;
}
.curl{
  background: url(https://poppeapotheek.be/wp-content/themes/kpot-theme/assets/img/curl.png);
  background-size: 50%;
  background-repeat: repeat-y;
  background-position: top center;
  height: 200px;
  width: 100%;
  -webkit-animation: move-curl 2.5s infinite linear;
          animation: move-curl 2.5s infinite linear; /* IE 10+, Fx 29+ */
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.header-curl{
  margin: 0 auto;
}
.show_on_desktop,
.acf-block-preview .curl-wrapper{
  display: block;
}

@-webkit-keyframes move-curl {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-48%); transform: translateY(-48%); }
}

.header-curl{
  position: relative;
  top: -130px;
}

.slowly_move_down{
  margin: 150px auto -250px auto;
  position: relative;
  -webkit-transform: translateY(-300px);
      -ms-transform: translateY(-300px);
          transform: translateY(-300px);
}

.acf-block-preview .slowly_move_down{
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  margin: 0 auto;
}

/* FOOTER */
.copyright{
  margin: 0 auto calc(30px + 4vh) auto;
  max-width: 400px;
  width: 95vw;
}

.copyright p{
  font-size: 16px;
}

.kpot-logo{
  background: url(assets/img/kpot-logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 50px;
  height: 24px;
  position: relative;
  top: 6.5px;
  margin-left: 3px;
}
.kpot-logo>span{
  display: none;
}
.copyright_kpot{
  margin: 10px 0;
}

@media (orientation:portrait) {
  .logo-bg {
    height: 70vh;
    top: 14vh;
  }
}

@media (max-width: 1800px) {
  .foto-tekst_tekst {
    max-width: 500px;
    /* margin: 0; */
  }
  /* .foto-links .foto-tekst_tekst {
    left: 500px;
  } */
  .vragen .foto-tekst_tekst {
    position: absolute;
    right: 0;
    left: auto;
  }
  .foto-tekst_container{
    padding: 10vh;
    margin: 14vh 0;
  }
  .foto-tekst_image {
    min-height: auto;
    min-width: auto;
    width: 64vw;
    height: 35vw;
  }
  .foto-links .foto-tekst_tekst{
    padding-left: 400px;
  }
  .foto-rechts .foto-tekst_tekst{
    padding-right: 400px;
  }
}

@media (max-width: 1300px) {
  .opsomming_item {
    /* width: calc(48% - 94px); */
    min-height: 143px;
  }
  /* .opsomming_container{
    width: 700px;
  } */
  .foto-tekst_image {
    min-height: auto;
    min-width: auto;
    width: 62vw;
    height: 45vw;
  }
}
@media (max-width: 1250px) {
  .foto-tekst_container{
    padding: 10vw 3vw;
  }
  .foto-tekst_tekst {
    max-width: 34vw;
    min-width: 420px;
  }
  .foto-tekst_tekst h2{
        word-wrap: break-word;
      overflow-wrap: break-word;

    -webkit-hyphens: auto;
            -ms-hyphens: auto;
        hyphens: auto;
          max-width: 100%;
  }
  .vragen_opsomming_item {
    width: calc(50% - 30px);
  }
  .vragen_opsomming {
    width: 700px;
    max-width: 90vw;
  }
}

@media (max-width: 1024px) {
  .sticky-header {
    padding: 30px;
    width: calc(100vw - 60px);
  }
  .acf-block-preview .foto-tekst_image:hover img{
    opacity: 1;
  }
}

@media (max-width: 970px) {
  .foto-links .foto-tekst_tekst,
  .foto-rechts .foto-tekst_tekst{
    padding: 0;
  }
  .foto-tekst_image{
    position: relative;
    width: 86vw;
    height: 60vw;
    max-width: none;
  }
  .foto-tekst_tekst,
  .vragen .foto-tekst_tekst {
    width: 90vw;
    max-width: 600px;
    /* padding: 5vw; */
    left: auto !important;
    top: -75px;
  }
  .foto-tekst_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
            flex-flow: column-reverse;
    padding: 0;
    height: auto;
    margin: 14vh 0;
  }
  /* .foto-links .foto-tekst_image{
    right: 0;
  } */
  .vragen .foto-tekst_tekst{
    position: relative;
  }
  /* menu */
  .sticky-header{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .site-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .site-nav>div{
    margin-left: 0;
  }
  .site-nav>*,
  .site-nav>*>a{
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .site-header .telefoon p:first-child::after,
  .site-header .adres p:first-child::after,
  .site-header .openingsuren>div:first-child p:nth-child(2)::after {
    content: ", ";
    margin-right: 5px;
  }
  .sticky-header {
    -webkit-transform: translateY(-50px);
        -ms-transform: translateY(-50px);
            transform: translateY(-50px);
    padding: 0 10px;
    width: calc(100vw - 20px);
    -webkit-box-shadow: 0 0 0 #ffffff;
            box-shadow: 0 0 0 #ffffff;
  }
  /* .sticky-header .sticky-header_logo-small{
    -webkit-transform: translateY(-100px);
        -ms-transform: translateY(-100px);
            transform: translateY(-100px);
  } */
  .sticky-header.stickyPoppe{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .sticky-header_logo-small{
    padding: 20px;
  }
  .contactInfo {
    height: 72px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    overflow: hidden;
    padding-bottom: 20px;
  }
  .hideContactInfo{
    height: 0 !important;
    padding: 0 !important;
  }
  .show_on_desktop{
    display: none;
  }
  .show_on_mobile,
  .show_on_desktop.show_on_mobile{
    display: block;
  }
  .site-header .openingsuren p {
    display: inline;
  }
  .foto-links .foto-tekst_image{
    margin-left: 14vw;
  }
  .slowly_move_down{
    margin: 240px auto -130px auto;
  }
  .yellow_extra_info_header {
    margin-top: 10px;
  }
  .biggerHeader{
    height: 136px !important;
  }
}

@media (max-width: 700px){
  a{
    text-decoration: underline;
  }
  .opsomming_item {
    width: 100%;
  }
  .opsomming_container {
    width: auto;
  }
  .opsomming_container:hover .opsomming_item_kleur,
  .opsomming_item:hover .opsomming_item_kleur,
  .opsomming_item_kleur{
    opacity: auto;
    width: 100%;
  }
  .opsomming_item_kleur{
    height: 100%;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .isInCenter .opsomming_item_kleur{
    opacity: 1;
  }
  .foto-tekst_tekst {
    min-width: auto;
  }
  .vragen_opsomming_item {
    width: calc(100% - 30px);
  }
  .foto-tekst_image{
    height: 90vw;
  }
  .opsomming_item {
    width: 64vw;
    max-width: 600px;
    padding: 13vw
  }
  .opsomming_item_titel,
  .opsomming_item_tekst{
    max-width: 300px;
  }
  /* h1, h2{
    padding: 0 3vw;
  } */
  .acf-block-preview .opsomming_item{
    max-width: none;
  }
}
@media (max-width: 500px){
  .contactInfo p, .contactInfo a {
    font-size: 14px;
  }
  .contactInfo{
    height: 55px;
    padding-bottom: 10px;
  }
  .sticky-header {
    -webkit-transform: translateY(-35px);
        -ms-transform: translateY(-35px);
            transform: translateY(-35px);
  }
  .sticky-header_logo-small a {
      width: 120px;
      height: 18px;
  }
  .sticky-header_logo-small {
    padding: 13px;
  }
  .header-curl {
    top: -105px;
    height: 150px;
    -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
            transform: scale(0.75);
  }
  .curl{
    height: 300px;
  }
  .site-logo{
    margin: 0 auto;
  }
  .logo-bg {
    height: 60vh;
    top: 17vh;
  }
  h1, h2, .editor-post-title__block .editor-post-title__input {
    font-size: 33px;
    max-width: 90vw;
    margin: 0 auto 60px auto;
  }
  .foto-tekst_tekst,
  .vragen .foto-tekst_tekst{
    top: -20px;
  }
  .slowly_move_down {
      margin: 300px auto -130px auto;
  }
  h3{
        word-wrap: break-word;
      overflow-wrap: break-word;

    -webkit-hyphens: auto;
            -ms-hyphens: auto;
        hyphens: auto;
          max-width: 100%;
  }
}

@media (max-width: 350px){
  h1, h2, .editor-post-title__block .editor-post-title__input {
    font-size: 27px;
        word-wrap: break-word;
      overflow-wrap: break-word;

    -webkit-hyphens: auto;
            -ms-hyphens: auto;
        hyphens: auto;
          max-width: 100%;
  }

}









/* ADMIN */
.wp-block {
    max-width: none;
}
.editor-post-title__block .editor-post-title__input{
  font-weight: bold;
  color: rgb(0, 0, 0);
  text-align: left;
  margin-bottom: calc(50px + 5vh);
  max-width: 100%;
  border-bottom: 3px solid #f5f5f5;
}

.acf-block-preview .foto-links .foto-tekst_tekst,
.acf-block-preview .foto-rechts .foto-tekst_tekst{
  padding: 0 !important;
}

.acf-block-preview .foto-tekst_tekst{
  width: 100%
}
.acf-block-preview .opsomming_item_kleur{
  opacity: 1;
}
