@font-face {
  font-family: "Calibri";
  src: url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.eot"); /* IE9*/
  src:
    url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.woff2")
      format("woff2"),
    /* chrome、firefox */
      url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.woff")
      format("woff"),
    /* chrome、firefox */
      url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.ttf")
      format("truetype"),
    /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
      url("../fonts/Calibri/a78cfad3beb089a6ce86d4e280fa270b.svg#Calibri")
      format("svg"); /* iOS 4.1- */
}

html {
  overflow-y: scroll;
}

body {
  padding-top: 125px;
  background: #fff;
  font-family: "Calibri", sans-serif;
  font-weight: 400;
  color: #5a6361;
  line-height: 17px;
  font-size: 12px;
  padding-bottom: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  color: #5a6361;
}

h1 {
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-bottom: 10px;
  border-bottom: #929897 1px solid;
  text-transform: uppercase;
}

h1.noBorder {
  border-bottom: 0px none;
}

h2 {
  font-size: 22px;
  margin-top: 40px;
  text-transform: uppercase;
}

h3 {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: #929897 1px solid;
}

.col-sm-8 h3 {
  border-bottom: 0px none;
  font-size: 18px;
  margin-bottom: 5px;
  padding-bottom: 0px;
  margin-top: 15px;
}

h4 {
  /*margin-top:0px;	*/
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 700;
}

.infoContainer h4 {
  font-size: 18px;
}

h4.impressum {
  color: #5a6361;
  font-weight: 400;
  font-size: 12px;
}

/* dunkle zwischenüberschriften im mega menü */
.col-md-3 {
  color: #5a6361;
}

/***** megamenü ****  */
.col-md-3 ul li {
  color: #929897;
  font-weight: 400;
}

.col-md-3 {
  padding-left: 15px;
  padding-right: 0px;
  color: #5a6361;
}

.col-md-3 p strong {
  text-transform: uppercase;
}

.col-md-3 a {
  font-size: 13px;
  color: #929897;
}

.col-md-3 a:hover {
  cursor: pointer;
}

.col-sm-4 {
  /*background-color:#dadcdc;*/
  padding-left: 30px;
  padding-bottom: 45px;
}

.col-sm-4 h2 {
  padding-top: 35px;
  padding-bottom: 15px;
}

.col-sm-8 {
  padding-right: 1px;
}

a {
  color: #5e6461;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #929897;
}

hr {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #fff;
}

ul.nostyle {
  list-style: none;
  padding: 0;
}

ul.nostyle a:hover,
a.imprLink:hover {
  color: #5a6361 !important;
}

/* roter text infobox */
.infored {
  font-weight: 700;
}

.red {
  color: #c42027;
}

.blue {
  color: #007397;
}

.green {
  color: #49a853;
}

.orange {
  color: #dd802b;
}

.headImage .container {
  position: relative;
}

.list-unstyled li.bottomMargin {
  padding-bottom: 20px;
}

.info {
  padding: 0px 15px 0px 0px;
  margin-top: -60px;
  line-height: 20px;
  margin-left: 15px;
}

.infoContainer {
  background: url(../images/info-icon.png) right top no-repeat #dadcdc;
  padding: 25px 15px 0px 15px;
}

.infoContainer ul.list-unstyled {
  margin-top: 15px;
}

.infoContainer a,
.infoContainer a:hover {
  font-weight: 400;
  text-decoration: underline;
  color: #929796;
}

.infolist {
  list-style: none;
  margin-top: 0px;
  margin-left: 0px;
  padding-left: 10px;
  line-height: 20px;
}

.col-sm-6 .infolist {
  font-size: 12px;
  line-height: 20px;
}

.no-bg {
  background: #fff;
  padding-top: 20px;
  color: #929796;
}

.list-unstyled li {
  padding-bottom: 10px;
  font-size: 12px;
}

.list-unstyled li strong {
  color: #5a6361;
}

.infolist li {
  padding-bottom: 0px;
}

ul.dropdown-menu .row .col-md-3 ul.list-unstyled li {
  padding-bottom: 0px;
}

