/*
Theme Name: Kathrin Schmidt Fotografie
Theme URI: http://zurmitte.de
Author: Elmastudio
Author URI: http://www.elmastudio.de/en/
Description: The child theme Kathrin Schmidt Fotografie
Template: ubud
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"),
       url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Inter-Italic.woff2?v=3.19") format("woff2"),
       url("assets/fonts/Inter-Italic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"),
       url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"),
       url("assets/fonts/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
}

body {
	font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #000;
}

h1, h2, h3, h4, h5, h6,
input,
textarea,
input[type="button"],
input[type="submit"],
.search-wrap #searchform input#s,
#primary .sharedaddy h3.sd-title {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#wrapper {
  background: #FFF;
  overflow-x: hidden;
}

.page .entry-content .archive a,
.page .entry-content .archive a:hover,
.single-jetpack-portfolio .entry-content .archive a,
.single-jetpack-portfolio .entry-content .archive a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  -webkit-hyphens: manual;
  -moz-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

.hide-search-in-header .search-wrap,
.single-jetpack-portfolio .grid-switcher,
.single-jetpack-portfolio .entry-thumbnail,
.single-jetpack-portfolio .entry-header #nav-single,
.single-jetpack-portfolio .entry-header .entry-details,
.jetpack-portfolio-archive .entry-details {
  display: none;
}

.single-jetpack-portfolio.archive .site-content .post .entry-content,
.single-jetpack-portfolio .entry-content .entry-thumbnail {
  display: block;
}

.single-jetpack-portfolio .entry-header h1.entry-title {
  margin-bottom: 34px;
}

.single-jetpack-portfolio #primary > .post {
  float: none;
}

.single-jetpack-portfolio .parent-backlink {
  border-top: 1px solid #000;
  padding-top: 20px; 
}

.single-jetpack-portfolio .parent-backlink a,
.single-jetpack-portfolio .parent-backlink a:hover {
  text-decoration: none;
}

.single-jetpack-portfolio #primary > .post {
  margin-bottom: 0;
}

.single-jetpack-portfolio #primary {
  padding-bottom: 20px;
}

.single-jetpack-portfolio #colophon {
  padding-top: 0;
}

/* Block Editor */
.entry-content > .alignfull {
	width: 100vw;
	left: calc(-50vw + 50%);
}

/* Thickbox */
#TB_window {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#TB_window img#TB_Image {
  border: 0;
}

 #TB_prev a, #TB_next a {
  position: absolute;
  left: -3%;
  top: 0;
  width: 53%;
  height: 100%;
  overflow: hidden;
  display: block;
}

 #TB_prev:only-child a, #TB_next:only-child a {
   width: 106%;
 }

#TB_next a {
  left: auto;
  right: -3%;
}

 #TB_prev a:before, #TB_next a:before {
  font-family: 'dashicons';
  font-size: 36px;
  color: #FFF;
  content: '\f341';
  position: relative;
  width: 100%;
  height: 100%;
  padding: 35vh 0 0 0;
  overflow: hidden;
  display: block;
}

/*#TB_prev:only-child a:before, #TB_next:only-child a:before {
  padding-top: 30%;
}*/

#TB_next a:before {
 content: '\f345';
 text-align: right;
}

#TB_caption {
  font-size: 0.875rem;
  color: #FFF;
  height: auto;
  padding-left: 15px;
}

#TB_closeWindow {
  position: absolute;
  right: 10px;
  top: -32px;
}

#TB_closeWindowButton .tb-close-icon,
#TB_closeWindowButton:hover .tb-close-icon,
#TB_closeWindowButton:focus .tb-close-icon {
  color: #FFF;
}

.tb-close-icon:before {
  font-size: 32px;
}

/* Flexslider */
.flexslider {
  border-radius: 0;
  padding: 5px;
  border: 0;
}

.layout-carousel .flexslider {
  border: 1px solid #dedede;
}

.flex-direction-nav .flex-prev {
  left: 0 !important;
}

.flex-direction-nav .flex-next {
  right: 0 !important;
}

.flex-direction-nav a {
  height: 60px;
}

.flex-direction-nav a:before {
  font-family: 'dashicons';
  font-size: 36px;
  color: #2b2b2b;
  content: '\f341';
  text-shadow: none;
}

.flex-direction-nav a.flex-next:before {
  content: '\f345';
}

.flexslider:hover .flex-direction-nav .flex-prev,
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 1;
}

