/* - - - - - Responsive Styles- - - - - */

@media only screen and (max-width: 1750px) {
  .container {
    width: 100%;
  }
}

@media only screen and (max-width: 1280px) {
  header#page-header .container {
    background-position: right 5% top -90px;
    background-size: 500px;
  }
}

@media only screen and (max-width: 1160px) {
  .menu-toggle {
    display: block;
    border: 0;
    background: none;
    padding: 0;
    margin: -5px 0 0;
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 24px;
  }
  nav.primary-navigation ul {
    display: none;
    position: absolute;
    left: 0;
    top: 170px;
    bottom: unset;
    height: calc(100vh - 170px);
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: inset 0px 15px 25px -24px #000000;
    box-shadow: inset 0px 10px 20px -20px rgba(0,0,0,.25);
    text-align: unset;
    padding: 54px;
  }
  nav.primary-navigation ul li {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
  nav.primary-navigation ul li.menu-item-has-children span {
    background-image: url(../../img/expand.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: top 3px right;
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-left: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }
  nav.primary-navigation ul li a {
    text-align: left;
  }
  nav.primary-navigation ul li.menu-item-has-children:hover ul.sub-menu {
    position: unset;
    text-align: unset;
    background-color: unset;
    padding: unset;
    width: unset;
    top: unset;
    left: unset;
    padding-left: 20px;
  }
  nav.primary-navigation ul li.menu-item-has-children ul.sub-menu {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    height: unset;
    width: 100%;
    box-shadow: none;
    padding-left: 20px;
  }
  nav.primary-navigation ul li.menu-item-has-children ul.sub-menu li {
    margin: 0;
  }
  nav.primary-navigation ul li.menu-item-has-children ul.sub-menu li a {
    padding: 0;
    font-size: 16px;
    line-height: 28px;
  }
  .page-teaser {
    padding: calc(var(--gap) * 8) 0;
  }
  .page-teaser:not(.provider) .page-teaser-content {
    max-width: 100%;
  }
  .background-seperator {
    width: 15%;
  }
}

@media only screen and (max-width: 960px) {
  header#page-header .container {
    background-position: right -20px top -35px;
    background-size: 350px;
  }
}

@media only screen and (max-width: 768px) {
  .container {
    padding: 0 30px;
  }
  header#page-header .site-logo img {
    height: 50px;
  }
  header#page-header .container {
    padding: 22px 30px 0;
  }
  header#page-header .container {
    background-position: right -20px top -40px;
    background-size: 250px;
  }
  .menu-toggle {
    margin: 0px;
  }
  nav.primary-navigation ul {
    top: 94px;
    height: calc(100vh - 94px);
  }
  #content {
    padding-top: 94px;
  }
  .notice-article img {
    max-width: 35px;
  }
  .notice-article .notice-article-text p {
    font-size: 16px;
  }
  .notice-article .notice-article-text {
    padding: 4px 0 0 14px;
  }
  .notice-article {
    padding: 13px 0;
  }
  .menu-toggle {
    right: 30px;
  }
  footer#page-footer .row {
    flex-direction: column-reverse;
    grid-row-gap: 26px;
    /* align-items: center; */
  }
  footer#page-footer span.meta {
    text-align: center;
  }
  nav.footer-navigation ul li {
    width: 100%;
    margin-bottom: 12px;
    /* text-align: center; */
  }
  footer#page-footer .row > * {
    width: 100% !important;
  }
  footer#page-footer .row > img {
    width: 120px !important;
  }
  footer#page-footer {
    padding: 46px 0 46px;
  }
  .page-teaser {
    padding: calc(var(--gap) * 5) 0;
  }
  .lightweight-accordion .lightweight-accordion-title p,
  .lightweight-accordion .lightweight-accordion-title span,
  .lightweight-accordion .lightweight-accordion-title h1,
  .lightweight-accordion .lightweight-accordion-title h2,
  .lightweight-accordion .lightweight-accordion-title h3 {
    max-width: 80%;
    display: inline-block !important;
  }
  .provider-logo-wrapper {
    height: 225px;
    width: 50%;
    padding: 20px 2%;
    right: -100px;
  }
  .provider-logo-wrapper img {
    width: 100px;
    left: -20px;
    top: 10px;
    position: relative;
  }
  .background-seperator {
    display: none;
  }
  .page-teaser-content {
    max-width: 85%;
  }
}

@media only screen and (max-width: 650px) {
  .wp-block-cover {
    padding: calc(var(--gap) * 5) calc(var(--gap) * 3) calc(var(--gap) * 4);
  }
  .wp-block-cover .wp-block-columns {
    gap: 0;
  }
  .wp-block-cover.extended {
    background-position: right -20% top 75%;
    background-size: 350px;
  }
  .has-background {
    padding: calc(var(--gap) * 6) calc(var(--gap) * 5) calc(var(--gap) * 2);
  }
  .shortcode-personen-wrapper {
    gap: calc(var(--gap) * 3) calc(var(--gap) * 3);
  }
  .shortcode-personen-item {
    flex: 0 0 calc(100% / 1 - calc(var(--gap) * 4) / 1 * (1 - 1));
  }
  .provider-logo-wrapper {
    height: 150px;
    width: 50%;
    top: -35px;
    transform: rotate(15deg);
  }
  .provider-logo-wrapper img {
    width: 80px;
    height: auto;
    left: 35%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(-15deg) !important;
  }
}

@media only screen and (max-width: 480px) {
  header#page-header .container {
    background-image: none;
  }
  .provider-logo-wrapper {
    top: -40px;
  }
  .provider-logo-wrapper img {
    width: 120px;
    left: 20%;
    top: 12%;
  }
}