ul.dropdown-menu .row .col-md-3 ul.list-unstyled li.bottomMargin {
  padding-bottom: 10px;
}

ul.infolist li:before {
  content: "-";
  position: relative;
  left: -5px;
}

ul.infolist li {
  text-indent: -5px;
}

/* team zeilen */
#prob .row {
  margin-bottom: 15px;
}

#prob .row p,
.col-sm-4 p {
  font-size: 12px;
  line-height: 20px;
}

/* aktuelles */
#aktuelles .row .col-md-3 {
  /* new design *******
   margin: 10px;
   padding: 10px;
   border: 1px solid #929796;
   text-align: center;
   ********/
  margin-bottom: 20px;
}

#aktuelles p {
  padding-top: 5px;
  margin-bottom: 0px;
  font-weight: 700;
  text-transform: uppercase;
  color: #5e6461;
  width: 269px;
}

#aktuelles img {
  width: 270px;
}

.placeholder + p {
  width: 184px;
}

.flatLegend {
  float: right;
  color: #ff8000; /*#019c3f;*/
  font-size: 10px;
  margin-top: -4px;
}

.flatLegend img {
  padding-right: 10px;
  padding-top: 5px;
}

.placeholder {
  width: 184px;
  height: 184px;
  background-color: #5a6260;
  position: relative;
  margin-bottom: 5px;
}

.placeholder .freeFlat {
  background-image: url("../images/noch-freieWohnungen-Orange.png");
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  width: 23px;
  height: 22px;
}

.infoContainer .freeFlat {
  background-image: url("../images/noch-freieWohnungen-Orange.png");
  background-repeat: no-repeat;
  z-index: 10;
  position: absolute;
  top: 0;
  right: 15px;
  width: 23px;
  height: 22px;
}

.placeholder .freeFlatBadge {
  background-image: url("../images/Wohnungen-frei.png");
  background-repeat: no-repeat;
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 167px;
  height: 42px;
}

.placeholder .freeFlatBadgeFreiburg {
  background-image: url("../images/Wohnungen-frei.png");
  z-index: 10;
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 167px;
  height: 42px;
}

.placeholder .freeParkingBadge {
  background-image: url("../images/Stellplaetze-frei.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 167px;
  height: 42px;
}

.placeholder .only2roomsAvailable {
  background-image: url("../images/2-Zimmer-Whg-Uebersicht.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 167px;
  height: 42px;
}

.placeholder .flatToSell {
  background-image: url("../images/Wohnungen-zu-verkaufen.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 167px;
  height: 42px;
}

.headImage .container .freeFlatHeader {
  background-image: url("../images/Wohnungen-frei-header.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 476px;
  height: 125px;
}

.headImage .container .mitgliederGesuchtHeader {
  background-image: url("../images/Objektbilder/mitglieder_Gesucht.png");
  z-index: 10;
  position: absolute;
  top: 25px;
  left: 25px;
  width: 135px;
  height: 135px;
}

.headImage .container .only2rooms {
  background-image: url("../images/nur-2-zimmer-frei.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 476px;
  height: 125px;
}

.headImage .container .freeParkingHeader {
  background-image: url("../images/Stellplaetze-frei-header.png");
  z-index: 10;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 476px;
  height: 125px;
}

/* Map Liks */
.mapsPin {
  position: absolute;
  bottom: 0px;
  font-weight: 700;
}

.mapsPin a {
  color: #5a6361;
}

a.linkArrow {
  background: url(../images/pfeil-nach-rechts.png) no-repeat left;
  padding-left: 15px;
}

a.mapLink {
  float: right;
}

em {
  color: #929897;
}

.teamsmall,
#prob .row p.teamsmall,
.col-sm-4 p.teamsmall {
  font-size: 10px;
  line-height: 14px;
}

.col-sm-8 p {
  text-align: justify;
}

#accordion .col-md-3 {
  color: #5a6361;
}

#accordion .col-md-3 span {
  color: #929897;
}

#accordion .panel {
  border-right: 0px none;
  border-left: 0px none;
  border-bottom: 0px none;
  -webkit-box-shadow: 0 0 0 0;
  box-shadow: 0 0 0 0;
}

#accordion .panel-body {
  border-top: 0;
}

/************************* Header ***************************/

/* safari bug beseitigen */
.glyphicon-chevron-right::before {
  content: "";
}

.glyphicon-chevron-left::before {
  content: "";
}

.reduced-width {
  color: #929796;
}

.navbar-brand {
  padding: 0px 0px 0px 15px;
}

.navbar-brand img {
  height: 50px;
  width: 180px;
  /* max-width: 180px; logo is too big for the number of menu items */
}

/* partner alignment of logos */
.vertical-align {
  display: flex;
  flex-direction: row;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 13em;
}

.partner a {
  font-size: 1.8em;
  line-height: 1.8em;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  color: #5a6361;
}

.partner a:hover {
  color: #929897;
}

#main-menu.navbar-default .navbar-nav > li > a {
  text-transform: uppercase;
  font-weight: 400;
}

