/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.dmilb.liveblog {
    border-top: 1px solid #b6b6b6;
    margin-bottom: 30px;
    padding-top: 30px;
}

.dmilb-preloader {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
}

.dmilb-preloader svg {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.dmilb-preloader svg path {
    fill: #8050AB;
}

.dmilb-new-day {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 700;
    padding-left: 90px;
}

.dmilb-new-day:first-child {
    margin-top: 0;
}

.dmilb-contents {
    border-bottom: 1px solid #b6b6b6;
    padding-bottom: 30px;
}

.dmilb-contents-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.dmilb-contents-title > a {
    font-weight: 700;
}

.dmilb-contents-date, 
.dmilb-item-date {
    line-height: 1;
    color: #b6b6b6;
    flex: 0 0 90px;
    max-width: 90px;
    font-size: 12px;
}

.dmilb-item-date {
    padding-top: 5px;
}

.dmilb-item {
    border-bottom: 1px solid #b6b6b6;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: row;
}

.dmilb-time {
    font-size: 14px;
    color: #000000;
    margin-bottom: 4px;
}

.dmilb-item-content {
    font-size: 16px;
    line-height: 1.35;
}

.dmilb-item-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.dmilb-item-content p {
    margin-top: 0;
    margin-bottom: 0;    
}

.dmilb-item-content p:not(:last-child) {
    margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {
    .dmilb-new-day {
        padding-left: 50px;
    }

    .dmilb-contents-date {
        flex: 0 0 50px;
        max-width: 50px;
    }

    .dmilb-item-date {
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 0;
        margin-bottom: 20px;
    }

    .dmilb-item {
        flex-direction: column;   
    }
}

/**
 * Scrolling button
 *
 */
 .dmilb-scrolling-button {
    position: fixed;
    bottom: 90px;
    right: 30px;
    display: flex;
    flex-direction: column;
}

.dmilb-scrolling-button > a { 
    text-decoration: none;
    outline: none;
    width: 40px;
    height: 40px;    
    text-align: center;
    background-color: #b6b6b6;
    color: #ffffff;
    position: relative;
    border-radius: 4px;
    display: flex; 
    justify-content: center;
    align-items: center;   
}

.dmilb-scrolling-button > a:hover {
    opacity: 0.8;
}

.dmilb-scrolling-button-up:before {
    content: '\2191';
    font-size: 26px;
    line-height: 1;
}

/* --- LiveBlog share card (overview pages) --- */
.dmilb-share-card{
    border:1px solid rgba(0,0,0,.12);
    border-radius:12px;
    padding:14px 16px;
    margin:12px 0;
}
.dmilb-share-title a{
    font-weight:700;
    text-decoration:none;
}
.dmilb-share-meta{
    font-size:12px;
    opacity:.75;
    margin-top:6px;
}
.dmilb-share-actions{
    margin-top:12px;
}
.dmilb-share-button{
    display:inline-block;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.12);
    text-decoration:none;
}
/* Liveblog update colour templates (Sky-style) */
.dmilb-post{padding:12px 14px;border-radius:14px;border-left:6px solid transparent;margin:0 0 16px 0;}
.dmilb-post.dlb-style-yellow{background:#f5e21b;color:#111;border-left-color:#111;}
.dmilb-post.dlb-style-black{background:#111;color:#f9fafb;border-left-color:#3b3b3b;}
.dmilb-post.dlb-style-black a{color:inherit;text-decoration:underline;}
.dmilb-post.dlb-style-white{background:#fff;color:#111;border-left-color:#e5e7eb;box-shadow:0 0 0 1px rgba(0,0,0,.06) inset;}


/* Breaking logo header */
.dmilb-breaking-logo{
    margin: 0 0 14px 0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
}
.dmilb-breaking-logo img{
    max-height: 48px;
    width: auto;
    height: auto;
    display:block;
}
