html {
  height: 100%;
}
body {
  height: 100%;
  overflow-x: hidden;
  font-family: "Open Sans", "Segoe UI", Tahoma, sans-serif;
  background-color: #f7f7f7;
  font-size: 14px;
  color: #000000;
}

h1 {
  font-size: 30px;
  font-weight: 400;
  color: #b70719;
}

h2 {
  font-size: 30px;
  color: #b70719;
}

.toplogo {
  width: 200px;
  margin-top: 4px;
}

.logininfo {
  color: #666666;
  margin-left: 3px;
}

.graydark {
  background-color: #e5d8cc;
}

.graylight {
  background-color: #efe7df;
}

.reddark {
  background-color: #b70719;
  color: #ffffff;
}

.redlight {
  background-color: #d36a74;
}

.redlight2 {
  background-color: #f0cdd1;
}

.redlight3 {
  background-color: #f6e1e3;
}

.blue {
  background-color: #14648c;
}

.green {
  background-color: #9ebc66;
}

.logoutinfo {
  margin-left: 10px;
}

/* RSM */
article {
  margin-left: 300px;
  background-color: #f7f7f7;
  padding-right: 10px;
  padding-left: 5px;
}


#topuserinfo {
  padding-top: 5px;
  padding-bottom: 5px;
}



.login-container {
  clear: both;
  max-width: 464px;
  margin-top: 10px;
  height: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Navbar */
nav {
  position: absolute;
  width: 260px;
  z-index: 9999;
}

.gridtitle {
  font-weight: 600;
  margin-top: 5px;
  display: block;
  color: #b70719;
}

.subactive {
  font-weight: bold;
}

nav ul {
  list-style: none; /* Remove list bullets */
  padding: 0;
  margin: 0;
  background: #eee7df;
}
/* MainmenÃ¼ */
nav ul > li {
  cursor: pointer;
}
nav i.btnCollapse {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 9999999;
}

i.btnCollapse {
  font-size: 25px;
  opacity: 0.7;
}

nav.expanded i.btnCollapse {
  display: block;
}
nav ul > li {
  background: #e5d8cc;
  font-size: 20px;
  font-weight: 400;
}
nav ul li.active {
  background: #f0cdd1;
  color: #ffffff;
}

nav ul li > div {
  padding: 10px;
  background-color: #efe7df;
  margin-left: 50px;
  width: calc(100% - 50px);
}
nav ul li.active > div {
  background-color: #d36a74;
}

nav > ul > li:nth-child(1) {
  background-image: url("/img/v2/trans-Haeuser-Regular.png");
}
nav > ul > li.active:nth-child(1) {
  background-image: url("/img/v2/trans-Haeuser-Active.png");
  background-color: #b70719;
}
nav > ul > li:nth-child(2) {
  background-image: url("/img/v2/trans-Mieter-Regular.png");
}
nav > ul > li.active:nth-child(2) {
  background-image: url("/img/v2/trans-Mieter-Active.png");
  background-color: #b70719;
}
nav > ul > li:nth-child(3) {
  background-image: url("/img/v2/trans-Geschaeftsfaelle-Regular.png");
}
nav > ul > li.active:nth-child(3) {
  background-image: url("/img/v2/trans-Geschaeftsfaelle-Active.png");
  background-color: #b70719;
}
nav > ul > li:nth-child(4) {
  background-image: url("/img/v2/trans-Dokumente-Regular.png");
}
nav > ul > li.active:nth-child(4) {
  background-image: url("/img/v2/trans-Dokumente-Active.png");
  background-color: #b70719;
}
nav > ul > li:nth-child(5) {
  background-image: url("/img/v2/trans-Statistik-Regular.png");
}
nav > ul > li.active:nth-child(5) {
  background-image: url("/img/v2/trans-Statistik-Active.png");
  background-color: #b70719;
}
nav > ul > li:nth-child(6) {
  background-image: url("/img/v2/trans-Kontakt-Regular.png");
}
nav > ul > li.active:nth-child(6) {
  background-image: url("/img/v2/trans-Kontakt-Active.png");
  background-color: #b70719;
}

nav > ul > li:nth-child(7) {
  background-image: url("/img/v2/trans-SMV-Regular.png");
}

nav > ul > li.active:nth-child(7) {
  background-image: url("/img/v2/trans-SMV-Active.png");
  background-color: #b70719;
}

/* Submenu */
nav ul li ul {
  background: #f0cdd1;
  height: 0px;
  overflow: hidden;
}
nav ul li.active ul {
  height: auto;
  overflow: auto;
}
nav ul li ul li {
  font-size: 15px;
  font-weight: 400;
  margin-left: 50px;
  padding-left: 10px;
  padding-top: 2px;
  padding-right: 10px;
  color: black;
  background-color: #f6e1e3;
}

nav ul li ul li:hover {
  background-color: #fff1f3;
}

.fooicon {
  font-size: 20px;
  opacity: 0.5 !important;
  font-weight: 600;
}

nav.expanded {
  width: 270px;
  min-width: 270px;
  transition: all 1s;
}

@media (max-width: 768px) {
  article {
    margin-left: 64px;
  }

  nav i.btnCollapse {
    display: none;
  }

  nav {
    width: 50px;
    min-width: 50px;
    transition: all 1s;
  }

  nav ul {
    width: 50px;
    overflow: hidden;
  }

  nav ul li.active ul {
    display: none;
  }

  nav.expanded ul {
    width: 270px;
    overflow: auto;
    transition: all 1s;
  }

  nav.expanded ul li.active ul {
    display: block;
  }
}

nav.collapsed i.btnCollapse {
  display: none !important;
}
nav.collapsed ul {
  width: 50px;
  overflow: hidden;
  transition: all 1s;
}

nav.collapsed {
  width: 50px;
  transition: all 1s;
}

.chartcontainer {
  width: 100%;
  max-width: 1000px;
  min-width: 500px;
}

.tabpanel {
  overflow: auto;
}

nav.collapsed ul li.active ul {
  display: none;
}

.invisible {
  display: none !important;
}

.pageheader {
  padding-top: 5px;
  padding-bottom: 15px;
  background-color: #ffffff;
  color: #6b6b6b;
  min-height: 80px;
}

.detailgrid {
  margin-top: 10px;
}

.detailgrid th {
  background-color: #cccccc;
}

.detailgrid tr:nth-child(even) {
  background-color: #e6e6e6;
}

.detailgrid tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.cell-aright {
  text-align: right;
}

.smvinfo {
  border: 2px solid red;
  border-radius: 5px;
  padding: 10px;
  display: inline-block;
}

#errorpanel {
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  border: 1px solid red;
  background: #e0a3a3;
  color: #000000;
  padding: 5px;
  border-radius: 5px;
}

