* {
    margin:0;
    padding:0;
    border:none;
}

html, body {
    font-family: 'Crimson', serif;
    font-size: 1.10em;
}

hr {
    border-bottom: 1px dotted black;
}

@media all and (max-width: 800px) {
    html, body {
        font-size: 1em;
    }
    #popup h1 {
        font-size: 1.5em;
    }
    #popup .closebutton {
        font-size: 2em;
        line-height: 26px;
    }
}

.unselectable {
    /* For Opera and <= IE9, we need to add unselectable="on" attribute onto each element */
    /* Check this site for more details: http://help.dottoro.com/lhwdpnva.php */
    -moz-user-select: none; /* These user-select properties are inheritable, used to prevent text selection */
    -webkit-user-select: none;
    -ms-user-select: none; /* From IE10 only */
    user-select: none; /* Not valid CSS yet, as of July 2012 */

    -webkit-user-drag: none; /* Prevents dragging of images/divs etc */
    user-drag: none;
}

#viewport {
    position: absolute;
    background: white;
    width:100%;
    height:100%;
    overflow: auto;
}

#base {
    position: absolute;
    width:6400px; height:6400px;
    overflow: hidden;
    /*cursor: move;*/
    cursor: url("https://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;
}

.unselectable {
    width: 100%;
    height: 100%;
}

#base.active {
    cursor: url("https://maps.gstatic.com/mapfiles/closedhand_8_8.cur"), default;
}

.centered {
    margin: 0 auto;
    width: 800px;
    overflow-y: auto;
    padding: 20px;
    background: white;
    border: dotted 1px grey;

}

.topimg {
    position: absolute;
    opacity: 0;
}

.baseimg {
    position: absolute;
}

#details-image {
    float:right;
    width: 250px;
}

#details {
    text-align: justify;
    float: left;
    width: 450px;
}

.closebutton {
    text-decoration: none;
    float: right;
    font-size: 35px;
    line-height: 35px;
    margin-right: 10px;
    color: #999;
}

.closebutton:hover {
    color: black;
}

#popup img {
    max-width: 100%;
}

@font-face {
    font-family: 'Crimson';
    src: url('crimsontext-italic-webfont.eot');
    src: url('crimsontext-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('crimsontext-italic-webfont.woff') format('woff'),
         url('crimsontext-italic-webfont.ttf') format('truetype'),
         url('crimsontext-italic-webfont.svg#crimson_textitalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Crimson';
    src: url('crimsontext-roman-webfont.eot');
    src: url('crimsontext-roman-webfont.eot?#iefix') format('embedded-opentype'),
         url('crimsontext-roman-webfont.woff') format('woff'),
         url('crimsontext-roman-webfont.ttf') format('truetype'),
         url('crimsontext-roman-webfont.svg#crimson_textroman') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Crimson';
    src: url('crimsontext-bold-webfont.eot');
    src: url('crimsontext-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('crimsontext-bold-webfont.woff') format('woff'),
         url('crimsontext-bold-webfont.ttf') format('truetype'),
         url('crimsontext-bold-webfont.svg#crimson_textbold') format('svg');
    font-weight: bold;
    font-style: normal;

}
