/* Kontaktkachelblock */
.kk_container {
    background-color: white;
    min-height: 258px;
    max-width: 770px;
    margin: 50px auto 50px auto;
    text-align: center;
    border: 1px solid #F5F5F5;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.10);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.kk_titelrow {
    display: inline-flex;
    /* padding-top: 50px; */
}

.kk_icon {
    width: 24px;
    height: 24px;
    margin: 10px 15px;
}

.kk_icon-primary {
    width: 30px;
    height: 30px;
    margin: 7px 13px;
}

.kk_icon-primary img {
    vertical-align: middle;
}

.kk_titel {
    margin-top: 5px;
    margin-bottom: 20px;
}

.kk_titel h2 {
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 35px !important;
    letter-spacing: 0px;
}

.kk_untertitel {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 26px;
    font-family: Montserrat-Light;
}

.kk_container .button-primary {
    font-size: 20px;
    text-transform: uppercase;
    background-color: #0d6f93;
    font-family: Montserrat-SemiBold;
    font-weight: normal;
    padding: 15px 30px;
    display: inline-block;
    color: #FFF;
    letter-spacing: 0.67px;
    text-align: center;
    line-height: 22px;
    text-decoration: none !important;
}

.kk_container .button-primary:hover {
    opacity: 0.9;
}

/* If 2 columns than fewer gap between the divs */
.wp-block-column:not(:last-child) {
    margin-right: 16px;
}

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

.has-2-columns .kk_container {
    margin: 20px auto 20px auto;
    padding: 30px;
    /* padding-right: 30px; */
    /* padding-bottom: 30px; */
    min-height: 280px;
}

.has-2-columns .kk_container:last-child {
    margin-bottom: 60px;
}

.single-post_kontaktkacheln .kontaktkachel {
    max-width: 585px;
    margin: auto;
    width: 100%;
}

.single-post_kontaktkacheln .kontaktkachel .kk_container {
    min-height: 290px;

}

.single-post_kontaktkacheln.one {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.single-post_kontaktkacheln.one .kk_container {
    padding: 30px;
}

.has-2-columns.single-post_kontaktkacheln .kk_container:last-child {
    margin-bottom: 30px;
}

.has-2-columns.single-post_kontaktkacheln {
    display: inline-flex;
    width: 100%;
}

.kontaktkachel.kk1 {
    float: left;
}

.kontaktkachel.kk2 {
    float: right;
    margin-left: 30px;
}

/* .kk_container .kk_button {
    margin-bottom: 20px;
} */

.has-2-columns .kk_container .button-primary {
  margin-bottom: 0;
}

.wp-block-columns.has-2-columns .kk_container .kk_button {
    margin-bottom: 0px;
}

@media only screen and (max-width: 920px) {

  .kk_container {
    padding: 20px 10px;
    min-height: inherit;
  }

  .archive-container .html_notice_block .kk_container {
    margin-top: 10px;
    max-width: 100%;
  }

  .kk_titelrow {
    display: block;
    /* padding-top: 30px; */
  }

  .kk_icon-primary {
    margin: 10px auto;
    margin-top: 0;
  }

  .kk_titel {
    margin-bottom: 20px;
  }

  .kk_container .kk_button {
      margin-bottom: 0px;
  }

  .kk_untertitel {
    margin-bottom: 20px;
  }

  .has-2-columns .kk_container {
    margin: 20px auto;
    max-width: inherit;
    min-height: inherit;
  }

  .has-2-columns .wp-block-column:first-child .kk_container:first-child {
    margin-top: 40px;
  }

  .has-2-columns .wp-block-column:last-child .kk_container:last-child {
    margin-bottom: 40px;
  }

  .has-2-columns .wp-block-column {
    margin-left: 0 !important;
  }

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

  .has-2-columns .kk_container:last-child {
    margin-bottom: 20px;
  }

  .has-2-columns.single-post_kontaktkacheln {
    display: contents;
  }

  .single-post_kontaktkacheln .kontaktkachel {
    margin-left: auto !important;
    margin-right: auto;
  }

  .single-post_kontaktkacheln .kontaktkachel .kk_container {
    min-height: inherit;
  }
}

@media only screen and (max-width: 620px) {
  .html_notice_block {
    padding-top: 20px;
  }
}
