/* Extension overrides to the main CSS we use for StreamRoutine */
html {
    height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
}

body.content {
    padding: .5rem;
}

#video-description {
    margin-top: 0;
}

div#thumbnail-container img {
    width: 100%;
    max-width: 160px;
    min-width: 160px;
}

p {
    margin: 0 !important;
}

footer.sr-footer {
    position: relative; bottom: 0;
}

footer.sr-footer p {
    padding: .1rem;
    margin: 0
}

h1, h2, h3, h4 {
    color: #FFF !important;
    font-size: 1rem;
}

strong {
    color: #FFF !important;
}

body.fullscreen {
    /* Overrides for fullscreen mode */
}

body.fullscreen #thumbnail {
    max-width: 223px !important;
}

body.fullscreen #video-description {
    height: 470px !important;
    width: 100% !important;
    overflow-y: auto !important;
    padding-right: 5px;
}

body.fullscreen .sr-footer {
    width: 100% !important;
    position: fixed !important;
    bottom: 36px !important;
}

body.component {
    /* Overrides for component mode */
}

body.component #thumbnail-container {
    display: none !important;
}

body.component #video-description {
    height: 473px !important;
    width: 100% !important;
    overflow-y: auto !important;
    padding-right: 5px;
}

body.component .is-narrow {
    padding-top: 0 !important;
}

body.component .columns {
    margin-bottom: 0 !important;
}

body.component .get-description-button {
    margin-bottom: 10px !important;
    float: left !important;
    width: 49% !important;
}

body.component .generate-audio-button {
    float: right !important;
    width: 49% !important;
}

body.panel {
    /* Overrides for panel mode */
}

body.panel img#thumbnail {
    max-width: 400px !important;
}

.responsive-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0;
}

.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

div#timeline .timeline .timeline-item {
    display: flex;
    display: -webkit-flex;
    position: relative;
    margin-left: 2em;
    padding-bottom: 1.5em;
}
div#timeline .timeline .timeline-item.no-padding-bottom {
    padding-bottom: 0;
}
div#timeline .timeline .timeline-item.empty {
    padding-bottom: 3px !important;
}
div#timeline .timeline .timeline-item .timeline-content {
    width: 100%;
    max-width: 650px;
    padding: 1em 0 0 1em;
}
div#timeline .timeline .timeline-item .timeline-content .heading {
    top: 1px;
    position: relative;
    margin-top: 0;
    font-size: 12px;
    line-height: 19px;
    padding-bottom: 5px;
}
.timeline .profile-card {
    display: inline-flex;
    align-items: center;
    background-color: #1a1a1a;
    padding: .5rem 1rem .5rem .5rem;
    border-radius: 1rem;
    color: white;
    position:relative;
    left: -51px;
    width: 285px;
}
div#timeline .timeline header.timeline-header {
    line-height: 18px;
}
div#timeline .timeline div.timeline-header {
    line-height: 18px;
}
.timeline .timeline-header .tag {
    height: 2.5rem;
}
.timeline .timeline-header img {
    margin: 10px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    object-fit: cover;
}
.timeline .profile-card img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.timeline .profile-details {
    margin-left: 1rem;
}
.timeline .profile-username {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}
.timeline .profile-followers {
    font-size: 1rem;
    color: #9a9a9a;
}

div#timeline .timeline .timeline-header {
    display: block;
}

.timeline .timeline-item.left-side {
    align-self:flex-start;
    flex-direction:row-reverse;
    margin-left:0;
    margin-right:2em
}
.timeline .timeline-item.left-side::before{
    right:-.5px;
    left:auto
}
.timeline .timeline-item.left-side .timeline-marker{
    transform:translateX(50%)
}
.timeline .timeline-item.left-side .timeline-content{
    padding:1em 2em 0 0;
    text-align:right;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    flex-basis:100%
}

.clip-image-container {
  position: relative;
  display: inline-block; /* Adjust as needed */
}

.clip-background-image {
  width: 100%; /* Adjust size as needed */
  height: auto;
}

.clip-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Same size as the background image */
  height: auto;
}

.clip-overlay-profile-image {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 40px;
    height: 40px;
}

footer#footer.primary.extension-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 24px 0 24px 0;
}
