/*
GLOBAL
*/

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 11px;
}

h1 {
    font-size: 24px;
    line-height: 28px;
}

h2 {
    font-size: 16px;
    font-weight: 500;
}

a:not(:visited) {
    color: #F06900;
}

a:visited {
    color: inherit;
}

.wrapper {
    display: flex;
    flex-direction: column;
}

.wrapper-child {
    max-width: 690px;
    margin: 0 auto;
}

q { 
    quotes:none; 
}


/*
HEADER
*/

#header {
    color: rgb(141, 148, 155);
    line-height: normal;
    margin-bottom: 16px;
}

#ots-timestamp {
    color: inherit;
}


/*
ATTACHMENTS
*/

#media-holder {
    position: relative;
    max-width: 400px;
    height: 100%;
    margin-bottom: 16px;
}

#media-box {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.exp-btn {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    text-align: center;
    background-color: #F06900;
}

a.exp-btn {
    color: #fff;
}


.attachment-holder {
    background-color: rgb(238, 239, 240);
    text-align: center;
    margin-bottom: 11px;
    padding: 11px;
}

.attachment-holder a {
    display: block;
    position: relative;
}

.attachment-meta {
    text-align: center;
}

.attachment-meta-termin {
    text-align: left;
}

.audio-frame {
    position: relative;
    width: auto;
    max-width: 400px;
    background-color: rgb(238, 239, 240);
    text-align: center;
    margin: 0 auto;
}

.bild-frame {
    position: relative;
    width: auto;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.audio-frame img {
    margin-top: 15px;
}


.img-block {
    width: 200px;
    height: auto;
    position: relative;
    margin: 0 auto;
}

.termin-item {
    display: block;
    text-decoration: inherit;
}

.image-icon {
    background: url(/css/images/details_image.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
}

.video-icon {
    background: url(/css/images/details_video.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
}

.pdf-icon {
    background: url(/css/images/details_pdf.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
}

/* .audio-icon {
    background: url(/css/images/details_audio.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
} */

.grafik-icon {
    background: url(/css/images/details_grafik.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
}

/* .termin-icon {
    background: url(/css/images/details_termin.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: 5px;
    bottom: 12px;
    width: 30px;
    height: 30px;
} */

/* .icon-video {
    background: url(/css/images/details_image.png) no-repeat;
    display: inline-block;
} */

/*
CONTENT
*/

.dont-break-out {

    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
  
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    /* word-break: break-all; */
    /* Instead use this non-standard one: */
    word-break: break-word;
  
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
  }


  .structured {
      white-space: pre !important;
      display: block;
      overflow-x: scroll;
      overflow-y: auto;
      font-weight:bold;
      white-space:normal;
      font-family: monospace;
      width: 300px;
      padding-bottom: 15px;
      overflow-wrap: initial;
      word-wrap: initial;
      word-break: initial;
  }

  @media screen and (min-width: 400px) {
    .structured {
        width: 380px;
    }
  }

  @media screen and (min-width: 450px) {
    .structured {
        width: 430px;
    }
  }

  @media screen and (min-width: 500px) {
    .structured {
        width: 480px;
    }
  }

  @media screen and (min-width: 550px) {
    .structured {
        width: 530px;
    }
  }

  @media screen and (min-width: 600px) {
    .structured {
        width: 580px;
    }
  }

  @media screen and (min-width: 650px) {
    .structured {
        width: 630px;
    }
  }

  @media screen and (min-width: 690px) {
    .structured {
        width: 670px;
    }
  }

.eanshinweis,
.korrekturvermerk {
    background-color: rgb(238, 239, 240);
    padding: 11px;
    font-family: monospace;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    unicode-bidi: embed;
    white-space: pre-wrap;
    color: rgb(85,95,105);

}

.actionButton {
    background-color: rgb(238, 239, 240);
    padding: 11px;
    text-align: center;
}

.ab-headline {
    font-size: 16px;
    line-height: inherit;
    margin-bottom: 5px;
}

.actionButton .btn {
    background-color: #F06900;
    color: #fff;
    text-transform: uppercase;
    padding: 5px;
    font-size: 12px;
    font-weight: bolder;
    text-decoration: none;
    letter-spacing: normal;
}


/*
FOOTER
*/

#footer {
    background-color: rgb(238, 239, 240);
    color: rgb(141, 148, 155);
    padding: 11px;
    line-height: normal;
}