/* bootstrap überschreiben */
@media (min-width: 768px) {
  .navbar-brand {
    height: 50px;
    padding: 15px 15px;
  }

  .navbar-brand img {
    height: auto;
  }

  .flatLegend {
    margin-top: 12px;
  }

  /*.col-sm-3 {  width: 28%; }*/
  .reduced-width {
    width: 25%;
  }

  /* hohe Zeilen- und Gesamtabstände nur bei großen Screens */
  .col-sm-3 {
    padding-right: 0px;
  }

  .col-sm-4 {
    border-right: 10px solid #fff;
    /*height: 453px;*/
  }

  .col-sm-4:last-child {
    border-right: 0px none;
  }

  .col-sm-8 {
    width: 72%;
  }

  .col-sm-9 {
    padding-right: 0px;
    padding-left: 0px;
  }

  .info {
    padding: 0px;
  }

  .infoContainer .freeFlat {
    right: 0;
    margin-top: 40px;
  }

  h1 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  #main-menu.navbar-default {
    -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 35%);
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 35%);
  }

  #main-menu.navbar-default .navbar-nav > li > a {
    padding: 97px 2px 5px 2px;
    margin-right: 17px;
    color: #5a6361;
    border-bottom: 3px solid #fff;
  }

  #impressum.navbar-default .navbar-nav > li > a {
    padding: 15px 5px 5px 5px;
    margin-right: 20px;
    color: #5a6361;
    border-bottom: 3px solid #fff;
  }

  #main-menu.navbar-default .navbar-nav li:last-child a {
    padding-right: 0px;
    margin-right: 0px;
  }

  #main-menu.navbar-default .navbar-nav > li.active > a,
  #main-menu.navbar-default .navbar-nav > li.open > a,
  #main-menu.navbar-default .navbar-nav > li:hover > a {
    background: transparent;
    color: #929897;
    border-bottom: 3px solid #929897;
  }

  /* *** anfang dropdown mega menu **/
  #main-menu.navbar-default .dropdown-menu {
    padding: 0 20px;
    min-width: 220px;
    background-color: rgba(255, 255, 255, 1);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-clip: inherit;
    line-height: 24px;

    -webkit-box-shadow: 0px 6px 12px -4px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 6px 12px -4px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 6px 12px -4px rgba(0, 0, 0, 0.15);
  }

  #main-menu.navbar-default .dropdown-menu > li {
    border-left: 3px solid transparent;
    margin-left: -20px;
    padding-left: 17px;
    -webit-transition: border-color 400ms;
    transition: border-color 400ms;
  }

  #main-menu.navbar-default .dropdown-menu > li > a {
    border-top: 1px solid #c42027;
    padding: 15px 0 0 0;
    color: #eeeeee;
  }

  #main-menu.navbar-default .dropdown-menu > li:first-child > a {
    border-top: 0;
  }

  #main-menu.navbar-default .dropdown-menu > li.active > a,
  #main-menu.navbar-default .dropdown-menu > li.open > a,
  #main-menu.navbar-default .dropdown-menu > li:hover > a {
    color: #45aed6;
    background-color: transparent;
  }

  ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
    margin-top: 0px;
  }

  /* ENDE dropdown */
  /* vor/zurück außerhalb des sliders */
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -115px;
  }

  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -115px;
  }

  /****** Impressum Datenschutz */
  #main-menu.navbar-default .navbar-nav > li.impressumLink > a {
    position: absolute;
    right: 92px;
    padding: 15px 5px 5px 5px;
  }

  #main-menu.navbar-default .navbar-nav > li.impressumLink:after {
    content: "|";
    position: absolute;
    right: 85px;
    top: 15px;
  }

  #main-menu.navbar-default .navbar-nav > li.datenschutzLink > a {
    position: absolute;
    right: -6px;
    padding: 15px 5px 5px 5px;
  }

  #main-menu.navbar-default .navbar-nav > li > a.imprLink {
    margin-right: 4px;
    color: #929897;
  }

  #main-menu.navbar-default .navbar-nav > li > a.kontakt {
    padding-right: 0px;
    margin-right: 0px;
  }
}

