/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 4.4
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Menu fix for tablet */
.off-canvas-center .mfp-content {
  inset: 0px;
  position: fixed;
  display: grid;
  place-content: center;
}
/* General styles */
.button.is-outline,
input[type="button"].is-outline,
input[type="reset"].is-outline,
input[type="submit"].is-outline {
  border: 1px solid;
}
.button i,
button i {
  top: 0;
}
/* Hide Google recaptcha v3 badge */
.grecaptcha-badge {
  visibility: hidden;
}

/* Main menu & lightbox backdrop, for readability */
.has-off-canvas main,
.mfp-zoom-out-cur main {
  transition: filter 0.2s ease-out;
  filter: blur(5px);
}
/* About me styles */
#main .wn-bilderamme {
  position: absolute;
  top: -8.3%;
  left: -13.5%;
  width: 127%;
}
.wn-silvia-bilde {
  margin-top: 20px;
}

/* Main gallery page */
.wn-gallery-portfolio .image-cover {
  padding-top: 0 !important;
}
.wn-gallery-portfolio .image-cover img {
  position: relative;
}
/* Single gallery page styles */
.wn-portfolio-single-image-wrapper {
  position: relative;
  overflow: hidden;
}
.wn-portfolio-share {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.wn-portfolio-share,
.wn-portfolio-share .is-outline {
  color: #757575;
}
.wn-portfolio-share .social-icons {
  margin-left: 5px;
}
.wn-portfolio-share .social-icons a {
  margin: 0;
}
.wn-portfolio-share .social-icons a + a {
  margin-left: 0.24em;
}
.portfolio-element-wrapper.has-filtering .filter-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
}
.wn-portfolio-for-sale-banner {
  position: absolute;
  top: 20px;
  left: -60px;
  z-index: 1;
  display: block;
  transform: rotate(-45deg);
  background: #383838;
  padding: 5px;
  width: 200px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}
.wn-portfolio-for-sale-banner.wn-for-sale {
  background: #3a5631;
}
.wn-portfolio-for-sale-banner:hover {
  color: #fff;
}
i.wn-portfolio-zoom-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: #383838;
  color: #fff;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.wn-portfolio-single-image-wrapper:hover .wn-portfolio-zoom-icon {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s;
}

/* Front page featured gallery categories */
.wn-featured-gallery-categories .text-box,
.wn-featured-gallery-categories .text-box-content,
.wn-featured-gallery-categories .text-inner,
.wn-featured-gallery-categories .button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  border: 0;
  height: 100%;
  width: 100%;
}

.wn-featured-gallery-categories .button {
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7), 5px 5px 16px rgba(0, 0, 0, 0.6);
}

/* Front page quote */
.wn-banner-quote h2,
.wn-banner-quote blockquote {
  border-left: none;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9), 0 0 5px rgba(0, 0, 0, 0.8),
    5px 5px 16px rgba(0, 0, 0, 0.8);
}
.wn-banner-quote img {
  opacity: 0.8;
}
.wn-quote-mark {
  position: absolute;
  top: 55px;
  left: -25px;
}
.wn-quote-mark img {
  opacity: 0.4;
}
/* Blog post signature */
.wn-post-signature {
  margin: 50px 0;
}
.wn-post-signature img {
  width: 100%;
  max-width: 250px;
}
/* Footer recent blog posts */
.flatsome_recent_posts .post_comments {
  display: none;
}
.flatsome_recent_posts .recent-blog-posts {
  align-items: center !important;
}
.flatsome_recent_posts .recent-blog-posts a {
  margin: 0;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  /* Some weird fix for front page gallery categories to avoid scrollbars */
  .wn-featured-gallery-categories .banner-layers {
    overflow: hidden;
  }
}
