* {
    box-sizing: border-box;
}


body { 
    max-width: 1440px; 
    margin: 0 auto !important; 
    float: none !important;
    background-color: rgb(255, 255, 255);
    font-family: Arial;
    image-rendering: -webkit-optimize-contrast;
}

.header {
    padding: 20px;
    text-align: center;
    background: rgb(202, 202, 202);
    color: black;
    align-items: center;
    border-radius: 25px;
}

.header h1 {
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
}

.authors {
    padding-bottom: 0.5em;
}

.header-column, .footer-column {
    float:left;
    width: 100%;
}

.header img, .footer img {
    margin: 5px;
    max-width: 100px;
    width: 100%
}

.header:after, .footer:after{
    content: "";
    display: table;
    clear: both;
}

.content {
    padding: 0px;
    font-size: 1.0em;
    
}

.content-column {
    width: 100%;
    float: left;
    padding: 5px;
}

.box {
    /* background-color: lightskyblue; */
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    margin-top:15px;
    margin-bottom: 15px;
    border-width: 2px;
    border-style: solid;
    border-radius: 25px;
    border-top-style: none;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.35;
    
    /* background-color: rgb(255, 255, 255); */
}

.box.full {
    border-top-style: solid;
    /* border-top-width: 10px; */
    margin-top: 6px;
    margin-bottom: 6px;
}

.box h1 {
    margin-top: 0;
    margin-bottom: 0.2em;
    text-align: left;
}

.box figure {
    max-width: 100%;
    height: auto;
    padding: 1em;
    padding-top: 0.8em;
    object-fit: contain;
    margin: 0px;
}

.box img {
    width: 100%;
}

.csl-bib-body {
    font-size: 0.85em;
    line-height: 1;
    margin-left: 2em;
    text-indent:-2em;
    text-align: left
}

.box video {
    max-width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.csl-bib-body div {
    margin-bottom: 0.5em;
}

.yt_video_container {
    margin-top: 0.5em;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.yt_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Clear floats after the columns */
.content:after {
    content: "";
    display: table;
    clear: both;
}

.footer {
    padding: 20px;
    text-align: center;
    background: rgb(202, 202, 202);
    color: black;
    align-items: center;
    border-radius: 25px;
}


@media only screen and (min-width: 900px) {
    body {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .header-column, .footer-column {
        float: left;
        padding: 1px;
    }
    
    .left, .right {
        width: 12%;
    }
    
    .middle {
        width: 76%;
    }
    
    .header, .footer {
        display: flex;
    }
    
    .header h1 {
        margin-block-start: 0.67em;
        margin-block-end:  0.67em;
    }
    
    .header img, .footer img {
        margin: 5px;
        max-width: 100%;
        max-height: 100%;
    }
    
    .content-column {
        width: 50%;
        float: left;
        padding: 5px;
    }
    
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dotted rgb(0, 0, 238);
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    
    max-width: inherit;
    width: fit-content;
    bottom: 100%;
    left: 50%;
    margin-left: -50%; /* Use half of the width (120/2 = 60), to center the tooltip */
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext,  .tooltip:active .tooltiptext {
    visibility: visible;
}


p.note {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background-color: #d9edf7;
    background-image: url(logo/lightbulb_icon_flaticons.png);
    background-position: 9px 50%;
    background-repeat: no-repeat;
    background-size: 2em;
    border: solid 1px #9addff;
    border-radius: 6px;
    line-height: 1em;
    overflow: hidden;
    padding: 15px 40px 15px 60px;
    margin-bottom: 6px;
    text-align: left;
}

figure.print-video-alt-img {
    display: none;
}

@media print {
    html, body {
        max-width: 100%;
        width: 100%;
        size: A3;
        padding: 0.3em;
        font-size: 1.2em;
        
        @page {
            size: auto;
            margin: 0mm !important; 
        }
    }
    
    a, a:link, a:hover, a:visited, a:active {
        /* text-decoration: none;  */
        color: blue;
    }
    
    a.print-hide {
        text-decoration: none;
        color: inherit !important;
    }
    
    a.print-expand:link:after, a.print-expand:visited:after {
        content:" [" attr(href) "]";
    }

    .header, .footer {
        display: flex;
    }
    
    .header-column, .footer-column {
        float: left;
        padding: 1px;
    }
    
    .left, .right {
        width: 12%;
    }
    
    .middle {
        width: 76%;
    }
    
    .header img, .footer img {
        margin: 5px;
        max-width: 100%;
        max-height: 100%;
    }
    
    .content-column {
        width: 50%;
        
        float: left;
        padding: 5px;
    }
    
    .box {
        margin-bottom: 1em;
    }
    
    .tooltip {
        border-bottom: none;
    }
    
    .tooltip .tooltiptext {
        visibility: hidden !important;
    }
    
    .yt_video_container {
        display: none;
    }
    
    video {
        display: none;
    }
    
    figure.print-video-alt-img {
        display: block;
    }
    
    .csl-bib-body div {
        margin-bottom: 0.2em;
    }
}