/**
 * This stylesheet is for irregular, non-paternistic css.
 * Feel free to break this sheet into smaller sheets like header or footer where it makes sense.
 */
/* 1. Descriptive Variables
========================================================================== */
/*Neu*/
/*Neu*/
/*Neu*/
/*$red: rgb(255,0,0);/*rgb(197,40,36);*/
/* 2. Functional Variables
========================================================================== */
/* General
========================================================================== */
/* Navigation
========================================================================== */
/* Shared */
/* Main Navigation */
/* Superfish */
/* Megamenu */
/* Breadcrumbs */
/* Teaser
========================================================================== */
/* Shared */
/*$color-teaser-bg: $white;*/
/*$color-recommendation-bg: $white;
$color-recommendation-border: $lightest-grey;
$color-recommendation-copy: $dark-grey;
$color-recommendation-heading: $blue;
$color-recommendation-tag: $light-grey;*/
/* Highlighted */
/* Emphasized */
/* Understated */
/*$color-teaser--understated-bg: $color-understated;*/
/* Footer
========================================================================== */
@import url(../fonts/opensans_regular_macroman/stylesheet.css);
@import url(../fonts/opensans_semibold_macroman/stylesheet.css);
/* Lists */
article p {
  margin-bottom: 1.5em;
}
article p:last-child {
  margin-bottom: 0;
}
article h3 {
  margin-bottom: .5em;
}
article ul {
  list-style-type: none;
  list-style-position: outside;
  margin-bottom: 1.5em;
}
article ul li {
  margin-bottom: 1em;
  padding-left: 1em;
}
article ul li:before {
  display: -moz-inline-stack;
  display: inline-block;
  *display: inline;
  zoom: 1;
  content: '\25B8';
  text-indent: -1em;
}
article ul li a {
  color: #525252;
  text-decoration: underline;
}
article ul li a:hover, article ul li a:focus {
  text-decoration: none;
}

/* Fields */
.field .field-label {
  font-weight: normal;
}
.field .field-name-field-file-image-caption-text {
  display: block;
  float: right;
  font-size: .75em;
  letter-spacing: .05em;
  margin-bottom: 1.5em;
  text-transform: uppercase;
  word-spacing: .05em;
}

.field-label-above .field-label {
  display: block;
}

.field-label-inline .field-label {
  display: -moz-inline-stack;
  display: inline-block;
  *display: inline;
  zoom: 1;
}
.field-label-inline.field-type-email .field-label,
.field-label-inline .tel .field-label {
  width: 4em;
}

.field-name-field-postal-code,
.field-name-field-locality {
  display: inline;
}

.field-name-field-managing-directors,
.field-name-field-managing-shareholder,
.adr,
.it {
  display: block;
}

.adr,
.it {
  margin-bottom: 1.5em;
}

.views-row-zentrale .branch,
.views-row-head-office .branch {
  display: none;
}

.view-mode-imprint .field-name-field-opening-hours {
  margin-bottom: 1.5em;
}
.view-mode-imprint .legal {
  font-size: 95%;
}

.field-name-field-managing-directors .field-items span {
  display: block;
}

.field-name-field-publisher {
  margin-top: 1.5em;
}

/* Vcards 
.vcard {
  .type {
    font-weight: normal;
  }
  .adr {
    display: block;
    margin-bottom: 1.5em;
    .field-name-field-postal-code,
    .field-name-field-locality {
      display: inline;
    }
  }
}*/
/* Call to action */
.vocabulary-locations.has-footnote .field-name-field-tel-pref a:after {
  content: '**';
}
.vocabulary-locations .field-name-field-tel-pref-footnote {
  font-size: 95%;
}
.vocabulary-locations .field-name-field-tel-pref-footnote .field-items:before {
  content: '**';
}

/* Video embed */
.field-type-video-embed-field {
  margin-bottom: 1.5em;
}
.field-type-video-embed-field .video-embed-description {
  font-weight: bold;
}
.field-type-video-embed-field .embedded-video .player iframe {
  /*border: 1px solid $color-copy;*/
}

.page-node-645 li.login-item {
  display: none;
}

#block-buergel-block-openstreet-map .content {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.leaflet-routing-container {
    background-color: white;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 320px;
    height: 480px;
    overflow-y: scroll;
}

.leaflet-routing-container h2,
.leaflet-routing-container h3 {
  padding: 5px 15px;
  margin: 0;
}

.leaflet-routing-container table {
  border-top: 1px solid #343434;
}

.leaflet-routing-container table th,
.leaflet-routing-container table td {
  border: none;
  border-bottom: 1px solid #343434;
}


@media (max-width: 480px) {
  #block-buergel-block-openstreet-map .content {
    padding-top: 180%;
  }
  .leaflet-routing-container {
    right: 5px;
    top: 5px;
    width: 200px;
    height: 250px;
  }
}

.cookieconsent-close {
  position: absolute;
  right: 15px;
  top: 5px;
  cursor: pointer;
}

#sliding-popup {
  background-color: rgba(255,255,255,.3) !important;
  width: 100vw !important;
  height: 100vh !important;
}

.eu-cookie-compliance-banner {
  width: calc(100% - 30px);
  margin: 0;
  position: absolute;
  top: 40%;
  transform: translate(-50%, -50%);
  left: 50%;
  max-width: 500px;
  background: #fff;
  -webkit-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.54);
  -moz-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.54);
  box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.54);
}

#sliding-popup .popup-content {
  margin: 20px auto;
  max-width: calc(100% - 40px);
}

body #sliding-popup .popup-content #popup-text h2,
body #sliding-popup .popup-content #popup-text p,
body #sliding-popup label,
body #sliding-popup div,
body .eu-cookie-compliance-secondary-button,
body .eu-cookie-withdraw-tab,
body .eu-cookie-compliance-more-button {
 color: #000 !important;
}

#sliding-popup .popup-content #popup-text {
  max-width: 100%;
  font-size: 14px;
}

#sliding-popup .popup-content #popup-text p {
  font-size: 14px;
}

#sliding-popup .popup-content #popup-text h2 {
 font-size: 26px;
}

#sliding-popup .popup-content #popup-buttons {
 float: left;

}

#sliding-popup .eu-cookie-compliance-default-button, #sliding-popup .eu-cookie-compliance-hide-button, #sliding-popup .eu-cookie-compliance-more-button-thank-you, #sliding-popup .eu-cookie-withdraw-button, .eu-cookie-withdraw-button, .eu-cookie-compliance-save-preferences-button {
  margin-right: 15px;
    margin-top: 2em;
   background: #ee7d11 !important;
    color: #fff !important;
    border: none !important;
    font-size: 15px !important;
  border-radius: 0;
  text-shadow: none;
  font-weight: normal;
}

#sliding-popup .eu-cookie-compliance-more-button {
  width: auto;
}

.eu-cookie-compliance-category input {
  display: inline;
}

body #sliding-popup  .eu-cookie-compliance-categories-buttons button {
 background: #515A5F !important;
}

.eu-cookie-compliance-category {
   margin-bottom: 5px;
 }


@media screen and (max-width: 600px) {
   #sliding-popup .popup-content h2 {
    font-size: 1.3rem !important;
   }
   .eu-cookie-compliance-categories-buttons {
    float: none;
    max-width: 100%;
   }
   .eu-cookie-compliance-categories-buttons button {
    width: 100%;
   }
  #sliding-popup .popup-content #popup-buttons {
   float: none;
   clear: inherit;
   max-width: 100%;
  }

  #sliding-popup .popup-content #popup-buttons button {
   margin-top: 0;
   width: 100%;
  }
}
