/*
Theme Name: kpot theme
Author: kpot
Author URI: https://kpot.be/
Version: yalora v2;
*/


/* main is not supported in IE -> fix */

main {
    display: block;
}

/* EDIT ICON */

.editpost {
    position: fixed;
    bottom: 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 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.grecaptcha-badge{
	display: none;
}
body {
    font-family: 'AvertaPE-Regular', 'helvetica', 'arial', sans-serif;
    line-height: 1.6;
    letter-spacing: 1;
    -webkit-animation: fadein 1s;
    animation: fadein 1s;
    overflow-x:hidden;
}

.logo a {
    width: 135px;
    height: 65px;
    display: block;
    background-image: url(/wp-content/uploads/2018/07/yalora.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999999999999;
}

.logo span {
    display: none;
}

.contact-nav a {
    width: 165px;
    height: 80px;
    display: block;
    background-image: url(/wp-content/uploads/2018/07/contact.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999999999;
}

.contact-nav span {
    display: none;
}

h1,
h2,
nav {
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    font-size: 30px;
    text-align: center;
    margin: 35px 0 30px 0;
}

h2 {
    margin: 90px 0 40px 0;
    text-align: center;
}

.blog .archive_element h2,
.page-id-16 h2 {
    text-align: left;
}

h2,
h3,
h4,
h5,
h6,
nav {
    font-size: 20px;
}

p {
    line-height: 20px;
    margin: 15px 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    color: #888888;
}

.slanted a:hover span {
    transform: rotate(14deg);
    display: inline-table;
    transform-origin: 3px;
}

.slanted a {
    display: inline-block;
}

textarea,
select,
input,
button {
    font-family: 'AvertaPE-Regular', 'helvetica', 'arial', sans-serif;
    font-size: 16px;
    line-height: 22px;
    outline: none;
}

.wp-block-image img {
    height: auto;
}

.max-width-375 {
    max-width: 375px;
}

.content {
    max-width: 800px;
    margin: calc(80px + 4vh) auto !important;
    padding: 0 30px;
}

.content div:first-child div:first-child :first-child,
.content div:first-child :first-child,
.content div:first-child {
    margin-top: 0;
}

.content .wp-block-button .wp-block-button__link {
    margin: 20px 0 !important;
    min-width: 200px;
}

.blog .content,
.post-type-archive .content {
    max-width: 1100px;
}

strong,
b {
    font-family: 'AvertaPE-Semibold', 'AvertaPE-Regular', 'helvetica', 'arial', sans-serif;
    font-weight: 500;
}

.no-margin p,
.no-margin li {
    margin: 0;
}


/* footer{
  margin-bottom: 0px;
} */

footer {
    max-width: 1040px;
    border-top: 1px solid;
    margin: 30px;
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 30px auto 0 auto;
    margin-right: auto;
    font-size: 16px;
}

.home footer {
    display: none;
}

.page .site-content li::before,
.single .site-content li::before {
    display: inline-block;
    content: '';
    height: 1px;
    width: 10px;
    background-color: #000;
    margin: 0 10px 3px -20px;
}

.page .site-content li,
.single .site-content li {
    margin-left: 23px;
}

.blocks-gallery-item {
    margin-left: 0 !important;
}

.blocks-gallery-item::before {
    display: none !important;
}

.wp-block-gallery {
    margin-top: 30px;
}

.button,
.wp-block-button__link,
input[type=submit] {
    background-color: transparent;
    border: 2px solid black;
    border-radius: 0px;
    display: inline-block;
    min-width: 150px;
    margin: 30px 10px;
    padding: 15px 20px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    color: #000 !important;
}

.button:hover,
.wp-block-button__link:hover,
input[type=submit]:hover {
    background: #000;
    color: #fff !important;
}

.wp-block-button {
    display: flex;
    justify-content: center;
}


/* HEADER */

.site-header {
    position: absolute;
    z-index: 999999;
    width: 100%;
    top: 30px;
}

nav {
    position: absolute;
    right: 30px;
    margin: 0;
    text-align: right;
}

.funky-o .high-o {
    -webkit-transform: rotate(30deg) translate(-4px, -6px);
    -ms-transform: rotate(30deg) translate(-4px, -6px);
    transform: rotate(30deg) translate(-4px, -6px);
    display: inline-block;
}

.open_mobile_nav {
    display: none !important;
}


/* HOME */

iframe {
    max-width: 80vw;
    max-height: 80vw;
}

.nextUrl {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9;
}

.merken_group {
    cursor: pointer;
}

.merkTitle {
    margin: 0;
    position: absolute;
    text-transform: uppercase;
    /* letter-spacing: 6px; */
    z-index: 999999;
    /* transition: all 0.2s ease-out; */
    top: 50vh;
    left: 50vw;
    text-align: left;
    line-height: 25px;
}

.home main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.img-element .merkAsset {
    width: 100%;
    height: 100%;
    background-size: contain, 170px 67.5px;
    background-repeat: no-repeat;
    background-position: left, center;
}

.img-element {
    z-index: 1;
}

.img-element,
.video-element {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.visible.img-element,
.visible.video-element {
    opacity: 1;
}


/* LOCKDOWN POPUP*/

#sgpb-popup-dialog-main-div {
    border-radius: 0px !important;
    padding-bottom: 0 !important;
    box-shadow: rgba(0, 0, 0, .6) 0 0 0 4px !important;
    border-bottom-width: 0px !important;
    border-bottom-color: #fff !important;
    max-width: 65vw !important;
}

.sgpb-popup-dialog-main-div-theme-wrapper-1 {
    top: 10vh !important;
}

.overlay {
    background-color: #fff;
    z-index: 9;
    width: 100%;
    height: 100%;
    /* animation: 0.4s ease-out 0s 1 moveUp; */
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.animate.overlay {
    -webkit-animation: 0.4s ease-out 0s 1 moveUp;
    animation: 0.4s ease-out 0s 1 moveUp;
}


/* .hide.overlay{
  transform: translateY(0);
} */

@-webkit-keyframes moveUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes moveUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.lazyloading {
    background-size: 75px !important;
}

.iframeWrapper {
    padding: 0 !important;
}

.merkAsset {
    position: relative;
}

.hidden {
    display: none;
}

.loader {
    /* display: none; */
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -999999;
    background-color: #fff;
    opacity: 0;
    background-size: 150px;
    /* background-color: rgba(255,255,255,0.5); */
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* ARCHIVE */

.archive_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: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


/* .merken.archive_container{
  -webkit-box-pack: start;
     -ms-flex-pack: start;
   justify-content: flex-start;
} */

.archive_element {
    width: calc(50% - 15px);
    margin: 30px 30px 30px 0;
}

.archive_element:nth-child(2n) {
    margin-right: 0;
}

.archive_element:first-child,
.archive_element:nth-child(2) {
    margin-top: 0;
}

.archive_element p {
    margin-top: 30px;
}

.archive_element_image {
    display: block;
    background-size: cover;
    background-position: center;
    background-color: #f1f1f1;
    width: 100%;
    height: 350px;
    opacity: 1;
    transition: all 0.2s;
}

.archive_element a:hover .archive_element_image,
.archive_element_image:hover {
    opacity: 0.6
}

.archive_element h2 {
    margin: 30px 0 0 0;
}

.archive_element h3 {
    line-height: 1;
}

.post-type-archive-merken .archive_element {
    text-align: center;
    width: calc(25% - 23px)
}

.post-type-archive-merken .archive_element_image {
    height: 250px;
}

.post-type-archive-merken .archive_element:nth-child(3),
.post-type-archive-merken .archive_element:nth-child(4) {
    margin-top: 0;
}

.post-type-archive-merken .archive_element:nth-child(2n) {
    margin-right: 30px;
}

.post-type-archive-merken .archive_element:nth-child(4n) {
    margin-right: 0;
}

.post-type-archive-producten .archive_element {
    text-align: center;
}

.wp-block-button__link {
    font-size: 16px !important;
}

/* FORM */

.wpcf7 label {
    display: none;
}

input {
    border: none;
}

input[type=email] {
    color: #989898;
    border-bottom: 2px solid black;
    width: 200px;
    padding: 0;
}

input[type=submit] {
    margin: 0;
}


/* MOBILE */

@media (max-width: 1100px) {
    .archive_element_image {
        height: 30vw;
    }
    footer {
        -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;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .post-type-archive-merken .archive_element:nth-child(2n) {
        margin-right: 0;
    }
    .post-type-archive-merken .archive_element_image {
        height: 43vw;
    }
    .post-type-archive-merken .archive_element {
        width: 48%;
        margin: 30px 0;
    }
    .archive_element .button {
        margin: 15px;
    }
}

@media (max-width: 750px) {
    /* no image in lockdown popup*/
    .sgpb-main-html-content-wrapper .wp-block-column:first-of-type {
        display: none !important;
    }
    .sgpb-main-html-content-wrapper .wp-block-column {
        flex-basis: 100% !important;
    }
    .sgpb-popup-dialog-main-div-theme-wrapper-1 {
        top: 20vh !important;
    }
}

@media (max-width: 750px) {
    .content {
        margin: 50px auto !important;
    }
    .open_mobile_nav {
        display: inline-block !important;
        position: relative;
        z-index: 999;
    }
    .menu {
        position: fixed;
        padding: 110px 5vw 30px 5vw;
        background: #fff;
        width: calc(100vw - 10vw);
        height: calc(100vh - 10vw);
        left: 0;
        top: 0;
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    .menu.open {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .site-header {
        margin-top: 10px;
    }
    nav {
        right: 5vw;
    }
    .site-content {
        padding-top: 100px;
    }
    .content {
        padding: 0 5vw;
    }
    .menu li {
        margin-bottom: 10px;
    }
}

@media (max-width: 650px) {
    .flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .flex>* {
        width: 100%;
    }
    .img-element,
    .video-element .merkAsset {
        min-width: 80vw;
    }
    .archive_element {
        width: 100%;
        margin-right: 0;
    }
    .archive_element_image {
        height: 52vw;
    }
    .archive_element h2 {
        margin: 15px 0 0 0;
    }
}

@media (max-width: 600px) {
    .content div:first-child h2:first-child {
        margin-top: 75px;
    }
}