.periodicTable{
    display: table;
    min-width: 50%;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
}

.tableRow{
    display: table-row;
}

.tableData{
    display: table-cell;
    width: 10%;
    height: 10%;
    text-align: center;
}

.emptyTableData{
    display: table-cell;
    text-align: center;
}

.cellWrapper{
    margin: 3px;
    border: 1px solid black;
    border-radius: 5px 18px;
}

.cellWrapper:hover{
    margin: 3px;
    border: 1px solid black;
    border-radius: 5px;
    cursor:pointer;
}

.bgColor81BEF7{
    background-color: #81BEF7;
}

.bgColorF09{
    background-color: #F09;
}

.bgColor0CF{
    background-color: #0CF;            
}

.bgColor69F{
    background-color: #69F;
}

.bgColorF96{
    background-color: #F96;
}

.bgColor0F9{
    background-color: #0F9;
}


/* BEGIN ARTICLE STYLE */

@media (max-width: 900px){

    .articleHeaderRow{
        display: inline-flex;
        flex-direction: column;
    }

    .listQuickFacts{
        order: 2;
        width: 100% !important;
    }

    .popup{
        background: rgba(255,255,255) !important;
        min-height:100%;
        text-align:center;
        top:0;
        width:auto;
    }

    .popup > div {
        background-color: #fff;
        box-shadow: 10px 10px 60px #555;
        display: inline-block;
        height: auto;
        min-width: 90vw;
        min-height: 95px;
        vertical-align: middle;
        position: relative;
        border-radius: 8px;
        padding: 15px 5%;
    }

    .previousNext{
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .next{
        margin-left: 10% !important;
        display: inline !important;
        padding: 20px 38px;
        background-color: lightblue;
    }
    
    .previous{
        margin-right: 10% !important;
        display: inline !important;
        padding: 20px 32px;
        background-color: #f1f1f1;
    }

}

.articleHeader{
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.articleHeaderRow{
    display: inline-flex;
}

.articleHeaderData{
    display: inline-flex;
}

.popup{
    background:rgba(0,0,0,.4);
    min-height:100%;
    text-align:center;
    top:0;
    width:99.5%;
}

.popup .helper{
    display:inline-block;
    height:100%;
    vertical-align:Middle;
    margin-top: 25px;
    margin-bottom: 25px;
}

.popup > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 60vw;
    min-height: 95px;
    vertical-align: middle;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}

.listQuickFacts{
    width: 25vw;
    margin-right: auto;

    /* debug */
    border: solid red 1px;
}
.listQuickFacts > li{
    font-size: 1em;
    text-align: left;
    list-style: none;
    margin-right: 5px;
}

.img-placeholder{
    display:inline-flex;
    flex-direction: column;
}

.articleImage{
    max-height: 40vh;
}

.articleContent{
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.elementHeader{
    letter-spacing: 0.1em;
}

#quickFactsCell{
    background-color: #bbbbbb;
}

.article{
    display: flex;
    flex-direction: column;
}

.articleSource{
    font-size: 11pt;
    background-color: #bbbbbb;
    margin-left: auto;
    margin-right:auto !important;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.previous:hover, .next:hover {
    background-color: #ddd;
    color: black;
}

.previousNext{
text-align: center;
}

.previous, .next {
    color: black;
    text-decoration: none;
    display: inline-block;
}

.next{
    margin-left: 20%;
    padding: 20px 38px;
    background-color: lightblue;
}

.previous{
    margin-right: 20%;
    padding: 20px 32px;
    background-color: #f1f1f1;
}

/* END ARTICLE STYLE */