/*
body {
    /*width: 800px;
    max-width: 800px;
    text-align: center;
}
*/

html {
    display: table;
    margin: auto;
    background-image: url("images/wallA.png");
    background-repeat: repeat;
    
}

body {
    display: table-cell;
    vertical-align: middle;
    width: 800px;
    
    text-align: center;
    position: relative;
    padding-right: 20px;
}

div.conversation {
    position: relative;
}

/* Do not give extra space if we're in a tiny screen mode */
@media screen and (min-width: 1000px) {
    html.spaceForConversation {
        margin-right: 800px;
    }
}

/* This needs help. DO NOT USE FIXED IF WE DON'T HAVE THE WIDTH FOR IT. Put it at the bottom and call it a day. */
@media screen and (min-width: 1000px) {
    div.conversation {
        position: fixed;
        right: 10px;
        top: 10px;
        min-height: 800px;
        min-width: 800px;
    }
}


iframe.conversation {
    width: 100%;
    height: 800px;
}

img.avatarFloat {
    float: left;
}


div.gallery {
    /*float: left;*/
    margin: 5px;
    border: 1px solid #ccc;
    width: 20px;
    height: 300px;
    background-color: #eeeeee;
}

.staff {
    font-size: 120%;
}

.exitLink {
    position: fixed;
    left: 20px;
    top: 20px;
}

.exitDoor:hover {
    content: url("images/exitDoor-open.png");
}


#athaPortrait:hover {
    content: url("images/atha-speaking.png");
/*    border-style: solid;
    border-width: 2px;
    border-color: #000000; */
    width: 105px;
    height: 105px;
    margin: -2.5px;
}

.charPortrait {
/*    border-style: solid;
    border-width: 2px;
    border-color: #000000;
    */
}

table.staff, th, td {
    border: 1px solid;
}


h3.galleryTitle {
    
    
    transform: rotate(90deg);
    white-space: nowrap;
    
    
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: block;
    height: auto;
    /*line-height: 300px;
    line-height: 1em;
    overflow: hidden;*/
}

div.gallery:hover {
  border: 1px solid #777;
}



section.shelf {
    margin: 1em 0px;
    display: grid;
    grid-auto-flow: column;
    grid-gap: 0em;
    padding: 0em 1.5em;
    align-items: flex-start;
    justify-items: left;
    justify-content: left;
    overflow-x:auto;
    min-width: 700px;
    background-image: url("images/shelfB.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
}

a.shelfItemNoEmbed {
    color: #dd5555;
}

div.shelfDisplay {
    /*display: flex;
    position: relative;
    height: 100%*/
    
}

#closebutton {
    position:absolute;
    top: -40px;
    right: 0;
    width: 120px;
    height: 40px;
}

.interiorView {
  position: fixed;
  /*position: absolute;*/
  
  height: 500px;
  width: 50%;
  bottom: 10px;
  
  z-index: 2;
  background-color: rgba(0,0,0,0.9);
  
  /*
  background-color: green;
  border: 2px solid #4CAF50;
  */
  border: 2px solid #111111;
    
  /*
  position: absolute;
  bottom: 0px;
  right: 50%;
  width: 200px;
  height: 100px;
  border: 3px solid #73AD21;
  /*
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.interiorIFrame {
    width: 100%;
    height: 100%;
    
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}