/**
 *  AfD Baden-Württemberg CSS 2026 
 *  ------------------------------
 *  
 *  Based on Bootstrap 4.x
 *  Breakpoints
 *  ---------------------
 *  sm = 576+ px 
 *  md = 768+ px
 *  lg = 992+ px
 *  xl = 1200+ px 
 * 
 *  color scheme
 *  ------------
 *  blue    = #009ee0
 *  medblue = #2f81b7
 *  dk-blue = #173557
 *  red     = #e10000
 *  
**/

@blue : #009ee0;

@medblue: #2f81b7;

@dkblue : #173557;

@red : #e10000;

@dkred : #c00;

@dark : #333;

@white : #fff;

@light: #f6f6f6;

@lightgrey: #ddd;

@grey: #666;

@font-color : #444;


@font-face {
  font-family: "Barlow Condensed";
  font-weight: 300;
  font-style: normal;
  src: url('../fonts/Barlow_Condensed/BarlowCondensed-Light.ttf') format('truetype');
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/Barlow_Condensed/BarlowCondensed-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-style: normal;
  src: url('../fonts/Barlow_Condensed/BarlowCondensed-ExtraBold.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: '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' !important;
  -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.3em;
  font-size: 150%;
}

.lsf-icon.home:before {
  content: '\E072';
}


html, 
body  {
  font-family: "Barlow Condensed", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45rem;
  color: @font-color;
  background-color: @white;
}

@media (min-width:1200px) {
  body {
    overflow-x: hidden;
    font-size: 20px;
  }
}

/* h1 = 40px, h2 = 36px, h3 = 24px, h4 = 20px, h5, h6 */

h1 {
  font-size: 2.25rem;
  text-align: center;
  text-decoration: underline;
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem; 
  font-weight: 500;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.15rem; 
  font-weight: 500;
}

h5 {
  font-size: 1rem; 
  font-weight: 500;
}

@media (min-width:1200px) {
  h1 {
    font-size: 2.25rem;
    text-align: left;
  }
  
  h2 {
    font-size: 2rem;
    text-align: left;
  }
  
  h3 {
    font-size: 1.35rem; 
  }
  
  h4 {
    font-size: 1.15rem; 
  }
  
  h5 {
    font-size: 1rem; 
    font-weight: 500;
  }
}

.bitter {
  font-family: "Bitter";
  font-weight: normal;
  font-size: .8em;
}

img {
  max-width: 100%;
}

.blue {
  color: @blue;
}

.red {
  color: @red;  
}

.grey {
  color: @grey;
}

.lightgrey {
  color: @lightgrey;
}

.light {
  color: @light;
}

.white {
  color: @white;
}

.dkblue {
  color: @dkblue;
}

.bg-white {
  background-color: @white; 
  color: @font-color;
}

.bg-blue {
  background-color: @blue !important;
  color: @white;
}

.bg-dkblue {
  background: @dkblue;
  color: @white;
}

.bg-dkblue * {
  color: @white;
}

.bg-red {
  background-color: @red;
  color: @white;
}

.bg-light {
  background-color: @light;
}

.bg-grey {
  background: @grey;
}

.bg-landtag {
  background: @dkblue url('../img/bg_landtag.jpg') center top no-repeat;
}

.bg-dkblue-gradient {
  background: linear-gradient(90deg, #003B63, #0066A6);
}

.bg-blue-gradient {
  background: linear-gradient(90deg, #0072B3, #00A2DF);
}

.bg-red-gradient {
  background: linear-gradient(45deg, #cc0000, #b80000);
}

.bg-red-gradient2 {
  background: linear-gradient(-7.5deg, #b80000 50%, #cc0000 50%);
}

.bg-landtag, .bg-dkblue-gradient, .bg-blue-gradient, .bg-red-gradient, bg-red-gradient2 {
  color: @white;
}

a,
a:link,
a:visited {
  color: @font-color;
  text-decoration: none;
  transition: all linear .3s;
}

a:hover,
a:active {
  color: @blue;
  text-decoration: none;
}

.bg-blue-gradient a,
.bg-blue-gradient a:link,
.bg-blue-gradienta:visited {
  color: @white;
  text-decoration: none;
  transition: all linear .3s;
}

.bg-blue-gradienta:hover,
.bg-blue-gradienta:active {
  color: @blue;
  text-decoration: none;
}

.bg-dkblue-gradient a,
.bg-dkblue-gradient a:link,
.bg-dkblue-gradient a:visited {
  color: @white;
  text-decoration: none;
  transition: all linear .3s;
}

.bg-dkblue-gradient a:hover,
.bg-dkblue-gradient a:active {
  color: @dkblue;
  text-decoration: none;
}

.bg-blue a,
.bg-blue a:link,
.bg-blue a:visited {
  color: @white;
  text-decoration: none;
  transition: all linear .3s;
}

.bg-blue a:hover,
.bg-blue a:active {
  color: @dkblue;
  text-decoration: none;
}

.btn-afd,
.btn-afd:link,
.btn-afd:visited {
  background: @red;
  color: @white;
  text-decoration: none;
  transition: all linear .5s;
  display: inline-block;
  padding: 10px 30px;
  margin: 0 7px 7px 0;
  cursor: pointer;
}

.btn-afd:hover,
.btn-afd:active {
  background: @dkred;
  background: -webkit-linear-gradient(#ff0000, #cc0000);
  background: -o-linear-gradient(#ff0000, #cc0000);
  background: -moz-linear-gradient(#ff0000, #cc0000);
  background: linear-gradient(#ff0000, #cc0000);
  color: @white !important;
  text-decoration: none;
}

.btn-red,
.btn-red:link,
.btn-red:visited {
  background: linear-gradient(90deg, #cc0000, #ff0000);
  color: @white;
  padding: 10px 30px 10px 15px;
  box-shadow: 0px 4px 4px rgba(0,0,0,.25);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all linear .3s;
}

.btn-red:focus,
.btn-red:hover,
.btn-red:active {
  color: @white !important;
}

.btn-red span {
  display: inline-block;
  position: absolute;
  width: 10px;
  height: 18px;
  color: @white;
  transition: all linear .3s;
  opacity: 0;
  margin-top: 1px;
  margin-left: 0px;
}

.btn-red:focus span,
.btn-red:hover span,
.btn-red:active span {
  opacity: 1;
  margin-left: 10px;
}

.btn-blue,
.btn-blue:link,
.btn-blue:visited {
  background: linear-gradient(90deg, #00A2DF, #0072B3);
  color: @white;
  padding: 10px 30px 10px 15px;
  box-shadow: 0px 4px 4px rgba(0,0,0,.25);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all linear .3s;
}

.btn-blue:focus,
.btn-blue:hover,
.btn-blue:active {
  color: @white !important;
}

.btn-blue span {
  display: inline-block;
  position: absolute;
  width: 10px;
  height: 18px;
  color: @white;
  transition: all linear .3s;
  opacity: 0;
  margin-top: 1px;
  margin-left: 0px;
}

.btn-blue:focus span,
.btn-blue:hover span,
.btn-blue:active span {
  opacity: 1;
  margin-left: 10px;
}

.btn-download,
.btn-download:link,
.btn-download:visited {
  display: inline-block;
  text-align: center;
  width: 90px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(45deg, #cc0000, #b80000);
  color: @white;
  /* padding: 10px 30px 10px 15px; */
  box-shadow: 0px 4px 4px rgba(0,0,0,.25);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all linear .3s;
}

.btn-download:focus,
.btn-download:hover,
.btn-download:active {
  color: @white !important;
}

.btn-download .lsf {
  font-size: 400%;
}

/* lists */

ol {
    counter-reset: item;
}

ol > li {
    counter-increment: item;
}

ol ol > li {
    display: block;
}

ol ol > li:before {
    content: counters(item, ".") ". ";
    margin-left: -20px;
}

/* lines */

.horizontal-line {
  max-width: 90%;
  height: 1px;
  background: @lightgrey;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}


/* BS container model */
@media (min-width:1920px)
{
  .container, 
  .container-lg, 
  .container-md, 
  .container-sm, 
  .container-xl {
    max-width: 1280px;
  }
}


/* Video intro */
#home-multimedia {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; 
  z-index: 999;
  background: rgba(0,0,0,.9);
}

.video-toolbar {
  position: absolute;
  z-index: 998;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: @font-color;
  padding: 10px 15px;
  cursor: pointer;
  transition: all linear .3s;  
}

.video-toolbar img {
  width: 50%;
  max-width: 200px;
}

#closePlayer {
  position: absolute;
  z-index: 999;
  top: 22px;
  right: 20px;
  background: @blue;
  color: @white;
  padding: 8px 15px;
  cursor: pointer;
  transition: all linear .3s;
}

#closePlayer:hover {
  text-shadow: 1px 1px 4px @white;
}

video#bgvid { 
  position: absolute;
  
  top: -5%;
  
  left: 0;
  bottom: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  background: no-repeat;
  background-size: cover; 
}

/* Layout: topbar */

.topbar-toggler {
  position: relative;
  top: .25rem;
  right: .5rem;
  color: @white;
  display: inline-block;
  width: 16px;
  height: 16px;
  padding: 0;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
  transition: all linear .3s;
}

.active-toggler {
  transform: rotate(180deg);
}

.topbar {
  background: @white;
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 995;
  height: 2rem;
  font-size: .9em;
  border-bottom: solid 1px @light;
}

@media (max-width:576px) {
  .topbar {
    display: block !important;
    padding: 0 0 5px;
  }
}

@media (min-width:768px) {
  .topbar-toggler {
    display: none;
  }
}

@media (min-width:992px) {
  .topbar {
    height: 2.15rem;
  }
}

.topbar .topbar-left,
.topbar .topbar-right {
  line-height: 26px;
  margin-top: -5px;
}

.topbar .topbar-left {  
  /* text-align: center; */
  text-align: left;
  font-size: .9em;
  padding: 6px 5px;
}

.topbar .topbar-right {
  text-align: right;
}

.topbar p {
  margin: 0;
}

.topbar .topbar-right span {
  font-size: 150%;
  display: inline-block;
  margin-top: -8px;
  margin-left: 4px;
}

.topbar ul {
  list-style-type: none;
  display: inline-block;
  width: 100%;
}

.topbar ul > li {
  display: inline-block;
  margin-right: .5rem;
  text-align: right;
}

.topbar ul > li:last-child {
  margin-right: 0px; 
}

.topbar ul > li a,
.topbar ul > li a:link,
.topbar ul > li a:visited {
  display: inline-block;
  padding: 6px 5px;
  color: @white;
}

@media (max-width:767px)
{
  .topbar-right-content {
    display: none;
    position: relative;
    z-index: 995;
    left: 0;
    right: 0;
    margin-left: -15px;
    margin-right: -15px;
    padding: .5rem;
  }
}

@media (min-width:768px)
{

  .topbar .topbar-right-content {
    /* display: inline-block; */
  }
}

/* Social media sidebar */

.social-media-sidebar {
  position: fixed;
  z-index: 5;
  /* top: 27.5%; */
  bottom: 15px;
  right: 0px;
  width: 40px;
  height: auto;  
  display: block;  
}

.social-media-sidebar .social-media-links {}

.social-media-sidebar .social-media-links .sm-link {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 36px;
  background: @blue;
  color: @white;
  font-size: 200%;
  text-align: center;
  margin-bottom: .65rem;
}

.social-media-fb-embedding {
  width: 100%; 
  max-width: 360px; 
  margin-left: auto; 
  margin-right: auto;
}

.social-media-fb-embedding iframe {
  width: 100%;
  max-width: 100%;
  height: 850px;
  border: none; 
  overflow: hidden
}

@media (min-width:768px)
{
  .social-media-sidebar {
    top: auto;
    right: 15px;
    bottom: 65px;
    width: 50px;
  }
  
  .social-media-sidebar .social-media-links .sm-link {
    width: 50px;
    height: 50px;
    line-height: 46px;
  }
  
  .social-media-fb-embedding {
    max-width: 500px; 
  }
}

/* Layout: brand, logo*/

.navbar-brand {}

.afd-site-logo {
  width: 100px;
  height: auto; 
}

@media (min-width:576px)
{
  .afd-site-logo {
    width: 120px;
  }
}

@media (min-width:1200px)
{
  .afd-site-logo {
    width: auto;
    height: 80px;
  }
}

/* Layout: navbar */

.navbar-wrapper {
  background-color: @white;
}

.navbar {
  margin-bottom: 0;
  border: none;
  min-height: 80px;
  padding: 15px 0;
}

@media (min-width:1200px)
{
  .navbar {
    min-height: 120px;
    padding: 0 0;
  }
}

.navbar-logo {
  width: auto;
  height: 100px;
}

.navbar-default {
  background: @blue;
}

.navbar-logout {
  background: @blue;
  position: fixed; 
  width: 200px;
  height: 1.65rem;
  z-index: 999;
  top: auto;
  bottom: 5px;
  right: 1rem;
  left: 1rem;
  color: @white;
  border: none;
}

.navbar-logout .logout {
  display: inline-block;
  color: @white !important;
}

.navbar-toggler {
  background: transparent;
  border: none;
  z-index: 991;
  position: absolute;
  top: 24px;
  right: 0;
  font-size: 180%;
  color: @dark;
}

.navbar-toggler-active {
  transform: rotate(-90deg);
}

#nav-icon {
  width: 28px;
  height: 28px;
  position: relative;
  margin: 8px auto 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: @font-color;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 10px;
}

#nav-icon span:nth-child(4) {
  top: 20px;
}

#nav-icon.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.navbar-nav {
  margin-top: 0px;
}

.navbar-nav > .nav-item {
  margin-bottom: 1px;
  vertical-align: middle;
}

.navbar-nav > .nav-item > .nav-link,
.navbar-nav > .nav-item > .nav-link:link,
.navbar-nav > .nav-item > .nav-link:visited {
  font-size: 1.15em;
  text-transform: uppercase;
  padding: 10px 12px;
  transition: all linear .4s;
  text-align: left;
  color: @dark;
  text-shadow: none;
}

.navbar-nav > .nav-item > .nav-link:hover {
  color: @dkblue !important;
  /* text-shadow: 1px 1px 8px rgba(0,0,0,.3); */
}

.navbar-nav > .nav-item > .nav-link > .lsf-icon {
  position: relative;
  top: -7px;
}

.navbar-nav > .nav-item > .nav-link.bg-red {
  background: @red !important;
  color: @white !important;
}

.navbar-nav > .nav-item.active > a, 
.navbar-nav > .nav-item.active > a:focus, 
.navbar-nav > .nav-item.active > a:hover {
  /* background-color: @red; */
  color: @dkblue;  
}

.navbar-nav .nav-link {
  padding-left: 1rem;
}

.navbar-nav > .nav-item > .dropdown-menu {
  margin-top: 0;
  border: 0;  /* remove all border and radius */
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  background-color: @white;
  box-shadow: none;
}

.dropdown-menu {
  color: @dark;
  border: none;
  border-radius: 0;
}

.dropdown-menu a,
.dropdown-menu a:link,
.dropdown-menu a:hover,
.dropdown-menu a:visited {
  color: unset;
}

.dropdown-menu > .dropdown-item > .nav-link {
  display: block;
  clear: both;
  white-space: nowrap;
  font-size: 1.25em;
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all linear .4s;
  text-align: left;
  color: @medblue;
}

.navbar-nav .dropdown-menu .active .dropdown-item {
  color: @blue;
} 

.dropdown-item,
.dropdown-item:link,
.dropdown-item:visited {
  padding: .25rem 1rem;
  color: @medblue;
}

.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item:hover {
  background: @light;
  color: @dkblue;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}

/* dropdown animation */
@media (min-width:1200px)
{
  .navbar-logout {
    top: 15px;
    right: 0px;
  }
  
  .navbar-nav > .nav-item {
    margin-left: .5rem;
  }

  .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-50px);
    transition: .5s ease all;
    }
    
  .dropdown-menu.show {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0px); 
    transition: .5s ease all;
    }
}

/* additional css for fixted top navbar */
.navbar-fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  /* border-bottom: solid 1px @white; */
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
}

.topbar-spacing {
  margin-top: 70px;
}

@media (min-width:1200px)
{
  .topbar-spacing {
    margin-top: 150px;
  }  
}

.navbar-fixed-height {
  min-height: 80px;
  padding: 0 0 10px;
}

.navbar-fixed-height .afd-site-logo,
.navbar-fixed-height .navbar-logo {
  height: 50px !important;
  width: auto;
  margin-top: .5rem;
}

.navbar-fixed-height .navbar-nav {
  margin-top: 15px;
}

.navbar-fixed-height .navbar-toggler {
  top: 15px;  
}

@media only screen and (max-width:768px) {
  .navbar-nav > li > a {
    text-align: right;
  }
}

@media only screen and (max-width:480px) {
  .navbar {
    min-height: 76px;
  }
  
  .navbar-logo {
    height: 50px;
    width: auto;
  }
}

.protectedNavigation {
  margin-top: .5rem;
  padding: .5rem;
  border: solid 1px @grey;
  background-color: @light;
}

.protectedNavigation ul li ul li {
  padding-left: .65rem;
}

.protectedNavigation .nav-link {
  padding: .25rem 1rem;
}

.protectedNavigation .nav-link.active {
  font-weight: bold;
}

@media (min-width:1200px) {
  .protectedNavigation {
    margin-top: 60px;
  }
}

/* breadcrumbs */
.breadcrumbs-wrapper {
  background: @light;
}

.breadcrumbs {
  padding: .5rem .5rem;
  font-size: .8rem;
  color: @grey;
}

@media (min-width:1200px)
{
  .breadcrumbs {
    padding:.5rem 0;
  }
}

/* Carousel slider */

.slider-wrapper {
  position: relative;
  width: 100%;
  background: @white;
  box-shadow: 0 5px 5px rgba(0,0,0,.3);
}

.slider-background {}

@media (max-width:1200px)
{
  .slider-wrapper > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.slider-wrapper > .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.slider-wrapper .slider-panel-image {
  width: 100%;
  max-width: 200%;
}

.carousel {
  position: relative;
  margin-top: 0;
}

.carousel-caption {}

.carousel-caption.caption-top {
  top: 15%;
}

.carousel-caption.caption-bottom {
  bottom: 12%;
}

.carousel-caption .caption {
  font-size: 3rem;
  display: inline-block; 
  /* background: @white; */
  padding: .5rem 2rem;
}

.carousel-caption a,
.carousel-caption a:link,
.carousel-caption a:visited {
  color: @font-color;
  display: inline-block;
}

.carousel-inner > .item > a > img.desktop, 
.carousel-inner > .item > img.desktop, 
.thumbnail a > img, .thumbnail > img.desktop {
  display: inline-block;
}

.carousel-inner > .item > a > img.mobile, 
.carousel-inner > .item > img.mobile, 
.thumbnail a > img, .thumbnail > img.mobile {
  display: none;
}

@media (max-width:1200px) 
{
  .carousel-caption.caption-top {
    top: 5%;
  }
  
  .carousel-caption.caption-bottom {
    bottom: 4%;
  }
  
  .carousel-caption .caption {
    font-size: 1.75rem;
    padding: 1rem 1rem;
    line-height: 1.75rem;
  }

  .carousel-inner > .item > a > img.desktop, 
  .carousel-inner > .item > img.desktop, 
  .thumbnail a > img, .thumbnail > img.desktop {
    display: none !important;
  }
  
  .carousel-inner > .item > a > img.mobile, 
  .carousel-inner > .item > img.mobile, 
  .thumbnail a > img, .thumbnail > img.mobile {
    display: inline-block !important;
  }
  
  .carousel .item img.mobile {
    width: 100%;
    max-width: 130%;
    margin-left: 0;
  }  
}

@media (max-width:576px) 
{
  .carousel-caption .caption {
    font-size: 1.25rem;
    padding: .5rem 1rem;
    line-height: 1.75rem;
  }
}

.carousel-control.left,
.carousel-control.right {
  background: none;
}

.carousel-control .arrow-left,
.carousel-control .arrow-right {
  position: absolute;
  top: 45%;
  z-index: 5;
  display: inline-block;
  margin-top: -10px;
}
.carousel-control .icon-prev,
.carousel-control .arrow-left {
  left: 0;
  margin-left: 0;
  transition: all linear .3s;
}

.carousel-control .arrow-left:hover {
  margin-left: 10px;
}

.carousel-control .icon-next,
.carousel-control .arrow-right {
  right: 0;
  margin-right: 0;
  transition: all linear .3s;
}

.carousel-control .arrow-right:hover {
  margin-right: 10px;
}


/* Layout: main content wrapper */

.content-wrapper {
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.content-wrapper .document ul li:not(.nav-item),
.content-wrapper .document ol li:not(.nav-item) {
  margin-bottom: 1rem;
}



/* sections */

section {
  background-image: unset;
  background-size: cover;
  background-repeat: repeat-y;
}

section.padding-small {
  padding-top: 15px;
  padding-bottom: 15px;
}

section.padding-medium,
section.padding-default {
  padding-top: 30px;
  padding-bottom: 30px;
}

section.padding-large {
  padding-top: 50px;
  padding-bottom: 50px;
}

section.padding-xlarge {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width:1200px)
{
  section.padding-large {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  section.padding-xlarge {
    padding-top: 120px;
    padding-bottom: 120px;
  } 
}

/* home topics */

.home-topic {
  background: @blue;
  padding: 20px 20px;
  margin-bottom: 30px;
  position: relative;
}

.home-topic .topic-header {
  font-size: 2.25em;
  color: @white;
  margin: 0 0 20px;
}

.home-topic img {
  width: 100%;
  height: auto;
}

.home-topic-btn {
  background: transparent;
  color: @white;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.home-topic-btn .button {
  background: @red;
  color: @white;
  text-decoration: none;
  transition: all ease-in-out .3s;
  display: inline-block;
  padding: 10px 30px;
  margin: 0 7px 7px 0;
  border: solid 2px transparent;
}

.home-topic-btn .button:hover {
  border: solid 2px @white;
}

/* home mdl */

.mdl-infobox {
  background: @red;
  color: @white;
  padding: 15px 15px 5px;
  text-align: center;
}

.active-mdl {
  background: @blue !important;
}

.mdl-infobox .show-mdl {
  display: block;
  cursor: pointer;
  font-size: 2em;
  margin-top: 10px;
}

.mdl-infobox .mdl-name {
  font-size: 1.65em;
  line-height: 1.1em;
  margin-bottom: .5em;
}

.mdl-infobox .mdl-district {
  min-height: 50px;
}

.mdl-details-wrapper {
  position: relative;
}

.mdl-details {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  min-height: 250px;
  background: @blue;
  padding: 20px;
}

.mdl-details .mdl-portrait-link {
  text-align: center;
  margin-top: 1em;
}

.mdl-details .close-details {
  cursor: pointer;
  font-size: 2em;
  position: absolute;
  top: 10px;
  right: 20px;
}

@media (max-width:768px) 
{
  .mdl-infobox {
    margin-bottom: 15px;
  }
  
  .mdl-details {
    position: fixed !important;
    width: 100%;
    height: 100%;
    bottom: 0;  
    overflow-y: auto;  
  }  
}

/* home news */

.home-news {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.home-news .news-image {
  width: 100%;
  max-height: 250px;
  position: relative;
  background: @blue;
  overflow: hidden;
}

.home-news .news-image img {
  opacity: 1;
  transition: all ease-in .3s;
}

.home-news .news-image img:hover {
  opacity: .65;
}

.home-news .news-date {
  color: @grey;
  font-size: .85rem;
}

.home-news .news-header {
  position: relative;
}

.home-news .news-header .news-headline {
  font-size: 1.25rem;
}

.home-news .home-teaser {
  line-height: 1.5rem;
  padding-bottom: .5rem;
}

.home-news .news-image img {
  width: 100%;
}

/* news list */

.news-list {}

.news-list .news-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: solid 1px @white;
}

.news-list .news-item .meta {
  color: @white;
  font-size: .85rem;
  padding: 5px;
  border-top: solid 1px @light;
  border-bottom: solid 1px @light;
  margin-bottom: .5rem;
}

.news-list .news-item .meta .lsf {
  margin-right: 5px;
}

.news-list .news-item .date,
.news-list .news-item .autor {
  display: inline-block;
  padding: 0 0;
}

.news-list .news-item .autor::before {
  content: '|';
  display: inline-block;
  margin: 0 10px;
}

.news-list .news-item .headline {
  text-align: left;
}

.news-list .news-item .image-link {
  width: 100%;
  display: inline-block;
  text-align: center;
}

.news-list .news-item .image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all .3s ease-in-out;
  margin-bottom: 1rem;
}

.news-list .news-item .image:hover {
  box-shadow: 1px 1px 6px rgba(0,0,0,.25);
}

.news-list .news-item .teaser {}

.news-list .news-item .teaser::after {
  display: block;
  margin-bottom: 1rem;
}

.news-list .news-item .link::before {
  display: block;
  text-align: right;
  margin-top: 2rem;
  margin-left: 15px;
}

.news-list .news-item .link {
  display: inline-block;
  text-align: right;
  margin-top: .65rem;
  float: right;
  margin-right: 0;
}

@media (min-width:768px)
{  
  .home-news .news-image img {
    height: 220px;
  }
}

@media (min-width:1200px)
{
  .home-news .news-image img {
    height: 264px;
  }
  
  .home-news .news-header .news-headline {
    height: 3rem;
    overflow-y: hidden;
  }
  
  .home-news .home-teaser {
    height: 7.5rem;
    overflow-y: hidden;
  }
  
  .news-list .news-item .meta {
    margin: .5rem 0;
  }
  
  .news-list .news-item .image {
    margin-bottom: 0;
  }
}

/* document banner */

.document-banner {}

.document-banner img {
  width: 100%;
  height: auto;
}

/* document */
.document {}

.document .document-title {
  margin-bottom: .5em;
  text-align: center;
}

.document .document-subtitle {
  margin-bottom: 1.5em;
  text-align: center;
}

.document .news-teaser {
  /* background: @light; */
  min-height: 400px;
  /* padding: 15px; */
  margin-bottom: 20px;
}

.document .news-teaser .news-headline {
  color: @blue;
}

.document .news-teaser .news-autor {
  color: @grey;
  font-size: .9em;
  padding: 10px 0;
}

/* document: newsblog */

.document-news .news-header {
  height: 3.35em;
  overflow: hidden;
}

.document-news {
  background: @light;
  padding: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px; 
  margin-bottom: 50px;
}

.document-news .news-image {
  width: 100%;
  height: 250px;
  position: relative;
  background: @blue;
  overflow: hidden;
}

.document-news .news-image-link {
  display: block;
  background: @white;
  border:solid 1px @light;
  padding: 2px;
  transition: all linear .3s;
}

.document-news .news-image-link,
.document-news .news-image-link img {}

.document-news .news-image-link:hover {
  border:solid 1px @blue;
}

.document-news .news-teaser {
  min-height: 200px;
  padding: 0;
  margin-bottom: 0;
}

@media (min-width:768px)
{  
  .document-news .news-image img {
    height: 220px;
  }
}

@media (min-width:1200px)
{
  .document-news .news-image img {
    height: 264px;
  }
  
  .document-news .news-header {
    margin-bottom: .5rem;  
  }
  
  .document-news .news-header .news-headline {
    height: 3.65rem;
    overflow-y: hidden;    
  }
  
  .document-news .home-teaser {
    height: 7.5rem;
    overflow-y: hidden;
  }
}

/* newsblog / newsarticle */

.newsarticle {}

.newsarticle .newsarticle-headline {
  text-align: left !important;
  margin-bottom: .65em;
}

.newsarticle .newsarticle-text {}

.newsarticle .newsarticle-image {
  display: inline-block;
  margin-bottom: 1rem;
}

.mobile-newsarticle-image {
  display: block;
  margin: 10px 0;
  border: none;
}

.newsarticle .newsarticle-image img {
  width: 100%;
}

.news-date {
  color: @dkblue;
  font-size: .95em;
  padding: 5px 0 10px;
}

.newsarticle .newsarticle-actions,
.newsarticle .newsarticle-metadata {
  border-top: solid 1px @grey;
  border-bottom: solid 1px @grey;
  padding: 10px 2px;
  margin: 1em 0;
}

.newsarticle .actions-info,
.newsarticle .newsarticle-metadata {
  font-size: .8em;
  color: @grey;
  text-transform: uppercase;
}

.newsarticle .newsarticle-actions img {
  width: 30px;
  height: auto;
  margin-top: 5px;
  margin-right: 3px;
}

/* newsblog search */

.newsblog-search {
  background: @light;
  padding: 15px;
  margin-bottom: 1em;
  min-height: 60px;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -o-border-radius: 6px;  
}   /* form */

.newsblog-search .search-category,
.newsblog-search .searchterm {
  border: solid 1px @grey;
  border-radius: 4px;
  background: @white;
  line-height: 24px;
}

.newsblog-search .search-category {
  width: 200px;
  padding: 4px;
  margin-right: 20px;
}

.newsblog-search .searchterm {
  width: 150px;
  padding: 4px;
}

.search-result-info {
  line-height: 30px;
}

@media only screen and (max-width:768px) {
  .search-result-info {
    display: none;
  }
}


/* Document Image map */
.imagemap-wrapper {
  width: 100%;
}

tspan {}

@media (min-width:1200px)
{
  .imagemap-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Image galleries */

.image-gallery {
  position: relative;
}

.image-gallery .gallery-image {
  position: relative;
  max-height: 120px;
  overflow:hidden;
  margin-bottom: 1rem; 
  background-color: #f0f0f0;  
}

.image-gallery .gallery-image .thumbnail {
  background-color: @dark;
  opacity: 1;
  transition: all linear .3s;
}

.image-gallery .gallery-image .thumbnail:hover {
  opacity: .8;
}

.image-gallery .gallery-image .thumbnail > img {
  width: 100%;
  height: auto;
}

.image-gallery .gallery-image .gallery-image-description {}

.image-gallery .image-gallery-description {}

.image-gallery .image-gallery-description.top-description {}

.image-gallery .image-gallery-description.bottom-description {}

@media (min-width:576px)
{
  .image-gallery .gallery-image {
    max-height: 200px;
  }
}

@media (min-width:768px)
{
  .image-gallery .gallery-image {
    max-height: 200px;
  }
}

@media (min-width:992px)
{
  .image-gallery .gallery-image {
    max-height: 140px;
  }
}

@media (min-width:1400px)
{
  .image-gallery .gallery-image {
    max-height: 200px;
  }
}

/* Multiemdia document teaser */

.multimedia-teaser {
  width: 100%;
  background: @dkblue url('../img/bg_baden_wuerttemberg.jpg') center top no-repeat;
  max-height: 600px;
  overflow: hidden;
  padding: 60px 0;
}

.multimedia-teaser .multimedia-teaser-header {
  text-align: center;
  color: @white;
}

.multimedia-teaser .multimedia-teaser-text,
.multimedia-teaser a,
.multimedia-teaser a:link,
.multimedia-teaser a:visited {
  color: @white !important;  
}

iframe {
  width: 100%;
  min-height: 340px;
}

iframe.youtube {
  width: 100%;
  height: 240px;
}

@media (min-width:576px)
{
  iframe {
  width: 100%;
    min-height: 480px;
  }
  
  iframe.youtube {
    width:100%; 
    max-width:720px; 
    height: 480px;
  }
}

/* Portrait collections */

.collection-portraits {
  margin-bottom: 1rem;
}

.collection-portraits .coll-portrait,
.collection-portraits .collection-portrait {
  margin-bottom: 1rem;
  background: #f0f0f0;
}

.collection-portraits .coll-portrait .coll-portrait-image,
.collection-portraits .collection-portrait .collection-portrait-image {
  height: 318px;
  overflow: hidden;
  text-align: center;
}

.collection-portraits .coll-portrait .coll-portrait-image img,
.collection-portraits .collection-portrait .collection-portrait-image img {
  width: 100%;
  max-width: 150%;
  height: auto;
  max-height: 200%;
}

.collection-portraits .coll-portrait-text {
  padding: 15px 15px;
  background-color: @light;
}

.collection-portraits .collection-portrait-link {
  text-align: center;
  padding-top: .5rem;
}

@media (min-width:576px)
{
  .collection-portraits .coll-portrait .coll-portrait-image,
  .collection-portraits .collection-portrait .collection-portrait-image {
    height: 230px;
    overflow: hidden;
  }
}

@media (min-width:768px)
{
  .collection-portraits .coll-portrait .coll-portrait-image,
  .collection-portraits .collection-portrait .collection-portrait-image {
    height: 280px;
    overflow: hidden;
  }
}

@media (min-width:1200px)
{
  .collection-portraits .coll-portrait .coll-portrait-image,
  .collection-portraits .collection-portrait .collection-portrait-image {
    height: 230px;
    overflow: hidden;
  }
}

@media (min-width:1200px)
{
  .collection-portraits .coll-portrait .coll-portrait-image,
  .collection-portraits .collection-portrait .collection-portrait-image {
    height: 280px;
    overflow: hidden;
  }  
}

/* scale-280x280 */
.scale-280x280 {
}

/* scale-280x320 */
.scale-280x360 {
  height: auto;  
}

/* scale-280x450 */
.scale-280x450 {
  height: auto;  
}

@media (min-width:768px)
{
  /* scale-280x280 */
  .scale-280x280 {
  }
  
  /* scale-280x320 */
  .scale-280x360 {
    height: 320px !important;  
  }
  
  /* scale-280x450 */
  .scale-280x450 {
    height: 400px !important;  
  }
}

@media (min-width:1200px)
{
  /* scale-280x280 */
  .scale-280x280 {
  }
  
  /* scale-280x320 */
  .scale-280x360 {
    height: 320px !important;  
  }
  
  /* scale-280x450 */
  .scale-280x450 {
    height: 420px !important;  
  }
}

@media (min-width:1400px)
{
  /* scale-280x280 */
  .scale-280x280 {
  }
  
  /* scale-280x320 */
  .scale-280x360 {
    height: 360px !important;  
  }
  
  /* scale-280x450 */
  .scale-280x450 {
    height: 450px !important;  
  }
}

/* MdLs */

#switch-mdl-index {
  width:100%;
  display: block;
  background: @blue;
  font-size: 1.5em;
  color: @white !important;
  text-align: left;
  padding: 6px 18px 6px;
  cursor: pointer;
}

.switch-mdl-index-fixed {
  width: 100%;
  position: fixed;
  top: 100px;
  left: 15px;
  right: 15px;
  z-index: 9999;
}

.mdl-select-options {
  background: @blue;
  border-bottom: solid 2px @white;
  margin-bottom: .5rem;
}

.mdl-select-options select,
.mdl-select-options select:focus {
  background: @blue;
  color: @white;
  border: none;
  padding-left: 0;
}

.mdl-select-options select option {
  background: @blue;
  color: @white;
}

ul.mdl-index {
  background: @blue;
  list-style-type: none;
  margin-left: 0;
  padding: 15px 15px;
}

.mdl-index-fixed {
  position: fixed;
  top: 180px;
  z-index: 9999;
  max-height: 480px;
}

@media only screen and (min-width:768px) 
{
  .mdl-index-padding {
    display: block;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  
  .mdl-index-fixed {
    /* position: fixed;
    top: 180px;
    z-index: 9999; */
    max-height: 700px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-visibility: hidden;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE */    
  }
  
  ::-webkit-scrollbar { 
    display: none; /* Chrome Safari */
  }
  
  #switch-mdl-index {
    display: none;
  }
}

@media only screen and (max-width:768px) {
  ul.mdl-index {
    display: none;
  }
}

ul.mdl-index > li {
  background: @blue;
  padding: 5px 5px;
}

ul.mdl-index > li > a {
  display: block;
  color: @white;
}

.mdl-active {
  font-weight: bold;
  background: @blue;
}

.mdl-list {}

.mdl-list .mdl {
  background: @light;
  padding: 15px 0;
  margin-bottom: 3px;
}

.mdl-list .mdl .mdl-portrait > img {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  overflow: hidden;
}

.mdl-list .mdl .mdl-info {}

.mdl-list .mdl .mdl-description {}

.mdl-list .mdl .mdl-description ul {
  list-style-type: square;
  margin-left: -20px;
}

.mdl-list .mdl .mdl-name {
  margin-top: 0;
}

.mdl-list .mdl .mdl-region {
  position: relative;
  display: inline-block;
  padding: 5px 15px;
  background: @blue;
  color: @white;
}

.mdl-list .mdl .vote-mdl {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-block;
  background: transparent;
  position: absolute;
  bottom: -10px;
  left: -15px;
}

.mdl-list .mdl .mdl-social-media-links {}

.mdl-list .mdl .sm-link-item,
.mdl-details .sm-link-item {
  font-size: 180%;
  padding: 0 15px;
}

@media (min-width:1200px)
{
  .mdl-list .mdl {
    margin-bottom: 30px;
  }
}

/* Calendar */

.calendar-month-title {
  margin-bottom: 15px;
}

.calendar-month {   /* <ul> */
  list-style-type: none;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: solid 1px @light;
  margin-left: -40px;
}    

.calendar-entry {
  margin-bottom: 15px;
}

.entry-toggle {
  display: inline-block;
  color: @white;
  cursor: pointer;
}

.entry-toggle > .lsf {
  margin-left: 1rem;
}

.calendar-entry .entry-title {
  font-size: 1.1em;
  color: @white;
  margin-bottom: 4px;
  cursor: pointer;
}

.calendar-entry .entry-district {
  color: @white;
  font-size: .85em;
}

.calendar-entry .entry-details {}

.calendar-entry .entry-details .googleMap {}

.calendar-entry .entry-details .googleMap iframe {
  width: 100%; 
  height: 360px;
}

@media only screen and (max-width:480px) {
  .calendar-entry .entry-details .googleMap iframe {
    width: 100%; 
    height: 250px;
  }  
}

/* calendarGrid update 2025 */

.calendarGrid {}

.calendarGrid .calendarYear {
  font-size: 3rem;
  color: @dkblue;
  text-align: center;
}

.calendarGrid .calendarMonth {
  text-align: left;
}

.calendarGrid .calendarEntries {
  margin-bottom: 2rem;
}

.calendarGrid .calendarEntries > .calendarItem {
  display: block;
  width: 100%;
  padding: 15px;
  color: @white;
}

.btn-calendarItem {
  text-align: left;
  padding: 0;
}

.calendarItem .calendarItemPreview  {
  background-color: @blue;
  color: @white;
  padding: 1rem;
}

.calendarItem .calendarItemPreview .dateDay {
  color: @white;
  font-size: 2.25rem;
  font-weight: bold;
}

.calendarItem .calendarItemPreview .calendarItemTitle {
  color: @white;
}

.calendarItem .calendarItemPreview .calendarItemLocation {
  font-size: .6em;
}


@media (min-width: 992px) {
  .calendarGrid .calendarYear {
    font-size: 4rem;
    text-align: left;
  }
  
  .modal-dialog {
    margin: 1.75rem auto;
  }
}


/* contact form */

.contact-form-wrapper {
  background-color: @light;
  padding: 15px;
}

.contact-form-wrapper #email-address {
  display: block;
  position: absolute;
  z-index: -1;
}

.contact-contactdata {
  padding-top: 40px;
}

/* subscribe forms */

.ajax-subscribe-form {
  background: @red;
  color: @white;
  padding: 1rem;
}

.ajax-subscribe-form h3 {
  color: @white;
}

.ajax-subscribe-form label {
  display: none;
}

.ajax-subscribe-form input {
  border: solid 1px @grey;
}

.ajax-subscribe-form button {
  background-color: @blue;
  color: @white;
}

.ajax-subscribe-form a,
.ajax-subscribe-form a:link,
.ajax-subscribe-form a:visited {
  color: @white;
  font-weight: bold;
}

.ajax-message {
  padding: .5rem 1rem;
}

/* Search */

.navbar-search,
.btn-start-search {
  width: 25px;
  height: 25px;
  background: transparent url('../img/icons/search.png') center no-repeat;
  background-size: cover;
  cursor: pointer;
}

.navbar-search {
  position: relative;
  margin-top: 8px;
}

.navbar-search-form {
  display: none;
  min-width: 200px;
  position: absolute;
  z-index: 999999;
  top: 0;
  background: rgba(255,255,255,.8);
}

.navbar-search-form .input-keyword {
  display: inline-block;
  width: 120px;
  border: solid 1px @font-color;
  border-radius: 3px;
  
  position: absolute;
  top: 6px;
  right: 40px;
}

.navbar-search-form .btn-start-search {
  display: inline-block;
  margin-left: 5px;
  
  position: absolute;
  top: 6px;
  right: 0;
}

.fraktion-search-form {
  background: @light;
  border: solid 1px @grey;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 1.5em;
}

.fraktion-search-form .search-autor {
  padding-top: 1em;
  cursor: pointer;
}

.fraktion-search-form .search-autor .autor-selection-switch {}

.fraktion-search-form .search-autor .autor-selection {
  display: none;
}

.fraktion-search-form .search-autor .autor-selection .mdl {
  margin-bottom: .5em;  
}

.fraktion-search-form .search-autor .autor-selection .mdl .mdl_name {
  display: inline-block;
  margin-left: 15px;
}

.fraktion-search-form .search-element {
  margin-bottom: .5em;
}

.fraktion-search-form .search-element input,
.fraktion-search-form .search-element select {
  width: 100%;
}


@media only screen and (max-width:992px) {
  .navbar-search-form {
    text-align: right;
    position: relative;
  }
  
  .navbar-search {
    position: relative;
    /* margin-top: 8px; */
    float: right;
    margin-right: 15px;
  }
  
  .navbar-search-form .input-keyword {
    display: inline-block;
    width: 80%;
    border: solid 1px @font-color;
    border-radius: 3px;
    
    position: relative;
  }
  
  .navbar-search-form .btn-start-search {
    display: inline-block;
    margin-left: 0;
    position: relative;
    top: 10px;
    right: 15px;
  }  
}

/* Pagination */

.pagination-wrapper {
  width: 100%;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
}

.pagination {
  width: 100%;
  display: block;
}

.pagination .page-item {
  display: inline-block;
}

.pagination .page-item .page-link {
  display: inline-block;
  font-size: .8rem;
}

.pagination .page-item .page-link.active,
.pagination .page-item .page-link.active:link,
.pagination .page-item .page-link.active:visited {
  background-color: #e9ecef !important;
  font-weight: bold;
}

/* newsflash */

.newsflash {
  background: rgba(0,0,0,.9);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999998;
  display: none;
}

.newsflash .newsflash-switch {
  position: fixed;
  z-index: 999999;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: @white;
  color: #333;
  text-align: center;
  line-height: 33px;
  font-weight: bold;
  border: solid 3px #333;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  cursor: pointer;
}

.newsflash .newsflash-box {
  background: @white;
  color: #333;
  padding: 15px;
  position: fixed;
  top: 10%;
  left: 15px;
  right: 15px;
  height: auto;
  border-radius: 5px;
}

@media (min-width:992px) {
  .newsflash .newsflash-box {
    max-width: 800px;
    overflow-x: hidden;
    margin-left: auto;
    margin-right: auto;
  }  
}

/* wahlprogramme */

.wahlprogramme {}

.wahlprogramme img {
  height: 240px;
  width: auto;
}

@media (min-width:1200px) {
  .wahlprogramme img {
    height: 300px;
  }
}

@media (min-width:1400px) {
  .wahlprogramme img {
    height: 360px;
  }
}

/* Footer */

footer {
  background: @blue;
  color: @white;
  padding-top: 30px; 
  padding-bottom: 80px;
  position: relative; 
  overflow-x: hidden;
  z-index: 0;
}

.small-footer {
  font-size: .8em;
}

footer .footer-box {
  padding: 1rem;
  color: @white;
  text-align: center;
}

footer .footer-box h2,
footer .footer-box h3,
footer .footer-box h4 {
  color: @white;
}

footer .footer-copyright {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 70%;
  padding: 0 36px;
}

.footer-spacer {
  margin-bottom: 0px;
}

@media (min-width:576px) {
  footer .footer-copyright {
    padding: 0 1rem;
  }
}

@media (min-width:992px) {
  .footer-spacer {
    margin-bottom: 200px;
    height:1px; 
    background:transparent;
  }
  
  footer {
    padding-top: 600px;
    padding-bottom: 30px;
    position:fixed; 
    bottom:0; 
    left:0; 
    right:0; 
    z-index:-1;  
  }
}

/* Animated */

.scroll-animated {
  opacity: 0;
  position: relative;
  top: 80px;
}

.scroll-animated-inverted {
  opacity: 0;
  position: relative;
  top: -80px;
}

/* bootom layer btns */

.donate,
.scrolltop {
  height: 40px;
  line-height: 40px;  
  background: @red;
  border: solid 1px @white;
  position: fixed;  
  bottom: 15px;
  z-index: 99995;
  display: none;  
  padding: 0;
  text-align: center;
  color: @white !important;
}

.donate {
  width: auto;
  height: 40px;
  line-height: 40px; 
  right: 75px; 
  left: 15px;  
  background: @red;
  border: solid 1px @white;  
}

/* scroll top */

.scrolltop {
  width: 40px;  
  right: 15px;
}

@media (min-width:576px) {
  .donate,
  .scrolltop {
    height: 50px;
    line-height: 50px;
  }
  
  .scrolltop {
    width: 50px;
  }
}

@media (min-width:992px) {
  .donate {
    width: 120px;
    left: auto;
  } 
}





/* NEW */

.box-shadow {
  box-shadow: 0px 4px 4px rgba(0,0,0,.5);
  margin-bottom: 1rem;
}

.box-shadow-bottom {
  box-shadow: 0 5px 5px rgba(0,0,0,.3);  
}

.content-box-shadow {
  box-shadow: 0px 4px 4px rgba(0,0,0,.25);
}

@media (min-width:1200px) {
  .box-shadow {
    margin-bottom: unset;
  }
}

/* document content panel */

.section-padding {
  position: relative;
  padding: 30px 15px;
}

.half-padding {
  position: relative;
  padding: 15px 15px;
}

@media (min-width:1200px) {
  .section-padding {
    padding: 80px;
  }
  
  .half-padding {
    padding: 40px;
  }
}

/* document content box*/

.content-box {
  background-color: rgba(255,255,255,.2);
  padding: 20px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.rounded-border {
  border-radius: 10px;
}

.content-box-padding {
  padding: 20px 10px;
}

@media (min-width:1200px) {
  .content-box {
    padding: 40px;
    margin-bottom: 40px;
  }
  
  .content-box-padding {
    padding: 40px;
  }
}

.box-actions {
  text-align: center;
}

@media (min-width:1200px) {
  .box-actions {
    text-align: left;
  }
}

.page-banner {
  position: relative;
  z-index: 2;
  box-shadow: 0px 5px 10px -5px rgba(0,0,0,.5);
}

.page-banner .banner-image {}

.page-banner .banner-headline {
  position: absolute;
  z-index: 2;
  bottom: 5%;
  right: 5%;
  left: 5%;
  font-size: 40px;
  text-align: right;
}

@media (min-width:1200px) {
  .page-banner .banner-headline {
    font-size: 60px;
  }
}

.newsticker {
  background-color: @medblue;
  color: @white;
  text-align: center;
  padding: 1rem 2rem;
}

.newsticker .newsticker-spacer {
  display: inline-block;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 80%;
  position: relative;
  top: -3px;
}

.image-portrait-border {
  margin-bottom: 1rem;
}

.accordion {}

.accordion .card {
  border: none;
  border-radius: 0;
}

.accordion .btn-link,
.accordion .card-header {
  background-color: @dkblue;
  color: @white;
  border-bottom: solid 1px @blue;
  border-radius: 0;
}

.accordion .card-header {
  padding: .25rem 1.25rem;
}

.accordion .card-body {
  background-color: @blue;
}

.navigationBox {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.contentNavigation {
  height: auto;
}

.contentNavigation.minified {
  height: 4rem;
  overflow: hidden;
}

.contentNavigationActions {
  position: relative;
  text-align: right;
}

.contentNavigationToggler {
  display: none;
  position: absolute;
  z-index: 99;
  top: 5px;
  right: 15px;
  background-color: @dkblue;
  color: @white;
  cursor: pointer;
}

.carousel-control-next,
.carousel-control-prev {
  background: transparent;
  width: 7.5%;
  border: none;
}

.carousel-control-next {
  right: -80px;
}

.carousel-control-prev {
  left: -80px;
}


@media (min-width:1200px) {
  .page-banner .banner-headline {
    left: 60%;
  }
  
  .container .page-banner .banner-headline {
    left: 50%;
  }
  
  .navigationBox {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contentNavigation.minified {
    height: 3rem;
  }

}

.modal-content {
  background-color: @dkblue;
  border-radius: 0;
  color: @white;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.modal-header .close {
  font-size: 2rem;
  color: @white !important;
  text-shadow: none;
  opacity: 1;
}


.social-media-navigator {
  margin-bottom: 1rem;
}

.social-media-navigator .channel-link {
}

.social-media-navigator .channel-icon {
  width: 49px;
  height: 49px;
}

.meta-data-box {
  margin-bottom: 1rem;
}

.meta-data-box .meta-data {
  font-size: .8em;
  margin-right: 8px;
  padding-right: 8px;
  border-right: solid 1px rgba(255,255,255,1);
}

.meta-data-box .meta-data:last-child {
  margin-right: unset;
  padding-right: unset;
  border-right: unset;
}
