@media screen and (min-width: 966px) {
  body {
    display: flex; }
  #body {
    margin: auto; }
  div.main {
    display: flex;
    min-height: 510px; }
  /* Header ------------------------------------*/
  #header {
    height: 141px; }
  #headercaption {
    float: left;
    width: 576px; }
  #headerimage {
    display: block;
    float: right; }
  #header h1 {
    position: relative;
    top: 28px;
    margin-top: 0px; }
  #headerrule {
    clear: both; }
  #header div.title {
    position: relative;
    top: 16pt;
    /* h1 + 4pt */
    margin-top: 0px;
    margin-bottom: 0px; }
  #header p.big {
    /* Information und Beratung */
    margin-top: 4ex; }
  /* Menu --------------------------------------*/
  #menubox {
    display: block;
    padding-top: 1em;
    width: 220px; }
  #menu {
    margin-left: 10px; }
  /* Content -----------------------------------*/
  #content {
    position: relative;
    width: 500px;
    margin: 10px;
    min-height: 510px; }
  /* Sidebar ----------------------------------*/
  #sidebar {
    display: block;
    padding-left: 10px;
    padding-top: 1em;
    padding-right: 10px;
    width: 220px; }
  /* Footer -----------------------------------*/
  #footer {
    position: absolute;
    width: 100%;
    bottom: -10px; } }

@media screen and (min-width: 1240px) {
  body {
    display: flex; }
  #body {
    margin: auto; }
  div.main {
    display: flex;
    min-height: 510px; }
  /* Header ------------------------------------*/
  #header {
    height: 141px; }
  #headercaption {
    float: left;
    width: 576px; }
  #headerimage {
    display: block;
    float: right; }
  #header h1 {
    position: relative;
    top: 28px;
    margin-top: 0px; }
  #headerrule {
    clear: both; }
  #header div.title {
    position: relative;
    top: 16pt;
    /* h1 + 4pt */
    margin-top: 0px;
    margin-bottom: 0px; }
  #header p.big {
    /* Information und Beratung */
    margin-top: 4ex; }
  /* Menu --------------------------------------*/
  #menubox {
    display: block;
    padding-top: 1em;
    width: 310px; }
  #menu {
    margin-left: 10px; }
  /* Content -----------------------------------*/
  #content {
    position: relative;
    width: 600px;
    margin: 10px;
    min-height: 510px; }
  /* Sidebar ----------------------------------*/
  #sidebar {
    display: block;
    padding-left: 10px;
    padding-top: 1em;
    padding-right: 10px;
    width: 310px; }
  /* Footer -----------------------------------*/
  #footer {
    position: absolute;
    width: 100%;
    bottom: -10px; } }

@media screen and (max-width: 965px) {
  body {
    display: flex; }
  #body {
    margin: auto; }
  div.main {
    display: flex;
    min-height: 510px; }
  /* Header ------------------------------------*/
  #header {
    height: 141px; }
  #headercaption {
    float: left;
    width: 100%; }
  #headerimage {
    display: none;
    float: right; }
  #header h1 {
    position: relative;
    top: 28px;
    margin-top: 0px; }
  #headerrule {
    clear: both; }
  #header div.title {
    position: relative;
    top: 16pt;
    /* h1 + 4pt */
    margin-top: 0px;
    margin-bottom: 0px; }
  #header p.big {
    /* Information und Beratung */
    margin-top: 4ex; }
  /* Menu --------------------------------------*/
  #menubox {
    display: none;
    padding-top: 1em;
    width: 80%; }
  #menu {
    margin-left: 10px; }
  /* Content -----------------------------------*/
  #content {
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 510px; }
  /* Sidebar ----------------------------------*/
  #sidebar {
    display: none;
    padding-left: 10px;
    padding-top: 1em;
    padding-right: 10px;
    width: 80%; }
  /* Footer -----------------------------------*/
  #footer {
    position: absolute;
    width: 100%;
    bottom: 0; }
  #header #headerrule {
    font-size: 0px;
    border-top: 1px solid; }
  #header #headercaption {
    position: relative;
    text-align: center;
    font-size: 16px; }
  #header #kanzleiLogo {
    float: left;
    display: none; }
  #header #menuIconA {
    float: left; }
  #header a.button {
    display: inline;
    padding: 12px; }
  #header img.svg {
    width: 64px;
    height: 64px; }
  #header #phoneIconA {
    float: right; }
  #header div.captionBox {
    display: inline-block; }
  #header h1 {
    font-size: 25px;
    font-weight: 100;
    font-variant: small-caps;
    margin-left: 92px;
    margin-right: 92px; }
  #header div.title {
    margin-left: 92px;
    margin-right: 92px; }
  #header p.big {
    font-size: 16pt;
    font-weight: 100; }
  #header #headercaption a {
    text-decoration: none; }
  #menubox {
    font-size: 135%;
    top: 0px; }
  #menu ul {
    margin-top: 4px;
    list-style: none;
    padding-left: 6px;
    margin-left: 0px;
    padding-right: 2px; }
  #menu li {
    font-weight: 500;
    border-bottom: 1px;
    margin-bottom: 6px;
    padding-left: 8px;
    vertical-align: middle; }
  #menu a {
    text-decoration: none; }
    #menu a:hover {
      background-image: url("images/hover_arrow.gif"); }
    #menu a.current {
      background-image: url("images/arrow.gif");
      font-weight: bold; }
    #menu a.current, #menu a:hover {
      position: relative;
      left: -15px;
      padding-left: 15px;
      background-position: left center;
      background-repeat: no-repeat; }
  #sidebar {
    top: 0px;
    font-size: 135%; }
    #sidebar p {
      margin-top: 0.1ex; }
  #body {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    background-color: white;
    color: black;
    font-size: 15px; }
  img {
    border: 0px; }
  h1 {
    font-size: 120%;
    margin-top: 1ex;
    margin-bottom: 0.3ex; }
  h2 {
    font-size: 110%;
    margin-bottom: 0.1ex; }
  /* Colors ----------------------------------*/
  #menubox,
  #sidebar {
    /* some kind of green */
    background-color: #9abbb0; }
  #footer,
  #footer a {
    color: gray; }
  a,
  a:visited,
  #menu a:hover {
    /* some kind of grayish blue */
    color: #4d6ab3; }
  a:hover,
  #menu a {
    /* very dark, but not black */
    color: #343434; }
  /* Footer ---------------------------------- */
  #footer {
    font-size: 75%;
    border-top: 1px solid; }
  #footer a {
    text-decoration: none; }
  /* Paragraphs, partitioned by their divs ----- */
  #content p {
    margin-top: 3px; }
  img.close {
    position: absolute;
    display: none;
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px; }
  #content img {
    max-width: 100% !important; }
  body,
  #body {
    width: 100%;
    margin: 0; }
  div.main {
    width: calc(100% - 10px);
    margin: 0;
    padding: 0 5px 0 5px; }
  #menu {
    font-size: 110%; }
  img.close {
    display: block; } }

