/*! * Layout: Flat Responsive * $Id: styles.less 50837 2017-08-02 09:08:16Z sseiz $ * Copyright Zeta Software GmbH */ @import "mixins.less"; /* Reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } b, strong{ font-weight: bold; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } body { -webkit-text-size-adjust: none; } /* Box Model */ *, *:before, *:after { box-sizing: border-box; } /* Containers */ .container { margin-left: auto; margin-right: auto; } /* Basic */ html{ font-size: 100%; } body { <$ if ( "#val(bgImage)" == "" ){ $> background-color: #val(bgColor); <$ } $> color: #val(globalFontColor); font-family: #val(globalFontFamily); font-weight: normal; line-height: #val(articletext-lineheight); } <$ if ( "#val(bgImage)" !== "" ){ $> body:before{ content: ""; display: block; position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: -10; background-image: linear-gradient(#val(bgColor), #val(bgColor)), url("#val(bgImage)"); background-position: top center; background-repeat: no-repeat; background-size: cover; } <$ } $> a, a:hover{ text-decoration: none; color: inherit; } em, i { font-style: italic; } /* hyphenation switch */ h1, h2, h3, h4, h5, h6, p{ .hyphens(#val(hyphenation)); } p { margin: 0 0 #val(paragraph-spacing) 0; } h1{ font-family: #val(pagetitle-font-family); font-size: #val(pagetitle-font-size); color: #val(pagetitle-font-color); font-weight: #val(pagetitle-font-weight); margin-top: #val(pagetitle-margin-top); margin-bottom: #val(pagetitle-margin-bottom); text-transform: #val(pagetitle-text-transform); } h2 { font-family: #val(articleheading-font-family); font-size: #val(articleheading-font-size); color: #val(articleheading-font-color); font-weight: #val(articleheading-font-weight); margin-top: #val(articleheading-margin-top); margin-bottom: #val(articleheading-margin-bottom); text-transform: #val(articleheading-text-transform); } h3, h4, h5, h6 { font-family: #val(articlesubheading-font-family); font-size: #val(articlesubheading-font-size); color: #val(articlesubheading-font-color); font-weight: #val(articlesubheading-font-weight); margin-top: #val(articlesubheading-margin-top); margin-bottom: #val(articlesubheading-margin-bottom); text-transform: #val(articlesubheading-text-transform); } .articlearea > h1:last-child, .articlearea > h2:last-child, .articlearea > h3:last-child, .articlearea > h4:last-child, .articlearea > h5:last-child, .articlearea > h6:last-child, .articlearea > p:last-child{ margin: 0; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, a.zpSO-Uplink-Flat, a.zpSO-Uplink-Flat:hover{ color: inherit; border-bottom: 0 !important; text-decoration: none; } #content .zpwBild > a{ border-bottom: 0 !important; text-decoration: none !important; } sub { font-size: 0.8em; position: relative; top: 0.5em; } sup { font-size: 0.8em; position: relative; top: -0.5em; } hr { border: 0; border-bottom: solid 1px #313032; margin: 2em 0; } blockquote { border-left: solid 4px #313032; font-style: italic; margin: 0 0 #val(paragraph-spacing) 0; padding: 0.5em 0 0.5em 2em; } code { background: rgba(207, 201, 214, 0.035); border: solid 1px #313032; font-family: "Courier New", monospace; font-size: 0.9em; margin: 0 0.25em; padding: 0.25em 0.65em; } pre { -webkit-overflow-scrolling: touch; font-family: "Courier New", monospace; font-size: 0.9em; margin: 0 0 #val(paragraph-spacing) 0; } pre code { display: block; line-height: 1.75em; padding: 1em 1.5em; overflow-x: auto; } /* Lists */ ol { list-style: #val(global-ordered-list-style); margin: 0 0 #val(paragraph-spacing) 0; padding-left: 2em; // enough to make room for 2-digits } ol li { padding-left: 0.25em; } ul:not(.slides) { list-style: #val(global-unordered-list-style); margin: 0 0 #val(paragraph-spacing) 0; padding-left: 1em; } ul:not(.slides) li { padding-left: 0.5em; } dl { margin: 0 0 #val(paragraph-spacing) 0; } /* go to top arrow */ #totop{ text-align: center; overflow: hidden; padding: 1em 0; .zpSO-Uplink-Flat{ text-align: center; box-sizing: content-box; height: 1em; width: 1em; padding: 10px 16px 0 16px; display: inline-block; } .zpSO-Uplink-Flat:after{ content: ''; display: inline-block; height: 1em; width: 1em; border-color: inherit; border-bottom-color: transparent; // IE Bugfix: transparent or else a ghost shadow is visible even border-width is 0 border-left-color: transparent; // IE Bugfix or else a ghost shadow is visible border-style: solid; border-width: 2px 2px 0 0; .transform(~"rotate(-45deg)"); } } /* Restrict article max width */ #banner > .zpgrid > #grid, #content > .zpgrid > #grid, #afterfooter > .zpgrid > #grid{ max-width: #val(body-max-width)px !important; left: 0; right: 0; } #breadcrumb{ max-width: #val(body-max-width)px; margin: 0 auto; } div.zpRow{ margin-top: #val(articlearea-spacing); margin-bottom: 0; } div.zpRow + div.zpRow{ margin-top: calc(~"#val(articlearea-spacing) -" 1em); // - .zpColumn bottom-margin } div.zpRow + div.zpContainer.styled, div.zpContainer:not(.styled) > div.zpRow:first-child, div.zpContainer:not(.styled) + div.zpContainer.styled{ margin-top: calc(~"#val(articlearea-spacing) -" 1em); // - .zpColumn bottom-margin } div.zpContainer.styled{ padding-top: #val(articlearea-spacing); padding-bottom: calc(~"#val(articlearea-spacing) + #val(paragraph-spacing) -" 15px); // + .zpRow .inner top-padding - .zpColumn bottom-padding div.zpRow:first-child{ margin-top: 0; } } #slider + #content > .zparea > div.zpContainer:first-child:not(.styled), div.zpContainer.styled + div.zpContainer:not(.styled){ margin-top: #val(articlearea-spacing); } div.zpRow .zpRowInner{ max-width: #val(body-max-width)px; margin: 0 auto; padding-top: #val(paragraph-spacing); // .clearfix &:after{ content: ""; display: table; clear: both; } } div.zpieEmptyArea .zpieHighlight{ max-width: #val(body-max-width)px - 30px; margin: 0 auto; } /* banner teaser */ #banner{ font-family: #val(teasertext-font-family); font-size: #val(teasertext-font-size); color: #val(teasertext-font-color); line-height: #val(teasertext-lineheight); p{ margin: 0 0 #val(teaser-paragraph-spacing) 0; } a:not(.fancybox):not(.zpnolayoutlinkstyles){ color: #val(teaser-inactive-font-color); <$ if ( "#val(teaser-inactive-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> &:hover{ color: #val(teaser-hover-font-color); <$ if ( "#val(teaser-hover-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> } } h1, h2, h3, h4, h5, h6{ font-family: #val(teaserheading-font-family); font-size: #val(teaserheading-font-size); color: #val(teaserheading-font-color); font-weight: #val(teaserheading-font-weight); } } /* Main */ /* #mobilenavtoggle{ position: absolute; top: 10px; bottom: auto; left: auto; right: 15px; display: none; background-color: #val(nav-button-background-color); border-radius: 8px; color: #val(nav-button-text-color); font-size: 15px; text-align: center; //box-shadow: 0px 0px 2px #val(nav-button-text-color); z-index: 11; padding: 0.5em 1em; } #mobilenavtoggle:hover { color: #val(nav-button-text-color); } */ /* Header */ // define a global with a dynamically generated color for borders used in navigation and webslogan .lightenordarken(#val(menu1-background-color),15%); @navborder: @dyncolor; @logoScaleFactor: 0.5; @logopadding: #val(logo-margin-top)px + #val(logo-margin-bottom)px; @logohpadded: (#val(logo-image-height)px + @logopadding) * @logoScaleFactor; #header { text-align: #val(topline-alignment); #webdescription { background-color: #val(topline-background-color); text-align: center; padding: #val(topline-padding); #logo:not(:last-child){ margin-bottom: 1em; } #webtext{ letter-spacing: .1em; } h1, #webname{ font-family: #val(webname-font-family); font-size: #val(webname-font-size); color: #val(webname-font-color); font-weight: #val(webname-font-weight); font-style:#val(webname-font-style); text-transform: #val(webname-text-transform); line-height: 1.2; margin: 0; a{ text-decoration: none; border: none; } } p, #slogan{ font-family: #val(webslogan-font-family); font-size: #val(webslogan-font-size); color: #val(webslogan-font-color); font-weight: #val(webslogan-font-weight); font-style:#val(webslogan-font-style); text-transform: #val(webslogan-text-transform); line-height: 1.5; } &.empty{ padding: 0; min-height: #val(logo-image-height)px; } } #nav{ position: relative; z-index: 20; /* keeps it above slider nav arrows */ background-color: #val(menu1-background-color); .transition(~"max-height 300ms ease-in-out"); // border-top: solid 1px lighten(#val(topline-background-color), 15%); //solid 1px #313032; height: @logohpadded; max-height: @logohpadded; //max-height: ~"calc(3.5em + 1px)"; <$ if ( "#val(topline-background-color)" !== "transparent" ) { $> @togglebg: #val(topline-background-color); <$ } else { $> @togglebg: contrast(#val(menu1-inactive-font-color)); <$ } $> > ul li.overflownonly{ display: none; background-color: @togglebg; } > ul.overflown li.overflownonly{ display: inline-block; position: absolute; top: 0; right: 0; } > ul{ display: block; max-height: @logohpadded; position: relative; margin-bottom: 0; padding: 0; word-spacing: -4px; // removes the whitespace affecting inline-block elements see background-color: #val(menu1-background-color); width: 100%; > li{ word-spacing: normal; margin-right: 1px; &:last-child{ margin-right: 0; } &.open > a{ background-color: #val(menu1-active-background-color); color: #val(menu1-active-font-color); } } li.logo{ display: none; min-width: 0; background-color: transparent; a{background-color: transparent;} } li{ display: inline-block; line-height: @logohpadded; padding: 0; position: relative; vertical-align: top; a{ height: @logohpadded; .transition(~"background-color 0.2s ease-in-out, color 0.2s ease-in-out"); color: #val(menu1-inactive-font-color); display: block; letter-spacing: 0.25em; padding: 0 2em; font-size: #val(menu1-font-size); text-decoration: none; text-indent: 0.125em; text-transform: #val(menu1-text-transform); background-color: #val(menu1-inactive-background-color); } a.active{ background-color: #val(menu1-active-background-color); color: #val(menu1-active-font-color); } /* Logo */ a.logo{ box-sizing: border-box; display: inline-block; vertical-align: top; text-decoration: none; line-height: 0; margin: 0; padding: (#val(logo-margin-top)px * @logoScaleFactor) (#val(logo-margin-right) * @logoScaleFactor) (#val(logo-margin-bottom)px * @logoScaleFactor) (#val(logo-margin-left) * @logoScaleFactor) ; max-height: 100%; img{ max-width: 100%; height: #val(logo-image-height)px * @logoScaleFactor; width: #val(logo-image-width)px * @logoScaleFactor; } } } ul{ position: absolute; top: 100%; left: 0; display: none; z-index: 5; margin: 0; padding: 0; background-color: #val(menu1-inactive-background-color); } ul ul{ position: absolute; top: 0; left: 100%; } } > ul.overflown{ li:not(.overflownonly):not(.logo){ display: none; } li.logo{ display: inline-block; a.logo{ visibility: hidden; } } } li.haschilds > a, .dropdown-menu li.haschilds{ padding-right: 3em; } li.haschilds > a:after, .dropdown-menu li.haschilds > a:after{ content: ''; box-sizing: content-box; position: absolute; z-index: 2; top: 50%; margin-top: -0.3em; right: 2em; height: .5em; width: .5em; border-color: inherit; border-bottom-color: transparent; /* IE Bugfix: transparent or else a ghost shadow is visible even border-width is 0 */ border-left-color: transparent; /* IE Bugfix or else a ghost shadow is visible */ border-style: solid; border-width: 1px 1px 0 0; display: block; .transition(~"transform 200ms ease"); .transform(~"rotate(135deg)"); -webkit-transform-origin: 50% 40%; transform-origin: 50% 40%; } li.haschilds.clicked > a:after{ .transform(~"rotate(45deg)"); } > ul > li.haschilds > a:after{ .transform(~"rotate(45deg)"); } > ul > li.haschilds.clicked > a:after{ .transform(~"rotate(135deg)"); } ul ul li{ display: block; border: 0; a{ text-align: left; letter-spacing: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } #nav.fixed{ position: fixed; width: 100%; top: 0; ul > li.logo{ display: inline-block; a.logo{ visibility: visible; } } /* figure out a way to make submenus scroll if window isn't tall enough > ul { ul{ // make submenus scroll when they don't fit the window height max-height: 100vh; overflow-x: visible; overflow-y: auto; } } */ } #nav:not(.on){ li.overflowing{visibility: hidden;} } #nav.on{ height: auto; max-height: 100%; width: 100vw; max-width: 100%; padding-bottom:10px; background-color: #val(menu1-inactive-background-color); text-align: left; overflow-y: hidden; > ul li.overflownonly{ position: absolute; top: 0; right: 0; width: auto; } > ul.overflown li.overflownonly, > ul.overflown li.overflownonly a{ border-top: 0; } ul{ max-height: none; //padding-bottom: 2.5em; } ul li{ display: block !important; border: 0; //background-color: #val(menu1-inactive-background-color); } ul ul{ margin-left: 1em; position: static; top: auto; left: auto; right: auto; bottom: auto; //display: block; } li.open > ul{ display: block; } ul li > a:not(#mobilenavtoggle):not(.logo){ line-height: 3.5em; height: auto; letter-spacing: normal; position: relative; } li.haschilds > a:after, .dropdown-menu li.haschilds > a:after{ content: ''; box-sizing: content-box; position: absolute; z-index: 2; top: 50%; margin-top: -0.25em; right: 15px; height: .5em; width: .5em; border-color: inherit; border-bottom-color: transparent; /* IE Bugfix: transparent or else a ghost shadow is visible even border-width is 0 */ border-left-color: transparent; /* IE Bugfix or else a ghost shadow is visible */ border-style: solid; border-width: 1px 1px 0 0; display: block; .transition(~"transform 200ms ease"); .transform(~"rotate(45deg)"); } li.haschilds.open > a:after, li.haschilds.clicked > a:after{ .transform(~"rotate(135deg)"); } > ul{ width: 100%; display: block; max-height: none; > li:not(.logo):not(.overflownonly){ border-top: solid 1px @navborder; } >li.logo{ background-color: #val(menu1-background-color); a, a:hover{background-color: transparent;} } } } #nav.on.fixed{ max-height: 100vh; overflow-y: auto; > ul li.overflownonly{ position: fixed; } } } body:not(.haswebdescription):not(.hasbanner).hasfixednav{ padding-top: @logohpadded; #header #nav{ position: fixed; width: 100%; top: 0; z-index: 20; /* keeps it above slider nav arrows */ } } body.padded{ padding-top: @logohpadded; } // hide web-title and top logo, so it doesn't show behind fixed navbar when scrolling (and padding kicks in) body.hasfixednav.padded{ #webdescription{ visibility: hidden; } } /* only define hover styles for the desktop menu on non-touch devices */ .notouch #header #nav{ > ul li a:hover, > ul li a.active:hover{ background-color: #val(menu1-hover-background-color); color: #val(menu1-hover-font-color);color: #val(menu1-hover-font-color); } } .notouch #header #nav:not(.on){ li.haschilds:hover > a:after, .dropdown-menu li.haschilds:hover > a:after{ .transform(~"rotate(45deg)"); } > ul > li.haschilds:hover > a:after, .dropdown-menu li.haschilds:hover > a:after{ .transform(~"rotate(135deg)"); } li:hover > ul{ display: block; } } /* Kopfgrafik */ .edge .touch .flexslider:hover .flex-next, .edge .touch .flexslider:hover .next, .flexslider:hover .flex-next, .flexslider:hover .next {opacity: 1; right: 10px;} .edge .touch .flexslider:hover .flex-prev, .edge .touch .flexslider:hover .prev, .flexslider:hover .flex-prev, .flexslider:hover .prev {opacity: 1; left: 10px;} .touch .flexslider .flex-direction-nav .flex-prev, .touch .flexslider .flex-direction-nav .prev{ opacity: 1; left: 10px; } .touch .flexslider .flex-direction-nav .flex-next, .touch .flexslider .flex-direction-nav .next{ opacity: 1; right: 10px; } #slider { overflow: hidden; font-family: #val(header-caption-font-family); font-size: #val(header-caption-font-size); color: #val(header-caption-font-color); line-height: #val(header-caption-lineheight); border-top: 0 !important; /* padding: 5em 3em; padding-left: ~"calc(3em + 15px)"; padding-right: ~"calc(3em + 15px)"; */ text-align: #val(header-caption-alignment); @shadowcolor: contrast(#val(header-caption-font-color)); text-shadow: 1px 1px 0 @shadowcolor; h1, h2, h3, h4, h5, h6{ font-family: #val(headerheading-font-family); font-size: #val(headerheading-font-size); font-weight: #val(headerheading-font-weight); line-height: 1.1; color: #val(headerheading-font-color); @shadowcolor1: contrast(#val(headerheading-font-color)); text-shadow: 1px 1px 0 @shadowcolor1; margin: 0; } p{ margin: 0 0 #val(header-caption-paragraph-spacing) 0; } a{ color: #val(headertext-inactive-font-color); text-decoration: #val(headertext-inactive-decoration); &:hover{ color: #val(headertext-hover-font-color); text-decoration: #val(headertext-hover-decoration); } } > :last-child{ margin-bottom: 0; } .slides > li{ position: relative; img{ height: auto; } } .flex-caption{ background-color: #val(header-background-color); position: absolute; width: 90%; max-height: 90%; padding: 1em; left: 50%; top: 50%; .transform(~"translate(-50%,-50%)"); overflow: auto; /* margin: auto; top: 0; bottom: 0; left: 0; right: 0; display: table; // this vertically centers text content */ } .flexslider{ box-shadow: none; } .flex-direction-nav{ list-style: none !important; margin: 0 !important; } .flex-direction-nav a{ //background: url(images/bg_direction_nav.svg) no-repeat 0 0; color: #val(header-caption-font-color); background: transparent; border: 0; width: 30px; height: 40px; margin: -20px 0 0; text-decoration: none; &:hover{ color: inherit; opacity: 0.7; } &:before{ content: "⟨"; // ⟨ ⟩ - ⟩ ⟨ font-family: #val(header-caption-font-family); font-size: 40px; font-weight: bold; line-height: 1; position: absolute; top: 0; left: 0; width: 30px; height: 40px; text-indent: 0; text-align: center; border: 0; text-decoration: none; } } .flex-direction-nav .flex-next:before, .flex-direction-nav .next:before { content: "⟩"; // ⟨ ⟩ - ⟩ ⟨ } .flex-control-nav{ z-index: 10; bottom: 4px; } .flex-control-paging li { margin: 0 5px; padding: 0; a{ width: 15px; height: 15px; background: rgba(255,255,255,0.4); box-shadow: 0 0 2px rgba(0, 0, 0, 0.4); &.flex-active{ background: rgba(255,255,255,0.7); } } } @media screen and (max-width:640px) { /* hide next/prev buttons on small screens */ .flexslider .flex-prev, .flexslider .prev, .flexslider .flex-next, .flexslider .next, .flexslider:hover .flex-prev, .flexslider:hover .prev, .flexslider:hover .flex-next, .flexslider:hover .next{ opacity: 0 !important; } } } /* button */ a.button, button.button, input.button, input[type="button"]{ -webkit-appearance: none; // needed for proper styling on iOS display: inline-block; margin: 0 10px #val(paragraph-spacing) 0; padding: 0; font-size: #val(button-font-size); font-weight: #val(button-font-weight); text-decoration: none; text-transform: #val(button-text-transform); text-align: center; line-height: normal; color: #val(button-inactive-font-color) !important; background-color: #val(button-inactive-background-color); background-image: none; border: 1px solid #val(button-outline-color); //-webkit-border-radius: 5px; //-moz-border-radius: 5px; //border-radius: 5px; } .zp-form input.button{ color: #val(button-inactive-font-color); } a.button:hover, input.button:hover, .zp-form input.button:hover{ background: #val(button-mouseover-background-color); color: #val(button-mouseover-font-color) !important; } a.button span, input.button { display: block; margin: 0; padding: 8px 15px; } /* Reset possible browser default (cough: Safari) border radii on input */ input, .zp-form.zp14 select, .zp-shopform select{ border-radius: 0; } /* content */ .ie .zparea.zpgrid > div.zpContainer.styled.zpBreakout:last-child .zpRow:last-child, .mozilla .zparea.zpgrid > div.zpContainer.styled.zpBreakout:last-child .zpRow:last-child{ overflow: hidden !important; // solves an IE/FF problem with the negative margin - important is needed to override InlineEditing styles } #content{ overflow: hidden; // hides scrollbar in case zpContainers are animated (shifted to right) position: relative; // keeps it in foreground covering overflowing nav items background-color: #val(contentarea-background-color); //padding-top: #val(articlearea-spacing); /* > #grid + .zpContainer.styled, .zpContainer.styled:first-child{ margin-top: -#val(articlearea-spacing); } */ /* breadcrumb*/ #breadcrumb{ padding: 2em 15px; // zpgrid left/right padding font-size: #val(breadcrumb-font-size); color: #val(breadcrumb-font-color); a{ color: #val(breadcrumb-hyperlink-inactive-font-color); <$ if ( "#val(breadcrumb-hyperlink-inactive-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> &:hover{ color: #val(breadcrumb-hyperlink-hover-font-color); <$ if ( "#val(breadcrumb-hyperlink-hover-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> } } span{ color: #val(breadcrumb-separator-font-color); } } font-family: #val(articletext-font-family); font-size: #val(articletext-font-size); line-height: #val(articletext-lineheight); color: #val(articletext-font-color); p { margin: 0 0 #val(paragraph-spacing) 0; } a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles) { .transition(~"color 0.2s ease-in-out, border-color 0.2s ease-in-out"); <$ if ( "#val(article-inactive-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } $> color: #val(article-inactive-font-color); text-decoration: none; } a:not(.button):not(.fancybox):not(.zpnolayoutlinkstyles):hover { <$ if ( "#val(article-hover-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: dotted 0px; <$ } $> color: #val(article-hover-font-color); text-decoration: none; } /* switch off borders below links only containing images */ #content .zpwBild > a:not(.addspecificy), #content .zpwBild > a:not(.addspecificy):hover{ border-bottom: 0; } } /* Search */ #search { background: #val(contentarea-background-color); box-sizing: border-box; padding: 2em 3em; padding-left: ~"calc(3vw + 15px)"; /* 15px to compensate zpgrid padding */ padding-right: ~"calc(3vw + 15px)"; /* 15px to compensate zpgrid padding */ margin: 0 auto; overflow: hidden; width: 100% !important; } #zpsearchform { max-width: 510px; position: relative; height: 44px; margin: 0 auto; } #zpsearchform input { font-family: #val(articletext-font-family); } #zpsearchfield { margin: 0; padding: 6px 30px 6px 10px; width: 100%; box-sizing: border-box; height: 44px; font-size: #val(search-font-size); line-height: 28px; color: #val(searchfield-font-color); background-color: #val(searchfield-background-color); <$ if ( "#val(searchfield-border-color)" !== "" && "#val(searchfield-border-color)" !== "transparent" ) { $> border: 1px solid #val(searchfield-border-color); <$ } else { $> border: none; <$ } $> position: absolute; top: 0px; left: 0px; -webkit-appearance: none; /* keeps Safari iOS from adding rounded corners etc. */ border-radius: 0; /* keeps Safari iOS from adding rounded corners etc. */ } #zpsearchbutton { margin: 0; padding: 6px 0; border: 0; box-sizing: border-box; height: 44px; text-align: center; position: absolute; top: 0; right: 0; cursor: pointer; -webkit-appearance: none; /* keeps Safari iOS from adding rounded corners etc. */ border-radius: 0; /* keeps Safari iOS from adding rounded corners etc. */ } /* Footer */ #afterfooter{ font-family: #val(footer-font-family); font-size: #val(footer-font-size); color: #val(footer-font-color); line-height: #val(footer-lineheight); p{ margin: 0 0 #val(footer-paragraph-spacing) 0; } a{ color: #val(footer-inactive-font-color); <$ if ( "#val(footer-inactive-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> &:hover{ color: #val(footer-hover-font-color); <$ if ( "#val(footer-hover-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> } } h1, h2, h3, h4, h5, h6{ font-family: #val(footer-heading-font-family); font-size: #val(footer-heading-font-size); color: #val(footer-heading-font-color); font-weight: #val(footer-heading-font-weight); } } #footer { font-family: #val(footer-font-family); font-size: #val(footer-font-size); color: #val(footer-font-color); text-align: center; padding: 2em 3em; } #xmenu{ font-family: #val(footer-font-family); font-size: #val(xmenu-font-size); a{ margin-left: 10px; color: #val(xmenu-hyperlink-inactive-font-color); <$ if ( "#val(xmenu-hyperlink-inactive-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> } a:first-child{ margin-left: 0; } a:hover{ color: #val(xmenu-hyperlink-hover-font-color); <$ if ( "#val(xmenu-hyperlink-hover-decoration)" == "underline" ){ $> border-bottom: dotted 1px; <$ } else { $> border-bottom: 0; <$ } $> } } #xmenu + #copyright{ margin-top: #val(paragraph-spacing); } // disable layout's link border in slider widget and other widgets .zp13sliderWidget .zp13slider-control-nav li a, .zpWeatherWidget a, .zpWeatherWidgetMD a{ border-bottom: 0 !important; } /* Smaller than body-max-width - add some left and right padding to content */ @addPadPercent: 3; @bodyMax: #val(body-max-width); @bodyMaxPadded: @bodyMax + (@bodyMax / 100 * @addPadPercent)*2px; /* -30 accounts for grid padding */ @media screen and (max-width: @bodyMaxPadded) { #banner > .zpgrid > #grid, #content > .zpgrid > #grid, #afterfooter > .zpgrid > #grid, div.zpRow .zpRowInner { padding-left: 3vw; padding-right: 3vw; } #content #breadcrumb{ padding-left: ~"calc(3vw + 15px)"; padding-right: ~"calc(3vw + 15px)"; } } /* Small */ @media screen and (max-width: 736px) { #slider .flex-caption h1, #slider .flex-caption h2, #slider .flex-caption h3{ font-size: #val(headerheading-font-size) * 0.7; } } /* Small */ @media screen and (max-width: 640px) { .objectfit #slider{ .flex-container{ padding-bottom: 100% !important; } .slides > li { img{ width: 100vw; height: 100vw; object-fit: cover; } } } } /* XSmall */ @media screen and (max-width: 480px) { #banner, #afterfooter, #footer{ padding: 0 1.5em ; } /* Header */ #header { border-radius: 0; #nav:not(.on){ li.overflownonly{ position: relative; display: inline-block; position: absolute; top: 0; right: 0; } li:not(.overflownonly):not(.logo){ display: none; } } } } /* ZP 13 additions */ // generic breakout i.e. for Widgets placed in columns body:not(.withnews) .zpColumn .zpBreakout{ /* we don't use overflow hidden on body to avoid horizontal scrollbar because dropdown menues (e.g. on the far right) might need an overflow */ width: ~"calc(100vw - 9px)"; /* -9px compensates possible scrollbar Safari: -8, Chrome: -9 */ margin-left: ~"calc(-50vw + 50%)"; /* Todo: this might break if less compression is used! */ box-sizing: border-box; padding: 0; /* padding-left is equal to amount to compensate scrollbar */ overflow:hidden !important; } body.touch:not(.withnews) .zpColumn .zpBreakout{ width: ~"calc(100vw)"; /* DON't compensates transparent scrollbars on touch devices */ } <$ if ( system.preview ) { $> /* *** Layout-Specific adjustments for Inline-Editing *** */ #header #nav.fixed, #nav{ z-index: 6002; } div.zpieItem.zpieRow{ width: #val(body-max-width)px + 4px; max-width: 100%; left: 0px !important; right: 0px !important; margin-left: auto; margin-right: auto; .zpieHighlight{ max-width: #val(body-max-width)px; } } <$ } $>