/*
 Theme Name:   Impulsis-Grafik Child Theme
 Theme URI:	https://www.impulsis-grafik.ch
 Description:  Child Theme for impulsis-grafik
 Author:	   Rob Schneider
 Author URI:   https://www.impulsis.ch
 Template:	 bs4wpbt
 Version:	  1.0.1
 License:	  GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  impulsis-grafik-child
*/

:root {
  --gform-button-background: rgb(42, 148, 219);
  --gform-button-color: #fff;
}

body {
  background: #f9f8f6;
  font-family: helvetica, sans-serif;
  font-weight: regular;
  color: #000;
  padding: 20px 0 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0;
  line-height: 1.5rem;
  font-size: 1.05rem;
}

hr {
  border: 0;
  height: 1px;
  background: #000;
}

p:empty {
  display:none;
}

/* Logo */
.brand {
  width: calc(50% - 168px);
}

.brand .brand-inner {
  float: right;
  max-width: 320px;
  width: 100%;
}

.brand .logo {
  float: left;
  max-width: 175px;
}

.navi {
  width: calc(100% - calc(50% - 168px));
  max-width: 50em;
  float: left;
}

.navi-inner {
  text-align: right;
  margin: 40px 0 0 0;
}

.navi-inner a {
  text-align: right;
  color: #000;
  text-decoration: none;
  background-image: linear-gradient(#fff 50%, #000000 50%);
  background-repeat: repeat-x;
  background-size: 1px 3px;
  background-position: 0px 1.175rem;
  padding: 2px 0px;
}

.post {
  width: 100%;
}

/* Portfolio */
.wp-block-lazyblock-portfolio-block {
  width: 100%;
  margin: 0 0 3rem;
}

.wp-block-lazyblock-portfolio-block::after {
  display: block;
  clear: both;
  content: "";
}

.wp-block-lazyblock-portfolio-block hr {
  margin: 0 0 1rem;
}

.wp-block-lazyblock-portfolio-block h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.wp-block-lazyblock-portfolio-block p {
  max-width: 700px;
  margin: 0;
}

.wp-block-lazyblock-portfolio-block a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(#fff 50%, #000000 50%);
  background-repeat: repeat-x;
  background-size: 1px 3px;
  background-position: 0px 1.175rem;
  padding: 2px 0px;
}

.wp-block-lazyblock-portfolio-block .leftColumn {
  width: calc(50% - 168px);
  float: left;
  min-height: 1px;
}

.wp-block-lazyblock-portfolio-block .rightColumn {
  width: 100%;
  width: calc(100% - calc(50% - 168px));
  max-width: 50em;
  float: left;
}

.wp-block-lazyblock-portfolio-block .leftColumn .credits {
  float: right;
  max-width: 320px;
  width: 100%;
  padding-right: 1rem;
  box-sizing: border-box;
}

.wp-block-lazyblock-portfolio-block .leftColumn .credits h3 {
  margin: 0;
  font-weight: normal;
}

.wp-block-lazyblock-portfolio-block .leftColumn .credits hr {
  margin: 0.3rem 0;
}

.wp-block-lazyblock-portfolio-block .leftColumn .credits span {
  color: #999;
}

.projektHead h1,
.projektHead h2 {
  margin: 0;
}

.wp-block-lazyblock-portfolio-block .rightColumn h2:first-child {
  margin-top: 0;
}

.projektHead hr {
  margin: 0.3rem 0 0.7rem;
}

.projektContent img {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 1.2rem;
  height: auto;
}

.projektContent .iframecontainer {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
  margin-bottom: 1.2rem;
  background-color: #000;
}

.projektContent iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.projektContent .detailbeschreibung {
  margin: 1.2rem 0;
  padding: 0;
  visibility: hidden;
  height: 0;
  opacity: 0;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.projektContent .detailbeschreibung.show {
  display: block;
  min-height: 100px;
  height: auto;
  visibility: visible;
  opacity: 1;
}

.misha_loadmore{
  width: calc(80% - calc(168px + 320px));
  background-color: #ddd;
  border-radius: 0;
  text-align: center;
  font-weight: 800;
  letter-spacing:1px;
  cursor:pointer;
  padding: 10px 0;
  margin: 0 auto;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.misha_loadmore:hover{
  background-color: #bfc2c4;
}

.edit-post-link {
  text-decoration: none !important;
  background: none !important;
}

.carousel-indicators {
  bottom: 15px !important;
}

.carousel-indicators li {
  background-color: #000;
}

.carousel-control-next, .carousel-control-prev {
  background: transparent !important;
}

.gform_wrapper,
.page-schnuppern .wp-block-group {
  max-width: 900px;
  margin: 0 auto;
}

.gform_wrapper h2,
.page-schnuppern .wp-block-heading {
  font-size: 140%;
  margin-bottom: 20px;
}

.gform_wrapper fieldset,
.wpcf7-form -> p {
  margin: 20px !important;
}

.wpcf7-form label,
.wpcf7-form label input,
.wpcf7-form textarea {
  width: 100%;
  margin: 0;
  padding: 8px;
}

.wpcf7-form label {
  padding-left: 0;
  padding-right: 0;
}

.wpcf7-form textarea {
  height: 96px;
}

.gform_wrapper .gform_required_legend,
.gform_wrapper .gform_validation_errors {
  display: none;
}

.gform_button,
.wpcf7-submit {
  background: var(--gform-button-background);
  color: var(--gform-button-color);
  border: none;
  padding: 10px 15px;
}

.carousel-caption {
  text-shadow: 1px 1px 3px #333;
}

/* MEDIA QUERIES */

/* !Media max-width 736px */
@media only screen and (max-width: 750px) {
  :root {
  }
  .wp-block-lazyblock-portfolio-block {
    margin: 0 0 5rem;
  }
  .wp-block-lazyblock-portfolio-block .leftColumn,
  .wp-block-lazyblock-portfolio-block .rightColumn {
    width: 100%;
    float: none;
    max-width: 100%;
  }
  .credits {
    display: none;
  }
}

/* !Media max-width 414px */
@media all and (max-width: 414px) {
  :root {
  }
}

/* !Media max-width 378px */
@media all and (max-width: 378px) {
  :root {
  }
}