@media screen and (min-width: 966px) {
  #header #headerrule {
    font-size: 0px;
    border-top: 1px solid; }
  #header #headercaption {
    position: relative;
    text-align: center;
    font-size: 16px; }
  #header #kanzleiLogo {
    float: left;
    display: inline; }
  #header #menuIconA {
    float: left; }
  #header a.button {
    display: none;
    padding: 12px; }
  #header img.svg {
    width: 64px;
    height: 64px; }
  #header #phoneIconA {
    float: right; }
  #header div.captionBox {
    display: inline-block; }
  #header h1 {
    font-size: 25px;
    font-weight: 100;
    font-variant: small-caps;
    margin-left: 0;
    margin-right: 0; }
  #header div.title {
    margin-left: 0;
    margin-right: 0; }
  #header p.big {
    font-size: 16pt;
    font-weight: 100; }
  #header #headercaption a {
    text-decoration: none; }
  #menubox {
    font-size: 105%;
    top: inherit; }
  #menu ul {
    margin-top: 4px;
    list-style: none;
    padding-left: 6px;
    margin-left: 0px;
    padding-right: 2px; }
  #menu li {
    font-weight: 500;
    border-bottom: 1px;
    margin-bottom: 6px;
    padding-left: 8px;
    vertical-align: middle; }
  #menu a {
    text-decoration: none; }
    #menu a:hover {
      background-image: url("images/hover_arrow.gif"); }
    #menu a.current {
      background-image: url("images/arrow.gif");
      font-weight: bold; }
    #menu a.current, #menu a:hover {
      position: relative;
      left: -15px;
      padding-left: 15px;
      background-position: left center;
      background-repeat: no-repeat; }
  #sidebar {
    top: inherit;
    font-size: 105%; }
    #sidebar p {
      margin-top: 0.1ex; }
  #body {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    background-color: white;
    color: black;
    font-size: 14px; }
  img {
    border: 0px; }
  h1 {
    font-size: 120%;
    margin-top: 1ex;
    margin-bottom: 0.3ex; }
  h2 {
    font-size: 110%;
    margin-bottom: 0.1ex; }
  /* Colors ----------------------------------*/
  #menubox,
  #sidebar {
    /* some kind of green */
    background-color: #9abbb0; }
  #footer,
  #footer a {
    color: gray; }
  a,
  a:visited,
  #menu a:hover {
    /* some kind of grayish blue */
    color: #4d6ab3; }
  a:hover,
  #menu a {
    /* very dark, but not black */
    color: #343434; }
  /* Footer ---------------------------------- */
  #footer {
    font-size: 75%;
    border-top: 1px solid; }
  #footer a {
    text-decoration: none; }
  /* Paragraphs, partitioned by their divs ----- */
  #content p {
    margin-top: 3px; }
  img.close {
    position: absolute;
    display: none;
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px; } }
