/*--------------------------------------------------------------------

	Web Programming:
		Dominik Ogilvie  for Avant la lettre
		http://www.avantlalettre.ch/
	
	Graphic Design:
		Simone Z�ger
		http://www.simonezueger.ch/
	
	(c) Frauenzimmer Bern AG, 2014.  All rights reserved.
	
--------------------------------------------------------------------*/
/* 
- -   Variables   - - - - - - - - - - - - - - - - - - - - - -
*/
/* 
- -   Fonts and Typography   - - - - - - - - - - - - - - - - - - - - - -
*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: Georgia, Palatino, "Palatino Linotype", "Book Antiqua", serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.35;
  color: #181918;
}
main h1,
aside h1 {
  font-size: 21px;
  font-size: 2.1rem;
  font-weight: normal;
  color: black;
}
main h2,
aside h2,
main h3,
aside h3 {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
}
main h4,
aside h4 {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
main h1,
aside h1 {
  margin-top: 0;
  margin-bottom: 0;
}
main h1 + p,
aside h1 + p {
  margin-top: 1.333em;
}
main h1 + p.gill,
aside h1 + p.gill,
main .praxis-kontakt h1 + p,
aside .praxis-kontakt h1 + p {
  margin-bottom: 1.333em;
  margin-top: 0;
}
main h2,
aside h2,
main h3,
aside h3,
main h4,
aside h4 {
  margin-top: 21px;
  margin-top: 2.1rem;
  margin-bottom: 0;
}
main ul,
aside ul {
  margin: 0 0 0.7em 0;
}
.gill,
i,
dt,
time {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  line-height: 1.2em;
  font-weight: normal;
}
dt {
  margin-top: 1em;
}
/* 
- -   Positioning   - - - - - - - - - - - - - - - - - - - - - -
*/
body {
  margin: 0 auto;
  max-width: 1064px;
  padding: 0 20px 40px 20px;
  padding: 0 2.0rem 4.0rem 2.0rem;
  overflow-x: hidden;
}
hr.clear {
  clear: both;
  background-color: transparent;
  border-collapse: collapse;
  border-color: transparent;
}
header {
  border-top: 6px solid #181918;
  border-bottom: 1px solid #181918;
  max-height: 108px;
  position: relative;
}
header aside {
  position: absolute;
  top: 35%;
  right: 0;
}
header aside a {
  background-color: #ebedec;
  display: block;
  padding: 0.33em 0.5em;
}
header h1,
header h2 {
  opacity: 0;
}
/* Navbar, justified: http://stackoverflow.com/a/19073993/1858185
@media (min-width: 768px){
	.navbar-nav{
	    margin: 0 auto;
	    display: table;
	    table-layout: fixed;
	    float:none;
	}
}
*/
.navbar {
  margin-bottom: 0;
  z-index: 10;
  border-radius: 0;
}
.navbar .navbar-header {
  padding: 0 0.5em 0 1em;
  /* display: none; */
}
.navbar .navbar-header img {
  position: relative;
  top: -1px;
}
.navbar li a {
  font-size: 21px;
  font-size: 2.1rem;
  padding-left: 2em;
  padding-right: 2em;
  color: black;
}
.navbar .dropdown-menu {
  border-radius: 0;
}
.navbar .dropdown-toggle {
  background-color: inherit !important;
}
.navbar .dropdown-toggle:hover {
  color: black;
}
@media only screen and (min-device-width: 768px) and (orientation: portrait) {
  .navbar-header {
    display: none !important;
  }
  .navbar li a {
    padding-left: 1em;
    padding-right: 1em;
  }
}
figure {
  margin-bottom: 1.5em;
}
figure img {
  width: 100%;
  height: auto;
}
.nebenan {
  opacity: 0.4;
}
#lebensphasen,
#impressionen {
  margin-top: -52px;
}
main,
aside {
  margin-top: 2em;
}
hr + main,
hr + main + aside,
header aside {
  margin-top: 0;
}
main {
  width: 64%;
  float: left;
}
.bildanriss,
.seitenspalte {
  width: 31.333333%;
  float: right;
}
.dreispaltig {
  width: 102%;
  clear: both;
  overflow-x: hidden;
  float: none;
  padding-top: 2em;
  margin-top: 0;
}
.dreispaltig > a,
.dreispaltig > article {
  width: 31.333333%;
  margin-right: 2%;
  float: left;
}
.seitenspalte {
  padding-top: 1.4em;
}
/* Hyperlinks: */
a,
a:hover {
  text-decoration: none;
  color: #181918;
}
main p a,
aside p a,
main li a,
aside li a {
  border-bottom: 1px solid #4f504f;
}
main a:hover,
aside a:hover {
  border-bottom-color: #a3a5a4;
  color: #a3a5a4;
}
/* 
- -   Individual Pages   - - - - - - - - - - - - - - - - - - - - - -
*/
header {
  background-image: url("../img/1x_frauenzimmer-logo.png") /* standard resolution */;
  background-repeat: no-repeat;
  background-size: 332px 112px;
  -moz-background-size: 332px 112px;
  background-position: 0 0;
  background-position: center center;
}
.backgroundsize header {
  background-image: url("../img/2x_frauenzimmer-logo.png") /* double resolution */;
}
.home .navbar,
.praxis-impressionen .navbar {
  background-color: rgba(255, 255, 255, 0.33);
}
.home .navbar .active a,
.praxis-impressionen .navbar .active a {
  background-color: inherit;
}
.home .navbar .dropdown-menu,
.praxis-impressionen .navbar .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid transparent;
}
.home .navbar .dropdown-menu li a:hover,
.praxis-impressionen .navbar .dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.66);
}
.home .bildanriss,
.praxis-impressionen .bildanriss {
  padding-top: 1.4em;
}
.home .bildanriss > a + a + a,
.praxis-impressionen .bildanriss > a + a + a {
  float: right !important;
  display: block;
}
.home ul.navbar-nav > li > a,
.praxis-impressionen ul.navbar-nav > li > a {
  color: black;
}
.carousel-caption {
  top: 64%;
}
.carousel-caption h3 {
  font-weight: bold;
  display: inline-block;
  font-size: 1.125em;
  padding: 0.5em 1em;
}
.carousel-caption a {
  height: 100%;
  width: 100%;
  display: block;
  text-align: right;
  color: #181918;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.carousel-caption a:hover h3 {
  color: #181918;
}
.carousel-caption a:hover p {
  color: black;
}
.glyphicon:before {
  visibility: hidden;
}
.carousel-control.right,
.carousel-control.left,
.carousel-control:hover {
  background-image: none;
}
.carousel-indicators li,
.carousel-indicators li.active {
  height: 14px;
  width: 14px;
}
.carousel-indicators li {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.45);
}
.carousel-indicators li.active {
  background-color: white;
  position: relative;
  top: -1px;
}
.carousel-caption a {
  background-position: right top;
  background-repeat: no-repeat;
}
.carousel-caption a * {
  text-align: left;
}
.carousel-caption a {
  overflow: visible;
}
.carousel-caption h3 {
  position: relative;
  left: 2em;
}
.carousel-caption a span {
  display: block;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: normal;
}
.angebot figcaption {
  margin-top: 0.333em;
}
.team main {
  width: 100%;
}
.team main figure {
  width: 31.333333%;
  float: left;
}
.team main article {
  width: 64%;
  float: right;
}
.team main ul,
.team main li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.team main li em {
  font-style: normal;
  display: inline-block;
  width: 7em;
  position: relative;
  left: 7em;
}
.team main li {
  text-indent: -7em;
  padding-left: 7em;
}
.team figcaption {
  height: 4.4em;
}
.team figcaption h2 {
  margin: 1em 0 0.2em 0;
}
.praxis-kontakt aside h1 {
  font-size: inherit;
  font-weight: bold;
  margin: 0 ;
}
.praxis-kontakt h1 + p {
  margin-top: 0;
}
.praxis-kontakt iframe {
  -webkit-filter: grayscale(100%);
  height: 620px;
  min-height: 320px;
  max-height: 620px;
}
.praxis-kontakt h2:first-child {
  margin-top: 0;
}
.praxis-kontakt aside.bildanriss p span {
  display: inline-block;
  min-width: 4em;
}
.angebot-zuweisung h2 {
  font-size: 21px;
  font-size: 2.1rem;
  font-weight: normal;
  color: black;
}
.angebot-zuweisung h3,
.angebot-zuweisung h4 {
  border-top: 1px solid #ccc;
  margin-top: 2em;
  padding-top: 1em;
}
.angebot-zuweisung label,
.angebot-zuweisung h4 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  line-height: 1.2em;
  font-weight: normal;
}
.angebot-zuweisung h4 {
  color: gray;
  text-transform: none;
  letter-spacing: normal;
}
.angebot-zuweisung input[type='text'],
.angebot-zuweisung textarea {
  width: 100% !important;
  padding: 0.2em 0.4em;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}
