/* Tag styles, TYPO3 contet and bootstrap adjustements */

@font-face { font-family: 'blumenraum';
                  src: url('../Fonts/formata-regular-webfont.woff')  format('woff'),
                  url('../Fonts/formata-regular-webfont.woff2')  format('woff2'); }

html,
body {
  width: 100%;
  height: 100%;
  background: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
}

a {
  color: #7e7c4f;
}

a:hover {
  color: #7e7c4f;
}

.bgimg {
  background: url('/typo3conf/ext/pix_distribution/Resources/Public/Images/Frontend/bg.png') no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
  position: fixed;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding-left:20px;
  padding-right:20px;
}

h1,h2,h3 {
  color: #000;
  font-weight: 300;
  margin-bottom: 20px;
}

.HeaderSlider a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.HeaderSlider {
  z-index: -1;
  height: 100%;
}

.HeaderSlider .carousel-inner {
  height: 100%;
}

.HeaderSlider .item {
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  max-height: 500px;
  height: 100%;
  overflow-y: hidden;
}

.HeaderSlider .item,
.HeaderSlider .item .valign {
  min-height: 500px;
}

.carousel {
  width: 100%;
}

#header-slider.big-slider .item {
  max-height: 1200px;
}

.btn-bottom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transition: all 200ms ease-in;
    cursor: pointer;
}

.btn-bottom .glyphicon-menu-down:before,
.btn-up .glyphicon-menu-up:before {
    display: block;
    margin-top: 19px;
    margin-left: 12px;
    background: url('/typo3conf/ext/pix_distribution/Resources/Public/Icons/down.png') no-repeat;
    width: 47px;
    height: 35px;
}

.glyphicon-menu-down:before {
    content: "";
}

#logo img {
  height: 48px;
  width: auto;
}

.navbar-light .navbar-brand {
  font-family: blumenraum, sans-serif;
  font-size: 2.3em;
  font-weight: 100;
}

.vlogos {
    float: right;
    width: 110px;
    height: 110px;
    background: #fff;
    margin-left: 10px;
    margin-bottom: 20px;
    padding: 3px;
}

.frame-ruler-after {
    border-bottom: 1px solid #ccc;
}

.ce-uploads {
  list-style: none;
}

.ce-uploads li img {
  position: absolute;
    margin-left: -30px;
    margin-top: 3px;
}

.ce-uploads li div {
}

.ce-uploads li span.ce-uploads-filesize {
  right: 40px;
  position: absolute;
}

section#contentMain {
  background: rgba(255, 255, 255, 0.75);
  min-height:calc(100vh - 185px);
  position: relative;
  margin-top: 126px;
}

section#contentMain.home {
    margin-top: 36px;
}

.bgoverlay {
    position: absolute;
    background: url('/typo3conf/ext/pix_distribution/Resources/Public/Images/Frontend/bg.png') no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#main-wrapper {
    margin: 0 auto;
}

.container {
  width: 1440px;
}

.btn-link {
  color: #333;
}

.btn-link:hover {
  color: #333;
  text-decoration: none;
}


h1 {
  margin-top: 0;
}

table {
  width: 100%;
}

.frame {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.image img {
  max-width: 100%;
  height: auto;
}

/* Background Overlay for the navigation */

#mobile-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    transition: background 300ms ease-in-out;
    margin-top: 0;
}

/* Mobile Button */

#mobile-btn {
    cursor: pointer;
    display: none;
    position: absolute;
    right: 2%;
    top: 13px;
    width: 54px;
    height: 54px;
    padding: 10px 0 10px 20px;
    z-index: 1000;
}

.inner {
    width: 100%;
    height: 100%;
    position: relative;
}

#mobile-btn .icon-bar {
    width: 34px;
    height: 2px;
    background: #212529;
    position: absolute;
    left: 0;
    transition: all 400ms ease;
}

.icon-bar1 {
    top: 4px;
    transform-origin: left top;
}

#mobile-btn.open .icon-bar1 {
    transform: rotate(45deg);
    left: 5px;
}

.icon-bar2 {
    top: 16px;
    opacity: 1;
}

.open .icon-bar2 {
    opacity: 0;
}

.icon-bar3 {
    bottom: 4px;
    transform-origin: left bottom;
}

#mobile-btn.open .icon-bar3 {
    transform: rotate(-45deg);
    left: 5px;
}

/* Navigation */

#topnav {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 400px;
}