@media (max-width: 768px) {
  .row {
    margin-right: 15px;
    margin-left: 15px;
  }

  h4 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .infoContainer {
    margin-top: 60px;
  }

  .no-bg {
    margin-top: 0px;
  }
  .headImage .container .mitgliederGesuchtHeader {
    background-image: none;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 930px;
    padding-right: 0px;
    padding-left: 0px;
  }

  .customSlide {
    width: 950px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 930px;
    padding-right: 0px;
    padding-left: 0px;
  }

  .customSlide {
    width: 950px;
  }
}

#impressum {
  z-index: 1050;
}

.impressum p {
  width: 100% !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.impressum p a,
.impressum li a {
  font-weight: 400 !important;
}

.navbar.navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  background-color: #fff;
  font-weight: 700;
}

.navbar.navbar-default .navbar-toggle {
  margin-top: 32px;
}

/***** Carousel ****/

.carousel-control.left,
.carousel-control.right {
  color: #c9cac5;
}

.customSlide {
  border-right: 10px solid #fff;
  border-left: 10px solid #fff;
  background-color: #fff;
}

.carousel-control {
  opacity: 1;
}

/* fix für fixed header */
a[name] {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

ul.jobs {
  padding: 0px 0px 0px 27px;
}

ul.jobs li {
  list-style-type: none;
  padding-left: 15px;
}

ul li.redCaretBefore:before {
  font-family: "FontAwesome";
  content: "\f0da";
  display: inline-block;
  padding-right: 0px;
  vertical-align: middle;
  font-weight: 900;
  margin-left: -15px;
  width: 12px;
  color: #d51317;
}

ul li.greyCaretBefore:before {
  color: #929897;
}

/***********************
********* Footer ******
************************/
#footer {
  padding-top: 15px;
  padding-bottom: 9px;
  color: #fff;
  background: #ce2027;
  text-align: center;
  width: 100%;
  z-index: -1;
}

#footer a {
  color: #fff; /* #fff  ce2027*/
  font-size: 24px;
}

#footer a:hover {
  color: #45aed6; /* 45aed6 */
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0 -7.5px;
}

#footer ul > li {
  display: inline-block;
  margin: 0 7.5px;
}

@media only screen and (min-width: 768px) {
  #footer .social-icons {
    float: right;
  }

  #footer {
    position: absolute;
    bottom: 0px;
  }
}

.form-control {
  box-shadow: none;
  -webkit-box-shadow: none;
}

@media (max-width: 979px) {
  .modal-open .page-container .navbar-fixed-top {
    overflow-y: visible;
  }
}

#map-canvas {
  height: 400px;
  margin: 0 auto;
}

#morePics:hover {
  cursor: pointer;
}

.grid {
  top: 90px;
}

.grid-item {
  border: 1px solid #aeb2b1;
  padding: 10px 15px 5px 15px;
  margin-bottom: 15px;
  display: inline-block;
}