@media screen and (max-width: 540px) {
  .angebot-zuweisung .unit.size1of3,
  .angebot-zuweisung .unit.size1of2 {
    width: 100% !important;
  }
  .angebot-zuweisung .seitenspalte {
    border-top: 3px solid black;
    padding-top: 2em !important;
  }
}
footer p {
  text-align: center;
}
hr.black-strut {
  background-color: transparent;
  border-collapse: collapse;
  border-color: transparent;
  border-top: 5px solid black;
  width: 4em;
  margin: 2em auto 1.5em auto;
}
/* 
- -   Responsivity   - - - - - - - - - - - - - - - - - - - - - -
*/
@media only screen and (max-width: 767px) {
  body {
    -webkit-text-size-adjust: none;
  }
  header {
    display: none;
  }
  .navbar {
    background-image: url("../img/1x_frauenzimmer-logo.png") /* standard resolution */;
    background-repeat: no-repeat;
    background-size: 166px 56px;
    -moz-background-size: 166px 56px;
    background-position: 0 0;
    background-position-x: center;
    background-position-y: -5px;
    border: none;
    border-top: 6px solid #181918;
    border-bottom: 1px solid #181918;
    background-color: white;
  }
  .backgroundsize .navbar {
    background-image: url("../img/2x_frauenzimmer-logo.png") /* double resolution */;
  }
  .navbar-header,
  .navbar-brand {
    padding-left: 0;
  }
  .navbar li a {
    padding-left: 1em;
    padding-right: 1em;
  }
  .navbar-toggle {
    margin-right: 0;
  }
  #lebensphasen,
  #impressionen {
    margin-top: 0px;
  }
  .carousel-indicators li,
  .carousel-indicators li.active {
    height: 10px;
    width: 10px;
    display: none;
  }
  .carousel-caption {
    position: absolute;
    top: 4em;
    right: 0;
  }
  .carousel-caption h3 {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
    left: 0;
    z-index: 100;
    overflow: visible;
  }
  .carousel-caption h3 span {
    display: none;
  }
  .item {
    max-height: 100%;
  }
  .bildanriss > a {
    width: 100%;
    margin: 0;
  }
  .home .bildanriss a:first-child {
    display: none;
  }
  nav ul ul li {
    padding-left: 1.5em;
  }
  nav ul ul li a {
    font-size: 18px !important;
    font-size: 1.8rem !important;
    color: black !important;
  }
  main,
  aside,
  .seitenspalte {
    width: 100%;
    float: left;
    padding-top: 0;
  }
  .team main figure {
    width: 70%;
  }
  .team main article {
    width: 100%;
    float: left;
  }
  .aktuell aside.view-entry {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .praxis main,
  .praxis aside {
    width: 100%;
    float: left;
  }
  .praxis iframe {
    height: 360px !important;
    margin-bottom: 1.5em;
  }
  .praxis figure {
    margin-bottom: 0;
  }
}
/* 
- -   Mixins   - - - - - - - - - - - - - - - - - - - - - -
*/
