/** * Theme: AfD BTW 2021 * * Bootstrap breakpoints * --------------------- * sm = 576+ px * md = 768+ px * lg = 992+ px * xl = 1200+ px * xxl = 1400+ px * * colors * ------ * blue = #009fe1 * red = #e2001a * dark = #333 * light = #f0f0f0 * * **/ @blue: #118dc3; @dkblue: #003366; @red: #e2001a; @white: #fff; @dark: #333; @light: #f0f0f0; @font-color: #fff; /* colors */ .blue { color: @blue; } .dkblue { color: @dkblue; } .red { color: @red; } .bg-blue { background-color: @blue !important; color: @white; } .bg-dkblue { background-color: @dkblue !important; color: @white; } .bg-red { background-color: @red !important; color: @white; } .light { color: @light; } .bg-light { background-color: @light !important; color: @font-color; } .white { color: @white; } .bg-white { background-color: @white !important; } .dark { color: @dark; } .bg-dark { background-color: @dark !important; color: @light; } .bg-gradient-blue { background: linear-gradient(90deg, @blue, @dkblue); } .bg-gradient-blue90 { background: linear-gradient(0deg, @dkblue, @blue); } /* fonts */ @font-face { font-family: "Open Sans"; font-weight: 300; font-style: normal; src: url('../fonts/Open_Sans/OpenSans-Light.ttf') format('truetype'); } @font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; src: url('../fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype'); } @font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; src: url('../fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype'); } @font-face { font-family: "Oswald"; font-weight: 500; font-style: normal; src: url('../fonts/Oswald/Oswald-Medium.ttf') format('truetype'); } @font-face { font-family: "Bitter"; font-weight: 400; font-style: normal; src: url('../fonts/Bitter/static/Bitter-Regular.ttf') format('truetype'); } @font-face { font-family: "Bitter"; font-weight: 600; font-style: normal; src: url('../fonts/Bitter/static/Bitter-Bold.ttf') format('truetype'); } @font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; src: url('../fonts/Barlow_Condensed/BarlowCondensed-BoldItalic.ttf') format('truetype'); } @font-face { font-family: 'LigatureSymbols'; src: url('../fonts/LigatureSymbols/LigatureSymbols-2.11.eot'); src: url('../fonts/LigatureSymbols/LigatureSymbols-2.11.eot?#iefix') format('embedded-opentype'), url('../fonts/LigatureSymbols/LigatureSymbols-2.11.woff') format('woff'), url('../fonts/LigatureSymbols/LigatureSymbols-2.11.ttf') format('truetype'), url('../fonts/LigatureSymbols/LigatureSymbols-2.11.svg#LigatureSymbols') format('svg'); src: url('../fonts/LigatureSymbols/LigatureSymbols-2.11.ttf') format('truetype'); font-weight: normal; font-style: normal; } .lsf, .lsf-icon:before { font-family: 'LigatureSymbols'; -webkit-text-rendering: optimizeLegibility; -moz-text-rendering: optimizeLegibility; -ms-text-rendering: optimizeLegibility; -o-text-rendering: optimizeLegibility; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased; -ms-font-smoothing: antialiased; -o-font-smoothing: antialiased; font-smoothing: antialiased; } .lsf-icon:before { content: attr(title); margin-right: 0.5em; font-size: 150%; } .lsf-icon.favorite:before { content: '\E121'; } body { font-family: "Bitter", Helvetica, Sans-serif; font-weight: 300; font-size: 16px; color: @font-color; } @media (min-width:768px) { body { font-size: 18px; } } h1, .h1, h2, .h2, h3, .h3 { font-family: "Barlow Condensed"; } .h1, h1 { font-size: 2.65rem; } h1 .subtitle, .h1 .subtitle { font-family: "Bitter" !important; font-weight: 400; font-size: .6em; } .h2, h2 { font-size: 3rem; } .h3, h3 { font-size: 2rem; } @media (min-width:992px) { .h1, h1 { font-size: 3rem; } } .head-font { font-family: "Barlow Condensed" !important; line-height: 1em; } strong, b { font-weight: 600 !important; } .font-light { font-weight: 300; } a, a:link, a:visited { color: @blue; text-decoration: none; transition: all ease .3s; } a:hover, a:active { color: @red; } .btn-default, .btn-default:link, .btn-default:visited { padding: 30px 20px 30px 2rem; color: @white; background: linear-gradient(0deg,@blue,@blue); box-shadow: 1px 1px 3px rgba(0,0,0,.2); border-radius: 0; font-size: 1.25rem; display: block; margin-bottom: 1rem; transition: background linear .3s; } .btn-default:hover { color: @white; background: linear-gradient(45deg,@dkblue,@blue); } .btn-default .lsf { position: absolute; margin-left: -2.35rem; margin-top: -1rem; font-size: 200%; } .btn-link, .btn-link:link, .btn-link:visited { padding: .5rem 1rem; color: @white; background: linear-gradient(0deg,@blue,@blue); box-shadow: 1px 1px 3px rgba(0,0,0,.2); border-radius: 0; font-size: 1rem; display: inline-block; margin-bottom: 1rem; transition: all linear .3s; } .btn-link:hover, .btn-link:active { color: @white; background: linear-gradient(45deg,@dkblue,@blue); } @media (max-width:576px) { .main-navigation .btn-default { padding: 15px 10px !important; font-size: 1rem; } } .btn-menu { padding: 5px .5rem 0 0; } @media (min-width:768px) { .btn-menu { top: 3rem; left: 5rem; font-size: 120%; } } @media (min-width:992px) { .btn-menu { position: fixed; z-index: 9999; top: 5rem; left: 7rem; font-size: 150%; text-shadow: 1px 1px 4px rgba(0,0,0,.2); transition: all linear .3s; } .btn-menu:hover { top: 5.35rem; left: 7.35rem; font-size: 130%; } } img { width: 100%; } @media (min-width:992px) { img { /* width: auto; */ max-width: auto; } } /* animated */ .scroll-animated { opacity: 0; position: relative; top: 80px; } /* Header BG Layer */ .header-bg-layer { position: fixed; z-index: 5; top: 0; left: 0; right: 0; height: 76px; background-color: rgba(0,0,0, .5); display: none; } /* Content */ .content-wrapper { padding: 3%; } .content-background { padding: 30px 15px; } .content-inner { background: @white; padding: 1rem 1rem; color: @dark; } .content-inner ul > li { margin-bottom: .5rem; } @media (min-width:768px) { .content-inner { padding: 1.5rem 2rem; } } section { position: relative; } section.content-header {} /** section.content-header .portrait { padding-left: 30px; } **/ section.content-main { padding: 30px 0; } /* aside */ .sidebar {} .sidebar .box { padding: 1rem 1rem; margin-bottom: 1.5rem; } .afd-logo { position: fixed; z-index: 99; top: 2rem; right: 2rem; width: 80px; height: auto; float: none; } .welcome { background: @blue; color: @white; padding: 15px 30px; } .portrait-wrapper {} .portrait { display: inline-block; } .candidate-name { position: fixed; top: 1.5rem; left: 2rem; } @media (min-width:576px) { .portrait { margin-top: 60px; } } /* set cname fixed top on mobiles */ @media (min-width:768px) { .afd-logo { top: 2.5rem; } .candidate-name { top: 2rem; left: 3rem; } } @media (max-width:992px) { .no-padding { padding: 0; margin-bottom: -2rem; } .candidate-name { position: fixed; left: auto; z-index: 6; font-size: 1.5rem; line-height: 1.2rem; } .candidate-name .subtitle { font-size: 1rem; } } /* set cname default on larger */ @media (min-width:993px) { section.content-header .portrait { position: relative; } section.content-header img.portrait { margin-left: 2rem; } .candidate-name { position: relative; top: auto; left: auto; } .candidate-name .name { display: inline-block; margin-right: 15px; } .afd-logo { position: relative; top: auto; right: auto; width: 120px; display: inline-block; float: right; } } @media (max-width:1200px) { .subtitle { display: block; font-size: 1.5rem; margin-top: .5rem; } } @media (min-width:1200px) { section.content-header { min-height: 560px; } .portrait { margin-top: auto; } } .slogan { position: absolute; z-index: 5; top: 40px; } .slogan .slogan-subtitle { display: inline-block; background: linear-gradient( 90deg, @blue, @dkblue ); padding: 8px 15px; transform: rotate(-1deg); font-family: serif; font-size: 1.25rem; margin-top: -20px; margin-bottom: 30px; } @media (min-width:768px) { .content-background { padding: 30px 30px; } .slogan { top: 60px; } .slogan .slogan-subtitle { margin-left: 20%; } } @media (min-width:1400px) { .content-wrapper { padding: 2%; } .content-background { padding: 60px 60px; } .slogan { position: absolute; top: 5%; right: 60px; } .slogan img { max-width: 800px; } .slogan .slogan-subtitle { position: absolute; bottom: -2.5rem; left: 20%; font-size: 2rem; margin-left: 0; } } /* content carousel */ .carousel-indicators { bottom: -70px; } .carousel-navigation { width: 100%; overflow-x: auto !important; margin-bottom: 1rem; } .hide-native-scrollbar { scrollbar-width: none; /* Firefox 64 */ -ms-overflow-style: none; /* Internet Explorer 11 */ } .hide-native-scrollbar::-webkit-scrollbar { /** WebKit */ width: 0; height: 0; } .carousel-navigation .carousel-navbar { display: block; width: 100%; height: 60px; } .carousel-navigation .btn-carousel { width: auto; padding: 5px 15px; font-size: 1rem; display: inline-block; } .activeBtn { background: @red !important; } @media (min-width:768px) { .carousel-indicators { bottom: -80px; } } /* content table */ .table-wrapper {} .table-wrapper .table-row { margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: solid 1px @light; } /* subscribe form */ .btn-subscribe-now { display: block; text-align: center; color: @white !important; cursor: pointer; padding: 15px 0; } .btn-subscribe-now .lsf { position: absolute; margin-left: -2.35rem; margin-top: -1rem; font-size: 200%; } .subscribe-form-wrapper { padding: 1rem 0; display: none; } .subscribe-form-wrapper input { margin-bottom: .75rem; } .btn-form-default, .btn-form-default:link { background: @blue; color: @white !important; text-decoration: none; border-radius: 0; padding: .4rem 1rem; } .btn-form-default:hover, .btn-form-default:active { background: @dkblue; color: @white !important; text-decoration: none; border-radius: 0; padding: .4rem 1rem; } @media (min-width:1200px) { .subscribe-form-wrapper { display: block; padding: 1rem 1rem; } } .subscribe-form-status { padding-top: 1rem; color: @red; font-weight: bold; display: none; } .form-closed { display: none; } /* Social media */ .btn-facebook { background-color: #38529a; color: @white !important; } .btn-instagram { background-color: #000; color: @white !important; } .btn-youtube { background-color: #ee1b0d; color: @white !important; } .btn-twitter { background-color: #1c9cea; color: @white !important; } /* footer */ footer { color: @dark; font-size: .9rem; text-align: center; padding: 15px 15px; } footer a, footer a:link, footer a:visited { color: @dark; cursor: pointer; } footer a:hover, footer a:active { color: @blue; } footer .social-media { border-bottom: solid 1px @light; padding-bottom: 2rem; margin: 2rem 0; } footer .social-media .lsf { font-size: 250%; } footer .social-media .btn-social-media { display: inline-block; width: 50px; height: 50px; padding: 5px 5px; line-height: 40px; margin: 0 .5rem; } footer .deutschland-normal { position: relative; text-align: center; } footer .deutschland-normal .slogan-image { display: block; width: 100%; max-width: 300px; margin: 0 auto; height: auto; padding: 2rem 1rem; } footer .deutschland-normal .slogan-subtitle { position: relative; top: -2rem; width: 100%; max-width: 320px; font-size: 1rem; display: inline-block; background: linear-gradient( 90deg, @blue, @dkblue ); color: @white; padding: 8px 15px; transform: rotate(-1deg); font-family: serif; margin: 0 auto 30px; } footer .copyright { border-top: solid 1px @light; padding-top: 1rem; margin-top: 1rem; font-size: .9em; } /* modal iframes */ iframe { width: 100%; height: 100%; min-height: 320px; }