|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
- section.marketingheader{
- margin-top:0;
- .rotation .slider{
- border-bottom:0;
- .slider-tabs{
- li:first-child:last-child{
- display:none;
- }
- }
- .text-box{
- color:var(--theme-color-primary);
- &:not(:first-child)::before {
- background-color: var(--theme-color-primary-dimmed-04);
- }
- .btn{
- background-color: var(--theme-color-primary);
- color:white;
- &:hover:after{
- box-shadow: 0 0 0 var(--button-hover-shadow-size) var(--theme-color-primary);
- }
- }
- }
- }
- .search {
- position: relative;
- overflow: hidden;
- margin: 0;
- background-color: var(--theme-color-primary-dimmed-04);
- max-height: 100px;
- transition: all .5s cubic-bezier(0,1,0,1);
- background-size:cover;
- @media (max-width:767px){
- max-height: 78px;
- }
- .sc.container{
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- max-width: 100%;
- @media (max-width:767px){
- position: relative;
- .close-search{
- position: relative !important;
- right:0 !important;
- top:0 !important;
- float: right;
- margin-bottom:15px;
- }
- }
- .close-search{
- display:none;
- position: absolute;
- right:30px;
- top:33px;
- left:auto;
- cursor: pointer;
- transition: 0.3s ease;
- border: 1px solid var(--theme-color-primary-dimmed-04);
- border-radius: 10px;
- height:34px;
- width:34px;
- background-color: var(--theme-color-primary);
- @include focus-visible;
- z-index: 2;
- &:before, &:after {
- content: "";
- position: absolute;
- top: 50%;
- left: 50%;
- width: 17px;
- height: 1.5px;
- border-radius: 2px;
- background-color: var(--theme-color-white);
- transform: translate(-50%,-50%) rotate(45deg);
- transition: 0.3s ease;
- }
-
- &:after {
- transform: translate(-50%,-50%) rotate(-45deg);
- }
- }
- }
- @media(max-width: 767px) {
- //padding: calc(1.5vw + 15px) 0 0;
- //margin-bottom: -10px;
- }
-
- &.open{
- max-height: 9999px;
- transition: all .5s cubic-bezier(1,0,1,0);
- .close-search{
- display:block !important;
- }
- .tiles{
- margin-top:0;
- padding-bottom:9px;
- @media screen and (max-width:767px){
- padding-bottom:0;
- }
- }
- form{
- max-width: 580px;
- }
- }
- form{
- border-radius: 24px;
- box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.25) !important;
- overflow:hidden;
- font-size: 22px;
- max-width: 360px;
- margin: 20px auto !important;
- transition: 0.25s ease;
- @media(max-width: 767px) {
- font-size: 18px;
- margin: 15px auto !important;
- }
- }
- + section, + #toclist > section:first-child {
- @media(min-width: 768px) {
- margin-top: 0;
- }
- }
- input#search-term{
- border-color:white !important;
- height: 60px;
- border-top-left-radius: 24px;
- border-bottom-left-radius: 24px;
- font-size: 22px;
- @media(max-width: 767px) {
- font-size: 18px;
- height: 48px;
- }
- &::placeholder{
- color:var(--theme-color-primary) !important;
- }
- }
- button.search-submit{
- background-color: var(--theme-color-primary) !important;
- color: white;
- border-top-left-radius: 0 !important;
- border-bottom-left-radius: 0 !important;
- border-top-right-radius: 0 !important;
- border-bottom-right-radius: 0 !important;
- border-color:white !important;
- height: 60px;
- width:60px;
- font-size: 22px;
- @media(max-width: 767px) {
- font-size: 18px;
- height: 48px;
- width:48px;
- }
- &:before{
- width:30px;
- height:30px;
- font-size:30px;
- @media(max-width: 767px) {
- width:24px;
- height:24px;
- font-size:24px;
- }
- }
- }
- .container {
- position: relative;
- z-index: 1;
- .row {
- @media(max-width: 567px) {
- min-height: 0;
- }
- > .col{
- margin-top:0;
- padding-top:0;
- padding-bottom:0;
- }
- }
- }
-
- .artwork {
- @media(max-width: 420px) {
- top: 30px;
- right: -20px;
- }
- @media(max-width: 340px) {
- top: 40px;
- right: -30px;
- }
- }
- form {
- position: relative;
- margin: 0 0 16px;
- //box-shadow: 0 3px 20px -5px rgba(#000, 0.3);
- //border-radius: var(--border-radius-md) var(--border-radius-xl) var(--border-radius-xl) var(--border-radius-md);
-
- @media(max-width: 567px) {
- margin-top: 20px;
- }
- }
-
- h1 {
- margin-left: 0;
- margin-top: 0;
-
- @media(max-width: 567px) {
- font-size: 24px;
- margin: 0;
- }
- }
-
- .tiles {
- margin: 100px -8px 0 -8px;
- display: flex;
- flex-wrap: wrap;
- font-family: "Korb", sans-serif;
- transition: all 0.25s ease-in;
- padding-bottom: 0;
- @media(max-width: 767px) {
- //margin-left: -6px;
- //margin-right: -6px;
- }
-
- .tile {
- position: relative;
- display: flex;
- padding: 8px;
- flex: 1 1 33.3333%;
- max-width: 33.3333%;
- margin-top:0 !important;
- padding-top:0 !important;
- padding-bottom:0 !important;
- margin-bottom:16px !important;
- &::before {
- position: absolute;
- top: 8px;
- right: 8px;
- margin: 10px 8px;
- font-family: Icons, sans-serif;
- font-size: 18px;
- line-height: 1;
- text-align: center;
- pointer-events: none;
- z-index: 1;
- }
-
- &[data-type="download"]::before {
- @include icon-small-download;
- }
- &[data-type="external"]::before {
- @include icon-small-link-external;
- }
-
- @media(max-width: 567px) {
- flex: 1 1 50%;
- max-width: 50%;
- //padding: 6px;
- }
-
- &:nth-child(3) ~ .tile {
- z-index: 1;
- }
-
- &.downloads, &.a-z, &.events {
- order: 1;
- background-color: transparent;
-
- &::before {
- font-family: "Icons", sans-serif;
- position: absolute;
- font-size: 24px;
- line-height: 1;
- right: 0;
- top: 0;
- margin: 11px 10px;
- z-index: 1;
- background-color: white;
- padding: 7px 6px 5px;
- border-top-right-radius: 8px;
- border-bottom-left-radius: 8px;
-
- @media(max-width: 767px) {
- margin: 18px;
- font-size: 24px;
- }
- }
-
- .outer {
- background-color: var(--theme-color-primary-dimmed-04);
- }
-
- p {
- margin-bottom: 0.4em;
- }
- }
-
- &.downloads::before {
- @include icon-suche-datei;
- }
- &.a-z::before {
- @include icon-suche-az;
- }
- &.events::before {
- @include icon-suche-veranstaltung;
- }
- }
-
- .tile > a, .outer {
- position: relative;
- display: flex;
- align-items: flex-end;
- width: 100%;
- min-height: 108px;
- padding: 18px 24px 24px;
- border-radius: var(--border-radius-md);
- box-shadow: 0 4px 20px -5px rgba(#000, 0.25);
- transition: 0.25s ease;
- line-height: 1.2;
- background-color: var(--theme-color-background);
- overflow: hidden;
- @include focus-visible();
-
- @media(max-width: 767px) {
- font-size: 16px;
- padding: 10px 10px 15px;
- min-height: 84px;
- }
-
- &:before {
- content: "";
- position: absolute;
- display: block;
- bottom: 0;
- left: 0;
- right: 0;
- height: var(--border-width);
- background-color: var(--theme-color-secondary);
- transition: 0.25s $easeOutQuad;
- }
-
- &:hover {
- color: var(--theme-color-secondary-intensed);
-
- &:before {
- height: var(--border-width-hover);
- }
- }
- }
-
- .tile > a {
- .item-title {
- text-decoration: underline;
- }
- }
-
- .outer {
- background-color: var(--theme-primary-light-04);
- padding: 14px 20px 18px;
- border: 4px solid white;
-
- &::after, &::before {
- display: none;
- }
- }
-
- .inner {
- display: block;
- max-width: 100%;
- }
-
- .kicker {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- max-width: 100%;
- display: block;
- text-decoration: none;
- }
-
- ul {
- list-style: none;
- padding: 0;
- font-size: 16px;
- max-width: 100%;
- margin: 0;
-
- li {
- margin-top: 5px;
- }
-
- a {
- display: block;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- transition: 0.2s ease;
- font-weight: 500;
-
- &:hover {
- color: var(--color-secondary-dark);
- }
- }
- }
-
- .proposals {
- flex: 1 1 100%;
- padding: 10px 12px 0;
- order: 2;
-
- a {
- margin: 0 0.3em 0 0.1em;
- }
-
- p {
- margin-bottom: 0;
- }
- }
-
- .all-button-wrapper {
- padding: 16px 8px;
- display: block;
- flex: 1 1 100%;
- order: 3;
-
- .btn {
- transition: 0.2s ease;
-
- .count {
- margin-left: 0.3em;
-
- &::before {
- content: '(';
- }
- &::after {
- content: ')';
- }
- }
- }
- }
- }
- &.background-image{
- &:after{
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index: 0;
- content:"";
- opacity: 0.6;
- background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
- background-blend-mode: overlay;
- }
- .artwork-wrapper{
- display:none;
- }
- }
- }
- &.infoteaser{
- max-height:427px;
- outer{
- max-height:427px;
- height:427px;
- @media(max-width: 999px) {
- max-height:none;
- height:auto;
- }
- }
- .rotation {
- @media screen and (max-width:900px){
- .slider .text-box:first-child::after {
- display: none;
- }
- padding:0;
- }
- .text-box{
- min-height: 0;
- }
- }
- .image-box{
- max-height:427px;
- min-height: 0;
- height:427px;
- img{
- max-height:427px;
- height:427px;
- }
- }
- .mainstage{
- @media screen and (max-width:900px){
- padding:0;
- }
- .row{
- margin:16px 0;
- @media screen and (min-width:901px){
- margin:30px -8px 0;
- }
- .col{
- flex: 1 1 100%;
- max-width: 100%;
-
- @media screen and (min-width:901px){
- padding:0 8px;
- flex: 1 1 calc(100% - 322px);
- max-width: calc(100% - 322px);
- }
- + .col{
- flex: 1 1 100%;
- max-width: 100%;
- display: flex;
- flex-flow: column;
- justify-content: space-between;
- margin: 0;
- padding: 0 var(--container-padding);
- @media screen and (min-width:901px){
- flex: 1 1 322px;
- max-width: 322px;
- padding:0 8px;
- margin: -8px 0;
- }
- .mt{
- height: 100%;
- padding: 8px 0;
- .mini-teaser{
- height: 100%;
- }
- }
- }
- }
- }
- }
-
- }
- &.hero-fullwidth{
- .mainstage.container{
- max-width: 1920px;
- width:100%;
- padding:0;
- > .row{
- margin:0;
- }
- }
- .rotation{
- margin:0 !important;
- padding:0 !important;
- //max-width: 1920px;
- width:100%;
- outer{
- margin:0 !important;
- position: relative;
- justify-content: center;
- @media screen and (min-width:901px) {
- max-height:566px;
- }
- }
- .slider{
- background-color: transparent;
-
- .image-box img {
- @media screen and (max-width:900px) {
- height: 300px;
- }
- @media screen and (max-width:767px) {
- height: 300px;
- }
-
- }
- .slide.text-only.current {
- background: linear-gradient(-10deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
- }
- }
-
-
- }
- .image-box{
- width:100%;
- flex: 1 1 100%;
- max-width: 100%;
- max-height:566px;
- position: relative;
- padding-right: 0 !important;
- @media (min-width: 1000px) {
- padding-right: 0 !important;
- }
- &:after{
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index: 0;
- content:"";
- opacity: 0.6;
- background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
- background-blend-mode: overlay;
- &:before{
- display:none;
- }
- }
- img{
- object-fit: cover;
- //position:relative;
- z-index: -1;
- left:0 !important;
- padding:0 !important;
- width:100% !important;
- }
- }
- .text-box{
- height: 100%;
- color:white;
- width: var(--container-width);
- padding: 0 var(--container-padding);
- max-width: 100%;
- margin: 0 auto;
- @media screen and (min-width:901px) {
- position: absolute;
- *{
- color:white;
- }
- .btn{
- background-color: white !important;
- color:var(--theme-color-primary) !important;
- &:hover:after{
- box-shadow: 0 0 0 var(--button-hover-shadow-size) white !important;
- }
- }
- }
- *{
- max-width:580px;
- }
- &:after{
- display:none;
- }
- &:before{
- display:none;
- }
- }
- .controls{
- width: var(--container-width);
- padding: 0 var(--container-padding);
- max-width: 100%;
- margin: 0 auto;
- position: relative;
- @media screen and (max-width:900px){
- position: absolute !important;
- top: 0;
- }
- }
- }
- .rotation{
- margin:0;
- @media screen and (max-width:900px){
- .slider{
- background-color: transparent;
- .slider-tabs{
- top:0;
- height: auto;
- bottom: auto;
- margin-top:15px;
- @media screen and (max-width:767px){
- .btn{
- --button-icon-padding: 30px;
- --button-icon-offset: 5px;
- --button-padding: 5px 10px;
- --button-min-size: 30px;
- margin: 2.5px;
- }
- }
- }
- .text-box{
- padding: var(--container-padding);
- }
- .text-box:not(:first-child)::before{
- display: none;
- }
- .image-box{
- order: 0;
- &:before{
- display: none;
- }
- img{
- position: static;
- height:300px;
- }
- }
- }
- }
- @media screen and (max-width:767px){
- .slider{
- .image-box{
- img{
- height:250px;
- }
- }
- }
- }
- @media screen and (max-width:567px) {
- .slider {
- margin: 0;
- .image-box{
- img{
- height:177px;
- }
- }
- }
- }
- .context-box{
- display:none !important;
- }
- }
- }
|