.entry-content .page-gallery-wrapper li a {
  box-shadow: none;
}

.entry-content .page-gallery-wrapper ul li {
  position: static;
}

.entry-content .page-gallery-wrapper ul li a {
  box-shadow: none;
}

.entry-content .page-gallery-wrapper ul,
.entry-content .page-gallery-wrapper ol {
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
}

.entry-content .page-gallery-wrapper ul li,
.entry-content .page-gallery-wrapper ol li {
  padding: 0;
  margin-bottom: 0;
}

.entry-content .page-gallery-wrapper ul li:before {
  display: none;
}

.flex-direction-nav a {
  opacity: 1;
}

.flex-control-nav,
.flex-direction-nav {
  display: none;
}

.show-navigation .flex-control-nav,
.show-navigation .flex-direction-nav {
  display: block;
}

/* Flexslider */
.loading .flex-viewport {
  max-height: none;
}

/* Flexslider Header Slider */
.layout-header-slider .flexslider {
  padding: 0;
  border: 0;
}

.layout-header-slider .wp-block-cover img.wp-block-cover__image-background {
  height: 100%;
  width: 100%;
  max-width: none;
}

.layout-header-slider .single-image h1,
.layout-header-slider .single-image h2 {
  color: #FFF;
  font-size: 32px;
  display: inline-block;
  padding: 5px 10px 8px;
  background-color: rgba(0,0,0,0.5);
}

.layout-header-slider .single-image .wp-block-button__link {
  border: none;
  border-radius: 4px;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  margin: 0 0.125em;
  padding: 10px 18px;
  text-decoration: none;
}

.layout-header-slider .single-image .wp-block-button a {
  color: #FFF;
}

.layout-header-slider .spacer-image {
  visibility: hidden;
  height: 280px;
  width: 100%;
  max-width: none;
}

.flexslider-loaded .layout-header-slider .spacer-image {
  display: none;
}

.layout-header-slider .page-gallery {
  max-height: 0px;
  overflow: hidden;
}

.flexslider-loaded .layout-header-slider .page-gallery {
  max-height: 10000em;
  overflow: hidden;
}

/* Flexslider Carousel */
.flexslider-carousel {
  margin: -1px 0 0;
  position: relative;
}

.flexslider-carousel .slides img {
  padding: 5px;
  border: 1px solid #dedede;
  max-width: none;
  width: 100%;
}

.carousel-no-border .flexslider-carousel .slides img {
  border: 0;
}

.flexslider-carousel .slides li:hover {
  cursor: pointer;
}

.flexslider-carousel .slides li:not(:first-child) img {
  border-left: 0;
}

.layout-carousel .flex-control-nav {
  display: none;
}

.layout-carousel .flexslider {
  margin-bottom: 0;
}

.layout-only-carousel .flex-viewport {
  width: 210px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.layout-only-carousel .flexslider-carousel .slides li:hover {
  cursor: auto;
}

.layout-only-carousel .flexslider-carousel .slides img {
  padding: 0;
  border:0;
}

/* Royal Slider */
.page-slider-wrapper {
  margin-bottom: 60px;
}

.alignfull.rsDefault .rsFullscreenBtn {
  right: 24px;
}

.visibleNearby {
  width: 100%;
  background: #141414;
  color: #FFF;
  padding-top: 25px;
}

.visibleNearby img,
.visibleNearby .rsSlide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.visibleNearby .rsGCaption {
  font-size: 16px;
  line-height: 18px;
  padding: 12px 0 16px;
  background: #141414;
  width: 100%;
  position: static;
  float: left;
  left: auto;
  bottom: auto;
  text-align: center;
}

.visibleNearby .rsGCaption span {
  display: block;
  clear: both;
  color: #bbb;
  font-size: 14px;
  line-height: 22px;
}

.royalSlider > .rsImg {
  visibility:hidden;
}


/* Scaling transforms */
.visibleNearby .rsSlide img {
  opacity: 0.45;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;

  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}

.visibleNearby .rsActiveSlide img {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* White Backgrounds */
.rsDefault:not(.rsFullscreen), .rsDefault:not(.rsFullscreen) .rsOverflow, .rsDefault:not(.rsFullscreen) .rsSlide, .rsDefault:not(.rsFullscreen) .rsVideoFrameHolder, .rsDefault:not(.rsFullscreen) .rsThumbs,
.visibleNearby:not(.rsFullscreen),
.visibleNearby:not(.rsFullscreen) .rsGCaption,
.square-fit.jetpack-portfolio-archive.grid-view .site-content .post .entry-thumbnail a.thumb-img {
  background-color: #FFF !important;
}

.rsDefault:not(.rsFullscreen) .rsGCaption {
  color: #000;
}

/* Media Queries */
@media screen and (min-width: 460px) {
  .layout-only-carousel .flex-viewport {
    width: 420px;
  }
}

@media screen and (min-width: 635px) {
  #site-title h1 {
    font-size: 36px;
    font-size: 2.25rem;
    letter-spacing: -1px;
  }
}

@media screen and (min-width: 670px) {
  .layout-only-carousel .flex-viewport {
    width: 630px;
  }
}

@media screen and (min-width: 767px) {
  #colophon {
    padding-top: 60px;
  }

	.wp-block-column:not(:last-child) {
		margin-right: 0;
	}

	.wp-block-column:not(:first-child),
	.wp-block-column:nth-child(2n) {
		margin-left: 0;
	}

	.wp-block-column:nth-child(odd) {
		margin-right: 0;
	}

  .layout-header-slider .single-image h1,
  .layout-header-slider .single-image h2 {
    font-size: 48px;
  }

  .layout-header-slider .spacer-image {
    height: auto;
  }
}

