/*

rot: b51f29
gelb: fbb900
grau: 868173
*/

/* open-sans-300 - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/open-sans-v15-latin-300.eot"); /* IE9 Compat Modes */
  src: local("Open Sans Light"), local("OpenSans-Light"),
    url("../fonts/open-sans-v15-latin-300.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/open-sans-v15-latin-300.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/open-sans-v15-latin-300.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/open-sans-v15-latin-300.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/open-sans-v15-latin-300.svg#OpenSans") format("svg"); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/open-sans-v15-latin-regular.eot"); /* IE9 Compat Modes */
  src: local("Open Sans Regular"), local("OpenSans-Regular"),
    url("../fonts/open-sans-v15-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/open-sans-v15-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */ url("../fonts/open-sans-v15-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/open-sans-v15-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/open-sans-v15-latin-regular.svg#OpenSans") format("svg"); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/open-sans-v15-latin-700.eot"); /* IE9 Compat Modes */
  src: local("Open Sans Bold"), local("OpenSans-Bold"),
    url("../fonts/open-sans-v15-latin-700.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/open-sans-v15-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/open-sans-v15-latin-700.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/open-sans-v15-latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/open-sans-v15-latin-700.svg#OpenSans") format("svg"); /* Legacy iOS */
}

/* basic-regular - latin */
@font-face {
  font-family: "Basic";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/basic-v7-latin-regular.eot"); /* IE9 Compat Modes */
  src: local("Basic Regular"), local("Basic-Regular"),
    url("../fonts/basic-v7-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/basic-v7-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/basic-v7-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/basic-v7-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/basic-v7-latin-regular.svg#Basic")
      format("svg"); /* Legacy iOS */
}

html,
body {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}

body {
  background-image: url("/wp-content/themes/hausarzt-dr-ruprecht/images/bg.jpg");
  background-position: 50%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

#menuToggle {
  display: none;
}

img {
  border: 0;
}

.gallery img {
  border: 1px solid #cfcfcf !important;
  max-width: 100%;
  height: auto;
  padding: 2px;
}

.gallery a {
  border: 0 !important;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.clear {
  clear: both;
}
.positioner {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
}

#fixcontact {
  background-color: #fbb900;
  padding: 10px;
  padding-top: 0px;
  text-align: right;
  font-size: 17px;
  padding-right: 20px;
  padding-left: 20px;
}

#fixcontact h5 {
  margin: 0;
  padding: 0;
  color: #b51f29;
}

#header {
  background-color: #b51f29;
  border-top: 10px solid #fbb900;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.69),
    inset 0 47px 100px rgba(0, 0, 0, 0.15);
  text-align: right;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 101;
  padding-bottom: 2px;
}
#header #logo {
  width: 222px;
  height: auto;
  float: left;
  padding-top: 32px;
  padding-bottom: 31px;
  margin-left: 10px;
}
#header #nav {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#header #nav > li {
  display: inline-block;
}
#header #nav > li > a {
  display: inline-block;
  color: white;
  text-decoration: none;
  background-color: #9b1d26;
  padding: 48px;
  font-family: "Basic", sans-serif;
  padding-left: 15px;
  padding-right: 15px;

  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}
#header #nav > li.current-menu-item > a {
  background-color: #fbb900;
  padding-bottom: 65px;
  box-shadow: inset 0 -43px 29px rgba(209, 154, 0, 0.38);
  border-radius: 0 0 5px 5px;
}
#header #nav > li > a:hover {
  border-radius: 0 0 5px 5px;
}
#headlines {
  position: absolute;
  top: 164px;
  z-index: 100;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 9px;
  padding-bottom: 14px;
  left: 0;
  padding-left: 15px;
  border-radius: 0 5px 5px 0;
  padding-right: 15px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.23);
}
#headlines h1,
#headlines h2 {
  margin: 0 !important;
}
#headlines h2 {
  color: gray;
  font-size: 15px !important;
  font-weight: 400;
  text-transform: uppercase;
  padding-left: 33px !important;
}
#content {
  margin-top: 170px;
  color: #4a4a4a;
}

#content .button {
  display: block;
  max-width: 300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  border: 0;
  background-color: #b51f29;
  text-align: center;
  color: white;
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
}

#content .tableButton {
  display: inline-block;
  text-decoration: none;
  border: 0;
  background-color: #b51f29;
  text-align: center;
  color: white;
  padding: 6px;
  border-radius: 6px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

#content #main {
  width: 70%;
  float: left;
  min-height: 400px;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.42);
  border-top: 5px solid #fbb900;
  border-radius: 0 0 5px 5px;
}
.rc {
  line-height: 23px;
}
#content #main #text {
  padding: 20px;
  padding-top: 0px;
}
#content #main h1 {
  margin: 0;
  padding: 0;
  font-weight: 400;
  ffont-family: "Basic", sans-serif;
  font-size: 25px;
  color: #b51f29;
}
#content #main h1 i {
  font-size: 25px;
  margin-right: 5px;
  color: #fbb900;
}
#content #main h3 {
  margin: 0;
  padding: 0;
  font-weight: 400;
  ffont-family: "Basic", sans-serif;
  font-size: 20px;
  color: #b51f29;
  margin-top: 20px;
  margin-bottom: 10px;
}
#content #main h3 i {
  font-size: 15px;
  margin-right: 5px;
  color: #fbb900;
}
#content #main h4 {
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 400;
  margin-top: 5px;
}
#content #main .boxLeistung {
  width: 33%;
  float: left;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
}
#content #main .boxLeistung img {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background-color: #cacaca;
}
#content #main .boxLeistung span {
  display: block;
  background-color: white;
  padding: 10px;
  border-radius: 0 0 5px 5px;
  font-size: 12px;
}
#content #main .boxLeistung h4 {
  margin: 0;
  padding: 7px;
  color: white;
  background-color: #b51f29;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: -4px;
  font-size: 11px;
}
#content #main .boxLeistung h4 i {
  margin-right: 5px;
}
#slideshow {
  margin-bottom: 20px;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
