﻿.flex-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  z-index: 200;
}

.post, .post div, .post a {
  background-color: white;
}

@media only screen and (max-width:769px)
{
  .storniert
  {
    opacity: 0.5;
  }

  .flex-container.post .flex-item.flex-item-2-5.display-block .flex-container.dateien.margin-left-auto.float-right
  {
    margin-left: 10%;
    margin-right: 10%;
  }

  .flex-container.post .flex-item-input.auto-width.date, .flex-container.post .flex-item.flex-item-3-5 .flex-item-input.no-margin
  {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    max-width: 100%;
  }

  .flex-container.post .druckansichtButton
  {
    margin-left: 10%;
    margin-right: 10%;
  }

  .flex-container.dateien.margin-left-auto
  {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    max-width: 100%;
  }

  .flex-item.flex-item-2-5.display-block .flex-container.dateien.margin-left-auto.float-right
  {
    float: none;
  }

  .flex-item-label.margin-left-auto.white-bg.auto-width
  {
    padding: 0px;
    margin: 0px;
  }

  .flex-item-label.auto-width.no-margin
  {
    margin: 0px;
  }

  .flex-container.dateien.margin-left-auto.float-right .float
  {
    float: none;
  }

  .flex-container.dateien.margin-left-auto.float-right
  {
    margin-left: 0px;
  }

  .flex-item-label.margin-left-auto.auto-width
  {
    margin-left: 0px;
  }

  .posteingang .flex-container .flex-item, .postausgang .flex-container .flex-item
  {
    padding: 0px, 0px, 0px, 0px;
  }

  .flex-item.flex-item-5-5
  {
    text-align: right;
    display: inline-flex;
    justify-content: flex-end;
    margin: 0% 10%;
    padding: 5px;
    width: 80%;
    height: auto;
    z-index: 1;
  }
}

.post .lieferungStornierenButton .stornieren
{
  display: none;
}

.post.storniert
{
  opacity: 0.5;
}

.post.storniert .lieferungStornierenButton,
.post.gelesen .lieferungStornierenButton
  {
    visibility: hidden;
  }

  .storniert .stornieren
  .druckansicht
  {
    display: none;
    visibility: hidden;
  }

.einblendenLink
{
  margin-top: 30px;
  margin-bottom: 10px;
}

.posteingang .flex-item-input .sender {
  margin-right: 10px;
  min-width: 100px;
}

.posteingang .flex-item .s
  .date.white-bg
  {
    width: auto;
  }

  .container h1
  {
    line-height: 1.2;
  }

  .posteingang .flex-container .flex-item .flex-item-label,
  .postausgang .flex-container .flex-item .flex-item-label,
  .lieferungSubtitle .flex-item-label
  {
    color: rgb(0,68,148);
    font-weight: 700;
  }

  .posteingang .flex-container .flex-item,
  .postausgang .flex-container .flex-item
  {
    padding: 0px 0px 0px 5px;
  }

    .posteingang .flex-container .flex-item .flex-item-label,
    .postausgang .flex-container .flex-item .flex-item-label
    {
      width: 45%;
    }

  .container.posteingang .dateien,
  container.postausgang .dateien
  {
    width: 100%;
  }

    .container.posteingang .dateien .datei,
    .container.postausgang .dateien .datei
    {
      width: 100%;
    }

  .flex-item.datei a.dateiname
  {
    margin: 0px 5px 0px 0px;
  }

  .container.posteingang .post,
  .container.postausgang .post
  {
    padding: 10px;
  }

  .container.posteingang .post,
  .container.postausgang .post
  {
    padding: 10px;
    margin: 15px 0px 5px 0px;
  }

  .container.posteingang .post-new,
  .container.postausgang .post-new
  {
    background-color: rgb(223, 223, 225);
  }

  .flex-container.post .flex-item.datei
  {
    padding: 0px;
  }

  .dateiinfo
  {
    font-size: 12px;
    font-weight: 100;
  }

  .utc
  {
    padding-left: 5px;
  }

  .dokumententyp
  {
    display: flex;
    justify-content: space-evenly;
    margin-right: 2%;
  }

  /*Postein/Ausgang*/
  .posteingang .flex-container .flex-item .auto-width, .postausgang .flex-container .flex-item .auto-width
  {
    width: auto;
    display: flex;
  }

  .nachladenTag
  {
    margin-right: 5px;
  }

  .white-bg
  {
    padding: 2px 5px;
    background-color: #ffffff;
  }

  .no-margin
  {
    margin: 0;
  }

  .flex-container.post .flex-item .flex-item-input.no-margin
  {
    margin: 0;
  }

  .full-height
  {
    height: 100%;
  }

  .margin-left-auto
  {
    margin-left: auto;
  }