#topnav ul {
    padding: 0;
}

.navtop {
    list-style: none;
    float: right;
}

.navtop li {
    float: left;
    padding: 0 10px;
}

.navtop li a {
  color: #333;
}



#navigation {
  margin-top: 54px;
}

.navbar {
  padding: 0;
}

.navbar-nav {
  font-weight: 400;
  float: right;
  margin: 27px 0 0 0;
  position: relative;
  z-index: 1000;
}

.navbar-nav li {
  padding: 0;
  border-bottom: 5px solid transparent;
  margin: 0 10px;
  min-height: 50px;
  position: relative;
}

.navbar-nav li.current-active:after {
    content: '';
    width: 30px;
    position: absolute;
    bottom: 1px;
    border: 3px solid #000;
}

.navbar-nav li:last-child {
  min-width: 120px;
}

.navbar-nav li a {
  color: #000;
  font-size: 29px;
  line-height: 20px;
  position: relative;
  z-index: 1001;
  border-bottom: 5px solid transparent;
 }

 .navbar-nav li:hover::after {
   content: '';
   width: 30px;
   bottom: 1px;
   border: 3px solid #000;
   position: absolute;
 }

 .nav-arrow {
   float: right;
   margin-top: -27px;
   display: none;
 }

 .fa-angle-down {
   display: none;
   font-size: 24px;
   color: #fff;
 }

 .dropdown-menu li {
   margin: 0;
 }

 .dropdown-menu li:hover::after,
 .dropdown-menu li.current-active:after {
   content: '';
   width: 30px;
   bottom: 1px;
   border: 1px solid #fff;
   position: absolute;
 }

  .navbar-nav li a span {
    position: absolute;
    margin-top: -3px;
    text-transform: none;
    font-size: 12px;
    min-width: 110px;
 }

   .dropdown-menu li a {
     font-size: 16px;
     text-transform:none;
   }

 .navbar-nav li:hover ul {
   display: block;
 }

 .nav>li>a:hover,
  .nav>li>a:focus,
  .nav>li.active>a,
  .nav>li.current-active>a {
     text-decoration: none;
 }

li.current-active span.borderline {
  display: block;
}

 .borderline {
    width: 35px;
    position: absolute;
    height: 5px;
    background-color: #f1afa7;
    margin: 58px 0 0 15px;
 }

.dropdown-menu {
  float: left;
  margin-top: 0px;
  min-width: 300px;
  border: 0px;
  padding: 0;
  margin: 0;
    background:none!important;
 }

.dropdown-menu>li {
    height: 50px;
    margin-top: 1px;
    padding:14px 8px 8px 8px;
}

.dropdown-menu>li>a {
  height: 30px;
  line-height: 30px;
  padding: 0 0 0 10px;
  background: none;
  border-bottom: none;
    color: #fff;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
}

/*footer nav*/
.footernav {
  float: left;
}

.footernav li {
  float: left;
  width: 100%;
}

.btn-bottom {
    display: none;
}

.btn-bottom.active {
    display: block;
    z-index: 3;
}


footer h3,
footer p,
footer div,
footer a {
  color: #fff;
}

.container.footerend {
  margin-top: -30px;
  margin-bottom: 30px;
  background: none;
  font-size: 12px;
}

.container.footerend a,
.container.footerend div {
  color: #333;
}

/* Content Wrapper */

.content-wrapper {
  min-height: 300px;
  padding-bottom: 1.75rem;
}

/* Header Slider */

#headerSlider .frame {
  margin: 0;
}

#header-wrapper {
    position: fixed;
    z-index: 101;
    height: 126px;
    background: url(/typo3conf/ext/pix_distribution/Resources/Public/Images/Frontend/bg.png) no-repeat #fff;
    background-size: cover;
    padding: 0!important;
}

#header-wrapper.home {
  background: none;
}

/* Custom content elements */

.history-item .year,
.history-item .history-text {
  padding-top: 1em;
  padding-bottom: 1em;
}

.history .year .line {
  height: 100%;
  width: 2px;
  background: #aaa;
  position: absolute;
  z-index: 9;
  top: 0;
  left: 50%;
  margin-left: -1px;
}

.history > .history-item:first-child .line {
    height: 50%;
    top: 50%;
}

.history > .history-item:last-child .line {
    height: 50%;
}

.history .year {
  text-align: center;
}

.history .year .number {
  top: calc((100% - 24px) / 2);
  background: #fff;
  position: relative;
  z-index: 10;
}