#infopanel {
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  border: 1px solid #e1bc0e;
  background: #e9d98e;
  color: #000000;
  padding: 5px;
  border-radius: 5px;
}

#dlgdocsel {
  display: none;
  position: absolute;
  z-index: 9999998;
  border: 1px solid #d36a74;
  border-radius: 5px;
  margin-bottom: 10px;
  top: calc(50vh - 400px);
  left: calc(50% - 250px);
  width: 500px;
  height: 800px;
  margin: auto;
  background: #fff;
}

#dlgdocsel > .dlgheader {
  background: #d36a74;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 3px;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
}

#dlgdocsel > .dlgcontent {
  padding: 3px;
  color: #000000;
}

.dlgitems {
  padding: 3px;
}

.xflipped,
.xflipped .xcontent {
  transform: rotateX(180deg);
}

/************************** Styles - Neuherz & Partner - Login Form page **************************/
body {
  background-image: url(/assets/R88.svg);
  background-color: #ececec;
  height: 500px;
  background-position: -100px 170px;
  background-repeat: no-repeat;
  background-size: contain;
}
form {
  position: relative;
}
.login-container {
  position: relative;
}
a {
  color: #666666;
  text-decoration: none;
}
.block {
    background-color: #ececec;
    display: block;
    padding: 15px;
    -webkit-box-shadow: 5px 5px 15px 5px #919191;
    box-shadow: 5px 5px 15px 5px #919191;
    border-radius: 3px;
}
#cntMain_lnkEng {
  display: none;
}