#content a {
  color: #b51f29;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #b51f29;
}
#content #sidebar {
  width: 28%;
  float: right;
}
#content #sidebar .sidebarContainer {
  min-height: 100px;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-top: 5px solid #fbb900;
  border-radius: 0 0 5px 5px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.42);
}
#content #sidebar .sidebarContainer h3 {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  font-weight: 400;
  color: #b51f29;
  font-size: 18px;
}
#content #sidebar .sidebarContainer h3 i {
  margin-right: 10px;
}
#content #sidebar .sidebarContainer h4 {
  margin: 0;
  padding: 5px;
  margin-bottom: 15px;
  font-weight: 400;
  font-size: 15px;
  color: white;
  border-radius: 5px;
  padding-left: 13px;
  background-color: #b51f29;
}

#content #sidebar .sidebarContainer h4 a {
  color: white !important;
}

#content #sidebar .sidebarContainer h4 i {
  margin-right: 10px;
}
#content #sidebar .sidebarContainer table {
  width: 100%;
}
#content #sidebar .sidebarContainer a:hover {
  border-bottom: 1px solid transparent;
}
#footer {
  margin-top: 40px;
  min-height: 150px;
  background-color: rgb(181, 31, 41);
  border-top: 5px solid #fbb900;
  box-shadow: inset 0 -87px 100px rgba(0, 0, 0, 0.15);
}
#footer .positioner {
  max-width: 900px;
}
.footerbox {
  width: 33.3%;
  font-size: 14px;
  display: inline-block;
  line-height: 20px;
  float: left;
  padding: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: white;
  font-size: 13px;
}
.footerbox a {
  color: white;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid white;
}
.footerbox a:hover {
  border-bottom: 1px solid transparent;
}

.leistungsBox {
  background-color: white;
  background-color: rgba(255, 255, 255, 0.58);
  padding: 10px;
  margin-bottom: 5px;
}

.leistungsBox img {
  float: left;
  width: 100px;
  height: auto;
  margin-right: 10px;
}

.leistungsBox h4 {
  margin-bottom: 0 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  padding-top: 8px !important;
  color: #b51f29 !important;
}

.leistungsBox p {
  margin-top: 0;
}

@media only screen and (max-width: 1000px) {
  .positioner {
    padding-left: 10px;
    padding-right: 10px;
  }

  #headlines {
    position: static;
    top: 0;
    z-index: 10000;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
  }
  #sidebar {
    min-width: 280px;
  }

  #content #main {
    width: 67%;
  }
}

@media only screen and (max-width: 943px) {
  #content #main {
    float: none;
    width: 100%;
  }

  #header #nav {
    position: static;
  }

  #header {
    text-align: center;
    position: static;
  }
  #header #logo {
    max-width: 250px;
    height: auto;
    float: none;
    padding-top: 32px;
    padding-bottom: 31px;
    display: block;
    margin-left: auto;
    width: 100%;
    margin-right: auto;
  }
  #header #nav > li {
    display: block;
  }

  element.style {
  }
  #header #nav > li.current-menu-item > a {
    background-color: #fbb900;
    padding-bottom: 65px;
    box-shadow: inset 0 -43px 29px rgba(209, 154, 0, 0.38);
    border-radius: 0 0 5px 5px;
  }
  #header #nav > li > a {
    display: block;
    color: white;
    text-decoration: none;
    background-color: #9b1d26;
    padding: 15px !important;
    font-family: "Basic", sans-serif;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-bottom: 1px solid rgb(169, 29, 29);
  }
  #content {
    margin-top: 20px;
  }

  #menuToggle {
    position: fixed;
    left: 0;
    top: 0;
    padding: 10px;
    background-color: black;
    cursor: pointer;
    z-index: 999999999999;
  }

  #content #sidebar {
    width: 100%;
    float: none;
    margin-top: 20px;
  }

  .footerbox {
    width: 100%;
    padding-bottom: 0;
    text-align: center;
    float: none;
  }

  .menu-hauptnavigation-container {
    display: none;
  }

  #content #main h1 i {
    display: none;
  }
  #headlines h2 {
    padding-left: 0 !important;
  }

  #fixcontact {
    display: block !important;
    height: 30px !important;
  }

  #menuToggle {
    display: inline-block;
  }

  .hidemobile {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .footerbox {
    padding-bottom: 0;
  }

  .leistungsBox img {
    float: none;
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .leistungsBox h4 {
    margin-bottom: 0 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding-top: 8px !important;
    color: #b51f29 !important;
  }

  .leistungsBox p {
    margin-top: 0;
  }
}