.postausgang .flex-item-input .empfaenger,
.postausgang .flex-item-input .sender
{
  margin-right: 10px;
  min-width: 100px;
}

  .float
  {
    float: right;
  }

.flex-item-input.no-margin.no-max-width
{
  max-width: unset;
  width: 100%;
}

  .flex-item.display-block
  {
    display: block;
  }

.flex-item-5-5 {
  text-align: right;
  display: inline-flex;
  justify-content: flex-end;
  padding: 5px;
  width: 100%;
  height: auto;
  z-index: 1;
}

  .flex-item-4-5
  {
    display: inline-flex;
    padding: 5px;
    width: 80%;
    height: auto;
    z-index: 1;
  }

  .flex-item-3-5
  {
    display: inline-flex;
    padding: 5px;
    width: 60%;
    height: auto;
    z-index: 1;
  }

  .flex-item-2-5
  {
    display: inline-flex;
    padding: 5px;
    width: 40%;
    height: auto;
    z-index: 1;
  }

  .flex-item-1-5
  {
    display: inline-flex;
    padding: 5px;
    width: 20%;
    height: auto;
    z-index: 1;
  }

.flex-item-1-5-minWidth {
  display: inline-flex;
  padding: 5px;
  width: 20%;
  height: auto;
  z-index: 1;
  min-width:160px;
}

.flex-container.dateien.float-right
{
  float: right;
}

div.float-none
{
  float: none;
}

div.float-right
{
  float: right;
}

.beschreibung
{
  overflow-wrap: break-word;
}

.errorcontainer{
  padding: 10px 0px 0px 0px;
}

.error
{
  color: #ff0000;
  text-align: center;
}

/* Tooltip text */
.posttooltip {
  position: relative;
  display: inline-block;
  z-index: 550;
  /*border-bottom: 1px dotted black;*/ /*If you want dots under the hoverable text*/
}

.tooltiptext
{
  visibility: hidden;
  width: 140px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  right: 0px;
  top: -42px;
  z-index: 550;
  white-space: pre-line;
}

.tooltiptextBreit
{
    visibility: hidden;
    width: 210px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    left: 0px;
    top: -35px;
    z-index: 550;
    white-space: pre-line;
}

.tooltiptextLang, 
.tooltiptextDruckansicht {
  visibility: hidden;
  width: auto;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 2px;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  right: 0px;
  top: -42px;
  z-index: 550;
  white-space: pre-line;
}