.history-text p:last-child {
  margin-bottom: 0;
}

.carousel {
  top: -80px;
}

.carouselBg {
  min-height: calc(100vh + 80px);
  background-size: cover !important;
}

.accordion .frame {
  margin: 0;
}

/* Team */

.departement {
  width: 100%;
}

/* Grid gallery */
/*
.grid-gallery {
  float: left;
  width: 100%;
}

.grid-gallery .row {
  margin-left: -2px;
  margin-right: -2px;
}

.grid-gallery .row > div {
  padding: 0 2px;
  transition: opacity 200ms ease-in;
}

.grid-gallery .image {
  margin-bottom: 0;
}

.grid-gallery .image .caption {
  padding: 2px;
}

@keyframes rotate {
  0%   {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.grid-gallery .glyphicon-repeat {
  animation-name: rotate;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
  font-size: 2em;
  left: 50%;
  position: relative;
  margin-left: -0.5em;
}
*/

#footer-wrapper {
  padding-bottom: 2.5rem;
}

#footer-wrapper {
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}

@media (max-width: 1440px) {
  #topnav {
    right: 170px;
  }
}

/*iPad Pro*/

@media (max-width: 1366px) {
  #topnav {
    right: 140px;
  }
}

@media (max-width: 1024px) {
  #topnav {
    right: 50px;
  }

  .navbar-nav li {
    min-width:90px;
  }
}

@media (min-width:992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 5px;
  }
}

@media screen AND (max-width: 992px) {
  #header-wrapper {
    height: 80px;
    top: 0;
  }

  #navigation {
      margin-top: 50px;
  }

  #logo {
    margin-left: 18px;
  }
  .carousel {
    margin-top: 0;
  }
  #mobile-btn {
    display: block;
  }

  .navbar-nav {
    float: none;
    margin: 0;
  }

  .dropdown-menu {
    margin-top: 17px;
  }

  .navbar-nav li {
    border-bottom: 1px solid #fff;
    padding: 11px 0;
  }

  .navbar-nav li a {
    color: #333;
    border: 0;
  }

  .navbar-nav li.current-active:after,
  .navbar-nav li:hover::after {
    border: 0;
  }

  .fa-angle-down {
    font-size: 24px;
    color: #ddad47;
  }

  .navbar-light .navbar-brand {
    padding-top: 12px;
    font-size: 1.5em;
  }

  #footer-wrapper {
    padding-bottom: 4.5rem;
  }

  section#contentMain {
    margin-top: 76px;
  }
}


@media (min-width: 768px) {


}

@media (max-width: 576px) {

 h1 {
   font-size: 1.7rem;
 }

 h2

  .dropdown-menu {
    min-width: inherit;
  }

  .navbar-nav li:hover {
    border-bottom: 0;
  }

  .dropdown-menu>li {
      width: 100%;
      height: 50px;
      margin-top: 1px;
      padding: 14px 8px 8px 8px;
  }

  .dropdown-menu>li>a {
    font-size: 12px;
  }

  .navbar-light .navbar-brand {
    padding-top: 12px;
    font-size: 1.5em;
  }

  .navbar-nav li.current-active:after {
      width: 30px;
      position: absolute;
      bottom: 1px;
      border: 0;
  }

  .container {
    max-width: 100%;
  }

  .carousel {
    margin-top:0;
  }
  #address {
    text-align: right;
  }

 .container.footerend .col-sm-6 {
    text-align: right;
  }
  .container.footerend .col-sm-6.text-right {
    bottom: 35px;
  }
  .btn-bottom {
    display: none;
  }
}


.btn-primary {
  background-color: #7a912f;
  border-color: #7a912f;
}

.btn-primary:hover {
  background-color: #5a6c1c;
  border-color: #5a6c1c;
}

#header-wrapper {
  top: 0px!important;
}

.form-control {
  min-height: 50px!important;
}

.custom-control.custom-checkbox {
  padding-bottom: 60px;
}

.custom-control.custom-checkbox span span {
  display: none;
}

.custom-control.custom-checkbox span {
  position: absolute;
}

.custom-control.custom-checkbox .help-block {
  top: 50px;
  position: relative;
  font-size: 1rem;
}

.custom-control.custom-checkbox .custom-control-input {
  position: absolute;
  z-index: 1;
  opacity: 1;
  margin-left: -27px;
  width: 20px;
  height: 20px;
  margin-top: 10px;
}