.pageheader {
  background-color: #ececec;
}

.toplogo {
  width: 180px;
  margin: 1.5% 0% 0% 3%;
}

.btn-primary {
  color: #fff;
  background-color: #666666;
  border-color: #666666;
}

.btn-primary:hover {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}

.rustler-login-frieda {
  position: fixed;
  bottom: 0;
  right: 9%;
  z-index: 10000;
}

.rustler-login-frieda .rustler-frieda-below-form {
  width: 80%;
}

.rustler-melden-img {
  position: absolute;
  width: 500px;
  top: -1%;
  right: 7%;
}

@media only screen and (max-width: 1750px) {
  .rustler-login-frieda .rustler-frieda-below-form {
    width: 50%;
  }
  .rustler-login-frieda {
    right: -21%;
  }
  .rustler-melden-img {
    width: 390px;
    position: fixed;
    top: 15%;
    right: 0%;
  }
}

@media only screen and (device-width: 768px) {
  /** For general iPad layouts **/
  .rustler-login-frieda {
    right: -45%;
  }
  .rustler-melden-img {
    top: 51%;
  }
  body {
    background-position: -100px 445px;
  }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
  /** For portrait layouts only **/
  /** For general iPad layouts **/
  .rustler-login-frieda {
    right: -45%;
  }
  .rustler-melden-img {
    top: 51%;
  }
  body {
    background-position: -100px 445px;
  }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
  /**  For landscape layouts only **/
  .rustler-login-frieda .rustler-frieda-below-form {
    width: 38%;
  }
  .rustler-login-frieda {
    right: -39%;
  }
  .rustler-melden-img {
    width: 290px;
    top: 49%;
  }
}

/** iPad pro Portrait **/
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  .rustler-login-frieda .rustler-frieda-below-form {
    width: 68%;
  }
  .rustler-login-frieda {
    right: -33%;
  }
}

/** iPad pro Landscape **/
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  .rustler-melden-img {
    top: 49%;
  }
}

/** Mobile **/
@media only screen and (max-width: 767px) {
  .rustler-login-frieda .rustler-frieda-below-form {
    width: 175px;
  }
  .rustler-login-frieda {
    right: 0%;
  }
  .rustler-melden-img {
    position: fixed;
    width: 190px;
    top: 61%;
    right: 1%;
  }
  body {
    background-image: none;
  }
}
/** iPhone 5/SE **/
@media only screen and (max-width: 320px) {
  .rustler-melden-img {
    width: 180px;
    top: 52%;
    right: -3%;
  }
}

/** Galaxy Fold **/
@media only screen and (max-width: 280px) {
  .rustler-melden-img {
    width: 180px;
    top: 60%;
    right: -3%;
  }
}

.cookiebox {
    display: block;
    position: fixed;
    z-index: 99999999;
    border: 1px solid #C0C0C0;
    padding-bottom: 10px;
    bottom: 50px;
    left: 50px;
    width: calc(100% - 100px);
    height: auto;    
    background: #eee;
}

.cookiebox > .dialogheader {
    background-color: #ccc;
    font-weight: bold;
    padding: 3px;
}

    .cookiebox > .dialogcontent {
        padding: 3px;
    }


    .cookiebox > .dialogbuttons {
        padding: 3px;
    }


.rulesbox {
    display: block;
    position: fixed;
    z-index: 99999999;
    border: 1px solid #C0C000;
    border-radius: 5px;
    padding-bottom: 10px;
    background: #fff;
    /* Zentrierung unabhängig von Auflösung */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Größe */
    width: 500px;
    max-width: 90%;
    height: auto;
}

    .rulesbox > .dialogheader {
        background: #C0C000;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        padding: 3px;
        color: #000000;
        font-weight: bold;
        font-size: 15px;
    }

    .rulesbox > .dialogcontent {
        height: 300px;
        overflow-y: auto;
        padding: 3px;
        margin-bottom: 10px;

    }


.xmodal {
    position: fixed;
    z-index: 500;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0.7;
    background-color: #404040;
}