.moveUp {
  top: -54px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.posttooltip:hover .tooltiptext,
.posttooltip:hover .tooltiptextLang,
.posttooltip:hover .tooltiptextBreit,
.posttooltip:hover .tooltiptextDruckansicht
{
    visibility: visible;
    color: #000000;
    background-color: #fffffe;
    border: 1px solid #000000;
    font-family: "Frutiger 55 Roman", "Arial";
    z-index: 550;
    transform: scale(1.0);
    font-size: small;
    font-weight: normal;
}

.sendernr
{
  margin-right: 10px;
}

.flex-item-input.auto-width.sender
{
  z-index: 210;
}

.shadowStatusNeu {
  box-shadow:10px 10px 15px grey;
  z-index:200;
  border:0.5px solid grey;
  border-radius:10px;
}

.weiterleitenbutton {
  background-color: transparent;
  border: none;
  color: black;
  padding: 0px 0px;
  margin: 0px 8px;
  min-width: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all .2s ease-in-out;
  z-index:500;
  font-size:small;
}


.weiterleitenbutton:hover,
.flex-container.post .stornieren-fehler:hover
{
  transform: scale(1.2);
}


.StatusÄndernButton {
  background-color: transparent;
  border: none;
  color: black;
  padding: 0px;
  margin: 0px 8px 0px 8px;
  min-width: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all .2s ease-in-out;
  z-index: 500;
  font-size: small;
}

  .StatusÄndernButton:hover {
    transform: scale(1.2);
  }

  .invisibleCheck{
    visibility:hidden;
  }

.druckansichtButton {
  text-align: center;
  margin: 0% 2%;
  border: 0px solid rgb(243, 243, 245);
  background-color: rgb(243, 243, 245);
  max-height:32px;
  padding: 5px 10px;
  color: black;
  text-align: center;
  font-family: 'Frutiger 55 Roman';
  width:auto;
  border:1px solid lightgray;
  border-radius:10px;
}


  .druckansichtButton:hover {
    color: rgb(0,68,148);
  }

.aufklappenEinklappenButton
{
  border:0px solid black;
  background-color:transparent;
  color:cornflowerblue;
}

.aufklappenEinklappenButton:hover {
  color: darkblue;
}

.post.Storniert .poststatus
{
  color: red;
}

.flex-container.post {
  position: relative;
}

  .flex-container.post .confirm {
    /*margin: 15px 5px 5px 0px;*/
    margin: 10px;
    top: 0;
    right:0;
    position: absolute;
    width: 30%;
    max-width: 230px;
    height: 80%;
    max-height: 290px;
    left: auto;
    background-color: rgb(223, 223, 225);
    opacity: 1;
    z-index: 560;
    text-align: center;
    font-weight: 700;
  }


.flex-container.post .confirm .confirmhead
{
  color: #000000;
  margin: 10px 0 10px 0;
}

.flex-container.post .confirm .confirm-container .confirm-yes
{
  color: green;
  cursor: pointer;
}

.flex-container.post .confirm .confirm-container .confirm-no
{
  color: red;
  cursor: pointer;
}

.flex-container.post .confirm .confirm-container .confirm-no:hover,
.flex-container.post .confirm .confirm-container .confirm-yes:hover
{
  font-size: 17px;
}

.flex-container.post .confirm .confirm-container
{
    width: 50%;
    display: inline-block;
    height: 50%;
    text-align: center;
    vertical-align: middle;
}


.flex-container.post .confirm .stornieren-fehler
{
  cursor: pointer;
  float: right;
  top: -10px;
  right: 5px;
}

    .flex-container.post .confirm .innerError
    {
      margin: 15px;
    }

  .flex-container.post .confirm
  {
    background-color: white !important;
  }
    .flex-container.post .confirm .layer
    {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1000;
      opacity: 0.3;
    }

.post.storniertesendung
{
  opacity: 0.5;
}

/**/
/*Antragsübersicht*/
/**/


#navStyle1Antrag .ulFlexAntrag {
  border-bottom: 5px solid rgb(0,68,148);
  background-color: white;
  display: flex;
  padding: 0;
}

  #navStyle1Antrag .ulFlexAntrag .liFlexAntrag {
    border-bottom: 2px thin rgb(0,68,148);
    background-image: linear-gradient(to bottom, transparent 50%, rgb(0,68,148) 50%, rgb(0,68,148) 95%, rgb(0,68,148) 95%);
    flex: 1 1 auto;
  }

#navStyle1Antrag .aFlexAntrag:hover {
  color: white;
}

.blauesGlyphicon {
  color: rgb(0,68,148);
  font-size: x-large
}

.rotesGlyphicon {
  color: #d9534f;
  font-size: x-large
}

.ulFlexAntrag {
  list-style: none;
  margin: 0 0 1.5rem 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-basis: 0 0 auto;
}

.liFlexAntrag {
  background-image: linear-gradient(to bottom, transparent 50%, whitesmoke 50%, whitesmoke 95%, rgb(0,68,148) 95%);
  background-size: 100% 200%;
  background-position: top center;
  color: white;
  transition: all .30s ease-in;
}

  .liFlexAntrag:hover {
    background-position: bottom center;
    color: rgb(0,68,148);
  }
  .liFlexAntrag:hover {
    background-position: bottom center;
    color: rgb(0,68,148);
  }

  .liFlexAntrag:active {
    background-position: bottom center;
    color: rgb(0,68,148);
  }

.liFlex:focus {
  background-position: bottom center;
  color: rgb(0,68,148);
}

.liFlexAntrag .aFlexAntrag {
  color: darkgray;
  font-size: large;
  display: block;
  padding: 1rem 0;
  transition: all .25s ease-in-out;
}

.aFlexAntrag {
  cursor: pointer;
}

.navFlexAntrag {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  width: 30%;
}

.liFlexAntrag:hover .dropdown-menuEigenAntrag {
  display: block;
}

.dropdown-menuEigenAntrag {
  position: absolute;
  text-decoration: none;
  min-width: 100%;
  top: 100%;
  z-index: 600;
  display: none;
  float: left;
  padding: 5px;
  margin: 0px;
  font-size: inherit;
  text-align: center;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgb(0,68,148);
  border-radius: 0px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

  .dropdown-menuEigenAntrag > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
  }

    .dropdown-menuEigenAntrag > li > a:hover,
    .dropdown-menuEigenAntrag > li > a:active,
    .dropdown-menuEigenAntrag > li > a:focus {
      color: white;
      text-decoration: none;
      background-color: rgb(0,68,148);
    }
    
div.storniert label.glyphicons
{
  display: none;
}