@media (max-width: 1024px) {
    .articleviewer .flow_section .picture_element {
        width: 100% !important;
    }
    
    .articleviewer video {
        width: 100%;
    }
    
    .articleviewer code {
        max-width: calc(100vw - 40px) !important;
    }
}


.articleviewer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.articleviewer > :where(p,h1,h2,ul,.dateline,.keywordline,.textsection,.draft,pre) {
    display: block;
    width: 100%;    
    flex-grow: 1;
}

.articleviewer img {
    width: 100%;
}

.articleviewer video {
    width: 100%;
}

.articleviewer .draft {
    font-style: italic;
    color: red;
}

.articleviewer table {
    width: 100%;
    max-width: 800px;
    flex-grow: 1;
}

.articleviewer th {
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    background: #aaaaaa;
    padding: 3px;
    vertical-align: top;
}

.articleviewer td {
    font-size: 1.1em;
    padding: 3px;
    background: white;
    vertical-align: top;
}


.articleviewer > p, .articleviewer > .textsection > p, .articleviewer > ul {
}


.articleviewer .flow_section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.articleviewer .flow_section > div {
    width: 100%;
    background: white;
    margin-bottom: 20px;
    box-shadow: 3px 0 12px rgba(0,0,0,0.15);
    border: 1px solid #999999;
}

.articleviewer .image_title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 2px;
}

.articleviewer .image_description {
    padding: 0 5px;
}

.articleviewer .picture_element {
    width: 100%;
    box-shadow: 3px 0 12px rgba(0,0,0,0.15);
    border: 1px solid #999999;
    margin-bottom: 20px;
    
}

.articleviewer .limit video {
    max-width: 800px;
    max-height: 600px;
}

.articleviewer .picture_element.single {
    width: 100%;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
}

.articleviewer .flow_section .picture_element {
    width: 250px;
    max-width: 450px;
    flex-grow: 1;
}

.articleviewer .flow_section video {
    aspect-ratio: 1/1;
}

.articleviewer .picture_element.right {
    float: right;
    margin-left: 20px;
}

.articleviewer .picture_element.left {
    float: left;
    margin-right: 20px;
}

.articleviewer .picture_element.center {
    
}

.articleviewer .picture_element.single p.image_title {
    margin-top: 0px;
    margin-bottom: 0px;
}


.articleviewer .picture_element.single .image_text {
    padding-left: 10px;
    word-break: break-word;
}

