.participation { .progress { position: relative; width: 150px; height: 14px; border-radius: 7px; background-color: $color-primary-light-03; background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03); overflow: hidden; font-size: 0; line-height: 0; margin: 8px -1px 0; @media(max-width: 767px) { margin-top: 5px; } .bar { position: absolute; display: block; height: 100%; border-top-right-radius: 7px; border-bottom-right-radius: 7px; background-color: $color-primary; background-color: var(--theme-color-primary, $color-primary); } } .badge { position: relative; display: inline-block; vertical-align: top; min-width: 32px; height: 32px; background-color: $color-primary-light-03; background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03); font-size: 22px; line-height: 32px; text-align: center; border-radius: 16px; font-weight: 600; padding: 0 8px; margin-left: 5px; } &.p-stage { background-image: url('../../../img/beteiligung-cover.jpg'); background-size: cover; color: white; min-height: calc(18vw + 300px); display: flex; align-items: center; margin-top: 0; //@include font-small; .btn { margin-top: 24px; } .text-box { max-width: 580px; padding: calc(30px + 1vw) 0; } a:not(.btn) { color: white; + .btn { margin-left: 30px; } } .progress { background-color: rgba(#fff, 0.4); span { background-color: #fff; } + h1, + .text-2 { margin-top: 0.7em; } } &.image-stage { position: relative; background-image: none; background-color: $color-primary; background-color: var(--theme-color-primary, $color-primary); overflow: hidden; z-index: 1; &::before { content: ""; position: absolute; left: 0; right: 50%; top: 0; bottom: 0; margin: -15% 0 -15% 0; background-color: $color-primary; background-color: var(--theme-color-primary, $color-primary); border-top-right-radius: 28% 50%; border-bottom-right-radius: 28% 50%; min-width: 650px; } .text-box { position: relative; } .image-box { position: absolute; left: 45%; right: 0; top: 0; bottom: 0; z-index: -1; img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; } } @media(max-width: 1200px) { &::before { min-width: 560px; } .text-box { max-width: 480px; } } @media(max-width: 999px) { padding-bottom: 75%; &::before { top: 0; bottom: 0; left: 0; right: 0; margin: 0 -28% 67%; border-radius: 0; border-bottom-left-radius: 50% 28%; border-bottom-right-radius: 50% 28%; min-width: 0; } .col { padding-bottom: 0; } .image-box { position: absolute; top: auto; left: 0; &::before { content: ''; position: relative; display: block; padding-top: 75%; } img { position: absolute; top: 0; left: 0; } } .text-box { max-width: none; margin-bottom: 0; padding-bottom: 24px; } } } } &.p-tiles { position: relative; display: block; padding: calc(2% + 20px) 0; margin-top: 40px; background-color: $color-primary-light-04; background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04); @include font-small; .overflow-wrapper { overflow-x: auto; padding: 10px 0; margin: -5px 0; } @media(max-width: 767px) { margin-top: 24px; } .like-h2 { margin-bottom: 0.2em; } .row { flex-wrap: nowrap; @media(max-width: 999px) { &::after { content: ''; position: relative; display: block; min-width: 50px; } } @media(max-width: 767px) { margin-left: -6px; margin-right: -6px; } } .col { position: relative; display: flex; flex: 1 1 33.3333%; max-width: 33.3333%; &:first-child { margin-left: auto; } &:last-child { margin-right: auto; } @media(max-width: 999px) { flex: 1 1 50%; max-width: 50%; min-width: 44vw; } @media(max-width: 767px) { padding: 6px; min-width: calc(50vw - 30px); } @media(max-width: 567px) { flex: 1 1 100%; max-width: 100%; min-width: 320px; } @media(max-width: 359px) { min-width: 300px; } } .tile { position: relative; display: flex; flex-direction: column; background-color: white; overflow: hidden; width: 100%; border-radius: $radius-lg; padding: 24px; transition: 0.25s ease; text-decoration: none; @media(max-width: 999px) { padding: 14px; } @media(max-width: 767px) { font-size: 16px; min-height: 84px; border-radius: 8px; } &::before { content: ""; position: relative; display: block; height: 80px; background-color: $color-primary; background-color: var(--theme-color-primary, $color-primary); margin: -24px -24px 16px; background-image: url("../../../img/topic-meinung.svg"); background-repeat: no-repeat; background-position: center 65%; background-size: 60px; @media(max-width: 567px) { font-size: 50px; margin-top: -14px; } } } .like-h4 { margin-top: 0.6em; margin-bottom: 0.5em; } .all-participations { text-align: center; flex: 1 1 100%; max-width: none; margin-top: 12px; padding-bottom: 6px; .btn { margin: 0 auto; } } } &.p-map { padding: calc(2% + 20px) 0; background-color: $color-primary-light-04; background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04); .container.small { @media(max-width: 567px) { padding-left: 10px; padding-right: 10px; } } svg { position: relative; display: block; margin-top: 12px; } .map-text { fill: white; transition: 0.3s ease; } .map-shape { fill: $color-primary; fill: var(--theme-color-primary, $color-primary); transition: 0.3s ease; } [data-link] { cursor: pointer; &:hover { .map-text { fill: $color-primary; fill: var(--theme-color-primary, $color-primary); } .map-shape { fill: $color-primary-light-02; fill: var(--theme-color-primary-dimmed-03, $color-primary-light-02); } } } } .survey { @media(max-width: 999px) { .text-box { padding: 30px 30px 0; } form { min-height: 0; padding-top: 0; @media(min-width: 768px) { padding: 0 30px 20px; } } } @media(max-width: 767px) { .text-box { padding: 20px 16px 0; } form { min-height: 0; padding-top: 0; } } @media(min-width: 1000px) { display: flex; align-items: center; .text-box { flex: 1 1 100%; max-width: 50%; padding: 40px 72px 38px 42px; @include font-small; p { margin: 0; } h2, h3 { margin-top: 0.2em; margin-bottom: 0.3em; } } .form-box { position: relative; display: block; flex: 1 1 100%; } form { display: block; min-height: 0; padding-left: 0; } } } .survey-result { @media(min-width: 1000px) { padding-left: 0; } @media(min-width: 768px) and (max-width: 999px) { padding: 20px 30px; } .title { display: none; } } .p-tabs { margin: calc(2% + 20px) -1px; .btn-small { margin-bottom: 8px; background-color: $color-primary-light-04; background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04); color: $color-primary; color: var(--theme-color-primary, $color-primary); &:hover, &:focus, &:active, &.active, &.active:hover { background-color: $color-primary; background-color: var(--theme-color-primary, $color-primary); color: $color-white; text-decoration: none; } } } .p-list { margin: calc(2% + 20px) 0; @include font-small; .list-item + .list-item { margin-top: 30px; @media(max-width: 999px) { margin-top: 20px; } @media(max-width: 767px) { margin-top: 15px; } } .tile { position: relative; padding: 20px 20px 12px; border-radius: $radius-md; background-color: $color-primary-light-04; background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04); @media(min-width: 768px) { display: flex; align-items: flex-end; } } .buttons { @media(min-width: 768px) { display: block; text-align: right; min-width: 240px; padding-left: 40px; .btn { margin: 8px 0 4px; } } } .progress { display: inline-block; vertical-align: top; margin: 0; @media(max-width: 370px) { max-width: calc(100% - 150px); } + .kicker { display: inline-block; vertical-align: top; margin: 0 0 0 10px; line-height: 1; } } .like-h4 { margin-top: 0.3em; margin-bottom: 0.5em; } } .buttons { display: flex; justify-content: space-between; margin: 1em 0 0.5em; .btn { padding: 12px 16px; min-height: 0; border-radius: 18px; transition: 0.2s ease; &:not(.btn-light) { margin-left: auto; } &.btn-light { color: $color-primary; color: var(--theme-color-primary, $color-primary); } @media(max-width: 800px) { font-size: 20px; } @media(max-width: 767px) { font-size: 18px; border-radius: 16px; } } } .btn { transition: 0.2s ease; } .pagination { padding: 0; margin: 25px 0; text-align: center; ul { list-style: none; padding: 0; } li { display: inline-block; vertical-align: top; margin: 0 3px; } .btn { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; min-width: 60px; @media(max-width: 767px) { min-width: 44px; } &.current { background-color: $color-primary-light-04; background-color: var(--theme-color-primary-dimmed-4, $color-primary-light-04); color: $color-primary; color: var(--theme-color-primary, $color-primary); pointer-events: none; } } } }