@media screen and (min-width: 880px) {
  .layout-only-carousel .flex-viewport {
    width: 840px;
  }
}

@media screen and (min-width: 1100px) {
  .layout-only-carousel .flex-viewport {
    width: 1060px;
  }
}

@media screen and (min-width: 1200px) {
  .site-content .page {
    max-width: 100%;
  }

  .list-view .type-jetpack-portfolio:not(.post) > .entry-header,
  .list-view.single-jetpack-portfolio .has-slider .entry-header {
    float: none;
    margin-left: 0;
  }

  .list-view.single-jetpack-portfolio .list .has-slider .entry-header {
    float: left;
    margin-left: 2.6822%;
  }

  .list-view.single-jetpack-portfolio #primary {
    border-top: 0;
    padding-top: 0;
  }

  .list-view.single-jetpack-portfolio .site-content article.post.has-slider {
    border-bottom: 0;
    padding-bottom: 0;
  }
  
  .list-view.single-jetpack-portfolio .site-content .list article.post.has-slider {
    border-bottom: 1px solid #777;
    padding-bottom: 35px;
  }

  .list-view .site-content article.post:first-child {
    border-top: 1px solid #777;
    padding-top: 35px;
  }

  .list-view .site-content article.post:last-child,
  .list-view.single-jetpack-portfolio .site-content .list article.post.has-slider:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .list-view .site-content article.post.has-slider .entry-details {
    display: none;
  }

  .list-view .site-content article.pos.has-slider h2.entry-title, 
  .list-view .site-content article.post.has-slider .entry-content {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  .grid-view.blog .entry-header, .grid-view .archive .entry-header , .grid-view.archive .entry-header, .grid-view.search-results .entry-header {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
  }

  .grid-view.blog .entry-header .entry-title, .grid-view .archive .entry-header .entry-title, .grid-view.archive .entry-header .entry-title, .grid-view.search-results .entry-header .entry-title {
    height: 100%;
    width: 100%;
    display: flex;
  }

  .grid-view.blog .entry-header a, .grid-view .archive .entry-header a, .grid-view.archive .entry-header a, .grid-view.search-results .entry-header a {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .grid-view .entry-header h2.entry-title a:hover {
    color: #000;
  }

  .page .entry-content > *:not(.alignfull):not(.alignwide),
  .single-jetpack-portfolio .entry-content > *:not(.alignfull):not(.alignwide) {
  	max-width: 935px;
  }

  #footer-sidebar-one, #footer-sidebar-two, #footer-sidebar-three {
    padding-bottom: 60px;
  }

  .show-grid-switch .grid-switcher {
    display: block;
  }

  .hide-search-in-header .grid-switcher {
    float: right;
  }

  .page.jetpack-portfolio-archive.list-view .entry-header {
    width: 79.3103%;
    margin-left: 2.6822%;
  }

  .jetpack-portfolio-archive.list-view .site-content article.post .entry-details {
    display: none;
  }

  .square-fit.jetpack-portfolio-archive.grid-view .site-content .post .entry-thumbnail a.thumb-img {
    text-align: center;
    background-color: #c8c8c8;
  }

  .square-fit.jetpack-portfolio-archive.grid-view img.wp-post-image {
    max-height: 100%;
    width: auto;
    vertical-align: top;
  }

  .square-fit.jetpack-portfolio-archive.grid-view img.wp-post-image.landscape,
  .square-fit.jetpack-portfolio-archive.grid-view img.wp-post-image.square {
    vertical-align: middle;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.two-column .site-content article.post {
    max-width: 48.6590037%;
    width: 48.6590037%;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.three-column .site-content article.post {
    max-width: 31.571%;
    width: 31.571%;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.four-column .site-content article.post {
    max-width: 22.9885%;
    width: 22.9885%;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.five-column .site-content article.post {
    max-width: 17.854405%;
    width: 17.854405%;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.two-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 635px;
    line-height: 635px;
    height: 45.66vw;
    line-height: 45.66vw;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.three-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 412px;
    line-height: 412px;
    height: 29.83vw;
    line-height: 29.83vw;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.four-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 300px;
    line-height: 300px;
    height: 21.66vw;
    line-height: 21.66vw;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.five-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 233px;
    line-height: 233px;
    height: 16.75vw;
    line-height: 16.75vw;
  }

	.two-column:not(.list-view) .site-content .archive article.post {
		max-width: 48.6590037%;
	}
	.two-column:not(.list-view) .site-content .archive article.post:nth-of-type(even) {
		float: right;
	}
	.three-column:not(.list-view) .site-content .archive article.post {
		max-width: 31.571%;
	}
  .three-column:not(.list-view) .site-content .archive article.post:nth-of-type(3n+1) {
		margin-right: 2.682%;
		clear: left;
	}
	.three-column:not(.list-view) .site-content .archive article.post:nth-of-type(3n+3) {
		float: right;
		clear: right;
	}
	.four-column:not(.list-view) .site-content .archive article.post {
		max-width: 22.9885%;
	}
	.four-column:not(.list-view) .site-content .archive article.post:nth-of-type(4n+1) {
		margin-right: 2.682%;
		clear: left;
	}
	.four-column:not(.list-view) .site-content .archive article.post:nth-of-type(4n+2) {
		margin-right: 2.682%;
	}
	.four-column:not(.list-view) .site-content .archive article.post:nth-of-type(4n+4) {
		float: right;
		clear: right;
	}
	.five-column:not(.list-view) .site-content .archive article.post {
		max-width: 17.854405%;
	}
	.five-column:not(.list-view) .site-content .archive article.post:nth-of-type(5n+1) {
		margin-right: 2.682%;
		clear: left;
	}
	.five-column:not(.list-view) .site-content .archive article.post:nth-of-type(5n+2),
	.five-column:not(.list-view) .site-content .archive article.post:nth-of-type(5n+3) {
		margin-right: 2.682%;
	}
	.five-column:not(.list-view) .site-content .archive article.post:nth-of-type(5n+5) {
		float: right;
		clear: right;
	}
}

@media screen and (min-width: 1360px) {
  .square-fit.jetpack-portfolio-archive.grid-view img.wp-post-image.square {
    vertical-align: top;
  }

  #container {
    max-width: 1980px;
  }

  .menu-wrap, #footer-sidebar-wrap, #site-info {
    max-width: 1920px;
  }

  #masthead, #main-wrap {
    max-width: 1920px;
  }

  #masthead, #main-wrap, #colophon, .menu-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (min-width: 1964px) {
  #masthead, #main-wrap, #colophon, .menu-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.two-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 934px;
    line-height: 934px;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.three-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 606px;
    line-height: 606px;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.four-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 441px;
    line-height: 441px;
  }

  .square-fit.jetpack-portfolio-archive.grid-view.five-column .site-content .post .entry-thumbnail a.thumb-img {
    height: 343px;
    line-height: 343px;
  }
}

/* Non-linear resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 900px) {
  .page-slider-wrapper {
    padding: 12px 0 12px;
  }

  .page-slider-wrapper .rsOverflow,
  .royalSlider.page-slider-wrapper {
    height: 400px !important;
  }
}

@media screen and (min-width: 0px) and (max-width: 500px) {
  .page-slider-wrapper .rsOverflow,
  .royalSlider.page-slider-wrapper {
    height: 300px !important;
  }
}
