// Webfonts @import '../fonts/open-sans'; @import '../fonts/rotis-sans-serif'; @import '../fonts/inecos-dingbats'; $fontFamilyBody: 'Open Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; $fontFamilyHeader: 'Rotis Sans Serif W01', $fontFamilyBody; $schemaBlau: #004f9f; $schemaText: #181716; $schemaBlauHeaderHeadline: #354795; // Bootstrap variable overides $font-family-sans-serif: $fontFamilyBody; $font-weight-base: 300; $headings-font-family: $fontFamilyHeader; $body-color: $schemaText; $link-color: $schemaBlau; //$link-decoration: none; //$link-hover-color: darken($link-color, 15%); //$link-hover-decoration: underline; $line-height-base: 1.65; $h1-font-size: 2.8rem; $h2-font-size: 2.5rem; $h3-font-size: 2.0rem; $h4-font-size: 1.7rem; $h5-font-size: 1.3rem; $headings-color: $schemaBlau; // Bootstrap scss import @import '../bootstrap/scss/bootstrap'; @import '_mixins'; // Styles a { @include default-transition(); } @media (max-width: map-get($grid-breakpoints, "sm") - 1) { h1, .h1 { font-size: $h1-font-size * 0.8; } h2, .h2 { font-size: $h2-font-size * 0.8; } h3, .h3 { font-size: $h3-font-size * 0.8; } h4, .h4 { font-size: $h4-font-size * 0.8; } h5, .h5 { font-size: $h5-font-size * 0.8; } h6, .h6 { font-size: $h6-font-size * 0.8; } } @media (min-width: map-get($grid-breakpoints, "sm")) and (max-width: map-get($grid-breakpoints, "md") - 1) { h1, .h1 { font-size: $h1-font-size * 0.9; } h2, .h2 { font-size: $h2-font-size * 0.9; } h3, .h3 { font-size: $h3-font-size * 0.9; } h4, .h4 { font-size: $h4-font-size * 0.9; } h5, .h5 { font-size: $h5-font-size * 0.9; } h6, .h6 { font-size: $h6-font-size * 0.9; } } .container-regio { @each $breakpoint, $container-max-width in $grid-breakpoints { @if $breakpoint != xs { @media (min-width: $container-max-width) { @if $breakpoint == xl { padding-left: 45px; padding-right: 45px; max-width: $container-max-width; } @else { padding-left: 30px; padding-right: 30px; } &.container { max-width: $container-max-width; } } } } margin: 1.2em auto; @media (min-width: map-get($grid-breakpoints, "sm")) { margin: 1.7em auto; } section:last-of-type & { margin-bottom: 2.5em; } } header { @each $breakpoint, $container-max-width in $grid-breakpoints { @if $breakpoint != xs { @media (min-width: $container-max-width) { max-width: $container-max-width; } } } &.header-fluid { max-width: map-get($grid-breakpoints, "xl"); } margin: 0 auto; position: relative; .container-regio-navbar, .container-regio-headline { width:100%; @media (min-width: map-get($grid-breakpoints, "md")) { position: absolute; padding: 0; top: 25px; } @media (min-width: map-get($grid-breakpoints, "lg")) { padding: 0 30px; top: 25px; } @media (min-width: map-get($grid-breakpoints, "xl")) { padding: 0 45px; top: 40px; } } .img-header { // @see overflow:hidden; margin: 0; display: none; @media (min-width: map-get($grid-breakpoints, "md")) { display: block; } > img { display: block; margin: 0; margin-top: -4.5%; margin-bottom: -34.75%; @media (min-width: map-get($grid-breakpoints, "lg")) { margin-top: -7.5%; } } } .navbar-regio { background-color: rgba(#ffffff, .8) ! important; padding-left: 15px; padding-right: 15px; @media (min-width: map-get($grid-breakpoints, "sm")) { padding-left: 30px; padding-right: 30px; } img.logo { width: 200px; height: auto; } .navbar-toggler { color: $schemaBlau; } .navbar-nav { .nav-link, a.dropdown-item { font-family: $fontFamilyHeader; color: $schemaBlau; text-transform: uppercase; font-weight: 300; font-size: 1.0rem; } @media (min-width: map-get($grid-breakpoints, "md")) and (max-width: map-get($grid-breakpoints, "lg") - 1) { .nav-link { font-size: .95rem; padding-right: 0.3rem; padding-left: 0.3rem; } } .active > .nav-link { color: $schemaBlau; font-weight: 700; } .nav-link > .idb { font-size: 1.5rem; vertical-align: middle; } .dropdown-menu { margin-top: 0; border-radius: 0; border: 0; .dropdown-item { @include default-transition(); &:hover, &:focus { color: $schemaBlau; background-color: mix(#ffffff, $schemaBlau, 95); } &.active, &:active { color: #ffffff; text-decoration: none; background-color: $schemaBlau; font-weight: 700; } } } @media (max-width: map-get($grid-breakpoints, "md") - 1) { background-color: #ffffff; .nav-link { margin: 0 -15px; padding-right: 15px; padding-left: 15px; @include default-transition(); &:hover, &:focus { color: $schemaBlau; background-color: mix(#ffffff, $schemaBlau, 95); } &.active, &:active { color: #ffffff; text-decoration: none; background-color: $schemaBlau; font-weight: 700; } } .dropdown-menu { width: 100%; } .nav-search-regio { .dropdown-toggle { display: none; } .dropdown-menu { display: block; } } } @media (min-width: map-get($grid-breakpoints, "md")) { // @see .dropdown:hover > .dropdown-menu { @include default-transition(); display: block; } .dropdown > { .dropdown-toggle::after { display: none; } } .dropdown-menu { left: auto; right: 0; .input-group { width: 15rem; } } } } } .container-regio-headline { top: unset; .row .headline-regio { background-color: $schemaBlauHeaderHeadline; h1, h2, h3, h4, h5, h6 { color: #ffffff; line-height: 1.10em; } } h2 { font-size: 1.5rem; margin: 0; } @media (max-width: map-get($grid-breakpoints, "md") - 1) { position: relative; .row { margin: 0; .headline-regio { padding-top: 15px; padding-bottom: 15px; @media (min-width: map-get($grid-breakpoints, "sm")) { padding-left: 30px; padding-right: 30px; } } } } @media (min-width: map-get($grid-breakpoints, "md")) { top: 105px; .row { margin: 0; .headline-regio { background-color: rgba($schemaBlauHeaderHeadline, .65) ! important; padding: 8px 30px; } } } @media (min-width: map-get($grid-breakpoints, "lg")) { top: unset; bottom: 20px; .row .headline-regio { padding: 15px 30px; } } @media (min-width: map-get($grid-breakpoints, "xl")) { bottom: 35px; } .row .headline-regio h2 { @media (min-width: map-get($grid-breakpoints, "md")) { font-size: 1.6rem; } @media (min-width: map-get($grid-breakpoints, "lg")) { font-size: 1.5rem; } @media (min-width: map-get($grid-breakpoints, "xl")) { font-size: 1.8rem; } } } &.header-startpage { .img-header { display: block; > img { margin: 0; @media (max-width: map-get($grid-breakpoints, "md") - 1) { margin: -12% 0 -18% 0; } } } .container-regio-headline { h2 { margin-bottom: 0.5rem; } h4 { font-size: 1.1rem; margin: 0; } @media (min-width: map-get($grid-breakpoints, "md")) { top: unset; bottom: 40px; .row .headline-regio { h2 { font-size: 2.0rem; } h4 { font-size: 1.5rem; } } } @media (min-width: map-get($grid-breakpoints, "lg")) { bottom: 70px; } @media (min-width: map-get($grid-breakpoints, "xl")) { bottom: 80px; .row .headline-regio h2 { font-size: 2.5rem; } } } } } section { &.section-emphasized { background-color: $gray-100; margin-top: 1.7em; padding-top: 0.7em; .container-regio { margin-top: 0; } } a.btn-scroll-top { background-color: $gray-200; display: inline-block; padding: 6px 1px; &:hover { background-color: $gray-300; } } } // Sticky Footer: @see html, body { height: 100%; } body { display: flex; flex-direction: column; } .main-wrapper { flex: 1 0 auto; } footer { flex-shrink: 0; background-color: $schemaBlau; padding: 45px 0; &, a { color: #ffffff; @include default-transition(); } a:hover { color: mix(#ffffff, $schemaBlau, 75); text-decoration: none; } ul.sitemap { padding: 0; list-style-type: none; li { margin: 0 0 0.7em 0; padding: 0; a { font-weight: 600; text-transform: uppercase; } a.nav-link { display: inline; padding: 0; } } } img.logo { margin-left: 1ex; vertical-align: -10px; width: 150px; height: auto; } }