header#ambigram_Header {
    z-index: 1000;
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 45px;
    
    padding-top: 5px;
    padding-left: 20px;
    
    color: #036;
    font-size: 40px;
    line-height: 0;
}

header#ambigram_Header a {
    display: inline-block;
}

header#ambigram_Header a:visited {
    color: #036;
}

#ambigram_List {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    
    text-align: center;
}

#ambigram_List .thumbnail {
    display: inline-block;

    width: 200px;
    height: 200px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    
    cursor: pointer;
}

#ambigram_Garelly {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

#ambigram_Garelly #ambigram_Garelly_CloseButton {
    position: fixed;
    top: 5px;
    right: 20px;
    height: 40px;
    width: 40px;
    
    font-size:32px;
    cursor: pointer;
}

#ambigram_Garelly #ambigram_Garelly_PrevButton {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    
    padding-top: 40%;
    text-align: center;
    font-size: 40px;
    
    cursor: pointer;
}

#ambigram_Garelly #ambigram_Garelly_NextButton {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    
    padding-top: 40%;
    text-align: center;
    font-size: 40px;
    
    cursor: pointer;
}

#ambigram_Garelly img {
    display: block;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    max-height: calc(100% - 120px);
    max-width: calc(100% - 120px);
}