.flexBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#wallpaper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    fill: rgba(100,100,100,0.1);
    /*stroke: #5f5f5f;*/
}

#pageContent {
    position: relative;
    width: 1000px;
    max-width: 95%;
    min-height: calc(100vh - 9em);
    margin: auto;
    padding-top: 0.5em;
    padding-bottom: 5.5em;
}

#contentHead .angelsBanner {
    position: relative;
}

#contentHead svg.angelsSvg {
    width: inherit;
    height: 7em;
    flex-shrink: 0;
    /* margin-right: 1em; */
    margin-bottom: 0.1em;
}

#contentHead .angelsBanner .linksLine {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
}

#contentHead .linksLine a {
    border: solid #fff 2px;
    border-radius: 10%;
    background-color: #999;
    display: flex;
    margin: 0.1em;
}
#contentHead .linksLine a:hover {
    background-color: #fff;
}

#contentHead .agotBanner {
    position: relative;
}

#contentHead svg.agotSvg {
    width: 13em;
    height: 50%;
    flex-shrink: 0;
    margin-right: 1em;
    margin-left: 1em;
    margin-bottom: 0.1em;
}

#contentHead .agotBanner .linksLine {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: flex-end;
}

#contentHead {
    display: flex;
    align-items: center;
    justify-content: center;
}
#contentHead .spacer {
    width: 62%;
}

@media screen and (max-width: 700px) {
    #contentHead {
         flex-wrap: wrap; 
    }
    #contentHead .spacer {
         width: 0;
    }
}

#contentTitle {
    text-align: center;
    width: 100%;
    background-color: rgba(228, 227, 227, 0.65);
    font-size: 2em;
    border-radius: 4px;
    padding: 4px;
}
#contentTitle a {
    text-decoration: underline;
}

#facebookIcon,#youtubeIcon {
    width: 2em;
    height: 2em;
}

#exhibit {
    margin-top: 0.3em;
}
#exhibit .deck {
    background-color: rgba(153, 153, 153, 0.2);
    border-radius: 4px;
    border: solid 2px #999;
    padding: 0.3em;
    flex-grow: 2;
    width: calc(50% - 22px);
    min-width: 15em;
    margin: 2px;
    overflow: hidden;
}
#exhibit .deck_faction {
    height: 5em;/*100%;*/
    width: 3em;
    float: left;
}
#exhibit .deck_name {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: underline;
    overflow: hidden;
}
#exhibit .deck_name:hover {
    background-color: #fff;
}
#exhibit .deck_published {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#exhibit .deck_rating_activeLike {
    display: inline-block;
    /*align-items: center;*/
    border: solid 1px;
    border-radius: 0.3em;
    padding: 0em 0.2em;
    background-color: #fff;
    cursor: pointer;
}
#exhibit .deck_rating_activeLike svg {
    width: 1.5em;
    height: 1em;
    fill: #000;
}
#exhibit .deck_rating_activeLike:hover {
    background-color: #bbffbb;
}
#exhibit .deck_rating_like {
    display: inline-block;
    /*align-items: center;*/
    border: solid 1px;
    border-radius: 0.3em;
    padding: 0em 0.2em;
}
#exhibit .deck_rating_like svg {
    width: 1.5em;
    height: 1em;
    fill: #000;
}
/*#exhibit .deck_like {
    width: 1.5em;
    height: 1em;
    border: solid 1px;
    border-color: black transparent black black;
    border-radius: 0.3em 0em 0em 0.3em;
    padding: 0.2em 0em 0.2em 0.2em;
    fill: #000;
}*/

#exhibit .deck_comment {
    display: inline;
    margin-right: 0.3em;
}
#exhibit .deck_comment svg {
    width: 1.5em;
    height: 1em;
    fill: #000;
}
#exhibit .deck_commentNumber {
/*    height: 1em;
    line-height: 1em;
    text-align: center;
    margin-left: -1px;
    margin-right: 0.1em;
    padding: 0.2em 0.2em 0.2em 0em;
    cursor: context-menu;*/
}
#exhibit .deck_likeNumber  {
/*    height: 1em;
    line-height: 1em;
    text-align: center;
    border: solid 1px;
    border-color: black black black transparent;
    border-radius: 0em 0.3em 0.3em 0em;
    margin-left: -1px;
    margin-right: 0.1em;
    padding: 0.2em 0.2em 0.2em 0em;
    cursor: context-menu;*/
}
/*#exhibit .deck_rating {
    display: flex;
    flex-wrap: wrap;
}*/
#exhibit .moreInFaction {
    display: block;
    text-align: center;
    text-decoration: underline;
}
/*#exhibit .deck_rating_item {
    display: flex;
    align-items: center;
}*/
#exhibit .stark {
    /*border-color: #5d7cb7;*/
    fill: #1836b9;
    /*background-color: rgba(93,124,183,0.15);*/
}
#exhibit .lannister {
    /*border-color: #efa526;*/
    fill: #efa526;
    /*background-color: rgba(239,165,38,0.15);*/
}
#exhibit .baratheon {
    /*border-color: #bf8835;*/
    fill: #bf7300;
    /*background-color: rgba(191,136,53,0.15);*/
}
#exhibit .greyjoy {
    /*border-color: #847b27;*/
    fill: #847b27;
    /*background-color: rgba(132, 123, 39, 0.15);*/
}
#exhibit .tyrell {
    /*border-color: green;*/
    fill: green;
    /*background-color: rgba(0,128,0,0.15);*/
}
#exhibit .targaryen {
    /*border-color: #e01a1a;*/
    fill: #e01a1a;
    /*background-color: rgba(224,26,26,0.15);*/
}
#exhibit .nightwatch {
    /*border-color: black;*/
    /*background-color: rgba(102, 102, 102, 0.15);*/
}
#exhibit .martell {
    /*border-color: #9a5858;*/
    fill: #9a5858;
    /*background-color: rgba(154, 88, 88, 0.15);*/
}

#references {
    position: absolute;
    bottom: 10px;
    text-align: center;
    background-color: rgba(228, 227, 227, 0.65);
    border-radius: 4px;
    padding: 0.5em;
    width: calc(100% - 1em);
    margin-top: 1em;
    overflow-y: auto;
}
#references .item {
    padding: 0.3em;
    white-space: nowrap;
}
#references .itemLink {
    text-decoration: underline;
}
#references .itemLink:hover {
    background-color: #fff;
}
@media screen and (max-width: 700px) {
/*    #references .itemLink {
        display: none;
    }*/
}